@turquoisehealth/pit-viper 2.252.0 → 2.252.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/pv-components/dist/stats/vue/base/stats.html +1 -1
- package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
- package/pv-components/dist/stats/web/pv-action-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-hover-action-menu-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-v2-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-segmented-control-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-sidebar-v2-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-sortable-list-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tabs-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
- package/pv-components/dist/vue/ai/components/base/PvPopoverV2/types.d.ts +8 -0
- package/pv-components/dist/vue/ai/components/base/PvPopoverV2/useHoverPopoverGroup.d.ts +4 -1
- package/pv-components/dist/vue/base/components/base/PvPopoverV2/types.d.ts +8 -0
- package/pv-components/dist/vue/base/components/base/PvPopoverV2/useHoverPopoverGroup.d.ts +4 -1
- package/pv-components/dist/vue/base/pv-components-base.mjs +73 -70
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/types.d.ts +8 -0
- package/pv-components/dist/vue/visualizations/components/base/PvPopoverV2/useHoverPopoverGroup.d.ts +4 -1
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +6 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +415 -412
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/components/pv-action-button/pv-action-button.js +226 -223
- package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +1735 -1732
- package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +356 -353
- package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +650 -647
- package/pv-components/dist/web/components/pv-menu/pv-menu.js +1241 -1238
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +421 -418
- package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +108 -106
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +70 -67
- package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +343 -340
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +146 -143
- package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +805 -802
- package/pv-components/dist/web/components/pv-sortable-list/pv-sortable-list.js +362 -359
- package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +694 -692
- package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +736 -734
- package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +177 -174
- package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +227 -224
- package/pv-components/dist/web/pv-components.iife.js +2 -2
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.pv-scatter-overlay[data-v-90841b4f]{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-90841b4f]{display:flex;overflow:hidden}.pv-scatter-quadrant-box[data-v-90841b4f]{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-90841b4f]{grid-area:1/1;justify-content:flex-start;align-items:flex-start;padding:5px}.pv-scatter-quadrant-top-right[data-v-90841b4f]{grid-area:1/2;justify-content:flex-end;align-items:flex-start;padding:5px}.pv-scatter-quadrant-bottom-left[data-v-90841b4f]{grid-area:2/1;justify-content:flex-start;align-items:flex-end;padding:5px}.pv-scatter-quadrant-bottom-right[data-v-90841b4f]{grid-area:2/2;justify-content:flex-end;align-items:flex-end;padding:5px}.pv-chart-loading[data-v-90841b4f]{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-90841b4f]{color:var(--color-text-brand,#16696d);animation:1.5s ease-in-out infinite pulse-90841b4f}@keyframes pulse-90841b4f{0%{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}.pv-chart-widget[data-v-3af31f33]{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-3af31f33]{overflow:hidden}.pv-chart-widget__chart-area[data-v-3af31f33]{flex:auto;width:100%;min-height:0;position:relative;overflow:hidden}.pv-chart-widget__chart-scroll[data-v-3af31f33]{width:100%;height:100%;min-height:0}.pv-chart-widget__chart-content[data-v-3af31f33]{height:100%;min-height:100%}.pv-badge-md[data-v-c578e86e]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-c578e86e]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-rounded[data-v-c578e86e]{border-radius:50%}.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-95164932]{flex-direction:column;width:100%;height:100%;display:flex}.pv-map-chart__header[data-v-95164932]{flex:none}.pv-map-chart__chart[data-v-95164932]{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}.pv-text-tertiary[data-v-e1952fbc]{color:var(--color-text-quaternary,#89989b)}.pv-button-placeholder[data-v-e1952fbc]{width:24px;height:24px}.pv-sort-option[data-v-e1952fbc]{--flex-gap:4px;cursor:grab;min-height:24px}.pv-sort-option-locked[data-v-e1952fbc]{cursor:default}.pv-menu-item-disabled[data-v-e1952fbc]{pointer-events:none;color:var(--text-input-disabled-text-color,#7d898d)}.placeholder-zone[data-v-e1952fbc]{transition:background-color .2s}.pv-placeholder-dropzone[data-v-e1952fbc]{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-e1952fbc]{background:#f0f9f9;border-color:var(--color-border-brand,#16696d)!important}.sort-divider-container[data-v-e1952fbc]{display:flex}.sort-divider[data-v-e1952fbc]{border-top:1px solid var(--color-border,#e3e7ea);flex:1;margin:1rem 0;position:relative}.sort-divider[data-v-e1952fbc]: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%)}.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-28185720]{align-items:center;height:100%}.ag-header-actions .ag-header-cell-menu-button[data-v-28185720]{opacity:0;transition:opacity .2s ease-in-out}.ag-header-cell-menu-button:hover .ag-header-actions .ag-header-cell-menu-button[data-v-28185720],.ag-header-cell-menu-button:focus .ag-header-actions .ag-header-cell-menu-button[data-v-28185720]{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-pivot-group-header{--flex-gap:0;justify-content:center;min-width:0}.pv-pivot-group-header__name{-webkit-line-clamp:2;line-clamp:2;white-space:normal;overflow-wrap:anywhere;-webkit-box-orient:vertical;line-height:1.25;display:-webkit-box;overflow:hidden}.ag-header-group-cell.pv-pivot-group{--ag-header-cell-hover-background-color:transparent;--ag-header-cell-moving-background-color:transparent;border-radius:6px 6px 0 0;overflow:hidden}.ag-header-group-cell.pv-pivot-group:before{content:"";background-color:var(--pv-pivot-group-color,transparent);height:4px;position:absolute;top:0;left:0;right:0}.pv-data-table--pivot .ag-root-wrapper{border-top-color:#0000;border-left-color:#0000;border-top-left-radius:0}.pv-data-table--pivot .ag-header-group-cell-no-group,.pv-data-table--pivot .ag-header-group-cell-no-group:hover{background-color:#0000}.pv-data-table--pivot .ag-pinned-left-header{border-right-color:#0000}.pv-data-table--pivot .ag-pinned-left-header .ag-header-cell{border-top:var(--ag-wrapper-border);border-top-left-radius:var(--ag-wrapper-border-radius,8px)}.pv-data-table--pivot .ag-pinned-left-cols-container .ag-row-last{border-bottom-left-radius:var(--ag-wrapper-border-radius,8px)}.pv-data-table--pivot .ag-pinned-left-cols-container .ag-cell-last-left-pinned{border-right-color:#0000!important}.pv-data-table--pivot .ag-pinned-left-header .ag-header-cell,.pv-data-table--pivot .ag-pinned-left-cols-container .ag-row{border-left:var(--ag-wrapper-border)}.ag-header-group-cell.pv-pivot-group--highlight,.ag-header-cell.pv-pivot-column-header{background-color:var(--color-background-accent,#f7f8f8)}.ag-header-cell.pv-pivot-column-header+.ag-header-cell.pv-pivot-column-header,.ag-header-group-cell.pv-pivot-group,.ag-header-cell.pv-pivot-group-start,.ag-cell.pv-pivot-group-start{border-left:1px solid var(--color-border,#e3e7ea)}.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)}.ag-tooltip-custom.ag-tooltip-animate{transition:none}.ag-tooltip-custom.ag-tooltip-hiding{display:none}.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}[data-v-8feeccf1] .pv-legacy-chart-menu-nested:after{content:"›";margin-left:auto}[data-v-8feeccf1] .pv-legacy-chart-menu-nested-active{background-color:var(--popover-list-selected-item-background-color,#e4f8f6)}[data-v-8feeccf1] .pv-legacy-chart-option{min-width:150px;max-width:225px}.pv-chart-config-popover{width:max-content;max-width:500px}.pv-data-table-with-chart__chart-scroll{contain:inline-size;width:100%;min-height:0;overflow:hidden}.pv-data-table-with-chart__chart-content{min-height:100%}.pv-chart-overlay{pointer-events:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ag-charts-tooltip{background-color:#fffffff2}.pv-data-table-with-chart__crossline-tooltip.ag-charts-tooltip{border-radius:4px;box-shadow:0 0 8px #0000001f}.ag-charts-floating-toolbar{display:none!important}
|
|
1
|
+
(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.pv-scatter-overlay[data-v-90841b4f]{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-90841b4f]{display:flex;overflow:hidden}.pv-scatter-quadrant-box[data-v-90841b4f]{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-90841b4f]{grid-area:1/1;justify-content:flex-start;align-items:flex-start;padding:5px}.pv-scatter-quadrant-top-right[data-v-90841b4f]{grid-area:1/2;justify-content:flex-end;align-items:flex-start;padding:5px}.pv-scatter-quadrant-bottom-left[data-v-90841b4f]{grid-area:2/1;justify-content:flex-start;align-items:flex-end;padding:5px}.pv-scatter-quadrant-bottom-right[data-v-90841b4f]{grid-area:2/2;justify-content:flex-end;align-items:flex-end;padding:5px}.pv-chart-loading[data-v-90841b4f]{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-90841b4f]{color:var(--color-text-brand,#16696d);animation:1.5s ease-in-out infinite pulse-90841b4f}@keyframes pulse-90841b4f{0%{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}.pv-chart-widget[data-v-3af31f33]{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-3af31f33]{overflow:hidden}.pv-chart-widget__chart-area[data-v-3af31f33]{flex:auto;width:100%;min-height:0;position:relative;overflow:hidden}.pv-chart-widget__chart-scroll[data-v-3af31f33]{width:100%;height:100%;min-height:0}.pv-chart-widget__chart-content[data-v-3af31f33]{height:100%;min-height:100%}.pv-badge-md[data-v-c578e86e]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-c578e86e]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-rounded[data-v-c578e86e]{border-radius:50%}.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-951d1d02]{z-index:50}.pv-popover-list>li[data-v-951d1d02]:last-child>.pv-label{margin-block-end:0}[data-v-951d1d02] .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-95164932]{flex-direction:column;width:100%;height:100%;display:flex}.pv-map-chart__header[data-v-95164932]{flex:none}.pv-map-chart__chart[data-v-95164932]{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}.pv-text-tertiary[data-v-e1952fbc]{color:var(--color-text-quaternary,#89989b)}.pv-button-placeholder[data-v-e1952fbc]{width:24px;height:24px}.pv-sort-option[data-v-e1952fbc]{--flex-gap:4px;cursor:grab;min-height:24px}.pv-sort-option-locked[data-v-e1952fbc]{cursor:default}.pv-menu-item-disabled[data-v-e1952fbc]{pointer-events:none;color:var(--text-input-disabled-text-color,#7d898d)}.placeholder-zone[data-v-e1952fbc]{transition:background-color .2s}.pv-placeholder-dropzone[data-v-e1952fbc]{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-e1952fbc]{background:#f0f9f9;border-color:var(--color-border-brand,#16696d)!important}.sort-divider-container[data-v-e1952fbc]{display:flex}.sort-divider[data-v-e1952fbc]{border-top:1px solid var(--color-border,#e3e7ea);flex:1;margin:1rem 0;position:relative}.sort-divider[data-v-e1952fbc]: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%)}.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-28185720]{align-items:center;height:100%}.ag-header-actions .ag-header-cell-menu-button[data-v-28185720]{opacity:0;transition:opacity .2s ease-in-out}.ag-header-cell-menu-button:hover .ag-header-actions .ag-header-cell-menu-button[data-v-28185720],.ag-header-cell-menu-button:focus .ag-header-actions .ag-header-cell-menu-button[data-v-28185720]{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-pivot-group-header{--flex-gap:0;justify-content:center;min-width:0}.pv-pivot-group-header__name{-webkit-line-clamp:2;line-clamp:2;white-space:normal;overflow-wrap:anywhere;-webkit-box-orient:vertical;line-height:1.25;display:-webkit-box;overflow:hidden}.ag-header-group-cell.pv-pivot-group{--ag-header-cell-hover-background-color:transparent;--ag-header-cell-moving-background-color:transparent;border-radius:6px 6px 0 0;overflow:hidden}.ag-header-group-cell.pv-pivot-group:before{content:"";background-color:var(--pv-pivot-group-color,transparent);height:4px;position:absolute;top:0;left:0;right:0}.pv-data-table--pivot .ag-root-wrapper{border-top-color:#0000;border-left-color:#0000;border-top-left-radius:0}.pv-data-table--pivot .ag-header-group-cell-no-group,.pv-data-table--pivot .ag-header-group-cell-no-group:hover{background-color:#0000}.pv-data-table--pivot .ag-pinned-left-header{border-right-color:#0000}.pv-data-table--pivot .ag-pinned-left-header .ag-header-cell{border-top:var(--ag-wrapper-border);border-top-left-radius:var(--ag-wrapper-border-radius,8px)}.pv-data-table--pivot .ag-pinned-left-cols-container .ag-row-last{border-bottom-left-radius:var(--ag-wrapper-border-radius,8px)}.pv-data-table--pivot .ag-pinned-left-cols-container .ag-cell-last-left-pinned{border-right-color:#0000!important}.pv-data-table--pivot .ag-pinned-left-header .ag-header-cell,.pv-data-table--pivot .ag-pinned-left-cols-container .ag-row{border-left:var(--ag-wrapper-border)}.ag-header-group-cell.pv-pivot-group--highlight,.ag-header-cell.pv-pivot-column-header{background-color:var(--color-background-accent,#f7f8f8)}.ag-header-cell.pv-pivot-column-header+.ag-header-cell.pv-pivot-column-header,.ag-header-group-cell.pv-pivot-group,.ag-header-cell.pv-pivot-group-start,.ag-cell.pv-pivot-group-start{border-left:1px solid var(--color-border,#e3e7ea)}.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)}.ag-tooltip-custom.ag-tooltip-animate{transition:none}.ag-tooltip-custom.ag-tooltip-hiding{display:none}.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}[data-v-8feeccf1] .pv-legacy-chart-menu-nested:after{content:"›";margin-left:auto}[data-v-8feeccf1] .pv-legacy-chart-menu-nested-active{background-color:var(--popover-list-selected-item-background-color,#e4f8f6)}[data-v-8feeccf1] .pv-legacy-chart-option{min-width:150px;max-width:225px}.pv-chart-config-popover{width:max-content;max-width:500px}.pv-data-table-with-chart__chart-scroll{contain:inline-size;width:100%;min-height:0;overflow:hidden}.pv-data-table-with-chart__chart-content{min-height:100%}.pv-chart-overlay{pointer-events:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ag-charts-tooltip{background-color:#fffffff2}.pv-data-table-with-chart__crossline-tooltip.ag-charts-tooltip{border-radius:4px;box-shadow:0 0 8px #0000001f}.ag-charts-floating-toolbar{display:none!important}
|
|
2
2
|
/*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();import * as e from "vue";
|
|
3
|
-
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, toValue as R, unref as z, useAttrs as B, useId as te, useModel as V, useSlots as ne, useTemplateRef as re, vModelCheckbox as ie, vModelText as H, vShow as U, watch as W, withCtx as G, withDirectives as ae, withKeys as K, withModifiers as
|
|
4
|
-
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, toValue as R, unref as z, useAttrs as B, useId as te, useModel as V, useSlots as ne, useTemplateRef as re, vModelCheckbox as ie, vModelText as H, vShow as U, watch as W, withCtx as G, withDirectives as ae, withKeys as K, withModifiers as q } from "vue";
|
|
4
|
+
import { onClickOutside as J, onKeyStroke as Y, toRef as oe, useDebounceFn as se, useElementBounding as ce, useElementHover as X, useElementSize as le, useToggle as ue, useWindowSize as de, watchDebounced as fe } from "@vueuse/core";
|
|
5
5
|
import { useSortable as pe } from "@vueuse/integrations/useSortable.mjs";
|
|
6
6
|
import { AgGridVue as me } from "ag-grid-vue3";
|
|
7
7
|
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 je, ScrollApiModule as Me, SelectEditorModule as Z, TextEditorModule as Ne, TextFilterModule as Pe, UndoRedoEditModule as Fe, themeQuartz as Ie } from "ag-grid-community";
|
|
@@ -543,7 +543,7 @@ var Xt = { style: { position: "relative" } }, Zt = {
|
|
|
543
543
|
},
|
|
544
544
|
emits: ["series-visibility-change"],
|
|
545
545
|
setup(e, { expose: t, emit: n }) {
|
|
546
|
-
let i = e, c = n, l = k(null), d = k(null), f = k(null), { width: p } =
|
|
546
|
+
let i = e, c = n, l = k(null), d = k(null), f = k(null), { width: p } = le(l), { height: m } = le(d), h = r(() => p.value > 0 ? p.value : typeof window < "u" && window.innerWidth > 0 ? window.innerWidth : 800), g = r(() => h.value < 250 || i.miniChart === "always" ? !0 : i.miniChart === "auto" && h.value < 400), _ = r(() => Math.max(m.value, 200)), v = r(() => Dn(i.options, {
|
|
547
547
|
dataLimit: i.dataLimit,
|
|
548
548
|
showAxes: i.showAxes
|
|
549
549
|
})), b = r(() => Cn(v.value)), S = r(() => wn(v.value)), C = r(() => mn({
|
|
@@ -1750,7 +1750,7 @@ function ra(e, t = {}) {
|
|
|
1750
1750
|
//#region src/components/base/PvPopoverV2/useHoverPopoverGroup.ts
|
|
1751
1751
|
var ia = /* @__PURE__ */ new Set(), aa = (e, t) => {
|
|
1752
1752
|
let n = t.root.value;
|
|
1753
|
-
return n ? !!(e.root.value?.contains(n) || e.floating?.value?.contains(n)) : !1;
|
|
1753
|
+
return n ? !!(e.root.value?.contains(n) || e.floating?.value?.contains(n) || e.hoverArea?.value?.contains(n)) : !1;
|
|
1754
1754
|
}, oa = (e) => (E(() => ia.delete(e)), (t) => {
|
|
1755
1755
|
if (!t) {
|
|
1756
1756
|
ia.delete(e);
|
|
@@ -1771,6 +1771,7 @@ var ia = /* @__PURE__ */ new Set(), aa = (e, t) => {
|
|
|
1771
1771
|
type: Boolean,
|
|
1772
1772
|
default: !1
|
|
1773
1773
|
},
|
|
1774
|
+
hoverTarget: {},
|
|
1774
1775
|
disableInteractive: {
|
|
1775
1776
|
type: Boolean,
|
|
1776
1777
|
default: !1
|
|
@@ -1814,11 +1815,12 @@ var ia = /* @__PURE__ */ new Set(), aa = (e, t) => {
|
|
|
1814
1815
|
"position-try-fallbacks: flip-block",
|
|
1815
1816
|
"position-visibility: anchors-visible",
|
|
1816
1817
|
`anchor-scope: ${ca}`
|
|
1817
|
-
].every((e) => CSS.supports(e)), g = k(!1), _ = k(null), y = k(null), b = k(null), S = k(null), C =
|
|
1818
|
+
].every((e) => CSS.supports(e)), g = k(!1), _ = k(null), y = k(null), b = k(null), S = k(null), C = r(() => t.hoverTarget && y.value?.closest(t.hoverTarget) || y.value), w = X(C), O = X(S), A = k(!1), M = k(!1), N = k(!1), ee = oa({
|
|
1818
1819
|
root: _,
|
|
1819
1820
|
floating: S,
|
|
1820
|
-
|
|
1821
|
-
|
|
1821
|
+
hoverArea: r(() => t.hoverTarget ? C.value : null),
|
|
1822
|
+
close: () => t.disableClickOutsideToClose ? !1 : (Y(), !0)
|
|
1823
|
+
}), P = {
|
|
1822
1824
|
"top-center": "top",
|
|
1823
1825
|
"bottom-center": "bottom",
|
|
1824
1826
|
"center-left": "left",
|
|
@@ -1829,7 +1831,7 @@ var ia = /* @__PURE__ */ new Set(), aa = (e, t) => {
|
|
|
1829
1831
|
"top-right": "top-end",
|
|
1830
1832
|
"bottom-left": "bottom-start",
|
|
1831
1833
|
"bottom-right": "bottom-end"
|
|
1832
|
-
},
|
|
1834
|
+
}, F = {
|
|
1833
1835
|
"top-center": {
|
|
1834
1836
|
area: "top",
|
|
1835
1837
|
margin: "margin-block-end"
|
|
@@ -1870,141 +1872,141 @@ var ia = /* @__PURE__ */ new Set(), aa = (e, t) => {
|
|
|
1870
1872
|
area: "bottom span-left",
|
|
1871
1873
|
margin: "margin-block-start"
|
|
1872
1874
|
}
|
|
1873
|
-
},
|
|
1875
|
+
}, I = r(() => t.showOnHover || t.disableClickOutsideToClose ? "manual" : "auto"), L = r(() => ({
|
|
1874
1876
|
width: "fit-content",
|
|
1875
1877
|
...h ? { "anchor-scope": ca } : void 0,
|
|
1876
1878
|
...t.cssCustomProperties
|
|
1877
|
-
})),
|
|
1878
|
-
let e =
|
|
1879
|
+
})), R = r(() => h ? { "anchor-name": ca } : void 0), B = r(() => {
|
|
1880
|
+
let e = F[t.position];
|
|
1879
1881
|
return {
|
|
1880
1882
|
"position-anchor": ca,
|
|
1881
1883
|
"position-area": e.area,
|
|
1882
1884
|
"position-try-fallbacks": t.disableAutoPlacement ? void 0 : "flip-block, flip-inline, flip-block flip-inline",
|
|
1883
1885
|
[e.margin]: `${t.offset ?? 0}px`
|
|
1884
1886
|
};
|
|
1885
|
-
}),
|
|
1887
|
+
}), te = () => {}, ne = () => ({});
|
|
1886
1888
|
if (!h) {
|
|
1887
1889
|
let e = [];
|
|
1888
1890
|
t.disableAutoPlacement || e.push(Ri({ fallbackStrategy: "initialPlacement" })), t.offset && e.push(Ii(t.offset));
|
|
1889
1891
|
let n = Xi(b, S, {
|
|
1890
|
-
placement:
|
|
1892
|
+
placement: P[t.position],
|
|
1891
1893
|
strategy: t.positioningStrategy,
|
|
1892
1894
|
middleware: e
|
|
1893
1895
|
});
|
|
1894
|
-
|
|
1895
|
-
let i =
|
|
1896
|
-
c.value &&
|
|
1896
|
+
te = n.update, ne = () => n.floatingStyles.value;
|
|
1897
|
+
let i = ce(b), a = se(() => {
|
|
1898
|
+
c.value && te();
|
|
1897
1899
|
}, 5);
|
|
1898
1900
|
W([
|
|
1899
1901
|
i.top,
|
|
1900
1902
|
i.left,
|
|
1901
1903
|
i.width,
|
|
1902
1904
|
i.height
|
|
1903
|
-
], a),
|
|
1904
|
-
t.disableClickOutsideToClose ||
|
|
1905
|
+
], a), J(_, () => {
|
|
1906
|
+
t.disableClickOutsideToClose || q(!1);
|
|
1905
1907
|
}, { ignore: r(() => [
|
|
1906
1908
|
S.value,
|
|
1907
1909
|
".p-datepicker-panel",
|
|
1908
1910
|
...t.ignoreClickOutsideClasses?.map((e) => `.${e}`) ?? []
|
|
1909
1911
|
]) });
|
|
1910
1912
|
}
|
|
1911
|
-
let
|
|
1912
|
-
...
|
|
1913
|
+
let re = r(() => ({
|
|
1914
|
+
...ne(),
|
|
1913
1915
|
zIndex: t.zIndex
|
|
1914
|
-
})),
|
|
1915
|
-
re && clearTimeout(re), re = void 0;
|
|
1916
|
-
}, G = () => {
|
|
1916
|
+
})), ie, H, G = () => {
|
|
1917
1917
|
ie && clearTimeout(ie), ie = void 0;
|
|
1918
|
-
}, K = (
|
|
1919
|
-
H
|
|
1920
|
-
|
|
1918
|
+
}, K = () => {
|
|
1919
|
+
H && clearTimeout(H), H = void 0;
|
|
1920
|
+
}, q = (e) => {
|
|
1921
|
+
G(), K(), !(e && (t.disabled || !m.value)) && (e && t.delay > 0 && (t.showOnHover || !h) ? ie = setTimeout(() => {
|
|
1922
|
+
c.value = !0, ie = void 0;
|
|
1921
1923
|
}, t.delay) : c.value = e);
|
|
1924
|
+
}, Y = () => {
|
|
1925
|
+
G(), K(), c.value = !1;
|
|
1922
1926
|
}, oe = () => {
|
|
1923
|
-
H(), G(), c.value = !1;
|
|
1924
|
-
}, J = () => {
|
|
1925
1927
|
let e = S.value;
|
|
1926
1928
|
!e || !g.value || !m.value || (c.value ? e.showPopover() : e.hidePopover());
|
|
1927
|
-
},
|
|
1929
|
+
}, le = r(() => !!c.value && (O.value || M.value)), ue = r(() => !t.showOnHover || N.value ? !1 : t.disableInteractive ? w.value || A.value : w.value || A.value || le.value);
|
|
1928
1930
|
W([
|
|
1929
|
-
|
|
1930
|
-
|
|
1931
|
-
|
|
1931
|
+
w,
|
|
1932
|
+
A,
|
|
1933
|
+
M
|
|
1932
1934
|
], ([e, t, n]) => {
|
|
1933
|
-
!e && !t && !n && (
|
|
1935
|
+
!e && !t && !n && (N.value = !1);
|
|
1934
1936
|
});
|
|
1935
1937
|
let de = ({ target: e }) => {
|
|
1936
|
-
O.value = !t.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
|
|
1937
|
-
}, X = ({ target: e }) => {
|
|
1938
1938
|
A.value = !t.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
|
|
1939
|
-
}, fe = () => {
|
|
1940
|
-
|
|
1939
|
+
}, fe = ({ target: e }) => {
|
|
1940
|
+
M.value = !t.disabled && e instanceof HTMLElement && e.matches(":focus-visible");
|
|
1941
1941
|
}, pe = () => {
|
|
1942
|
+
M.value = !1;
|
|
1943
|
+
}, me = () => {
|
|
1942
1944
|
if (t.showOnHover) {
|
|
1943
1945
|
if (t.disableClickOutsideToClose) return;
|
|
1944
|
-
if (!c.value && !
|
|
1945
|
-
|
|
1946
|
+
if (!c.value && !ie && t.enableClickToggle) {
|
|
1947
|
+
N.value = !1, q(!0);
|
|
1946
1948
|
return;
|
|
1947
1949
|
}
|
|
1948
|
-
|
|
1950
|
+
N.value = !0, Y();
|
|
1949
1951
|
return;
|
|
1950
1952
|
}
|
|
1951
|
-
|
|
1952
|
-
},
|
|
1953
|
+
q(ie ? !1 : !c.value);
|
|
1954
|
+
}, he = (e) => {
|
|
1953
1955
|
let t = e.newState === "open";
|
|
1954
1956
|
c.value !== t && (c.value = t);
|
|
1955
|
-
},
|
|
1956
|
-
h &&
|
|
1957
|
+
}, ge = (e) => {
|
|
1958
|
+
h && I.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), q(!1));
|
|
1957
1959
|
};
|
|
1958
1960
|
return W(c, async (e) => {
|
|
1959
|
-
if (t.showOnHover && t.enableGroupSync &&
|
|
1960
|
-
e &&
|
|
1961
|
+
if (t.showOnHover && t.enableGroupSync && ee(!!e), !h) {
|
|
1962
|
+
e && te();
|
|
1961
1963
|
return;
|
|
1962
1964
|
}
|
|
1963
|
-
await v(),
|
|
1965
|
+
await v(), oe();
|
|
1964
1966
|
}), W(ue, (e) => {
|
|
1965
1967
|
if (t.showOnHover) {
|
|
1966
1968
|
if (e) {
|
|
1967
|
-
|
|
1969
|
+
q(!0);
|
|
1968
1970
|
return;
|
|
1969
1971
|
}
|
|
1970
|
-
|
|
1971
|
-
|
|
1972
|
-
}, t.closeDelay)) :
|
|
1972
|
+
G(), t.closeDelay > 0 ? (K(), H = setTimeout(() => {
|
|
1973
|
+
H = void 0, ue.value || q(!1);
|
|
1974
|
+
}, t.closeDelay)) : q(!1);
|
|
1973
1975
|
}
|
|
1974
1976
|
}), W(m, (e) => {
|
|
1975
|
-
e ? h && c.value && v(
|
|
1977
|
+
e ? h && c.value && v(oe) : Y();
|
|
1976
1978
|
}), T(() => {
|
|
1977
|
-
b.value = y.value, g.value = !0, c.value && v(() => h ?
|
|
1979
|
+
b.value = y.value, g.value = !0, c.value && v(() => h ? oe() : te());
|
|
1978
1980
|
}), E(() => {
|
|
1979
|
-
|
|
1981
|
+
G(), K();
|
|
1980
1982
|
}), W(() => t.disabled, (e) => {
|
|
1981
1983
|
if (!e) {
|
|
1982
|
-
ue.value &&
|
|
1984
|
+
ue.value && q(!0);
|
|
1983
1985
|
return;
|
|
1984
1986
|
}
|
|
1985
|
-
|
|
1987
|
+
A.value &&= !1, M.value &&= !1, q(!1);
|
|
1986
1988
|
}), (r, l) => (D(), o("div", {
|
|
1987
1989
|
ref_key: "root",
|
|
1988
1990
|
ref: _,
|
|
1989
|
-
style: x(
|
|
1990
|
-
onKeydown:
|
|
1991
|
+
style: x(L.value),
|
|
1992
|
+
onKeydown: ge
|
|
1991
1993
|
}, [s("div", {
|
|
1992
1994
|
ref_key: "triggerWrapper",
|
|
1993
1995
|
ref: y,
|
|
1994
|
-
style: x(
|
|
1995
|
-
onClick:
|
|
1996
|
+
style: x(R.value),
|
|
1997
|
+
onClick: me,
|
|
1996
1998
|
onFocusin: de,
|
|
1997
|
-
onFocusout: l[0] ||= (e) =>
|
|
1999
|
+
onFocusout: l[0] ||= (e) => A.value = !1
|
|
1998
2000
|
}, [j(r.$slots, "trigger")], 36), g.value && z(h) && m.value ? (D(), o("div", {
|
|
1999
2001
|
key: 0,
|
|
2000
2002
|
ref_key: "floating",
|
|
2001
2003
|
ref: S,
|
|
2002
2004
|
class: "pv-floating pv-floating-native",
|
|
2003
|
-
popover:
|
|
2004
|
-
style: x(
|
|
2005
|
-
onToggle:
|
|
2006
|
-
onFocusin:
|
|
2007
|
-
onFocusout:
|
|
2005
|
+
popover: I.value,
|
|
2006
|
+
style: x(B.value),
|
|
2007
|
+
onToggle: he,
|
|
2008
|
+
onFocusin: fe,
|
|
2009
|
+
onFocusout: pe
|
|
2008
2010
|
}, [e.disabled ? a("", !0) : j(r.$slots, "content", { key: 0 })], 44, sa)) : m.value ? (D(), i(n, {
|
|
2009
2011
|
key: 1,
|
|
2010
2012
|
to: e.teleportLocation,
|
|
@@ -2013,9 +2015,9 @@ var ia = /* @__PURE__ */ new Set(), aa = (e, t) => {
|
|
|
2013
2015
|
ref_key: "floating",
|
|
2014
2016
|
ref: S,
|
|
2015
2017
|
class: "pv-floating",
|
|
2016
|
-
style: x(
|
|
2017
|
-
onFocusin:
|
|
2018
|
-
onFocusout:
|
|
2018
|
+
style: x(re.value),
|
|
2019
|
+
onFocusin: fe,
|
|
2020
|
+
onFocusout: pe
|
|
2019
2021
|
}, [j(r.$slots, "content")], 36), [[U, c.value]])], 8, ["to", "disabled"])) : a("", !0)], 36));
|
|
2020
2022
|
}
|
|
2021
2023
|
}), ua = ["data-variant"], da = /* @__PURE__ */ d({
|
|
@@ -2032,6 +2034,7 @@ var ia = /* @__PURE__ */ new Set(), aa = (e, t) => {
|
|
|
2032
2034
|
type: Boolean,
|
|
2033
2035
|
default: !0
|
|
2034
2036
|
},
|
|
2037
|
+
hoverTarget: {},
|
|
2035
2038
|
disableInteractive: {
|
|
2036
2039
|
type: Boolean,
|
|
2037
2040
|
default: !1
|
|
@@ -5044,7 +5047,7 @@ var ia = /* @__PURE__ */ new Set(), aa = (e, t) => {
|
|
|
5044
5047
|
"pv-input-small": n.size === "lg"
|
|
5045
5048
|
}));
|
|
5046
5049
|
return T(() => {
|
|
5047
|
-
n.displayShortcut &&
|
|
5050
|
+
n.displayShortcut && Y(Ma, (e) => {
|
|
5048
5051
|
let t = e.target, n = t instanceof HTMLInputElement || t instanceof HTMLTextAreaElement || (t?.isContentEditable ?? !1), r = document.activeElement === i.value;
|
|
5049
5052
|
(!n || r) && (r || (e.preventDefault(), i.value?.focus()));
|
|
5050
5053
|
});
|
|
@@ -5317,7 +5320,7 @@ var ia = /* @__PURE__ */ new Set(), aa = (e, t) => {
|
|
|
5317
5320
|
}, {
|
|
5318
5321
|
label: G(() => [u(Jn, {
|
|
5319
5322
|
name: "close",
|
|
5320
|
-
onClick: r[0] ||=
|
|
5323
|
+
onClick: r[0] ||= q((e) => n.$emit("handle-clear"), ["stop"])
|
|
5321
5324
|
})]),
|
|
5322
5325
|
"tooltip-content": G(() => [...r[1] ||= [l(" Clear Selections ", -1)]]),
|
|
5323
5326
|
_: 1
|
|
@@ -5539,7 +5542,7 @@ var io = {
|
|
|
5539
5542
|
size: 12,
|
|
5540
5543
|
name: "info-circle",
|
|
5541
5544
|
class: "pv-text-subdued",
|
|
5542
|
-
onClick: r[0] ||=
|
|
5545
|
+
onClick: r[0] ||= q(() => {}, ["stop", "prevent"])
|
|
5543
5546
|
})]),
|
|
5544
5547
|
content: G(() => [s("div", so, P(e.description), 1)]),
|
|
5545
5548
|
_: 1
|
|
@@ -5632,7 +5635,7 @@ var io = {
|
|
|
5632
5635
|
style: { "--button-icon-only-padding": "0px" },
|
|
5633
5636
|
"aria-label": e.tooltipText,
|
|
5634
5637
|
disabled: e.disabled,
|
|
5635
|
-
onClick:
|
|
5638
|
+
onClick: q(o, ["stop"])
|
|
5636
5639
|
}, [u(Jn, {
|
|
5637
5640
|
name: e.icon,
|
|
5638
5641
|
size: a[e.size]
|
|
@@ -5680,7 +5683,7 @@ var io = {
|
|
|
5680
5683
|
class: y(["pv-text-brand", { "pv-action-button-reveal-on-hover": !f.value }]),
|
|
5681
5684
|
role: "img",
|
|
5682
5685
|
"aria-label": o.value,
|
|
5683
|
-
onClick: t[0] ||=
|
|
5686
|
+
onClick: t[0] ||= q(() => {}, ["stop"])
|
|
5684
5687
|
}, [u(Jn, { name: n.value }, null, 8, ["name"])], 10, _o)]),
|
|
5685
5688
|
_: 2
|
|
5686
5689
|
}, [o.value ? {
|
|
@@ -5852,7 +5855,7 @@ var io = {
|
|
|
5852
5855
|
class: "pv-button-ghost pv-menu-item-expand-chevron",
|
|
5853
5856
|
"aria-label": n.text ? `Toggle children for ${n.text}` : "Toggle children",
|
|
5854
5857
|
"aria-expanded": e.expanded,
|
|
5855
|
-
onClick: r[1] ||=
|
|
5858
|
+
onClick: r[1] ||= q((e) => P("toggle-expanded"), ["prevent", "stop"])
|
|
5856
5859
|
}, [u(Jn, {
|
|
5857
5860
|
name: e.chevronIcon ?? "chevron-right",
|
|
5858
5861
|
size: 12
|
|
@@ -6142,7 +6145,7 @@ var io = {
|
|
|
6142
6145
|
let e = p.value;
|
|
6143
6146
|
E(), e && v(() => Ce(e));
|
|
6144
6147
|
}, N = [...m(So, []), h];
|
|
6145
|
-
O(So, N),
|
|
6148
|
+
O(So, N), J(g, (e) => {
|
|
6146
6149
|
(e.target instanceof Element ? e.target.closest("[data-pv-menu-ancestors]")?.dataset.pvMenuAncestors?.split(" ") : void 0)?.includes(h) || E();
|
|
6147
6150
|
}, { ignore: [S] });
|
|
6148
6151
|
let P = ee(f.value);
|
|
@@ -6162,7 +6165,7 @@ var io = {
|
|
|
6162
6165
|
p.value = i ? e.id : void 0, i && (C.value = t, v(() => {
|
|
6163
6166
|
T(), n && xe(b.value ?? document.getElementById(h), 0);
|
|
6164
6167
|
}));
|
|
6165
|
-
},
|
|
6168
|
+
}, q = (e, t = !1) => {
|
|
6166
6169
|
if (l.readOnly) return;
|
|
6167
6170
|
let n = (!t && l.childrenDisplay === "popover" ? l.options.find((t) => t.id === e.option.id) : void 0) ?? e.option;
|
|
6168
6171
|
if (l.childrenDisplay === "popover" && !t && n.children?.length) {
|
|
@@ -6204,23 +6207,23 @@ var io = {
|
|
|
6204
6207
|
...e,
|
|
6205
6208
|
option: n
|
|
6206
6209
|
} : e);
|
|
6207
|
-
},
|
|
6210
|
+
}, Y = (e) => {
|
|
6208
6211
|
let t = H.value;
|
|
6209
6212
|
if (!t) return;
|
|
6210
6213
|
let n = t.children?.find((t) => t.id === e.option.id) ?? e.option;
|
|
6211
|
-
|
|
6214
|
+
q({
|
|
6212
6215
|
...e,
|
|
6213
6216
|
option: n
|
|
6214
6217
|
}, !0), p.value = void 0, v(() => Ce(t.id));
|
|
6215
|
-
},
|
|
6218
|
+
}, oe = r(() => new Set(P.value.map((e) => e.id))), se = (e) => {
|
|
6216
6219
|
for (let t of e) {
|
|
6217
|
-
if (
|
|
6218
|
-
let e = t.children?.length ?
|
|
6220
|
+
if (oe.value.has(t.id)) return t;
|
|
6221
|
+
let e = t.children?.length ? se(t.children) : void 0;
|
|
6219
6222
|
if (e) return e;
|
|
6220
6223
|
}
|
|
6221
|
-
},
|
|
6224
|
+
}, ce = (e) => {
|
|
6222
6225
|
if (l.childrenDisplay !== "popover" || !e.children?.length) return e;
|
|
6223
|
-
let t =
|
|
6226
|
+
let t = se(e.children);
|
|
6224
6227
|
return {
|
|
6225
6228
|
...e,
|
|
6226
6229
|
children: void 0,
|
|
@@ -6228,14 +6231,14 @@ var io = {
|
|
|
6228
6231
|
subText: t?.text ?? e.subText,
|
|
6229
6232
|
totalChildCount: void 0
|
|
6230
6233
|
};
|
|
6231
|
-
},
|
|
6234
|
+
}, X = (e) => ({
|
|
6232
6235
|
...e,
|
|
6233
6236
|
children: void 0,
|
|
6234
6237
|
totalChildCount: void 0
|
|
6235
|
-
}),
|
|
6238
|
+
}), le = (e) => l.childrenDisplay === "popover" ? e.config ?? l.config : l.config, ue = (e) => oe.value.has(e.id) || L.value && ne?.value?.has(e.id) || (L.value || l.childrenDisplay === "popover") && e.children?.length && se(e.children) ? !0 : null, de = (e) => {
|
|
6236
6239
|
let t = e.config?.variant ?? l.config?.variant;
|
|
6237
6240
|
return ie.value || t === "radio" ? "menuitemradio" : t === "checkbox" ? "menuitemcheckbox" : "menuitem";
|
|
6238
|
-
}, fe = (e) =>
|
|
6241
|
+
}, fe = (e) => de(e) === "menuitem" ? void 0 : !!ue(e), pe = (e) => e.children?.length && !l.highlightParentItems ? null : de(e) !== "menuitemcheckbox" && ue(e) || p.value === e.id ? !0 : null, me = (e) => de(e) !== "menuitemcheckbox" && oe.value.has(e.id) ? !0 : null, he = (e, t) => !!(!t || oe.value.has(e.id) || ne?.value?.has(e.id) || e.children?.length && se(e.children)), ge = k(), _e = k(), ve = r(() => {
|
|
6239
6242
|
let e = l.options.filter((e) => !l.readOnly && !e.disabled && he(e, l.isLoading)).map((e) => e.id);
|
|
6240
6243
|
return l.hasMoreOptions && !l.isSeeMoreLoading && e.push(Ko), ge.value && e.includes(ge.value) ? ge.value : e[0];
|
|
6241
6244
|
}), ye = r(() => {
|
|
@@ -6253,7 +6256,7 @@ var io = {
|
|
|
6253
6256
|
}, Ce = (e) => {
|
|
6254
6257
|
be(g.value).find((t) => t.dataset.optionId === e)?.focus();
|
|
6255
6258
|
};
|
|
6256
|
-
W(p, (e) => {
|
|
6259
|
+
W([p, () => !!H.value], ([e]) => {
|
|
6257
6260
|
_e.value = void 0, e && v(() => {
|
|
6258
6261
|
let t = Array.from(g.value?.children ?? []).find((t) => t.dataset.optionId === e);
|
|
6259
6262
|
t && (C.value = t, T());
|
|
@@ -6275,7 +6278,7 @@ var io = {
|
|
|
6275
6278
|
break;
|
|
6276
6279
|
case "Enter":
|
|
6277
6280
|
case " ":
|
|
6278
|
-
e.preventDefault(), t.children?.length ? K(t, e.currentTarget, !0, !1) :
|
|
6281
|
+
e.preventDefault(), t.children?.length ? K(t, e.currentTarget, !0, !1) : q({
|
|
6279
6282
|
event: e,
|
|
6280
6283
|
option: t
|
|
6281
6284
|
});
|
|
@@ -6310,7 +6313,7 @@ var io = {
|
|
|
6310
6313
|
}
|
|
6311
6314
|
case "Enter":
|
|
6312
6315
|
case " ":
|
|
6313
|
-
e.preventDefault(),
|
|
6316
|
+
e.preventDefault(), Y({
|
|
6314
6317
|
event: e,
|
|
6315
6318
|
option: t
|
|
6316
6319
|
});
|
|
@@ -6332,7 +6335,7 @@ var io = {
|
|
|
6332
6335
|
"data-testid": e.itemTestId,
|
|
6333
6336
|
class: y(e.itemClass),
|
|
6334
6337
|
role: e.childrenDisplay === "popover" ? "none" : void 0
|
|
6335
|
-
}, [u(Io, _({ ref_for: !0 },
|
|
6338
|
+
}, [u(Io, _({ ref_for: !0 }, ce(t), {
|
|
6336
6339
|
"aria-checked": e.childrenDisplay === "popover" ? fe(t) : void 0,
|
|
6337
6340
|
"aria-controls": e.childrenDisplay === "popover" && t.children?.length ? z(h) : void 0,
|
|
6338
6341
|
"aria-disabled": e.childrenDisplay === "popover" && (l.readOnly || t.disabled) ? "true" : void 0,
|
|
@@ -6342,14 +6345,14 @@ var io = {
|
|
|
6342
6345
|
"data-dd-action-name": t.rumActionName,
|
|
6343
6346
|
"data-option-id": t.id,
|
|
6344
6347
|
disabled: l.readOnly || t.disabled,
|
|
6345
|
-
config:
|
|
6348
|
+
config: le(t),
|
|
6346
6349
|
itemClass: e.itemClass,
|
|
6347
6350
|
queryText: e.queryText,
|
|
6348
|
-
role: e.childrenDisplay === "popover" ?
|
|
6351
|
+
role: e.childrenDisplay === "popover" ? de(t) : void 0,
|
|
6349
6352
|
tabindex: e.childrenDisplay === "popover" ? ve.value === t.id ? 0 : -1 : void 0,
|
|
6350
6353
|
onFocus: (e) => ge.value = t.id,
|
|
6351
6354
|
onKeydown: (n) => e.childrenDisplay === "popover" ? Te(n, t) : void 0,
|
|
6352
|
-
onHandleSelected:
|
|
6355
|
+
onHandleSelected: q,
|
|
6353
6356
|
onSeeMore: c[0] ||= (e) => d("see-more", e)
|
|
6354
6357
|
}), null, 16, [
|
|
6355
6358
|
"aria-checked",
|
|
@@ -6422,21 +6425,21 @@ var io = {
|
|
|
6422
6425
|
"data-option-id": t.id,
|
|
6423
6426
|
class: y(e.itemClass),
|
|
6424
6427
|
role: "none"
|
|
6425
|
-
}, [u(Io, _({ ref_for: !0 },
|
|
6428
|
+
}, [u(Io, _({ ref_for: !0 }, X(t), {
|
|
6426
6429
|
"aria-checked": fe(t),
|
|
6427
6430
|
"aria-disabled": l.readOnly || t.disabled ? "true" : void 0,
|
|
6428
6431
|
"data-active": me(t),
|
|
6429
6432
|
"data-dd-action-name": t.rumActionName,
|
|
6430
6433
|
"data-option-id": t.id,
|
|
6431
6434
|
disabled: l.readOnly || t.disabled,
|
|
6432
|
-
config:
|
|
6435
|
+
config: le(t),
|
|
6433
6436
|
itemClass: e.itemClass,
|
|
6434
6437
|
queryText: e.queryText,
|
|
6435
|
-
role:
|
|
6438
|
+
role: de(t),
|
|
6436
6439
|
tabindex: ye.value === t.id ? 0 : -1,
|
|
6437
6440
|
onFocus: (e) => _e.value = t.id,
|
|
6438
6441
|
onKeydown: (e) => De(e, t),
|
|
6439
|
-
onHandleSelected:
|
|
6442
|
+
onHandleSelected: Y,
|
|
6440
6443
|
onSeeMore: c[4] ||= (e) => d("see-more", e)
|
|
6441
6444
|
}), null, 16, [
|
|
6442
6445
|
"aria-checked",
|
|
@@ -6456,7 +6459,7 @@ var io = {
|
|
|
6456
6459
|
_: 3
|
|
6457
6460
|
})], 12, Uo)])) : a("", !0)], 64));
|
|
6458
6461
|
}
|
|
6459
|
-
}), [["__scopeId", "data-v-
|
|
6462
|
+
}), [["__scopeId", "data-v-951d1d02"]]), Jo = { class: "pv-popover-scroll" }, Yo = {
|
|
6460
6463
|
key: 0,
|
|
6461
6464
|
class: "pv-inset-square-8 pv-border-bottom"
|
|
6462
6465
|
}, Xo = /* @__PURE__ */ d({
|
|
@@ -6519,7 +6522,7 @@ var io = {
|
|
|
6519
6522
|
variant: n.optionsVariant,
|
|
6520
6523
|
counterBadgeVariant: n.counterBadgeVariant,
|
|
6521
6524
|
size: n.size
|
|
6522
|
-
})), d = t, [f] =
|
|
6525
|
+
})), d = t, [f] = ue(n.defaultOpen), p = V(e, "modelValue"), m = V(e, "searchInput");
|
|
6523
6526
|
W(f, (e) => {
|
|
6524
6527
|
d(e ? "dropdown-open" : "dropdown-closed");
|
|
6525
6528
|
});
|
|
@@ -6553,7 +6556,7 @@ var io = {
|
|
|
6553
6556
|
}, E = () => {
|
|
6554
6557
|
f.value = !1, m.value = "";
|
|
6555
6558
|
};
|
|
6556
|
-
return
|
|
6559
|
+
return Y("Escape", () => {
|
|
6557
6560
|
f.value && E();
|
|
6558
6561
|
}), (t, n) => (D(), i(la, _({
|
|
6559
6562
|
modelValue: z(f),
|
|
@@ -7572,7 +7575,7 @@ var io = {
|
|
|
7572
7575
|
dataRows: v.value,
|
|
7573
7576
|
mapColumn: N.value,
|
|
7574
7577
|
seriesColumn: E.value
|
|
7575
|
-
})), ae = r(() => gc(W.value, E.value?.field)), K = r(() => _c(E.value)),
|
|
7578
|
+
})), ae = r(() => gc(W.value, E.value?.field)), K = r(() => _c(E.value)), q = r(() => vc({
|
|
7576
7579
|
aggregatedCategoryChartData: U.value,
|
|
7577
7580
|
categoryColumn: T.value,
|
|
7578
7581
|
dataLimit: n.dataLimit,
|
|
@@ -7593,25 +7596,25 @@ var io = {
|
|
|
7593
7596
|
useDisplayDataRows: n.chartData !== void 0,
|
|
7594
7597
|
xKey: n.xKey,
|
|
7595
7598
|
yKey: n.yKey
|
|
7596
|
-
})),
|
|
7599
|
+
})), J = r(() => Cn(q.value)), Y = r(() => wn(q.value)), oe = r(() => mn({
|
|
7597
7600
|
baseMinHeight: n.minHeight,
|
|
7598
|
-
dataCount:
|
|
7601
|
+
dataCount: J.value,
|
|
7599
7602
|
enableChartScrolling: n.enableChartScrolling,
|
|
7600
|
-
isHorizontalScrollingChart:
|
|
7601
|
-
})),
|
|
7603
|
+
isHorizontalScrollingChart: Y.value
|
|
7604
|
+
})), se = r(() => {
|
|
7602
7605
|
let e = hn({
|
|
7603
7606
|
enableChartScrolling: n.enableChartScrolling,
|
|
7604
|
-
isHorizontalScrollingChart:
|
|
7607
|
+
isHorizontalScrollingChart: Y.value
|
|
7605
7608
|
});
|
|
7606
|
-
if (e) return
|
|
7609
|
+
if (e) return Y.value ? {
|
|
7607
7610
|
...e,
|
|
7608
7611
|
maxHeight: `${n.minHeight}px`
|
|
7609
7612
|
} : e;
|
|
7610
|
-
}),
|
|
7611
|
-
chartMinHeight:
|
|
7612
|
-
dataCount:
|
|
7613
|
+
}), ce = r(() => gn({
|
|
7614
|
+
chartMinHeight: oe.value,
|
|
7615
|
+
dataCount: J.value,
|
|
7613
7616
|
enableChartScrolling: n.enableChartScrolling,
|
|
7614
|
-
isHorizontalScrollingChart:
|
|
7617
|
+
isHorizontalScrollingChart: Y.value,
|
|
7615
7618
|
minContentWidth: 320
|
|
7616
7619
|
}));
|
|
7617
7620
|
return (n, r) => (D(), i(Bn, {
|
|
@@ -7660,14 +7663,14 @@ var io = {
|
|
|
7660
7663
|
])], 4)) : (D(), o("div", {
|
|
7661
7664
|
key: 2,
|
|
7662
7665
|
class: y(["pv-data-widget__chart-scroll", { "pv-data-widget__chart-scroll--enabled pv-scrollbar-visible": e.enableChartScrolling }]),
|
|
7663
|
-
style: x(
|
|
7666
|
+
style: x(se.value)
|
|
7664
7667
|
}, [s("div", {
|
|
7665
7668
|
class: "pv-data-widget__chart-content",
|
|
7666
|
-
style: x(
|
|
7669
|
+
style: x(ce.value)
|
|
7667
7670
|
}, [u(ln, {
|
|
7668
|
-
options:
|
|
7671
|
+
options: q.value,
|
|
7669
7672
|
isLoading: e.chartLoading,
|
|
7670
|
-
minHeight:
|
|
7673
|
+
minHeight: oe.value
|
|
7671
7674
|
}, null, 8, [
|
|
7672
7675
|
"options",
|
|
7673
7676
|
"isLoading",
|
|
@@ -7859,7 +7862,7 @@ var io = {
|
|
|
7859
7862
|
size: 12,
|
|
7860
7863
|
name: "close",
|
|
7861
7864
|
"data-dd-action-name": e.rumRemoveActionName,
|
|
7862
|
-
onClick: r[0] ||=
|
|
7865
|
+
onClick: r[0] ||= q((n) => t.$emit("handle-close", e.label), ["stop"])
|
|
7863
7866
|
}, null, 8, ["data-dd-action-name"])) : a("", !0)
|
|
7864
7867
|
], 14, Dc));
|
|
7865
7868
|
}
|
|
@@ -8104,7 +8107,7 @@ var zc = (e) => e === "left" || e === "right" ? "horizontal" : "vertical", Bc =
|
|
|
8104
8107
|
t = t.host ? t.host.parentNode : t.parentNode;
|
|
8105
8108
|
}
|
|
8106
8109
|
return null;
|
|
8107
|
-
}, f = r(() => c.value?.parentElement ?? null), { height: p, width: m } =
|
|
8110
|
+
}, f = r(() => c.value?.parentElement ?? null), { height: p, width: m } = le(f), { height: h, width: g } = de({
|
|
8108
8111
|
initialWidth: 0,
|
|
8109
8112
|
initialHeight: 0
|
|
8110
8113
|
}), y = () => {
|
|
@@ -8279,10 +8282,10 @@ var zc = (e) => e === "left" || e === "right" ? "horizontal" : "vertical", Bc =
|
|
|
8279
8282
|
"update:modelValue"
|
|
8280
8283
|
]),
|
|
8281
8284
|
setup(e, { emit: n }) {
|
|
8282
|
-
let r = e, c = n, l = re("sidePanel"), { width: d } =
|
|
8285
|
+
let r = e, c = n, l = re("sidePanel"), { width: d } = de({ initialWidth: 0 }), f = V(e, "searchInput"), p = V(e, "width"), m = V(e, "modelValue"), h = () => {
|
|
8283
8286
|
l?.value?.removeAttribute("open"), m.value = !1;
|
|
8284
8287
|
}, g = () => {
|
|
8285
|
-
l.value &&
|
|
8288
|
+
l.value && J(l.value, () => {
|
|
8286
8289
|
m.value && (c("click-outside"), h());
|
|
8287
8290
|
}, { ignore: [".pv-click-outside-ignore"] });
|
|
8288
8291
|
};
|
|
@@ -8290,7 +8293,7 @@ var zc = (e) => e === "left" || e === "right" ? "horizontal" : "vertical", Bc =
|
|
|
8290
8293
|
m.value && l?.value?.setAttribute("open", "true"), r.closeOnClickOutside && g();
|
|
8291
8294
|
}), W(() => m.value, () => {
|
|
8292
8295
|
m.value ? l?.value?.setAttribute("open", "true") : l?.value?.removeAttribute("open");
|
|
8293
|
-
}),
|
|
8296
|
+
}), Y("Escape", () => {
|
|
8294
8297
|
l.value && m.value && h();
|
|
8295
8298
|
}), (n, c) => (D(), o("div", {
|
|
8296
8299
|
class: y(["pv-drawer pv-surface", { "pv-resizable": e.resizable }]),
|
|
@@ -8549,7 +8552,7 @@ var $c = {
|
|
|
8549
8552
|
return to(c.options, t) + e;
|
|
8550
8553
|
}), T = r(() => ie.value.length > 0 ? !0 : c.enableCascadeSelection && I.value?.length ? I.value.some((e) => e.state === "selected") : !1), E = (e) => {
|
|
8551
8554
|
g("see-more", e ?? {});
|
|
8552
|
-
}, k = re("searchInputRef"), [M, N] =
|
|
8555
|
+
}, k = re("searchInputRef"), [M, N] = ue(c.defaultOpen), F = V(e, "modelValue"), I = V(e, "selectionState"), L = V(e, "searchInput"), R = r(() => c.menuActionsVariant === "cancel-confirm"), B = (e) => {
|
|
8553
8556
|
ie.value = e, R.value || (F.value = e, I.value = S());
|
|
8554
8557
|
}, te = () => {
|
|
8555
8558
|
R.value && (F.value = ie.value, I.value = S());
|
|
@@ -8581,7 +8584,7 @@ var $c = {
|
|
|
8581
8584
|
}
|
|
8582
8585
|
}), K = () => {
|
|
8583
8586
|
L.value = "", M.value = !1;
|
|
8584
|
-
},
|
|
8587
|
+
}, q = r(() => {
|
|
8585
8588
|
let e = c.size === "lg" ? 24 : 30;
|
|
8586
8589
|
return c.overlayTrigger ? -e : void 0;
|
|
8587
8590
|
});
|
|
@@ -8601,26 +8604,26 @@ var $c = {
|
|
|
8601
8604
|
c.overlayTrigger && !c.disableSearchInput && k.value?.input?.focus(), g("dropdown-open");
|
|
8602
8605
|
})) : (ne(), g("dropdown-closed"));
|
|
8603
8606
|
});
|
|
8604
|
-
let
|
|
8607
|
+
let J = r(() => {
|
|
8605
8608
|
if (L.value === "") return c.options;
|
|
8606
8609
|
let e = L.value.toLocaleLowerCase();
|
|
8607
8610
|
return c.enableCascadeSelection ? ro(c.options, e, !c.hideParentOnChildQueryMatch) : c.options.filter((t) => t.text.toLocaleLowerCase().includes(e) || t.searchText?.toLocaleLowerCase().includes(e));
|
|
8608
|
-
}),
|
|
8611
|
+
}), oe = () => {
|
|
8609
8612
|
if (c.enableCascadeSelection) {
|
|
8610
8613
|
let e = /* @__PURE__ */ new Set(), t = (n) => {
|
|
8611
8614
|
for (let r of n) Qa(r) && (e.add(r.id), r.children?.length && t(r.children));
|
|
8612
8615
|
};
|
|
8613
|
-
t(
|
|
8616
|
+
t(J.value), f.value = e, m.value = /* @__PURE__ */ new Map();
|
|
8614
8617
|
}
|
|
8615
|
-
let e = c.enableCascadeSelection ? $a(
|
|
8618
|
+
let e = c.enableCascadeSelection ? $a(J.value) : J.value;
|
|
8616
8619
|
g("select-all", e.length), B(e);
|
|
8617
|
-
},
|
|
8620
|
+
}, se = () => {
|
|
8618
8621
|
g("clear-all", ie.value.length), f.value = /* @__PURE__ */ new Set(), m.value = /* @__PURE__ */ new Map(), B([]);
|
|
8619
|
-
},
|
|
8622
|
+
}, ce = () => {
|
|
8620
8623
|
ne(), K();
|
|
8621
|
-
},
|
|
8624
|
+
}, X = () => {
|
|
8622
8625
|
te(), K();
|
|
8623
|
-
},
|
|
8626
|
+
}, le = r(() => {
|
|
8624
8627
|
if (!c.groupings) return;
|
|
8625
8628
|
let e = /* @__PURE__ */ new Map();
|
|
8626
8629
|
c.groupings.forEach((t) => {
|
|
@@ -8632,7 +8635,7 @@ var $c = {
|
|
|
8632
8635
|
}
|
|
8633
8636
|
for (let [t, n] of e) n.length === 0 && e.delete(t);
|
|
8634
8637
|
return Array.from(e.entries());
|
|
8635
|
-
}),
|
|
8638
|
+
}), de = r(() => c.groupings && L.value === ""), fe = r(() => ({
|
|
8636
8639
|
...c,
|
|
8637
8640
|
selectedItems: F.value,
|
|
8638
8641
|
searchInput: L.value,
|
|
@@ -8643,12 +8646,12 @@ var $c = {
|
|
|
8643
8646
|
let e = he.value?.getRootNode();
|
|
8644
8647
|
return e instanceof ShadowRoot ? e.host : null;
|
|
8645
8648
|
}), { present: _e } = ra("header", { host: ge }), { present: ve } = ra("no-results", { host: ge }), { present: ye } = ra("footer", { host: ge });
|
|
8646
|
-
return
|
|
8649
|
+
return Y("Escape", () => {
|
|
8647
8650
|
M.value && K();
|
|
8648
8651
|
}), (n, r) => (D(), i(la, _({
|
|
8649
8652
|
modelValue: z(M),
|
|
8650
8653
|
"onUpdate:modelValue": r[4] ||= (e) => h(M) ? M.value = e : null
|
|
8651
|
-
}, e.popoverProperties, { offset:
|
|
8654
|
+
}, e.popoverProperties, { offset: q.value }), {
|
|
8652
8655
|
trigger: G(() => [u(qa, {
|
|
8653
8656
|
ref: "select-button-trigger-ref",
|
|
8654
8657
|
variant: e.variant,
|
|
@@ -8666,7 +8669,7 @@ var $c = {
|
|
|
8666
8669
|
"counter-style": e.counterStyle,
|
|
8667
8670
|
"selected-items": ie.value,
|
|
8668
8671
|
"data-dd-action-name": pe.value,
|
|
8669
|
-
onHandleClear:
|
|
8672
|
+
onHandleClear: se,
|
|
8670
8673
|
onHandleToggleDropdown: r[0] ||= (e) => z(N)()
|
|
8671
8674
|
}, null, 8, [
|
|
8672
8675
|
"variant",
|
|
@@ -8707,7 +8710,7 @@ var $c = {
|
|
|
8707
8710
|
placeholder: e.searchPlaceholder
|
|
8708
8711
|
}, null, 8, ["model-value", "placeholder"])], 8, tl)),
|
|
8709
8712
|
n.$slots.header || z(_e) ? (D(), o("div", nl, [j(n.$slots, "header", b(p(fe.value)))])) : a("", !0),
|
|
8710
|
-
|
|
8713
|
+
J.value.length > 0 ? (D(), o(t, { key: 2 }, [de.value ? (D(!0), o(t, { key: 0 }, A(le.value, ([t, i], s) => (D(), o("div", { key: t }, [
|
|
8711
8714
|
n.$slots[t] ? j(n.$slots, t, { key: 0 }) : t === "other" ? a("", !0) : (D(), o("span", rl, P(t), 1)),
|
|
8712
8715
|
u(qo, {
|
|
8713
8716
|
selectedItems: ae.value,
|
|
@@ -8721,7 +8724,7 @@ var $c = {
|
|
|
8721
8724
|
isLoading: e.isLoading,
|
|
8722
8725
|
isSeeMoreLoading: e.isSeeMoreLoading,
|
|
8723
8726
|
enableCascadeSelection: e.enableCascadeSelection,
|
|
8724
|
-
hasMoreOptions: s ===
|
|
8727
|
+
hasMoreOptions: s === le.value.length - 1 && C.value && !e.isLoading,
|
|
8725
8728
|
onSeeMore: E
|
|
8726
8729
|
}, null, 8, [
|
|
8727
8730
|
"selectedItems",
|
|
@@ -8735,12 +8738,12 @@ var $c = {
|
|
|
8735
8738
|
"enableCascadeSelection",
|
|
8736
8739
|
"hasMoreOptions"
|
|
8737
8740
|
]),
|
|
8738
|
-
|
|
8741
|
+
le.value && s !== le.value.length - 1 ? (D(), o("div", il)) : a("", !0)
|
|
8739
8742
|
]))), 128)) : (D(), i(qo, {
|
|
8740
8743
|
key: 1,
|
|
8741
8744
|
selectedItems: ae.value,
|
|
8742
8745
|
"onUpdate:selectedItems": r[3] ||= (e) => ae.value = e,
|
|
8743
|
-
options:
|
|
8746
|
+
options: J.value,
|
|
8744
8747
|
config: l.value,
|
|
8745
8748
|
singleSelect: e.singleSelect,
|
|
8746
8749
|
queryText: e.highlightSearchText ? L.value : null,
|
|
@@ -8761,16 +8764,16 @@ var $c = {
|
|
|
8761
8764
|
"isSeeMoreLoading",
|
|
8762
8765
|
"hasMoreOptions"
|
|
8763
8766
|
]))], 64)) : a("", !0),
|
|
8764
|
-
e.isLoading ? (D(), o("div", al, [u(Ot, { variant: "dark" }), e.loadingText ? (D(), o("span", ol, P(e.loadingText), 1)) : a("", !0)])) :
|
|
8767
|
+
e.isLoading ? (D(), o("div", al, [u(Ot, { variant: "dark" }), e.loadingText ? (D(), o("span", ol, P(e.loadingText), 1)) : a("", !0)])) : J.value.length === 0 ? (D(), o(t, { key: 4 }, [z(ve) ? j(n.$slots, "no-results", b(_({ key: 0 }, fe.value))) : (D(), i(Za, { key: 1 }))], 64)) : a("", !0),
|
|
8765
8768
|
z(ye) || e.menuActionsVariant ? (D(), o("div", sl, [z(ye) ? j(n.$slots, "footer", b(_({ key: 0 }, fe.value))) : a("", !0), e.menuActionsVariant ? (D(), i(el, {
|
|
8766
8769
|
key: 1,
|
|
8767
8770
|
variant: e.menuActionsVariant,
|
|
8768
8771
|
disabled: e.isLoading,
|
|
8769
8772
|
rumFilterName: e.rumFilterName,
|
|
8770
|
-
onHandleClearAll:
|
|
8771
|
-
onHandleSelectAll:
|
|
8772
|
-
onHandleCancel:
|
|
8773
|
-
onHandleConfirm:
|
|
8773
|
+
onHandleClearAll: se,
|
|
8774
|
+
onHandleSelectAll: oe,
|
|
8775
|
+
onHandleCancel: ce,
|
|
8776
|
+
onHandleConfirm: X
|
|
8774
8777
|
}, null, 8, [
|
|
8775
8778
|
"variant",
|
|
8776
8779
|
"disabled",
|
|
@@ -9539,21 +9542,21 @@ var Ol = "__pv_filter_panel_scoped_value__", kl = (e) => typeof e == "object" &&
|
|
|
9539
9542
|
width: "100%",
|
|
9540
9543
|
maxWidth: "100%",
|
|
9541
9544
|
"--popover-list-item-hover-background-color": "var(--surface-card-hover, #ece8e2)"
|
|
9542
|
-
}, f = re("search-input"), p = V(e, "searchText"), m = V(e, "query"), h = V(e, "options"), { addQueryOption: g, containsQueryOption: b, removeQueryOption: S } = lu(), 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(() =>
|
|
9545
|
+
}, f = re("search-input"), p = V(e, "searchText"), m = V(e, "query"), h = V(e, "options"), { addQueryOption: g, containsQueryOption: b, removeQueryOption: S } = lu(), 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(() => J.value.length > 0 || n.optionsLoading || O.value), L = r(() => m.value === null ? n.placeholder : ""), R = k(null), B = r(() => R.value !== null && R.value !== "" && !w.value), ie = () => {
|
|
9543
9546
|
m.value = null, p.value = "", R.value = null, T.value = !1;
|
|
9544
9547
|
};
|
|
9545
|
-
|
|
9546
|
-
let t =
|
|
9548
|
+
Y("Enter", (e) => {
|
|
9549
|
+
let t = le.value;
|
|
9547
9550
|
if (t) {
|
|
9548
9551
|
e.preventDefault(), he(t);
|
|
9549
9552
|
return;
|
|
9550
9553
|
}
|
|
9551
9554
|
n.enableCustomOptionsInput && p.value.trim() && K();
|
|
9552
|
-
}, { target: f }),
|
|
9553
|
-
|
|
9554
|
-
}, { target: f }),
|
|
9555
|
-
C.value && (C.value = !1,
|
|
9556
|
-
}, { target: f }),
|
|
9555
|
+
}, { target: f }), Y(["ArrowDown", "ArrowUp"], (e) => {
|
|
9556
|
+
se.value.length !== 0 && (e.preventDefault(), C.value = !0, fe(e.key === "ArrowDown" ? 1 : -1));
|
|
9557
|
+
}, { target: f }), Y("Escape", () => {
|
|
9558
|
+
C.value && (C.value = !1, X.value = -1);
|
|
9559
|
+
}, { target: f }), Y("Backspace", () => {
|
|
9557
9560
|
if (p.value !== "") return;
|
|
9558
9561
|
let e = m.value?.queryTerms;
|
|
9559
9562
|
if (!e || e.length === 0) return;
|
|
@@ -9570,58 +9573,58 @@ var Ol = "__pv_filter_panel_scoped_value__", kl = (e) => typeof e == "object" &&
|
|
|
9570
9573
|
text: p.value,
|
|
9571
9574
|
queryTerm: { queryText: p.value }
|
|
9572
9575
|
}), ve());
|
|
9573
|
-
},
|
|
9576
|
+
}, q = (e) => {
|
|
9574
9577
|
let t = e?.queryDisplayField || e?.queryField;
|
|
9575
9578
|
if (t) return e?.exactMatch ? t : `Search in ${t}`;
|
|
9576
|
-
},
|
|
9579
|
+
}, J = r(() => {
|
|
9577
9580
|
if (!h.value || h.value.length === 0) return [];
|
|
9578
9581
|
let e = h.value;
|
|
9579
9582
|
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) => ({
|
|
9580
9583
|
...e,
|
|
9581
|
-
subText: e.subText ??
|
|
9584
|
+
subText: e.subText ?? q(e.queryTerm),
|
|
9582
9585
|
searchText: p.value,
|
|
9583
9586
|
context: e.queryTerm
|
|
9584
9587
|
}));
|
|
9585
|
-
}),
|
|
9588
|
+
}), oe = r(() => {
|
|
9586
9589
|
let e = /* @__PURE__ */ new Map();
|
|
9587
|
-
for (let t of
|
|
9590
|
+
for (let t of J.value) {
|
|
9588
9591
|
let n = t.groupingLabel ?? "", r = e.get(n);
|
|
9589
9592
|
r ? r.push(t) : e.set(n, [t]);
|
|
9590
9593
|
}
|
|
9591
9594
|
return Array.from(e.entries());
|
|
9592
|
-
}),
|
|
9595
|
+
}), se = r(() => oe.value.flatMap(([, e]) => e)), ce = r(() => new Map(se.value.map((e, t) => [e, t]))), X = k(-1), le = r(() => {
|
|
9593
9596
|
if (!C.value) return null;
|
|
9594
|
-
let e =
|
|
9597
|
+
let e = se.value[X.value] ?? null;
|
|
9595
9598
|
return e?.disabled ? null : e;
|
|
9596
|
-
}),
|
|
9599
|
+
}), ue = r(() => le.value ? ee(X.value) : void 0), de = (e) => {
|
|
9597
9600
|
v(() => {
|
|
9598
9601
|
document.getElementById(ee(e))?.scrollIntoView?.({ block: "nearest" });
|
|
9599
9602
|
});
|
|
9600
9603
|
}, fe = (e) => {
|
|
9601
|
-
let t =
|
|
9604
|
+
let t = se.value, n = t.length;
|
|
9602
9605
|
if (n === 0) return;
|
|
9603
|
-
let r =
|
|
9606
|
+
let r = X.value === -1 ? e > 0 ? -1 : 0 : X.value;
|
|
9604
9607
|
for (let i = 1; i <= n; i++) {
|
|
9605
9608
|
let a = ((r + e * i) % n + n) % n;
|
|
9606
9609
|
if (!t[a].disabled) {
|
|
9607
|
-
|
|
9610
|
+
X.value = a, de(a);
|
|
9608
9611
|
return;
|
|
9609
9612
|
}
|
|
9610
9613
|
}
|
|
9611
9614
|
}, pe = (e) => {
|
|
9612
|
-
e.disabled || (
|
|
9615
|
+
e.disabled || (X.value = ce.value.get(e) ?? -1);
|
|
9613
9616
|
};
|
|
9614
|
-
W([
|
|
9615
|
-
|
|
9617
|
+
W([se, p], () => {
|
|
9618
|
+
X.value = -1;
|
|
9616
9619
|
}), W([
|
|
9617
|
-
|
|
9620
|
+
J,
|
|
9618
9621
|
p,
|
|
9619
9622
|
() => n.optionsLoading
|
|
9620
9623
|
], ([e, t, n]) => {
|
|
9621
9624
|
t && t.length > 0 && (e.length > 0 || n || O.value) ? C.value = !0 : (!t || t.length === 0) && (C.value = !1);
|
|
9622
9625
|
}, { immediate: !0 });
|
|
9623
9626
|
let me = () => {
|
|
9624
|
-
n.enableCustomOptionsInput && K(),
|
|
9627
|
+
n.enableCustomOptionsInput && K(), X.value = -1, C.value = !1, w.value = !1, T.value = !1;
|
|
9625
9628
|
}, he = (e) => {
|
|
9626
9629
|
try {
|
|
9627
9630
|
let t = {
|
|
@@ -9682,7 +9685,7 @@ var Ol = "__pv_filter_panel_scoped_value__", kl = (e) => typeof e == "object" &&
|
|
|
9682
9685
|
"aria-autocomplete": "list",
|
|
9683
9686
|
"aria-expanded": I.value && C.value,
|
|
9684
9687
|
"aria-controls": N,
|
|
9685
|
-
"aria-activedescendant":
|
|
9688
|
+
"aria-activedescendant": ue.value,
|
|
9686
9689
|
disabled: e.disabled,
|
|
9687
9690
|
placeholder: L.value,
|
|
9688
9691
|
"data-invalid": B.value ? "true" : void 0,
|
|
@@ -9707,18 +9710,18 @@ var Ol = "__pv_filter_panel_scoped_value__", kl = (e) => typeof e == "object" &&
|
|
|
9707
9710
|
listId: N,
|
|
9708
9711
|
listRole: "listbox"
|
|
9709
9712
|
}, c({
|
|
9710
|
-
default: G(() => [e.optionsLoading ? (D(), o("div", gu, [u(Ot, { variant: "dark" })])) : (D(), o(t, { key: 0 }, [
|
|
9713
|
+
default: G(() => [e.optionsLoading ? (D(), o("div", gu, [u(Ot, { variant: "dark" })])) : (D(), o(t, { key: 0 }, [J.value.length > 0 ? (D(!0), o(t, { key: 0 }, A(oe.value, ([e, n], r) => (D(), o(t, { key: e }, [e ? (D(), o("li", {
|
|
9711
9714
|
key: 0,
|
|
9712
9715
|
id: F(r),
|
|
9713
9716
|
role: "presentation",
|
|
9714
9717
|
class: "pv-query-builder-group-label pv-text-body-xs pv-text-subdued"
|
|
9715
9718
|
}, P(e), 9, pu)) : a("", !0), (D(!0), o(t, null, A(n, (t) => (D(), o("li", {
|
|
9716
9719
|
key: `${e}-${t.id}`,
|
|
9717
|
-
id: ee(
|
|
9720
|
+
id: ee(ce.value.get(t) ?? -1),
|
|
9718
9721
|
role: "option",
|
|
9719
|
-
"aria-selected": t ===
|
|
9722
|
+
"aria-selected": t === le.value,
|
|
9720
9723
|
"aria-describedby": e ? F(r) : void 0,
|
|
9721
|
-
class: y({ "pv-query-builder-option-active": t ===
|
|
9724
|
+
class: y({ "pv-query-builder-option-active": t === le.value }),
|
|
9722
9725
|
onMouseenter: (e) => pe(t)
|
|
9723
9726
|
}, [u(Io, _({ ref_for: !0 }, t, {
|
|
9724
9727
|
config: l,
|
|
@@ -9946,7 +9949,7 @@ var ud = /* @__PURE__ */ cn(sd, [["render", ld]]), dd = ["innerHTML"], fd = { ke
|
|
|
9946
9949
|
__name: "GroupedCellRenderer",
|
|
9947
9950
|
props: { params: {} },
|
|
9948
9951
|
setup(e) {
|
|
9949
|
-
let n = e, i = m(ju, k([])), c = m(Mu, k(null)), d = m(Nu, k({})), f =
|
|
9952
|
+
let n = e, i = m(ju, k([])), c = m(Mu, k(null)), d = m(Nu, k({})), f = oe(n.params, "rowNode"), p = r(() => !n.params.displayBaseAggregationsOnly || f.value.level === i.value.length - 1), h = r(() => n.params.rowNode.group), g = r(() => {
|
|
9950
9953
|
let e = f.value.data;
|
|
9951
9954
|
if (e?.bucketMin !== void 0 && e?.bucketMax !== void 0) {
|
|
9952
9955
|
let t = f.value.rowGroupColumn?.getColDef()?.valueFormatter;
|
|
@@ -10610,14 +10613,14 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
10610
10613
|
return;
|
|
10611
10614
|
}
|
|
10612
10615
|
M.value[e] = t - 1;
|
|
10613
|
-
}, K = /* @__PURE__ */ new Set(),
|
|
10614
|
-
let n = t ?
|
|
10616
|
+
}, K = /* @__PURE__ */ new Set(), q = /* @__PURE__ */ new Set(), J = (e, t = !1) => {
|
|
10617
|
+
let n = t ? q : K;
|
|
10615
10618
|
e.forEach((e) => n.add(e));
|
|
10616
|
-
},
|
|
10617
|
-
|
|
10618
|
-
},
|
|
10619
|
-
|
|
10620
|
-
},
|
|
10619
|
+
}, Y = () => {
|
|
10620
|
+
q.forEach((e) => K.add(e)), q.clear();
|
|
10621
|
+
}, oe = () => {
|
|
10622
|
+
q.clear();
|
|
10623
|
+
}, se = (e) => {
|
|
10621
10624
|
let t = new Set(e);
|
|
10622
10625
|
for (let n of e) {
|
|
10623
10626
|
let e = A.value[n] || [];
|
|
@@ -10625,9 +10628,9 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
10625
10628
|
}
|
|
10626
10629
|
for (let e of t) w.value[e] = !1;
|
|
10627
10630
|
for (let e of j.value) t.has(e) || (w.value[e] = !0);
|
|
10628
|
-
},
|
|
10631
|
+
}, ce = e.initStagedFilterSelections, X = e.clearStagedFilterSelections, le = (e) => N.value[e] || [], ue = (e, t) => {
|
|
10629
10632
|
N.value[e] = t;
|
|
10630
|
-
},
|
|
10633
|
+
}, de = (e) => {
|
|
10631
10634
|
t.value = e;
|
|
10632
10635
|
}, pe = (e) => {
|
|
10633
10636
|
(!e || t.value === e) && (t.value = null);
|
|
@@ -10664,7 +10667,7 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
10664
10667
|
};
|
|
10665
10668
|
return fe(n, (e, t) => {
|
|
10666
10669
|
let n = ye(e, t);
|
|
10667
|
-
K.forEach((e) => n.add(e)), K.clear(), n.size > 0 &&
|
|
10670
|
+
K.forEach((e) => n.add(e)), K.clear(), n.size > 0 && se(n);
|
|
10668
10671
|
}, {
|
|
10669
10672
|
deep: !0,
|
|
10670
10673
|
debounce: 200,
|
|
@@ -10703,21 +10706,21 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
10703
10706
|
refreshFiltersInBackground: E,
|
|
10704
10707
|
stageFilterChangesUntilDropdownCloses: D,
|
|
10705
10708
|
filterSearchMinLength: O,
|
|
10706
|
-
markOtherFieldsStale:
|
|
10707
|
-
noteFilterModelChange:
|
|
10708
|
-
commitStagedFilterModelChanges:
|
|
10709
|
-
clearStagedFilterModelChanges:
|
|
10709
|
+
markOtherFieldsStale: se,
|
|
10710
|
+
noteFilterModelChange: J,
|
|
10711
|
+
commitStagedFilterModelChanges: Y,
|
|
10712
|
+
clearStagedFilterModelChanges: oe,
|
|
10710
10713
|
aggregateFieldMap: A,
|
|
10711
10714
|
registerAggregateField: W,
|
|
10712
10715
|
registeredFilterFields: j,
|
|
10713
10716
|
registerFilterField: G,
|
|
10714
10717
|
unregisterFilterField: ae,
|
|
10715
10718
|
stagedSelectedValuesMap: N,
|
|
10716
|
-
initStagedSelectedValues:
|
|
10717
|
-
clearStagedSelectedValues:
|
|
10718
|
-
getStagedSelectedValues:
|
|
10719
|
-
setStagedSelectedValues:
|
|
10720
|
-
registerFilterController:
|
|
10719
|
+
initStagedSelectedValues: ce,
|
|
10720
|
+
clearStagedSelectedValues: X,
|
|
10721
|
+
getStagedSelectedValues: le,
|
|
10722
|
+
setStagedSelectedValues: ue,
|
|
10723
|
+
registerFilterController: de,
|
|
10721
10724
|
unregisterFilterController: pe,
|
|
10722
10725
|
getFilterModel: me,
|
|
10723
10726
|
applyFilterModel: he,
|
|
@@ -10735,27 +10738,27 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
10735
10738
|
return e;
|
|
10736
10739
|
}, yf = (e) => {
|
|
10737
10740
|
let { filterColDef: t, filterStyle: n, onSelectionChanged: i, filterGroupStagedFields: a, readOnly: o, disableUnselected: s } = e, c = bu(), l = m(Eu, k(null)), u = _f(), { fetchFilterValues: d, invalidateFilterRequest: f, filterModel: p, stagedFilterModel: h, filterModelCleared: g, filterValuesLoadingStatus: _, filterValueContext: y, getFilterSelectedValues: b, isServerSideFilter: x, setFilterValueSearchText: S, setFilterSelectedValues: C, getFilterValues: w, setFilterValues: D, filterStaleMap: O, refreshFiltersInBackground: A, stageFilterChangesUntilDropdownCloses: j, filterSearchMinLength: M, noteFilterModelChange: N, registerAggregateField: ee, registerFilterField: P, unregisterFilterField: F, getStagedSelectedValues: I, setStagedSelectedValues: L, filterValueSearchTextMap: R, filterValuesHasMoreMap: z, filterValuesTotalCountMap: B } = u, { computedFocuses: te, removeFocus: V, computedFocusType: ne } = hd(), re = m(Fu, k(!1)), ie = m(Pu, k(!1)), H = m(Xu, k(!1)), U = r({
|
|
10738
|
-
get: () =>
|
|
10741
|
+
get: () => de.value ? I(X.value) : b(X.value),
|
|
10739
10742
|
set: (e) => {
|
|
10740
|
-
|
|
10743
|
+
de.value ? L(X.value, e) : C(X.value, e);
|
|
10741
10744
|
}
|
|
10742
10745
|
}), G = r(() => {
|
|
10743
|
-
let e = w(
|
|
10746
|
+
let e = w(X.value);
|
|
10744
10747
|
if (pe.value && he.value.length > 0) {
|
|
10745
10748
|
let t = new Set(e), n = he.value.filter((e) => t.has(e)), r = new Set(he.value), i = e.filter((e) => !r.has(e));
|
|
10746
10749
|
return [...n, ...i];
|
|
10747
10750
|
}
|
|
10748
10751
|
return Be(e);
|
|
10749
|
-
}), ae = r(() => _.value[
|
|
10750
|
-
get: () => R.value[
|
|
10751
|
-
set: (e) => S(
|
|
10752
|
-
}),
|
|
10753
|
-
let e =
|
|
10752
|
+
}), ae = r(() => _.value[X.value] ?? !1), K = r(() => A.value || $(t.value).prefetchFilterValues === !0), q = r(() => (o?.value ?? !1) && (s?.value ?? !1) && U.value.length === 0 && Ne.value.length === 0), J = r(() => o?.value ?? !1), Y = r(() => J.value && (s?.value ?? !1)), oe = r({
|
|
10753
|
+
get: () => R.value[X.value] ?? "",
|
|
10754
|
+
set: (e) => S(X.value, e)
|
|
10755
|
+
}), se = r(() => $(t.value).filterSearchMinLength ?? M.value), ce = r(() => {
|
|
10756
|
+
let e = se.value ?? 0, t = oe.value?.length ?? 0;
|
|
10754
10757
|
return e > 0 && t > 0 && t < e;
|
|
10755
|
-
}),
|
|
10758
|
+
}), X = r(() => t.value.field || ""), le = r(() => t.value.filter || ""), ue = r(() => t.value.headerName || ""), de = r(() => n?.value === "vertical"), pe = k(!1), me = k(!1), he = k([]), ge = r(() => Es(t.value)), _e = r(() => Ds(t.value)), ve = r(() => Os(t.value)), ye = r(() => $(t.value).filterOptionsSortDescription), be = r(() => $(t.value).filterOptionsSortTooltip), xe = r(() => {
|
|
10756
10759
|
let e = $(t.value).filterSearch;
|
|
10757
10760
|
return typeof e == "boolean" ? e : $(t.value).dataType !== bs.Boolean;
|
|
10758
|
-
}), 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 ? U.value.length >= _e.value : !1), Oe = r(() => G.value.filter((e) => e != null && !U.value.includes(e))), ke = r(() =>
|
|
10761
|
+
}), 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 ? U.value.length >= _e.value : !1), Oe = r(() => G.value.filter((e) => e != null && !U.value.includes(e))), ke = r(() => J.value ? void 0 : B.value[X.value]), Ae = r(() => J.value ? !1 : z.value[X.value]), je = r(() => Ps(t.value)), Me = () => new Set([X.value, ...Ms(t.value)]), Z = (e, t) => {
|
|
10759
10762
|
let n = new Set(e), r = new Set(t);
|
|
10760
10763
|
return n.size === r.size ? [...n].every((e) => r.has(e)) : !1;
|
|
10761
10764
|
}, Ne = k([]), Pe = k("[]"), Fe = r(() => G.value.length === 1 && G.value[0] === null && U.value.length === 0), Ie = (e = !1) => {
|
|
@@ -10763,9 +10766,9 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
10763
10766
|
let n = [];
|
|
10764
10767
|
if (H.value && l.value) {
|
|
10765
10768
|
let e = l.value.getAdvancedFilterModel();
|
|
10766
|
-
n = rf(
|
|
10769
|
+
n = rf(X.value, e);
|
|
10767
10770
|
} else n = Jd(t.value, p.value);
|
|
10768
|
-
e ? U.value = n : U.value = Array.from(new Set([...b(
|
|
10771
|
+
e ? U.value = n : U.value = Array.from(new Set([...b(X.value), ...n]));
|
|
10769
10772
|
}, Le = (e) => {
|
|
10770
10773
|
let t = (n) => {
|
|
10771
10774
|
for (let r of n) if (r.id === String(e) && r.state === "selected" || r.children && t(r.children)) return !0;
|
|
@@ -10780,15 +10783,15 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
10780
10783
|
return n && !r ? -1 : !n && r ? 1 : 0;
|
|
10781
10784
|
}), Ve = async (e = !1, n = !1) => {
|
|
10782
10785
|
if (!l.value) return;
|
|
10783
|
-
let r = O.value[
|
|
10786
|
+
let r = O.value[X.value] ?? !1, i = _.value[X.value] !== !0, a = (w(X.value) || []).length === 0, o = e && i && (r || n || a);
|
|
10784
10787
|
if (H.value) {
|
|
10785
10788
|
if (x.value && o) {
|
|
10786
10789
|
let e = await d(t.value, {
|
|
10787
10790
|
api: l.value,
|
|
10788
10791
|
filterModel: p.value ?? void 0,
|
|
10789
|
-
useStaged:
|
|
10792
|
+
useStaged: de.value
|
|
10790
10793
|
});
|
|
10791
|
-
D(
|
|
10794
|
+
D(X.value, e), O.value[X.value] = !1, Lt();
|
|
10792
10795
|
}
|
|
10793
10796
|
return;
|
|
10794
10797
|
}
|
|
@@ -10798,10 +10801,10 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
10798
10801
|
s.refreshFilterValues();
|
|
10799
10802
|
return;
|
|
10800
10803
|
}
|
|
10801
|
-
D(
|
|
10804
|
+
D(X.value, s.getFilterValues()), O.value[X.value] = !1;
|
|
10802
10805
|
}
|
|
10803
10806
|
}, Q = (e) => {
|
|
10804
|
-
let t = y(
|
|
10807
|
+
let t = y(X.value, e);
|
|
10805
10808
|
return !t && je.value && e && (t = st(e)), t;
|
|
10806
10809
|
}, He = (e) => e?.field ?? e?.colField, Ue = (e) => e?.rawValue == null ? e?.metadata?.rawValue == null ? e ? $e(e.value).value : null : e.metadata.rawValue : e.rawValue, We = (e, t) => t?.rawValue == null ? t?.metadata?.rawValue == null ? e : t.metadata.rawValue : t.rawValue, Ge = (e, t) => {
|
|
10807
10810
|
if (!e || !t || e.label && e.rawValue == null && e.metadata?.rawValue == null) return e;
|
|
@@ -10827,16 +10830,16 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
10827
10830
|
return i?.length ? t == null ? !0 : !i.some((e) => t.metadata?.[e] != null) : !1;
|
|
10828
10831
|
}
|
|
10829
10832
|
if (!$(t.value).metadataDisplayFields?.length) return !1;
|
|
10830
|
-
let r = y(
|
|
10833
|
+
let r = y(X.value, e);
|
|
10831
10834
|
return r == null || r.label == null;
|
|
10832
|
-
}, Ye = (e) => Fe.value || y(
|
|
10835
|
+
}, Ye = (e) => Fe.value || y(X.value, e)?.isSelectable === !1 ? !0 : ve.value ? !1 : De.value && !U.value.includes(e), Xe = (e) => e ? l.value && l.value.getColumnDef(e)?.headerName || e : "", Ze = (e, n, r) => $l({
|
|
10833
10836
|
fallbackSubText: n,
|
|
10834
10837
|
getDisplayName: Xe,
|
|
10835
10838
|
matchedField: e?.matchedField,
|
|
10836
10839
|
matchedValue: e?.matchedValue ?? e?.menuOption?.searchText,
|
|
10837
10840
|
primaryText: r,
|
|
10838
10841
|
showPrefix: $(t.value).showSearchMatchSubTextPrefix !== !1
|
|
10839
|
-
}), Qe = r(() => Zl(
|
|
10842
|
+
}), Qe = r(() => Zl(X.value, $(t.value).queryColIds, (e) => e === X.value && ue.value || Xe(e))), $e = (e) => {
|
|
10840
10843
|
if (!e.startsWith("__")) return { value: e };
|
|
10841
10844
|
let t = e.slice(2).split("__");
|
|
10842
10845
|
return t.length < 2 ? { value: e } : {
|
|
@@ -10846,7 +10849,7 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
10846
10849
|
}, et = (e) => Wl(e, rt()), tt = (e) => {
|
|
10847
10850
|
let t = $e(e.value), n = { ...e };
|
|
10848
10851
|
return !n.field && !n.colField && t.field && (n.field = t.field), n.rawValue == null && n.metadata?.rawValue == null && t.field && (n.rawValue = t.value), e.children?.length && (n.children = e.children.map(tt)), n;
|
|
10849
|
-
}, nt = r(() => [...u.filterValueMap.value[
|
|
10852
|
+
}, nt = r(() => [...u.filterValueMap.value[X.value] || [], ...u.filterValueSelectedMetadataMap.value[X.value] || []].map((e) => e && tt(e))), rt = () => nt.value, it = (e, t) => {
|
|
10850
10853
|
for (let n of e) {
|
|
10851
10854
|
if (!n) continue;
|
|
10852
10855
|
if (t(n)) return n;
|
|
@@ -10898,14 +10901,14 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
10898
10901
|
return r?.children?.length ? r : at(n, e.id) || (r && He(r) === Ns(t.value) ? r : ct(e.id) || r);
|
|
10899
10902
|
}, ut = (e) => {
|
|
10900
10903
|
if (!je.value) return;
|
|
10901
|
-
let t = u.filterValueSelectedMetadataMap.value[
|
|
10904
|
+
let t = u.filterValueSelectedMetadataMap.value[X.value] || [], n = /* @__PURE__ */ new Map();
|
|
10902
10905
|
for (let e of t) e && n.set(e.value, e);
|
|
10903
10906
|
for (let t of e) {
|
|
10904
10907
|
if (t.state !== "selected") continue;
|
|
10905
10908
|
let e = lt(t);
|
|
10906
10909
|
e && n.set(e.value, e);
|
|
10907
10910
|
}
|
|
10908
|
-
u.filterValueSelectedMetadataMap.value[
|
|
10911
|
+
u.filterValueSelectedMetadataMap.value[X.value] = [...n.values()];
|
|
10909
10912
|
}, dt = () => {
|
|
10910
10913
|
let e = /* @__PURE__ */ new Set();
|
|
10911
10914
|
for (let t of Ne.value) {
|
|
@@ -10915,7 +10918,7 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
10915
10918
|
}
|
|
10916
10919
|
return [...e].filter((e) => !G.value.includes(e));
|
|
10917
10920
|
}, ft = (e) => {
|
|
10918
|
-
let n = y(
|
|
10921
|
+
let n = y(X.value, e), r = (n?.children?.length ?? 0) > 0 || (n?.totalChildCount ?? 0) > 0, i = ye.value ? "suggestions" : null;
|
|
10919
10922
|
n?.isPreference && (i = "preferences");
|
|
10920
10923
|
let a = null, o = qe(e) || "", s = n?.matchedValue;
|
|
10921
10924
|
s ? a = Ze(n, n?.subText, o) : n?.subText ? a = n.subText : He(n) && je.value && !r && (a = Xe(He(n)));
|
|
@@ -10943,9 +10946,9 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
10943
10946
|
let r = Math.max(n?.offset ?? 0, a), o = await u.filterStoreHandler.value({
|
|
10944
10947
|
api: l.value,
|
|
10945
10948
|
colDef: t.value,
|
|
10946
|
-
field:
|
|
10949
|
+
field: X.value,
|
|
10947
10950
|
filterModel: p.value ?? void 0,
|
|
10948
|
-
query:
|
|
10951
|
+
query: oe.value || void 0,
|
|
10949
10952
|
offset: r,
|
|
10950
10953
|
parentId: i,
|
|
10951
10954
|
reason: "child-load-more"
|
|
@@ -10975,7 +10978,7 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
10975
10978
|
return e.filter((t, n) => e.indexOf(t) === n).filter((e) => e != null && e !== "").filter((e) => !Je(e)).map(ft);
|
|
10976
10979
|
}), mt = (e) => {
|
|
10977
10980
|
let t = e.children;
|
|
10978
|
-
t?.length && (t = t.filter((t) => !
|
|
10981
|
+
t?.length && (t = t.filter((t) => !Y.value || ze(t, e.id)).map((e) => mt(e)));
|
|
10979
10982
|
let n = (e.children ?? []).some((t) => ze(t, e.id));
|
|
10980
10983
|
return {
|
|
10981
10984
|
...e,
|
|
@@ -10987,10 +10990,10 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
10987
10990
|
};
|
|
10988
10991
|
}, ht = (e) => je.value ? ze(e, null) : U.value.includes(e.id), gt = r(() => {
|
|
10989
10992
|
let e = pt.value;
|
|
10990
|
-
return
|
|
10993
|
+
return J.value ? e.filter((e) => !Y.value || ht(e)).map((e) => mt(e)) : e;
|
|
10991
10994
|
}), _t = r({
|
|
10992
10995
|
get: () => je.value ? [] : U.value.map((e) => {
|
|
10993
|
-
let t = y(
|
|
10996
|
+
let t = y(X.value, e), n = He(t), r = n ? Xe(n) : void 0;
|
|
10994
10997
|
return {
|
|
10995
10998
|
id: e,
|
|
10996
10999
|
text: qe(e),
|
|
@@ -11000,7 +11003,7 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
11000
11003
|
}),
|
|
11001
11004
|
set: (e) => {
|
|
11002
11005
|
if (je.value) {
|
|
11003
|
-
if (e.length === 0 && !pe.value && j.value && !
|
|
11006
|
+
if (e.length === 0 && !pe.value && j.value && !de.value) {
|
|
11004
11007
|
Pt([]);
|
|
11005
11008
|
return;
|
|
11006
11009
|
}
|
|
@@ -11017,25 +11020,25 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
11017
11020
|
let e = new Set(t), r = new Set(n);
|
|
11018
11021
|
for (let t of r) e.has(t) || wt(t, "select", "click", r.size);
|
|
11019
11022
|
for (let t of e) r.has(t) || wt(t, "deselect", "click", r.size);
|
|
11020
|
-
}), U.value = n, (e.length === 0 && !pe.value || !j.value ||
|
|
11021
|
-
!U.value.includes(e) && ne.value ===
|
|
11023
|
+
}), U.value = n, (e.length === 0 && !pe.value || !j.value || de.value) && (yt(), te.value.forEach((e) => {
|
|
11024
|
+
!U.value.includes(e) && ne.value === X.value && V(e);
|
|
11022
11025
|
})), i?.();
|
|
11023
11026
|
}
|
|
11024
11027
|
}), vt = (e) => {
|
|
11025
11028
|
let t = {};
|
|
11026
11029
|
for (let n of e) {
|
|
11027
11030
|
if (n === null) continue;
|
|
11028
|
-
let e = He(y(
|
|
11031
|
+
let e = He(y(X.value, n)) || X.value;
|
|
11029
11032
|
t[e] || (t[e] = []), t[e].push(n);
|
|
11030
11033
|
}
|
|
11031
11034
|
return t;
|
|
11032
11035
|
}, yt = async (e, n, r) => {
|
|
11033
11036
|
if (!l.value) return;
|
|
11034
11037
|
if (e !== void 0 && n !== void 0) {
|
|
11035
|
-
let r = e ||
|
|
11038
|
+
let r = e || X.value, i = new Set([X.value, r]), a = n;
|
|
11036
11039
|
if (H.value) {
|
|
11037
11040
|
let e = Fd(r, a || []);
|
|
11038
|
-
if (
|
|
11041
|
+
if (de.value) {
|
|
11039
11042
|
let t = h.value, n = tf(t, e, r);
|
|
11040
11043
|
N(i, !0), h.value = n;
|
|
11041
11044
|
return;
|
|
@@ -11046,7 +11049,7 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
11046
11049
|
});
|
|
11047
11050
|
return;
|
|
11048
11051
|
}
|
|
11049
|
-
if (
|
|
11052
|
+
if (de.value) {
|
|
11050
11053
|
let e = await qd(l.value, t.value, a);
|
|
11051
11054
|
N(i, !0), h.value = {
|
|
11052
11055
|
...h.value,
|
|
@@ -11062,7 +11065,7 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
11062
11065
|
}
|
|
11063
11066
|
let i = vt(U.value), o = $(t.value);
|
|
11064
11067
|
if (H.value) {
|
|
11065
|
-
let e =
|
|
11068
|
+
let e = de.value ? h.value : l.value.getAdvancedFilterModel(), n = e, s = /* @__PURE__ */ new Set();
|
|
11066
11069
|
if (je.value) {
|
|
11067
11070
|
let e = Ms(t.value), r = [];
|
|
11068
11071
|
for (let t of e) {
|
|
@@ -11086,8 +11089,8 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
11086
11089
|
} : e;
|
|
11087
11090
|
}
|
|
11088
11091
|
} else {
|
|
11089
|
-
let t = U.value.length > 0 ? U.value : null, r = Fd(
|
|
11090
|
-
n = tf(n, r,
|
|
11092
|
+
let t = U.value.length > 0 ? U.value : null, r = Fd(X.value, t || []);
|
|
11093
|
+
n = tf(n, r, X.value);
|
|
11091
11094
|
let i = !1;
|
|
11092
11095
|
if (a?.value) {
|
|
11093
11096
|
let e = o.filterGroup?.fields ?? [];
|
|
@@ -11099,11 +11102,11 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
11099
11102
|
n = tf(n, r, t);
|
|
11100
11103
|
}
|
|
11101
11104
|
}
|
|
11102
|
-
let c = U.value.filter((e) => e !== null), l = rf(
|
|
11105
|
+
let c = U.value.filter((e) => e !== null), l = rf(X.value, e), u = new Set(l), d = new Set(c);
|
|
11103
11106
|
if (!(u.size !== d.size || c.some((e) => !u.has(e))) && !i) return;
|
|
11104
11107
|
}
|
|
11105
11108
|
if (r?.skipIfUnchanged && ef(e, n)) return;
|
|
11106
|
-
if (N(je.value ? Me() : new Set([
|
|
11109
|
+
if (N(je.value ? Me() : new Set([X.value, ...s]), de.value), de.value) h.value = n;
|
|
11107
11110
|
else {
|
|
11108
11111
|
let e = n;
|
|
11109
11112
|
v(() => {
|
|
@@ -11117,34 +11120,34 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
11117
11120
|
let e = Jd(t.value, l.value.getFilterModel());
|
|
11118
11121
|
if (Z(U.value, e)) return;
|
|
11119
11122
|
}
|
|
11120
|
-
if (
|
|
11123
|
+
if (de.value) {
|
|
11121
11124
|
let e = await qd(l.value, t.value, s);
|
|
11122
|
-
N(new Set([
|
|
11125
|
+
N(new Set([X.value]), !0), h.value = {
|
|
11123
11126
|
...h.value,
|
|
11124
|
-
[
|
|
11127
|
+
[X.value]: e
|
|
11125
11128
|
};
|
|
11126
11129
|
return;
|
|
11127
11130
|
}
|
|
11128
11131
|
let c = await qd(l.value, t.value, s);
|
|
11129
|
-
N(new Set([
|
|
11132
|
+
N(new Set([X.value])), l.value.setColumnFilterModel(X.value, c).then(() => {
|
|
11130
11133
|
l.value && l.value.onFilterChanged();
|
|
11131
11134
|
});
|
|
11132
|
-
}, bt = r(() =>
|
|
11135
|
+
}, bt = r(() => de.value ? "all_filters_drawer" : "horizontal"), xt = !1, St = (e, t) => {
|
|
11133
11136
|
xt = !0;
|
|
11134
|
-
let n =
|
|
11137
|
+
let n = oe.value || "";
|
|
11135
11138
|
Su(() => {
|
|
11136
11139
|
xu("filter_bulk_action", {
|
|
11137
|
-
filter_name:
|
|
11138
|
-
filter_field:
|
|
11140
|
+
filter_name: ue.value,
|
|
11141
|
+
filter_field: X.value,
|
|
11139
11142
|
action: e,
|
|
11140
11143
|
value_count: t,
|
|
11141
11144
|
location: bt.value,
|
|
11142
11145
|
search_query: n
|
|
11143
11146
|
}, c());
|
|
11144
11147
|
});
|
|
11145
|
-
}, Ct = (e) => !je.value || e == null ?
|
|
11148
|
+
}, Ct = (e) => !je.value || e == null ? X.value : He(Q(e)) || ($e(e).field ?? X.value), wt = (e, t, n, r) => {
|
|
11146
11149
|
xu("filter_option_selected", {
|
|
11147
|
-
filter_name:
|
|
11150
|
+
filter_name: ue.value,
|
|
11148
11151
|
filter_field: Ct(e),
|
|
11149
11152
|
selected_value: qe(e),
|
|
11150
11153
|
selected_value_id: e,
|
|
@@ -11152,7 +11155,7 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
11152
11155
|
source: n,
|
|
11153
11156
|
current_selection_count: r,
|
|
11154
11157
|
location: bt.value,
|
|
11155
|
-
search_query:
|
|
11158
|
+
search_query: oe.value || ""
|
|
11156
11159
|
}, c());
|
|
11157
11160
|
}, Tt = (e) => {
|
|
11158
11161
|
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Map();
|
|
@@ -11185,7 +11188,7 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
11185
11188
|
}), Ot = (e, n, r = "click") => {
|
|
11186
11189
|
let a = null;
|
|
11187
11190
|
if (je.value && e) {
|
|
11188
|
-
let r = n || Ms(t.value)[0] ||
|
|
11191
|
+
let r = n || Ms(t.value)[0] || X.value;
|
|
11189
11192
|
a = e.startsWith("__") ? e : ot(r, e) || e;
|
|
11190
11193
|
}
|
|
11191
11194
|
let o = e != null && (U.value.includes(e) || a != null && Le(a)), s = U.value.slice();
|
|
@@ -11199,7 +11202,7 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
11199
11202
|
a != null && (Ne.value.find((e) => e.id === a) || (Ne.value = [...Ne.value, {
|
|
11200
11203
|
id: a,
|
|
11201
11204
|
state: "selected"
|
|
11202
|
-
}])), (!j.value ||
|
|
11205
|
+
}])), (!j.value || de.value) && (je.value && e ? Pt(Ne.value) : n && n !== X.value ? yt(n, [e]) : yt()), i?.();
|
|
11203
11206
|
}, kt = (e, n, r = "click") => {
|
|
11204
11207
|
let a = U.value.includes(e);
|
|
11205
11208
|
if (U.value = U.value.filter((t) => t !== e), e != null && a) {
|
|
@@ -11209,14 +11212,14 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
11209
11212
|
});
|
|
11210
11213
|
}
|
|
11211
11214
|
if (je.value && e) {
|
|
11212
|
-
let r = n || Ms(t.value)[0] ||
|
|
11215
|
+
let r = n || Ms(t.value)[0] || X.value, i = e.startsWith("__") ? e : ot(r, e) || e;
|
|
11213
11216
|
Ne.value = Ne.value.filter((e) => e.id !== i);
|
|
11214
11217
|
}
|
|
11215
|
-
(!j.value ||
|
|
11218
|
+
(!j.value || de.value) && (je.value && e ? Pt(Ne.value) : n && n !== X.value ? yt(n, null) : yt()), i?.();
|
|
11216
11219
|
}, At = () => {
|
|
11217
|
-
he.value = Be(w(
|
|
11220
|
+
he.value = Be(w(X.value)), pe.value = !0;
|
|
11218
11221
|
}, jt = () => {
|
|
11219
|
-
pe.value = !1, he.value = [],
|
|
11222
|
+
pe.value = !1, he.value = [], oe.value = "", xt = !1, !o?.value && j.value && !de.value && (je.value ? Pt(Ne.value, { skipIfUnchanged: !0 }) : yt(void 0, void 0, { skipIfUnchanged: !0 }));
|
|
11220
11223
|
}, Mt = async (e) => {
|
|
11221
11224
|
if (!l.value) return;
|
|
11222
11225
|
let n = G.value.length, r = !e.parentId;
|
|
@@ -11227,7 +11230,7 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
11227
11230
|
filterModel: p.value ?? void 0,
|
|
11228
11231
|
offset: e.offset ?? n,
|
|
11229
11232
|
parentId: e.parentId,
|
|
11230
|
-
useStaged:
|
|
11233
|
+
useStaged: de.value
|
|
11231
11234
|
});
|
|
11232
11235
|
} finally {
|
|
11233
11236
|
r && (me.value = !1);
|
|
@@ -11242,16 +11245,16 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
11242
11245
|
let r = JSON.stringify(e);
|
|
11243
11246
|
if (n?.skipIfUnchanged && r === Pe.value) return Ne.value = e, !1;
|
|
11244
11247
|
if (Ne.value = e, ut(e), Ms(t.value).length === 0) return !1;
|
|
11245
|
-
let a =
|
|
11248
|
+
let a = de.value ? h.value : l.value.getAdvancedFilterModel(), o = Nt(e, a);
|
|
11246
11249
|
if (n?.skipIfUnchanged && ef(a, o)) return Pe.value = r, !1;
|
|
11247
|
-
if (
|
|
11250
|
+
if (de.value) h.value = o;
|
|
11248
11251
|
else {
|
|
11249
11252
|
let e = o;
|
|
11250
11253
|
v(() => {
|
|
11251
11254
|
l.value?.setAdvancedFilterModel(e);
|
|
11252
11255
|
});
|
|
11253
11256
|
}
|
|
11254
|
-
return Pe.value = r, N(Me(),
|
|
11257
|
+
return Pe.value = r, N(Me(), de.value), i?.(), !0;
|
|
11255
11258
|
}, Ft = (e) => {
|
|
11256
11259
|
if (!je.value || !Ms(t.value).length) return;
|
|
11257
11260
|
let n = Xl({
|
|
@@ -11267,11 +11270,11 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
11267
11270
|
!je.value || !H.value || It() && Ft(p.value);
|
|
11268
11271
|
};
|
|
11269
11272
|
W(Ne, (e) => {
|
|
11270
|
-
je.value && (ut(e), !(j.value && !
|
|
11271
|
-
}, { deep: !0 }), W(() => O.value[
|
|
11272
|
-
!e || pe.value ||
|
|
11273
|
+
je.value && (ut(e), !(j.value && !de.value) && Pt(e));
|
|
11274
|
+
}, { deep: !0 }), W(() => O.value[X.value], (e) => {
|
|
11275
|
+
!e || pe.value || q.value || K.value && Ve(!0);
|
|
11273
11276
|
}), W(() => h.value, () => {
|
|
11274
|
-
if (
|
|
11277
|
+
if (de.value) {
|
|
11275
11278
|
if (H.value) {
|
|
11276
11279
|
let e = [], n = h.value;
|
|
11277
11280
|
if (je.value) {
|
|
@@ -11280,20 +11283,20 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
11280
11283
|
let r = rf(t, n);
|
|
11281
11284
|
e.push(...r);
|
|
11282
11285
|
}
|
|
11283
|
-
} else e = rf(
|
|
11286
|
+
} else e = rf(X.value, n);
|
|
11284
11287
|
U.value = e;
|
|
11285
11288
|
return;
|
|
11286
11289
|
}
|
|
11287
|
-
|
|
11290
|
+
le.value === "agSetColumnFilter" ? U.value = h.value?.[X.value]?.values || [] : le.value === "agMultiColumnFilter" ? U.value = h.value?.[X.value]?.filterModels?.find((e) => e && e.filterType === "set")?.values || [] : console.error(`Staged filter model update for filter type ${le.value} is not yet supported.`);
|
|
11288
11291
|
}
|
|
11289
11292
|
}), W(() => p.value, () => {
|
|
11290
|
-
if (
|
|
11293
|
+
if (de.value) return;
|
|
11291
11294
|
if (je.value) {
|
|
11292
11295
|
H.value && Ft(p.value);
|
|
11293
11296
|
return;
|
|
11294
11297
|
}
|
|
11295
11298
|
if (H.value) {
|
|
11296
|
-
let e = p.value, t = rf(
|
|
11299
|
+
let e = p.value, t = rf(X.value, e);
|
|
11297
11300
|
Ie(U.value.some((e) => e !== null && !t.includes(e)));
|
|
11298
11301
|
return;
|
|
11299
11302
|
}
|
|
@@ -11302,15 +11305,15 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
11302
11305
|
}, { deep: !0 }), W(() => g.value, () => {
|
|
11303
11306
|
U.value = [], Ne.value = [], Pe.value = "[]";
|
|
11304
11307
|
}), W(() => l.value, (e) => {
|
|
11305
|
-
e && x.value && !pe.value && (O.value[
|
|
11308
|
+
e && x.value && !pe.value && (O.value[X.value] = !0);
|
|
11306
11309
|
}, { immediate: !0 }), W(() => ie.value, async () => {
|
|
11307
|
-
K.value && !
|
|
11310
|
+
K.value && !q.value && !pe.value && (de.value ? setTimeout(async () => {
|
|
11308
11311
|
pe.value || await Ve(!0);
|
|
11309
11312
|
}, 2e3) : await Ve(!0)), Ie();
|
|
11310
|
-
}), fe(() =>
|
|
11313
|
+
}), fe(() => oe.value, async () => {
|
|
11311
11314
|
if (pe.value) {
|
|
11312
|
-
if (
|
|
11313
|
-
f(
|
|
11315
|
+
if (ce.value) {
|
|
11316
|
+
f(X.value);
|
|
11314
11317
|
return;
|
|
11315
11318
|
}
|
|
11316
11319
|
await Ve(!0, !0);
|
|
@@ -11322,16 +11325,16 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
11322
11325
|
}, zt = (e) => {
|
|
11323
11326
|
Su(() => {
|
|
11324
11327
|
xu("filter_search", {
|
|
11325
|
-
filter_name:
|
|
11326
|
-
filter_field:
|
|
11328
|
+
filter_name: ue.value,
|
|
11329
|
+
filter_field: X.value,
|
|
11327
11330
|
query: e,
|
|
11328
11331
|
result_count: Rt(e),
|
|
11329
11332
|
location: bt.value
|
|
11330
11333
|
}, c());
|
|
11331
11334
|
});
|
|
11332
11335
|
}, Bt = null;
|
|
11333
|
-
return fe(() =>
|
|
11334
|
-
if (!e ||
|
|
11336
|
+
return fe(() => oe.value, (e) => {
|
|
11337
|
+
if (!e || oe.value !== e || ce.value) {
|
|
11335
11338
|
Bt = null;
|
|
11336
11339
|
return;
|
|
11337
11340
|
}
|
|
@@ -11343,11 +11346,11 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
11343
11346
|
}, { debounce: 500 }), W(() => ae.value, (e) => {
|
|
11344
11347
|
if (e || Bt == null) return;
|
|
11345
11348
|
let t = Bt;
|
|
11346
|
-
Bt = null,
|
|
11349
|
+
Bt = null, oe.value === t && zt(t);
|
|
11347
11350
|
}), T(() => {
|
|
11348
|
-
P(
|
|
11351
|
+
P(X.value);
|
|
11349
11352
|
let e = Ms(t.value);
|
|
11350
|
-
if (e.length && ee(
|
|
11353
|
+
if (e.length && ee(X.value, e), Ie(), je.value && H.value && Ft(p.value), o?.value && x.value && l.value) {
|
|
11351
11354
|
let e = je.value || ($(t.value).metadataDisplayFields?.length ?? 0) > 0, n = je.value && H.value ? Ms(t.value).some((e) => rf(e, p.value).length > 0) : U.value.length > 0;
|
|
11352
11355
|
e && n && d(t.value, {
|
|
11353
11356
|
api: l.value,
|
|
@@ -11356,21 +11359,21 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
11356
11359
|
}
|
|
11357
11360
|
je.value || $(t.value).metadataDisplayFields?.length && U.value.some((e) => Je(e)) && Ve(!0, !0);
|
|
11358
11361
|
}), E(() => {
|
|
11359
|
-
F(
|
|
11362
|
+
F(X.value), j.value && !de.value && (je.value ? Pt(Ne.value, { skipIfUnchanged: !0 }) : yt(void 0, void 0, { skipIfUnchanged: !0 }));
|
|
11360
11363
|
}), {
|
|
11361
11364
|
selectedValues: U,
|
|
11362
11365
|
filterValues: G,
|
|
11363
11366
|
isLoading: ae,
|
|
11364
11367
|
isSeeMoreLoading: me,
|
|
11365
|
-
filterSearchText:
|
|
11366
|
-
filterSearchMinLength:
|
|
11367
|
-
belowFilterSearchMinLength:
|
|
11368
|
+
filterSearchText: oe,
|
|
11369
|
+
filterSearchMinLength: se,
|
|
11370
|
+
belowFilterSearchMinLength: ce,
|
|
11368
11371
|
rowsLoading: re,
|
|
11369
11372
|
gridApi: l,
|
|
11370
|
-
filterField:
|
|
11371
|
-
filterType:
|
|
11372
|
-
filterDisplayName:
|
|
11373
|
-
isInFilterPanel:
|
|
11373
|
+
filterField: X,
|
|
11374
|
+
filterType: le,
|
|
11375
|
+
filterDisplayName: ue,
|
|
11376
|
+
isInFilterPanel: de,
|
|
11374
11377
|
maxSelectableValues: _e,
|
|
11375
11378
|
isSingleSelect: ve,
|
|
11376
11379
|
selectionLimitReached: De,
|
|
@@ -11648,7 +11651,7 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
11648
11651
|
"handle-settings-icon"
|
|
11649
11652
|
],
|
|
11650
11653
|
setup(e, { emit: n }) {
|
|
11651
|
-
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: R, isSingleSelect: B, suggestedValues: te, displayedFilterValues: V, selectedFilterValues: ne, showSearchBar: re, filterSearchPlaceholder: ie, emptyFilterResultsRenderer: H, filterOptionsLoadingText: U, filterOptionsRenderer: W, filterHeaderRenderer: ae, filterFooterRenderer: K, filterOptionsSortDescription:
|
|
11654
|
+
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: R, isSingleSelect: B, suggestedValues: te, displayedFilterValues: V, selectedFilterValues: ne, showSearchBar: re, filterSearchPlaceholder: ie, emptyFilterResultsRenderer: H, filterOptionsLoadingText: U, filterOptionsRenderer: W, filterHeaderRenderer: ae, filterFooterRenderer: K, filterOptionsSortDescription: q, filterOptionsSortTooltip: J, filterValueContext: Y, formatDisplayValue: oe, resolvedFilterValueContext: se, isUnresolvedMetadataValue: ce, getLatestFilterValues: X, addSelectedValue: le, removeSelectedValue: ue, recordBulkAction: de, rumLocation: fe, handleDropdownOpen: pe, handleDropdownClosed: me, handleSeeMore: he, getColDisplayNameForField: ge, hasMoreOptions: _e, totalOptionCount: ve, isAggregate: ye, cascadeSelectionState: be, cascadeSelectionStateModel: xe } = yf({
|
|
11652
11655
|
filterColDef: L(d, "filterColDef"),
|
|
11653
11656
|
filterStyle: L(d, "filterStyle"),
|
|
11654
11657
|
onSelectionChanged: () => f("filter-selection-changed"),
|
|
@@ -11673,7 +11676,7 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
11673
11676
|
return n && !De() ? `${d.focusText} (required)` : n ? `Remove ${d.focusText}` : `Select as ${d.focusText}`;
|
|
11674
11677
|
},
|
|
11675
11678
|
action: (e) => {
|
|
11676
|
-
e && !C.value.includes(e.id) &&
|
|
11679
|
+
e && !C.value.includes(e.id) && le(e.id, e.context?.colField);
|
|
11677
11680
|
let t = e.context?.colField || F.value;
|
|
11678
11681
|
Ce(ye.value ? Oe(e) : e.id, t);
|
|
11679
11682
|
},
|
|
@@ -11685,7 +11688,7 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
11685
11688
|
}), Ae = (e) => {
|
|
11686
11689
|
if (!e) return null;
|
|
11687
11690
|
if (!ye.value) return e;
|
|
11688
|
-
let t =
|
|
11691
|
+
let t = se(e);
|
|
11689
11692
|
if (t?.metadata?.rawValue != null) return String(t.metadata.rawValue);
|
|
11690
11693
|
if (e.startsWith("__")) {
|
|
11691
11694
|
let t = e.slice(2).split("__");
|
|
@@ -11693,8 +11696,8 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
11693
11696
|
}
|
|
11694
11697
|
return e;
|
|
11695
11698
|
}, je = (e) => {
|
|
11696
|
-
|
|
11697
|
-
let t =
|
|
11699
|
+
ue(e, void 0, "remove_chip");
|
|
11700
|
+
let t = se(e)?.colField || F.value, n = Ae(e);
|
|
11698
11701
|
we(n, t) && De() && Te(n);
|
|
11699
11702
|
}, Me = m(Xu, k(!1)), Z = r(() => !!$(d.filterColDef).filterGroup && Me.value), Ne = null, Pe = null, Fe = () => {
|
|
11700
11703
|
try {
|
|
@@ -11703,7 +11706,7 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
11703
11706
|
return null;
|
|
11704
11707
|
}
|
|
11705
11708
|
}, Ie = () => {
|
|
11706
|
-
Ne = Date.now(), Pe = Fe(), pe(),
|
|
11709
|
+
Ne = Date.now(), Pe = Fe(), pe(), X(!0);
|
|
11707
11710
|
}, Le = () => {
|
|
11708
11711
|
let e = Ne == null ? 0 : Date.now() - Ne;
|
|
11709
11712
|
Ne = null;
|
|
@@ -11723,11 +11726,11 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
11723
11726
|
me(), f("filter-closed");
|
|
11724
11727
|
});
|
|
11725
11728
|
}, Re = (e) => {
|
|
11726
|
-
let t =
|
|
11729
|
+
let t = se(e)?.colField || F.value;
|
|
11727
11730
|
return we(Ae(e), t);
|
|
11728
11731
|
}, ze = r(() => S.value > 0 ? !0 : ye.value ? be.value.length > 0 : C.value.length > 0);
|
|
11729
|
-
return (n, r) => (D(), o(t, null, [s("div", null, [z(R) && z(C).length > 0 ? (D(), o("ul", Tf, [(D(!0), o(t, null, A(z(C), (n) => (D(), o(t, { key: `${z(I)}-${n}` }, [z(
|
|
11730
|
-
label: z(
|
|
11732
|
+
return (n, r) => (D(), o(t, null, [s("div", null, [z(R) && z(C).length > 0 ? (D(), o("ul", Tf, [(D(!0), o(t, null, A(z(C), (n) => (D(), o(t, { key: `${z(I)}-${n}` }, [z(ce)(n) ? a("", !0) : (D(), o("li", Ef, [u(Oc, {
|
|
11733
|
+
label: z(oe)(n) || "",
|
|
11731
11734
|
showClear: !e.readOnly && (!Re(n) || z(De)()),
|
|
11732
11735
|
disabled: e.readOnly,
|
|
11733
11736
|
onHandleClose: (e) => je(n)
|
|
@@ -11786,8 +11789,8 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
11786
11789
|
onDropdownOpen: Ie,
|
|
11787
11790
|
onDropdownClosed: Le,
|
|
11788
11791
|
onSeeMore: z(he),
|
|
11789
|
-
onSelectAll: r[4] ||= (e) => z(
|
|
11790
|
-
onClearAll: r[5] ||= (e) => z(
|
|
11792
|
+
onSelectAll: r[4] ||= (e) => z(de)("select_all", e),
|
|
11793
|
+
onClearAll: r[5] ||= (e) => z(de)("clear_all", e)
|
|
11791
11794
|
}, c({
|
|
11792
11795
|
preferences: G(() => [s("div", Of, [r[7] ||= s("p", { class: "pv-text-subdued pv-text-body-xxs" }, "Your Preferences", -1), u(z(da), {
|
|
11793
11796
|
variant: "dark",
|
|
@@ -11811,11 +11814,11 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
11811
11814
|
"use-teleport": !0,
|
|
11812
11815
|
style: { "--max-width": "200px" }
|
|
11813
11816
|
}, c({
|
|
11814
|
-
trigger: G(() => [s("p", { class: y(["pv-text-subdued pv-text-body-xxs", z(
|
|
11817
|
+
trigger: G(() => [s("p", { class: y(["pv-text-subdued pv-text-body-xxs", z(J) ? "suggested-title-label" : ""]) }, P(z(q)), 3)]),
|
|
11815
11818
|
_: 2
|
|
11816
|
-
}, [z(
|
|
11819
|
+
}, [z(J) ? {
|
|
11817
11820
|
name: "content",
|
|
11818
|
-
fn: G(() => [l(P(z(
|
|
11821
|
+
fn: G(() => [l(P(z(J)), 1)]),
|
|
11819
11822
|
key: "0"
|
|
11820
11823
|
} : void 0]), 1024)])]),
|
|
11821
11824
|
_: 2
|
|
@@ -11853,11 +11856,11 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
11853
11856
|
"use-teleport": !0,
|
|
11854
11857
|
style: { "--max-width": "200px" }
|
|
11855
11858
|
}, c({
|
|
11856
|
-
trigger: G(() => [s("li", Nf, [s("p", { class: y(["pv-text-subdued pv-text-body-md", z(
|
|
11859
|
+
trigger: G(() => [s("li", Nf, [s("p", { class: y(["pv-text-subdued pv-text-body-md", z(J) ? "suggested-title-label" : ""]) }, " Suggested: ", 2)])]),
|
|
11857
11860
|
_: 2
|
|
11858
|
-
}, [z(
|
|
11861
|
+
}, [z(J) ? {
|
|
11859
11862
|
name: "content",
|
|
11860
|
-
fn: G(() => [l(P(z(
|
|
11863
|
+
fn: G(() => [l(P(z(J)), 1)]),
|
|
11861
11864
|
key: "0"
|
|
11862
11865
|
} : void 0]), 1024), (D(!0), o(t, null, A(z(te).filter((e) => e !== "" && e != null).slice(0, Pf), (e) => (D(), o("li", {
|
|
11863
11866
|
key: `${z(I)}-${e}-suggest`,
|
|
@@ -11868,8 +11871,8 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
11868
11871
|
}
|
|
11869
11872
|
}, [u(z(Rc), {
|
|
11870
11873
|
disabled: z(w),
|
|
11871
|
-
label: z(
|
|
11872
|
-
onHandleClick: (t) => z(
|
|
11874
|
+
label: z(oe)(e) || "",
|
|
11875
|
+
onHandleClick: (t) => z(le)(e, z(Y)(z(F), e)?.colField)
|
|
11873
11876
|
}, null, 8, [
|
|
11874
11877
|
"disabled",
|
|
11875
11878
|
"label",
|
|
@@ -11980,7 +11983,7 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
11980
11983
|
O.value = !1, M.value = "";
|
|
11981
11984
|
}, K = () => {
|
|
11982
11985
|
b(), C(), g.value = null, ae();
|
|
11983
|
-
},
|
|
11986
|
+
}, q = () => {
|
|
11984
11987
|
b(), re.value && n.value && (S(), f.value ? n.value.setAdvancedFilterModel(g.value) : (n.value.setFilterModel(g.value), n.value.onFilterChanged())), g.value = null, ae();
|
|
11985
11988
|
};
|
|
11986
11989
|
return (r, c) => (D(), o(t, null, [s("div", {
|
|
@@ -12035,7 +12038,7 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
12035
12038
|
"onUpdate:modelValue": c[9] ||= (e) => O.value = e,
|
|
12036
12039
|
class: "pv-drawer pv-surface",
|
|
12037
12040
|
"close-on-click-outside": !0,
|
|
12038
|
-
onClickOutside: c[10] ||= (e) =>
|
|
12041
|
+
onClickOutside: c[10] ||= (e) => q(),
|
|
12039
12042
|
style: {
|
|
12040
12043
|
"max-width": "450px",
|
|
12041
12044
|
"z-index": "10"
|
|
@@ -12069,7 +12072,7 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
12069
12072
|
variant: "primary",
|
|
12070
12073
|
label: "Apply",
|
|
12071
12074
|
"data-dd-action-name": "Apply filters",
|
|
12072
|
-
onClick: c[7] ||= (e) =>
|
|
12075
|
+
onClick: c[7] ||= (e) => q()
|
|
12073
12076
|
})) : (D(), i(z(Qn), {
|
|
12074
12077
|
key: 1,
|
|
12075
12078
|
variant: "primary",
|
|
@@ -12223,7 +12226,7 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
12223
12226
|
icon: h.value || void 0,
|
|
12224
12227
|
label: p.value || "",
|
|
12225
12228
|
staticLabel: !0,
|
|
12226
|
-
onClick: t[1] ||=
|
|
12229
|
+
onClick: t[1] ||= q(() => {}, ["stop"])
|
|
12227
12230
|
}, null, 8, [
|
|
12228
12231
|
"modelValue",
|
|
12229
12232
|
"options",
|
|
@@ -12245,7 +12248,7 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
12245
12248
|
size: 12,
|
|
12246
12249
|
name: "info-circle",
|
|
12247
12250
|
class: "pv-text-subdued",
|
|
12248
|
-
onClick: t[2] ||=
|
|
12251
|
+
onClick: t[2] ||= q(() => {}, ["stop"])
|
|
12249
12252
|
})]),
|
|
12250
12253
|
content: G(() => [s("div", Jf, P(g.value), 1)]),
|
|
12251
12254
|
_: 1
|
|
@@ -12264,7 +12267,7 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
12264
12267
|
variant: "ghost",
|
|
12265
12268
|
"left-icon": "menu",
|
|
12266
12269
|
ariaLabel: "Column menu",
|
|
12267
|
-
onClick:
|
|
12270
|
+
onClick: q(L, ["stop", "prevent"])
|
|
12268
12271
|
})], 4)])) : a("", !0)], 6));
|
|
12269
12272
|
}
|
|
12270
12273
|
}), [["__scopeId", "data-v-28185720"]]), Zf = {
|
|
@@ -12353,7 +12356,7 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
12353
12356
|
class: "pv-icon-24"
|
|
12354
12357
|
}, [s("title", null, "ellipsis"), s("use", { "xlink:href": "#ellipsis" })])], -1), s("div", np, [s("button", {
|
|
12355
12358
|
class: "pv-button pv-text-body-sm pv-inset-square-8",
|
|
12356
|
-
onClick:
|
|
12359
|
+
onClick: q(i, ["prevent"]),
|
|
12357
12360
|
disabled: r.value
|
|
12358
12361
|
}, [r.value ? (D(), o(t, { key: 0 }, [l("Exporting...")], 64)) : (D(), o(t, { key: 1 }, [l("Download CSV")], 64))], 8, rp)])]));
|
|
12359
12362
|
}
|
|
@@ -12953,33 +12956,33 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
12953
12956
|
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 || "";
|
|
12954
12957
|
}
|
|
12955
12958
|
return r.isArrayField && !e.valueFormatter ? n.valueFormatter = (e) => Bt(e, r.dataType) : r.dataType === bs.Percent && !e.valueFormatter ? n.valueFormatter = (e) => Rt(e, r.valueDecimals || 0) : r.dataType === bs.Currency && !e.valueFormatter ? n.valueFormatter = (e) => Lt(e, r.valueDecimals || 0) : r.dataType === bs.Integer && !e.valueFormatter ? n.valueFormatter = zt : r.dataType === bs.Tag && !e.cellRenderer && (n.cellRenderer = sp), n;
|
|
12956
|
-
},
|
|
12959
|
+
}, q = (e) => e.colId || e.field || "", J = (e, t = () => null) => (f.colDefs ?? []).map((e, t) => ({
|
|
12957
12960
|
colDef: e,
|
|
12958
12961
|
index: t
|
|
12959
|
-
})).filter(({ colDef: t }) => e(t)).sort((e, n) => (t(e.colDef) ?? e.index) - (t(n.colDef) ?? n.index) || e.index - n.index).map(({ colDef: e }) =>
|
|
12960
|
-
rowGroupCols:
|
|
12961
|
-
pivotCols:
|
|
12962
|
-
valueCols:
|
|
12963
|
-
} : null,
|
|
12964
|
-
let n = kt.value ===
|
|
12962
|
+
})).filter(({ colDef: t }) => e(t)).sort((e, n) => (t(e.colDef) ?? e.index) - (t(n.colDef) ?? n.index) || e.index - n.index).map(({ colDef: e }) => q(e)), Y = L ? {
|
|
12963
|
+
rowGroupCols: J((e) => !!e.rowGroup, (e) => e.rowGroupIndex ?? null),
|
|
12964
|
+
pivotCols: J((e) => !!e.pivot && !e.rowGroup, (e) => e.pivotIndex ?? null),
|
|
12965
|
+
valueCols: J((e) => !!e.aggFunc && !e.rowGroup && !e.pivot && e.enableValue !== !1)
|
|
12966
|
+
} : null, oe = (e) => e ? f.colDefs?.find((t) => q(t) === e) : void 0, se = (e) => oe(e)?.context, ce = (e) => oe(e)?.field ?? e, X = (e, t) => {
|
|
12967
|
+
let n = kt.value === Y?.pivotCols[0] ? At.value.map(String) : [], r = (e) => {
|
|
12965
12968
|
let t = n.indexOf(String(e));
|
|
12966
12969
|
return t === -1 ? n.length : t;
|
|
12967
12970
|
};
|
|
12968
12971
|
return r(e) - r(t) || String(e).localeCompare(String(t));
|
|
12969
|
-
},
|
|
12972
|
+
}, le = (e) => e.values.length === 1 ? e.values[0] : null, ue = (e) => typeof e == "function" ? (t) => e(t.data || !t.node?.group ? t : {
|
|
12970
12973
|
...t,
|
|
12971
12974
|
data: t.node.allLeafChildren?.[0]?.data
|
|
12972
|
-
}) : e,
|
|
12973
|
-
let t =
|
|
12975
|
+
}) : e, de = (e) => {
|
|
12976
|
+
let t = Y, n = q(e), r = t.rowGroupCols.indexOf(n), i = t.pivotCols.indexOf(n), a = t.valueCols.includes(n);
|
|
12974
12977
|
return {
|
|
12975
12978
|
...e,
|
|
12976
|
-
valueFormatter: r === -1 ? e.valueFormatter :
|
|
12979
|
+
valueFormatter: r === -1 ? e.valueFormatter : ue(e.valueFormatter),
|
|
12977
12980
|
rowGroup: r !== -1,
|
|
12978
12981
|
rowGroupIndex: r === -1 ? null : r,
|
|
12979
12982
|
pivot: i !== -1,
|
|
12980
12983
|
pivotIndex: i === -1 ? null : i,
|
|
12981
|
-
pivotComparator: i === 0 ?
|
|
12982
|
-
aggFunc: a ? f.serverSidePivotHandler ?
|
|
12984
|
+
pivotComparator: i === 0 ? X : e.pivotComparator,
|
|
12985
|
+
aggFunc: a ? f.serverSidePivotHandler ? le : e.aggFunc : null,
|
|
12983
12986
|
enableValue: a
|
|
12984
12987
|
};
|
|
12985
12988
|
}, pe = f.colDefs?.map((e) => {
|
|
@@ -12994,7 +12997,7 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
12994
12997
|
rowGroupIndex: 0,
|
|
12995
12998
|
suppressColumnsToolPanel: !0,
|
|
12996
12999
|
valueGetter: () => f.pivotTotalLabel
|
|
12997
|
-
}, tt = L ? [...pe.map(
|
|
13000
|
+
}, tt = L ? [...pe.map(de), ...Y?.rowGroupCols.length ? [] : [Ie]] : pe, nt = new Set(f.colDefs?.map((e) => e.field || e.colId).filter(Boolean) || []);
|
|
12998
13001
|
for (let e of tt) for (let t of Ms(e)) nt.has(t) || console.warn(`aggregate field hierarchy references "${t}" on column "${e.field || e.colId}", but no colDef with that field exists.`);
|
|
12999
13002
|
let rt = tt.some((e) => e.context?.visibilityState !== void 0), it = (e) => {
|
|
13000
13003
|
if (!L || !e) return e;
|
|
@@ -13037,12 +13040,12 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
13037
13040
|
let Ot = k(null), kt = r(() => yt?.computedFocusType.value || null), At = r(() => yt?.computedFocuses.value || []), jt = r(() => tt.filter((e) => e.filter)), Mt = r(() => tt.filter((e) => e.enableRowGroup)), Nt = r(() => pe.filter((e) => e.aggFunc)), Pt = k(null), Ft = k({}), It = k(1), Vt = k(0);
|
|
13038
13041
|
O(Cu, gt), O(wu, yt), O(Tu, ht), O(Eu, mt), O(Du, Ot), O(Ou, ot), O(ku, jt), O(Au, Mt), O(ju, st), O(Mu, Pt), O(Nu, Ft), O(Pu, lt), O(Fu, ut), O(Iu, It), O(Lu, Vt), O(Xu, r(() => f.enableAdvancedFilter));
|
|
13039
13042
|
let Ht = ee(void 0), Ut = r(() => {
|
|
13040
|
-
let e =
|
|
13043
|
+
let e = Y?.pivotCols[0], t = e && ce(e), n = Ht.value ?? f.rowData;
|
|
13041
13044
|
if (!t || !n) return /* @__PURE__ */ new Map();
|
|
13042
13045
|
let r = Array.from(new Set(n.map((e) => String(e[t]))));
|
|
13043
|
-
return new Map(r.sort(
|
|
13046
|
+
return new Map(r.sort(X).map((e, t) => [e, t]));
|
|
13044
13047
|
}), Wt = (e, t) => {
|
|
13045
|
-
let n =
|
|
13048
|
+
let n = oe(e);
|
|
13046
13049
|
return {
|
|
13047
13050
|
id: e,
|
|
13048
13051
|
field: n?.field ?? e,
|
|
@@ -13050,7 +13053,7 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
13050
13053
|
aggFunc: t && typeof n?.aggFunc == "string" ? n.aggFunc : void 0
|
|
13051
13054
|
};
|
|
13052
13055
|
}, Gt = 0, Kt = async () => {
|
|
13053
|
-
if (!
|
|
13056
|
+
if (!Y || !f.serverSidePivotHandler) return;
|
|
13054
13057
|
let e = ++Gt;
|
|
13055
13058
|
if (!ft.value) {
|
|
13056
13059
|
Ht.value = [], lt.value = !0;
|
|
@@ -13059,8 +13062,8 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
13059
13062
|
ut.value = !0;
|
|
13060
13063
|
try {
|
|
13061
13064
|
let t = await f.serverSidePivotHandler({
|
|
13062
|
-
rowGroupCols: [...
|
|
13063
|
-
valueCols:
|
|
13065
|
+
rowGroupCols: [...Y.rowGroupCols, ...Y.pivotCols].map((e) => Wt(e, !1)),
|
|
13066
|
+
valueCols: Y.valueCols.map((e) => Wt(e, !0)),
|
|
13064
13067
|
filterModel: bt.value ?? null,
|
|
13065
13068
|
endRow: f.pivotRowLimit
|
|
13066
13069
|
});
|
|
@@ -13070,8 +13073,8 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
13070
13073
|
} finally {
|
|
13071
13074
|
e === Gt && (ut.value = !1);
|
|
13072
13075
|
}
|
|
13073
|
-
}, qt = (e) => (Ht.value ?? f.rowData)?.find((t) => e.every((e, n) => String(t[
|
|
13074
|
-
let r = tt.find((t) =>
|
|
13076
|
+
}, qt = (e) => (Ht.value ?? f.rowData)?.find((t) => e.every((e, n) => String(t[ce(Y.pivotCols[n])]) === String(e))), Jt = (e, t, n) => {
|
|
13077
|
+
let r = tt.find((t) => q(t) === e);
|
|
13075
13078
|
if (typeof r?.valueFormatter == "function") return r.valueFormatter({
|
|
13076
13079
|
value: t,
|
|
13077
13080
|
data: n,
|
|
@@ -13079,7 +13082,7 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
13079
13082
|
node: null
|
|
13080
13083
|
}) || void 0;
|
|
13081
13084
|
}, Yt = (e) => {
|
|
13082
|
-
let t = e.pivotKeys ?? [], n = t.at(-1), r =
|
|
13085
|
+
let t = e.pivotKeys ?? [], n = t.at(-1), r = Y?.pivotCols[t.length - 1], i = n == null ? void 0 : String(n), a = qt(t), { headerName: o, ...s } = i != null && se(r)?.pivotGroupHeader?.({
|
|
13083
13086
|
value: i,
|
|
13084
13087
|
data: a,
|
|
13085
13088
|
focused: kt.value === r && At.value.map(String).includes(i)
|
|
@@ -13097,7 +13100,7 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
13097
13100
|
"--pv-pivot-group-color": f
|
|
13098
13101
|
});
|
|
13099
13102
|
}, Xt = (e) => Array.isArray(e) ? e : e ? [String(e)] : [], Zt = (e, t) => typeof e == "function" ? (n) => [...Xt(e(n)), t] : [...Xt(e), t], Qt = (e) => {
|
|
13100
|
-
Object.assign(e,
|
|
13103
|
+
e.minWidth = 100, Object.assign(e, se(e.pivotValueColumn?.getColId())?.pivotColDef), e.headerClass = Zt(e.headerClass, "pv-pivot-column-header"), e.pivotValueColumn?.getColId() === Y?.valueCols[0] && (e.headerClass = Zt(e.headerClass, "pv-pivot-group-start"), e.cellClass = Zt(e.cellClass, "pv-pivot-group-start"));
|
|
13101
13104
|
}, $t = L && f.serverSidePivotHandler ? () => !0 : void 0, en = r(() => L ? Ht.value ?? f.rowData : !f.enableFocusView && !f.rowData || f.enableFocusView && !At.value.length && !kt.value ? f.rowData : Ts(f.rowData, kt.value, At.value));
|
|
13102
13105
|
W([bt, ft], () => {
|
|
13103
13106
|
L && mt.value && Kt();
|
|
@@ -13282,7 +13285,7 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
13282
13285
|
innerRenderer: Ed,
|
|
13283
13286
|
innerRendererParams: (e) => ({
|
|
13284
13287
|
plainLabel: L,
|
|
13285
|
-
boldLabel: L && !
|
|
13288
|
+
boldLabel: L && !Y?.rowGroupCols.length,
|
|
13286
13289
|
displayBaseAggregationsOnly: f.displayBaseAggregationsOnly,
|
|
13287
13290
|
displayRowNumber: f.displayRowNumber,
|
|
13288
13291
|
displayCount: f.displayGroupCount,
|
|
@@ -13767,7 +13770,7 @@ var Od = { style: { "line-height": "20px" } }, kd = { class: "pv-text-subdued pv
|
|
|
13767
13770
|
class: "pv-inset-square-8",
|
|
13768
13771
|
role: "dialog",
|
|
13769
13772
|
"aria-label": "Column options",
|
|
13770
|
-
onKeydown: r[3] ||= K(
|
|
13773
|
+
onKeydown: r[3] ||= K(q((e) => b.value = null, ["stop"]), ["esc"])
|
|
13771
13774
|
}, [r[5] ||= s("p", {
|
|
13772
13775
|
class: "pv-text-tertiary pv-text-body-sm pv-stack-4",
|
|
13773
13776
|
style: {
|
|
@@ -14032,10 +14035,10 @@ var Xp = { class: "pv-stack-16 pv-chart-options-panel" }, Zp = { class: "pv-flex
|
|
|
14032
14035
|
let H = m(Ru, k("")), U = r(() => l.chartFilter && l.chartFilter.options ? l.chartFilter.options.map((e) => ({
|
|
14033
14036
|
label: e.label,
|
|
14034
14037
|
value: e.value
|
|
14035
|
-
})) : []),
|
|
14038
|
+
})) : []), J = r(() => {
|
|
14036
14039
|
let e = j.value[0];
|
|
14037
14040
|
return e ? Us(M.value.find((t) => t.field === e)) : !1;
|
|
14038
|
-
}),
|
|
14041
|
+
}), Y = r(() => {
|
|
14039
14042
|
if (w.value) return (j.value.length > 1 ? [
|
|
14040
14043
|
"bar_stacked",
|
|
14041
14044
|
"line",
|
|
@@ -14064,13 +14067,13 @@ var Xp = { class: "pv-stack-16 pv-chart-options-panel" }, Zp = { class: "pv-flex
|
|
|
14064
14067
|
}
|
|
14065
14068
|
w.value = e[0];
|
|
14066
14069
|
});
|
|
14067
|
-
let
|
|
14070
|
+
let oe = (e, t) => {
|
|
14068
14071
|
for (let n of e) {
|
|
14069
14072
|
if (n.id === t) return n;
|
|
14070
|
-
let e = n.children ?
|
|
14073
|
+
let e = n.children ? oe(n.children, t) : void 0;
|
|
14071
14074
|
if (e) return e;
|
|
14072
14075
|
}
|
|
14073
|
-
},
|
|
14076
|
+
}, se = (e) => e.flatMap((e) => e.children?.length ? se(e.children) : e), ce = (e) => {
|
|
14074
14077
|
switch (e) {
|
|
14075
14078
|
case "y-axis": return "Select Y Axis metric";
|
|
14076
14079
|
case "secondary-y-axis": return "Select Metric Overlay";
|
|
@@ -14079,42 +14082,42 @@ var Xp = { class: "pv-stack-16 pv-chart-options-panel" }, Zp = { class: "pv-flex
|
|
|
14079
14082
|
case "sort": return "Select Chart Sort";
|
|
14080
14083
|
default: return;
|
|
14081
14084
|
}
|
|
14082
|
-
},
|
|
14085
|
+
}, X = bu(), le = (e) => e === "secondary-y-axis" ? "metric-overlay" : e, ue = (e, t, n = "select") => {
|
|
14083
14086
|
if (!t) return;
|
|
14084
|
-
let r = Me.value.find((t) => t.value === e), i = r?.availableOptions ?
|
|
14087
|
+
let r = Me.value.find((t) => t.value === e), i = r?.availableOptions ? oe(r.availableOptions, t) : void 0;
|
|
14085
14088
|
xu("chart_option_selected", {
|
|
14086
|
-
panel:
|
|
14089
|
+
panel: le(e),
|
|
14087
14090
|
selected_value: i?.text ?? t,
|
|
14088
14091
|
selected_value_id: t,
|
|
14089
14092
|
action: n
|
|
14090
|
-
},
|
|
14091
|
-
},
|
|
14093
|
+
}, X());
|
|
14094
|
+
}, de = (e, t) => {
|
|
14092
14095
|
let n = new Set(e.activeOptionIds);
|
|
14093
14096
|
e.updateSelectedOptions?.(t), Su(() => {
|
|
14094
|
-
for (let r of t) n.has(r.id) ||
|
|
14097
|
+
for (let r of t) n.has(r.id) || ue(e.value, r.id);
|
|
14095
14098
|
});
|
|
14096
14099
|
}, fe = (e, t) => {
|
|
14097
|
-
e.updateSelectedOption?.(t?.id || ""), Su(() =>
|
|
14100
|
+
e.updateSelectedOption?.(t?.id || ""), Su(() => ue(e.value, t?.id));
|
|
14098
14101
|
}, pe = (e, t) => {
|
|
14099
14102
|
let n = t.option;
|
|
14100
14103
|
if (e.isMultiSelect) {
|
|
14101
14104
|
let t = new Set(e.activeOptionIds ?? []), r = new Set(t);
|
|
14102
|
-
r.has(n.id) ? r.delete(n.id) : r.add(n.id), e.updateSelectedOptions?.(
|
|
14105
|
+
r.has(n.id) ? r.delete(n.id) : r.add(n.id), e.updateSelectedOptions?.(se(e.availableOptions ?? []).filter((e) => r.has(e.id))), t.has(n.id) || Su(() => ue(e.value, n.id));
|
|
14103
14106
|
return;
|
|
14104
14107
|
}
|
|
14105
|
-
e.updateSelectedOption?.(n.id), Su(() =>
|
|
14108
|
+
e.updateSelectedOption?.(n.id), Su(() => ue(e.value, n.id));
|
|
14106
14109
|
}, me = (e, t) => {
|
|
14107
14110
|
let n = e.activeOptions?.value ?? [];
|
|
14108
14111
|
e.activeOptions && (e.activeOptions.value = t), Su(() => {
|
|
14109
14112
|
let r = n.map((e) => e.id), i = t.map((e) => e.id), a = new Set(r), o = new Set(i);
|
|
14110
|
-
for (let n of t) a.has(n.id) ||
|
|
14111
|
-
for (let t of n) o.has(t.id) ||
|
|
14113
|
+
for (let n of t) a.has(n.id) || ue(e.value, n.id, "select");
|
|
14114
|
+
for (let t of n) o.has(t.id) || ue(e.value, t.id, "deselect");
|
|
14112
14115
|
r.length === i.length && r.every((e) => o.has(e)) && r.join(" ") !== i.join(" ") && xu("chart_option_selected", {
|
|
14113
|
-
panel:
|
|
14116
|
+
panel: le(e.value),
|
|
14114
14117
|
selected_value: t.map((e) => e.text).join(", "),
|
|
14115
14118
|
selected_value_id: i.join(","),
|
|
14116
14119
|
action: "reorder"
|
|
14117
|
-
},
|
|
14120
|
+
}, X());
|
|
14118
14121
|
});
|
|
14119
14122
|
}, he = (e, t) => `chart-series-agg-func:${encodeURIComponent(e)}:${encodeURIComponent(t)}`, ge = (e) => `chart-series-agg-func-group:${encodeURIComponent(e)}`, _e = r(() => w.value?.id === "line" ? l.percentOfFocusViewYKey : void 0), ve = (e, t, n) => {
|
|
14120
14123
|
let r = !!e && t === e;
|
|
@@ -14177,11 +14180,11 @@ var Xp = { class: "pv-stack-16 pv-chart-options-panel" }, Zp = { class: "pv-flex
|
|
|
14177
14180
|
}), xe = (e, t, n) => {
|
|
14178
14181
|
if (!n) return;
|
|
14179
14182
|
let r = t.find((e) => e.value === n || e.aggFuncOptions?.some((e) => e.seriesValue === n));
|
|
14180
|
-
if (!r?.aggFuncOptions?.length || !r.columnField) return
|
|
14183
|
+
if (!r?.aggFuncOptions?.length || !r.columnField) return oe(e, n);
|
|
14181
14184
|
let i = r.aggFuncOptions.find((e) => e.aggFunc === r.activeAggFunc) ?? r.aggFuncOptions.find((e) => e.seriesValue === n) ?? r.aggFuncOptions[0];
|
|
14182
|
-
return i ?
|
|
14185
|
+
return i ? oe(e, he(r.columnField, i.aggFunc)) : void 0;
|
|
14183
14186
|
}, Se = (e, t) => {
|
|
14184
|
-
let n =
|
|
14187
|
+
let n = oe(e, t), r = n?.context;
|
|
14185
14188
|
return {
|
|
14186
14189
|
aggFunc: r?.aggFunc,
|
|
14187
14190
|
columnField: r?.columnField,
|
|
@@ -14248,8 +14251,8 @@ var Xp = { class: "pv-stack-16 pv-chart-options-panel" }, Zp = { class: "pv-flex
|
|
|
14248
14251
|
allowDeselect: !0,
|
|
14249
14252
|
availableOptions: O.value,
|
|
14250
14253
|
currentOption: O.value.find((e) => e.id === E.value?.id),
|
|
14251
|
-
disabled:
|
|
14252
|
-
disabledReason:
|
|
14254
|
+
disabled: J.value || !Y.value,
|
|
14255
|
+
disabledReason: J.value ? "Dates are always sorted oldest to newest" : "Sorting is not available for this chart type",
|
|
14253
14256
|
updateSelectedOption: (e) => {
|
|
14254
14257
|
let t = O.value.find((t) => t.id === e);
|
|
14255
14258
|
if (!t || !E) {
|
|
@@ -14339,7 +14342,7 @@ var Xp = { class: "pv-stack-16 pv-chart-options-panel" }, Zp = { class: "pv-flex
|
|
|
14339
14342
|
icon: e.icon,
|
|
14340
14343
|
disabled: e.disabled,
|
|
14341
14344
|
hoverTitle: e.disabledReason,
|
|
14342
|
-
rumActionName:
|
|
14345
|
+
rumActionName: ce(e.value),
|
|
14343
14346
|
popoverRole: e.isSortableList ? "dialog" : "menu",
|
|
14344
14347
|
children: e.availableOptions,
|
|
14345
14348
|
config: {
|
|
@@ -14360,11 +14363,11 @@ var Xp = { class: "pv-stack-16 pv-chart-options-panel" }, Zp = { class: "pv-flex
|
|
|
14360
14363
|
if (!t?.isMultiSelect) return;
|
|
14361
14364
|
let n = new Set(t.activeOptionIds ?? []);
|
|
14362
14365
|
t.updateSelectedOptions?.((t.availableOptions ?? []).filter((t) => e.includes(t.id))), Su(() => {
|
|
14363
|
-
for (let r of e) n.has(r) ||
|
|
14366
|
+
for (let r of e) n.has(r) || ue(t.value, r);
|
|
14364
14367
|
});
|
|
14365
14368
|
}, Re = (e) => {
|
|
14366
14369
|
let t = Z.value;
|
|
14367
|
-
!t || t.isMultiSelect || (t.updateSelectedOption?.(e.id), Su(() =>
|
|
14370
|
+
!t || t.isMultiSelect || (t.updateSelectedOption?.(e.id), Su(() => ue(t.value, e.id)));
|
|
14368
14371
|
}, ze = (e) => {
|
|
14369
14372
|
let t = Z.value;
|
|
14370
14373
|
return !t || t.isMultiSelect ? null : t.currentOption?.id === e.id ? !0 : null;
|
|
@@ -14411,7 +14414,7 @@ var Xp = { class: "pv-stack-16 pv-chart-options-panel" }, Zp = { class: "pv-flex
|
|
|
14411
14414
|
"aria-label": `${Z.value.label} options`,
|
|
14412
14415
|
class: "pv-chart-config-popover pv-inset-square-8",
|
|
14413
14416
|
role: "dialog",
|
|
14414
|
-
onKeydown: K(
|
|
14417
|
+
onKeydown: K(q(n, ["stop"]), ["esc"])
|
|
14415
14418
|
}, [r[6] ||= s("p", {
|
|
14416
14419
|
class: "pv-text-tertiary pv-text-body-sm pv-stack-4",
|
|
14417
14420
|
style: {
|
|
@@ -14444,7 +14447,7 @@ var Xp = { class: "pv-stack-16 pv-chart-options-panel" }, Zp = { class: "pv-flex
|
|
|
14444
14447
|
readOnly: e.readOnly,
|
|
14445
14448
|
childrenDisplay: "popover",
|
|
14446
14449
|
itemClass: "pv-chart-option pv-flex",
|
|
14447
|
-
onKeydown: K(
|
|
14450
|
+
onKeydown: K(q(n, ["stop"]), ["esc"]),
|
|
14448
14451
|
onHandleSelected: r[2] ||= (e) => pe(Z.value, e)
|
|
14449
14452
|
}, null, 8, [
|
|
14450
14453
|
"id",
|
|
@@ -14483,7 +14486,7 @@ var Xp = { class: "pv-stack-16 pv-chart-options-panel" }, Zp = { class: "pv-flex
|
|
|
14483
14486
|
id: `pv-chart-config-${t.value}`,
|
|
14484
14487
|
key: t.value,
|
|
14485
14488
|
"data-active": S.value === t.value ? !0 : null,
|
|
14486
|
-
"data-dd-action-name":
|
|
14489
|
+
"data-dd-action-name": ce(t.value),
|
|
14487
14490
|
onMouseenter: (e) => t.disabled ? null : Ve(t.value),
|
|
14488
14491
|
onClick: (e) => t.disabled ? null : Ve(t.value)
|
|
14489
14492
|
}, [u(da, {
|
|
@@ -14527,12 +14530,12 @@ var Xp = { class: "pv-stack-16 pv-chart-options-panel" }, Zp = { class: "pv-flex
|
|
|
14527
14530
|
label: n.label,
|
|
14528
14531
|
prefixLabel: n.prefixLabel,
|
|
14529
14532
|
modelValue: n.availableOptions.filter((e) => n.activeOptionIds.has(e.id)),
|
|
14530
|
-
"onUpdate:modelValue": (e) =>
|
|
14533
|
+
"onUpdate:modelValue": (e) => de(n, e),
|
|
14531
14534
|
options: n.availableOptions,
|
|
14532
14535
|
disableSearchInput: !0,
|
|
14533
14536
|
disabled: n.disabled || e.readOnly,
|
|
14534
14537
|
optionsVariant: "checkbox",
|
|
14535
|
-
rumActionName:
|
|
14538
|
+
rumActionName: ce(n.value)
|
|
14536
14539
|
}, null, 8, [
|
|
14537
14540
|
"label",
|
|
14538
14541
|
"prefixLabel",
|
|
@@ -14553,7 +14556,7 @@ var Xp = { class: "pv-stack-16 pv-chart-options-panel" }, Zp = { class: "pv-flex
|
|
|
14553
14556
|
disabled: n.disabled || e.readOnly,
|
|
14554
14557
|
optionsVariant: "icon",
|
|
14555
14558
|
childrenDisplay: f.value ? "popover" : "inline",
|
|
14556
|
-
rumActionName:
|
|
14559
|
+
rumActionName: ce(n.value)
|
|
14557
14560
|
}, null, 8, [
|
|
14558
14561
|
"label",
|
|
14559
14562
|
"prefixLabel",
|
|
@@ -15087,7 +15090,7 @@ var gm = { style: {
|
|
|
15087
15090
|
value: t
|
|
15088
15091
|
};
|
|
15089
15092
|
});
|
|
15090
|
-
}),
|
|
15093
|
+
}), q = r(() => d.enableCombinedChartConfigPanel && d.enableNestedChartConfigPanel ? K.value.reduce((e, t) => e + (t.aggFuncOptions?.length || 1), 0) : K.value.length), J = r(() => {
|
|
15091
15094
|
let e = h.value?.availableAggFuncColumns || [], t = new Set(R.value);
|
|
15092
15095
|
return e.filter((e) => Ls(e)).map((e) => {
|
|
15093
15096
|
let n = ne(e), r = e.field || "";
|
|
@@ -15104,7 +15107,7 @@ var gm = { style: {
|
|
|
15104
15107
|
value: Rs(r, n, t)
|
|
15105
15108
|
};
|
|
15106
15109
|
});
|
|
15107
|
-
}),
|
|
15110
|
+
}), Y = (e, t) => e.find((e) => e.value === t || e.aggFuncOptions?.some((e) => e.seriesValue === t)), oe = r(() => (h.value?.availableAggFuncColumns || []).filter((e) => {
|
|
15108
15111
|
let t = $(e);
|
|
15109
15112
|
return t.chartOnSecondaryAxes === !0 && t.hideFromCharting === !0;
|
|
15110
15113
|
}).map((e) => {
|
|
@@ -15115,22 +15118,22 @@ var gm = { style: {
|
|
|
15115
15118
|
formatter: n.valueFormatter,
|
|
15116
15119
|
dataType: n.context?.dataType
|
|
15117
15120
|
};
|
|
15118
|
-
})),
|
|
15119
|
-
O(Cu,
|
|
15120
|
-
let
|
|
15121
|
+
})), se = d.filterStore || _f();
|
|
15122
|
+
O(Cu, se);
|
|
15123
|
+
let ce = md({
|
|
15121
15124
|
focusType: d.initialFocusData?.focusType,
|
|
15122
15125
|
focuses: d.initialFocusData?.focuses || [],
|
|
15123
15126
|
focusRequired: d.focusRequired
|
|
15124
15127
|
}, d.allFieldsAreFocusable);
|
|
15125
|
-
O(wu,
|
|
15126
|
-
let { setFilterSelectedValues:
|
|
15127
|
-
O(Pu,
|
|
15128
|
-
let
|
|
15128
|
+
O(wu, ce);
|
|
15129
|
+
let { setFilterSelectedValues: X } = se, le = k(!1);
|
|
15130
|
+
O(Pu, le);
|
|
15131
|
+
let ue = k(d.isTableGrouped), de = (e) => {
|
|
15129
15132
|
p("table-overlay-change", e);
|
|
15130
|
-
}, fe = r(() => fn.value ? !1 : !!(d.emptyChartFilterRenderer && d.requireFiltersToShowData &&
|
|
15133
|
+
}, fe = r(() => fn.value ? !1 : !!(d.emptyChartFilterRenderer && d.requireFiltersToShowData && se.filterModelEmpty.value)), pe = r(() => ce?.computedFocusType.value || null), me = r(() => ce?.computedFocuses.value || []), he = (e) => {
|
|
15131
15134
|
H.value || (V.value = Object.fromEntries(e.getValueColumns().map((e) => [e.getColId(), e.getAggFunc()]).filter((e) => typeof e[1] == "string")));
|
|
15132
15135
|
}, ge = k(null), _e = (e) => {
|
|
15133
|
-
m.value = e.api, he(e.api), !
|
|
15136
|
+
m.value = e.api, he(e.api), !ue.value && !H.value && m.value?.setRowGroupColumns([]), d.tableConfigOptions?.enableColumnConfiguration && (ge.value = e.api.getAllGridColumns().map((e) => e.getColId())), Dt(e.api), p("grid-ready", e);
|
|
15134
15137
|
}, ve = (e) => {
|
|
15135
15138
|
ge.value = e.orderedColIds, p("chart-state-changed", {
|
|
15136
15139
|
api: m.value,
|
|
@@ -15152,8 +15155,8 @@ var gm = { style: {
|
|
|
15152
15155
|
oldState: { orderedColIds: ge.value }
|
|
15153
15156
|
}), ge.value = t;
|
|
15154
15157
|
}, be = (e) => {
|
|
15155
|
-
let t = J
|
|
15156
|
-
he(e.api), t?.columnField && He.value && (He.value =
|
|
15158
|
+
let t = Y(J.value, He.value), n = Ue.value.map((e) => Y(J.value, e)?.columnField).filter((e) => !!e);
|
|
15159
|
+
he(e.api), t?.columnField && He.value && (He.value = J.value.find((e) => e.columnField === t.columnField)?.value), n.length > 0 && (Ue.value = n.map((e) => J.value.find((t) => t.columnField === e)?.value).filter((e) => !!e)), Ye.value = 0, Dt(e.api), p("column-value-changed", e);
|
|
15157
15160
|
}, xe = (e) => {
|
|
15158
15161
|
let t = m.value;
|
|
15159
15162
|
if (H.value) {
|
|
@@ -15172,7 +15175,7 @@ var gm = { style: {
|
|
|
15172
15175
|
}, Ce = (e) => {
|
|
15173
15176
|
if (H.value) return;
|
|
15174
15177
|
let t = R.value, n = e.api.getRowGroupColumns().map((e) => e.getColId());
|
|
15175
|
-
if (
|
|
15178
|
+
if (ue.value && JSON.stringify(t) !== JSON.stringify(n)) {
|
|
15176
15179
|
let t = Ie.value;
|
|
15177
15180
|
if (n.length > Le.value) {
|
|
15178
15181
|
let t = n.slice(0, Le.value);
|
|
@@ -15182,10 +15185,10 @@ var gm = { style: {
|
|
|
15182
15185
|
}
|
|
15183
15186
|
p("column-row-group-changed", e);
|
|
15184
15187
|
}, we = async (e) => {
|
|
15185
|
-
Ye.value = 0, Dt(e.api),
|
|
15188
|
+
Ye.value = 0, Dt(e.api), le.value && p("filter-changed", e);
|
|
15186
15189
|
};
|
|
15187
15190
|
W(() => R.value, () => {
|
|
15188
|
-
if (!H.value) if (
|
|
15191
|
+
if (!H.value) if (ue.value) {
|
|
15189
15192
|
if (!m.value) return;
|
|
15190
15193
|
let e = m.value.getRowGroupColumns().map((e) => e.getColId());
|
|
15191
15194
|
JSON.stringify(e) !== JSON.stringify(R.value) && v(() => {
|
|
@@ -15196,7 +15199,7 @@ var gm = { style: {
|
|
|
15196
15199
|
});
|
|
15197
15200
|
if (!d.allFieldsAreFocusable) {
|
|
15198
15201
|
let e = Ie.value.supportsFocusView && B.value || null;
|
|
15199
|
-
|
|
15202
|
+
ce.setFocusType(e);
|
|
15200
15203
|
}
|
|
15201
15204
|
m.value && (Ye.value = 0, Dt(m.value));
|
|
15202
15205
|
});
|
|
@@ -15254,20 +15257,20 @@ var gm = { style: {
|
|
|
15254
15257
|
text: "Descending",
|
|
15255
15258
|
id: "desc",
|
|
15256
15259
|
icon: "arrow-down-narrow-wide"
|
|
15257
|
-
}]), Be = k([]), Ve = k([]), Q = k(d.yKey), He = k(
|
|
15260
|
+
}]), Be = k([]), Ve = k([]), Q = k(d.yKey), He = k(J.value[0]?.value), Ue = k([]), We = r(() => d.multiSelectMetricOverlay === !0), Ge = r(() => d.suppressMetricOverlays ? [] : We.value ? Ue.value : He.value ? [He.value] : []);
|
|
15258
15261
|
W(() => d.lockedRowGroupOptions.map((e) => e.id), (e, t) => {
|
|
15259
15262
|
let n = e ?? [], r = (t ?? []).filter((e) => !n.includes(e)), i = R.value.filter((e) => !r.includes(e));
|
|
15260
15263
|
n.every((e) => i.includes(e)) && i.length === R.value.length || (R.value = [...n, ...i.filter((e) => !n.includes(e))].slice(0, Math.max(Le.value, n.length)));
|
|
15261
15264
|
});
|
|
15262
15265
|
let Ke = !1;
|
|
15263
|
-
W(
|
|
15266
|
+
W(J, (e) => {
|
|
15264
15267
|
if (Ke || !We.value || !d.initialSecondaryYKeys?.length || e.length === 0) return;
|
|
15265
15268
|
Ke = !0;
|
|
15266
15269
|
let t = new Set(d.initialSecondaryYKeys);
|
|
15267
15270
|
Ue.value = e.filter((e) => t.has(e.columnField ?? "") || t.has(e.value)).map((e) => e.value);
|
|
15268
15271
|
}, { immediate: !0 });
|
|
15269
15272
|
let qe = r(() => d.crosslineOverlayGroups ?? []), Je = k(null), Ye = k(d.initialStackValuesPageIndex ?? 0), Xe = k(null), Ze = k(ze.value.find((e) => e.id === d.initialSort || "")), Qe = k("");
|
|
15270
|
-
O(Eu, m), O(Ru, Qe), O(Au, Re), O(zu, R), O(Bu, Me), O(Vu, ze), O(Hu, Z), O(Uu, Ze), O(Wu, Q), O(Gu, K), O(Ku, He), O(Ju, Ue), O(qu,
|
|
15273
|
+
O(Eu, m), O(Ru, Qe), O(Au, Re), O(zu, R), O(Bu, Me), O(Vu, ze), O(Hu, Z), O(Uu, Ze), O(Wu, Q), O(Gu, K), O(Ku, He), O(Ju, Ue), O(qu, J), O(Yu, We), O(Qu, qe), W(ke, (e) => {
|
|
15271
15274
|
e && Ze.value && (Ze.value = void 0);
|
|
15272
15275
|
}, { immediate: !0 });
|
|
15273
15276
|
let $e = (e) => {
|
|
@@ -15291,7 +15294,7 @@ var gm = { style: {
|
|
|
15291
15294
|
}), W(Qe, (e) => {
|
|
15292
15295
|
if (d.chartFilter && m.value) {
|
|
15293
15296
|
let t = d.chartFilter.colId, n = d.chartFilter.options.find((t) => t.value === e)?.filterValues || null;
|
|
15294
|
-
n && n.length === 0 && (n = null),
|
|
15297
|
+
n && n.length === 0 && (n = null), X(t, n || []);
|
|
15295
15298
|
let r = Pd({
|
|
15296
15299
|
filterType: "set",
|
|
15297
15300
|
values: n
|
|
@@ -15301,7 +15304,7 @@ var gm = { style: {
|
|
|
15301
15304
|
});
|
|
15302
15305
|
}
|
|
15303
15306
|
});
|
|
15304
|
-
let tt = (e) => e?.label ?? "", nt = r(() => tt(
|
|
15307
|
+
let tt = (e) => e?.label ?? "", nt = r(() => tt(Y(K.value, Q.value))), rt = r(() => {
|
|
15305
15308
|
let e = Xe.value;
|
|
15306
15309
|
if (!e) return null;
|
|
15307
15310
|
let t = De(Je.value?.fieldName)?.headerName || "values", n = nt.value || "value", r = d.stackValuesPageSize || e.total, i = Ye.value * r + 1;
|
|
@@ -15317,11 +15320,11 @@ var gm = { style: {
|
|
|
15317
15320
|
}), at = (e) => {
|
|
15318
15321
|
!m.value || e === Ye.value || (Ye.value = e, p("stack-values-page-changed", e), Dt(m.value));
|
|
15319
15322
|
}, ot = (e) => {
|
|
15320
|
-
let t = J
|
|
15323
|
+
let t = Y(J.value, e);
|
|
15321
15324
|
if (De(t?.columnField ?? e)?.context?.chartOverlayOnPrimaryAxis !== !0) return !1;
|
|
15322
|
-
let n =
|
|
15325
|
+
let n = Y(K.value, Q.value);
|
|
15323
15326
|
return t?.dataType != null && t.dataType === n?.dataType;
|
|
15324
|
-
}, st = r(() => Ge.value.filter((e) => !ot(e))), lt = r(() => Ge.value.filter((e) => ot(e))), ut = r(() => st.value.map((e) => tt(J
|
|
15327
|
+
}, st = r(() => Ge.value.filter((e) => !ot(e))), lt = r(() => Ge.value.filter((e) => ot(e))), ut = r(() => st.value.map((e) => tt(Y(J.value, e))).filter(Boolean).join(", ")), dt = r(() => Ie.value.isHorizontal === !0), ft = r(() => d.secondaryChartType === "line" && !dt.value ? "line" : "scatter"), pt = r(() => R.value.length > 1), mt = r(() => !Z.value || K.value.length === 0 ? [] : Ie.value.seriesFamily === "pie" ? wt.value : Ct.value), ht = r(() => Z.value?.id === "histogram" ? !1 : d.showSeriesLabels), gt = r(() => Z.value?.id.includes("stacked")), yt = r(() => R.value.length > 1), bt = r(() => Z.value?.id === "histogram" && jt.value && jt.value.length > 0 && typeof jt.value[0]?.bucketMin == "number" && typeof jt.value[0]?.bucketMax == "number"), xt = "primary-series", St = r(() => {
|
|
15325
15328
|
let e = pt.value ? Je.value?.fieldValues.length ?? 0 : 1, t = pt.value ? "grouped" : "flat";
|
|
15326
15329
|
return `${Z.value?.id ?? "chart"}-${t}-${e}`;
|
|
15327
15330
|
}), Ct = r(() => {
|
|
@@ -15395,7 +15398,7 @@ var gm = { style: {
|
|
|
15395
15398
|
}))), Ge.value.length > 0) {
|
|
15396
15399
|
let t = De(B.value)?.context?.metadataDisplayFields?.[0] || B.value, r = ft.value;
|
|
15397
15400
|
for (let i of Ge.value) {
|
|
15398
|
-
let a = J
|
|
15401
|
+
let a = Y(J.value, i), o = tt(a), s = e ? `${i}${ys}` : i, c = cm(B.value, t, s, o, dt.value), l = (Gt.value ?? []).filter((e) => e[s] != null).length, u = {
|
|
15399
15402
|
type: r,
|
|
15400
15403
|
id: We.value ? `metric-overlay-${i}` : "metric-overlay",
|
|
15401
15404
|
data: Gt.value,
|
|
@@ -15508,7 +15511,7 @@ var gm = { style: {
|
|
|
15508
15511
|
}), W(Z, (e, t) => {
|
|
15509
15512
|
e?.id && Yp(e.id).storeBeforeChange && (yt.value ? Pe.value = e.id : Ne.value = e.id);
|
|
15510
15513
|
let n = Yp(e?.id || ""), r = Yp(t?.id || ""), i = (n.xAxis.filterColumns === r.xAxis.filterColumns ? R.value : Hp(R.value, L.value, n.xAxis.filterColumns)).slice(0, Math.min(n.rowGroupLimit, d.rowGroupLimit));
|
|
15511
|
-
ct(i, R.value) || (R.value = i), n.yAxis.defaultValue ? Q.value = n.yAxis.defaultValue : r.yAxis.defaultValue && !n.yAxis.defaultValue && v(() => {
|
|
15514
|
+
n.seriesFamily === "map" && i.length === 0 && Re.value.some((e) => e.field === "state") && i.push(ps), ct(i, R.value) || (R.value = i), n.yAxis.defaultValue ? Q.value = n.yAxis.defaultValue : r.yAxis.defaultValue && !n.yAxis.defaultValue && v(() => {
|
|
15512
15515
|
d.yKey ? Q.value = d.yKey : K.value.length > 0 && (Q.value = K.value[0].value);
|
|
15513
15516
|
}), p("chart-state-changed", {
|
|
15514
15517
|
api: m.value,
|
|
@@ -15534,7 +15537,7 @@ var gm = { style: {
|
|
|
15534
15537
|
newState: { chartCategoryFields: e },
|
|
15535
15538
|
oldState: { chartCategoryFields: t }
|
|
15536
15539
|
});
|
|
15537
|
-
}), W(
|
|
15540
|
+
}), W(ue, (e, t) => {
|
|
15538
15541
|
p("chart-state-changed", {
|
|
15539
15542
|
api: m.value,
|
|
15540
15543
|
newState: { tableGrouped: e },
|
|
@@ -15545,10 +15548,10 @@ var gm = { style: {
|
|
|
15545
15548
|
}), W(() => d.initialFocusData, (e, t) => {
|
|
15546
15549
|
if (!(ct(e?.focuses, t?.focuses) && e?.focusType == t?.focusType)) {
|
|
15547
15550
|
if (!e?.focusType) {
|
|
15548
|
-
|
|
15551
|
+
ce.setFocuses([]);
|
|
15549
15552
|
return;
|
|
15550
15553
|
}
|
|
15551
|
-
|
|
15554
|
+
ce.setFocusType(e?.focusType), ce.setFocuses(e?.focuses ?? []);
|
|
15552
15555
|
}
|
|
15553
15556
|
}, { deep: !0 });
|
|
15554
15557
|
let Tt = () => {
|
|
@@ -15559,7 +15562,7 @@ var gm = { style: {
|
|
|
15559
15562
|
return;
|
|
15560
15563
|
}
|
|
15561
15564
|
if (t) {
|
|
15562
|
-
let n = d.metricOverlayWithRowGroups ? [...
|
|
15565
|
+
let n = d.metricOverlayWithRowGroups ? [...oe.value, ...J.value] : oe.value, { stackedData: r, uniqueFieldValues: i, totalStackValueCount: a, stackValuesPageCount: o, stackValuesPageIndex: s } = Xs(e, B.value, t, Ot.value, n, Q.value, d.stackValuesPageSize, Ye.value);
|
|
15563
15566
|
Ve.value = r, Je.value = {
|
|
15564
15567
|
fieldName: t,
|
|
15565
15568
|
fieldValues: i
|
|
@@ -15571,9 +15574,9 @@ var gm = { style: {
|
|
|
15571
15574
|
Be.value = e;
|
|
15572
15575
|
}, Dt = (e) => {
|
|
15573
15576
|
let t = ++I.value, n = R.value.length;
|
|
15574
|
-
if (Tt(), F.value = !1, n === 0 || K.value.length === 0 || d.requireFiltersToShowData &&
|
|
15577
|
+
if (Tt(), F.value = !1, n === 0 || K.value.length === 0 || d.requireFiltersToShowData && se.filterModelEmpty.value) return;
|
|
15575
15578
|
if (d.serverSideChartHandler) {
|
|
15576
|
-
let e =
|
|
15579
|
+
let e = se.filterModel.value, n = m.value?.getColumnDefs() || [];
|
|
15577
15580
|
if (e === null && d.initialGridState) {
|
|
15578
15581
|
let t = Ld(d.initialGridState, n, d.enableAdvancedFilter);
|
|
15579
15582
|
e = (d.enableAdvancedFilter ? t?.filter?.advancedFilterModel : t?.filter?.filterModel) || {};
|
|
@@ -15618,7 +15621,7 @@ var gm = { style: {
|
|
|
15618
15621
|
} : null;
|
|
15619
15622
|
} else Ve.value = [], Je.value = null, Xe.value = null;
|
|
15620
15623
|
}, Ot = r(() => {
|
|
15621
|
-
let e = K.value, t =
|
|
15624
|
+
let e = K.value, t = J.value;
|
|
15622
15625
|
return [...new Map([...t, ...e].map((e) => [e.value, e])).values()];
|
|
15623
15626
|
}), kt = (e) => {
|
|
15624
15627
|
let t = { [e.field]: e.key };
|
|
@@ -15766,7 +15769,7 @@ var gm = { style: {
|
|
|
15766
15769
|
chartDataEmpty: dn.value,
|
|
15767
15770
|
missingFocusText: d.missingFocusText,
|
|
15768
15771
|
yAxisName: nt.value,
|
|
15769
|
-
yAxisOptionCount:
|
|
15772
|
+
yAxisOptionCount: q.value
|
|
15770
15773
|
})), vn = r(() => R.value.length > 0 && (fn.value || d.focusRequired && me.value.length === 0) && !d.missingFocusText), yn = r(() => fn.value || fe.value || !d.isLoading && _n.value !== ""), bn = r(() => {
|
|
15771
15774
|
let e = {};
|
|
15772
15775
|
e.overlays = { noData: { text: "" } };
|
|
@@ -15844,7 +15847,7 @@ var gm = { style: {
|
|
|
15844
15847
|
}).filter((e) => e !== null)
|
|
15845
15848
|
});
|
|
15846
15849
|
}
|
|
15847
|
-
let s = st.value.length > 0, c = st.value.map((e) => J
|
|
15850
|
+
let s = st.value.length > 0, c = st.value.map((e) => Y(J.value, e)?.secondaryAxisMax).filter((e) => typeof e == "number"), l = s && c.length > 0 ? Math.max(...c) : void 0, u = s && Number.isFinite(rn.value) && rn.value < 0, f = s && Number.isFinite(an.value) && an.value < 0, p = u || f, m = s ? zs(Math.max(Qt.value, en.value), 5) : 0, h = s ? l ?? zs($t.value, 5) : 0, g = s && !p && m > 0 && h > 0, _ = g && d.fitPrimaryAxisToLineData && Z.value?.id === "line" ? Vs(Math.min(nn.value.min, tn.value), Math.max(nn.value.max, en.value), 5) : null;
|
|
15848
15851
|
if (o.push({
|
|
15849
15852
|
type: "number",
|
|
15850
15853
|
keys: r,
|
|
@@ -15909,7 +15912,7 @@ var gm = { style: {
|
|
|
15909
15912
|
}), xn = r(() => F.value || d.isLoading && (!jt.value || jt.value.length === 0)), Sn = r(() => fn.value || !fe.value && !d.isLoading && _n.value !== ""), Cn = (e) => {
|
|
15910
15913
|
C.value = e, p("chart-collapsed", e);
|
|
15911
15914
|
}, wn = (e) => {
|
|
15912
|
-
H.value || m.value && (m.value.setRowGroupColumns(e ? R.value : []),
|
|
15915
|
+
H.value || m.value && (m.value.setRowGroupColumns(e ? R.value : []), ue.value = e);
|
|
15913
15916
|
};
|
|
15914
15917
|
function Tn(e) {
|
|
15915
15918
|
return e?.hydrate ? h.value?.getFilterValueSelectedMetadataMap({ hydrate: !0 }) : h.value?.getFilterValueSelectedMetadataMap();
|
|
@@ -15925,7 +15928,7 @@ var gm = { style: {
|
|
|
15925
15928
|
}), S(() => {
|
|
15926
15929
|
if (d.initialGridState) {
|
|
15927
15930
|
let e = d.initialGridState.rowGroup?.groupColIds || [];
|
|
15928
|
-
R.value = e, !d.allFieldsAreFocusable && e.length > 0 &&
|
|
15931
|
+
R.value = e, !d.allFieldsAreFocusable && e.length > 0 && ce.setFocusType(e[0]);
|
|
15929
15932
|
}
|
|
15930
15933
|
}), T(async () => {
|
|
15931
15934
|
await v(), E.value = d.filterPanelAboveChart;
|
|
@@ -16093,7 +16096,7 @@ var gm = { style: {
|
|
|
16093
16096
|
pivot: H.value,
|
|
16094
16097
|
filterTeleportLocation: E.value ? `#${w}` : void 0,
|
|
16095
16098
|
wrapHorizontalFilters: d.wrapHorizontalFilters || ee.value,
|
|
16096
|
-
pagination: e.pagination || !
|
|
16099
|
+
pagination: e.pagination || !ue.value,
|
|
16097
16100
|
onColumnRowGroupChanged: Ce,
|
|
16098
16101
|
onColumnValueChanged: be,
|
|
16099
16102
|
onGridReady: _e,
|
|
@@ -16108,16 +16111,16 @@ var gm = { style: {
|
|
|
16108
16111
|
}), {
|
|
16109
16112
|
"top-slot": G(() => [e.enableGroupingToggle && !H.value ? (D(), o(t, { key: 0 }, [e.tableConfigOptions ? (D(), i(Mp, {
|
|
16110
16113
|
key: 0,
|
|
16111
|
-
groupedModeEnabled:
|
|
16114
|
+
groupedModeEnabled: ue.value,
|
|
16112
16115
|
tableConfigOptions: d.tableConfigOptions,
|
|
16113
16116
|
onToggleGroup: wn,
|
|
16114
|
-
onTableOverlayChange:
|
|
16117
|
+
onTableOverlayChange: de,
|
|
16115
16118
|
onColumnConfigChange: ve
|
|
16116
16119
|
}, null, 8, ["groupedModeEnabled", "tableConfigOptions"])) : (D(), i(Qn, {
|
|
16117
16120
|
key: 1,
|
|
16118
|
-
leftIcon:
|
|
16119
|
-
label:
|
|
16120
|
-
onClick: r[5] ||= (e) => wn(!
|
|
16121
|
+
leftIcon: ue.value ? "ungroup" : "group",
|
|
16122
|
+
label: ue.value ? "Ungroup Table" : "Group Table to Match Chart",
|
|
16123
|
+
onClick: r[5] ||= (e) => wn(!ue.value),
|
|
16121
16124
|
variant: "secondary",
|
|
16122
16125
|
size: "lg"
|
|
16123
16126
|
}, null, 8, ["leftIcon", "label"]))], 64)) : a("", !0), j(n.$slots, "top-slot")]),
|