@turquoisehealth/pit-viper 2.240.1 → 2.240.3-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_site/assets/css/pit-viper-a11y.css +26 -11
- package/_site/assets/css/pit-viper-consumer.css +26 -11
- package/_site/assets/css/pit-viper-v2-scoped.css +23 -11
- package/_site/assets/css/pit-viper-v2.css +27 -12
- package/_site/assets/css/pit-viper.css +26 -11
- package/package.json +1 -1
- package/pv-components/dist/stats/vue/ai/stats.html +1 -1
- package/pv-components/dist/stats/vue/base/stats.html +1 -1
- package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
- package/pv-components/dist/stats/web/pv-dropdown-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-popover-menu-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-popover-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-reasoning-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-step-list-stats.html +1 -1
- package/pv-components/dist/vue/ai/components/base/PvDropdown/PvDropdown.vue.d.ts +7 -4
- package/pv-components/dist/vue/ai/components/base/PvPopover/PvPopover.vue.d.ts +6 -3
- package/pv-components/dist/vue/ai/pv-components-ai.mjs +33 -35
- package/pv-components/dist/vue/ai/pv-components-ai.mjs.map +1 -1
- package/pv-components/dist/vue/base/components/base/PvDropdown/PvDropdown.vue.d.ts +7 -4
- package/pv-components/dist/vue/base/components/base/PvPopover/PvPopover.vue.d.ts +6 -3
- package/pv-components/dist/vue/base/pv-components-base.mjs +559 -552
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvDropdown/PvDropdown.vue.d.ts +7 -4
- package/pv-components/dist/vue/visualizations/components/base/PvPopover/PvPopover.vue.d.ts +6 -3
- package/pv-components/dist/vue/visualizations/components/base/PvSortableList/PvSortableList.vue.d.ts +7 -0
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/table-chart-components/PvChartOptionsPanel.vue.d.ts +6 -0
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/table-chart-components/PvTableOptionsPanel.vue.d.ts +7 -4
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +14 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/FilterGroupMenu.vue.d.ts +7 -4
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +584 -553
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/components/pv-dropdown/pv-dropdown.js +12 -8
- package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +11 -7
- package/pv-components/dist/web/components/pv-menu/pv-menu.js +11 -7
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +11 -7
- package/pv-components/dist/web/components/pv-popover/pv-popover.js +11 -7
- package/pv-components/dist/web/components/pv-popover-menu/pv-popover-menu.js +11 -7
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +1053 -1042
- package/pv-components/dist/web/components/pv-reasoning/pv-reasoning.js +522 -524
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +11 -7
- package/pv-components/dist/web/components/pv-step-list/pv-step-list.js +372 -369
- package/pv-components/dist/web/pv-components.iife.js +36 -36
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -1,9 +1,9 @@
|
|
|
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-7b85ebe3]{font-size:14px}.pv-popover-pinned-sections[data-v-7b85ebe3]{flex-direction:column;display:flex;overflow:hidden}.pv-popover-pinned-sections .pv-popover-list[data-v-7b85ebe3]{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-6772fde2]{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-6772fde2]{--button-small-icon-only-padding:.0625rem;min-height:1.5rem;padding-block:.0625rem}.pv-query-builder-input[data-v-6772fde2]{justify-content:start;overflow-x:hidden}.pv-query-builder-input-wrapper input[data-v-6772fde2]{background:0 0;border:none;outline:none;flex:1rem;min-width:1rem;font-size:.75rem}.pv-query-builder-group-label[data-v-6772fde2]{padding:.5rem .5rem .25rem;font-weight:500;display:block}.pv-query-builder-option-active[data-v-6772fde2]{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-6772fde2]: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-a3c94e3a]{color:var(--color-text-quaternary,#89989b)}.pv-button-placeholder[data-v-a3c94e3a]{width:24px;height:24px}.pv-sort-option[data-v-a3c94e3a]{--flex-gap:4px;cursor:grab;min-height:24px}.pv-menu-item-disabled[data-v-a3c94e3a]{pointer-events:none;color:var(--text-input-disabled-text-color,#7d898d)}.placeholder-zone[data-v-a3c94e3a]{transition:background-color .2s}.pv-placeholder-dropzone[data-v-a3c94e3a]{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-a3c94e3a]{background:#f0f9f9;border-color:var(--color-border-brand,#16696d)!important}.sort-divider-container[data-v-a3c94e3a]{display:flex}.sort-divider[data-v-a3c94e3a]{border-top:1px solid var(--color-border,#e3e7ea);flex:1;margin:1rem 0;position:relative}.sort-divider[data-v-a3c94e3a]: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-333de0aa] .pv-legacy-chart-menu-nested:after{content:"›";margin-left:auto}[data-v-333de0aa] .pv-legacy-chart-menu-nested-active{background-color:var(--popover-list-selected-item-background-color,#e4f8f6)}[data-v-333de0aa] .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-f9030e5e]{color:var(--color-text-quaternary,#89989b)}.pv-button-placeholder[data-v-f9030e5e]{width:24px;height:24px}.pv-sort-option[data-v-f9030e5e]{--flex-gap:4px;cursor:grab;min-height:24px}.pv-sort-option-locked[data-v-f9030e5e]{cursor:default}.pv-menu-item-disabled[data-v-f9030e5e]{pointer-events:none;color:var(--text-input-disabled-text-color,#7d898d)}.placeholder-zone[data-v-f9030e5e]{transition:background-color .2s}.pv-placeholder-dropzone[data-v-f9030e5e]{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-f9030e5e]{background:#f0f9f9;border-color:var(--color-border-brand,#16696d)!important}.sort-divider-container[data-v-f9030e5e]{display:flex}.sort-divider[data-v-f9030e5e]{border-top:1px solid var(--color-border,#e3e7ea);flex:1;margin:1rem 0;position:relative}.sort-divider[data-v-f9030e5e]: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-c9617d5a] .pv-legacy-chart-menu-nested:after{content:"›";margin-left:auto}[data-v-c9617d5a] .pv-legacy-chart-menu-nested-active{background-color:var(--popover-list-selected-item-background-color,#e4f8f6)}[data-v-c9617d5a] .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
|
-
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
|
|
4
|
-
import { AgCharts as
|
|
5
|
-
import { LicenseManager as
|
|
6
|
-
import { onClickOutside as
|
|
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
|
+
import { AgCharts as se } from "ag-charts-vue3";
|
|
5
|
+
import { LicenseManager as ce } from "ag-charts-enterprise";
|
|
6
|
+
import { onClickOutside as le, onKeyStroke as K, toRef as q, useDebounceFn as ue, useElementBounding as J, useElementHover as de, useElementSize as fe, useToggle as Y, watchDebounced as pe } from "@vueuse/core";
|
|
7
7
|
import { useSortable as X } from "@vueuse/integrations/useSortable.mjs";
|
|
8
8
|
import { AgGridVue as me } from "ag-grid-vue3";
|
|
9
9
|
import { CellStyleModule as he, CheckboxEditorModule as ge, ClientSideRowModelModule as _e, ColumnApiModule as ve, ColumnAutoSizeModule as ye, CsvExportModule as be, CustomEditorModule as xe, CustomFilterModule as Se, DateEditorModule as Ce, EventApiModule as we, GridStateModule as Te, LargeTextEditorModule as Ee, NumberEditorModule as De, PaginationModule as Oe, QuickFilterModule as ke, RowApiModule as Ae, RowStyleModule as Z, ScrollApiModule as je, SelectEditorModule as Me, TextEditorModule as Ne, TextFilterModule as Pe, UndoRedoEditModule as Fe, themeQuartz as Ie } from "ag-grid-community";
|
|
@@ -251,7 +251,7 @@ var Ut = { style: { position: "relative" } }, Wt = {
|
|
|
251
251
|
emits: ["series-visibility-change"],
|
|
252
252
|
setup(e, { expose: n, emit: c }) {
|
|
253
253
|
let l = e, d = c;
|
|
254
|
-
|
|
254
|
+
ce.setLicenseKey($t);
|
|
255
255
|
let f = k(null), p = k({}), m = () => {
|
|
256
256
|
if (!f.value || !l.customChartProps?.scatter?.quadrantRenderer) return;
|
|
257
257
|
let e = f.value.$el;
|
|
@@ -361,7 +361,7 @@ var Ut = { style: { position: "relative" } }, Wt = {
|
|
|
361
361
|
width: e?.width,
|
|
362
362
|
height: e?.height
|
|
363
363
|
}) }), (n, r) => (D(), o("div", Ut, [
|
|
364
|
-
u(R(
|
|
364
|
+
u(R(se), {
|
|
365
365
|
ref_key: "chartRef",
|
|
366
366
|
ref: f,
|
|
367
367
|
style: x([{ height: "100%" }, _.value ? "" : `min-height: ${e.minHeight}px`]),
|
|
@@ -1790,7 +1790,7 @@ var Qi = /* @__PURE__ */ new Set(), $i = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1790
1790
|
`anchor-scope: ${na}`
|
|
1791
1791
|
].every((e) => CSS.supports(e)), g = k(!1), _ = k(null), y = k(null), b = k(null), S = k(null), C = de(y), w = de(S), O = k(!1), A = k(!1), M = k(!1), N = ea({
|
|
1792
1792
|
root: _,
|
|
1793
|
-
close: () => t.disableClickOutsideToClose ? !1 : (
|
|
1793
|
+
close: () => t.disableClickOutsideToClose ? !1 : (se(), !0)
|
|
1794
1794
|
}), ee = {
|
|
1795
1795
|
"top-center": "top",
|
|
1796
1796
|
"bottom-center": "bottom",
|
|
@@ -1873,8 +1873,8 @@ var Qi = /* @__PURE__ */ new Set(), $i = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1873
1873
|
i.left,
|
|
1874
1874
|
i.width,
|
|
1875
1875
|
i.height
|
|
1876
|
-
], a),
|
|
1877
|
-
t.disableClickOutsideToClose ||
|
|
1876
|
+
], a), le(_, () => {
|
|
1877
|
+
t.disableClickOutsideToClose || G(!1);
|
|
1878
1878
|
}, { ignore: r(() => [
|
|
1879
1879
|
S.value,
|
|
1880
1880
|
".p-datepicker-panel",
|
|
@@ -1886,18 +1886,18 @@ var Qi = /* @__PURE__ */ new Set(), $i = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1886
1886
|
zIndex: t.zIndex
|
|
1887
1887
|
})), re, H, W = () => {
|
|
1888
1888
|
re && clearTimeout(re), re = void 0;
|
|
1889
|
-
},
|
|
1889
|
+
}, oe = () => {
|
|
1890
1890
|
H && clearTimeout(H), H = void 0;
|
|
1891
|
-
},
|
|
1892
|
-
W(),
|
|
1891
|
+
}, G = (e) => {
|
|
1892
|
+
W(), oe(), !(e && (t.disabled || !m.value)) && (e && t.delay > 0 && (t.showOnHover || !h) ? re = setTimeout(() => {
|
|
1893
1893
|
c.value = !0, re = void 0;
|
|
1894
1894
|
}, t.delay) : c.value = e);
|
|
1895
|
-
}, oe = () => {
|
|
1896
|
-
W(), G(), c.value = !1;
|
|
1897
1895
|
}, se = () => {
|
|
1896
|
+
W(), oe(), c.value = !1;
|
|
1897
|
+
}, ce = () => {
|
|
1898
1898
|
let e = S.value;
|
|
1899
1899
|
!e || !g.value || !m.value || (c.value ? e.showPopover() : e.hidePopover());
|
|
1900
|
-
},
|
|
1900
|
+
}, K = r(() => !!c.value && (w.value || A.value)), q = r(() => !t.showOnHover || M.value ? !1 : t.disableInteractive ? C.value || O.value : C.value || O.value || K.value);
|
|
1901
1901
|
U([
|
|
1902
1902
|
C,
|
|
1903
1903
|
O,
|
|
@@ -1915,47 +1915,47 @@ var Qi = /* @__PURE__ */ new Set(), $i = (e, t) => !!t.root.value && !!e.root.va
|
|
|
1915
1915
|
if (t.showOnHover) {
|
|
1916
1916
|
if (t.disableClickOutsideToClose) return;
|
|
1917
1917
|
if (!c.value && !re && t.enableClickToggle) {
|
|
1918
|
-
M.value = !1,
|
|
1918
|
+
M.value = !1, G(!0);
|
|
1919
1919
|
return;
|
|
1920
1920
|
}
|
|
1921
|
-
M.value = !0,
|
|
1921
|
+
M.value = !0, se();
|
|
1922
1922
|
return;
|
|
1923
1923
|
}
|
|
1924
|
-
|
|
1924
|
+
G(re ? !1 : !c.value);
|
|
1925
1925
|
}, me = (e) => {
|
|
1926
1926
|
let t = e.newState === "open";
|
|
1927
1927
|
c.value !== t && (c.value = t);
|
|
1928
1928
|
}, he = (e) => {
|
|
1929
|
-
h && F.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(),
|
|
1929
|
+
h && F.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), G(!1));
|
|
1930
1930
|
};
|
|
1931
1931
|
return U(c, async (e) => {
|
|
1932
1932
|
if (t.showOnHover && t.enableGroupSync && N(!!e), !h) {
|
|
1933
1933
|
e && te();
|
|
1934
1934
|
return;
|
|
1935
1935
|
}
|
|
1936
|
-
await v(),
|
|
1936
|
+
await v(), ce();
|
|
1937
1937
|
}), U(q, (e) => {
|
|
1938
1938
|
if (t.showOnHover) {
|
|
1939
1939
|
if (e) {
|
|
1940
|
-
|
|
1940
|
+
G(!0);
|
|
1941
1941
|
return;
|
|
1942
1942
|
}
|
|
1943
|
-
W(), t.closeDelay > 0 ? (
|
|
1944
|
-
H = void 0, q.value ||
|
|
1945
|
-
}, t.closeDelay)) :
|
|
1943
|
+
W(), t.closeDelay > 0 ? (oe(), H = setTimeout(() => {
|
|
1944
|
+
H = void 0, q.value || G(!1);
|
|
1945
|
+
}, t.closeDelay)) : G(!1);
|
|
1946
1946
|
}
|
|
1947
1947
|
}), U(m, (e) => {
|
|
1948
|
-
e ? h && c.value && v(
|
|
1948
|
+
e ? h && c.value && v(ce) : se();
|
|
1949
1949
|
}), T(() => {
|
|
1950
|
-
b.value = y.value, g.value = !0, c.value && v(() => h ?
|
|
1950
|
+
b.value = y.value, g.value = !0, c.value && v(() => h ? ce() : te());
|
|
1951
1951
|
}), E(() => {
|
|
1952
|
-
W(),
|
|
1952
|
+
W(), oe();
|
|
1953
1953
|
}), U(() => t.disabled, (e) => {
|
|
1954
1954
|
if (!e) {
|
|
1955
|
-
q.value &&
|
|
1955
|
+
q.value && G(!0);
|
|
1956
1956
|
return;
|
|
1957
1957
|
}
|
|
1958
|
-
O.value &&= !1, A.value &&= !1,
|
|
1958
|
+
O.value &&= !1, A.value &&= !1, G(!1);
|
|
1959
1959
|
}), (r, l) => (D(), o("div", {
|
|
1960
1960
|
ref_key: "root",
|
|
1961
1961
|
ref: _,
|
|
@@ -5017,7 +5017,7 @@ var Qi = /* @__PURE__ */ new Set(), $i = (e, t) => !!t.root.value && !!e.root.va
|
|
|
5017
5017
|
"pv-input-small": n.size === "lg"
|
|
5018
5018
|
}));
|
|
5019
5019
|
return T(() => {
|
|
5020
|
-
n.displayShortcut &&
|
|
5020
|
+
n.displayShortcut && K(Ea, (e) => {
|
|
5021
5021
|
let t = e.target, n = t instanceof HTMLInputElement || t instanceof HTMLTextAreaElement || (t?.isContentEditable ?? !1), r = document.activeElement === i.value;
|
|
5022
5022
|
(!n || r) && (r || (e.preventDefault(), i.value?.focus()));
|
|
5023
5023
|
});
|
|
@@ -5290,7 +5290,7 @@ var Qi = /* @__PURE__ */ new Set(), $i = (e, t) => !!t.root.value && !!e.root.va
|
|
|
5290
5290
|
}, {
|
|
5291
5291
|
label: W(() => [u(Hn, {
|
|
5292
5292
|
name: "close",
|
|
5293
|
-
onClick: r[0] ||=
|
|
5293
|
+
onClick: r[0] ||= G((e) => n.$emit("handle-clear"), ["stop"])
|
|
5294
5294
|
})]),
|
|
5295
5295
|
"tooltip-content": W(() => [...r[1] ||= [l(" Clear Selections ", -1)]]),
|
|
5296
5296
|
_: 1
|
|
@@ -5499,7 +5499,7 @@ var Qa = {
|
|
|
5499
5499
|
size: 12,
|
|
5500
5500
|
name: "info-circle",
|
|
5501
5501
|
class: "pv-text-subdued",
|
|
5502
|
-
onClick: r[0] ||=
|
|
5502
|
+
onClick: r[0] ||= G(() => {}, ["stop", "prevent"])
|
|
5503
5503
|
})]),
|
|
5504
5504
|
content: W(() => [s("div", to, P(e.description), 1)]),
|
|
5505
5505
|
_: 1
|
|
@@ -5592,7 +5592,7 @@ var Qa = {
|
|
|
5592
5592
|
style: { "--button-icon-only-padding": "0px" },
|
|
5593
5593
|
"aria-label": e.tooltipText,
|
|
5594
5594
|
disabled: e.disabled,
|
|
5595
|
-
onClick:
|
|
5595
|
+
onClick: G(o, ["stop"])
|
|
5596
5596
|
}, [u(Hn, {
|
|
5597
5597
|
name: e.icon,
|
|
5598
5598
|
size: a[e.size]
|
|
@@ -5640,7 +5640,7 @@ var Qa = {
|
|
|
5640
5640
|
class: y(["pv-text-brand", { "pv-action-button-reveal-on-hover": !f.value }]),
|
|
5641
5641
|
role: "img",
|
|
5642
5642
|
"aria-label": o.value,
|
|
5643
|
-
onClick: t[0] ||=
|
|
5643
|
+
onClick: t[0] ||= G(() => {}, ["stop"])
|
|
5644
5644
|
}, [u(Hn, { name: n.value }, null, 8, ["name"])], 10, uo)]),
|
|
5645
5645
|
_: 2
|
|
5646
5646
|
}, [o.value ? {
|
|
@@ -5810,7 +5810,7 @@ var Qa = {
|
|
|
5810
5810
|
class: "pv-button-ghost pv-menu-item-expand-chevron",
|
|
5811
5811
|
"aria-label": n.text ? `Toggle children for ${n.text}` : "Toggle children",
|
|
5812
5812
|
"aria-expanded": e.expanded,
|
|
5813
|
-
onClick: r[1] ||=
|
|
5813
|
+
onClick: r[1] ||= G((e) => P("toggle-expanded"), ["prevent", "stop"])
|
|
5814
5814
|
}, [u(Hn, {
|
|
5815
5815
|
name: e.chevronIcon ?? "chevron-right",
|
|
5816
5816
|
size: 12
|
|
@@ -6012,12 +6012,13 @@ var Qa = {
|
|
|
6012
6012
|
type: Boolean,
|
|
6013
6013
|
default: !1
|
|
6014
6014
|
},
|
|
6015
|
-
listId: { default: void 0 },
|
|
6016
|
-
listRole: { default: "list" },
|
|
6017
6015
|
isSortable: {
|
|
6018
6016
|
type: Boolean,
|
|
6019
6017
|
default: !1
|
|
6020
|
-
}
|
|
6018
|
+
},
|
|
6019
|
+
listClass: { default: void 0 },
|
|
6020
|
+
listId: { default: void 0 },
|
|
6021
|
+
listRole: { default: "list" }
|
|
6021
6022
|
},
|
|
6022
6023
|
emits: ["list-order-updated"],
|
|
6023
6024
|
setup(e, { expose: n, emit: i }) {
|
|
@@ -6042,13 +6043,13 @@ var Qa = {
|
|
|
6042
6043
|
id: e.listId,
|
|
6043
6044
|
ref: "popoverList",
|
|
6044
6045
|
role: e.listRole,
|
|
6045
|
-
class: "pv-popover-list",
|
|
6046
|
+
class: y(["pv-popover-list", e.listClass]),
|
|
6046
6047
|
style: x(e.cssCustomListProperties)
|
|
6047
|
-
}, [j(n.$slots, "default", {}, void 0, !0)],
|
|
6048
|
+
}, [j(n.$slots, "default", {}, void 0, !0)], 14, Mo),
|
|
6048
6049
|
j(n.$slots, "footer", {}, void 0, !0)
|
|
6049
6050
|
], 64)) : j(n.$slots, "default", { key: 1 }, void 0, !0)], 14, jo));
|
|
6050
6051
|
}
|
|
6051
|
-
}), [["__scopeId", "data-v-
|
|
6052
|
+
}), [["__scopeId", "data-v-fe6e9c6a"]]), Po = ["role"], Fo = [
|
|
6052
6053
|
"data-active",
|
|
6053
6054
|
"data-option-id",
|
|
6054
6055
|
"data-testid",
|
|
@@ -6097,7 +6098,7 @@ var Qa = {
|
|
|
6097
6098
|
let e = p.value;
|
|
6098
6099
|
E(), e && v(() => Ce(e));
|
|
6099
6100
|
}, N = [...m(go, []), h];
|
|
6100
|
-
O(go, N),
|
|
6101
|
+
O(go, N), le(g, (e) => {
|
|
6101
6102
|
(e.target instanceof Element ? e.target.closest("[data-pv-menu-ancestors]")?.dataset.pvMenuAncestors?.split(" ") : void 0)?.includes(h) || E();
|
|
6102
6103
|
}, { ignore: [S] });
|
|
6103
6104
|
let P = ee(f.value);
|
|
@@ -6112,17 +6113,17 @@ var Qa = {
|
|
|
6112
6113
|
}), O(po, P), O(ho, r(() => l.childrenDisplay === "popover"));
|
|
6113
6114
|
let L = r(() => l.childrenDisplay === "inline" && !!l.enableCascadeSelection);
|
|
6114
6115
|
O(mo, L);
|
|
6115
|
-
let z = m(_o, void 0), ne = m(bo, k(!1)), V = m(vo, void 0), re = m(yo, void 0), H = r(() => l.singleSelect || l.config?.variant === "radio"),
|
|
6116
|
+
let z = m(_o, void 0), ne = m(bo, k(!1)), V = m(vo, void 0), re = m(yo, void 0), H = r(() => l.singleSelect || l.config?.variant === "radio"), oe = r(() => l.options.find((e) => e.id === p.value && e.children?.length)), G = (e, t, n = !1, r = !0) => {
|
|
6116
6117
|
let i = !r || p.value !== e.id;
|
|
6117
6118
|
p.value = i ? e.id : void 0, i && (C.value = t, v(() => {
|
|
6118
6119
|
T(), n && xe(b.value ?? document.getElementById(h), 0);
|
|
6119
6120
|
}));
|
|
6120
|
-
},
|
|
6121
|
+
}, se = (e, t = !1) => {
|
|
6121
6122
|
if (l.readOnly) return;
|
|
6122
6123
|
let n = (!t && l.childrenDisplay === "popover" ? l.options.find((t) => t.id === e.option.id) : void 0) ?? e.option;
|
|
6123
6124
|
if (l.childrenDisplay === "popover" && !t && n.children?.length) {
|
|
6124
6125
|
let t = e.event.currentTarget?.closest("li");
|
|
6125
|
-
t &&
|
|
6126
|
+
t && G(n, t);
|
|
6126
6127
|
return;
|
|
6127
6128
|
}
|
|
6128
6129
|
let r;
|
|
@@ -6159,17 +6160,17 @@ var Qa = {
|
|
|
6159
6160
|
...e,
|
|
6160
6161
|
option: n
|
|
6161
6162
|
} : e);
|
|
6162
|
-
},
|
|
6163
|
-
let t =
|
|
6163
|
+
}, ce = (e) => {
|
|
6164
|
+
let t = oe.value;
|
|
6164
6165
|
if (!t) return;
|
|
6165
6166
|
let n = t.children?.find((t) => t.id === e.option.id) ?? e.option;
|
|
6166
|
-
|
|
6167
|
+
se({
|
|
6167
6168
|
...e,
|
|
6168
6169
|
option: n
|
|
6169
6170
|
}, !0), p.value = void 0, v(() => Ce(t.id));
|
|
6170
|
-
},
|
|
6171
|
+
}, K = r(() => new Set(P.value.map((e) => e.id))), q = (e) => {
|
|
6171
6172
|
for (let t of e) {
|
|
6172
|
-
if (
|
|
6173
|
+
if (K.value.has(t.id)) return t;
|
|
6173
6174
|
let e = t.children?.length ? q(t.children) : void 0;
|
|
6174
6175
|
if (e) return e;
|
|
6175
6176
|
}
|
|
@@ -6187,14 +6188,14 @@ var Qa = {
|
|
|
6187
6188
|
...e,
|
|
6188
6189
|
children: void 0,
|
|
6189
6190
|
totalChildCount: void 0
|
|
6190
|
-
}), de = (e) => l.childrenDisplay === "popover" ? e.config ?? l.config : l.config, fe = (e) =>
|
|
6191
|
+
}), de = (e) => l.childrenDisplay === "popover" ? e.config ?? l.config : l.config, fe = (e) => K.value.has(e.id) || L.value && V?.value?.has(e.id) || (L.value || l.childrenDisplay === "popover") && e.children?.length && q(e.children) ? !0 : null, Y = (e) => {
|
|
6191
6192
|
let t = e.config?.variant ?? l.config?.variant;
|
|
6192
6193
|
return H.value || t === "radio" ? "menuitemradio" : t === "checkbox" ? "menuitemcheckbox" : "menuitem";
|
|
6193
|
-
}, pe = (e) => Y(e) === "menuitem" ? void 0 : !!fe(e), X = (e) => e.children?.length && !l.highlightParentItems ? null : Y(e) !== "menuitemcheckbox" && fe(e) || p.value === e.id ? !0 : null, me = (e) => Y(e) !== "menuitemcheckbox" &&
|
|
6194
|
+
}, pe = (e) => Y(e) === "menuitem" ? void 0 : !!fe(e), X = (e) => e.children?.length && !l.highlightParentItems ? null : Y(e) !== "menuitemcheckbox" && fe(e) || p.value === e.id ? !0 : null, me = (e) => Y(e) !== "menuitemcheckbox" && K.value.has(e.id) ? !0 : null, he = (e, t) => !!(!t || K.value.has(e.id) || V?.value?.has(e.id) || e.children?.length && q(e.children)), ge = k(), _e = k(), ve = r(() => {
|
|
6194
6195
|
let e = l.options.filter((e) => !l.readOnly && !e.disabled && he(e, l.isLoading)).map((e) => e.id);
|
|
6195
6196
|
return l.hasMoreOptions && !l.isSeeMoreLoading && e.push(Bo), ge.value && e.includes(ge.value) ? ge.value : e[0];
|
|
6196
6197
|
}), ye = r(() => {
|
|
6197
|
-
let e =
|
|
6198
|
+
let e = oe.value?.children?.filter((e) => !l.readOnly && !e.disabled) ?? [];
|
|
6198
6199
|
return e.some((e) => e.id === _e.value) ? _e.value : e[0]?.id;
|
|
6199
6200
|
}), be = (e) => {
|
|
6200
6201
|
let t = Array.from(e?.querySelectorAll("li[role='none'] > [role^='menuitem']:not([aria-disabled='true'])") ?? []).filter((e) => !e.hidden && e.style.display !== "none");
|
|
@@ -6226,11 +6227,11 @@ var Qa = {
|
|
|
6226
6227
|
if (!(e.target !== e.currentTarget || we(e, g.value))) switch (e.key) {
|
|
6227
6228
|
case "ArrowRight":
|
|
6228
6229
|
if (!t.children?.length) break;
|
|
6229
|
-
e.preventDefault(),
|
|
6230
|
+
e.preventDefault(), G(t, e.currentTarget, !0, !1);
|
|
6230
6231
|
break;
|
|
6231
6232
|
case "Enter":
|
|
6232
6233
|
case " ":
|
|
6233
|
-
e.preventDefault(), t.children?.length ?
|
|
6234
|
+
e.preventDefault(), t.children?.length ? G(t, e.currentTarget, !0, !1) : se({
|
|
6234
6235
|
event: e,
|
|
6235
6236
|
option: t
|
|
6236
6237
|
});
|
|
@@ -6265,7 +6266,7 @@ var Qa = {
|
|
|
6265
6266
|
}
|
|
6266
6267
|
case "Enter":
|
|
6267
6268
|
case " ":
|
|
6268
|
-
e.preventDefault(),
|
|
6269
|
+
e.preventDefault(), ce({
|
|
6269
6270
|
event: e,
|
|
6270
6271
|
option: t
|
|
6271
6272
|
});
|
|
@@ -6304,7 +6305,7 @@ var Qa = {
|
|
|
6304
6305
|
tabindex: e.childrenDisplay === "popover" ? ve.value === t.id ? 0 : -1 : void 0,
|
|
6305
6306
|
onFocus: (e) => ge.value = t.id,
|
|
6306
6307
|
onKeydown: (n) => e.childrenDisplay === "popover" ? Te(n, t) : void 0,
|
|
6307
|
-
onHandleSelected:
|
|
6308
|
+
onHandleSelected: se,
|
|
6308
6309
|
onSeeMore: c[0] ||= (e) => d("see-more", e)
|
|
6309
6310
|
}), null, 16, [
|
|
6310
6311
|
"aria-checked",
|
|
@@ -6343,7 +6344,7 @@ var Qa = {
|
|
|
6343
6344
|
"disabled",
|
|
6344
6345
|
"role",
|
|
6345
6346
|
"tabindex"
|
|
6346
|
-
])], 8, Io)) : a("", !0)], 16, Po), e.childrenDisplay === "popover" &&
|
|
6347
|
+
])], 8, Io)) : a("", !0)], 16, Po), e.childrenDisplay === "popover" && oe.value ? (D(), i(n, {
|
|
6347
6348
|
key: 0,
|
|
6348
6349
|
to: "body"
|
|
6349
6350
|
}, [s("div", {
|
|
@@ -6361,17 +6362,17 @@ var Qa = {
|
|
|
6361
6362
|
}
|
|
6362
6363
|
}, {
|
|
6363
6364
|
default: W(() => [j(r.$slots, "popover", {
|
|
6364
|
-
option:
|
|
6365
|
+
option: oe.value,
|
|
6365
6366
|
popoverId: R(h),
|
|
6366
6367
|
close: M
|
|
6367
6368
|
}, () => [s("ul", {
|
|
6368
6369
|
id: R(h),
|
|
6369
6370
|
ref_key: "nestedMenuRef",
|
|
6370
6371
|
ref: b,
|
|
6371
|
-
"aria-label": `${
|
|
6372
|
+
"aria-label": `${oe.value.text} options`,
|
|
6372
6373
|
class: "pv-popover-list",
|
|
6373
6374
|
role: "menu"
|
|
6374
|
-
}, [(D(!0), o(t, null, A(
|
|
6375
|
+
}, [(D(!0), o(t, null, A(oe.value.children, (t) => (D(), o("li", {
|
|
6375
6376
|
key: t.id,
|
|
6376
6377
|
"data-active": me(t),
|
|
6377
6378
|
"data-option-id": t.id,
|
|
@@ -6391,7 +6392,7 @@ var Qa = {
|
|
|
6391
6392
|
tabindex: ye.value === t.id ? 0 : -1,
|
|
6392
6393
|
onFocus: (e) => _e.value = t.id,
|
|
6393
6394
|
onKeydown: (e) => De(e, t),
|
|
6394
|
-
onHandleSelected:
|
|
6395
|
+
onHandleSelected: ce,
|
|
6395
6396
|
onSeeMore: c[4] ||= (e) => d("see-more", e)
|
|
6396
6397
|
}), null, 16, [
|
|
6397
6398
|
"aria-checked",
|
|
@@ -6508,7 +6509,7 @@ var Qa = {
|
|
|
6508
6509
|
}, E = () => {
|
|
6509
6510
|
f.value = !1, m.value = "";
|
|
6510
6511
|
};
|
|
6511
|
-
return
|
|
6512
|
+
return K("Escape", () => {
|
|
6512
6513
|
f.value && E();
|
|
6513
6514
|
}), (t, n) => (D(), i(ra, _({
|
|
6514
6515
|
modelValue: R(f),
|
|
@@ -7411,7 +7412,7 @@ var Qa = {
|
|
|
7411
7412
|
dataRows: v.value,
|
|
7412
7413
|
mapColumn: N.value,
|
|
7413
7414
|
seriesColumn: E.value
|
|
7414
|
-
})),
|
|
7415
|
+
})), oe = r(() => ac(ae.value, E.value?.field)), G = r(() => oc(E.value)), se = r(() => sc({
|
|
7415
7416
|
aggregatedCategoryChartData: U.value,
|
|
7416
7417
|
categoryColumn: T.value,
|
|
7417
7418
|
dataLimit: n.dataLimit,
|
|
@@ -7432,25 +7433,25 @@ var Qa = {
|
|
|
7432
7433
|
useDisplayDataRows: n.chartData !== void 0,
|
|
7433
7434
|
xKey: n.xKey,
|
|
7434
7435
|
yKey: n.yKey
|
|
7435
|
-
})),
|
|
7436
|
+
})), ce = r(() => _n(se.value)), le = r(() => vn(se.value)), K = r(() => cn({
|
|
7436
7437
|
baseMinHeight: n.minHeight,
|
|
7437
|
-
dataCount:
|
|
7438
|
+
dataCount: ce.value,
|
|
7438
7439
|
enableChartScrolling: n.enableChartScrolling,
|
|
7439
|
-
isHorizontalScrollingChart:
|
|
7440
|
+
isHorizontalScrollingChart: le.value
|
|
7440
7441
|
})), q = r(() => {
|
|
7441
7442
|
let e = ln({
|
|
7442
7443
|
enableChartScrolling: n.enableChartScrolling,
|
|
7443
|
-
isHorizontalScrollingChart:
|
|
7444
|
+
isHorizontalScrollingChart: le.value
|
|
7444
7445
|
});
|
|
7445
|
-
if (e) return
|
|
7446
|
+
if (e) return le.value ? {
|
|
7446
7447
|
...e,
|
|
7447
7448
|
maxHeight: `${n.minHeight}px`
|
|
7448
7449
|
} : e;
|
|
7449
7450
|
}), ue = r(() => un({
|
|
7450
|
-
chartMinHeight:
|
|
7451
|
-
dataCount:
|
|
7451
|
+
chartMinHeight: K.value,
|
|
7452
|
+
dataCount: ce.value,
|
|
7452
7453
|
enableChartScrolling: n.enableChartScrolling,
|
|
7453
|
-
isHorizontalScrollingChart:
|
|
7454
|
+
isHorizontalScrollingChart: le.value,
|
|
7454
7455
|
minContentWidth: 320
|
|
7455
7456
|
}));
|
|
7456
7457
|
return (n, r) => (D(), i(Pn, {
|
|
@@ -7481,12 +7482,12 @@ var Qa = {
|
|
|
7481
7482
|
"onUpdate:selectedRegion": r[1] ||= (e) => R.value = e,
|
|
7482
7483
|
chartData: ae.value,
|
|
7483
7484
|
displayRegionSelector: !1,
|
|
7484
|
-
gradientLegendMin:
|
|
7485
|
-
gradientLegendMax:
|
|
7485
|
+
gradientLegendMin: oe.value.min,
|
|
7486
|
+
gradientLegendMax: oe.value.max,
|
|
7486
7487
|
isLoading: e.chartLoading,
|
|
7487
7488
|
noDataMessage: e.noDataOverlayText,
|
|
7488
7489
|
seriesKey: E.value?.field ?? "value",
|
|
7489
|
-
seriesValueFormatter:
|
|
7490
|
+
seriesValueFormatter: G.value
|
|
7490
7491
|
}, null, 8, [
|
|
7491
7492
|
"selectedRegion",
|
|
7492
7493
|
"chartData",
|
|
@@ -7504,9 +7505,9 @@ var Qa = {
|
|
|
7504
7505
|
class: "pv-data-widget__chart-content",
|
|
7505
7506
|
style: x(ue.value)
|
|
7506
7507
|
}, [u(nn, {
|
|
7507
|
-
options:
|
|
7508
|
+
options: se.value,
|
|
7508
7509
|
isLoading: e.chartLoading,
|
|
7509
|
-
minHeight:
|
|
7510
|
+
minHeight: K.value
|
|
7510
7511
|
}, null, 8, [
|
|
7511
7512
|
"options",
|
|
7512
7513
|
"isLoading",
|
|
@@ -7593,7 +7594,7 @@ var Qa = {
|
|
|
7593
7594
|
return (t, r) => ae((D(), o("div", {
|
|
7594
7595
|
class: "pv-relative",
|
|
7595
7596
|
style: { width: "fit-content" },
|
|
7596
|
-
onKeydown:
|
|
7597
|
+
onKeydown: oe(E, ["esc"])
|
|
7597
7598
|
}, [s("button", {
|
|
7598
7599
|
ref_key: "triggerRef",
|
|
7599
7600
|
ref: h,
|
|
@@ -7698,7 +7699,7 @@ var Qa = {
|
|
|
7698
7699
|
size: 12,
|
|
7699
7700
|
name: "close",
|
|
7700
7701
|
"data-dd-action-name": e.rumRemoveActionName,
|
|
7701
|
-
onClick: r[0] ||=
|
|
7702
|
+
onClick: r[0] ||= G((n) => t.$emit("handle-close", e.label), ["stop"])
|
|
7702
7703
|
}, null, 8, ["data-dd-action-name"])) : a("", !0)
|
|
7703
7704
|
], 14, gc));
|
|
7704
7705
|
}
|
|
@@ -7856,7 +7857,7 @@ var Oc = {
|
|
|
7856
7857
|
let r = e, i = n, c = V("sidePanel"), l = B(e, "searchInput"), d = B(e, "modelValue"), f = () => {
|
|
7857
7858
|
c?.value?.removeAttribute("open"), d.value = !1;
|
|
7858
7859
|
}, p = () => {
|
|
7859
|
-
c.value &&
|
|
7860
|
+
c.value && le(c.value, () => {
|
|
7860
7861
|
d.value && (i("click-outside"), f());
|
|
7861
7862
|
}, { ignore: [".pv-click-outside-ignore"] });
|
|
7862
7863
|
};
|
|
@@ -7864,7 +7865,7 @@ var Oc = {
|
|
|
7864
7865
|
d.value && c?.value?.setAttribute("open", "true"), r.closeOnClickOutside && p();
|
|
7865
7866
|
}), U(() => d.value, () => {
|
|
7866
7867
|
d.value ? c?.value?.setAttribute("open", "true") : c?.value?.removeAttribute("open");
|
|
7867
|
-
}),
|
|
7868
|
+
}), K("Escape", () => {
|
|
7868
7869
|
c.value && d.value && f();
|
|
7869
7870
|
}), (n, i) => (D(), o("div", {
|
|
7870
7871
|
class: "pv-drawer pv-surface",
|
|
@@ -8131,14 +8132,14 @@ var Rc = {
|
|
|
8131
8132
|
a(ie(r.id), r.id);
|
|
8132
8133
|
}
|
|
8133
8134
|
f.value = t, m.value = n, H.value = r;
|
|
8134
|
-
},
|
|
8135
|
+
}, oe = r({
|
|
8135
8136
|
get: () => H.value,
|
|
8136
8137
|
set: (e) => {
|
|
8137
8138
|
te(e);
|
|
8138
8139
|
}
|
|
8139
|
-
}),
|
|
8140
|
+
}), G = () => {
|
|
8140
8141
|
L.value = "", M.value = !1;
|
|
8141
|
-
},
|
|
8142
|
+
}, se = r(() => {
|
|
8142
8143
|
let e = c.size === "lg" ? 24 : 30;
|
|
8143
8144
|
return c.overlayTrigger ? -e : void 0;
|
|
8144
8145
|
});
|
|
@@ -8158,25 +8159,25 @@ var Rc = {
|
|
|
8158
8159
|
c.overlayTrigger && !c.disableSearchInput && k.value?.input?.focus(), g("dropdown-open");
|
|
8159
8160
|
})) : (re(), g("dropdown-closed"));
|
|
8160
8161
|
});
|
|
8161
|
-
let
|
|
8162
|
+
let ce = r(() => {
|
|
8162
8163
|
if (L.value === "") return c.options;
|
|
8163
8164
|
let e = L.value.toLocaleLowerCase();
|
|
8164
8165
|
return c.enableCascadeSelection ? Za(c.options, e, !c.hideParentOnChildQueryMatch) : c.options.filter((t) => t.text.toLocaleLowerCase().includes(e) || t.searchText?.toLocaleLowerCase().includes(e));
|
|
8165
|
-
}),
|
|
8166
|
+
}), le = () => {
|
|
8166
8167
|
if (c.enableCascadeSelection) {
|
|
8167
8168
|
let e = /* @__PURE__ */ new Set(), t = (n) => {
|
|
8168
8169
|
for (let r of n) Ka(r) && (e.add(r.id), r.children?.length && t(r.children));
|
|
8169
8170
|
};
|
|
8170
|
-
t(
|
|
8171
|
+
t(ce.value), f.value = e, m.value = /* @__PURE__ */ new Map();
|
|
8171
8172
|
}
|
|
8172
|
-
let e = c.enableCascadeSelection ? qa(
|
|
8173
|
+
let e = c.enableCascadeSelection ? qa(ce.value) : ce.value;
|
|
8173
8174
|
g("select-all", e.length), te(e);
|
|
8174
8175
|
}, q = () => {
|
|
8175
8176
|
g("clear-all", H.value.length), f.value = /* @__PURE__ */ new Set(), m.value = /* @__PURE__ */ new Map(), te([]);
|
|
8176
8177
|
}, ue = () => {
|
|
8177
|
-
re(),
|
|
8178
|
+
re(), G();
|
|
8178
8179
|
}, J = () => {
|
|
8179
|
-
ne(),
|
|
8180
|
+
ne(), G();
|
|
8180
8181
|
}, de = r(() => {
|
|
8181
8182
|
if (!c.groupings) return;
|
|
8182
8183
|
let e = /* @__PURE__ */ new Map();
|
|
@@ -8200,12 +8201,12 @@ var Rc = {
|
|
|
8200
8201
|
let e = he.value?.getRootNode();
|
|
8201
8202
|
return e instanceof ShadowRoot ? e.host : null;
|
|
8202
8203
|
}), { present: _e } = Zi("header", { host: ge }), { present: ve } = Zi("no-results", { host: ge }), { present: ye } = Zi("footer", { host: ge });
|
|
8203
|
-
return
|
|
8204
|
-
M.value &&
|
|
8204
|
+
return K("Escape", () => {
|
|
8205
|
+
M.value && G();
|
|
8205
8206
|
}), (n, r) => (D(), i(ra, _({
|
|
8206
8207
|
modelValue: R(M),
|
|
8207
8208
|
"onUpdate:modelValue": r[4] ||= (e) => h(M) ? M.value = e : null
|
|
8208
|
-
}, e.popoverProperties, { offset:
|
|
8209
|
+
}, e.popoverProperties, { offset: se.value }), {
|
|
8209
8210
|
trigger: W(() => [u(Va, {
|
|
8210
8211
|
ref: "select-button-trigger-ref",
|
|
8211
8212
|
variant: e.variant,
|
|
@@ -8264,11 +8265,11 @@ var Rc = {
|
|
|
8264
8265
|
placeholder: e.searchPlaceholder
|
|
8265
8266
|
}, null, 8, ["model-value", "placeholder"])], 8, Bc)),
|
|
8266
8267
|
n.$slots.header || R(_e) ? (D(), o("div", Vc, [j(n.$slots, "header", b(p(pe.value)))])) : a("", !0),
|
|
8267
|
-
|
|
8268
|
+
ce.value.length > 0 ? (D(), o(t, { key: 2 }, [fe.value ? (D(!0), o(t, { key: 0 }, A(de.value, ([t, i], s) => (D(), o("div", { key: t }, [
|
|
8268
8269
|
n.$slots[t] ? j(n.$slots, t, { key: 0 }) : t === "other" ? a("", !0) : (D(), o("span", Hc, P(t), 1)),
|
|
8269
8270
|
u(Vo, {
|
|
8270
|
-
selectedItems:
|
|
8271
|
-
"onUpdate:selectedItems": r[2] ||= (e) =>
|
|
8271
|
+
selectedItems: oe.value,
|
|
8272
|
+
"onUpdate:selectedItems": r[2] ||= (e) => oe.value = e,
|
|
8272
8273
|
options: i,
|
|
8273
8274
|
config: l.value,
|
|
8274
8275
|
singleSelect: e.singleSelect,
|
|
@@ -8295,9 +8296,9 @@ var Rc = {
|
|
|
8295
8296
|
de.value && s !== de.value.length - 1 ? (D(), o("div", Uc)) : a("", !0)
|
|
8296
8297
|
]))), 128)) : (D(), i(Vo, {
|
|
8297
8298
|
key: 1,
|
|
8298
|
-
selectedItems:
|
|
8299
|
-
"onUpdate:selectedItems": r[3] ||= (e) =>
|
|
8300
|
-
options:
|
|
8299
|
+
selectedItems: oe.value,
|
|
8300
|
+
"onUpdate:selectedItems": r[3] ||= (e) => oe.value = e,
|
|
8301
|
+
options: ce.value,
|
|
8301
8302
|
config: l.value,
|
|
8302
8303
|
singleSelect: e.singleSelect,
|
|
8303
8304
|
queryText: e.highlightSearchText ? L.value : null,
|
|
@@ -8318,14 +8319,14 @@ var Rc = {
|
|
|
8318
8319
|
"isSeeMoreLoading",
|
|
8319
8320
|
"hasMoreOptions"
|
|
8320
8321
|
]))], 64)) : a("", !0),
|
|
8321
|
-
e.isLoading ? (D(), o("div", Wc, [u(Dt, { variant: "dark" }), e.loadingText ? (D(), o("span", Gc, P(e.loadingText), 1)) : a("", !0)])) :
|
|
8322
|
+
e.isLoading ? (D(), o("div", Wc, [u(Dt, { variant: "dark" }), e.loadingText ? (D(), o("span", Gc, P(e.loadingText), 1)) : a("", !0)])) : ce.value.length === 0 ? (D(), o(t, { key: 4 }, [R(ve) ? j(n.$slots, "no-results", b(_({ key: 0 }, pe.value))) : (D(), i(Ga, { key: 1 }))], 64)) : a("", !0),
|
|
8322
8323
|
s("div", Kc, [R(ye) ? j(n.$slots, "footer", b(_({ key: 0 }, pe.value))) : a("", !0), e.menuActionsVariant ? (D(), i(zc, {
|
|
8323
8324
|
key: 1,
|
|
8324
8325
|
variant: e.menuActionsVariant,
|
|
8325
8326
|
disabled: e.isLoading,
|
|
8326
8327
|
rumFilterName: e.rumFilterName,
|
|
8327
8328
|
onHandleClearAll: q,
|
|
8328
|
-
onHandleSelectAll:
|
|
8329
|
+
onHandleSelectAll: le,
|
|
8329
8330
|
onHandleCancel: ue,
|
|
8330
8331
|
onHandleConfirm: J
|
|
8331
8332
|
}, null, 8, [
|
|
@@ -8926,21 +8927,21 @@ var nl = "__pv_filter_panel_scoped_value__", rl = (e) => typeof e == "object" &&
|
|
|
8926
8927
|
width: "100%",
|
|
8927
8928
|
maxWidth: "100%",
|
|
8928
8929
|
"--popover-list-item-hover-background-color": "var(--surface-card-hover, #ece8e2)"
|
|
8929
|
-
}, f = V("search-input"), p = B(e, "searchText"), m = B(e, "query"), h = B(e, "options"), { addQueryOption: g, containsQueryOption: b, removeQueryOption: S } = Ll(), C = k(!1), w = k(!1), T = k(!1), E = ne(), O = r(() => !!(E.header || E.footer || E.empty)), M = te(), N = `${M}-options`, ee = (e) => `${M}-option-${e}`, F = (e) => `${M}-group-${e}`, I = r(() =>
|
|
8930
|
+
}, f = V("search-input"), p = B(e, "searchText"), m = B(e, "query"), h = B(e, "options"), { addQueryOption: g, containsQueryOption: b, removeQueryOption: S } = Ll(), C = k(!1), w = k(!1), T = k(!1), E = ne(), O = r(() => !!(E.header || E.footer || E.empty)), M = te(), N = `${M}-options`, ee = (e) => `${M}-option-${e}`, F = (e) => `${M}-group-${e}`, I = r(() => ce.value.length > 0 || n.optionsLoading || O.value), L = r(() => m.value === null ? n.placeholder : ""), z = k(null), re = r(() => z.value !== null && z.value !== "" && !w.value), oe = () => {
|
|
8930
8931
|
m.value = null, p.value = "", z.value = null, T.value = !1;
|
|
8931
8932
|
};
|
|
8932
|
-
|
|
8933
|
-
let t =
|
|
8933
|
+
K("Enter", (e) => {
|
|
8934
|
+
let t = de.value;
|
|
8934
8935
|
if (t) {
|
|
8935
|
-
e.preventDefault(),
|
|
8936
|
+
e.preventDefault(), he(t);
|
|
8936
8937
|
return;
|
|
8937
8938
|
}
|
|
8938
|
-
n.enableCustomOptionsInput && p.value.trim() &&
|
|
8939
|
-
}, { target: f }),
|
|
8940
|
-
|
|
8941
|
-
}, { target: f }),
|
|
8942
|
-
C.value && (C.value = !1,
|
|
8943
|
-
}, { target: f }),
|
|
8939
|
+
n.enableCustomOptionsInput && p.value.trim() && G();
|
|
8940
|
+
}, { target: f }), K(["ArrowDown", "ArrowUp"], (e) => {
|
|
8941
|
+
q.value.length !== 0 && (e.preventDefault(), C.value = !0, pe(e.key === "ArrowDown" ? 1 : -1));
|
|
8942
|
+
}, { target: f }), K("Escape", () => {
|
|
8943
|
+
C.value && (C.value = !1, J.value = -1);
|
|
8944
|
+
}, { target: f }), K("Backspace", () => {
|
|
8944
8945
|
if (p.value !== "") return;
|
|
8945
8946
|
let e = m.value?.queryTerms;
|
|
8946
8947
|
if (!e || e.length === 0) return;
|
|
@@ -8951,61 +8952,65 @@ var nl = "__pv_filter_panel_scoped_value__", rl = (e) => typeof e == "object" &&
|
|
|
8951
8952
|
queryTerm: t
|
|
8952
8953
|
}), m.value?.queryTerms.length === 0 && (m.value = null);
|
|
8953
8954
|
}, { target: f });
|
|
8954
|
-
let
|
|
8955
|
+
let G = () => {
|
|
8955
8956
|
p.value.trim() && (m.value = g(m.value, {
|
|
8956
8957
|
id: p.value.trim(),
|
|
8957
8958
|
text: p.value,
|
|
8958
8959
|
queryTerm: { queryText: p.value }
|
|
8959
|
-
}),
|
|
8960
|
-
},
|
|
8960
|
+
}), ve());
|
|
8961
|
+
}, se = (e) => {
|
|
8962
|
+
let t = e?.queryDisplayField || e?.queryField;
|
|
8963
|
+
if (t) return e?.exactMatch ? t : `Search in ${t}`;
|
|
8964
|
+
}, ce = r(() => {
|
|
8961
8965
|
if (!h.value || h.value.length === 0) return [];
|
|
8962
8966
|
let e = h.value;
|
|
8963
8967
|
return n.processor === "field-only" && (e = h.value.filter((e) => e.queryTerm?.queryField)), m.value && (e = e.filter((e) => !b(m.value, e))), e.map((e) => ({
|
|
8964
8968
|
...e,
|
|
8969
|
+
subText: e.subText ?? se(e.queryTerm),
|
|
8965
8970
|
searchText: p.value,
|
|
8966
8971
|
context: e.queryTerm
|
|
8967
8972
|
}));
|
|
8968
|
-
}),
|
|
8973
|
+
}), le = r(() => {
|
|
8969
8974
|
let e = /* @__PURE__ */ new Map();
|
|
8970
|
-
for (let t of
|
|
8975
|
+
for (let t of ce.value) {
|
|
8971
8976
|
let n = t.groupingLabel ?? "", r = e.get(n);
|
|
8972
8977
|
r ? r.push(t) : e.set(n, [t]);
|
|
8973
8978
|
}
|
|
8974
8979
|
return Array.from(e.entries());
|
|
8975
|
-
}),
|
|
8980
|
+
}), q = r(() => le.value.flatMap(([, e]) => e)), ue = r(() => new Map(q.value.map((e, t) => [e, t]))), J = k(-1), de = r(() => {
|
|
8976
8981
|
if (!C.value) return null;
|
|
8977
|
-
let e =
|
|
8982
|
+
let e = q.value[J.value] ?? null;
|
|
8978
8983
|
return e?.disabled ? null : e;
|
|
8979
|
-
}),
|
|
8984
|
+
}), fe = r(() => de.value ? ee(J.value) : void 0), Y = (e) => {
|
|
8980
8985
|
v(() => {
|
|
8981
8986
|
document.getElementById(ee(e))?.scrollIntoView?.({ block: "nearest" });
|
|
8982
8987
|
});
|
|
8983
|
-
},
|
|
8984
|
-
let t =
|
|
8988
|
+
}, pe = (e) => {
|
|
8989
|
+
let t = q.value, n = t.length;
|
|
8985
8990
|
if (n === 0) return;
|
|
8986
|
-
let r =
|
|
8991
|
+
let r = J.value === -1 ? e > 0 ? -1 : 0 : J.value;
|
|
8987
8992
|
for (let i = 1; i <= n; i++) {
|
|
8988
8993
|
let a = ((r + e * i) % n + n) % n;
|
|
8989
8994
|
if (!t[a].disabled) {
|
|
8990
|
-
|
|
8995
|
+
J.value = a, Y(a);
|
|
8991
8996
|
return;
|
|
8992
8997
|
}
|
|
8993
8998
|
}
|
|
8994
|
-
},
|
|
8995
|
-
e.disabled || (
|
|
8999
|
+
}, X = (e) => {
|
|
9000
|
+
e.disabled || (J.value = ue.value.get(e) ?? -1);
|
|
8996
9001
|
};
|
|
8997
|
-
U([
|
|
8998
|
-
|
|
9002
|
+
U([q, p], () => {
|
|
9003
|
+
J.value = -1;
|
|
8999
9004
|
}), U([
|
|
9000
|
-
|
|
9005
|
+
ce,
|
|
9001
9006
|
p,
|
|
9002
9007
|
() => n.optionsLoading
|
|
9003
9008
|
], ([e, t, n]) => {
|
|
9004
9009
|
t && t.length > 0 && (e.length > 0 || n || O.value) ? C.value = !0 : (!t || t.length === 0) && (C.value = !1);
|
|
9005
9010
|
}, { immediate: !0 });
|
|
9006
|
-
let
|
|
9007
|
-
n.enableCustomOptionsInput &&
|
|
9008
|
-
},
|
|
9011
|
+
let me = () => {
|
|
9012
|
+
n.enableCustomOptionsInput && G(), J.value = -1, C.value = !1, w.value = !1, T.value = !1;
|
|
9013
|
+
}, he = (e) => {
|
|
9009
9014
|
try {
|
|
9010
9015
|
let t = {
|
|
9011
9016
|
id: e.id,
|
|
@@ -9013,28 +9018,28 @@ var nl = "__pv_filter_panel_scoped_value__", rl = (e) => typeof e == "object" &&
|
|
|
9013
9018
|
queryTerm: e.context,
|
|
9014
9019
|
icon: e.icon
|
|
9015
9020
|
};
|
|
9016
|
-
m.value = g(m.value, t),
|
|
9021
|
+
m.value = g(m.value, t), ve();
|
|
9017
9022
|
} catch (e) {
|
|
9018
9023
|
console.error("Error adding query option:", e);
|
|
9019
9024
|
} finally {
|
|
9020
9025
|
C.value = !1, w.value = !1;
|
|
9021
9026
|
}
|
|
9022
9027
|
};
|
|
9023
|
-
function
|
|
9028
|
+
function ge(e) {
|
|
9024
9029
|
let t = e.target;
|
|
9025
9030
|
t.isContentEditable || t.closest("[contenteditable=\"true\"]") || t.tagName === "BUTTON" || t.tagName === "SVG" || t.closest("button") || f.value?.focus();
|
|
9026
9031
|
}
|
|
9027
|
-
function
|
|
9032
|
+
function _e(e) {
|
|
9028
9033
|
e.type === "focus" && (w.value = !0, C.value = !0);
|
|
9029
9034
|
}
|
|
9030
|
-
let
|
|
9035
|
+
let ve = () => {
|
|
9031
9036
|
p.value = "";
|
|
9032
9037
|
};
|
|
9033
9038
|
return (n, r) => ae((D(), o("div", {
|
|
9034
9039
|
ref: "query-builder-input",
|
|
9035
9040
|
class: y(["pv-relative pv-query-builder-input-wrapper", { "pv-query-builder-input-small": e.size === "lg" }]),
|
|
9036
|
-
onFocus:
|
|
9037
|
-
onClick:
|
|
9041
|
+
onFocus: _e,
|
|
9042
|
+
onClick: ge
|
|
9038
9043
|
}, [
|
|
9039
9044
|
e.hideSearchIcon ? a("", !0) : (D(), i(Hn, {
|
|
9040
9045
|
key: 0,
|
|
@@ -9065,46 +9070,48 @@ var nl = "__pv_filter_panel_scoped_value__", rl = (e) => typeof e == "object" &&
|
|
|
9065
9070
|
"aria-autocomplete": "list",
|
|
9066
9071
|
"aria-expanded": I.value && C.value,
|
|
9067
9072
|
"aria-controls": N,
|
|
9068
|
-
"aria-activedescendant":
|
|
9073
|
+
"aria-activedescendant": fe.value,
|
|
9069
9074
|
disabled: e.disabled,
|
|
9070
9075
|
placeholder: L.value,
|
|
9071
9076
|
"data-invalid": re.value ? "true" : void 0,
|
|
9072
9077
|
style: x(p.value ? "min-width: 8rem;" : void 0),
|
|
9073
|
-
onFocus:
|
|
9074
|
-
onBlur:
|
|
9078
|
+
onFocus: _e,
|
|
9079
|
+
onBlur: _e
|
|
9075
9080
|
}, null, 44, zl), [[H, p.value]])], 4),
|
|
9076
9081
|
m.value && !e.hideClearButton ? (D(), i(Kn, {
|
|
9077
9082
|
key: 1,
|
|
9078
9083
|
variant: "ghost",
|
|
9079
9084
|
leftIcon: "close",
|
|
9080
9085
|
size: "md",
|
|
9081
|
-
onClick:
|
|
9086
|
+
onClick: oe
|
|
9082
9087
|
})) : a("", !0),
|
|
9083
9088
|
re.value ? (D(), o("p", Bl, P(z.value), 1)) : a("", !0),
|
|
9084
9089
|
I.value ? ae((D(), i(No, {
|
|
9085
9090
|
key: 3,
|
|
9091
|
+
class: "pv-scrollbar-visible",
|
|
9086
9092
|
"css-custom-properties": d,
|
|
9087
9093
|
isList: !0,
|
|
9094
|
+
listClass: "pv-scrollbar-visible",
|
|
9088
9095
|
listId: N,
|
|
9089
9096
|
listRole: "listbox"
|
|
9090
9097
|
}, c({
|
|
9091
|
-
default: W(() => [e.optionsLoading ? (D(), o("div", Wl, [u(Dt, { variant: "dark" })])) : (D(), o(t, { key: 0 }, [
|
|
9098
|
+
default: W(() => [e.optionsLoading ? (D(), o("div", Wl, [u(Dt, { variant: "dark" })])) : (D(), o(t, { key: 0 }, [ce.value.length > 0 ? (D(!0), o(t, { key: 0 }, A(le.value, ([e, n], r) => (D(), o(t, { key: e }, [e ? (D(), o("li", {
|
|
9092
9099
|
key: 0,
|
|
9093
9100
|
id: F(r),
|
|
9094
9101
|
role: "presentation",
|
|
9095
9102
|
class: "pv-query-builder-group-label pv-text-body-xs pv-text-subdued"
|
|
9096
9103
|
}, P(e), 9, Vl)) : a("", !0), (D(!0), o(t, null, A(n, (t) => (D(), o("li", {
|
|
9097
9104
|
key: `${e}-${t.id}`,
|
|
9098
|
-
id: ee(
|
|
9105
|
+
id: ee(ue.value.get(t) ?? -1),
|
|
9099
9106
|
role: "option",
|
|
9100
|
-
"aria-selected": t ===
|
|
9107
|
+
"aria-selected": t === de.value,
|
|
9101
9108
|
"aria-describedby": e ? F(r) : void 0,
|
|
9102
|
-
class: y({ "pv-query-builder-option-active": t ===
|
|
9103
|
-
onMouseenter: (e) =>
|
|
9109
|
+
class: y({ "pv-query-builder-option-active": t === de.value }),
|
|
9110
|
+
onMouseenter: (e) => X(t)
|
|
9104
9111
|
}, [u(Ao, _({ ref_for: !0 }, t, {
|
|
9105
9112
|
config: l,
|
|
9106
9113
|
queryText: p.value,
|
|
9107
|
-
onHandleSelected: (e) =>
|
|
9114
|
+
onHandleSelected: (e) => he(t)
|
|
9108
9115
|
}), null, 16, ["queryText", "onHandleSelected"])], 42, Hl))), 128))], 64))), 128)) : n.$slots.empty ? (D(), o("li", Ul, [j(n.$slots, "empty", {}, void 0, !0)])) : a("", !0)], 64))]),
|
|
9109
9116
|
_: 2
|
|
9110
9117
|
}, [n.$slots.header ? {
|
|
@@ -9116,9 +9123,9 @@ var nl = "__pv_filter_panel_scoped_value__", rl = (e) => typeof e == "object" &&
|
|
|
9116
9123
|
fn: W(() => [j(n.$slots, "footer", {}, void 0, !0)]),
|
|
9117
9124
|
key: "1"
|
|
9118
9125
|
} : void 0]), 1536)), [[ie, C.value]]) : a("", !0)
|
|
9119
|
-
], 34)), [[R(Q),
|
|
9126
|
+
], 34)), [[R(Q), me]]);
|
|
9120
9127
|
}
|
|
9121
|
-
}), [["__scopeId", "data-v-
|
|
9128
|
+
}), [["__scopeId", "data-v-62aa7767"]]), Kl = Symbol.for("pv.rum-context"), ql = () => {
|
|
9122
9129
|
let e = m(Kl, void 0);
|
|
9123
9130
|
return () => {
|
|
9124
9131
|
let t = e?.value;
|
|
@@ -9930,20 +9937,20 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
9930
9937
|
}, ae = (e) => {
|
|
9931
9938
|
let t = M.value[e] ?? 0;
|
|
9932
9939
|
M.value[e] = t + 1, j.value.add(e);
|
|
9933
|
-
},
|
|
9940
|
+
}, oe = (e) => {
|
|
9934
9941
|
let t = M.value[e] ?? 0;
|
|
9935
9942
|
if (t <= 1) {
|
|
9936
9943
|
delete M.value[e], j.value.delete(e);
|
|
9937
9944
|
return;
|
|
9938
9945
|
}
|
|
9939
9946
|
M.value[e] = t - 1;
|
|
9940
|
-
},
|
|
9941
|
-
let n = t ?
|
|
9947
|
+
}, G = /* @__PURE__ */ new Set(), se = /* @__PURE__ */ new Set(), ce = (e, t = !1) => {
|
|
9948
|
+
let n = t ? se : G;
|
|
9942
9949
|
e.forEach((e) => n.add(e));
|
|
9943
|
-
}, ce = () => {
|
|
9944
|
-
oe.forEach((e) => K.add(e)), oe.clear();
|
|
9945
9950
|
}, le = () => {
|
|
9946
|
-
|
|
9951
|
+
se.forEach((e) => G.add(e)), se.clear();
|
|
9952
|
+
}, K = () => {
|
|
9953
|
+
se.clear();
|
|
9947
9954
|
}, q = (e) => {
|
|
9948
9955
|
let t = new Set(e);
|
|
9949
9956
|
for (let n of e) {
|
|
@@ -9991,7 +9998,7 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
9991
9998
|
};
|
|
9992
9999
|
return pe(n, (e, t) => {
|
|
9993
10000
|
let n = ye(e, t);
|
|
9994
|
-
|
|
10001
|
+
G.forEach((e) => n.add(e)), G.clear(), n.size > 0 && q(n);
|
|
9995
10002
|
}, {
|
|
9996
10003
|
deep: !0,
|
|
9997
10004
|
debounce: 200,
|
|
@@ -10031,14 +10038,14 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
10031
10038
|
stageFilterChangesUntilDropdownCloses: D,
|
|
10032
10039
|
filterSearchMinLength: O,
|
|
10033
10040
|
markOtherFieldsStale: q,
|
|
10034
|
-
noteFilterModelChange:
|
|
10035
|
-
commitStagedFilterModelChanges:
|
|
10036
|
-
clearStagedFilterModelChanges:
|
|
10041
|
+
noteFilterModelChange: ce,
|
|
10042
|
+
commitStagedFilterModelChanges: le,
|
|
10043
|
+
clearStagedFilterModelChanges: K,
|
|
10037
10044
|
aggregateFieldMap: A,
|
|
10038
10045
|
registerAggregateField: W,
|
|
10039
10046
|
registeredFilterFields: j,
|
|
10040
10047
|
registerFilterField: ae,
|
|
10041
|
-
unregisterFilterField:
|
|
10048
|
+
unregisterFilterField: oe,
|
|
10042
10049
|
stagedSelectedValuesMap: N,
|
|
10043
10050
|
initStagedSelectedValues: ue,
|
|
10044
10051
|
clearStagedSelectedValues: J,
|
|
@@ -10073,16 +10080,16 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
10073
10080
|
return [...n, ...i];
|
|
10074
10081
|
}
|
|
10075
10082
|
return Be(e);
|
|
10076
|
-
}),
|
|
10083
|
+
}), oe = r(() => _.value[J.value] ?? !1), G = r(() => A.value || $(t.value).prefetchFilterValues === !0), se = r(() => (o?.value ?? !1) && (s?.value ?? !1) && W.value.length === 0 && Ne.value.length === 0), ce = r(() => o?.value ?? !1), le = r(() => ce.value && (s?.value ?? !1)), K = r({
|
|
10077
10084
|
get: () => R.value[J.value] ?? "",
|
|
10078
10085
|
set: (e) => S(J.value, e)
|
|
10079
10086
|
}), q = r(() => $(t.value).filterSearchMinLength ?? M.value), ue = r(() => {
|
|
10080
|
-
let e = q.value ?? 0, t =
|
|
10087
|
+
let e = q.value ?? 0, t = K.value?.length ?? 0;
|
|
10081
10088
|
return e > 0 && t > 0 && t < e;
|
|
10082
10089
|
}), J = r(() => t.value.field || ""), de = r(() => t.value.filter || ""), fe = r(() => t.value.headerName || ""), Y = r(() => n?.value === "vertical"), X = k(!1), me = k(!1), he = k([]), ge = r(() => ys(t.value)), _e = r(() => bs(t.value)), ve = r(() => xs(t.value)), ye = r(() => $(t.value).filterOptionsSortDescription), be = r(() => $(t.value).filterOptionsSortTooltip), xe = r(() => {
|
|
10083
10090
|
let e = $(t.value).filterSearch;
|
|
10084
10091
|
return typeof e == "boolean" ? e : $(t.value).dataType !== ps.Boolean;
|
|
10085
|
-
}), Se = r(() => $(t.value).emptyFilterResultsRenderer), Ce = r(() => $(t.value).filterOptionsLoadingText), we = r(() => $(t.value).filterOptionsRenderer), Te = r(() => $(t.value).filterHeaderRenderer), Ee = r(() => $(t.value).filterFooterRenderer), De = r(() => _e.value ? W.value.length >= _e.value : !1), Oe = r(() => ae.value.filter((e) => e != null && !W.value.includes(e))), ke = r(() =>
|
|
10092
|
+
}), Se = r(() => $(t.value).emptyFilterResultsRenderer), Ce = r(() => $(t.value).filterOptionsLoadingText), we = r(() => $(t.value).filterOptionsRenderer), Te = r(() => $(t.value).filterHeaderRenderer), Ee = r(() => $(t.value).filterFooterRenderer), De = r(() => _e.value ? W.value.length >= _e.value : !1), Oe = r(() => ae.value.filter((e) => e != null && !W.value.includes(e))), ke = r(() => ce.value ? void 0 : te.value[J.value]), Ae = r(() => ce.value ? !1 : z.value[J.value]), Z = r(() => Ds(t.value)), je = () => new Set([J.value, ...Ts(t.value)]), Me = (e, t) => {
|
|
10086
10093
|
let n = new Set(e), r = new Set(t);
|
|
10087
10094
|
return n.size === r.size ? [...n].every((e) => r.has(e)) : !1;
|
|
10088
10095
|
}, Ne = k([]), Pe = k("[]"), Fe = r(() => ae.value.length === 1 && ae.value[0] === null && W.value.length === 0), Ie = (e = !1) => {
|
|
@@ -10272,7 +10279,7 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
10272
10279
|
colDef: t.value,
|
|
10273
10280
|
field: J.value,
|
|
10274
10281
|
filterModel: p.value ?? void 0,
|
|
10275
|
-
query:
|
|
10282
|
+
query: K.value || void 0,
|
|
10276
10283
|
offset: r,
|
|
10277
10284
|
parentId: i,
|
|
10278
10285
|
reason: "child-load-more"
|
|
@@ -10302,7 +10309,7 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
10302
10309
|
return e.filter((t, n) => e.indexOf(t) === n).filter((e) => e != null && e !== "").filter((e) => !Ye(e)).map(ft);
|
|
10303
10310
|
}), mt = (e) => {
|
|
10304
10311
|
let t = e.children;
|
|
10305
|
-
t?.length && (t = t.filter((t) => !
|
|
10312
|
+
t?.length && (t = t.filter((t) => !le.value || ze(t, e.id)).map((e) => mt(e)));
|
|
10306
10313
|
let n = (e.children ?? []).some((t) => ze(t, e.id));
|
|
10307
10314
|
return {
|
|
10308
10315
|
...e,
|
|
@@ -10314,7 +10321,7 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
10314
10321
|
};
|
|
10315
10322
|
}, ht = (e) => Z.value ? ze(e, null) : W.value.includes(e.id), gt = r(() => {
|
|
10316
10323
|
let e = pt.value;
|
|
10317
|
-
return
|
|
10324
|
+
return ce.value ? e.filter((e) => !le.value || ht(e)).map((e) => mt(e)) : e;
|
|
10318
10325
|
}), _t = r({
|
|
10319
10326
|
get: () => Z.value ? [] : W.value.map((e) => {
|
|
10320
10327
|
let t = y(J.value, e), n = Ue(t), r = n ? Ze(n) : void 0;
|
|
@@ -10458,7 +10465,7 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
10458
10465
|
});
|
|
10459
10466
|
}, bt = r(() => Y.value ? "all_filters_drawer" : "horizontal"), xt = !1, St = (e, t) => {
|
|
10460
10467
|
xt = !0;
|
|
10461
|
-
let n =
|
|
10468
|
+
let n = K.value || "";
|
|
10462
10469
|
Yl(() => {
|
|
10463
10470
|
Jl("filter_bulk_action", {
|
|
10464
10471
|
filter_name: fe.value,
|
|
@@ -10479,7 +10486,7 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
10479
10486
|
source: n,
|
|
10480
10487
|
current_selection_count: r,
|
|
10481
10488
|
location: bt.value,
|
|
10482
|
-
search_query:
|
|
10489
|
+
search_query: K.value || ""
|
|
10483
10490
|
}, c());
|
|
10484
10491
|
}, Tt = (e) => {
|
|
10485
10492
|
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Map();
|
|
@@ -10543,7 +10550,7 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
10543
10550
|
}, At = () => {
|
|
10544
10551
|
he.value = Be(w(J.value)), X.value = !0;
|
|
10545
10552
|
}, jt = () => {
|
|
10546
|
-
X.value = !1, he.value = [],
|
|
10553
|
+
X.value = !1, he.value = [], K.value = "", xt = !1, !o?.value && j.value && !Y.value && (Z.value ? Pt(Ne.value, { skipIfUnchanged: !0 }) : yt(void 0, void 0, { skipIfUnchanged: !0 }));
|
|
10547
10554
|
}, Mt = async (e) => {
|
|
10548
10555
|
if (!l.value) return;
|
|
10549
10556
|
let n = ae.value.length, r = !e.parentId;
|
|
@@ -10596,7 +10603,7 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
10596
10603
|
U(Ne, (e) => {
|
|
10597
10604
|
Z.value && (ut(e), !(j.value && !Y.value) && Pt(e));
|
|
10598
10605
|
}, { deep: !0 }), U(() => O.value[J.value], (e) => {
|
|
10599
|
-
!e || X.value ||
|
|
10606
|
+
!e || X.value || se.value || G.value && Ve(!0);
|
|
10600
10607
|
}), U(() => h.value, () => {
|
|
10601
10608
|
if (Y.value) {
|
|
10602
10609
|
if (ie.value) {
|
|
@@ -10631,10 +10638,10 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
10631
10638
|
}), U(() => l.value, (e) => {
|
|
10632
10639
|
e && x.value && !X.value && (O.value[J.value] = !0);
|
|
10633
10640
|
}, { immediate: !0 }), U(() => H.value, async () => {
|
|
10634
|
-
|
|
10641
|
+
G.value && !se.value && !X.value && (Y.value ? setTimeout(async () => {
|
|
10635
10642
|
X.value || await Ve(!0);
|
|
10636
10643
|
}, 2e3) : await Ve(!0)), Ie();
|
|
10637
|
-
}), pe(() =>
|
|
10644
|
+
}), pe(() => K.value, async () => {
|
|
10638
10645
|
if (X.value) {
|
|
10639
10646
|
if (ue.value) {
|
|
10640
10647
|
f(J.value);
|
|
@@ -10657,20 +10664,20 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
10657
10664
|
}, c());
|
|
10658
10665
|
});
|
|
10659
10666
|
}, Bt = null;
|
|
10660
|
-
return pe(() =>
|
|
10661
|
-
if (!e ||
|
|
10667
|
+
return pe(() => K.value, (e) => {
|
|
10668
|
+
if (!e || K.value !== e || ue.value) {
|
|
10662
10669
|
Bt = null;
|
|
10663
10670
|
return;
|
|
10664
10671
|
}
|
|
10665
|
-
if (
|
|
10672
|
+
if (oe.value) {
|
|
10666
10673
|
Bt = e;
|
|
10667
10674
|
return;
|
|
10668
10675
|
}
|
|
10669
10676
|
zt(e);
|
|
10670
|
-
}, { debounce: 500 }), U(() =>
|
|
10677
|
+
}, { debounce: 500 }), U(() => oe.value, (e) => {
|
|
10671
10678
|
if (e || Bt == null) return;
|
|
10672
10679
|
let t = Bt;
|
|
10673
|
-
Bt = null,
|
|
10680
|
+
Bt = null, K.value === t && zt(t);
|
|
10674
10681
|
}), T(() => {
|
|
10675
10682
|
P(J.value);
|
|
10676
10683
|
let e = Ts(t.value);
|
|
@@ -10687,9 +10694,9 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
10687
10694
|
}), {
|
|
10688
10695
|
selectedValues: W,
|
|
10689
10696
|
filterValues: ae,
|
|
10690
|
-
isLoading:
|
|
10697
|
+
isLoading: oe,
|
|
10691
10698
|
isSeeMoreLoading: me,
|
|
10692
|
-
filterSearchText:
|
|
10699
|
+
filterSearchText: K,
|
|
10693
10700
|
filterSearchMinLength: q,
|
|
10694
10701
|
belowFilterSearchMinLength: ue,
|
|
10695
10702
|
rowsLoading: re,
|
|
@@ -11026,7 +11033,7 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
11026
11033
|
"handle-settings-icon"
|
|
11027
11034
|
],
|
|
11028
11035
|
setup(e, { emit: n }) {
|
|
11029
|
-
let d = e, f = n, g = k(null), x = r(() => g.value?.selectedValues ?? /* @__PURE__ */ new Set()), S = r(() => g.value?.selectedValues.size ?? 0), { selectedValues: C, isLoading: w, isSeeMoreLoading: T, filterSearchText: E, filterSearchMinLength: O, belowFilterSearchMinLength: j, rowsLoading: M, gridApi: ee, filterField: F, filterDisplayName: I, isInFilterPanel: z, isSingleSelect: te, suggestedValues: B, displayedFilterValues: ne, selectedFilterValues: V, showSearchBar: re, filterSearchPlaceholder: H, emptyFilterResultsRenderer: ie, filterOptionsLoadingText: U, filterOptionsRenderer: ae, filterHeaderRenderer:
|
|
11036
|
+
let d = e, f = n, g = k(null), x = r(() => g.value?.selectedValues ?? /* @__PURE__ */ new Set()), S = r(() => g.value?.selectedValues.size ?? 0), { selectedValues: C, isLoading: w, isSeeMoreLoading: T, filterSearchText: E, filterSearchMinLength: O, belowFilterSearchMinLength: j, rowsLoading: M, gridApi: ee, filterField: F, filterDisplayName: I, isInFilterPanel: z, isSingleSelect: te, suggestedValues: B, displayedFilterValues: ne, selectedFilterValues: V, showSearchBar: re, filterSearchPlaceholder: H, emptyFilterResultsRenderer: ie, filterOptionsLoadingText: U, filterOptionsRenderer: ae, filterHeaderRenderer: oe, filterFooterRenderer: G, filterOptionsSortDescription: se, filterOptionsSortTooltip: ce, filterValueContext: le, formatDisplayValue: K, resolvedFilterValueContext: q, isUnresolvedMetadataValue: ue, getLatestFilterValues: J, addSelectedValue: de, removeSelectedValue: fe, recordBulkAction: Y, rumLocation: pe, handleDropdownOpen: X, handleDropdownClosed: me, handleSeeMore: he, getColDisplayNameForField: ge, hasMoreOptions: _e, totalOptionCount: ve, isAggregate: ye, cascadeSelectionState: be, cascadeSelectionStateModel: xe } = Gd({
|
|
11030
11037
|
filterColDef: L(d, "filterColDef"),
|
|
11031
11038
|
filterStyle: L(d, "filterStyle"),
|
|
11032
11039
|
onSelectionChanged: () => f("filter-selection-changed"),
|
|
@@ -11105,7 +11112,7 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
11105
11112
|
return we(Ae(e), t);
|
|
11106
11113
|
}, ze = r(() => S.value > 0 ? !0 : ye.value ? be.value.length > 0 : C.value.length > 0);
|
|
11107
11114
|
return (n, r) => (D(), o(t, null, [s("div", null, [R(z) && R(C).length > 0 ? (D(), o("ul", Qd, [(D(!0), o(t, null, A(R(C), (n) => (D(), o(t, { key: `${R(I)}-${n}` }, [R(ue)(n) ? a("", !0) : (D(), o("li", $d, [u(_c, {
|
|
11108
|
-
label: R(
|
|
11115
|
+
label: R(K)(n) || "",
|
|
11109
11116
|
showClear: !e.readOnly && (!Re(n) || R(De)()),
|
|
11110
11117
|
disabled: e.readOnly,
|
|
11111
11118
|
onHandleClose: (e) => Z(n)
|
|
@@ -11189,16 +11196,16 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
11189
11196
|
"use-teleport": !0,
|
|
11190
11197
|
style: { "--max-width": "200px" }
|
|
11191
11198
|
}, c({
|
|
11192
|
-
trigger: W(() => [s("p", { class: y(["pv-text-subdued pv-text-body-xxs", R(
|
|
11199
|
+
trigger: W(() => [s("p", { class: y(["pv-text-subdued pv-text-body-xxs", R(ce) ? "suggested-title-label" : ""]) }, P(R(se)), 3)]),
|
|
11193
11200
|
_: 2
|
|
11194
|
-
}, [R(
|
|
11201
|
+
}, [R(ce) ? {
|
|
11195
11202
|
name: "content",
|
|
11196
|
-
fn: W(() => [l(P(R(
|
|
11203
|
+
fn: W(() => [l(P(R(ce)), 1)]),
|
|
11197
11204
|
key: "0"
|
|
11198
11205
|
} : void 0]), 1024)])]),
|
|
11199
11206
|
_: 2
|
|
11200
11207
|
}, [
|
|
11201
|
-
R(
|
|
11208
|
+
R(oe) || Me.value || R(j) ? {
|
|
11202
11209
|
name: "header",
|
|
11203
11210
|
fn: W((t) => [
|
|
11204
11211
|
R(j) ? (D(), o("p", ef, " Type " + P(R(O)) + " or more characters to search ", 1)) : a("", !0),
|
|
@@ -11209,7 +11216,7 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
11209
11216
|
class: "pv-stack-8",
|
|
11210
11217
|
"filter-col-def": e.filterColDef
|
|
11211
11218
|
}, null, 8, ["filter-col-def"])) : a("", !0),
|
|
11212
|
-
R(
|
|
11219
|
+
R(oe) ? (D(), i(N(R(oe)), b(_({ key: 2 }, t)), null, 16)) : a("", !0)
|
|
11213
11220
|
]),
|
|
11214
11221
|
key: "0"
|
|
11215
11222
|
} : void 0,
|
|
@@ -11218,9 +11225,9 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
11218
11225
|
fn: W((e) => [(D(), i(N(R(ie)), b(p(e)), null, 16))]),
|
|
11219
11226
|
key: "1"
|
|
11220
11227
|
} : void 0,
|
|
11221
|
-
R(
|
|
11228
|
+
R(G) ? {
|
|
11222
11229
|
name: "footer",
|
|
11223
|
-
fn: W((e) => [(D(), i(N(R(
|
|
11230
|
+
fn: W((e) => [(D(), i(N(R(G)), b(p(e)), null, 16))]),
|
|
11224
11231
|
key: "2"
|
|
11225
11232
|
} : void 0
|
|
11226
11233
|
]), 1032, /* @__PURE__ */ "modelValue.disabled.searchInput.selectionState.data-horizontal-filter-field.label.rumFilterName.icon.variant.counterPosition.singleSelect.menuActionsVariant.disableSearchInput.searchPlaceholder.overlayTrigger.options.optionsRenderer.optionsAction.popoverCssProperties.disableClearIcon.disableDropdownIcon.isLoading.loadingText.isSeeMoreLoading.hasMoreOptions.totalOptionCount.enableCascadeSelection.enableChildExpansion.parentSelectsAllChildren.countSelectedParents.additionalCounter.slotContext.onSeeMore".split("."))]), R(z) && !e.readOnly ? (D(), o("div", rf, [R(B).length > 0 ? (D(), o("div", af, [s("ul", of, [u(R(aa), {
|
|
@@ -11231,11 +11238,11 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
11231
11238
|
"use-teleport": !0,
|
|
11232
11239
|
style: { "--max-width": "200px" }
|
|
11233
11240
|
}, c({
|
|
11234
|
-
trigger: W(() => [s("li", sf, [s("p", { class: y(["pv-text-subdued pv-text-body-md", R(
|
|
11241
|
+
trigger: W(() => [s("li", sf, [s("p", { class: y(["pv-text-subdued pv-text-body-md", R(ce) ? "suggested-title-label" : ""]) }, " Suggested: ", 2)])]),
|
|
11235
11242
|
_: 2
|
|
11236
|
-
}, [R(
|
|
11243
|
+
}, [R(ce) ? {
|
|
11237
11244
|
name: "content",
|
|
11238
|
-
fn: W(() => [l(P(R(
|
|
11245
|
+
fn: W(() => [l(P(R(ce)), 1)]),
|
|
11239
11246
|
key: "0"
|
|
11240
11247
|
} : void 0]), 1024), (D(!0), o(t, null, A(R(B).filter((e) => e !== "" && e != null).slice(0, cf), (e) => (D(), o("li", {
|
|
11241
11248
|
key: `${R(I)}-${e}-suggest`,
|
|
@@ -11246,8 +11253,8 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
11246
11253
|
}
|
|
11247
11254
|
}, [u(R(Dc), {
|
|
11248
11255
|
disabled: R(w),
|
|
11249
|
-
label: R(
|
|
11250
|
-
onHandleClick: (t) => R(de)(e, R(
|
|
11256
|
+
label: R(K)(e) || "",
|
|
11257
|
+
onHandleClick: (t) => R(de)(e, R(le)(R(F), e)?.colField)
|
|
11251
11258
|
}, null, 8, [
|
|
11252
11259
|
"disabled",
|
|
11253
11260
|
"label",
|
|
@@ -11354,12 +11361,12 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
11354
11361
|
}
|
|
11355
11362
|
}, { clearAllFocuses: U } = Hu(), ae = () => {
|
|
11356
11363
|
n.value && (C(), g.value = null, f.value ? n.value.setAdvancedFilterModel(null) : (n.value.setFilterModel(null), n.value.onFilterChanged()), h.value += 1, U(), j.value = !1);
|
|
11357
|
-
}, G = () => {
|
|
11358
|
-
O.value = !1, M.value = "";
|
|
11359
|
-
}, K = () => {
|
|
11360
|
-
b(), C(), g.value = null, G();
|
|
11361
11364
|
}, oe = () => {
|
|
11362
|
-
|
|
11365
|
+
O.value = !1, M.value = "";
|
|
11366
|
+
}, G = () => {
|
|
11367
|
+
b(), C(), g.value = null, oe();
|
|
11368
|
+
}, se = () => {
|
|
11369
|
+
b(), re.value && n.value && (S(), f.value ? n.value.setAdvancedFilterModel(g.value) : (n.value.setFilterModel(g.value), n.value.onFilterChanged())), g.value = null, oe();
|
|
11363
11370
|
};
|
|
11364
11371
|
return (r, c) => (D(), o(t, null, [s("div", {
|
|
11365
11372
|
class: "pv-flex",
|
|
@@ -11413,7 +11420,7 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
11413
11420
|
"onUpdate:modelValue": c[9] ||= (e) => O.value = e,
|
|
11414
11421
|
class: "pv-drawer pv-surface",
|
|
11415
11422
|
"close-on-click-outside": !0,
|
|
11416
|
-
onClickOutside: c[10] ||= (e) =>
|
|
11423
|
+
onClickOutside: c[10] ||= (e) => se(),
|
|
11417
11424
|
style: {
|
|
11418
11425
|
"max-width": "450px",
|
|
11419
11426
|
"z-index": "10"
|
|
@@ -11422,7 +11429,7 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
11422
11429
|
header: W(() => [s("div", uf, [s("p", df, "All Filters (" + P(z.value.length) + ")", 1), s("button", {
|
|
11423
11430
|
class: "pv-button-ghost",
|
|
11424
11431
|
"aria-label": "Close",
|
|
11425
|
-
onClick: c[2] ||= (e) =>
|
|
11432
|
+
onClick: c[2] ||= (e) => G()
|
|
11426
11433
|
}, [u(R(Hn), { name: "close" })])]), u(R(Da), {
|
|
11427
11434
|
modelValue: M.value,
|
|
11428
11435
|
"onUpdate:modelValue": c[3] ||= (e) => M.value = e,
|
|
@@ -11432,7 +11439,7 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
11432
11439
|
key: 1,
|
|
11433
11440
|
variant: "ghost",
|
|
11434
11441
|
label: "Close",
|
|
11435
|
-
onClick: c[8] ||= (e) =>
|
|
11442
|
+
onClick: c[8] ||= (e) => G()
|
|
11436
11443
|
})) : (D(), o(t, { key: 0 }, [s("button", {
|
|
11437
11444
|
class: "pv-button-ghost",
|
|
11438
11445
|
"data-dd-action-name": "Clear all page filters",
|
|
@@ -11441,13 +11448,13 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
11441
11448
|
variant: "ghost",
|
|
11442
11449
|
label: "Cancel",
|
|
11443
11450
|
"data-dd-action-name": "Cancel filter changes",
|
|
11444
|
-
onClick: c[6] ||= (e) =>
|
|
11451
|
+
onClick: c[6] ||= (e) => G()
|
|
11445
11452
|
}), re.value ? (D(), i(R(Kn), {
|
|
11446
11453
|
key: 0,
|
|
11447
11454
|
variant: "primary",
|
|
11448
11455
|
label: "Apply",
|
|
11449
11456
|
"data-dd-action-name": "Apply filters",
|
|
11450
|
-
onClick: c[7] ||= (e) =>
|
|
11457
|
+
onClick: c[7] ||= (e) => se()
|
|
11451
11458
|
})) : (D(), i(R(Kn), {
|
|
11452
11459
|
key: 1,
|
|
11453
11460
|
variant: "primary",
|
|
@@ -11599,7 +11606,7 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
11599
11606
|
icon: h.value || void 0,
|
|
11600
11607
|
label: p.value || "",
|
|
11601
11608
|
staticLabel: !0,
|
|
11602
|
-
onClick: t[1] ||=
|
|
11609
|
+
onClick: t[1] ||= G(() => {}, ["stop"])
|
|
11603
11610
|
}, null, 8, [
|
|
11604
11611
|
"modelValue",
|
|
11605
11612
|
"options",
|
|
@@ -11621,7 +11628,7 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
11621
11628
|
size: 12,
|
|
11622
11629
|
name: "info-circle",
|
|
11623
11630
|
class: "pv-text-subdued",
|
|
11624
|
-
onClick: t[2] ||=
|
|
11631
|
+
onClick: t[2] ||= G(() => {}, ["stop"])
|
|
11625
11632
|
})]),
|
|
11626
11633
|
content: W(() => [s("div", Sf, P(g.value), 1)]),
|
|
11627
11634
|
_: 1
|
|
@@ -11640,7 +11647,7 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
11640
11647
|
variant: "ghost",
|
|
11641
11648
|
"left-icon": "menu",
|
|
11642
11649
|
ariaLabel: "Column menu",
|
|
11643
|
-
onClick:
|
|
11650
|
+
onClick: G(L, ["stop", "prevent"])
|
|
11644
11651
|
})], 4)])) : a("", !0)], 6));
|
|
11645
11652
|
}
|
|
11646
11653
|
}), [["__scopeId", "data-v-ec17105d"]]), Tf = {
|
|
@@ -11729,7 +11736,7 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
11729
11736
|
class: "pv-icon-24"
|
|
11730
11737
|
}, [s("title", null, "ellipsis"), s("use", { "xlink:href": "#ellipsis" })])], -1), s("div", Af, [s("button", {
|
|
11731
11738
|
class: "pv-button pv-text-body-sm pv-inset-square-8",
|
|
11732
|
-
onClick:
|
|
11739
|
+
onClick: G(i, ["prevent"]),
|
|
11733
11740
|
disabled: r.value
|
|
11734
11741
|
}, [r.value ? (D(), o(t, { key: 0 }, [l("Exporting...")], 64)) : (D(), o(t, { key: 1 }, [l("Download CSV")], 64))], 8, jf)])]));
|
|
11735
11742
|
}
|
|
@@ -12140,11 +12147,11 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
12140
12147
|
return Array.from(new Set([
|
|
12141
12148
|
...t,
|
|
12142
12149
|
...n?.queryColIds || [],
|
|
12143
|
-
...t.flatMap((e) =>
|
|
12150
|
+
...t.flatMap((e) => G.find((t) => t.field === e || t.colId === e)?.context?.queryColIds || [])
|
|
12144
12151
|
]));
|
|
12145
12152
|
}, F = (e, t) => {
|
|
12146
12153
|
if (hd(e, t)) return !0;
|
|
12147
|
-
let n =
|
|
12154
|
+
let n = G.find((e) => Es(e) === t);
|
|
12148
12155
|
return !!n && N(n).some((t) => hd(e, t));
|
|
12149
12156
|
}, L = "serverSideRowHandler" in f && f.serverSideRowHandler ? { getRows: (e) => {
|
|
12150
12157
|
if (!fe.value) {
|
|
@@ -12215,7 +12222,7 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
12215
12222
|
} : e.request.filterModel = s;
|
|
12216
12223
|
} else {
|
|
12217
12224
|
let t = e.request.filterModel;
|
|
12218
|
-
e.request.filterModel = gd(
|
|
12225
|
+
e.request.filterModel = gd(G, t, s);
|
|
12219
12226
|
}
|
|
12220
12227
|
e.success = (e) => {
|
|
12221
12228
|
if (J.value = !1, f.enableFocusView && mt.value.length > 0 && pt.value && e.rowData) {
|
|
@@ -12231,7 +12238,7 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
12231
12238
|
}, f.serverSideRowHandler?.(e);
|
|
12232
12239
|
} } : null, z = "filterValuesSetHandler" in f && f.filterValuesSetHandler ? async (e) => {
|
|
12233
12240
|
let t = [], n = { ...rt.value };
|
|
12234
|
-
t = !ue.value &&
|
|
12241
|
+
t = !ue.value && le ? Md(n, e.colDef.field ?? e.colDef.colId ?? "") || [] : await lt(e.colDef, {
|
|
12235
12242
|
api: e.api,
|
|
12236
12243
|
filterModel: n,
|
|
12237
12244
|
useStaged: !1
|
|
@@ -12280,12 +12287,12 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
12280
12287
|
let t = e.column?.getColId();
|
|
12281
12288
|
if (e.column && Et(e.column) && (t = vt.value?.getColId() || ""), !Kt(t)) {
|
|
12282
12289
|
let n = e.api.getColumn(t)?.getColDef();
|
|
12283
|
-
n && (
|
|
12290
|
+
n && (K.value = n, v(() => {
|
|
12284
12291
|
Kt(t);
|
|
12285
12292
|
}));
|
|
12286
12293
|
}
|
|
12287
12294
|
}
|
|
12288
|
-
}, H = (e) => !e.node?.group && e.data != null && e.value != null && e.value !== "",
|
|
12295
|
+
}, H = (e) => !e.node?.group && e.data != null && e.value != null && e.value !== "", oe = (e, t) => {
|
|
12289
12296
|
if (!e) return null;
|
|
12290
12297
|
let n = { ...e }, r = t, i = Ts(e);
|
|
12291
12298
|
if (r.devOnly) if (f.devMode) n.hide = !0;
|
|
@@ -12302,16 +12309,16 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
12302
12309
|
n.headerValueGetter = (e) => e.location === "advancedFilter" ? n.colId || n.field || "" : t && typeof t == "function" ? t(e) : t && typeof t == "string" ? t : n.headerName || n.field || "";
|
|
12303
12310
|
}
|
|
12304
12311
|
return r.isArrayField && !e.valueFormatter ? n.valueFormatter = (e) => Pt(e, r.dataType) : r.dataType === ps.Percent && !e.valueFormatter ? n.valueFormatter = (e) => Mt(e, r.valueDecimals || 0) : r.dataType === ps.Currency && !e.valueFormatter ? n.valueFormatter = (e) => jt(e, r.valueDecimals || 0) : r.dataType === ps.Integer && !e.valueFormatter ? n.valueFormatter = Nt : r.dataType === ps.Tag && !e.cellRenderer && (n.cellRenderer = Ff), n;
|
|
12305
|
-
},
|
|
12312
|
+
}, G = f.colDefs?.map((e) => {
|
|
12306
12313
|
let t = { ...e };
|
|
12307
12314
|
L && z && _d(e) && (t = vd(e, z));
|
|
12308
12315
|
let n = e.context;
|
|
12309
|
-
return n && (t =
|
|
12310
|
-
}).filter((e) => e != null) || [],
|
|
12311
|
-
for (let e of
|
|
12312
|
-
let
|
|
12316
|
+
return n && (t = oe(t, n)), t;
|
|
12317
|
+
}).filter((e) => e != null) || [], se = new Set(f.colDefs?.map((e) => e.field || e.colId).filter(Boolean) || []);
|
|
12318
|
+
for (let e of G) for (let t of Ts(e)) se.has(t) || console.warn(`aggregate field hierarchy references "${t}" on column "${e.field || e.colId}", but no colDef with that field exists.`);
|
|
12319
|
+
let ce = G.some((e) => e.context?.visibilityState !== void 0), le = ud(f.initialGridState, G, f.enableAdvancedFilter), K = k(null), q = k([]), ue = m(su, k(!1)), J = k(!1), de = r(() => {
|
|
12313
12320
|
if (q.value.length > 0) {
|
|
12314
|
-
let e = q.value[0], t =
|
|
12321
|
+
let e = q.value[0], t = G.find((t) => t.field === e), n = rt.value, r = !n;
|
|
12315
12322
|
if (!r && Rd(n) && (r = !n[e]), r && t?.context?.filterRequiredToGroup) return t.headerName;
|
|
12316
12323
|
}
|
|
12317
12324
|
return null;
|
|
@@ -12343,8 +12350,8 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
12343
12350
|
deep: !0,
|
|
12344
12351
|
debounce: 250
|
|
12345
12352
|
});
|
|
12346
|
-
let ft = k(null), pt = r(() => nt?.computedFocusType.value || null), mt = r(() => nt?.computedFocuses.value || []), ht = r(() =>
|
|
12347
|
-
O(Xl, Q), O(Zl, nt), O(Ql, Ie), O($l, X), O(eu, ft), O(tu,
|
|
12353
|
+
let ft = k(null), pt = r(() => nt?.computedFocusType.value || null), mt = r(() => nt?.computedFocuses.value || []), ht = r(() => G.filter((e) => e.filter)), gt = r(() => G.filter((e) => e.enableRowGroup)), _t = r(() => G.filter((e) => e.aggFunc)), vt = k(null), yt = k({}), bt = k(1), xt = k(0);
|
|
12354
|
+
O(Xl, Q), O(Zl, nt), O(Ql, Ie), O($l, X), O(eu, ft), O(tu, K), O(nu, ht), O(ru, gt), O(iu, q), O(au, vt), O(ou, yt), O(su, ue), O(cu, J), O(lu, bt), O(uu, xt), O(Cu, r(() => f.enableAdvancedFilter));
|
|
12348
12355
|
let St = r(() => !f.enableFocusView && !f.rowData || f.enableFocusView && !mt.value.length && !pt.value ? f.rowData : vs(f.rowData, pt.value, mt.value));
|
|
12349
12356
|
U(() => mt.value, (e) => {
|
|
12350
12357
|
A("focus-update", {
|
|
@@ -12353,17 +12360,17 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
12353
12360
|
});
|
|
12354
12361
|
}), U(M, (e) => {
|
|
12355
12362
|
if (!X.value) return;
|
|
12356
|
-
let t =
|
|
12363
|
+
let t = G.filter((e) => e.context?.devOnly).map((e) => e.field).filter(Boolean);
|
|
12357
12364
|
t.length > 0 && X.value.setColumnsVisible(t, e);
|
|
12358
12365
|
});
|
|
12359
12366
|
let Ct = (e) => {
|
|
12360
12367
|
X.value = e.api;
|
|
12361
|
-
let t = q.value.find((e) => !
|
|
12368
|
+
let t = q.value.find((e) => !G.find((t) => t.field === e)?.hide), n = !t && q.value.length > 0 ? G.find((e) => !e.hide && !e.rowGroup)?.field ?? null : null, r = f.leftPinnedColumnName ?? t ?? n, i = [];
|
|
12362
12369
|
if (f.hideAllRowGroupedColumns && q.value.forEach((e) => i.push(e)), r) {
|
|
12363
12370
|
let t = e.api.getColumn(r);
|
|
12364
12371
|
vt.value = t, i.push(r), Zt(t?.getColDef());
|
|
12365
12372
|
}
|
|
12366
|
-
|
|
12373
|
+
le ? tn(le) : rt.value && It(rt.value), it.value && Lt(it.value), e.api.setColumnsVisible([...i], !1), ft.value = [...e.api.getAllGridColumns()], bt.value = e.api.paginationGetCurrentPage() + 1, xt.value = e.api.paginationGetTotalPages(), A("grid-ready", e);
|
|
12367
12374
|
}, wt = (e) => {
|
|
12368
12375
|
if (X.value) {
|
|
12369
12376
|
let t = Ft();
|
|
@@ -12384,7 +12391,7 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
12384
12391
|
X.value.refreshServerSide(t);
|
|
12385
12392
|
};
|
|
12386
12393
|
function kt(e) {
|
|
12387
|
-
return e?.hydrate ? Q.hydrateSelectedFilterMetadata(
|
|
12394
|
+
return e?.hydrate ? Q.hydrateSelectedFilterMetadata(G) : ct.value;
|
|
12388
12395
|
}
|
|
12389
12396
|
let At = async () => {
|
|
12390
12397
|
if (Dt.value = !0, !X.value) return console.error("Grid API not available"), Dt.value = !1, null;
|
|
@@ -12479,7 +12486,7 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
12479
12486
|
v(() => {
|
|
12480
12487
|
let t = vt.value, n = e.api.getRowGroupColumns(), r = n.length > 0, i;
|
|
12481
12488
|
if (r && f.leftPinnedColumnName && (i = e.api.getColumn(f.leftPinnedColumnName || "")), r && !f.leftPinnedColumnName && (i = n.find((e) => !e.getColDef().hide), !i)) {
|
|
12482
|
-
let t =
|
|
12489
|
+
let t = G.find((e) => !e.hide && !e.rowGroup)?.field;
|
|
12483
12490
|
t && (i = e.api.getColumn(t));
|
|
12484
12491
|
}
|
|
12485
12492
|
i ? (vt.value = i, Zt(i.getColDef()), e.api.setColumnsVisible([i.getColId()], !1)) : (vt.value = null, Zt(null));
|
|
@@ -12570,7 +12577,7 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
12570
12577
|
"rowUnGroup"
|
|
12571
12578
|
], n = e.column && Et(e.column) ? vt.value : e.column;
|
|
12572
12579
|
return !f.enableInlineFilters && n && n.getColDef().filter && t.splice(2, 0, re), t.filter((t) => typeof t == "string" ? e.defaultItems.includes(t) : !0);
|
|
12573
|
-
},
|
|
12580
|
+
}, le && (rt.value = (f.enableAdvancedFilter ? le.filter?.advancedFilterModel : le.filter?.filterModel) || null, q.value = le.rowGroup?.groupColIds || []);
|
|
12574
12581
|
});
|
|
12575
12582
|
let tn = (e) => {
|
|
12576
12583
|
let t = X.value;
|
|
@@ -12578,14 +12585,14 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
12578
12585
|
let n = e.filter?.filterModel || null, r = e.rowGroup?.groupColIds || null, i = e.columnVisibility || null;
|
|
12579
12586
|
n && !Dd(n, t.getFilterModel()) && t.setFilterModel(n), f.isTableGrouped && r && !ot(r, q.value) && t.setRowGroupColumns(r), i?.hiddenColIds && t.setColumnsVisible(i.hiddenColIds, !1);
|
|
12580
12587
|
let a = e.columnOrder?.orderedColIds;
|
|
12581
|
-
|
|
12588
|
+
ce && a?.length && (ot(a, t.getAllGridColumns().map((e) => e.getColId())) || t.applyColumnState({
|
|
12582
12589
|
state: a.map((e) => ({ colId: e })),
|
|
12583
12590
|
applyOrder: !0
|
|
12584
12591
|
}));
|
|
12585
12592
|
};
|
|
12586
12593
|
U(() => f.initialGridState, () => {
|
|
12587
12594
|
if (f.initialGridState) {
|
|
12588
|
-
let e = ud(f.initialGridState,
|
|
12595
|
+
let e = ud(f.initialGridState, G, f.enableAdvancedFilter);
|
|
12589
12596
|
e && tn(e);
|
|
12590
12597
|
}
|
|
12591
12598
|
}, { deep: !0 });
|
|
@@ -12742,7 +12749,7 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
12742
12749
|
onUndoStarted: r[10] ||= (e) => A("undo-started", e),
|
|
12743
12750
|
aggFuncs: en,
|
|
12744
12751
|
autoGroupColumnDef: Xt.value,
|
|
12745
|
-
columnDefs: R(
|
|
12752
|
+
columnDefs: R(G),
|
|
12746
12753
|
debug: e.debugMode,
|
|
12747
12754
|
defaultColDef: R(B),
|
|
12748
12755
|
fullWidthCellRenderer: qt.value,
|
|
@@ -12753,7 +12760,7 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
12753
12760
|
getRowStyle: Qt,
|
|
12754
12761
|
groupDefaultExpanded: an.value,
|
|
12755
12762
|
groupDisplayType: "singleColumn",
|
|
12756
|
-
initialState: R(
|
|
12763
|
+
initialState: R(le) || void 0,
|
|
12757
12764
|
isFullWidthRow: f.isFullWidthRow,
|
|
12758
12765
|
isGroupOpenByDefault: R(L) ? void 0 : f.isClientSideGroupOpenByDefault,
|
|
12759
12766
|
isServerSideGroupOpenByDefault: rn,
|
|
@@ -12801,10 +12808,10 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
12801
12808
|
}), qf = ["id"], Jf = {
|
|
12802
12809
|
key: 0,
|
|
12803
12810
|
class: "sort-divider-container"
|
|
12804
|
-
}, Yf = ["data-label"], Xf = ["onDrop"], Zf = { class: "pv-full-width pv-bordered pv-radius-md pv-flex pv-center pv-placeholder-dropzone" }, Qf = { class: "pv-text-body-sm pv-text-tertiary" }, $f = { class: "pv-
|
|
12811
|
+
}, Yf = ["data-label"], Xf = ["onDrop"], Zf = { class: "pv-full-width pv-bordered pv-radius-md pv-flex pv-center pv-placeholder-dropzone" }, Qf = { class: "pv-text-body-sm pv-text-tertiary" }, $f = { class: "pv-text-body-sm" }, ep = {
|
|
12805
12812
|
key: 1,
|
|
12806
12813
|
class: "pv-button-placeholder"
|
|
12807
|
-
},
|
|
12814
|
+
}, tp = "--divider--", np = "placeholder-", rp = /* @__PURE__ */ tn(/* @__PURE__ */ d({
|
|
12808
12815
|
__name: "PvSortableList",
|
|
12809
12816
|
props: /* @__PURE__ */ g({
|
|
12810
12817
|
options: { default: () => [] },
|
|
@@ -12813,7 +12820,8 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
12813
12820
|
showPlaceholders: {
|
|
12814
12821
|
type: Boolean,
|
|
12815
12822
|
default: !0
|
|
12816
|
-
}
|
|
12823
|
+
},
|
|
12824
|
+
lockedOptionIds: { default: () => [] }
|
|
12817
12825
|
}, {
|
|
12818
12826
|
modelValue: {
|
|
12819
12827
|
required: !1,
|
|
@@ -12823,141 +12831,144 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
12823
12831
|
}),
|
|
12824
12832
|
emits: ["update:modelValue"],
|
|
12825
12833
|
setup(e) {
|
|
12826
|
-
let n = e, c = B(e, "modelValue"), l = {
|
|
12827
|
-
|
|
12834
|
+
let n = e, c = B(e, "modelValue"), l = (e) => n.lockedOptionIds.includes(e.id), d = (e) => {
|
|
12835
|
+
let t = c.value.filter(l), r = e.filter((e) => !l(e));
|
|
12836
|
+
return [...t, ...r].slice(0, n.activeOptionLimit || Infinity);
|
|
12837
|
+
}, f = {
|
|
12838
|
+
id: tp,
|
|
12828
12839
|
text: "",
|
|
12829
12840
|
disabled: !0
|
|
12830
|
-
},
|
|
12831
|
-
id: `${
|
|
12841
|
+
}, p = r(() => n.activeOptionLimit ? Math.max(0, n.activeOptionLimit - c.value.length) : 0), m = r(() => !n.showPlaceholders || p.value === 0 ? [] : Array.from({ length: p.value }, (e, t) => ({
|
|
12842
|
+
id: `${np}${t}`,
|
|
12832
12843
|
text: "",
|
|
12833
12844
|
disabled: !0,
|
|
12834
12845
|
isPlaceholder: !0
|
|
12835
|
-
}))),
|
|
12846
|
+
}))), h = r(() => {
|
|
12836
12847
|
let e = new Set(c.value.map((e) => e.id));
|
|
12837
12848
|
return [
|
|
12838
12849
|
...c.value,
|
|
12839
|
-
...
|
|
12840
|
-
|
|
12850
|
+
...m.value,
|
|
12851
|
+
f,
|
|
12841
12852
|
...n.options.filter((t) => !e.has(t.id))
|
|
12842
12853
|
];
|
|
12843
|
-
}),
|
|
12844
|
-
if (!
|
|
12845
|
-
let e = Array.from(
|
|
12846
|
-
return t !== -1 && (e = e.slice(0, t)), e = e.filter((e) => !e.startsWith(
|
|
12854
|
+
}), g = V("sortableListRef"), _ = V("containerRef"), v = null, b = null, S = !1, C = () => {
|
|
12855
|
+
if (!g.value) return c.value;
|
|
12856
|
+
let e = Array.from(g.value.children).map((e) => e.id), t = e.findIndex((e) => e === tp);
|
|
12857
|
+
return t !== -1 && (e = e.slice(0, t)), e = e.filter((e) => !e.startsWith(np)), e.map((e) => n.options.find((t) => t.id === e) || null).filter(Boolean).slice(0, n.activeOptionLimit || Infinity);
|
|
12847
12858
|
};
|
|
12848
12859
|
T(() => {
|
|
12849
|
-
|
|
12860
|
+
g.value && (v = new st(g.value, {
|
|
12850
12861
|
animation: 200,
|
|
12851
|
-
filter: `#${
|
|
12862
|
+
filter: `#${tp}, [id^="placeholder-"], .pv-sortable-locked`,
|
|
12852
12863
|
dragoverBubble: !0,
|
|
12853
12864
|
onStart: (e) => {
|
|
12854
|
-
|
|
12865
|
+
b = e.item, S = !1;
|
|
12855
12866
|
},
|
|
12856
12867
|
onMove: (e) => {
|
|
12857
12868
|
let t = e.related;
|
|
12858
|
-
if (t?.id?.startsWith(
|
|
12869
|
+
if (t?.id?.startsWith(np)) return !1;
|
|
12859
12870
|
let r = n.options.find((t) => t.id === e.dragged.id);
|
|
12860
|
-
if (!r) return !1;
|
|
12861
|
-
if (
|
|
12862
|
-
if (
|
|
12863
|
-
if (t?.id ===
|
|
12871
|
+
if (!r || n.options.find((e) => e.id === t?.id && l(e))) return !1;
|
|
12872
|
+
if (j(r)) return !0;
|
|
12873
|
+
if (M.value) return !1;
|
|
12874
|
+
if (t?.id === tp) return !0;
|
|
12864
12875
|
let i = n.options.find((e) => e.id === t?.id);
|
|
12865
|
-
return !!i &&
|
|
12876
|
+
return !!i && j(i);
|
|
12866
12877
|
},
|
|
12867
12878
|
onEnd: (e) => {
|
|
12868
|
-
if (
|
|
12869
|
-
|
|
12879
|
+
if (b = null, S) {
|
|
12880
|
+
S = !1;
|
|
12870
12881
|
return;
|
|
12871
12882
|
}
|
|
12872
|
-
let t =
|
|
12883
|
+
let t = g.value;
|
|
12873
12884
|
if (!t || !e.item || !t.contains(e.item)) return;
|
|
12874
|
-
let n =
|
|
12885
|
+
let n = d(C());
|
|
12875
12886
|
t.removeChild(e.item), t.insertBefore(e.item, t.children[e.oldIndex ?? t.children.length] ?? null);
|
|
12876
12887
|
let r = c.value.map((e) => e.id);
|
|
12877
12888
|
n.length === r.length && n.every((e, t) => e.id === r[t]) || (c.value = n);
|
|
12878
12889
|
}
|
|
12879
12890
|
}));
|
|
12880
12891
|
}), E(() => {
|
|
12881
|
-
|
|
12892
|
+
v &&= (v.destroy(), null);
|
|
12882
12893
|
});
|
|
12883
|
-
let
|
|
12884
|
-
e.preventDefault(),
|
|
12885
|
-
},
|
|
12894
|
+
let w = (e) => {
|
|
12895
|
+
e.preventDefault(), b && e.currentTarget.classList.add("placeholder-drag-over");
|
|
12896
|
+
}, O = (e) => {
|
|
12886
12897
|
e.currentTarget.classList.remove("placeholder-drag-over");
|
|
12887
|
-
},
|
|
12888
|
-
if (e.preventDefault(), e.currentTarget.classList.remove("placeholder-drag-over"),
|
|
12889
|
-
let e =
|
|
12890
|
-
if (r && !
|
|
12898
|
+
}, k = (e, t) => {
|
|
12899
|
+
if (e.preventDefault(), e.currentTarget.classList.remove("placeholder-drag-over"), b) {
|
|
12900
|
+
let e = b.id, r = n.options.find((t) => t.id === e);
|
|
12901
|
+
if (r && !j(r)) {
|
|
12891
12902
|
let e = [...c.value];
|
|
12892
|
-
e.splice(t - 1, 0, r), c.value = e
|
|
12903
|
+
e.splice(t - 1, 0, r), c.value = d(e), b.parentNode && b.parentNode.removeChild(b), S = !0;
|
|
12893
12904
|
}
|
|
12894
12905
|
}
|
|
12895
|
-
},
|
|
12896
|
-
if (
|
|
12906
|
+
}, j = (e) => c.value.some((t) => t.id === e.id), M = r(() => n.activeOptionLimit ? c.value.length >= n.activeOptionLimit : !1), N = (e) => {
|
|
12907
|
+
if (!l(e)) if (j(e)) c.value = c.value.filter((t) => t.id !== e.id);
|
|
12897
12908
|
else {
|
|
12898
12909
|
if (n.activeOptionLimit && c.value.length >= n.activeOptionLimit) return;
|
|
12899
12910
|
c.value = c.value.concat([e]);
|
|
12900
12911
|
}
|
|
12901
|
-
},
|
|
12912
|
+
}, ee = (e) => !j(e) && n.activeOptionLimit && c.value.length >= n.activeOptionLimit || e.disabled, F = (e) => {
|
|
12902
12913
|
let t = { padding: "4px 8px" };
|
|
12903
|
-
return
|
|
12904
|
-
},
|
|
12914
|
+
return j(e) && (t.backgroundColor = "var(--color-background-highlight, #E4F8F6)", t.borderColor = "var(--color-border-brand, #16696D)"), t;
|
|
12915
|
+
}, I = (e) => {
|
|
12905
12916
|
let t = {};
|
|
12906
|
-
return
|
|
12917
|
+
return ee(e) && (t.backgroundColor = "transparent"), !j(e) && !ee(e) ? t.color = "var(--color-text-brand, #16696D)" : t.color = "var(--color-text-quaternary, #89989B)", t;
|
|
12907
12918
|
};
|
|
12908
12919
|
return (e, r) => (D(), o("div", {
|
|
12909
12920
|
ref_key: "containerRef",
|
|
12910
|
-
ref:
|
|
12921
|
+
ref: _
|
|
12911
12922
|
}, [s("ul", {
|
|
12912
12923
|
ref_key: "sortableListRef",
|
|
12913
|
-
ref:
|
|
12924
|
+
ref: g,
|
|
12914
12925
|
role: "list"
|
|
12915
|
-
}, [(D(!0), o(t, null, A(
|
|
12926
|
+
}, [(D(!0), o(t, null, A(h.value, (e) => (D(), o("li", {
|
|
12916
12927
|
key: e.id,
|
|
12917
12928
|
id: e.id,
|
|
12918
12929
|
class: "pv-stack-4"
|
|
12919
|
-
}, [e.id ===
|
|
12930
|
+
}, [e.id === tp ? (D(), o("div", Jf, [s("div", {
|
|
12920
12931
|
class: "sort-divider pv-text-default pv-text-body-xs pv-text-tertiary",
|
|
12921
|
-
"data-label":
|
|
12922
|
-
}, null, 8, Yf)])) : e.id.includes(
|
|
12932
|
+
"data-label": M.value ? `Maximum of ${n.activeOptionLimit}` : ""
|
|
12933
|
+
}, null, 8, Yf)])) : e.id.includes(np) ? (D(), o("div", {
|
|
12923
12934
|
key: 1,
|
|
12924
12935
|
class: "placeholder-zone",
|
|
12925
|
-
onDragover: r[0] ||= (e) =>
|
|
12926
|
-
onDragleave: r[1] ||= (e) =>
|
|
12927
|
-
onDrop: (t) =>
|
|
12936
|
+
onDragover: r[0] ||= (e) => w(e),
|
|
12937
|
+
onDragleave: r[1] ||= (e) => O(e),
|
|
12938
|
+
onDrop: (t) => k(t, parseInt(e.id.split("-")[1]) + 1)
|
|
12928
12939
|
}, [s("div", Zf, [s("span", Qf, P(n.placeholderText), 1)])], 40, Xf)) : (D(), o("div", {
|
|
12929
12940
|
key: 2,
|
|
12930
|
-
class: y(["pv-full-width pv-bordered pv-radius-md pv-flex pv-space-between", !
|
|
12931
|
-
style: x(
|
|
12932
|
-
}, [s("div",
|
|
12941
|
+
class: y(["pv-full-width pv-bordered pv-radius-md pv-flex pv-space-between", [!j(e) && M.value ? "pv-menu-item-disabled" : "", l(e) ? "pv-sortable-locked" : ""]]),
|
|
12942
|
+
style: x(F(e))
|
|
12943
|
+
}, [s("div", { class: y(["pv-flex pv-full-width pv-sort-option", { "pv-sort-option-locked": l(e) }]) }, [
|
|
12933
12944
|
u(Hn, {
|
|
12934
|
-
class: y(
|
|
12935
|
-
name: "reorder"
|
|
12936
|
-
}, null, 8, ["class"]),
|
|
12945
|
+
class: y(j(e) ? "pv-text-brand" : "pv-text-tertiary"),
|
|
12946
|
+
name: l(e) ? "lock" : "reorder"
|
|
12947
|
+
}, null, 8, ["class", "name"]),
|
|
12937
12948
|
e.icon ? (D(), i(Hn, {
|
|
12938
12949
|
key: 0,
|
|
12939
|
-
class: y(
|
|
12950
|
+
class: y(j(e) ? "pv-text-brand" : "pv-text-tertiary"),
|
|
12940
12951
|
name: e.icon
|
|
12941
12952
|
}, null, 8, ["class", "name"])) : a("", !0),
|
|
12942
|
-
s("span",
|
|
12943
|
-
]),
|
|
12953
|
+
s("span", $f, P(e.text), 1)
|
|
12954
|
+
], 2), !ee(e) && !l(e) ? (D(), i(Kn, {
|
|
12944
12955
|
key: 0,
|
|
12945
|
-
"left-icon":
|
|
12946
|
-
ariaLabel:
|
|
12956
|
+
"left-icon": j(e) ? "remove-circle" : "add-circle",
|
|
12957
|
+
ariaLabel: j(e) ? `Remove ${e.text}` : `Add ${e.text}`,
|
|
12947
12958
|
variant: "ghost",
|
|
12948
|
-
style: x(
|
|
12949
|
-
onClick: (t) =>
|
|
12959
|
+
style: x(I(e)),
|
|
12960
|
+
onClick: (t) => N(e)
|
|
12950
12961
|
}, null, 8, [
|
|
12951
12962
|
"left-icon",
|
|
12952
12963
|
"ariaLabel",
|
|
12953
12964
|
"style",
|
|
12954
12965
|
"onClick"
|
|
12955
|
-
]))], 6))], 8, qf))), 128))], 512)], 512));
|
|
12966
|
+
])) : (D(), o("div", ep))], 6))], 8, qf))), 128))], 512)], 512));
|
|
12956
12967
|
}
|
|
12957
|
-
}), [["__scopeId", "data-v-
|
|
12968
|
+
}), [["__scopeId", "data-v-f9030e5e"]]), ip = {
|
|
12958
12969
|
class: "pv-flex pv-full-width pv-space-between",
|
|
12959
12970
|
style: { "white-space": "nowrap" }
|
|
12960
|
-
},
|
|
12971
|
+
}, ap = { class: "pv-text-body-md" }, op = /* @__PURE__ */ d({
|
|
12961
12972
|
inheritAttrs: !1,
|
|
12962
12973
|
__name: "PvTableOverlayMenuItemRenderer",
|
|
12963
12974
|
props: {
|
|
@@ -12966,22 +12977,22 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
12966
12977
|
context: {}
|
|
12967
12978
|
},
|
|
12968
12979
|
setup(e) {
|
|
12969
|
-
return (t, n) => (D(), o("div",
|
|
12980
|
+
return (t, n) => (D(), o("div", ip, [s("span", ap, P(e.text), 1), e.context?.rightIcon ? (D(), i(Hn, {
|
|
12970
12981
|
key: 0,
|
|
12971
12982
|
name: e.context.rightIcon,
|
|
12972
12983
|
class: "pv-text-subdued"
|
|
12973
12984
|
}, null, 8, ["name"])) : a("", !0)]));
|
|
12974
12985
|
}
|
|
12975
|
-
}),
|
|
12986
|
+
}), sp = { class: "pv-relative" }, cp = {
|
|
12976
12987
|
role: "list",
|
|
12977
12988
|
class: "pv-relative"
|
|
12978
|
-
},
|
|
12989
|
+
}, lp = ["data-active"], up = ["data-active"], dp = {
|
|
12979
12990
|
key: 2,
|
|
12980
12991
|
style: { cursor: "pointer" }
|
|
12981
|
-
},
|
|
12992
|
+
}, fp = {
|
|
12982
12993
|
key: 0,
|
|
12983
12994
|
role: "list"
|
|
12984
|
-
},
|
|
12995
|
+
}, pp = /* @__PURE__ */ d({
|
|
12985
12996
|
__name: "PvTableOptionsPanel",
|
|
12986
12997
|
props: {
|
|
12987
12998
|
groupedModeEnabled: { type: Boolean },
|
|
@@ -13060,7 +13071,7 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
13060
13071
|
previousHiddenColIds: r.hiddenColIds
|
|
13061
13072
|
});
|
|
13062
13073
|
};
|
|
13063
|
-
return (n, r) => I.value ? (D(), o(t, { key: 0 }, [ae((D(), o("div",
|
|
13074
|
+
return (n, r) => I.value ? (D(), o(t, { key: 0 }, [ae((D(), o("div", sp, [u(Va, {
|
|
13064
13075
|
open: v.value,
|
|
13065
13076
|
label: "Table Configuration",
|
|
13066
13077
|
icon: "settings",
|
|
@@ -13080,7 +13091,7 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
13080
13091
|
"padding-top": "4px",
|
|
13081
13092
|
"padding-bottom": "12px"
|
|
13082
13093
|
}
|
|
13083
|
-
}, " Table Configuration ")], -1), s("ul",
|
|
13094
|
+
}, " Table Configuration ")], -1), s("ul", cp, [
|
|
13084
13095
|
C.value ? (D(), o("li", {
|
|
13085
13096
|
key: 0,
|
|
13086
13097
|
id: "table-config-overlay",
|
|
@@ -13093,7 +13104,7 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
13093
13104
|
icon: "layers-2",
|
|
13094
13105
|
"class-list": ["pv-menu-nested", b.value === "overlay" ? "pv-menu-nested-active" : ""],
|
|
13095
13106
|
onHandleSelected: r[0] ||= (e) => j("overlay")
|
|
13096
|
-
}, null, 8, ["class-list"])], 8,
|
|
13107
|
+
}, null, 8, ["class-list"])], 8, lp)) : a("", !0),
|
|
13097
13108
|
P.value ? (D(), o("li", {
|
|
13098
13109
|
key: 1,
|
|
13099
13110
|
id: "table-config-columns",
|
|
@@ -13106,8 +13117,8 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
13106
13117
|
icon: "columns-3",
|
|
13107
13118
|
"class-list": ["pv-menu-nested", b.value === "columns" ? "pv-menu-nested-active" : ""],
|
|
13108
13119
|
onHandleSelected: r[1] ||= (e) => j("columns")
|
|
13109
|
-
}, null, 8, ["class-list"])], 8,
|
|
13110
|
-
F.value ? (D(), o("li",
|
|
13120
|
+
}, null, 8, ["class-list"])], 8, up)) : a("", !0),
|
|
13121
|
+
F.value ? (D(), o("li", dp, [u(Ao, {
|
|
13111
13122
|
config: { variant: "icon" },
|
|
13112
13123
|
id: "table-config-group-toggle",
|
|
13113
13124
|
class: "pv-text-subdued",
|
|
@@ -13128,11 +13139,11 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
13128
13139
|
},
|
|
13129
13140
|
isList: b.value !== "columns"
|
|
13130
13141
|
}, {
|
|
13131
|
-
default: W(() => [b.value === "overlay" ? (D(), o("ul",
|
|
13142
|
+
default: W(() => [b.value === "overlay" ? (D(), o("ul", fp, [(D(!0), o(t, null, A(S.value, (e) => (D(), o("li", { key: e.id }, [u(Ao, {
|
|
13132
13143
|
id: e.id,
|
|
13133
13144
|
config: {
|
|
13134
13145
|
variant: "checkbox",
|
|
13135
|
-
renderer:
|
|
13146
|
+
renderer: op
|
|
13136
13147
|
},
|
|
13137
13148
|
text: e.text,
|
|
13138
13149
|
context: e.context,
|
|
@@ -13150,14 +13161,14 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
13150
13161
|
class: "pv-inset-square-8",
|
|
13151
13162
|
role: "dialog",
|
|
13152
13163
|
"aria-label": "Column options",
|
|
13153
|
-
onKeydown: r[3] ||= G(
|
|
13164
|
+
onKeydown: r[3] ||= oe(G((e) => b.value = null, ["stop"]), ["esc"])
|
|
13154
13165
|
}, [r[5] ||= s("p", {
|
|
13155
13166
|
class: "pv-text-tertiary pv-text-body-sm pv-stack-4",
|
|
13156
13167
|
style: {
|
|
13157
13168
|
"padding-left": "2px",
|
|
13158
13169
|
"padding-bottom": "6px"
|
|
13159
13170
|
}
|
|
13160
|
-
}, " Currently Viewing ", -1), u(
|
|
13171
|
+
}, " Currently Viewing ", -1), u(rp, {
|
|
13161
13172
|
modelValue: te.value,
|
|
13162
13173
|
options: z.value,
|
|
13163
13174
|
showPlaceholders: !1,
|
|
@@ -13170,18 +13181,18 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
13170
13181
|
"isList"
|
|
13171
13182
|
])], 64)) : a("", !0);
|
|
13172
13183
|
}
|
|
13173
|
-
}),
|
|
13184
|
+
}), mp = { class: "pv-chart-benchmark-chips pv-flex-vertical" }, hp = ["data-group-name"], gp = { class: "pv-chart-chip-section-label pv-chart-benchmark-chip-section-label" }, _p = ["data-loading"], vp = { class: "pv-chart-chip-label pv-flex-item" }, yp = { class: "pv-chart-chip-value" }, bp = /* @__PURE__ */ d({
|
|
13174
13185
|
__name: "PvBenchmarkChips",
|
|
13175
13186
|
props: { sections: {} },
|
|
13176
13187
|
emits: ["chip-hover"],
|
|
13177
13188
|
setup(e, { emit: n }) {
|
|
13178
13189
|
let r = n;
|
|
13179
|
-
return (n, c) => (D(), o("div",
|
|
13190
|
+
return (n, c) => (D(), o("div", mp, [(D(!0), o(t, null, A(e.sections, (e) => (D(), o("div", {
|
|
13180
13191
|
key: e.groupName,
|
|
13181
13192
|
"data-testid": "chip-section",
|
|
13182
13193
|
"data-group-name": e.groupName,
|
|
13183
13194
|
class: "pv-flex-vertical"
|
|
13184
|
-
}, [s("p",
|
|
13195
|
+
}, [s("p", gp, P(e.groupName), 1), (D(!0), o(t, null, A(e.chips, (e) => (D(), o("div", _({
|
|
13185
13196
|
key: e.key,
|
|
13186
13197
|
"data-testid": "benchmark-chip",
|
|
13187
13198
|
class: "pv-chart-benchmark-chip pv-flex pv-bordered pv-inset-square-8",
|
|
@@ -13208,8 +13219,8 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
13208
13219
|
class: "pv-chart-benchmark-chip-accent",
|
|
13209
13220
|
style: x({ backgroundColor: e.color })
|
|
13210
13221
|
}, null, 4)) : a("", !0),
|
|
13211
|
-
s("span",
|
|
13212
|
-
s("span",
|
|
13222
|
+
s("span", vp, P(e.label), 1),
|
|
13223
|
+
s("span", yp, P(e.formattedValue), 1),
|
|
13213
13224
|
e.excludeFromCrossline ? (D(), i(R(aa), {
|
|
13214
13225
|
key: 1,
|
|
13215
13226
|
"data-testid": "benchmark-chip-unit-mismatch-tooltip",
|
|
@@ -13232,16 +13243,16 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
13232
13243
|
} }, " Shown in different units than the chart, so no line is drawn for this benchmark. ", -1)]]),
|
|
13233
13244
|
_: 1
|
|
13234
13245
|
})) : a("", !0)
|
|
13235
|
-
], 64))], 16,
|
|
13246
|
+
], 64))], 16, _p))), 128))], 8, hp))), 128))]));
|
|
13236
13247
|
}
|
|
13237
|
-
}),
|
|
13248
|
+
}), xp = (e) => e.field === "state" || $(e).dataType === ps.Location, Sp = (e) => e.filter(xp), Cp = (e, t, n) => {
|
|
13238
13249
|
if (!n || t.length === 0) return e;
|
|
13239
13250
|
let r = new Set(n(t).map((e) => e.field));
|
|
13240
13251
|
return e.filter((e) => r.has(e));
|
|
13241
|
-
},
|
|
13252
|
+
}, wp = (e) => e.filter((e) => !Ss(e)), Tp = (e) => e.filter((e) => Ss(e)), Ep = {
|
|
13242
13253
|
xAxis: {
|
|
13243
13254
|
selectMode: "sortable",
|
|
13244
|
-
filterColumns:
|
|
13255
|
+
filterColumns: wp
|
|
13245
13256
|
},
|
|
13246
13257
|
yAxis: {},
|
|
13247
13258
|
secondaryYAxis: {},
|
|
@@ -13250,16 +13261,16 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
13250
13261
|
rowGroupLimit: 2,
|
|
13251
13262
|
supportsFocusView: !0,
|
|
13252
13263
|
storeBeforeChange: !0
|
|
13253
|
-
},
|
|
13264
|
+
}, Dp = [
|
|
13254
13265
|
{
|
|
13255
|
-
...
|
|
13266
|
+
...Ep,
|
|
13256
13267
|
id: "column",
|
|
13257
13268
|
text: "Column",
|
|
13258
13269
|
icon: "chart-column",
|
|
13259
13270
|
agChartType: "bar"
|
|
13260
13271
|
},
|
|
13261
13272
|
{
|
|
13262
|
-
...
|
|
13273
|
+
...Ep,
|
|
13263
13274
|
id: "bar",
|
|
13264
13275
|
text: "Bar",
|
|
13265
13276
|
icon: "chart-bar",
|
|
@@ -13267,28 +13278,28 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
13267
13278
|
isHorizontal: !0
|
|
13268
13279
|
},
|
|
13269
13280
|
{
|
|
13270
|
-
...
|
|
13281
|
+
...Ep,
|
|
13271
13282
|
id: "line",
|
|
13272
13283
|
text: "Line",
|
|
13273
13284
|
icon: "chart-line",
|
|
13274
13285
|
agChartType: "line"
|
|
13275
13286
|
},
|
|
13276
13287
|
{
|
|
13277
|
-
...
|
|
13288
|
+
...Ep,
|
|
13278
13289
|
id: "area",
|
|
13279
13290
|
text: "Area",
|
|
13280
13291
|
icon: "chart-area",
|
|
13281
13292
|
agChartType: "area"
|
|
13282
13293
|
},
|
|
13283
13294
|
{
|
|
13284
|
-
...
|
|
13295
|
+
...Ep,
|
|
13285
13296
|
id: "column_stacked",
|
|
13286
13297
|
text: "Stacked Column",
|
|
13287
13298
|
icon: "chart-column-stacked",
|
|
13288
13299
|
agChartType: "bar"
|
|
13289
13300
|
},
|
|
13290
13301
|
{
|
|
13291
|
-
...
|
|
13302
|
+
...Ep,
|
|
13292
13303
|
id: "bar_stacked",
|
|
13293
13304
|
text: "Stacked Bar",
|
|
13294
13305
|
icon: "chart-bar-stacked",
|
|
@@ -13296,7 +13307,7 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
13296
13307
|
isHorizontal: !0
|
|
13297
13308
|
},
|
|
13298
13309
|
{
|
|
13299
|
-
...
|
|
13310
|
+
...Ep,
|
|
13300
13311
|
id: "pie",
|
|
13301
13312
|
text: "Pie",
|
|
13302
13313
|
icon: "chart-pie",
|
|
@@ -13310,7 +13321,7 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
13310
13321
|
icon: "chart-column",
|
|
13311
13322
|
xAxis: {
|
|
13312
13323
|
selectMode: "single",
|
|
13313
|
-
filterColumns:
|
|
13324
|
+
filterColumns: Tp,
|
|
13314
13325
|
hideLabel: !0
|
|
13315
13326
|
},
|
|
13316
13327
|
yAxis: {
|
|
@@ -13331,7 +13342,7 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
13331
13342
|
icon: "map",
|
|
13332
13343
|
xAxis: {
|
|
13333
13344
|
selectMode: "single",
|
|
13334
|
-
filterColumns:
|
|
13345
|
+
filterColumns: Sp,
|
|
13335
13346
|
hideLabel: !0
|
|
13336
13347
|
},
|
|
13337
13348
|
yAxis: {},
|
|
@@ -13343,36 +13354,36 @@ var td = { style: { "line-height": "20px" } }, nd = { class: "pv-text-subdued pv
|
|
|
13343
13354
|
supportsFocusView: !1,
|
|
13344
13355
|
storeBeforeChange: !1
|
|
13345
13356
|
}
|
|
13346
|
-
],
|
|
13347
|
-
function
|
|
13348
|
-
return
|
|
13357
|
+
], Op = new Map(Dp.map((e) => [e.id, e])), kp = Op.get("column");
|
|
13358
|
+
function Ap(e) {
|
|
13359
|
+
return Op.get(e) || kp;
|
|
13349
13360
|
}
|
|
13350
13361
|
//#endregion
|
|
13351
13362
|
//#region src/components/charts/PvDataTableWithChart/table-chart-components/PvChartOptionsPanel.vue?vue&type=script&setup=true&lang.ts
|
|
13352
|
-
var
|
|
13363
|
+
var jp = { class: "pv-stack-16 pv-chart-options-panel" }, Mp = { class: "pv-flex pv-relative" }, Np = [
|
|
13353
13364
|
"id",
|
|
13354
13365
|
"aria-label",
|
|
13355
13366
|
"onKeydown"
|
|
13356
|
-
],
|
|
13367
|
+
], Pp = {
|
|
13357
13368
|
role: "list",
|
|
13358
13369
|
class: "pv-popover-list pv-relative"
|
|
13359
|
-
},
|
|
13370
|
+
}, Fp = [
|
|
13360
13371
|
"id",
|
|
13361
13372
|
"data-active",
|
|
13362
13373
|
"data-dd-action-name",
|
|
13363
13374
|
"onMouseenter",
|
|
13364
13375
|
"onClick"
|
|
13365
|
-
],
|
|
13376
|
+
], Ip = { style: { "max-width": "100px" } }, Lp = {
|
|
13366
13377
|
key: 1,
|
|
13367
13378
|
class: "pv-flex"
|
|
13368
|
-
},
|
|
13379
|
+
}, Rp = {
|
|
13369
13380
|
key: 0,
|
|
13370
13381
|
class: "pv-inset-square-8"
|
|
13371
|
-
},
|
|
13382
|
+
}, zp = {
|
|
13372
13383
|
key: 1,
|
|
13373
13384
|
role: "list",
|
|
13374
13385
|
class: "pv-popover-list"
|
|
13375
|
-
},
|
|
13386
|
+
}, Bp = ["data-active"], Vp = "This metric isn’t available with the selected chart type.", Hp = /* @__PURE__ */ tn(/* @__PURE__ */ d({
|
|
13376
13387
|
__name: "PvChartOptionsPanel",
|
|
13377
13388
|
props: {
|
|
13378
13389
|
enablePanel: { type: Boolean },
|
|
@@ -13384,6 +13395,8 @@ var Mp = { class: "pv-stack-16 pv-chart-options-panel" }, Np = { class: "pv-flex
|
|
|
13384
13395
|
default: !1
|
|
13385
13396
|
},
|
|
13386
13397
|
chartConfigOptions: {},
|
|
13398
|
+
lockedRowGroupColIds: {},
|
|
13399
|
+
metricOverlayWithRowGroups: { type: Boolean },
|
|
13387
13400
|
readOnly: { type: Boolean },
|
|
13388
13401
|
percentOfFocusViewYKey: {}
|
|
13389
13402
|
},
|
|
@@ -13396,9 +13409,9 @@ var Mp = { class: "pv-stack-16 pv-chart-options-panel" }, Np = { class: "pv-flex
|
|
|
13396
13409
|
maxHeight: "900px"
|
|
13397
13410
|
},
|
|
13398
13411
|
useTeleport: !0
|
|
13399
|
-
}), b = k(!1), S = k(void 0), C = k(null), w = m(hu, k(void 0)), T = m(pu, k([])), E = m(gu, k(void 0)), O = m(mu, k([])), j = m(fu, k([])), M = m(ru, k([])), N = r(() =>
|
|
13412
|
+
}), b = k(!1), S = k(void 0), C = k(null), w = m(hu, k(void 0)), T = m(pu, k([])), E = m(gu, k(void 0)), O = m(mu, k([])), j = m(fu, k([])), M = m(ru, k([])), N = r(() => Ap(w.value?.id || "")), ee = r(() => {
|
|
13400
13413
|
let e = w.value?.id ?? "";
|
|
13401
|
-
return j.value.length > 1 && !e.endsWith("_stacked");
|
|
13414
|
+
return j.value.length > 1 && !e.endsWith("_stacked") && !l.metricOverlayWithRowGroups;
|
|
13402
13415
|
}), F = m(_u, k("")), I = m(vu, k([])), L = m(yu, k(void 0)), z = m(bu, k([])), te = m(Su, k(!1)), B = m(xu, k([])), ne = m(wu, k(/* @__PURE__ */ new Set())), V = m(Tu, k([])), re = r(() => V.value.filter((e) => ne.value.has(e.id)).map((e) => ({
|
|
13403
13416
|
id: e.id,
|
|
13404
13417
|
text: e.label,
|
|
@@ -13410,13 +13423,13 @@ var Mp = { class: "pv-stack-16 pv-chart-options-panel" }, Np = { class: "pv-flex
|
|
|
13410
13423
|
U(ee, (e) => {
|
|
13411
13424
|
e && L.value && (L.value = void 0), e && B.value.length > 0 && (B.value = []);
|
|
13412
13425
|
}, { immediate: !0 });
|
|
13413
|
-
let ie = m(du, k("")),
|
|
13426
|
+
let ie = m(du, k("")), se = r(() => l.chartFilter && l.chartFilter.options ? l.chartFilter.options.map((e) => ({
|
|
13414
13427
|
label: e.label,
|
|
13415
13428
|
value: e.value
|
|
13416
|
-
})) : []),
|
|
13429
|
+
})) : []), ce = r(() => {
|
|
13417
13430
|
let e = j.value[0];
|
|
13418
13431
|
return e ? Ps(M.value.find((t) => t.field === e)) : !1;
|
|
13419
|
-
}),
|
|
13432
|
+
}), le = r(() => {
|
|
13420
13433
|
if (w.value) return (j.value.length > 1 ? [
|
|
13421
13434
|
"bar_stacked",
|
|
13422
13435
|
"line",
|
|
@@ -13445,10 +13458,10 @@ var Mp = { class: "pv-stack-16 pv-chart-options-panel" }, Np = { class: "pv-flex
|
|
|
13445
13458
|
}
|
|
13446
13459
|
w.value = e[0];
|
|
13447
13460
|
});
|
|
13448
|
-
let
|
|
13461
|
+
let K = (e, t) => {
|
|
13449
13462
|
for (let n of e) {
|
|
13450
13463
|
if (n.id === t) return n;
|
|
13451
|
-
let e = n.children ?
|
|
13464
|
+
let e = n.children ? K(n.children, t) : void 0;
|
|
13452
13465
|
if (e) return e;
|
|
13453
13466
|
}
|
|
13454
13467
|
}, q = (e) => e.flatMap((e) => e.children?.length ? q(e.children) : e), ue = (e) => {
|
|
@@ -13462,7 +13475,7 @@ var Mp = { class: "pv-stack-16 pv-chart-options-panel" }, Np = { class: "pv-flex
|
|
|
13462
13475
|
}
|
|
13463
13476
|
}, J = ql(), de = (e) => e === "secondary-y-axis" ? "metric-overlay" : e, fe = (e, t, n = "select") => {
|
|
13464
13477
|
if (!t) return;
|
|
13465
|
-
let r = je.value.find((t) => t.value === e), i = r?.availableOptions ?
|
|
13478
|
+
let r = je.value.find((t) => t.value === e), i = r?.availableOptions ? K(r.availableOptions, t) : void 0;
|
|
13466
13479
|
Jl("chart_option_selected", {
|
|
13467
13480
|
panel: de(e),
|
|
13468
13481
|
selected_value: i?.text ?? t,
|
|
@@ -13501,7 +13514,7 @@ var Mp = { class: "pv-stack-16 pv-chart-options-panel" }, Np = { class: "pv-flex
|
|
|
13501
13514
|
let r = !!e && t === e;
|
|
13502
13515
|
return {
|
|
13503
13516
|
disabled: r,
|
|
13504
|
-
description: r ?
|
|
13517
|
+
description: r ? Vp : n
|
|
13505
13518
|
};
|
|
13506
13519
|
}, ye = (e, t) => {
|
|
13507
13520
|
let n = [], r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map();
|
|
@@ -13558,11 +13571,11 @@ var Mp = { class: "pv-stack-16 pv-chart-options-panel" }, Np = { class: "pv-flex
|
|
|
13558
13571
|
}), xe = (e, t, n) => {
|
|
13559
13572
|
if (!n) return;
|
|
13560
13573
|
let r = t.find((e) => e.value === n || e.aggFuncOptions?.some((e) => e.seriesValue === n));
|
|
13561
|
-
if (!r?.aggFuncOptions?.length || !r.columnField) return
|
|
13574
|
+
if (!r?.aggFuncOptions?.length || !r.columnField) return K(e, n);
|
|
13562
13575
|
let i = r.aggFuncOptions.find((e) => e.aggFunc === r.activeAggFunc) ?? r.aggFuncOptions.find((e) => e.seriesValue === n) ?? r.aggFuncOptions[0];
|
|
13563
|
-
return i ?
|
|
13576
|
+
return i ? K(e, he(r.columnField, i.aggFunc)) : void 0;
|
|
13564
13577
|
}, Se = (e, t) => {
|
|
13565
|
-
let n =
|
|
13578
|
+
let n = K(e, t), r = n?.context;
|
|
13566
13579
|
return {
|
|
13567
13580
|
aggFunc: r?.aggFunc,
|
|
13568
13581
|
columnField: r?.columnField,
|
|
@@ -13614,7 +13627,8 @@ var Mp = { class: "pv-stack-16 pv-chart-options-panel" }, Np = { class: "pv-flex
|
|
|
13614
13627
|
availableOptions: Ae.value,
|
|
13615
13628
|
...r ? {
|
|
13616
13629
|
activeOptions: Z,
|
|
13617
|
-
activeOptionLimit: l.rowGroupLimit
|
|
13630
|
+
activeOptionLimit: l.rowGroupLimit,
|
|
13631
|
+
lockedOptionIds: l.lockedRowGroupColIds
|
|
13618
13632
|
} : {
|
|
13619
13633
|
currentOption: Ae.value.find((e) => e.id === j.value[0]),
|
|
13620
13634
|
updateSelectedOption: (e) => {
|
|
@@ -13628,8 +13642,8 @@ var Mp = { class: "pv-stack-16 pv-chart-options-panel" }, Np = { class: "pv-flex
|
|
|
13628
13642
|
allowDeselect: !0,
|
|
13629
13643
|
availableOptions: O.value,
|
|
13630
13644
|
currentOption: O.value.find((e) => e.id === E.value?.id),
|
|
13631
|
-
disabled:
|
|
13632
|
-
disabledReason:
|
|
13645
|
+
disabled: ce.value || !le.value,
|
|
13646
|
+
disabledReason: ce.value ? "Dates are always sorted oldest to newest" : "Sorting is not available for this chart type",
|
|
13633
13647
|
updateSelectedOption: (e) => {
|
|
13634
13648
|
let t = O.value.find((t) => t.id === e);
|
|
13635
13649
|
if (!t || !E) {
|
|
@@ -13755,7 +13769,7 @@ var Mp = { class: "pv-stack-16 pv-chart-options-panel" }, Np = { class: "pv-flex
|
|
|
13755
13769
|
}, Ue = () => {
|
|
13756
13770
|
S.value = void 0;
|
|
13757
13771
|
};
|
|
13758
|
-
return (n, r) => (D(), o(t, null, [s("div",
|
|
13772
|
+
return (n, r) => (D(), o(t, null, [s("div", jp, [s("div", null, [ae((D(), o("div", { class: y(["pv-flex pv-space-between", e.useCombinedButton ? "pv-stack-8" : ""]) }, [s("div", Mp, [e.useCombinedButton ? (D(), o(t, { key: 0 }, [u(Va, {
|
|
13759
13773
|
open: b.value,
|
|
13760
13774
|
label: "Chart Configuration",
|
|
13761
13775
|
icon: "chart-area",
|
|
@@ -13791,24 +13805,26 @@ var Mp = { class: "pv-stack-16 pv-chart-options-panel" }, Np = { class: "pv-flex
|
|
|
13791
13805
|
"aria-label": `${Me.value.label} options`,
|
|
13792
13806
|
class: "pv-chart-config-popover pv-inset-square-8",
|
|
13793
13807
|
role: "dialog",
|
|
13794
|
-
onKeydown: G(
|
|
13808
|
+
onKeydown: oe(G(n, ["stop"]), ["esc"])
|
|
13795
13809
|
}, [r[6] ||= s("p", {
|
|
13796
13810
|
class: "pv-text-tertiary pv-text-body-sm pv-stack-4",
|
|
13797
13811
|
style: {
|
|
13798
13812
|
"padding-left": "2px",
|
|
13799
13813
|
"padding-bottom": "6px"
|
|
13800
13814
|
}
|
|
13801
|
-
}, " Viewing ", -1), u(
|
|
13815
|
+
}, " Viewing ", -1), u(rp, {
|
|
13802
13816
|
modelValue: Me.value.activeOptions.value,
|
|
13803
13817
|
"onUpdate:modelValue": r[1] ||= (e) => me(Me.value, e),
|
|
13804
13818
|
options: Me.value.availableOptions || [],
|
|
13805
13819
|
activeOptionLimit: Me.value.activeOptionLimit,
|
|
13820
|
+
lockedOptionIds: Me.value.lockedOptionIds,
|
|
13806
13821
|
placeholderText: "Add to X Axis"
|
|
13807
13822
|
}, null, 8, [
|
|
13808
13823
|
"modelValue",
|
|
13809
13824
|
"options",
|
|
13810
|
-
"activeOptionLimit"
|
|
13811
|
-
|
|
13825
|
+
"activeOptionLimit",
|
|
13826
|
+
"lockedOptionIds"
|
|
13827
|
+
])], 40, Np)) : Me.value ? (D(), i(Vo, {
|
|
13812
13828
|
key: 1,
|
|
13813
13829
|
id: t,
|
|
13814
13830
|
"aria-label": `${Me.value.label} options`,
|
|
@@ -13822,7 +13838,7 @@ var Mp = { class: "pv-stack-16 pv-chart-options-panel" }, Np = { class: "pv-flex
|
|
|
13822
13838
|
readOnly: e.readOnly,
|
|
13823
13839
|
childrenDisplay: "popover",
|
|
13824
13840
|
itemClass: "pv-chart-option pv-flex",
|
|
13825
|
-
onKeydown: G(
|
|
13841
|
+
onKeydown: oe(G(n, ["stop"]), ["esc"]),
|
|
13826
13842
|
onHandleSelected: r[2] ||= (e) => X(Me.value, e)
|
|
13827
13843
|
}, null, 8, [
|
|
13828
13844
|
"id",
|
|
@@ -13857,7 +13873,7 @@ var Mp = { class: "pv-stack-16 pv-chart-options-panel" }, Np = { class: "pv-flex
|
|
|
13857
13873
|
"padding-top": "4px",
|
|
13858
13874
|
"padding-bottom": "12px"
|
|
13859
13875
|
}
|
|
13860
|
-
}, " Chart Configuration ")], -1), s("ul",
|
|
13876
|
+
}, " Chart Configuration ")], -1), s("ul", Pp, [(D(!0), o(t, null, A(je.value, (t) => (D(), o("li", {
|
|
13861
13877
|
id: `pv-chart-config-${t.value}`,
|
|
13862
13878
|
key: t.value,
|
|
13863
13879
|
"data-active": S.value === t.value ? !0 : null,
|
|
@@ -13888,19 +13904,19 @@ var Mp = { class: "pv-stack-16 pv-chart-options-panel" }, Np = { class: "pv-flex
|
|
|
13888
13904
|
_: 2
|
|
13889
13905
|
}, [t.disabled && t.disabledReason ? {
|
|
13890
13906
|
name: "content",
|
|
13891
|
-
fn: W(() => [s("div",
|
|
13907
|
+
fn: W(() => [s("div", Ip, P(t.disabledReason), 1)]),
|
|
13892
13908
|
key: "0"
|
|
13893
|
-
} : void 0]), 1024)], 40,
|
|
13909
|
+
} : void 0]), 1024)], 40, Fp))), 128))])]),
|
|
13894
13910
|
_: 1
|
|
13895
13911
|
}, 8, ["class"]))], 64)) : a("", !0)])], 2)), [[R(Q), [He, { ignore: [".pv-popover"] }]]]), s("div", {
|
|
13896
13912
|
class: "pv-flex pv-space-between",
|
|
13897
13913
|
style: x(e.chartFilter ? {} : { justifyContent: "flex-end" })
|
|
13898
13914
|
}, [e.chartFilter ? (D(), i(oa, {
|
|
13899
13915
|
key: 0,
|
|
13900
|
-
options:
|
|
13916
|
+
options: se.value,
|
|
13901
13917
|
modelValue: R(ie),
|
|
13902
13918
|
"onUpdate:modelValue": r[4] ||= (e) => h(ie) ? ie.value = e : null
|
|
13903
|
-
}, null, 8, ["options", "modelValue"])) : a("", !0), e.useCombinedButton ? a("", !0) : (D(), o("div",
|
|
13919
|
+
}, null, 8, ["options", "modelValue"])) : a("", !0), e.useCombinedButton ? a("", !0) : (D(), o("div", Lp, [(D(!0), o(t, null, A(je.value, (n) => (D(), o(t, { key: n.value }, [n.isMultiSelect && n.activeOptions && n.activeOptionIds ? (D(), i(qc, {
|
|
13904
13920
|
key: 0,
|
|
13905
13921
|
label: n.label,
|
|
13906
13922
|
prefixLabel: n.prefixLabel,
|
|
@@ -13953,23 +13969,25 @@ var Mp = { class: "pv-stack-16 pv-chart-options-panel" }, Np = { class: "pv-flex
|
|
|
13953
13969
|
...R(p)
|
|
13954
13970
|
}
|
|
13955
13971
|
}, {
|
|
13956
|
-
default: W(() => [Me.value ? (D(), o(t, { key: 0 }, [Me.value.isSortableList ? (D(), o("div",
|
|
13972
|
+
default: W(() => [Me.value ? (D(), o(t, { key: 0 }, [Me.value.isSortableList ? (D(), o("div", Rp, [r[9] ||= s("p", {
|
|
13957
13973
|
class: "pv-text-tertiary pv-text-body-sm pv-stack-4",
|
|
13958
13974
|
style: {
|
|
13959
13975
|
"padding-left": "2px",
|
|
13960
13976
|
"padding-bottom": "6px"
|
|
13961
13977
|
}
|
|
13962
|
-
}, " Viewing ", -1), u(
|
|
13978
|
+
}, " Viewing ", -1), u(rp, {
|
|
13963
13979
|
modelValue: Me.value.activeOptions.value,
|
|
13964
13980
|
"onUpdate:modelValue": r[5] ||= (e) => me(Me.value, e),
|
|
13965
13981
|
options: Me.value.availableOptions || [],
|
|
13966
13982
|
activeOptionLimit: Me.value.activeOptionLimit,
|
|
13983
|
+
lockedOptionIds: Me.value.lockedOptionIds,
|
|
13967
13984
|
placeholderText: "Add to X Axis"
|
|
13968
13985
|
}, null, 8, [
|
|
13969
13986
|
"modelValue",
|
|
13970
13987
|
"options",
|
|
13971
|
-
"activeOptionLimit"
|
|
13972
|
-
|
|
13988
|
+
"activeOptionLimit",
|
|
13989
|
+
"lockedOptionIds"
|
|
13990
|
+
])])) : (D(), o("ul", zp, [(D(!0), o(t, null, A(Me.value.availableOptions, (t) => (D(), o("li", {
|
|
13973
13991
|
key: t.id,
|
|
13974
13992
|
"data-active": ze(t)
|
|
13975
13993
|
}, [u(Ao, {
|
|
@@ -13994,14 +14012,14 @@ var Mp = { class: "pv-stack-16 pv-chart-options-panel" }, Np = { class: "pv-flex
|
|
|
13994
14012
|
"disabled",
|
|
13995
14013
|
"selectedIds",
|
|
13996
14014
|
"onHandleSelected"
|
|
13997
|
-
])], 8,
|
|
14015
|
+
])], 8, Bp))), 128))]))], 64)) : a("", !0)]),
|
|
13998
14016
|
_: 1
|
|
13999
14017
|
}, 8, ["class", "css-custom-properties"])) : a("", !0)], 64));
|
|
14000
14018
|
}
|
|
14001
|
-
}), [["__scopeId", "data-v-
|
|
14019
|
+
}), [["__scopeId", "data-v-c9617d5a"]]);
|
|
14002
14020
|
//#endregion
|
|
14003
14021
|
//#region src/components/charts/PvDataTableWithChart/scatterAxisUtils.ts
|
|
14004
|
-
function
|
|
14022
|
+
function Up(e, t, n, r, i) {
|
|
14005
14023
|
return i ? {
|
|
14006
14024
|
xKey: n,
|
|
14007
14025
|
xName: r,
|
|
@@ -14014,7 +14032,7 @@ function Wp(e, t, n, r, i) {
|
|
|
14014
14032
|
yName: r
|
|
14015
14033
|
};
|
|
14016
14034
|
}
|
|
14017
|
-
var
|
|
14035
|
+
var Wp = (e, t) => {
|
|
14018
14036
|
if (t.length === 0) return null;
|
|
14019
14037
|
let n = Math.max(...t.map((e) => e.bucketMax));
|
|
14020
14038
|
for (let r = 0; r < t.length; r++) {
|
|
@@ -14025,22 +14043,22 @@ var Gp = (e, t) => {
|
|
|
14025
14043
|
}
|
|
14026
14044
|
}
|
|
14027
14045
|
return null;
|
|
14028
|
-
},
|
|
14046
|
+
}, Gp = (e, t) => {
|
|
14029
14047
|
let n = +!!t, r = e + n * 2, i = +!t;
|
|
14030
14048
|
return {
|
|
14031
14049
|
categoryPadOffset: n,
|
|
14032
14050
|
axisMin: 0 - i,
|
|
14033
14051
|
axisMax: r + i
|
|
14034
14052
|
};
|
|
14035
|
-
},
|
|
14053
|
+
}, Kp = (e, t) => {
|
|
14036
14054
|
let { categoryPadOffset: n, axisMin: r, axisMax: i } = t;
|
|
14037
14055
|
return (e + n - r) / (i - r);
|
|
14038
|
-
},
|
|
14056
|
+
}, qp = (e, t) => e.filter((e) => t.has(e.id)).flatMap((e) => e.overlays.filter((e) => !e.excludeFromCrossline).map((t) => ({
|
|
14039
14057
|
...t,
|
|
14040
14058
|
color: t.color ?? e.color,
|
|
14041
14059
|
formatValue: t.formatValue ?? e.formatValue,
|
|
14042
14060
|
key: `${e.id}-${t.label}`
|
|
14043
|
-
}))),
|
|
14061
|
+
}))), Jp = (e, t, n) => {
|
|
14044
14062
|
let r = /* @__PURE__ */ new Map();
|
|
14045
14063
|
return e.filter((e) => !!(e.groupName && t.has(e.id))).forEach((e) => {
|
|
14046
14064
|
let t = r.get(e.groupName) ?? {
|
|
@@ -14062,18 +14080,18 @@ var Gp = (e, t) => {
|
|
|
14062
14080
|
});
|
|
14063
14081
|
}), r.set(e.groupName, t);
|
|
14064
14082
|
}), [...r.values()];
|
|
14065
|
-
},
|
|
14066
|
-
function
|
|
14067
|
-
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) =>
|
|
14083
|
+
}, Yp = (e) => !!(e.visible && !e.disabled);
|
|
14084
|
+
function Xp(e) {
|
|
14085
|
+
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) => Yp(e)).map((e) => e.id))), u = new Map(t.value.map((e) => [e.id, Yp(e)]));
|
|
14068
14086
|
U(t, (e) => {
|
|
14069
14087
|
let t = new Set(l.value), n = !1, r = c?.value !== void 0;
|
|
14070
14088
|
for (let i of e) {
|
|
14071
|
-
let e =
|
|
14089
|
+
let e = Yp(i), a = u.has(i.id) ? !u.get(i.id) : !r;
|
|
14072
14090
|
e && a ? (t.add(i.id), n = !0) : !e && u.get(i.id) && (t.delete(i.id), n = !0);
|
|
14073
14091
|
}
|
|
14074
|
-
u = new Map(e.map((e) => [e.id,
|
|
14092
|
+
u = new Map(e.map((e) => [e.id, Yp(e)])), n && (l.value = t);
|
|
14075
14093
|
});
|
|
14076
|
-
let d = r(() =>
|
|
14094
|
+
let d = r(() => qp(t.value, l.value)), f = r(() => Jp(t.value, l.value, s)), p = k(null);
|
|
14077
14095
|
return {
|
|
14078
14096
|
activeCrosslineOverlayGroups: l,
|
|
14079
14097
|
resolvedCrosslineOverlays: d,
|
|
@@ -14083,11 +14101,11 @@ function Zp(e) {
|
|
|
14083
14101
|
if (!p.value || !a.value) return null;
|
|
14084
14102
|
let e = d.value.find((e) => e.key === p.value);
|
|
14085
14103
|
if (!e) return null;
|
|
14086
|
-
let t =
|
|
14104
|
+
let t = Wp(e.value, a.value);
|
|
14087
14105
|
if (t == null) return null;
|
|
14088
14106
|
let r = (o.value?.$el)?.querySelector(".ag-charts-series-area")?.getBoundingClientRect();
|
|
14089
14107
|
if (!r) return null;
|
|
14090
|
-
let c =
|
|
14108
|
+
let c = Kp(t, Gp(a.value.length || 1, n.value)), l = e.formatValue ? e.formatValue(e.value) : s(e.value);
|
|
14091
14109
|
return i.value ? {
|
|
14092
14110
|
label: e.label,
|
|
14093
14111
|
value: l,
|
|
@@ -14114,10 +14132,10 @@ function Zp(e) {
|
|
|
14114
14132
|
}
|
|
14115
14133
|
//#endregion
|
|
14116
14134
|
//#region src/components/charts/PvDataTableWithChart/PvDataTableWithChart.vue?vue&type=script&setup=true&lang.ts
|
|
14117
|
-
var
|
|
14135
|
+
var Zp = { style: {
|
|
14118
14136
|
height: "100%",
|
|
14119
14137
|
width: "100%"
|
|
14120
|
-
} },
|
|
14138
|
+
} }, Qp = {
|
|
14121
14139
|
key: 0,
|
|
14122
14140
|
class: "pv-flex",
|
|
14123
14141
|
style: {
|
|
@@ -14125,19 +14143,19 @@ var Qp = { style: {
|
|
|
14125
14143
|
flex: "0 1 auto"
|
|
14126
14144
|
},
|
|
14127
14145
|
"data-testid": "pv-data-table-with-chart-filter-panel-actions"
|
|
14128
|
-
},
|
|
14146
|
+
}, $p = {
|
|
14129
14147
|
key: 0,
|
|
14130
14148
|
class: "pv-bordered pv-radius-lg pv-inset-square-12 pv-stack-16"
|
|
14131
|
-
},
|
|
14149
|
+
}, em = { class: "pv-flex" }, tm = {
|
|
14132
14150
|
class: "pv-flex",
|
|
14133
14151
|
style: { "align-items": "stretch" }
|
|
14134
|
-
},
|
|
14152
|
+
}, nm = { class: "pv-flex pv-space-between" }, rm = { class: "pv-chart-tooltip-label" }, im = { class: "pv-chart-tooltip-value" }, am = {
|
|
14135
14153
|
key: 2,
|
|
14136
14154
|
class: "pv-chart-overlay pv-flex pv-align-center"
|
|
14137
|
-
},
|
|
14155
|
+
}, om = { key: 0 }, sm = {
|
|
14138
14156
|
key: 1,
|
|
14139
14157
|
class: "pv-text-body-xs"
|
|
14140
|
-
},
|
|
14158
|
+
}, cm = /* @__PURE__ */ d({
|
|
14141
14159
|
__name: "PvDataTableWithChart",
|
|
14142
14160
|
props: {
|
|
14143
14161
|
allFieldsAreFocusable: { type: Boolean },
|
|
@@ -14175,6 +14193,11 @@ var Qp = { style: {
|
|
|
14175
14193
|
secondaryChartType: { default: "scatter" },
|
|
14176
14194
|
multiSelectMetricOverlay: { type: Boolean },
|
|
14177
14195
|
initialSecondaryYKeys: {},
|
|
14196
|
+
metricOverlayWithRowGroups: {
|
|
14197
|
+
type: Boolean,
|
|
14198
|
+
default: !1
|
|
14199
|
+
},
|
|
14200
|
+
lockedRowGroupColIds: { default: () => [] },
|
|
14178
14201
|
chartFilter: {},
|
|
14179
14202
|
chartType: { default: "column" },
|
|
14180
14203
|
emptyChartFilterRenderer: {},
|
|
@@ -14415,22 +14438,22 @@ var Qp = { style: {
|
|
|
14415
14438
|
formatter: n.valueFormatter,
|
|
14416
14439
|
dataType: n.context?.dataType
|
|
14417
14440
|
};
|
|
14418
|
-
})),
|
|
14419
|
-
O(Xl,
|
|
14420
|
-
let
|
|
14441
|
+
})), oe = l.filterStore || Ud();
|
|
14442
|
+
O(Xl, oe);
|
|
14443
|
+
let G = Vu({
|
|
14421
14444
|
focusType: l.initialFocusData?.focusType,
|
|
14422
14445
|
focuses: l.initialFocusData?.focuses || [],
|
|
14423
14446
|
focusRequired: l.focusRequired
|
|
14424
14447
|
}, l.allFieldsAreFocusable);
|
|
14425
|
-
O(Zl,
|
|
14426
|
-
let { setFilterSelectedValues:
|
|
14427
|
-
O(su,
|
|
14428
|
-
let
|
|
14448
|
+
O(Zl, G);
|
|
14449
|
+
let { setFilterSelectedValues: se } = oe, ce = k(!1);
|
|
14450
|
+
O(su, ce);
|
|
14451
|
+
let le = k(l.isTableGrouped), K = (e) => {
|
|
14429
14452
|
d("table-overlay-change", e);
|
|
14430
|
-
}, q = r(() =>
|
|
14453
|
+
}, q = r(() => Yt.value ? !1 : !!(l.emptyChartFilterRenderer && l.requireFiltersToShowData && oe.filterModelEmpty.value)), ue = r(() => G?.computedFocusType.value || null), J = r(() => G?.computedFocuses.value || []), de = (e) => {
|
|
14431
14454
|
te.value = Object.fromEntries(e.getValueColumns().map((e) => [e.getColId(), e.getAggFunc()]).filter((e) => typeof e[1] == "string"));
|
|
14432
14455
|
}, fe = k(null), Y = (e) => {
|
|
14433
|
-
p.value = e.api, de(e.api),
|
|
14456
|
+
p.value = e.api, de(e.api), le.value || p.value?.setRowGroupColumns([]), l.tableConfigOptions?.enableColumnConfiguration && (fe.value = e.api.getAllGridColumns().map((e) => e.getColId())), pt(e.api), d("grid-ready", e);
|
|
14434
14457
|
}, pe = (e) => {
|
|
14435
14458
|
fe.value = e.orderedColIds, d("chart-state-changed", {
|
|
14436
14459
|
api: p.value,
|
|
@@ -14453,7 +14476,7 @@ var Qp = { style: {
|
|
|
14453
14476
|
}), fe.value = t;
|
|
14454
14477
|
}, me = (e) => {
|
|
14455
14478
|
let t = ie(H.value, Ie.value), n = Le.value.map((e) => ie(H.value, e)?.columnField).filter((e) => !!e);
|
|
14456
|
-
de(e.api), t?.columnField && Ie.value && (Ie.value = H.value.find((e) => e.columnField === t.columnField)?.value), n.length > 0 && (Le.value = n.map((e) => H.value.find((t) => t.columnField === e)?.value).filter((e) => !!e)),
|
|
14479
|
+
de(e.api), t?.columnField && Ie.value && (Ie.value = H.value.find((e) => e.columnField === t.columnField)?.value), n.length > 0 && (Le.value = n.map((e) => H.value.find((t) => t.columnField === e)?.value).filter((e) => !!e)), pt(e.api), d("column-value-changed", e);
|
|
14457
14480
|
}, he = (e) => {
|
|
14458
14481
|
let t = p.value;
|
|
14459
14482
|
!t || t.getColumn(e.columnField)?.getAggFunc() === e.aggFunc || t.applyColumnState({ state: [{
|
|
@@ -14464,7 +14487,7 @@ var Qp = { style: {
|
|
|
14464
14487
|
d("first-data-rendered", e);
|
|
14465
14488
|
}, _e = (e) => {
|
|
14466
14489
|
let t = I.value, n = e.api.getRowGroupColumns().map((e) => e.getColId());
|
|
14467
|
-
if (
|
|
14490
|
+
if (le.value && JSON.stringify(t) !== JSON.stringify(n)) {
|
|
14468
14491
|
let t = Ae.value;
|
|
14469
14492
|
if (n.length > Z.value) {
|
|
14470
14493
|
let t = n.slice(0, Z.value);
|
|
@@ -14474,10 +14497,10 @@ var Qp = { style: {
|
|
|
14474
14497
|
}
|
|
14475
14498
|
d("column-row-group-changed", e);
|
|
14476
14499
|
}, ve = async (e) => {
|
|
14477
|
-
|
|
14500
|
+
pt(e.api), ce.value && d("filter-changed", e);
|
|
14478
14501
|
};
|
|
14479
14502
|
U(() => I.value, () => {
|
|
14480
|
-
if (
|
|
14503
|
+
if (le.value) {
|
|
14481
14504
|
if (!p.value) return;
|
|
14482
14505
|
let e = p.value.getRowGroupColumns().map((e) => e.getColId());
|
|
14483
14506
|
JSON.stringify(e) !== JSON.stringify(I.value) && v(() => {
|
|
@@ -14488,9 +14511,9 @@ var Qp = { style: {
|
|
|
14488
14511
|
});
|
|
14489
14512
|
if (!l.allFieldsAreFocusable) {
|
|
14490
14513
|
let e = Ae.value.supportsFocusView && L.value || null;
|
|
14491
|
-
|
|
14514
|
+
G.setFocusType(e);
|
|
14492
14515
|
}
|
|
14493
|
-
p.value &&
|
|
14516
|
+
p.value && pt(p.value);
|
|
14494
14517
|
});
|
|
14495
14518
|
function ye(e, t, n = !0) {
|
|
14496
14519
|
return (r) => {
|
|
@@ -14501,7 +14524,7 @@ var Qp = { style: {
|
|
|
14501
14524
|
let e = r.datum?.[L.value], t = Pe.value?.find((t) => t[L.value] === e)?.[`${Fe.value}_sort_total`] || Infinity;
|
|
14502
14525
|
if (r.value / t < .05) return "";
|
|
14503
14526
|
}
|
|
14504
|
-
let { newValue: e, newSuffix: t } = _s(r.value, ps.Percent === $(a).dataType,
|
|
14527
|
+
let { newValue: e, newSuffix: t } = _s(r.value, ps.Percent === $(a).dataType, zt.value);
|
|
14505
14528
|
r.value = e, i = t;
|
|
14506
14529
|
}
|
|
14507
14530
|
let o = r.value;
|
|
@@ -14522,7 +14545,7 @@ var Qp = { style: {
|
|
|
14522
14545
|
...I.value.length > 1 ? rs : ns,
|
|
14523
14546
|
is,
|
|
14524
14547
|
as
|
|
14525
|
-
].filter((e) => l.enabledChartTypes?.includes(e.id))), Ee = k(void 0), De = k(void 0), Oe = k(void 0), ke = !1, Ae = r(() =>
|
|
14548
|
+
].filter((e) => l.enabledChartTypes?.includes(e.id))), Ee = k(void 0), De = k(void 0), Oe = k(void 0), ke = !1, Ae = r(() => Ap(Ee.value?.id || "")), Z = r(() => Math.min(Ae.value.rowGroupLimit, l.rowGroupLimit)), je = r(() => {
|
|
14526
14549
|
let e = Ae.value.xAxis.filterColumns;
|
|
14527
14550
|
return e ? e(F.value) : F.value;
|
|
14528
14551
|
}), Me = k([{
|
|
@@ -14548,13 +14571,13 @@ var Qp = { style: {
|
|
|
14548
14571
|
Ee.value = Te.value.find((t) => t.id === e) ?? Te.value[0];
|
|
14549
14572
|
}, Ke = (e) => {
|
|
14550
14573
|
let t = I.value.length, n = (e) => {
|
|
14551
|
-
let n =
|
|
14574
|
+
let n = Ap(e.id);
|
|
14552
14575
|
return t <= Math.min(n.rowGroupLimit, l.rowGroupLimit);
|
|
14553
14576
|
}, r = Te.value.find((t) => t.id === e);
|
|
14554
14577
|
return r && n(r) ? r.id : Te.value.find(n)?.id ?? Te.value[0]?.id;
|
|
14555
14578
|
};
|
|
14556
14579
|
U(() => Te.value, () => {
|
|
14557
|
-
let e = it.value, t = e !== ke, n =
|
|
14580
|
+
let e = it.value, t = e !== ke, n = Ap(Ee.value?.id || ""), r = Te.value.some((e) => e.id === Ee.value?.id), i = I.value.length > Math.min(n.rowGroupLimit, l.rowGroupLimit);
|
|
14558
14581
|
if (ke = e, r && !i && (!t || !n.storeBeforeChange)) return;
|
|
14559
14582
|
let a = Ke((e ? Oe?.value : De?.value) ?? l.chartType);
|
|
14560
14583
|
a && Ge(a);
|
|
@@ -14563,7 +14586,7 @@ var Qp = { style: {
|
|
|
14563
14586
|
}), U(We, (e) => {
|
|
14564
14587
|
if (l.chartFilter && p.value) {
|
|
14565
14588
|
let t = l.chartFilter.colId, n = l.chartFilter.options.find((t) => t.value === e)?.filterValues || null;
|
|
14566
|
-
n && n.length === 0 && (n = null),
|
|
14589
|
+
n && n.length === 0 && (n = null), se(t, n || []);
|
|
14567
14590
|
let r = sd({
|
|
14568
14591
|
filterType: "set",
|
|
14569
14592
|
values: n
|
|
@@ -14578,7 +14601,10 @@ var Qp = { style: {
|
|
|
14578
14601
|
if (xe(t?.columnField ?? e)?.context?.chartOverlayOnPrimaryAxis !== !0) return !1;
|
|
14579
14602
|
let n = ie(V.value, Fe.value);
|
|
14580
14603
|
return t?.dataType != null && t.dataType === n?.dataType;
|
|
14581
|
-
}, 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(() => Ae.value.isHorizontal === !0), et = r(() => l.secondaryChartType === "line" && !$e.value ? "line" : "scatter"), Q = r(() => I.value.length > 1), tt = r(() => !Ee.value || V.value.length === 0 ? [] : Ae.value.seriesFamily === "pie" ?
|
|
14604
|
+
}, 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(() => Ae.value.isHorizontal === !0), et = r(() => l.secondaryChartType === "line" && !$e.value ? "line" : "scatter"), Q = r(() => I.value.length > 1), tt = r(() => !Ee.value || V.value.length === 0 ? [] : Ae.value.seriesFamily === "pie" ? ut.value : lt.value), nt = r(() => Ee.value?.id === "histogram" ? !1 : l.showSeriesLabels), rt = r(() => Ee.value?.id.includes("stacked")), it = r(() => I.value.length > 1), at = r(() => Ee.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(() => {
|
|
14605
|
+
let e = Q.value ? He.value?.fieldValues.length ?? 0 : 1;
|
|
14606
|
+
return `${Ee.value?.id ?? "chart"}-${e}`;
|
|
14607
|
+
}), lt = r(() => {
|
|
14582
14608
|
let e = rt.value, t = Ae.value.agChartType, n = [], r = be(Fe.value, !0), i = be(He.value?.fieldName, !0), a = (e) => t === "line" ? {} : { placement: e };
|
|
14583
14609
|
if (Q.value) He.value?.fieldValues.forEach((o, s) => {
|
|
14584
14610
|
let c = {
|
|
@@ -14627,7 +14653,7 @@ var Qp = { style: {
|
|
|
14627
14653
|
let e = o;
|
|
14628
14654
|
e.connectMissingData = !0, o = e;
|
|
14629
14655
|
}
|
|
14630
|
-
let s =
|
|
14656
|
+
let s = St.value == null ? {} : {
|
|
14631
14657
|
fillOpacity: .3,
|
|
14632
14658
|
strokeOpacity: .3
|
|
14633
14659
|
};
|
|
@@ -14647,22 +14673,22 @@ var Qp = { style: {
|
|
|
14647
14673
|
}))), ze.value.length > 0) {
|
|
14648
14674
|
let t = xe(L.value)?.context?.metadataDisplayFields?.[0] || L.value, r = et.value;
|
|
14649
14675
|
for (let i of ze.value) {
|
|
14650
|
-
let a = ie(H.value, i), o = qe(a), s = e ? `${i}${fs}` : i, c =
|
|
14676
|
+
let a = ie(H.value, i), o = qe(a), s = e ? `${i}${fs}` : i, c = Up(L.value, t, s, o, $e.value), l = (Mt.value ?? []).filter((e) => e[s] != null).length, u = {
|
|
14651
14677
|
type: r,
|
|
14652
14678
|
id: Re.value ? `metric-overlay-${i}` : "metric-overlay",
|
|
14653
|
-
data:
|
|
14679
|
+
data: Mt.value,
|
|
14654
14680
|
...c,
|
|
14655
14681
|
label: { enabled: !1 },
|
|
14656
14682
|
...r === "line" ? {
|
|
14657
14683
|
lineDash: [4, 4],
|
|
14658
14684
|
strokeWidth: 2,
|
|
14659
|
-
marker: { enabled:
|
|
14685
|
+
marker: { enabled: l < 2 },
|
|
14660
14686
|
connectMissingData: !0
|
|
14661
14687
|
} : {}
|
|
14662
14688
|
};
|
|
14663
14689
|
if (a?.tooltipRenderer) {
|
|
14664
14690
|
let e = a.tooltipRenderer;
|
|
14665
|
-
|
|
14691
|
+
u.tooltip = { renderer: $e.value ? (n) => e({
|
|
14666
14692
|
...n,
|
|
14667
14693
|
xKey: L.value,
|
|
14668
14694
|
xName: t,
|
|
@@ -14670,11 +14696,11 @@ var Qp = { style: {
|
|
|
14670
14696
|
yName: o
|
|
14671
14697
|
}) : e };
|
|
14672
14698
|
}
|
|
14673
|
-
n = [...n,
|
|
14699
|
+
n = [...n, u];
|
|
14674
14700
|
}
|
|
14675
14701
|
}
|
|
14676
|
-
if (at.value &&
|
|
14677
|
-
let e =
|
|
14702
|
+
if (at.value && bt.value.length > 0 && vt.value) {
|
|
14703
|
+
let e = vt.value.length, t = Number.isFinite(zt.value) ? zt.value : 0, r = {
|
|
14678
14704
|
type: "scatter",
|
|
14679
14705
|
xKey: "__dummy_x__",
|
|
14680
14706
|
yKey: "__dummy_y__",
|
|
@@ -14688,14 +14714,14 @@ var Qp = { style: {
|
|
|
14688
14714
|
label: { enabled: !1 },
|
|
14689
14715
|
tooltip: { enabled: !1 },
|
|
14690
14716
|
visible: !1
|
|
14691
|
-
}, { categoryPadOffset: i } =
|
|
14717
|
+
}, { categoryPadOffset: i } = Gp(e, !0), a = {
|
|
14692
14718
|
type: "scatter",
|
|
14693
14719
|
xKey: "__dummy_x__",
|
|
14694
14720
|
yKey: "__dummy_y__",
|
|
14695
|
-
data:
|
|
14696
|
-
let t =
|
|
14721
|
+
data: bt.value.flatMap((e) => {
|
|
14722
|
+
let t = Wp(e.value, vt.value || []);
|
|
14697
14723
|
if (t === null) return [];
|
|
14698
|
-
let n = t + i, r = Number.isFinite(
|
|
14724
|
+
let n = t + i, r = Number.isFinite(zt.value) ? zt.value : 0, a = be(I.value?.[0]), o = typeof a == "function" ? a({ value: e.value }) : e.value;
|
|
14699
14725
|
return Array.from({ length: 30 }, (t, i) => ({
|
|
14700
14726
|
value: o,
|
|
14701
14727
|
__dummy_x__: n,
|
|
@@ -14731,7 +14757,7 @@ var Qp = { style: {
|
|
|
14731
14757
|
];
|
|
14732
14758
|
}
|
|
14733
14759
|
return n;
|
|
14734
|
-
}),
|
|
14760
|
+
}), ut = r(() => V.value.length === 0 ? [] : [{
|
|
14735
14761
|
type: "pie",
|
|
14736
14762
|
legendItemKey: L.value,
|
|
14737
14763
|
angleKey: Fe.value
|
|
@@ -14755,8 +14781,8 @@ var Qp = { style: {
|
|
|
14755
14781
|
oldState: { secondarySeriesField: t?.join(",") || void 0 }
|
|
14756
14782
|
});
|
|
14757
14783
|
}), U(Ee, (e, t) => {
|
|
14758
|
-
e?.id &&
|
|
14759
|
-
let n =
|
|
14784
|
+
e?.id && Ap(e.id).storeBeforeChange && (it.value ? Oe.value = e.id : De.value = e.id);
|
|
14785
|
+
let n = Ap(e?.id || ""), r = Ap(t?.id || ""), i = (n.xAxis.filterColumns === r.xAxis.filterColumns ? I.value : Cp(I.value, F.value, n.xAxis.filterColumns)).slice(0, Math.min(n.rowGroupLimit, l.rowGroupLimit));
|
|
14760
14786
|
ot(i, I.value) || (I.value = i), n.yAxis.defaultValue ? Fe.value = n.yAxis.defaultValue : r.yAxis.defaultValue && !n.yAxis.defaultValue && v(() => {
|
|
14761
14787
|
l.yKey ? Fe.value = l.yKey : V.value.length > 0 && (Fe.value = V.value[0].value);
|
|
14762
14788
|
}), d("chart-state-changed", {
|
|
@@ -14783,43 +14809,43 @@ var Qp = { style: {
|
|
|
14783
14809
|
newState: { chartCategoryFields: e },
|
|
14784
14810
|
oldState: { chartCategoryFields: t }
|
|
14785
14811
|
});
|
|
14786
|
-
}), U(
|
|
14812
|
+
}), U(le, (e, t) => {
|
|
14787
14813
|
d("chart-state-changed", {
|
|
14788
14814
|
api: p.value,
|
|
14789
14815
|
newState: { tableGrouped: e },
|
|
14790
14816
|
oldState: { tableGrouped: t }
|
|
14791
14817
|
});
|
|
14792
14818
|
}), U(() => l.isTableGrouped, (e, t) => {
|
|
14793
|
-
!p.value || e === t || !l.enableGroupingToggle ||
|
|
14819
|
+
!p.value || e === t || !l.enableGroupingToggle || rn(e);
|
|
14794
14820
|
}), U(() => l.initialFocusData, (e, t) => {
|
|
14795
14821
|
if (!(ot(e?.focuses, t?.focuses) && e?.focusType == t?.focusType)) {
|
|
14796
14822
|
if (!e?.focusType) {
|
|
14797
|
-
|
|
14823
|
+
G.setFocuses([]);
|
|
14798
14824
|
return;
|
|
14799
14825
|
}
|
|
14800
|
-
|
|
14826
|
+
G.setFocusType(e?.focusType), G.setFocuses(e?.focuses ?? []);
|
|
14801
14827
|
}
|
|
14802
14828
|
}, { deep: !0 });
|
|
14803
|
-
let
|
|
14829
|
+
let dt = () => {
|
|
14804
14830
|
Ne.value = [], Pe.value = [], He.value = null;
|
|
14805
|
-
},
|
|
14831
|
+
}, ft = (e, t) => {
|
|
14806
14832
|
if (!e || e.length === 0) {
|
|
14807
|
-
|
|
14833
|
+
dt();
|
|
14808
14834
|
return;
|
|
14809
14835
|
}
|
|
14810
14836
|
if (t) {
|
|
14811
|
-
let { stackedData:
|
|
14812
|
-
Pe.value =
|
|
14837
|
+
let n = l.metricOverlayWithRowGroups ? [...ae.value, ...H.value] : ae.value, { stackedData: r, uniqueFieldValues: i } = zs(e, L.value, t, mt.value, n);
|
|
14838
|
+
Pe.value = r, He.value = {
|
|
14813
14839
|
fieldName: t,
|
|
14814
|
-
fieldValues:
|
|
14840
|
+
fieldValues: i
|
|
14815
14841
|
};
|
|
14816
14842
|
} else Pe.value = [], He.value = null;
|
|
14817
14843
|
Ne.value = e;
|
|
14818
|
-
},
|
|
14844
|
+
}, pt = (e) => {
|
|
14819
14845
|
let t = ++ee.value, n = I.value.length;
|
|
14820
|
-
if (
|
|
14846
|
+
if (dt(), M.value = !1, n === 0 || V.value.length === 0 || l.requireFiltersToShowData && oe.filterModelEmpty.value) return;
|
|
14821
14847
|
if (l.serverSideChartHandler) {
|
|
14822
|
-
let e =
|
|
14848
|
+
let e = oe.filterModel.value, n = p.value?.getColumnDefs() || [];
|
|
14823
14849
|
if (e === null && l.initialGridState) {
|
|
14824
14850
|
let t = ud(l.initialGridState, n, l.enableAdvancedFilter);
|
|
14825
14851
|
e = (l.enableAdvancedFilter ? t?.filter?.advancedFilterModel : t?.filter?.filterModel) || {};
|
|
@@ -14831,7 +14857,7 @@ var Qp = { style: {
|
|
|
14831
14857
|
filterModel: e
|
|
14832
14858
|
};
|
|
14833
14859
|
M.value = !0, l.serverSideChartHandler(o).then((e) => {
|
|
14834
|
-
t === ee.value && (
|
|
14860
|
+
t === ee.value && (ft(e.data, e.stackField), M.value = !1);
|
|
14835
14861
|
}).catch((e) => {
|
|
14836
14862
|
t === ee.value && (console.error("Chart handler error:", e), M.value = !1);
|
|
14837
14863
|
});
|
|
@@ -14842,10 +14868,10 @@ var Qp = { style: {
|
|
|
14842
14868
|
if (e.forEachNodeAfterFilterAndSort((e) => {
|
|
14843
14869
|
if (e.group && e.level === 0) {
|
|
14844
14870
|
if (I.value.length > 1) {
|
|
14845
|
-
let { rowData: t, fieldValues: n } =
|
|
14871
|
+
let { rowData: t, fieldValues: n } = gt(e, e.childrenAfterFilter?.filter((e) => e.level === 1 && e.aggData) || []);
|
|
14846
14872
|
a = a.union(n), i?.push(t);
|
|
14847
14873
|
}
|
|
14848
|
-
let t =
|
|
14874
|
+
let t = ht(e);
|
|
14849
14875
|
r?.push(t);
|
|
14850
14876
|
}
|
|
14851
14877
|
}), Ne.value = r, I.value.length > 1 && i && i.length > 0) {
|
|
@@ -14855,14 +14881,14 @@ var Qp = { style: {
|
|
|
14855
14881
|
fieldValues: Array.from(a)
|
|
14856
14882
|
};
|
|
14857
14883
|
} else Pe.value = [], He.value = null;
|
|
14858
|
-
},
|
|
14884
|
+
}, mt = r(() => {
|
|
14859
14885
|
let e = V.value, t = H.value;
|
|
14860
14886
|
return [...new Map([...t, ...e].map((e) => [e.value, e])).values()];
|
|
14861
|
-
}),
|
|
14887
|
+
}), ht = (e) => {
|
|
14862
14888
|
let t = { [e.field]: e.key };
|
|
14863
|
-
for (let n of
|
|
14889
|
+
for (let n of mt.value) !e.aggData || !e.aggData[n.value] || (t[n.value] = e.aggData[n.value]?.value ?? e.aggData[n.value]);
|
|
14864
14890
|
return t;
|
|
14865
|
-
},
|
|
14891
|
+
}, gt = (e, t) => {
|
|
14866
14892
|
let n = /* @__PURE__ */ new Set(), r = { [e.field]: e.key }, i = 0;
|
|
14867
14893
|
for (let a of V.value) t.forEach((t) => {
|
|
14868
14894
|
let o = t.key;
|
|
@@ -14879,7 +14905,7 @@ var Qp = { style: {
|
|
|
14879
14905
|
rowData: r,
|
|
14880
14906
|
fieldValues: n
|
|
14881
14907
|
};
|
|
14882
|
-
},
|
|
14908
|
+
}, vt = r(() => {
|
|
14883
14909
|
let e = Q.value ? Pe.value : Ne.value, t = null;
|
|
14884
14910
|
if (Ue.value && (t = Q.value ? `${Fe.value}${fs}` : Fe.value), Se.value) e = Is(e, L.value);
|
|
14885
14911
|
else if (t && e && Ue.value) {
|
|
@@ -14895,11 +14921,11 @@ var Qp = { style: {
|
|
|
14895
14921
|
];
|
|
14896
14922
|
}
|
|
14897
14923
|
return e;
|
|
14898
|
-
}), { activeCrosslineOverlayGroups:
|
|
14924
|
+
}), { activeCrosslineOverlayGroups: yt, resolvedCrosslineOverlays: bt, chipSections: xt, hoveredBenchmarkKey: St, hoveredCrosslineTooltip: Ct } = Xp({
|
|
14899
14925
|
crosslineOverlayGroups: Ve,
|
|
14900
14926
|
isHistogramWithBuckets: at,
|
|
14901
14927
|
isHorizontalBarChart: $e,
|
|
14902
|
-
computedChartData:
|
|
14928
|
+
computedChartData: vt,
|
|
14903
14929
|
pvChartRef: h,
|
|
14904
14930
|
formatValue: (e) => {
|
|
14905
14931
|
let t = be(I.value?.[0]);
|
|
@@ -14907,24 +14933,24 @@ var Qp = { style: {
|
|
|
14907
14933
|
},
|
|
14908
14934
|
initialActiveOverlayGroupIds: r(() => l.initialActiveOverlayGroupIds)
|
|
14909
14935
|
});
|
|
14910
|
-
O(wu,
|
|
14911
|
-
let
|
|
14912
|
-
let e = L.value, t =
|
|
14913
|
-
return !e || !t ? [] : (
|
|
14936
|
+
O(wu, yt), U(yt, (e) => d("active-overlay-group-ids-change", [...e]), { deep: !0 });
|
|
14937
|
+
let wt = new Set([us, ds]), Tt = k(void 0), Et = r(() => Ee.value?.id === "map"), Dt = r(() => Fe.value || V.value[0]?.value || "value"), Ot = r(() => "600px"), kt = r(() => {
|
|
14938
|
+
let e = L.value, t = Dt.value;
|
|
14939
|
+
return !e || !t ? [] : (vt.value ?? []).filter((t) => {
|
|
14914
14940
|
let n = String(t?.[e] ?? "");
|
|
14915
|
-
return !
|
|
14941
|
+
return !wt.has(n) && n !== "--SEPARATOR--";
|
|
14916
14942
|
}).map((n) => ({
|
|
14917
14943
|
[os]: String(n[e] ?? ""),
|
|
14918
14944
|
[t]: Number(n[t] ?? 0)
|
|
14919
14945
|
}));
|
|
14920
|
-
}),
|
|
14921
|
-
let e =
|
|
14946
|
+
}), At = r(() => {
|
|
14947
|
+
let e = Dt.value;
|
|
14922
14948
|
if (!e) return {
|
|
14923
14949
|
min: 0,
|
|
14924
14950
|
max: 0
|
|
14925
14951
|
};
|
|
14926
14952
|
let t = !1, n = Infinity, r = -Infinity;
|
|
14927
|
-
return
|
|
14953
|
+
return kt.value.forEach((i) => {
|
|
14928
14954
|
let a = Number(i[e]);
|
|
14929
14955
|
Number.isFinite(a) && (t = !0, n = Math.min(n, a), r = Math.max(r, a));
|
|
14930
14956
|
}), t ? {
|
|
@@ -14934,13 +14960,13 @@ var Qp = { style: {
|
|
|
14934
14960
|
min: 0,
|
|
14935
14961
|
max: 0
|
|
14936
14962
|
};
|
|
14937
|
-
}), At = r(() => {
|
|
14938
|
-
let e = xe(Et.value)?.valueFormatter;
|
|
14939
|
-
return typeof e == "function" ? (t) => String(e({ value: t }) ?? t) : (e) => e.toLocaleString("en-US");
|
|
14940
14963
|
}), jt = r(() => {
|
|
14941
|
-
let e = (
|
|
14964
|
+
let e = xe(Dt.value)?.valueFormatter;
|
|
14965
|
+
return typeof e == "function" ? (t) => String(e({ value: t }) ?? t) : (e) => e.toLocaleString("en-US");
|
|
14966
|
+
}), Mt = r(() => {
|
|
14967
|
+
let e = (vt.value ?? []).filter((e) => {
|
|
14942
14968
|
let t = e?.[L.value];
|
|
14943
|
-
return !
|
|
14969
|
+
return !wt.has(String(t));
|
|
14944
14970
|
});
|
|
14945
14971
|
if (!Q.value || ze.value.length === 0 || !He.value) return e;
|
|
14946
14972
|
let t = ze.value.filter((e) => {
|
|
@@ -14960,56 +14986,56 @@ var Qp = { style: {
|
|
|
14960
14986
|
}
|
|
14961
14987
|
return r;
|
|
14962
14988
|
});
|
|
14963
|
-
}),
|
|
14989
|
+
}), Nt = r(() => vt.value?.length || 0), Pt = r(() => l.enableChartScrolling), Ft = r(() => cn({
|
|
14964
14990
|
baseMinHeight: 450,
|
|
14965
|
-
dataCount:
|
|
14966
|
-
enableChartScrolling:
|
|
14991
|
+
dataCount: Nt.value,
|
|
14992
|
+
enableChartScrolling: Pt.value,
|
|
14967
14993
|
isHorizontalScrollingChart: $e.value,
|
|
14968
14994
|
itemHeight: 64
|
|
14969
|
-
})),
|
|
14995
|
+
})), It = r(() => {
|
|
14970
14996
|
let e = ln({
|
|
14971
|
-
enableChartScrolling:
|
|
14997
|
+
enableChartScrolling: Pt.value,
|
|
14972
14998
|
isHorizontalScrollingChart: $e.value
|
|
14973
14999
|
});
|
|
14974
15000
|
if (e) return $e.value ? {
|
|
14975
15001
|
...e,
|
|
14976
15002
|
maxHeight: "450px"
|
|
14977
15003
|
} : e;
|
|
14978
|
-
}),
|
|
14979
|
-
chartMinHeight:
|
|
14980
|
-
dataCount:
|
|
14981
|
-
enableChartScrolling:
|
|
15004
|
+
}), Lt = r(() => un({
|
|
15005
|
+
chartMinHeight: Ft.value,
|
|
15006
|
+
dataCount: Nt.value,
|
|
15007
|
+
enableChartScrolling: Pt.value,
|
|
14982
15008
|
isHorizontalScrollingChart: $e.value,
|
|
14983
15009
|
minContentWidth: 0,
|
|
14984
|
-
reserveWidth:
|
|
14985
|
-
})),
|
|
14986
|
-
let e = .25 * Math.exp(-.12 *
|
|
15010
|
+
reserveWidth: xt.value.length > 0 ? 255 : 0
|
|
15011
|
+
})), Rt = r(() => Q.value ? Pe.value : vt.value), zt = r(() => Vs(Rt.value, Fe.value, Q.value)), Bt = r(() => Xe.value.reduce((e, t) => Math.max(e, Vs(Rt.value, t, Q.value)), -Infinity)), Vt = r(() => Ze.value.reduce((e, t) => Math.max(e, Vs(Rt.value, t, Q.value)), -Infinity)), Ht = r(() => Hs(Rt.value, Fe.value, Q.value)), Ut = r(() => Xe.value.reduce((e, t) => Math.min(e, Hs(Rt.value, t, Q.value)), Infinity)), Wt = r(() => He.value?.fieldValues?.length || 0), Gt = r(() => {
|
|
15012
|
+
let e = .25 * Math.exp(-.12 * Nt.value);
|
|
14987
15013
|
return Math.min(Math.max(e, .05), .75);
|
|
14988
|
-
}),
|
|
15014
|
+
}), Kt = r(() => Wt.value > 5 ? .5 : 1), qt = r(() => Wt.value > 5 ? .25 : .1), Jt = r(() => !vt.value || vt.value?.length === 0 ? !0 : zt.value === -Infinity || Q.value === !0 && zt.value === 0), Yt = r(() => !!(l.enableFocusView && ue.value && J.value.length === 0 && l.percentOfFocusViewYKey && Fe.value && Fe.value === l.percentOfFocusViewYKey)), Xt = r(() => {
|
|
14989
15015
|
let e = xe(ue.value || ""), t = e?.headerName || e?.field || "Compare Field";
|
|
14990
15016
|
return Ns({
|
|
14991
15017
|
currentRowGroupColumnsLength: I.value.length,
|
|
14992
|
-
shouldShowFocusOverlayText:
|
|
14993
|
-
chartDataEmpty:
|
|
15018
|
+
shouldShowFocusOverlayText: Yt.value || l.focusRequired && J.value.length === 0,
|
|
15019
|
+
chartDataEmpty: Jt.value,
|
|
14994
15020
|
missingFocusText: l.missingFocusText,
|
|
14995
15021
|
displayGroupByName: t,
|
|
14996
15022
|
yAxisName: Je.value,
|
|
14997
15023
|
yAxisOptionCount: re.value
|
|
14998
15024
|
});
|
|
14999
|
-
}),
|
|
15025
|
+
}), Zt = r(() => Yt.value || q.value || !l.isLoading && Xt.value !== ""), Qt = r(() => {
|
|
15000
15026
|
let e = {};
|
|
15001
15027
|
e.overlays = { noData: { text: "" } };
|
|
15002
15028
|
let t = at.value ? [
|
|
15003
15029
|
{ [L.value]: cs },
|
|
15004
|
-
...
|
|
15030
|
+
...vt.value ?? [],
|
|
15005
15031
|
{ [L.value]: ls }
|
|
15006
|
-
] :
|
|
15007
|
-
e.data =
|
|
15032
|
+
] : vt.value;
|
|
15033
|
+
e.data = Zt.value ? [] : t, e.legend = {
|
|
15008
15034
|
toggleSeries: !1,
|
|
15009
15035
|
preventHidingAll: !0,
|
|
15010
15036
|
enabled: I.value.length > 1 || Re.value && ze.value.length > 0
|
|
15011
15037
|
};
|
|
15012
|
-
let n = (e) => rt.value ? [`${e}${fs}`] : Q.value ? He.value?.fieldValues.map((t) => Ls(e, String(t))) || [] : [e], r = [...Q.value ? He.value?.fieldValues.map((e) => Ls(Fe.value, e)) || [] : Fe.value ? [Fe.value] : [], ...Ze.value.flatMap(n)], i = Xe.value.flatMap(n), a = Ae.value.xAxis.hideLabel === !0 && !at.value, o = [];
|
|
15038
|
+
let n = (e) => rt.value ? [`${e}${fs}`] : Q.value && l.metricOverlayWithRowGroups ? [e] : Q.value ? He.value?.fieldValues.map((t) => Ls(e, String(t))) || [] : [e], r = [...Q.value ? He.value?.fieldValues.map((e) => Ls(Fe.value, e)) || [] : Fe.value ? [Fe.value] : [], ...Ze.value.flatMap(n)], i = Xe.value.flatMap(n), a = Ae.value.xAxis.hideLabel === !0 && !at.value, o = [];
|
|
15013
15039
|
if (o.push({
|
|
15014
15040
|
type: "category",
|
|
15015
15041
|
keys: [L.value],
|
|
@@ -15020,7 +15046,7 @@ var Qp = { style: {
|
|
|
15020
15046
|
stroke: "#666666",
|
|
15021
15047
|
strokeWidth: 1,
|
|
15022
15048
|
lineDash: [4, 4],
|
|
15023
|
-
strokeOpacity:
|
|
15049
|
+
strokeOpacity: St.value == null ? .7 : .15
|
|
15024
15050
|
}],
|
|
15025
15051
|
line: { enabled: !at.value },
|
|
15026
15052
|
label: {
|
|
@@ -15032,7 +15058,7 @@ var Qp = { style: {
|
|
|
15032
15058
|
formatter: Us({
|
|
15033
15059
|
hideLabel: a,
|
|
15034
15060
|
showDistributionRangeLabels: !!at.value,
|
|
15035
|
-
chartData:
|
|
15061
|
+
chartData: vt.value,
|
|
15036
15062
|
formatBucketBoundary: we,
|
|
15037
15063
|
columnValueFormatter: be(L.value),
|
|
15038
15064
|
enableFocusView: l.enableFocusView,
|
|
@@ -15040,11 +15066,11 @@ var Qp = { style: {
|
|
|
15040
15066
|
focusText: l.focusText
|
|
15041
15067
|
})
|
|
15042
15068
|
},
|
|
15043
|
-
paddingInner:
|
|
15044
|
-
paddingOuter: at.value ? 0 :
|
|
15045
|
-
groupPaddingInner:
|
|
15046
|
-
}), at.value &&
|
|
15047
|
-
let { categoryPadOffset: e, axisMin: t, axisMax: n } =
|
|
15069
|
+
paddingInner: Gt.value,
|
|
15070
|
+
paddingOuter: at.value ? 0 : Kt.value,
|
|
15071
|
+
groupPaddingInner: qt.value
|
|
15072
|
+
}), at.value && bt.value.length > 0) {
|
|
15073
|
+
let { categoryPadOffset: e, axisMin: t, axisMax: n } = Gp(vt.value?.length || 1, !0);
|
|
15048
15074
|
o.push({
|
|
15049
15075
|
type: "number",
|
|
15050
15076
|
keys: ["__dummy_x__"],
|
|
@@ -15057,11 +15083,11 @@ var Qp = { style: {
|
|
|
15057
15083
|
tick: { enabled: !1 },
|
|
15058
15084
|
line: { enabled: !1 },
|
|
15059
15085
|
gridLine: { enabled: !1 },
|
|
15060
|
-
crossLines:
|
|
15061
|
-
if (!
|
|
15062
|
-
let n =
|
|
15086
|
+
crossLines: bt.value.map((t) => {
|
|
15087
|
+
if (!vt.value) return null;
|
|
15088
|
+
let n = Wp(t.value, vt.value);
|
|
15063
15089
|
if (n == null) return null;
|
|
15064
|
-
let r =
|
|
15090
|
+
let r = St.value != null && t.key === St.value, i = St.value != null && !r;
|
|
15065
15091
|
return {
|
|
15066
15092
|
type: "line",
|
|
15067
15093
|
value: n + e,
|
|
@@ -15073,7 +15099,7 @@ var Qp = { style: {
|
|
|
15073
15099
|
}).filter((e) => e !== null)
|
|
15074
15100
|
});
|
|
15075
15101
|
}
|
|
15076
|
-
let s = Xe.value.length > 0, c = Xe.value.map((e) => ie(H.value, e)?.secondaryAxisMax).filter((e) => typeof e == "number"), u = s && c.length > 0 ? Math.max(...c) : void 0, d = s && Number.isFinite(
|
|
15102
|
+
let s = Xe.value.length > 0, c = Xe.value.map((e) => ie(H.value, e)?.secondaryAxisMax).filter((e) => typeof e == "number"), u = s && c.length > 0 ? Math.max(...c) : void 0, d = s && Number.isFinite(Ht.value) && Ht.value < 0, f = s && Number.isFinite(Ut.value) && Ut.value < 0, p = d || f, m = s ? Ms(Math.max(zt.value, Vt.value), 5) : 0, h = s ? u ?? Ms(Bt.value, 5) : 0, g = s && !p && m > 0 && h > 0;
|
|
15077
15103
|
if (o.push({
|
|
15078
15104
|
type: "number",
|
|
15079
15105
|
keys: r,
|
|
@@ -15113,8 +15139,8 @@ var Qp = { style: {
|
|
|
15113
15139
|
text: Qe.value,
|
|
15114
15140
|
...et.value === "scatter" ? { color: _t } : {}
|
|
15115
15141
|
}
|
|
15116
|
-
}), at.value &&
|
|
15117
|
-
let e = Number.isFinite(
|
|
15142
|
+
}), at.value && bt.value.length > 0) {
|
|
15143
|
+
let e = Number.isFinite(zt.value) ? zt.value : 0;
|
|
15118
15144
|
o.push({
|
|
15119
15145
|
type: "number",
|
|
15120
15146
|
keys: ["__dummy_y__"],
|
|
@@ -15130,39 +15156,39 @@ var Qp = { style: {
|
|
|
15130
15156
|
});
|
|
15131
15157
|
}
|
|
15132
15158
|
return e.axes = o, e.series = tt.value, e;
|
|
15133
|
-
}),
|
|
15159
|
+
}), $t = r(() => M.value || l.isLoading && (!vt.value || vt.value.length === 0)), en = r(() => Yt.value || !q.value && !l.isLoading && Xt.value !== ""), tn = (e) => {
|
|
15134
15160
|
b.value = e, d("chart-collapsed", e);
|
|
15135
|
-
},
|
|
15136
|
-
p.value && (p.value.setRowGroupColumns(e ? I.value : []),
|
|
15161
|
+
}, rn = (e) => {
|
|
15162
|
+
p.value && (p.value.setRowGroupColumns(e ? I.value : []), le.value = e);
|
|
15137
15163
|
};
|
|
15138
|
-
function
|
|
15164
|
+
function an(e) {
|
|
15139
15165
|
return e?.hydrate ? m.value?.getFilterValueSelectedMetadataMap({ hydrate: !0 }) : m.value?.getFilterValueSelectedMetadataMap();
|
|
15140
15166
|
}
|
|
15141
15167
|
return n({
|
|
15142
|
-
getChartImageDataURL: (e) =>
|
|
15168
|
+
getChartImageDataURL: (e) => Et.value ? g.value?.getChartImageDataURL(e) : h.value?.getChartImageDataURL(e),
|
|
15143
15169
|
getCsvData: () => m.value?.getCsvData(),
|
|
15144
|
-
refreshData: (e) => (p.value &&
|
|
15145
|
-
getFilterValueSelectedMetadataMap:
|
|
15170
|
+
refreshData: (e) => (p.value && pt(p.value), m.value?.refreshData(e)),
|
|
15171
|
+
getFilterValueSelectedMetadataMap: an,
|
|
15146
15172
|
getPvFilterModel: () => m.value?.getPvFilterModel(),
|
|
15147
15173
|
setPvFilterModel: (e) => m.value?.setPvFilterModel(e),
|
|
15148
|
-
getChipSections: () =>
|
|
15174
|
+
getChipSections: () => xt.value
|
|
15149
15175
|
}), S(() => {
|
|
15150
15176
|
if (l.initialGridState) {
|
|
15151
15177
|
let e = l.initialGridState.rowGroup?.groupColIds || [];
|
|
15152
|
-
I.value = e, !l.allFieldsAreFocusable && e.length > 0 &&
|
|
15178
|
+
I.value = e, !l.allFieldsAreFocusable && e.length > 0 && G.setFocusType(e[0]);
|
|
15153
15179
|
}
|
|
15154
15180
|
}), T(async () => {
|
|
15155
15181
|
await v(), w.value = l.filterPanelAboveChart;
|
|
15156
|
-
}), (n, r) => (D(), o("div",
|
|
15182
|
+
}), (n, r) => (D(), o("div", Zp, [
|
|
15157
15183
|
s("div", {
|
|
15158
15184
|
class: y(["pv-stack-16", { "pv-flex": A.value }]),
|
|
15159
15185
|
style: x(A.value ? "--flex-wrap: wrap-reverse" : void 0)
|
|
15160
15186
|
}, [s("div", {
|
|
15161
15187
|
id: C,
|
|
15162
15188
|
style: x(A.value ? "flex: 1 1 auto; min-width: 0" : void 0)
|
|
15163
|
-
}, null, 4), A.value ? (D(), o("div",
|
|
15189
|
+
}, null, 4), A.value ? (D(), o("div", Qp, [j(n.$slots, "filter-panel-actions")])) : a("", !0)], 6),
|
|
15164
15190
|
j(n.$slots, "above-chart"),
|
|
15165
|
-
e.hideChart ? a("", !0) : (D(), o("div",
|
|
15191
|
+
e.hideChart ? a("", !0) : (D(), o("div", $p, [
|
|
15166
15192
|
u(Kn, {
|
|
15167
15193
|
rightIcon: "chevrons-down-up",
|
|
15168
15194
|
label: "Collapse",
|
|
@@ -15171,10 +15197,10 @@ var Qp = { style: {
|
|
|
15171
15197
|
"margin-left": "0.5rem"
|
|
15172
15198
|
},
|
|
15173
15199
|
variant: "secondary",
|
|
15174
|
-
onClick: r[0] ||= (e) =>
|
|
15200
|
+
onClick: r[0] ||= (e) => tn(!b.value),
|
|
15175
15201
|
class: y(e.hideChart || b.value ? "pv-hide" : "")
|
|
15176
15202
|
}, null, 8, ["class"]),
|
|
15177
|
-
s("div", { class: y(e.hideChart || !b.value ? "pv-hide" : "pv-space-between") }, [s("div",
|
|
15203
|
+
s("div", { class: y(e.hideChart || !b.value ? "pv-hide" : "pv-space-between") }, [s("div", em, [u(Hn, {
|
|
15178
15204
|
name: "chart-line",
|
|
15179
15205
|
size: 20,
|
|
15180
15206
|
class: "pv-text-subdued"
|
|
@@ -15185,15 +15211,17 @@ var Qp = { style: {
|
|
|
15185
15211
|
rightIcon: "chevron-selector",
|
|
15186
15212
|
label: "Expand",
|
|
15187
15213
|
variant: "secondary",
|
|
15188
|
-
onClick: r[1] ||= (e) =>
|
|
15214
|
+
onClick: r[1] ||= (e) => tn(!b.value)
|
|
15189
15215
|
})], 2),
|
|
15190
|
-
s("div", { class: y(e.hideChart || b.value ? "pv-hide" : "") }, [u(
|
|
15191
|
-
enablePanel:
|
|
15216
|
+
s("div", { class: y(e.hideChart || b.value ? "pv-hide" : "") }, [u(Hp, {
|
|
15217
|
+
enablePanel: vt.value != null && vt.value.length > 0,
|
|
15192
15218
|
chartFilter: e.chartFilter,
|
|
15193
15219
|
rowGroupLimit: Z.value,
|
|
15194
15220
|
"use-combined-button": l.enableCombinedChartConfigPanel,
|
|
15195
15221
|
"use-nested-menu": l.enableNestedChartConfigPanel,
|
|
15196
15222
|
"chart-config-options": l.chartConfigPanelOptions,
|
|
15223
|
+
"locked-row-group-col-ids": l.lockedRowGroupColIds,
|
|
15224
|
+
"metric-overlay-with-row-groups": l.metricOverlayWithRowGroups,
|
|
15197
15225
|
"read-only": l.chartConfigPanelReadOnly,
|
|
15198
15226
|
"percent-of-focus-view-y-key": l.percentOfFocusViewYKey,
|
|
15199
15227
|
onSeriesAggFuncSelected: he
|
|
@@ -15204,31 +15232,33 @@ var Qp = { style: {
|
|
|
15204
15232
|
"use-combined-button",
|
|
15205
15233
|
"use-nested-menu",
|
|
15206
15234
|
"chart-config-options",
|
|
15235
|
+
"locked-row-group-col-ids",
|
|
15236
|
+
"metric-overlay-with-row-groups",
|
|
15207
15237
|
"read-only",
|
|
15208
15238
|
"percent-of-focus-view-y-key"
|
|
15209
|
-
]), s("div",
|
|
15239
|
+
]), s("div", tm, [R(xt).length > 0 ? (D(), i(bp, {
|
|
15210
15240
|
key: 0,
|
|
15211
|
-
sections: R(
|
|
15212
|
-
onChipHover: r[2] ||= (e) =>
|
|
15241
|
+
sections: R(xt),
|
|
15242
|
+
onChipHover: r[2] ||= (e) => St.value = e
|
|
15213
15243
|
}, null, 8, ["sections"])) : a("", !0), s("div", {
|
|
15214
15244
|
class: "pv-relative pv-margin-auto pv-flex-item",
|
|
15215
|
-
style: x(
|
|
15216
|
-
}, [
|
|
15245
|
+
style: x(Et.value ? { height: Ot.value } : void 0)
|
|
15246
|
+
}, [Et.value ? (D(), i(qo, {
|
|
15217
15247
|
key: 0,
|
|
15218
15248
|
ref_key: "pvMapChartRef",
|
|
15219
15249
|
ref: g,
|
|
15220
|
-
selectedRegion:
|
|
15221
|
-
"onUpdate:selectedRegion": r[3] ||= (e) =>
|
|
15222
|
-
chartData:
|
|
15223
|
-
seriesKey:
|
|
15250
|
+
selectedRegion: Tt.value,
|
|
15251
|
+
"onUpdate:selectedRegion": r[3] ||= (e) => Tt.value = e,
|
|
15252
|
+
chartData: kt.value,
|
|
15253
|
+
seriesKey: Dt.value,
|
|
15224
15254
|
seriesLabel: Je.value,
|
|
15225
15255
|
clickable: !1,
|
|
15226
15256
|
displayRegionSelector: !1,
|
|
15227
|
-
gradientLegendMin:
|
|
15228
|
-
gradientLegendMax:
|
|
15229
|
-
seriesValueFormatter:
|
|
15230
|
-
isLoading:
|
|
15231
|
-
noDataMessage:
|
|
15257
|
+
gradientLegendMin: At.value.min,
|
|
15258
|
+
gradientLegendMax: At.value.max,
|
|
15259
|
+
seriesValueFormatter: jt.value,
|
|
15260
|
+
isLoading: $t.value,
|
|
15261
|
+
noDataMessage: Xt.value
|
|
15232
15262
|
}, null, 8, [
|
|
15233
15263
|
"selectedRegion",
|
|
15234
15264
|
"chartData",
|
|
@@ -15241,29 +15271,30 @@ var Qp = { style: {
|
|
|
15241
15271
|
"noDataMessage"
|
|
15242
15272
|
])) : (D(), o("div", {
|
|
15243
15273
|
key: 1,
|
|
15244
|
-
class: y(["pv-data-table-with-chart__chart-scroll", { "pv-data-table-with-chart__chart-scroll--enabled pv-scrollbar-visible":
|
|
15245
|
-
style: x(
|
|
15274
|
+
class: y(["pv-data-table-with-chart__chart-scroll", { "pv-data-table-with-chart__chart-scroll--enabled pv-scrollbar-visible": Pt.value }]),
|
|
15275
|
+
style: x(It.value)
|
|
15246
15276
|
}, [s("div", {
|
|
15247
15277
|
class: "pv-data-table-with-chart__chart-content",
|
|
15248
|
-
style: x(
|
|
15249
|
-
}, [
|
|
15278
|
+
style: x(Lt.value)
|
|
15279
|
+
}, [(D(), i(nn, {
|
|
15250
15280
|
ref_key: "pvChartRef",
|
|
15251
15281
|
ref: h,
|
|
15252
|
-
|
|
15253
|
-
|
|
15282
|
+
key: ct.value,
|
|
15283
|
+
isLoading: $t.value,
|
|
15284
|
+
options: Qt.value,
|
|
15254
15285
|
enableFocusView: e.enableFocusView,
|
|
15255
|
-
minHeight:
|
|
15286
|
+
minHeight: Ft.value
|
|
15256
15287
|
}, null, 8, [
|
|
15257
15288
|
"isLoading",
|
|
15258
15289
|
"options",
|
|
15259
15290
|
"enableFocusView",
|
|
15260
15291
|
"minHeight"
|
|
15261
|
-
]), R(
|
|
15292
|
+
])), R(Ct) ? (D(), o("div", {
|
|
15262
15293
|
key: 0,
|
|
15263
|
-
class: y(["ag-charts-tooltip pv-data-table-with-chart__crossline-tooltip pv-tooltip-v2-content", R(
|
|
15294
|
+
class: y(["ag-charts-tooltip pv-data-table-with-chart__crossline-tooltip pv-tooltip-v2-content", R(Ct).arrowClass]),
|
|
15264
15295
|
"data-variant": "white",
|
|
15265
|
-
style: x(R(
|
|
15266
|
-
}, [s("div",
|
|
15296
|
+
style: x(R(Ct).style)
|
|
15297
|
+
}, [s("div", nm, [s("div", rm, P(R(Ct).label), 1), s("div", im, P(R(Ct).value), 1)])], 6)) : a("", !0)], 4)], 6)), Et.value ? a("", !0) : (D(), o("div", am, [q.value ? (D(), o("div", om, [(D(), i(N(e.emptyChartFilterRenderer)))])) : en.value ? (D(), o("p", sm, P(Xt.value), 1)) : a("", !0)]))], 4)])], 2)
|
|
15267
15298
|
])),
|
|
15268
15299
|
u(Kf, _({
|
|
15269
15300
|
ref_key: "pvDataTableRef",
|
|
@@ -15271,7 +15302,7 @@ var Qp = { style: {
|
|
|
15271
15302
|
}, n.$props, {
|
|
15272
15303
|
filterTeleportLocation: w.value ? `#${C}` : void 0,
|
|
15273
15304
|
wrapHorizontalFilters: l.wrapHorizontalFilters || A.value,
|
|
15274
|
-
pagination: e.pagination || !
|
|
15305
|
+
pagination: e.pagination || !le.value,
|
|
15275
15306
|
onColumnRowGroupChanged: _e,
|
|
15276
15307
|
onColumnValueChanged: me,
|
|
15277
15308
|
onGridReady: Y,
|
|
@@ -15284,18 +15315,18 @@ var Qp = { style: {
|
|
|
15284
15315
|
onHandleSettingsIcon: r[8] ||= (e) => d("handle-settings-icon", e),
|
|
15285
15316
|
onFocusUpdate: r[9] ||= (e) => d("focus-update", e)
|
|
15286
15317
|
}), {
|
|
15287
|
-
"top-slot": W(() => [e.enableGroupingToggle ? (D(), o(t, { key: 0 }, [e.tableConfigOptions ? (D(), i(
|
|
15318
|
+
"top-slot": W(() => [e.enableGroupingToggle ? (D(), o(t, { key: 0 }, [e.tableConfigOptions ? (D(), i(pp, {
|
|
15288
15319
|
key: 0,
|
|
15289
|
-
groupedModeEnabled:
|
|
15320
|
+
groupedModeEnabled: le.value,
|
|
15290
15321
|
tableConfigOptions: l.tableConfigOptions,
|
|
15291
|
-
onToggleGroup:
|
|
15292
|
-
onTableOverlayChange:
|
|
15322
|
+
onToggleGroup: rn,
|
|
15323
|
+
onTableOverlayChange: K,
|
|
15293
15324
|
onColumnConfigChange: pe
|
|
15294
15325
|
}, null, 8, ["groupedModeEnabled", "tableConfigOptions"])) : (D(), i(Kn, {
|
|
15295
15326
|
key: 1,
|
|
15296
|
-
leftIcon:
|
|
15297
|
-
label:
|
|
15298
|
-
onClick: r[4] ||= (e) =>
|
|
15327
|
+
leftIcon: le.value ? "ungroup" : "group",
|
|
15328
|
+
label: le.value ? "Ungroup Table" : "Group Table to Match Chart",
|
|
15329
|
+
onClick: r[4] ||= (e) => rn(!le.value),
|
|
15299
15330
|
variant: "secondary",
|
|
15300
15331
|
size: "lg"
|
|
15301
15332
|
}, null, 8, ["leftIcon", "label"]))], 64)) : a("", !0), j(n.$slots, "top-slot")]),
|
|
@@ -15307,7 +15338,7 @@ var Qp = { style: {
|
|
|
15307
15338
|
])
|
|
15308
15339
|
]));
|
|
15309
15340
|
}
|
|
15310
|
-
}),
|
|
15341
|
+
}), lm = "Unable to load data", um = (e, t = {}) => {
|
|
15311
15342
|
let n = k([]), i = k(!1), a = k(), o = 0, s = async () => {
|
|
15312
15343
|
let t = ++o;
|
|
15313
15344
|
i.value = !0;
|
|
@@ -15337,6 +15368,6 @@ var Qp = { style: {
|
|
|
15337
15368
|
};
|
|
15338
15369
|
};
|
|
15339
15370
|
//#endregion
|
|
15340
|
-
export {
|
|
15371
|
+
export { lm as DEFAULT_DATA_WIDGET_ERROR_TEXT, wt as PitViperAGChartsMonochromeTheme, Ct as PitViperAGChartsMonochromeThemeName, Et as PitViperAGChartsMulticolorTheme, Tt as PitViperAGChartsMulticolorThemeName, nn as PvChart, wn as PvChartWidget, Kf as PvDataTable, cm as PvDataTableWithChart, fc as PvDataWidget, qo as PvMapChart, Kl as RumContextKey, _t as SCATTER_MARKER_STROKE, Jl as addRumAction, cd as constructAdvancedFilterCondition, ld as convertFilterModelToAdvanced, Vd as createPvDataTableFilterStore, Yl as deferRumTask, Id as excludeValueFromSetFilter, hd as filterModelContainsColId, Dd as filterModelsEqual, Md as getSelectedValues, Ad as getSelectedValuesFromAdvancedFilterModel, xd as getSelectedValuesFromFilterModel, jd as getSelectedValuesFromFilterModelByColId, Sd as isAdvancedFilterModel, wd as isFilterModelEmpty, Od as mergeAdvancedFilterCondition, gd as mergeFilterModels, Hd as providePvDataTableFilterStore, Nd as removeColumnFilter, kd as removeColumnFromAdvancedFilter, Fd as updateMultiOrSetFilter, Pd as updateSetFilter, Wd as usePvDataTableFilterStore, um as usePvDataWidgetData, ql as useRumContext };
|
|
15341
15372
|
|
|
15342
15373
|
//# sourceMappingURL=pv-components-visualizations.mjs.map
|