@turquoisehealth/pit-viper 2.211.0 → 2.211.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
- package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/table-chart-components/PvChartOptionsPanel.vue.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +4 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +1031 -1005
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +1 -1
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.pv-scatter-overlay[data-v-712fbeaa]{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-712fbeaa]{display:flex;overflow:hidden}.pv-scatter-quadrant-box[data-v-712fbeaa]{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-712fbeaa]{grid-area:1/1;justify-content:flex-start;align-items:flex-start;padding:5px}.pv-scatter-quadrant-top-right[data-v-712fbeaa]{grid-area:1/2;justify-content:flex-end;align-items:flex-start;padding:5px}.pv-scatter-quadrant-bottom-left[data-v-712fbeaa]{grid-area:2/1;justify-content:flex-start;align-items:flex-end;padding:5px}.pv-scatter-quadrant-bottom-right[data-v-712fbeaa]{grid-area:2/2;justify-content:flex-end;align-items:flex-end;padding:5px}.pv-chart-loading[data-v-712fbeaa]{text-align:center;opacity:1;z-index:4;background-color:#fff;justify-content:center;align-items:center;width:100%;height:100%;position:absolute;top:0;left:0}.pv-chart-loading-icon[data-v-712fbeaa]{color:#16696d;animation:1.5s ease-in-out infinite pulse-712fbeaa}@keyframes pulse-712fbeaa{0%{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}.pv-chart-widget[data-v-d92b6ed9]{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-d92b6ed9]{overflow:hidden}.pv-chart-widget__chart-area[data-v-d92b6ed9]{flex:auto;width:100%;min-height:0;position:relative;overflow:hidden}.pv-chart-widget__chart-scroll[data-v-d92b6ed9]{width:100%;height:100%;min-height:0}.pv-chart-widget__chart-scroll--enabled[data-v-d92b6ed9]{overflow:auto}.pv-chart-widget__chart-content[data-v-d92b6ed9]{height:100%;min-height:100%}.pv-badge-md[data-v-6a07eeec]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-6a07eeec]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-surface-lighten-5[data-v-6a07eeec]{background-color:#e0e5e4}.pv-text-secondary[data-v-6a07eeec]{color:#4b595c}.pv-floating-native[data-v-08e2d92a]{width:max-content;color:inherit;position-visibility:anchors-visible;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:auto;overflow:visible}.pv-floating-native[data-v-08e2d92a]>.pv-popover,.pv-floating-native>slot[name=content][data-v-08e2d92a]::slotted(.pv-popover){position:static!important}.pv-select-button-trigger-avatar[data-v-5b922a5f]{font-size:.5rem;font-weight:700}.pv-select-button-trigger-content[data-v-5b922a5f]{min-width:0}.pv-select-button-trigger-label[data-v-5b922a5f]{flex:auto;min-width:0}.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:not(:disabled):hover:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:not(:disabled):focus-visible:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:not(:disabled):active:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:disabled:after{background-image:unset}.pv-action-button-reveal-on-hover{opacity:0;transition:opacity .2s}.pv-label:hover .pv-action-button-reveal-on-hover{opacity:1}.pv-menu-item-disabled[data-v-f337a1d6]{pointer-events:none;color:#7d898d;border-radius:4px}.pv-menu-item-disabled .pv-menu-item-action[data-v-f337a1d6]{pointer-events:auto;display:inline-flex}.pv-menu-item{&[data-v-f337a1d6]{cursor:pointer;border-radius:var(--popover-list-item-radius,4px);transition-property:background-color;transition-duration:.15s}&[data-v-f337a1d6]:hover,&[data-v-f337a1d6]:focus-visible{background-color:var(--popover-list-item-hover-background-color,#f5f5f5)}&[data-v-f337a1d6]:active{background-color:var(--popover-list-item-pressed-background-color,#ebebeb)}}.pv-radio[data-v-f337a1d6]:indeterminate{background-color:unset!important;border-color:var(--color-border,#e3e7ea)!important}.pv-menu-item-expand-chevron[data-v-f337a1d6]{flex-shrink:0;margin-left:auto;padding:4px}.pv-menu-item-disabled .pv-menu-item-expand-chevron[data-v-f337a1d6]{pointer-events:auto;color:inherit}.pv-popover-list[data-v-246a9400]{font-size:14px}.pv-menu-popover[data-v-04937b69]{z-index:50}.pv-popover-list>li[data-v-04937b69]:last-child>.pv-label{margin-block-end:0}[data-v-04937b69] .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-data-widget[data-v-1681e679]{box-sizing:border-box;width:100%;min-width:0;min-height:0}.pv-data-widget--constrained[data-v-1681e679]{flex-direction:column;display:flex;overflow:hidden}.pv-data-widget--constrained .pv-data-widget__body[data-v-1681e679]{flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden}.pv-data-widget__table-container[data-v-1681e679]{min-height:0}.pv-data-widget__below-table[data-v-1681e679]{margin-top:16px}.pv-data-widget--constrained .pv-data-widget__table-container[data-v-1681e679]{flex:auto}.pv-data-widget--constrained .pv-data-widget__below-table[data-v-1681e679]{flex:none}.pv-data-widget__chart-scroll[data-v-1681e679]{width:100%;min-height:0;overflow:hidden}.pv-data-widget--constrained .pv-data-widget__chart-scroll[data-v-1681e679]{flex:auto}.pv-data-widget__chart-scroll--enabled[data-v-1681e679]{overflow:auto}.pv-data-widget__chart-content[data-v-1681e679]{min-height:100%}.pv-button-icon[aria-expanded=true][data-v-6e4b23d8]{background-color:#c7d8db}.pv-select[data-v-6e4b23d8]{padding-top:4px;padding-bottom:4px}.input-icon-position{pointer-events:none;position:absolute;top:8px;left:12px}.pv-text-tertiary[data-v-ff951d17]{color:#6e8081}.pv-query-builder-input-wrapper[data-v-37925d70]{background:var(--secondary-lighten-8,#f7f8f8);border-radius:var(--corner-radius-L,8px);border:1px solid var(--stroke-light,#e3e7ea);cursor:text;align-items:center;width:100%;min-height:2.25rem;padding:.25rem;font-size:.75rem;display:flex;position:relative}.pv-query-builder-input[data-v-37925d70]{justify-content:start;overflow-x:hidden}.pv-query-builder-input-wrapper input[data-v-37925d70]{background:0 0;border:none;outline:none;flex:1rem;min-width:1rem;font-size:.75rem}.pv-query-builder-input-wrapper[data-v-37925d70]:focus-within{border:2px solid #36c5ba}.pv-table-row-count{opacity:1;background-color:#f7f8f8;transition:opacity .3s;position:absolute;top:6px;right:12px}.pv-table-group-cell:hover .pv-table-row-count{opacity:0}.pv-table-row-number{text-align:center;color:#89989b;padding:8px 12px 8px 0}.suggested-label[data-v-dd3c1588]:hover{color:#16696d}.suggested-title-label[data-v-dd3c1588]:hover{color:#0d5256;text-decoration:underline}.pv-details-no-carat>summary[data-v-bd0413e6]{cursor:default;background-image:none}.ag-custom-header-cell[data-v-94e930b5]{align-items:center;height:100%}.ag-header-actions .ag-header-cell-menu-button[data-v-94e930b5]{opacity:0;transition:opacity .2s ease-in-out}.ag-header-cell-menu-button:hover .ag-header-actions .ag-header-cell-menu-button[data-v-94e930b5],.ag-header-cell-menu-button:focus .ag-header-actions .ag-header-cell-menu-button[data-v-94e930b5]{opacity:1}.pv-table-row-number[data-v-686928ce]{text-align:center;color:#89989b;padding:8px 12px 8px 0}.pv-table-overlay{z-index:2;pointer-events:none;background:#fff;width:100%;height:calc(100% - 40px);position:absolute;top:80px}.pv-data-table .ag-header-cell-resize{border:none!important}.pv-data-table .ag-cell-inline-editing .ag-cell-editor{height:100%!important}.pv-data-table .ag-rich-select-value{min-height:100%!important}.pv-data-table .pv-data-table-cell-clickable{cursor:pointer}.pv-data-table .pv-data-table-cell-clickable:hover{background-color:var(--button-ghost-hover-background-color,#e8f2f4)}.pv-data-table .ag-row-group-leaf-indent{margin-left:0;padding-left:7px}.pv-data-table .ag-custom-loading-cell{background-color:#ccc;border-radius:4px;width:100%;height:40%;margin:15px}.pv-data-table .ag-group-value{width:100%;height:100%}.pv-data-table .ag-row:not(.ag-row-group) .ag-cell-wrapper{align-items:stretch;height:100%}.pv-data-table .ag-menu-option:hover{background-color:#f7f8f8}.pv-data-table .ag-menu-option-shortcut{color:#89989b}.pv-data-table .ag-menu-option:active{background-color:#e8f2f4}.pv-data-table .ag-menu-option-text{font-family:Inter,sans-serif}.pv-data-table .ag-header-cell-menu-button:hover{box-shadow:unset!important}.pv-data-table .ag-button{border-radius:4px!important;padding:3px 8px!important;font-size:12px!important}.pv-data-table-grouped-card .ag-body-horizontal-scroll{display:none!important}.pv-data-table-grouped-card .ag-header-cell-resize{opacity:0;transition:opacity .2s}.pv-data-table-grouped-card .ag-header-cell:hover .ag-header-cell-resize{opacity:1}.pv-data-table-grouped-card .ag-row-group-contracted{background:linear-gradient(#fff 5px,#f7f8f8 5px calc(100% - 5px),#fff calc(100% - 5px))!important}.pv-data-table-grouped-card .ag-row-group-expanded{background:linear-gradient(#fff 5px,#f7f8f8 5px)!important}.pv-data-table-grouped-card .ag-row-group-contracted .ag-cell{border:none!important;align-items:center!important;padding-top:5px!important;padding-bottom:5px!important}.pv-data-table-grouped-card .ag-row-group-expanded .ag-cell{border:none!important;align-items:center!important;padding-top:5px!important;padding-bottom:0!important}.pv-data-table-grouped-card .ag-row-group-contracted .ag-cell-wrapper,.pv-data-table-grouped-card .ag-row-group-expanded .ag-cell-wrapper{align-items:center!important;height:100%!important}.pv-data-table-grouped-card .ag-row-group-contracted .ag-cell-value,.pv-data-table-grouped-card .ag-row-group-expanded .ag-cell-value{height:100%!important}.pv-data-table-grouped-card .ag-row:not(.ag-row-group-contracted):not(.ag-row-group-expanded){border-bottom:1px solid #e0e0e0!important;border-left:1px solid #e0e0e0!important;border-right:1px solid #e0e0e0!important}.pv-data-table-grouped-card .ag-row.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:"";pointer-events:none;border:1px solid #e0e0e0;border-radius:4px;position:absolute;inset:5px 0}.pv-data-table-grouped-card .ag-row-group-expanded:after{content:"";pointer-events:none;border:1px solid #e0e0e0;border-radius:4px 4px 0 0;position:absolute;inset:5px 0 0}.pv-data-table-grouped-card .ag-row-group-contracted:hover,.pv-data-table-grouped-card .ag-row-group-expanded:hover{background:linear-gradient(#fff 5px,#eef0f0 5px calc(100% - 5px),#fff calc(100% - 5px))!important}.pv-data-table-grouped-card .ag-row-group-expanded:hover{background:linear-gradient(#fff 5px,#eef0f0 5px)!important}.pv-data-table-grouped-card .ag-row:not(.ag-row-group-contracted):not(.ag-row-group-expanded):hover{background-color:#f7f8f8!important}.pv-data-table-grouped-card .ag-group-value{height:100%}.pv-text-tertiary[data-v-34615cd0]{color:#89989b}.pv-button-placeholder[data-v-34615cd0]{width:24px;height:24px}.pv-sort-option[data-v-34615cd0]{--flex-gap:4px;cursor:grab;min-height:24px}.pv-menu-item-disabled[data-v-34615cd0]{pointer-events:none;color:#7d898d}.placeholder-zone[data-v-34615cd0]{transition:background-color .2s}.pv-placeholder-dropzone[data-v-34615cd0]{justify-content:center;align-items:center;padding:8px 4px;transition:all .2s;border-style:dashed!important;border-color:#e3e7ea!important}.placeholder-zone.placeholder-drag-over .pv-placeholder-dropzone[data-v-34615cd0]{background:#f0f9f9;border-color:#16696d!important}.sort-divider-container[data-v-34615cd0]{display:flex}.sort-divider[data-v-34615cd0]{border-top:1px solid #e3e7ea;flex:1;margin:1rem 0;position:relative}.sort-divider[data-v-34615cd0]:after{content:attr(data-label);font-size:inherit;white-space:nowrap;background:#fff;padding:0 .5em;display:inline-block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-v-67932deb] .pv-legacy-chart-menu-nested:after{content:"›";margin-left:auto}[data-v-67932deb] .pv-legacy-chart-menu-nested-active{background-color:var(--popover-list-selected-item-background-color,#e4f8f6)}[data-v-67932deb] .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-scroll--enabled{overflow:auto}.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}.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-712fbeaa]{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-712fbeaa]{display:flex;overflow:hidden}.pv-scatter-quadrant-box[data-v-712fbeaa]{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-712fbeaa]{grid-area:1/1;justify-content:flex-start;align-items:flex-start;padding:5px}.pv-scatter-quadrant-top-right[data-v-712fbeaa]{grid-area:1/2;justify-content:flex-end;align-items:flex-start;padding:5px}.pv-scatter-quadrant-bottom-left[data-v-712fbeaa]{grid-area:2/1;justify-content:flex-start;align-items:flex-end;padding:5px}.pv-scatter-quadrant-bottom-right[data-v-712fbeaa]{grid-area:2/2;justify-content:flex-end;align-items:flex-end;padding:5px}.pv-chart-loading[data-v-712fbeaa]{text-align:center;opacity:1;z-index:4;background-color:#fff;justify-content:center;align-items:center;width:100%;height:100%;position:absolute;top:0;left:0}.pv-chart-loading-icon[data-v-712fbeaa]{color:#16696d;animation:1.5s ease-in-out infinite pulse-712fbeaa}@keyframes pulse-712fbeaa{0%{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}.pv-chart-widget[data-v-d92b6ed9]{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-d92b6ed9]{overflow:hidden}.pv-chart-widget__chart-area[data-v-d92b6ed9]{flex:auto;width:100%;min-height:0;position:relative;overflow:hidden}.pv-chart-widget__chart-scroll[data-v-d92b6ed9]{width:100%;height:100%;min-height:0}.pv-chart-widget__chart-scroll--enabled[data-v-d92b6ed9]{overflow:auto}.pv-chart-widget__chart-content[data-v-d92b6ed9]{height:100%;min-height:100%}.pv-badge-md[data-v-6a07eeec]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-6a07eeec]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-surface-lighten-5[data-v-6a07eeec]{background-color:#e0e5e4}.pv-text-secondary[data-v-6a07eeec]{color:#4b595c}.pv-floating-native[data-v-08e2d92a]{width:max-content;color:inherit;position-visibility:anchors-visible;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:auto;overflow:visible}.pv-floating-native[data-v-08e2d92a]>.pv-popover,.pv-floating-native>slot[name=content][data-v-08e2d92a]::slotted(.pv-popover){position:static!important}.pv-select-button-trigger-avatar[data-v-5b922a5f]{font-size:.5rem;font-weight:700}.pv-select-button-trigger-content[data-v-5b922a5f]{min-width:0}.pv-select-button-trigger-label[data-v-5b922a5f]{flex:auto;min-width:0}.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:not(:disabled):hover:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:not(:disabled):focus-visible:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:not(:disabled):active:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:disabled:after{background-image:unset}.pv-action-button-reveal-on-hover{opacity:0;transition:opacity .2s}.pv-label:hover .pv-action-button-reveal-on-hover{opacity:1}.pv-menu-item-disabled[data-v-f337a1d6]{pointer-events:none;color:#7d898d;border-radius:4px}.pv-menu-item-disabled .pv-menu-item-action[data-v-f337a1d6]{pointer-events:auto;display:inline-flex}.pv-menu-item{&[data-v-f337a1d6]{cursor:pointer;border-radius:var(--popover-list-item-radius,4px);transition-property:background-color;transition-duration:.15s}&[data-v-f337a1d6]:hover,&[data-v-f337a1d6]:focus-visible{background-color:var(--popover-list-item-hover-background-color,#f5f5f5)}&[data-v-f337a1d6]:active{background-color:var(--popover-list-item-pressed-background-color,#ebebeb)}}.pv-radio[data-v-f337a1d6]:indeterminate{background-color:unset!important;border-color:var(--color-border,#e3e7ea)!important}.pv-menu-item-expand-chevron[data-v-f337a1d6]{flex-shrink:0;margin-left:auto;padding:4px}.pv-menu-item-disabled .pv-menu-item-expand-chevron[data-v-f337a1d6]{pointer-events:auto;color:inherit}.pv-popover-list[data-v-246a9400]{font-size:14px}.pv-menu-popover[data-v-04937b69]{z-index:50}.pv-popover-list>li[data-v-04937b69]:last-child>.pv-label{margin-block-end:0}[data-v-04937b69] .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-data-widget[data-v-1681e679]{box-sizing:border-box;width:100%;min-width:0;min-height:0}.pv-data-widget--constrained[data-v-1681e679]{flex-direction:column;display:flex;overflow:hidden}.pv-data-widget--constrained .pv-data-widget__body[data-v-1681e679]{flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden}.pv-data-widget__table-container[data-v-1681e679]{min-height:0}.pv-data-widget__below-table[data-v-1681e679]{margin-top:16px}.pv-data-widget--constrained .pv-data-widget__table-container[data-v-1681e679]{flex:auto}.pv-data-widget--constrained .pv-data-widget__below-table[data-v-1681e679]{flex:none}.pv-data-widget__chart-scroll[data-v-1681e679]{width:100%;min-height:0;overflow:hidden}.pv-data-widget--constrained .pv-data-widget__chart-scroll[data-v-1681e679]{flex:auto}.pv-data-widget__chart-scroll--enabled[data-v-1681e679]{overflow:auto}.pv-data-widget__chart-content[data-v-1681e679]{min-height:100%}.pv-button-icon[aria-expanded=true][data-v-6e4b23d8]{background-color:#c7d8db}.pv-select[data-v-6e4b23d8]{padding-top:4px;padding-bottom:4px}.input-icon-position{pointer-events:none;position:absolute;top:8px;left:12px}.pv-text-tertiary[data-v-ff951d17]{color:#6e8081}.pv-query-builder-input-wrapper[data-v-37925d70]{background:var(--secondary-lighten-8,#f7f8f8);border-radius:var(--corner-radius-L,8px);border:1px solid var(--stroke-light,#e3e7ea);cursor:text;align-items:center;width:100%;min-height:2.25rem;padding:.25rem;font-size:.75rem;display:flex;position:relative}.pv-query-builder-input[data-v-37925d70]{justify-content:start;overflow-x:hidden}.pv-query-builder-input-wrapper input[data-v-37925d70]{background:0 0;border:none;outline:none;flex:1rem;min-width:1rem;font-size:.75rem}.pv-query-builder-input-wrapper[data-v-37925d70]:focus-within{border:2px solid #36c5ba}.pv-table-row-count{opacity:1;background-color:#f7f8f8;transition:opacity .3s;position:absolute;top:6px;right:12px}.pv-table-group-cell:hover .pv-table-row-count{opacity:0}.pv-table-row-number{text-align:center;color:#89989b;padding:8px 12px 8px 0}.suggested-label[data-v-dd3c1588]:hover{color:#16696d}.suggested-title-label[data-v-dd3c1588]:hover{color:#0d5256;text-decoration:underline}.pv-details-no-carat>summary[data-v-bd0413e6]{cursor:default;background-image:none}.ag-custom-header-cell[data-v-94e930b5]{align-items:center;height:100%}.ag-header-actions .ag-header-cell-menu-button[data-v-94e930b5]{opacity:0;transition:opacity .2s ease-in-out}.ag-header-cell-menu-button:hover .ag-header-actions .ag-header-cell-menu-button[data-v-94e930b5],.ag-header-cell-menu-button:focus .ag-header-actions .ag-header-cell-menu-button[data-v-94e930b5]{opacity:1}.pv-table-row-number[data-v-686928ce]{text-align:center;color:#89989b;padding:8px 12px 8px 0}.pv-table-overlay{z-index:2;pointer-events:none;background:#fff;width:100%;height:calc(100% - 40px);position:absolute;top:80px}.pv-data-table .ag-header-cell-resize{border:none!important}.pv-data-table .ag-cell-inline-editing .ag-cell-editor{height:100%!important}.pv-data-table .ag-rich-select-value{min-height:100%!important}.pv-data-table .pv-data-table-cell-clickable{cursor:pointer}.pv-data-table .pv-data-table-cell-clickable:hover{background-color:var(--button-ghost-hover-background-color,#e8f2f4)}.pv-data-table .ag-row-group-leaf-indent{margin-left:0;padding-left:7px}.pv-data-table .ag-custom-loading-cell{background-color:#ccc;border-radius:4px;width:100%;height:40%;margin:15px}.pv-data-table .ag-group-value{width:100%;height:100%}.pv-data-table .ag-row:not(.ag-row-group) .ag-cell-wrapper{align-items:stretch;height:100%}.pv-data-table .ag-menu-option:hover{background-color:#f7f8f8}.pv-data-table .ag-menu-option-shortcut{color:#89989b}.pv-data-table .ag-menu-option:active{background-color:#e8f2f4}.pv-data-table .ag-menu-option-text{font-family:Inter,sans-serif}.pv-data-table .ag-header-cell-menu-button:hover{box-shadow:unset!important}.pv-data-table .ag-button{border-radius:4px!important;padding:3px 8px!important;font-size:12px!important}.pv-data-table-grouped-card .ag-body-horizontal-scroll{display:none!important}.pv-data-table-grouped-card .ag-header-cell-resize{opacity:0;transition:opacity .2s}.pv-data-table-grouped-card .ag-header-cell:hover .ag-header-cell-resize{opacity:1}.pv-data-table-grouped-card .ag-row-group-contracted{background:linear-gradient(#fff 5px,#f7f8f8 5px calc(100% - 5px),#fff calc(100% - 5px))!important}.pv-data-table-grouped-card .ag-row-group-expanded{background:linear-gradient(#fff 5px,#f7f8f8 5px)!important}.pv-data-table-grouped-card .ag-row-group-contracted .ag-cell{border:none!important;align-items:center!important;padding-top:5px!important;padding-bottom:5px!important}.pv-data-table-grouped-card .ag-row-group-expanded .ag-cell{border:none!important;align-items:center!important;padding-top:5px!important;padding-bottom:0!important}.pv-data-table-grouped-card .ag-row-group-contracted .ag-cell-wrapper,.pv-data-table-grouped-card .ag-row-group-expanded .ag-cell-wrapper{align-items:center!important;height:100%!important}.pv-data-table-grouped-card .ag-row-group-contracted .ag-cell-value,.pv-data-table-grouped-card .ag-row-group-expanded .ag-cell-value{height:100%!important}.pv-data-table-grouped-card .ag-row:not(.ag-row-group-contracted):not(.ag-row-group-expanded){border-bottom:1px solid #e0e0e0!important;border-left:1px solid #e0e0e0!important;border-right:1px solid #e0e0e0!important}.pv-data-table-grouped-card .ag-row.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:"";pointer-events:none;border:1px solid #e0e0e0;border-radius:4px;position:absolute;inset:5px 0}.pv-data-table-grouped-card .ag-row-group-expanded:after{content:"";pointer-events:none;border:1px solid #e0e0e0;border-radius:4px 4px 0 0;position:absolute;inset:5px 0 0}.pv-data-table-grouped-card .ag-row-group-contracted:hover,.pv-data-table-grouped-card .ag-row-group-expanded:hover{background:linear-gradient(#fff 5px,#eef0f0 5px calc(100% - 5px),#fff calc(100% - 5px))!important}.pv-data-table-grouped-card .ag-row-group-expanded:hover{background:linear-gradient(#fff 5px,#eef0f0 5px)!important}.pv-data-table-grouped-card .ag-row:not(.ag-row-group-contracted):not(.ag-row-group-expanded):hover{background-color:#f7f8f8!important}.pv-data-table-grouped-card .ag-group-value{height:100%}.pv-text-tertiary[data-v-34615cd0]{color:#89989b}.pv-button-placeholder[data-v-34615cd0]{width:24px;height:24px}.pv-sort-option[data-v-34615cd0]{--flex-gap:4px;cursor:grab;min-height:24px}.pv-menu-item-disabled[data-v-34615cd0]{pointer-events:none;color:#7d898d}.placeholder-zone[data-v-34615cd0]{transition:background-color .2s}.pv-placeholder-dropzone[data-v-34615cd0]{justify-content:center;align-items:center;padding:8px 4px;transition:all .2s;border-style:dashed!important;border-color:#e3e7ea!important}.placeholder-zone.placeholder-drag-over .pv-placeholder-dropzone[data-v-34615cd0]{background:#f0f9f9;border-color:#16696d!important}.sort-divider-container[data-v-34615cd0]{display:flex}.sort-divider[data-v-34615cd0]{border-top:1px solid #e3e7ea;flex:1;margin:1rem 0;position:relative}.sort-divider[data-v-34615cd0]:after{content:attr(data-label);font-size:inherit;white-space:nowrap;background:#fff;padding:0 .5em;display:inline-block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-v-22dd30e6] .pv-legacy-chart-menu-nested:after{content:"›";margin-left:auto}[data-v-22dd30e6] .pv-legacy-chart-menu-nested-active{background-color:var(--popover-list-selected-item-background-color,#e4f8f6)}[data-v-22dd30e6] .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-scroll--enabled{overflow:auto}.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}.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 P, toDisplayString as F, toRef as ee, unref as I, useAttrs as L, useId as R, useModel as z, useSlots as B, useTemplateRef as V, vModelCheckbox as
|
|
4
|
-
import { AgCharts as
|
|
5
|
-
import { LicenseManager as
|
|
6
|
-
import { onClickOutside as
|
|
7
|
-
import { useSortable as
|
|
8
|
-
import { AgGridVue as
|
|
9
|
-
import { CellStyleModule 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 P, toDisplayString as F, toRef as ee, unref as I, useAttrs as L, useId as R, useModel as z, useSlots as B, useTemplateRef as V, vModelCheckbox as te, vModelText as ne, vShow as re, watch as H, withCtx as U, withDirectives as W, withKeys as G, withModifiers as ie } from "vue";
|
|
4
|
+
import { AgCharts as K } from "ag-charts-vue3";
|
|
5
|
+
import { LicenseManager as ae } from "ag-charts-enterprise";
|
|
6
|
+
import { onClickOutside as oe, onKeyStroke as se, toRef as q, useDebounceFn as ce, useElementBounding as le, useElementHover as ue, useElementSize as J, useToggle as de, watchDebounced as fe } from "@vueuse/core";
|
|
7
|
+
import { useSortable as Y } from "@vueuse/integrations/useSortable.mjs";
|
|
8
|
+
import { AgGridVue as pe } from "ag-grid-vue3";
|
|
9
|
+
import { CellStyleModule as me, CheckboxEditorModule as he, ClientSideRowModelModule as ge, ColumnApiModule as _e, ColumnAutoSizeModule as ve, CsvExportModule as ye, CustomEditorModule as be, CustomFilterModule as xe, DateEditorModule as Se, EventApiModule as Ce, GridStateModule as we, LargeTextEditorModule as Te, ModuleRegistry as Ee, NumberEditorModule as De, PaginationModule as Oe, QuickFilterModule as X, RowApiModule as ke, RowStyleModule as Z, ScrollApiModule as Ae, SelectEditorModule as je, TextEditorModule as Q, TextFilterModule as Me, UndoRedoEditModule as Ne, themeQuartz as Pe } from "ag-grid-community";
|
|
10
10
|
import { AdvancedFilterModule as Fe, CellSelectionModule as Ie, ClientSideRowModelApiModule as Le, ClipboardModule as Re, ColumnMenuModule as ze, ContextMenuModule as Be, LicenseManager as Ve, MultiFilterModule as He, RenderApiModule as Ue, RichSelectModule as We, RowGroupingModule as Ge, RowSelectionModule as Ke, ServerSideRowModelApiModule as qe, ServerSideRowModelModule as Je, SetFilterModule as Ye, TooltipModule as Xe, ValidationModule as Ze } from "ag-grid-enterprise";
|
|
11
11
|
import Qe from "papaparse";
|
|
12
12
|
import { vOnClickOutside as $e } from "@vueuse/components";
|
|
@@ -250,7 +250,7 @@ var Bt = { style: { position: "relative" } }, Vt = {
|
|
|
250
250
|
emits: ["series-visibility-change"],
|
|
251
251
|
setup(e, { expose: n, emit: c }) {
|
|
252
252
|
let l = e, d = c;
|
|
253
|
-
|
|
253
|
+
ae.setLicenseKey(Xt);
|
|
254
254
|
let f = k(null), p = k({}), m = () => {
|
|
255
255
|
if (!f.value || !l.customChartProps?.scatter?.quadrantRenderer) return;
|
|
256
256
|
let e = f.value.$el;
|
|
@@ -360,7 +360,7 @@ var Bt = { style: { position: "relative" } }, Vt = {
|
|
|
360
360
|
width: e?.width,
|
|
361
361
|
height: e?.height
|
|
362
362
|
}) }), (n, r) => (D(), o("div", Bt, [
|
|
363
|
-
u(I(
|
|
363
|
+
u(I(K), {
|
|
364
364
|
ref_key: "chartRef",
|
|
365
365
|
ref: f,
|
|
366
366
|
style: x([{ height: "100%" }, _.value ? "" : `min-height: ${e.minHeight}px`]),
|
|
@@ -508,7 +508,7 @@ var Bt = { style: { position: "relative" } }, Vt = {
|
|
|
508
508
|
},
|
|
509
509
|
emits: ["series-visibility-change"],
|
|
510
510
|
setup(e, { expose: t, emit: n }) {
|
|
511
|
-
let i = e, c = n, l = k(null), d = k(null), f = k(null), { width: p } =
|
|
511
|
+
let i = e, c = n, l = k(null), d = k(null), f = k(null), { width: p } = J(l), { height: m } = J(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(() => _n(i.options, {
|
|
512
512
|
dataLimit: i.dataLimit,
|
|
513
513
|
showAxes: i.showAxes
|
|
514
514
|
})), b = r(() => pn(v.value)), S = r(() => mn(v.value)), C = r(() => an({
|
|
@@ -588,7 +588,7 @@ var Bt = { style: { position: "relative" } }, Vt = {
|
|
|
588
588
|
class: y(["pv-card pv-inset-square-8 pv-inline-block", { "pv-card-secondary": e.variant === "secondary" }]),
|
|
589
589
|
"data-testid": "pv-card"
|
|
590
590
|
}, {
|
|
591
|
-
default:
|
|
591
|
+
default: U(() => [j(t.$slots, "default")]),
|
|
592
592
|
_: 3
|
|
593
593
|
}, 8, [
|
|
594
594
|
"href",
|
|
@@ -1652,7 +1652,7 @@ function Pi(e, t = {}) {
|
|
|
1652
1652
|
characterData: !0
|
|
1653
1653
|
}));
|
|
1654
1654
|
};
|
|
1655
|
-
return T(v), C(g),
|
|
1655
|
+
return T(v), C(g), H(() => I(n), () => {
|
|
1656
1656
|
c.value && v();
|
|
1657
1657
|
}), {
|
|
1658
1658
|
present: r(() => c.value ? p.value : f.value),
|
|
@@ -1706,7 +1706,7 @@ var Fi = ["popover"], Ii = "--pv-popover-v2-anchor", Li = /* @__PURE__ */ Qt(/*
|
|
|
1706
1706
|
"position-try-fallbacks: flip-block",
|
|
1707
1707
|
"position-visibility: anchors-visible",
|
|
1708
1708
|
`anchor-scope: ${Ii}`
|
|
1709
|
-
].every((e) => CSS.supports(e)), g = k(!1), _ = k(null), y = k(null), b = k(null), S = k(null), C =
|
|
1709
|
+
].every((e) => CSS.supports(e)), g = k(!1), _ = k(null), y = k(null), b = k(null), S = k(null), C = ue(y), w = ue(S), O = k(!1), A = {
|
|
1710
1710
|
"top-center": "top",
|
|
1711
1711
|
"bottom-center": "bottom",
|
|
1712
1712
|
"center-left": "left",
|
|
@@ -1766,16 +1766,16 @@ var Fi = ["popover"], Ii = "--pv-popover-v2-anchor", Li = /* @__PURE__ */ Qt(/*
|
|
|
1766
1766
|
middleware: e
|
|
1767
1767
|
});
|
|
1768
1768
|
L = n.update, R = () => n.floatingStyles.value;
|
|
1769
|
-
let i =
|
|
1769
|
+
let i = le(b), a = ce(() => {
|
|
1770
1770
|
c.value && L();
|
|
1771
1771
|
}, 5);
|
|
1772
|
-
|
|
1772
|
+
H([
|
|
1773
1773
|
i.top,
|
|
1774
1774
|
i.left,
|
|
1775
1775
|
i.width,
|
|
1776
1776
|
i.height
|
|
1777
|
-
], a),
|
|
1778
|
-
t.disableClickOutsideToClose ||
|
|
1777
|
+
], a), oe(_, () => {
|
|
1778
|
+
t.disableClickOutsideToClose || G(!1);
|
|
1779
1779
|
}, { ignore: r(() => [
|
|
1780
1780
|
S.value,
|
|
1781
1781
|
".p-datepicker-panel",
|
|
@@ -1785,57 +1785,57 @@ var Fi = ["popover"], Ii = "--pv-popover-v2-anchor", Li = /* @__PURE__ */ Qt(/*
|
|
|
1785
1785
|
let B = r(() => ({
|
|
1786
1786
|
...R(),
|
|
1787
1787
|
zIndex: t.zIndex
|
|
1788
|
-
})), V,
|
|
1788
|
+
})), V, te, ne = () => {
|
|
1789
1789
|
V && clearTimeout(V), V = void 0;
|
|
1790
|
-
},
|
|
1791
|
-
|
|
1792
|
-
},
|
|
1793
|
-
|
|
1790
|
+
}, U = () => {
|
|
1791
|
+
te && clearTimeout(te), te = void 0;
|
|
1792
|
+
}, G = (e) => {
|
|
1793
|
+
ne(), U(), !(e && !m.value) && (e && t.delay > 0 && (t.showOnHover || !h) ? V = setTimeout(() => {
|
|
1794
1794
|
c.value = !0, V = void 0;
|
|
1795
1795
|
}, t.delay) : c.value = e);
|
|
1796
|
-
},
|
|
1796
|
+
}, ie = () => {
|
|
1797
1797
|
let e = S.value;
|
|
1798
1798
|
!e || !g.value || !m.value || (c.value ? e.showPopover() : e.hidePopover());
|
|
1799
|
-
},
|
|
1800
|
-
t.showOnHover ||
|
|
1801
|
-
},
|
|
1799
|
+
}, K = r(() => t.showOnHover ? t.disableInteractive ? C.value || O.value : C.value || w.value || O.value : !1), ae = () => {
|
|
1800
|
+
t.showOnHover || G(V ? !1 : !c.value);
|
|
1801
|
+
}, se = (e) => {
|
|
1802
1802
|
let t = e.newState === "open";
|
|
1803
1803
|
c.value !== t && (c.value = t);
|
|
1804
|
-
},
|
|
1805
|
-
h && N.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(),
|
|
1804
|
+
}, q = (e) => {
|
|
1805
|
+
h && N.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), G(!1));
|
|
1806
1806
|
};
|
|
1807
|
-
return
|
|
1807
|
+
return H(c, async (e) => {
|
|
1808
1808
|
if (!h) {
|
|
1809
1809
|
e && L();
|
|
1810
1810
|
return;
|
|
1811
1811
|
}
|
|
1812
|
-
await v(),
|
|
1813
|
-
}),
|
|
1812
|
+
await v(), ie();
|
|
1813
|
+
}), H(K, (e) => {
|
|
1814
1814
|
if (t.showOnHover) {
|
|
1815
1815
|
if (e) {
|
|
1816
|
-
|
|
1816
|
+
G(!0);
|
|
1817
1817
|
return;
|
|
1818
1818
|
}
|
|
1819
|
-
|
|
1820
|
-
|
|
1821
|
-
}, t.closeDelay)) :
|
|
1819
|
+
ne(), t.closeDelay > 0 ? (U(), te = setTimeout(() => {
|
|
1820
|
+
te = void 0, K.value || G(!1);
|
|
1821
|
+
}, t.closeDelay)) : G(!1);
|
|
1822
1822
|
}
|
|
1823
|
-
}),
|
|
1824
|
-
e ? h && c.value && v(
|
|
1823
|
+
}), H(m, (e) => {
|
|
1824
|
+
e ? h && c.value && v(ie) : (ne(), U(), c.value = !1);
|
|
1825
1825
|
}), T(() => {
|
|
1826
|
-
b.value = y.value, g.value = !0, c.value && v(() => h ?
|
|
1826
|
+
b.value = y.value, g.value = !0, c.value && v(() => h ? ie() : L());
|
|
1827
1827
|
}), E(() => {
|
|
1828
|
-
|
|
1828
|
+
ne(), U();
|
|
1829
1829
|
}), (r, l) => (D(), o("div", {
|
|
1830
1830
|
ref_key: "root",
|
|
1831
1831
|
ref: _,
|
|
1832
1832
|
style: x([{ width: "fit-content" }, P.value]),
|
|
1833
|
-
onKeydown:
|
|
1833
|
+
onKeydown: q
|
|
1834
1834
|
}, [s("div", {
|
|
1835
1835
|
ref_key: "triggerWrapper",
|
|
1836
1836
|
ref: y,
|
|
1837
1837
|
style: x(F.value),
|
|
1838
|
-
onClick:
|
|
1838
|
+
onClick: ae,
|
|
1839
1839
|
onFocusin: l[0] ||= (e) => O.value = !0,
|
|
1840
1840
|
onFocusout: l[1] ||= (e) => O.value = !1
|
|
1841
1841
|
}, [j(r.$slots, "trigger")], 36), g.value && I(h) && m.value ? (D(), o("div", {
|
|
@@ -1845,17 +1845,17 @@ var Fi = ["popover"], Ii = "--pv-popover-v2-anchor", Li = /* @__PURE__ */ Qt(/*
|
|
|
1845
1845
|
class: "pv-floating pv-floating-native",
|
|
1846
1846
|
popover: N.value,
|
|
1847
1847
|
style: x(ee.value),
|
|
1848
|
-
onToggle:
|
|
1848
|
+
onToggle: se
|
|
1849
1849
|
}, [j(r.$slots, "content")], 44, Fi)) : m.value ? (D(), i(n, {
|
|
1850
1850
|
key: 1,
|
|
1851
1851
|
to: e.teleportLocation,
|
|
1852
1852
|
disabled: !t.useTeleport
|
|
1853
|
-
}, [
|
|
1853
|
+
}, [W(s("div", {
|
|
1854
1854
|
ref_key: "floating",
|
|
1855
1855
|
ref: S,
|
|
1856
1856
|
class: "pv-floating",
|
|
1857
1857
|
style: x(B.value)
|
|
1858
|
-
}, [j(r.$slots, "content")], 4), [[
|
|
1858
|
+
}, [j(r.$slots, "content")], 4), [[re, c.value]])], 8, ["to", "disabled"])) : a("", !0)], 36));
|
|
1859
1859
|
}
|
|
1860
1860
|
}), [["__scopeId", "data-v-08e2d92a"]]), Ri = ["data-variant"], zi = /* @__PURE__ */ d({
|
|
1861
1861
|
__name: "PvTooltipV2",
|
|
@@ -1887,11 +1887,11 @@ var Fi = ["popover"], Ii = "--pv-popover-v2-anchor", Li = /* @__PURE__ */ Qt(/*
|
|
|
1887
1887
|
setup(e) {
|
|
1888
1888
|
let t = e, n = f(), a = typeof HTMLElement < "u" && n && "ce" in n && n.ce instanceof HTMLElement ? n.ce : void 0, { hasVueSlot: o, hasNativeSlot: u } = Pi("content", { host: a }), d = r(() => a ? u.value : o.value), m = r(() => !!t.description || d.value);
|
|
1889
1889
|
return (t, n) => (D(), i(Li, b(p(t.$props)), c({
|
|
1890
|
-
trigger:
|
|
1890
|
+
trigger: U(() => [j(t.$slots, "trigger", {}, () => [s("p", null, F(e.label), 1)])]),
|
|
1891
1891
|
_: 2
|
|
1892
1892
|
}, [m.value ? {
|
|
1893
1893
|
name: "content",
|
|
1894
|
-
fn:
|
|
1894
|
+
fn: U(() => [s("div", {
|
|
1895
1895
|
class: y(["pv-tooltip-v2-content", { "pv-tooltip-v2-content-small": e.size === "sm" }]),
|
|
1896
1896
|
role: "tooltip",
|
|
1897
1897
|
"data-variant": e.variant
|
|
@@ -1919,7 +1919,7 @@ var Fi = ["popover"], Ii = "--pv-popover-v2-anchor", Li = /* @__PURE__ */ Qt(/*
|
|
|
1919
1919
|
position: "bottom-right",
|
|
1920
1920
|
style: { width: "100%" }
|
|
1921
1921
|
}, c({
|
|
1922
|
-
trigger:
|
|
1922
|
+
trigger: U(() => [u(Mn, {
|
|
1923
1923
|
class: y(["pv-full-width", { "pv-disabled": e.disabled }]),
|
|
1924
1924
|
variant: "ghost",
|
|
1925
1925
|
label: e.label,
|
|
@@ -1942,7 +1942,7 @@ var Fi = ["popover"], Ii = "--pv-popover-v2-anchor", Li = /* @__PURE__ */ Qt(/*
|
|
|
1942
1942
|
_: 2
|
|
1943
1943
|
}, [e.disabledReason ? {
|
|
1944
1944
|
name: "content",
|
|
1945
|
-
fn:
|
|
1945
|
+
fn: U(() => [l(F(e.disabledReason), 1)]),
|
|
1946
1946
|
key: "0"
|
|
1947
1947
|
} : void 0]), 1024))), 128))], 2));
|
|
1948
1948
|
}
|
|
@@ -4877,11 +4877,11 @@ var Fi = ["popover"], Ii = "--pv-popover-v2-anchor", Li = /* @__PURE__ */ Qt(/*
|
|
|
4877
4877
|
"pv-input-padded-end": !0
|
|
4878
4878
|
}));
|
|
4879
4879
|
return T(() => {
|
|
4880
|
-
n.displayShortcut &&
|
|
4880
|
+
n.displayShortcut && se(oa, (e) => {
|
|
4881
4881
|
let t = e.target, n = t instanceof HTMLInputElement || t instanceof HTMLTextAreaElement || (t?.isContentEditable ?? !1), r = document.activeElement === i.value;
|
|
4882
4882
|
(!n || r) && (r || (e.preventDefault(), i.value?.focus()));
|
|
4883
4883
|
});
|
|
4884
|
-
}), t({ input: i }), (t, n) => (D(), o("div", ra, [
|
|
4884
|
+
}), t({ input: i }), (t, n) => (D(), o("div", ra, [W(s("input", {
|
|
4885
4885
|
ref: "search-input",
|
|
4886
4886
|
"onUpdate:modelValue": n[0] ||= (e) => c.value = e,
|
|
4887
4887
|
"data-testid": "pv-search-input",
|
|
@@ -4889,7 +4889,7 @@ var Fi = ["popover"], Ii = "--pv-popover-v2-anchor", Li = /* @__PURE__ */ Qt(/*
|
|
|
4889
4889
|
disabled: e.disabled,
|
|
4890
4890
|
class: y(l.value),
|
|
4891
4891
|
placeholder: e.placeholder
|
|
4892
|
-
}, null, 10, ia), [[
|
|
4892
|
+
}, null, 10, ia), [[ne, c.value]]), e.displayShortcut ? (D(), o("kbd", aa, F(oa))) : a("", !0)]));
|
|
4893
4893
|
}
|
|
4894
4894
|
}), ca = {
|
|
4895
4895
|
class: "pv-flex",
|
|
@@ -4907,7 +4907,7 @@ var Fi = ["popover"], Ii = "--pv-popover-v2-anchor", Li = /* @__PURE__ */ Qt(/*
|
|
|
4907
4907
|
"pv-icon": n.value,
|
|
4908
4908
|
[`pv-company-${t.size}`]: t.size && !n.value
|
|
4909
4909
|
})), c = r(() => ({ width: i.value })), l = r(() => `${t.name.toLowerCase().replace(/[^a-z\s]/g, "").trim().replace(/\s+/g, "_")}.svg`), u = r(() => t.srcPathOverride ? t.srcPathOverride : `${t.basePath}/${l.value}`);
|
|
4910
|
-
return
|
|
4910
|
+
return H(u, () => {
|
|
4911
4911
|
n.value = !0;
|
|
4912
4912
|
}), (e, t) => (D(), o("div", ca, [n.value ? (D(), o("div", {
|
|
4913
4913
|
key: 0,
|
|
@@ -5124,11 +5124,11 @@ var Fi = ["popover"], Ii = "--pv-popover-v2-anchor", Li = /* @__PURE__ */ Qt(/*
|
|
|
5124
5124
|
variant: "dark",
|
|
5125
5125
|
"tooltip-position": "top-left"
|
|
5126
5126
|
}, {
|
|
5127
|
-
label:
|
|
5127
|
+
label: U(() => [u(On, {
|
|
5128
5128
|
name: "close",
|
|
5129
|
-
onClick: r[0] ||=
|
|
5129
|
+
onClick: r[0] ||= ie((e) => n.$emit("handle-clear"), ["stop"])
|
|
5130
5130
|
})]),
|
|
5131
|
-
"tooltip-content":
|
|
5131
|
+
"tooltip-content": U(() => [...r[1] ||= [l(" Clear Selections ", -1)]]),
|
|
5132
5132
|
_: 1
|
|
5133
5133
|
})) : a("", !0)
|
|
5134
5134
|
], 10, _a));
|
|
@@ -5233,7 +5233,7 @@ var Ma = {
|
|
|
5233
5233
|
};
|
|
5234
5234
|
return T(() => {
|
|
5235
5235
|
p();
|
|
5236
|
-
}),
|
|
5236
|
+
}), H(() => n.queryText, () => {
|
|
5237
5237
|
p();
|
|
5238
5238
|
}), (n, r) => (D(), o(t, null, [
|
|
5239
5239
|
e.avatar ? (D(), i(pa, {
|
|
@@ -5324,14 +5324,14 @@ var Ma = {
|
|
|
5324
5324
|
"pv-input-xsmall": e.size === "sm",
|
|
5325
5325
|
"pv-switch-hide-check": e.hideCheckIcon
|
|
5326
5326
|
}])
|
|
5327
|
-
}, [e.label ? (D(), o("span", Ra, F(e.label), 1)) : a("", !0),
|
|
5327
|
+
}, [e.label ? (D(), o("span", Ra, F(e.label), 1)) : a("", !0), W(s("input", {
|
|
5328
5328
|
"onUpdate:modelValue": i[0] ||= (e) => n.value = e,
|
|
5329
5329
|
disabled: e.disabled,
|
|
5330
5330
|
"aria-label": e.ariaLabel,
|
|
5331
5331
|
type: "checkbox",
|
|
5332
5332
|
role: "switch",
|
|
5333
5333
|
id: I(t)
|
|
5334
|
-
}, null, 8, za), [[
|
|
5334
|
+
}, null, 8, za), [[te, n.value]])], 10, La));
|
|
5335
5335
|
}
|
|
5336
5336
|
}), [["__scopeId", "data-v-73e6d2b2"]]), Va = ["aria-label", "disabled"], Ha = /* @__PURE__ */ d({
|
|
5337
5337
|
__name: "PvActionButton",
|
|
@@ -5364,13 +5364,13 @@ var Ma = {
|
|
|
5364
5364
|
"disable-interactive": !0,
|
|
5365
5365
|
"use-teleport": !0
|
|
5366
5366
|
}, c({
|
|
5367
|
-
trigger:
|
|
5367
|
+
trigger: U(() => [s("button", {
|
|
5368
5368
|
type: "button",
|
|
5369
5369
|
class: y(["pv-button-link-tertiary", { "pv-action-button-reveal-on-hover": !e.alwaysShow }]),
|
|
5370
5370
|
style: { "--button-icon-only-padding": "0px" },
|
|
5371
5371
|
"aria-label": e.tooltipText,
|
|
5372
5372
|
disabled: e.disabled,
|
|
5373
|
-
onClick:
|
|
5373
|
+
onClick: ie(o, ["stop"])
|
|
5374
5374
|
}, [u(On, {
|
|
5375
5375
|
name: e.icon,
|
|
5376
5376
|
size: a[e.size]
|
|
@@ -5378,7 +5378,7 @@ var Ma = {
|
|
|
5378
5378
|
_: 2
|
|
5379
5379
|
}, [e.tooltipText ? {
|
|
5380
5380
|
name: "content",
|
|
5381
|
-
fn:
|
|
5381
|
+
fn: U(() => [l(F(e.tooltipText), 1)]),
|
|
5382
5382
|
key: "0"
|
|
5383
5383
|
} : void 0]), 1032, ["position"]));
|
|
5384
5384
|
}
|
|
@@ -5414,16 +5414,16 @@ var Ma = {
|
|
|
5414
5414
|
"disable-interactive": !0,
|
|
5415
5415
|
"use-teleport": !0
|
|
5416
5416
|
}, c({
|
|
5417
|
-
trigger:
|
|
5417
|
+
trigger: U(() => [s("span", {
|
|
5418
5418
|
class: y(["pv-text-brand", { "pv-action-button-reveal-on-hover": !f.value }]),
|
|
5419
5419
|
role: "img",
|
|
5420
5420
|
"aria-label": o.value,
|
|
5421
|
-
onClick: t[0] ||=
|
|
5421
|
+
onClick: t[0] ||= ie(() => {}, ["stop"])
|
|
5422
5422
|
}, [u(On, { name: n.value }, null, 8, ["name"])], 10, Ua)]),
|
|
5423
5423
|
_: 2
|
|
5424
5424
|
}, [o.value ? {
|
|
5425
5425
|
name: "content",
|
|
5426
|
-
fn:
|
|
5426
|
+
fn: U(() => [l(F(o.value), 1)]),
|
|
5427
5427
|
key: "0"
|
|
5428
5428
|
} : void 0]), 1024));
|
|
5429
5429
|
}
|
|
@@ -5585,7 +5585,7 @@ var Ma = {
|
|
|
5585
5585
|
class: "pv-button-ghost pv-menu-item-expand-chevron",
|
|
5586
5586
|
"aria-label": n.text ? `Toggle children for ${n.text}` : "Toggle children",
|
|
5587
5587
|
"aria-expanded": e.expanded,
|
|
5588
|
-
onClick: r[1] ||=
|
|
5588
|
+
onClick: r[1] ||= ie((e) => F("toggle-expanded"), ["prevent", "stop"])
|
|
5589
5589
|
}, [u(On, {
|
|
5590
5590
|
name: e.chevronIcon ?? "chevron-right",
|
|
5591
5591
|
size: 12
|
|
@@ -5646,11 +5646,11 @@ var Ma = {
|
|
|
5646
5646
|
]);
|
|
5647
5647
|
return Object.fromEntries(Object.entries(p).filter(([t]) => e.has(t)));
|
|
5648
5648
|
}), g = m(Xa, void 0), v = m(Za, void 0), b = k(i.defaultExpanded ?? !1);
|
|
5649
|
-
|
|
5649
|
+
H(() => i.defaultExpanded, (e) => {
|
|
5650
5650
|
e && (b.value = !0);
|
|
5651
5651
|
});
|
|
5652
5652
|
let S = k(!1), C = k(!1), w = k(i.children ?? []), T = k(/* @__PURE__ */ new Set());
|
|
5653
|
-
|
|
5653
|
+
H(() => i.children, (e) => {
|
|
5654
5654
|
if (!e) {
|
|
5655
5655
|
w.value = [];
|
|
5656
5656
|
return;
|
|
@@ -5701,7 +5701,7 @@ var Ma = {
|
|
|
5701
5701
|
} finally {
|
|
5702
5702
|
S.value = !1;
|
|
5703
5703
|
}
|
|
5704
|
-
},
|
|
5704
|
+
}, te = (e) => {
|
|
5705
5705
|
if (l.value && N.value && e.option.id === i.id && !d.value) {
|
|
5706
5706
|
E();
|
|
5707
5707
|
return;
|
|
@@ -5711,7 +5711,7 @@ var Ma = {
|
|
|
5711
5711
|
t > -1 ? c.value = [...c.value.slice(0, t), ...c.value.slice(t + 1)] : c.value = [...c.value, e.option.id];
|
|
5712
5712
|
}
|
|
5713
5713
|
R("handle-selected", e);
|
|
5714
|
-
},
|
|
5714
|
+
}, ne = (e) => {
|
|
5715
5715
|
R("handle-selected", e);
|
|
5716
5716
|
};
|
|
5717
5717
|
return (n, r) => {
|
|
@@ -5727,7 +5727,7 @@ var Ma = {
|
|
|
5727
5727
|
showChevron: I(l) && N.value,
|
|
5728
5728
|
chevronIcon: F.value,
|
|
5729
5729
|
expanded: b.value,
|
|
5730
|
-
onHandleSelected:
|
|
5730
|
+
onHandleSelected: te,
|
|
5731
5731
|
onToggleExpanded: E,
|
|
5732
5732
|
selected: ee(i)
|
|
5733
5733
|
}), null, 16, [
|
|
@@ -5755,7 +5755,7 @@ var Ma = {
|
|
|
5755
5755
|
queryText: e.queryText,
|
|
5756
5756
|
highlightSearchText: e.highlightSearchText,
|
|
5757
5757
|
level: e.level + 1,
|
|
5758
|
-
onHandleSelected:
|
|
5758
|
+
onHandleSelected: ne,
|
|
5759
5759
|
onSeeMore: r[1] ||= (e) => R("see-more", e)
|
|
5760
5760
|
}), null, 16, [
|
|
5761
5761
|
"disabled",
|
|
@@ -5792,7 +5792,7 @@ var Ma = {
|
|
|
5792
5792
|
emits: ["list-order-updated"],
|
|
5793
5793
|
setup(e, { expose: t, emit: n }) {
|
|
5794
5794
|
let r = k(null), i = V("popoverList"), a = e, s = n;
|
|
5795
|
-
return a.isSortable && a.isList &&
|
|
5795
|
+
return a.isSortable && a.isList && Y(i, [], {
|
|
5796
5796
|
animation: 150,
|
|
5797
5797
|
onUpdate: () => {
|
|
5798
5798
|
s("list-order-updated", Array.from(i.value?.children || []).map((e) => e.id));
|
|
@@ -5859,30 +5859,30 @@ var Ma = {
|
|
|
5859
5859
|
p.value !== void 0 && (p.value = void 0);
|
|
5860
5860
|
}, M = () => {
|
|
5861
5861
|
let e = p.value;
|
|
5862
|
-
E(), e && v(() =>
|
|
5862
|
+
E(), e && v(() => Se(e));
|
|
5863
5863
|
}, N = [...m(Ja, []), h];
|
|
5864
|
-
O(Ja, N),
|
|
5864
|
+
O(Ja, N), oe(g, (e) => {
|
|
5865
5865
|
(e.target instanceof Element ? e.target.closest("[data-pv-menu-ancestors]")?.dataset.pvMenuAncestors?.split(" ") : void 0)?.includes(h) || E();
|
|
5866
5866
|
}, { ignore: [S] });
|
|
5867
5867
|
let F = P(f.value);
|
|
5868
|
-
|
|
5868
|
+
H(f, (e) => {
|
|
5869
5869
|
F.value = e;
|
|
5870
|
-
}),
|
|
5870
|
+
}), H(F, (e) => {
|
|
5871
5871
|
e !== f.value && (f.value = e);
|
|
5872
5872
|
}), O(Ga, F), O(qa, r(() => l.childrenDisplay === "popover"));
|
|
5873
5873
|
let ee = r(() => l.childrenDisplay === "inline" && !!l.enableCascadeSelection);
|
|
5874
5874
|
O(Ka, ee);
|
|
5875
|
-
let L = m(Ya, void 0), B = m(Qa, k(!1)), V = m(Xa, void 0),
|
|
5875
|
+
let L = m(Ya, void 0), B = m(Qa, k(!1)), V = m(Xa, void 0), te = m(Za, void 0), ne = r(() => l.singleSelect || l.config?.variant === "radio"), G = r(() => l.options.find((e) => e.id === p.value && e.children?.length)), ie = (e, t, n = !1, r = !0) => {
|
|
5876
5876
|
let i = !r || p.value !== e.id;
|
|
5877
5877
|
p.value = i ? e.id : void 0, i && (C.value = t, v(() => {
|
|
5878
|
-
T(), n &&
|
|
5878
|
+
T(), n && be(b.value ?? document.getElementById(h), 0);
|
|
5879
5879
|
}));
|
|
5880
|
-
},
|
|
5880
|
+
}, K = (e, t = !1) => {
|
|
5881
5881
|
if (l.readOnly) return;
|
|
5882
5882
|
let n = (!t && l.childrenDisplay === "popover" ? l.options.find((t) => t.id === e.option.id) : void 0) ?? e.option;
|
|
5883
5883
|
if (l.childrenDisplay === "popover" && !t && n.children?.length) {
|
|
5884
5884
|
let t = e.event.currentTarget?.closest("li");
|
|
5885
|
-
t &&
|
|
5885
|
+
t && ie(n, t);
|
|
5886
5886
|
return;
|
|
5887
5887
|
}
|
|
5888
5888
|
let r;
|
|
@@ -5897,20 +5897,20 @@ var Ma = {
|
|
|
5897
5897
|
let e = new Set(V.value);
|
|
5898
5898
|
a ? e.delete(n.id) : e.add(n.id), V.value = e;
|
|
5899
5899
|
}
|
|
5900
|
-
if (
|
|
5901
|
-
let e = new Map(
|
|
5902
|
-
e.delete(n.id),
|
|
5900
|
+
if (te?.value?.has(n.id)) {
|
|
5901
|
+
let e = new Map(te.value);
|
|
5902
|
+
e.delete(n.id), te.value = e;
|
|
5903
5903
|
}
|
|
5904
|
-
} else if (
|
|
5904
|
+
} else if (ne.value) r = F.value.length === 1 && F.value[0].id === n.id ? l.disableDeselect ? F.value : [] : [n];
|
|
5905
5905
|
else {
|
|
5906
5906
|
let e = F.value.findIndex((e) => e.id === n.id);
|
|
5907
|
-
if (r = e > -1 ? [...F.value.slice(0, e), ...F.value.slice(e + 1)] : [...F.value, n], ee.value && V?.value &&
|
|
5907
|
+
if (r = e > -1 ? [...F.value.slice(0, e), ...F.value.slice(e + 1)] : [...F.value, n], ee.value && V?.value && te?.value) {
|
|
5908
5908
|
let t = e > -1;
|
|
5909
5909
|
for (let e of V.value) {
|
|
5910
5910
|
let r = L?.value?.get(e)?.children ?? l.options.find((t) => t.id === e)?.children;
|
|
5911
5911
|
if (!r || !(Da(r).some((e) => e.id === n.id) || l.options.find((t) => t.id === e)?.children?.some((e) => e.id === n.id))) continue;
|
|
5912
|
-
let i = new Map(
|
|
5913
|
-
t ? a.add(n.id) : a.delete(n.id), a.size > 0 ? i.set(e, a) : i.delete(e),
|
|
5912
|
+
let i = new Map(te.value), a = new Set(i.get(e) ?? []);
|
|
5913
|
+
t ? a.add(n.id) : a.delete(n.id), a.size > 0 ? i.set(e, a) : i.delete(e), te.value = i;
|
|
5914
5914
|
break;
|
|
5915
5915
|
}
|
|
5916
5916
|
}
|
|
@@ -5919,23 +5919,23 @@ var Ma = {
|
|
|
5919
5919
|
...e,
|
|
5920
5920
|
option: n
|
|
5921
5921
|
} : e);
|
|
5922
|
-
},
|
|
5923
|
-
let t =
|
|
5922
|
+
}, ae = (e) => {
|
|
5923
|
+
let t = G.value;
|
|
5924
5924
|
if (!t) return;
|
|
5925
5925
|
let n = t.children?.find((t) => t.id === e.option.id) ?? e.option;
|
|
5926
|
-
|
|
5926
|
+
K({
|
|
5927
5927
|
...e,
|
|
5928
5928
|
option: n
|
|
5929
|
-
}, !0), p.value = void 0, v(() =>
|
|
5930
|
-
},
|
|
5929
|
+
}, !0), p.value = void 0, v(() => Se(t.id));
|
|
5930
|
+
}, se = r(() => new Set(F.value.map((e) => e.id))), q = (e) => {
|
|
5931
5931
|
for (let t of e) {
|
|
5932
|
-
if (
|
|
5933
|
-
let e = t.children?.length ?
|
|
5932
|
+
if (se.value.has(t.id)) return t;
|
|
5933
|
+
let e = t.children?.length ? q(t.children) : void 0;
|
|
5934
5934
|
if (e) return e;
|
|
5935
5935
|
}
|
|
5936
|
-
},
|
|
5936
|
+
}, ce = (e) => {
|
|
5937
5937
|
if (l.childrenDisplay !== "popover" || !e.children?.length) return e;
|
|
5938
|
-
let t =
|
|
5938
|
+
let t = q(e.children);
|
|
5939
5939
|
return {
|
|
5940
5940
|
...e,
|
|
5941
5941
|
children: void 0,
|
|
@@ -5943,54 +5943,54 @@ var Ma = {
|
|
|
5943
5943
|
subText: t?.text ?? e.subText,
|
|
5944
5944
|
totalChildCount: void 0
|
|
5945
5945
|
};
|
|
5946
|
-
},
|
|
5946
|
+
}, le = (e) => ({
|
|
5947
5947
|
...e,
|
|
5948
5948
|
children: void 0,
|
|
5949
5949
|
totalChildCount: void 0
|
|
5950
|
-
}),
|
|
5950
|
+
}), ue = (e) => l.childrenDisplay === "popover" ? e.config ?? l.config : l.config, J = (e) => se.value.has(e.id) || ee.value && V?.value?.has(e.id) || (ee.value || l.childrenDisplay === "popover") && e.children?.length && q(e.children) ? !0 : null, de = (e) => {
|
|
5951
5951
|
let t = e.config?.variant ?? l.config?.variant;
|
|
5952
|
-
return
|
|
5953
|
-
},
|
|
5954
|
-
let e = l.options.filter((e) => !l.readOnly && !e.disabled &&
|
|
5955
|
-
return l.hasMoreOptions && !l.isSeeMoreLoading && e.push(vo),
|
|
5956
|
-
}),
|
|
5957
|
-
let e =
|
|
5958
|
-
return e.some((e) => e.id ===
|
|
5959
|
-
}),
|
|
5952
|
+
return ne.value || t === "radio" ? "menuitemradio" : t === "checkbox" ? "menuitemcheckbox" : "menuitem";
|
|
5953
|
+
}, fe = (e) => de(e) === "menuitem" ? void 0 : !!J(e), Y = (e) => e.children?.length && !l.highlightParentItems ? null : de(e) !== "menuitemcheckbox" && J(e) || p.value === e.id ? !0 : null, pe = (e) => de(e) !== "menuitemcheckbox" && se.value.has(e.id) ? !0 : null, me = (e, t) => !!(!t || se.value.has(e.id) || V?.value?.has(e.id) || e.children?.length && q(e.children)), he = k(), ge = k(), _e = r(() => {
|
|
5954
|
+
let e = l.options.filter((e) => !l.readOnly && !e.disabled && me(e, l.isLoading)).map((e) => e.id);
|
|
5955
|
+
return l.hasMoreOptions && !l.isSeeMoreLoading && e.push(vo), he.value && e.includes(he.value) ? he.value : e[0];
|
|
5956
|
+
}), ve = r(() => {
|
|
5957
|
+
let e = G.value?.children?.filter((e) => !l.readOnly && !e.disabled) ?? [];
|
|
5958
|
+
return e.some((e) => e.id === ge.value) ? ge.value : e[0]?.id;
|
|
5959
|
+
}), ye = (e) => {
|
|
5960
5960
|
let t = Array.from(e?.querySelectorAll("li[role='none'] > [role^='menuitem']:not([aria-disabled='true'])") ?? []).filter((e) => !e.hidden && e.style.display !== "none");
|
|
5961
5961
|
return t.length ? t : Array.from(e?.querySelectorAll("button:not(:disabled), [href], input:not(:disabled), select:not(:disabled), textarea:not(:disabled), [tabindex]:not([tabindex='-1'])") ?? []).filter((e) => !e.hidden && e.style.display !== "none");
|
|
5962
|
-
},
|
|
5963
|
-
let n =
|
|
5962
|
+
}, be = (e, t) => {
|
|
5963
|
+
let n = ye(e);
|
|
5964
5964
|
n.length && n[(t + n.length) % n.length]?.focus();
|
|
5965
|
-
},
|
|
5966
|
-
let r =
|
|
5965
|
+
}, xe = (e, t, n) => {
|
|
5966
|
+
let r = ye(e), i = r.indexOf(t);
|
|
5967
5967
|
!r.length || i < 0 || r[(i + n + r.length) % r.length]?.focus();
|
|
5968
|
-
},
|
|
5969
|
-
|
|
5968
|
+
}, Se = (e) => {
|
|
5969
|
+
ye(g.value).find((t) => t.dataset.optionId === e)?.focus();
|
|
5970
5970
|
};
|
|
5971
|
-
|
|
5972
|
-
|
|
5971
|
+
H(p, (e) => {
|
|
5972
|
+
ge.value = void 0, e && v(() => {
|
|
5973
5973
|
let t = Array.from(g.value?.children ?? []).find((t) => t.dataset.optionId === e);
|
|
5974
5974
|
t && (C.value = t, T());
|
|
5975
5975
|
});
|
|
5976
5976
|
}, { immediate: !0 });
|
|
5977
|
-
let
|
|
5977
|
+
let Ce = (e, t) => {
|
|
5978
5978
|
switch (e.key) {
|
|
5979
|
-
case "ArrowDown": return e.preventDefault(),
|
|
5980
|
-
case "ArrowUp": return e.preventDefault(),
|
|
5981
|
-
case "Home": return e.preventDefault(),
|
|
5982
|
-
case "End": return e.preventDefault(),
|
|
5979
|
+
case "ArrowDown": return e.preventDefault(), xe(t, e.currentTarget, 1), !0;
|
|
5980
|
+
case "ArrowUp": return e.preventDefault(), xe(t, e.currentTarget, -1), !0;
|
|
5981
|
+
case "Home": return e.preventDefault(), be(t, 0), !0;
|
|
5982
|
+
case "End": return e.preventDefault(), be(t, -1), !0;
|
|
5983
5983
|
default: return !1;
|
|
5984
5984
|
}
|
|
5985
|
-
},
|
|
5986
|
-
if (!(e.target !== e.currentTarget ||
|
|
5985
|
+
}, we = (e, t) => {
|
|
5986
|
+
if (!(e.target !== e.currentTarget || Ce(e, g.value))) switch (e.key) {
|
|
5987
5987
|
case "ArrowRight":
|
|
5988
5988
|
if (!t.children?.length) break;
|
|
5989
|
-
e.preventDefault(),
|
|
5989
|
+
e.preventDefault(), ie(t, e.currentTarget, !0, !1);
|
|
5990
5990
|
break;
|
|
5991
5991
|
case "Enter":
|
|
5992
5992
|
case " ":
|
|
5993
|
-
e.preventDefault(), t.children?.length ?
|
|
5993
|
+
e.preventDefault(), t.children?.length ? ie(t, e.currentTarget, !0, !1) : K({
|
|
5994
5994
|
event: e,
|
|
5995
5995
|
option: t
|
|
5996
5996
|
});
|
|
@@ -6003,8 +6003,8 @@ var Ma = {
|
|
|
6003
6003
|
p.value = void 0;
|
|
6004
6004
|
break;
|
|
6005
6005
|
}
|
|
6006
|
-
},
|
|
6007
|
-
if (!
|
|
6006
|
+
}, Te = (e) => {
|
|
6007
|
+
if (!Ce(e, g.value)) switch (e.key) {
|
|
6008
6008
|
case "Enter":
|
|
6009
6009
|
case " ":
|
|
6010
6010
|
e.preventDefault(), d("see-more", { parentId: void 0 });
|
|
@@ -6014,18 +6014,18 @@ var Ma = {
|
|
|
6014
6014
|
E();
|
|
6015
6015
|
break;
|
|
6016
6016
|
}
|
|
6017
|
-
},
|
|
6018
|
-
if (!(e.target !== e.currentTarget ||
|
|
6017
|
+
}, Ee = (e, t) => {
|
|
6018
|
+
if (!(e.target !== e.currentTarget || Ce(e, b.value))) switch (e.key) {
|
|
6019
6019
|
case "ArrowLeft":
|
|
6020
6020
|
case "Escape": {
|
|
6021
6021
|
e.preventDefault(), e.key === "Escape" && e.stopPropagation();
|
|
6022
6022
|
let t = p.value;
|
|
6023
|
-
p.value = void 0, t && v(() =>
|
|
6023
|
+
p.value = void 0, t && v(() => Se(t));
|
|
6024
6024
|
break;
|
|
6025
6025
|
}
|
|
6026
6026
|
case "Enter":
|
|
6027
6027
|
case " ":
|
|
6028
|
-
e.preventDefault(),
|
|
6028
|
+
e.preventDefault(), ae({
|
|
6029
6029
|
event: e,
|
|
6030
6030
|
option: t
|
|
6031
6031
|
});
|
|
@@ -6040,31 +6040,31 @@ var Ma = {
|
|
|
6040
6040
|
ref: g,
|
|
6041
6041
|
role: e.childrenDisplay === "popover" ? "menu" : "list",
|
|
6042
6042
|
class: "pv-popover-list"
|
|
6043
|
-
}, r.$attrs), [(D(!0), o(t, null, A(e.options, (t) =>
|
|
6043
|
+
}, r.$attrs), [(D(!0), o(t, null, A(e.options, (t) => W((D(), o("li", {
|
|
6044
6044
|
key: t.id,
|
|
6045
|
-
"data-active":
|
|
6045
|
+
"data-active": Y(t),
|
|
6046
6046
|
"data-option-id": t.id,
|
|
6047
6047
|
"data-testid": e.itemTestId,
|
|
6048
6048
|
class: y(e.itemClass),
|
|
6049
6049
|
role: e.childrenDisplay === "popover" ? "none" : void 0
|
|
6050
|
-
}, [u(co, _({ ref_for: !0 },
|
|
6051
|
-
"aria-checked": e.childrenDisplay === "popover" ?
|
|
6050
|
+
}, [u(co, _({ ref_for: !0 }, ce(t), {
|
|
6051
|
+
"aria-checked": e.childrenDisplay === "popover" ? fe(t) : void 0,
|
|
6052
6052
|
"aria-controls": e.childrenDisplay === "popover" && t.children?.length ? I(h) : void 0,
|
|
6053
6053
|
"aria-disabled": e.childrenDisplay === "popover" && (l.readOnly || t.disabled) ? "true" : void 0,
|
|
6054
6054
|
"aria-expanded": e.childrenDisplay === "popover" && t.children?.length ? p.value === t.id : void 0,
|
|
6055
6055
|
"aria-haspopup": e.childrenDisplay === "popover" && t.children?.length ? t.popoverRole ?? "menu" : void 0,
|
|
6056
|
-
"data-active":
|
|
6056
|
+
"data-active": Y(t),
|
|
6057
6057
|
"data-dd-action-name": t.rumActionName,
|
|
6058
6058
|
"data-option-id": t.id,
|
|
6059
6059
|
disabled: l.readOnly || t.disabled,
|
|
6060
|
-
config:
|
|
6060
|
+
config: ue(t),
|
|
6061
6061
|
itemClass: e.itemClass,
|
|
6062
6062
|
queryText: e.queryText,
|
|
6063
|
-
role: e.childrenDisplay === "popover" ?
|
|
6064
|
-
tabindex: e.childrenDisplay === "popover" ?
|
|
6065
|
-
onFocus: (e) =>
|
|
6066
|
-
onKeydown: (n) => e.childrenDisplay === "popover" ?
|
|
6067
|
-
onHandleSelected:
|
|
6063
|
+
role: e.childrenDisplay === "popover" ? de(t) : void 0,
|
|
6064
|
+
tabindex: e.childrenDisplay === "popover" ? _e.value === t.id ? 0 : -1 : void 0,
|
|
6065
|
+
onFocus: (e) => he.value = t.id,
|
|
6066
|
+
onKeydown: (n) => e.childrenDisplay === "popover" ? we(n, t) : void 0,
|
|
6067
|
+
onHandleSelected: K,
|
|
6068
6068
|
onSeeMore: c[0] ||= (e) => d("see-more", e)
|
|
6069
6069
|
}), null, 16, [
|
|
6070
6070
|
"aria-checked",
|
|
@@ -6083,7 +6083,7 @@ var Ma = {
|
|
|
6083
6083
|
"tabindex",
|
|
6084
6084
|
"onFocus",
|
|
6085
6085
|
"onKeydown"
|
|
6086
|
-
])], 10, po)), [[
|
|
6086
|
+
])], 10, po)), [[re, me(t, e.isLoading)]])), 128)), e.hasMoreOptions ? (D(), o("li", {
|
|
6087
6087
|
key: 0,
|
|
6088
6088
|
role: e.childrenDisplay === "popover" ? "none" : void 0
|
|
6089
6089
|
}, [u(Mn, {
|
|
@@ -6093,17 +6093,17 @@ var Ma = {
|
|
|
6093
6093
|
loading: e.isSeeMoreLoading,
|
|
6094
6094
|
disabled: e.isSeeMoreLoading,
|
|
6095
6095
|
role: e.childrenDisplay === "popover" ? "menuitem" : void 0,
|
|
6096
|
-
tabindex: e.childrenDisplay === "popover" ?
|
|
6096
|
+
tabindex: e.childrenDisplay === "popover" ? _e.value === vo ? 0 : -1 : void 0,
|
|
6097
6097
|
"data-testid": "pv-menu-see-more",
|
|
6098
|
-
onFocus: c[1] ||= (e) =>
|
|
6099
|
-
onKeydown: c[2] ||= (t) => e.childrenDisplay === "popover" ?
|
|
6098
|
+
onFocus: c[1] ||= (e) => he.value = vo,
|
|
6099
|
+
onKeydown: c[2] ||= (t) => e.childrenDisplay === "popover" ? Te(t) : void 0,
|
|
6100
6100
|
onClick: c[3] ||= (e) => d("see-more", { parentId: void 0 })
|
|
6101
6101
|
}, null, 8, [
|
|
6102
6102
|
"loading",
|
|
6103
6103
|
"disabled",
|
|
6104
6104
|
"role",
|
|
6105
6105
|
"tabindex"
|
|
6106
|
-
])], 8, mo)) : a("", !0)], 16, fo), e.childrenDisplay === "popover" &&
|
|
6106
|
+
])], 8, mo)) : a("", !0)], 16, fo), e.childrenDisplay === "popover" && G.value ? (D(), i(n, {
|
|
6107
6107
|
key: 0,
|
|
6108
6108
|
to: "body"
|
|
6109
6109
|
}, [s("div", {
|
|
@@ -6117,38 +6117,38 @@ var Ma = {
|
|
|
6117
6117
|
width: "max-content",
|
|
6118
6118
|
maxWidth: "calc(100vw - 16px)"
|
|
6119
6119
|
} }, {
|
|
6120
|
-
default:
|
|
6121
|
-
option:
|
|
6120
|
+
default: U(() => [j(r.$slots, "popover", {
|
|
6121
|
+
option: G.value,
|
|
6122
6122
|
popoverId: I(h),
|
|
6123
6123
|
close: M
|
|
6124
6124
|
}, () => [s("ul", {
|
|
6125
6125
|
id: I(h),
|
|
6126
6126
|
ref_key: "nestedMenuRef",
|
|
6127
6127
|
ref: b,
|
|
6128
|
-
"aria-label": `${
|
|
6128
|
+
"aria-label": `${G.value.text} options`,
|
|
6129
6129
|
class: "pv-popover-list",
|
|
6130
6130
|
role: "menu"
|
|
6131
|
-
}, [(D(!0), o(t, null, A(
|
|
6131
|
+
}, [(D(!0), o(t, null, A(G.value.children, (t) => (D(), o("li", {
|
|
6132
6132
|
key: t.id,
|
|
6133
|
-
"data-active":
|
|
6133
|
+
"data-active": pe(t),
|
|
6134
6134
|
"data-option-id": t.id,
|
|
6135
6135
|
class: y(e.itemClass),
|
|
6136
6136
|
role: "none"
|
|
6137
|
-
}, [u(co, _({ ref_for: !0 },
|
|
6138
|
-
"aria-checked":
|
|
6137
|
+
}, [u(co, _({ ref_for: !0 }, le(t), {
|
|
6138
|
+
"aria-checked": fe(t),
|
|
6139
6139
|
"aria-disabled": l.readOnly || t.disabled ? "true" : void 0,
|
|
6140
|
-
"data-active":
|
|
6140
|
+
"data-active": pe(t),
|
|
6141
6141
|
"data-dd-action-name": t.rumActionName,
|
|
6142
6142
|
"data-option-id": t.id,
|
|
6143
6143
|
disabled: l.readOnly || t.disabled,
|
|
6144
|
-
config:
|
|
6144
|
+
config: ue(t),
|
|
6145
6145
|
itemClass: e.itemClass,
|
|
6146
6146
|
queryText: e.queryText,
|
|
6147
|
-
role:
|
|
6148
|
-
tabindex:
|
|
6149
|
-
onFocus: (e) =>
|
|
6150
|
-
onKeydown: (e) =>
|
|
6151
|
-
onHandleSelected:
|
|
6147
|
+
role: de(t),
|
|
6148
|
+
tabindex: ve.value === t.id ? 0 : -1,
|
|
6149
|
+
onFocus: (e) => ge.value = t.id,
|
|
6150
|
+
onKeydown: (e) => Ee(e, t),
|
|
6151
|
+
onHandleSelected: ae,
|
|
6152
6152
|
onSeeMore: c[4] ||= (e) => d("see-more", e)
|
|
6153
6153
|
}), null, 16, [
|
|
6154
6154
|
"aria-checked",
|
|
@@ -6228,8 +6228,8 @@ var Ma = {
|
|
|
6228
6228
|
action: n.optionsAction,
|
|
6229
6229
|
variant: n.optionsVariant,
|
|
6230
6230
|
counterBadgeVariant: n.counterBadgeVariant
|
|
6231
|
-
})), d = t, [f] =
|
|
6232
|
-
|
|
6231
|
+
})), d = t, [f] = de(n.defaultOpen), p = z(e, "modelValue"), m = z(e, "searchInput");
|
|
6232
|
+
H(f, (e) => {
|
|
6233
6233
|
d(e ? "dropdown-open" : "dropdown-closed");
|
|
6234
6234
|
});
|
|
6235
6235
|
let g = r(() => p.value && p.value.text ? p.value.text : n.label), v = r(() => {
|
|
@@ -6264,13 +6264,13 @@ var Ma = {
|
|
|
6264
6264
|
}, E = () => {
|
|
6265
6265
|
f.value = !1, m.value = "";
|
|
6266
6266
|
};
|
|
6267
|
-
return
|
|
6267
|
+
return se("Escape", () => {
|
|
6268
6268
|
f.value && E();
|
|
6269
6269
|
}), (t, n) => (D(), i(Li, _({
|
|
6270
6270
|
modelValue: I(f),
|
|
6271
6271
|
"onUpdate:modelValue": n[2] ||= (e) => h(f) ? f.value = e : null
|
|
6272
6272
|
}, c.value), {
|
|
6273
|
-
trigger:
|
|
6273
|
+
trigger: U(() => [u(xa, {
|
|
6274
6274
|
class: "pv-full-width",
|
|
6275
6275
|
ref: "select-button-trigger-ref",
|
|
6276
6276
|
variant: e.variant,
|
|
@@ -6314,7 +6314,7 @@ var Ma = {
|
|
|
6314
6314
|
"renderer",
|
|
6315
6315
|
"selectedOption"
|
|
6316
6316
|
])]),
|
|
6317
|
-
content:
|
|
6317
|
+
content: U(() => [s("div", {
|
|
6318
6318
|
class: "pv-popover",
|
|
6319
6319
|
"data-test-id": "pv-popover",
|
|
6320
6320
|
style: x([e.popoverCssProperties, { position: "unset" }])
|
|
@@ -6366,9 +6366,9 @@ var Ma = {
|
|
|
6366
6366
|
id: e
|
|
6367
6367
|
}));
|
|
6368
6368
|
});
|
|
6369
|
-
return
|
|
6369
|
+
return H(n, (e) => {
|
|
6370
6370
|
e === t.value || e?.id === t.value || (t.value = e?.id);
|
|
6371
|
-
}),
|
|
6371
|
+
}), H(t, (e) => {
|
|
6372
6372
|
e === n.value || e === n.value?.id || (n.value = o.value.find((t) => t.id === e));
|
|
6373
6373
|
}), (e, t) => (D(), i(xo, {
|
|
6374
6374
|
style: { width: "125px" },
|
|
@@ -6426,7 +6426,7 @@ var Ma = {
|
|
|
6426
6426
|
emits: /* @__PURE__ */ g(["region-selection-changed"], ["update:chartData", "update:selectedRegion"]),
|
|
6427
6427
|
setup(e, { emit: n }) {
|
|
6428
6428
|
let s = e, c = z(e, "chartData"), l = z(e, "selectedRegion"), d = n, { getTopologyObject: f, buildMapData: p } = Qi(), m = r(() => f(s.mapType)), h = r(() => p(c.value, s.mapType, s.seriesKey, s.gradientLegendMin, s.gradientLegendMax)), g = r(() => h.value.filter((e) => e[s.mapType] !== "_FeatureMin" && e[s.mapType] !== "_FeatureMax").map((e) => e[s.mapType]));
|
|
6429
|
-
|
|
6429
|
+
H(l, (e) => {
|
|
6430
6430
|
d("region-selection-changed", { region: e });
|
|
6431
6431
|
});
|
|
6432
6432
|
let _ = r(() => (l.value, {
|
|
@@ -7098,28 +7098,28 @@ var Ma = {
|
|
|
7098
7098
|
}), ee = r(() => !!n.chartOptions || _.value.length > 0 || b.value.length > 0), I = r(() => p.value === Ao), L = r(() => p.value === "map" && P.value), R = k(), B = r(() => b.value.map((e) => ({
|
|
7099
7099
|
field: e.field,
|
|
7100
7100
|
label: ys(e, e.field)
|
|
7101
|
-
}))), V = r(() => v.value.map((e) => b.value.map((t) => Ss(e, t.field)))),
|
|
7101
|
+
}))), V = r(() => v.value.map((e) => b.value.map((t) => Ss(e, t.field)))), te = r(() => n.showTableBelowChart && !I.value && b.value.length > 0), ne = r(() => rn(n) || !!(n.enableTableScrolling && n.tableMaxHeight)), re = r(() => nn(n)), H = r(() => {
|
|
7102
7102
|
if (!n.enableTableScrolling) return;
|
|
7103
7103
|
let e = {
|
|
7104
7104
|
overflowX: "auto",
|
|
7105
7105
|
overflowY: "auto"
|
|
7106
7106
|
}, t = tn(n.tableMaxHeight);
|
|
7107
7107
|
return t && (e.maxHeight = t), e;
|
|
7108
|
-
}),
|
|
7108
|
+
}), W = r(() => ws({
|
|
7109
7109
|
dataRows: v.value,
|
|
7110
7110
|
categoryColumn: T.value,
|
|
7111
7111
|
seriesColumn: E.value,
|
|
7112
7112
|
stackColumn: M.value
|
|
7113
|
-
})),
|
|
7113
|
+
})), G = r(() => Ts({
|
|
7114
7114
|
dataRows: v.value,
|
|
7115
7115
|
categoryColumn: T.value,
|
|
7116
7116
|
seriesColumn: E.value
|
|
7117
|
-
})),
|
|
7117
|
+
})), ie = r(() => Es({
|
|
7118
7118
|
dataRows: v.value,
|
|
7119
7119
|
mapColumn: N.value,
|
|
7120
7120
|
seriesColumn: E.value
|
|
7121
|
-
})),
|
|
7122
|
-
aggregatedCategoryChartData:
|
|
7121
|
+
})), K = r(() => Ds(ie.value, E.value?.field)), ae = r(() => Os(E.value)), oe = r(() => ks({
|
|
7122
|
+
aggregatedCategoryChartData: G.value,
|
|
7123
7123
|
categoryColumn: T.value,
|
|
7124
7124
|
dataLimit: n.dataLimit,
|
|
7125
7125
|
displayDataRows: v.value,
|
|
@@ -7135,29 +7135,29 @@ var Ma = {
|
|
|
7135
7135
|
seriesColumn: E.value,
|
|
7136
7136
|
showSeriesLabels: n.showSeriesLabels,
|
|
7137
7137
|
stackColumn: M.value,
|
|
7138
|
-
stackedChartData:
|
|
7138
|
+
stackedChartData: W.value,
|
|
7139
7139
|
useDisplayDataRows: n.chartData !== void 0,
|
|
7140
7140
|
xKey: n.xKey,
|
|
7141
7141
|
yKey: n.yKey
|
|
7142
|
-
})),
|
|
7142
|
+
})), se = r(() => pn(oe.value)), q = r(() => mn(oe.value)), ce = r(() => an({
|
|
7143
7143
|
baseMinHeight: n.minHeight,
|
|
7144
|
-
dataCount:
|
|
7144
|
+
dataCount: se.value,
|
|
7145
7145
|
enableChartScrolling: n.enableChartScrolling,
|
|
7146
|
-
isHorizontalScrollingChart:
|
|
7147
|
-
})),
|
|
7148
|
-
if (!(!n.enableChartScrolling || !
|
|
7149
|
-
}),
|
|
7150
|
-
chartMinHeight:
|
|
7151
|
-
dataCount:
|
|
7146
|
+
isHorizontalScrollingChart: q.value
|
|
7147
|
+
})), le = r(() => {
|
|
7148
|
+
if (!(!n.enableChartScrolling || !q.value)) return { maxHeight: `${n.minHeight}px` };
|
|
7149
|
+
}), ue = r(() => on({
|
|
7150
|
+
chartMinHeight: ce.value,
|
|
7151
|
+
dataCount: se.value,
|
|
7152
7152
|
enableChartScrolling: n.enableChartScrolling,
|
|
7153
|
-
isHorizontalScrollingChart:
|
|
7153
|
+
isHorizontalScrollingChart: q.value,
|
|
7154
7154
|
minContentWidth: 320
|
|
7155
7155
|
}));
|
|
7156
7156
|
return (n, r) => (D(), i(bn, {
|
|
7157
|
-
class: y(["pv-data-widget pv-inset-square-16", { "pv-data-widget--constrained":
|
|
7158
|
-
style: x(
|
|
7157
|
+
class: y(["pv-data-widget pv-inset-square-16", { "pv-data-widget--constrained": ne.value }]),
|
|
7158
|
+
style: x(re.value)
|
|
7159
7159
|
}, {
|
|
7160
|
-
default:
|
|
7160
|
+
default: U(() => [
|
|
7161
7161
|
h.value ? (D(), o("div", As, [s("div", null, [e.title ? (D(), o("span", js, F(e.title), 1)) : a("", !0)]), s("div", null, [m.value ? (D(), i(Bi, {
|
|
7162
7162
|
key: 0,
|
|
7163
7163
|
modelValue: p.value,
|
|
@@ -7169,7 +7169,7 @@ var Ma = {
|
|
|
7169
7169
|
s("div", Ns, [j(n.$slots, "default", {}, void 0, !0), ee.value ? (D(), o(t, { key: 0 }, [I.value ? (D(), o("div", {
|
|
7170
7170
|
key: 0,
|
|
7171
7171
|
class: y(["pv-data-widget__table-container", { "pv-scroll": e.enableTableScrolling }]),
|
|
7172
|
-
style: x(
|
|
7172
|
+
style: x(H.value)
|
|
7173
7173
|
}, [u(Eo, {
|
|
7174
7174
|
headers: B.value,
|
|
7175
7175
|
rows: V.value
|
|
@@ -7179,14 +7179,14 @@ var Ma = {
|
|
|
7179
7179
|
}, [u(wo, {
|
|
7180
7180
|
selectedRegion: R.value,
|
|
7181
7181
|
"onUpdate:selectedRegion": r[1] ||= (e) => R.value = e,
|
|
7182
|
-
chartData:
|
|
7182
|
+
chartData: ie.value,
|
|
7183
7183
|
displayRegionSelector: !1,
|
|
7184
|
-
gradientLegendMin:
|
|
7185
|
-
gradientLegendMax:
|
|
7184
|
+
gradientLegendMin: K.value.min,
|
|
7185
|
+
gradientLegendMax: K.value.max,
|
|
7186
7186
|
isLoading: e.chartLoading,
|
|
7187
7187
|
noDataMessage: e.noDataOverlayText,
|
|
7188
7188
|
seriesKey: E.value?.field ?? "value",
|
|
7189
|
-
seriesValueFormatter:
|
|
7189
|
+
seriesValueFormatter: ae.value
|
|
7190
7190
|
}, null, 8, [
|
|
7191
7191
|
"selectedRegion",
|
|
7192
7192
|
"chartData",
|
|
@@ -7199,22 +7199,22 @@ var Ma = {
|
|
|
7199
7199
|
])], 4)) : (D(), o("div", {
|
|
7200
7200
|
key: 2,
|
|
7201
7201
|
class: y(["pv-data-widget__chart-scroll", { "pv-data-widget__chart-scroll--enabled pv-scroll": e.enableChartScrolling }]),
|
|
7202
|
-
style: x(
|
|
7202
|
+
style: x(le.value)
|
|
7203
7203
|
}, [s("div", {
|
|
7204
7204
|
class: "pv-data-widget__chart-content",
|
|
7205
|
-
style: x(
|
|
7205
|
+
style: x(ue.value)
|
|
7206
7206
|
}, [u($t, {
|
|
7207
|
-
options:
|
|
7207
|
+
options: oe.value,
|
|
7208
7208
|
isLoading: e.chartLoading,
|
|
7209
|
-
minHeight:
|
|
7209
|
+
minHeight: ce.value
|
|
7210
7210
|
}, null, 8, [
|
|
7211
7211
|
"options",
|
|
7212
7212
|
"isLoading",
|
|
7213
7213
|
"minHeight"
|
|
7214
|
-
])], 4)], 6)),
|
|
7214
|
+
])], 4)], 6)), te.value ? (D(), o("div", {
|
|
7215
7215
|
key: 3,
|
|
7216
7216
|
class: y(["pv-data-widget__below-table pv-data-widget__table-container", { "pv-scroll": e.enableTableScrolling }]),
|
|
7217
|
-
style: x(
|
|
7217
|
+
style: x(H.value)
|
|
7218
7218
|
}, [u(Eo, {
|
|
7219
7219
|
headers: B.value,
|
|
7220
7220
|
rows: V.value
|
|
@@ -7278,7 +7278,7 @@ var Ma = {
|
|
|
7278
7278
|
}, E = (e) => {
|
|
7279
7279
|
p.value && (e.stopPropagation(), p.value = !1, h.value?.focus());
|
|
7280
7280
|
};
|
|
7281
|
-
t({ closeDropdown: T }),
|
|
7281
|
+
t({ closeDropdown: T }), H(p, (e) => {
|
|
7282
7282
|
e ? v(() => {
|
|
7283
7283
|
S(), f("dropdown-open");
|
|
7284
7284
|
}) : f("dropdown-closed");
|
|
@@ -7290,10 +7290,10 @@ var Ma = {
|
|
|
7290
7290
|
zIndex: 10,
|
|
7291
7291
|
...d.popoverCssProperties
|
|
7292
7292
|
} : d.popoverCssProperties);
|
|
7293
|
-
return (t, r) =>
|
|
7293
|
+
return (t, r) => W((D(), o("div", {
|
|
7294
7294
|
class: "pv-relative",
|
|
7295
7295
|
style: { width: "fit-content" },
|
|
7296
|
-
onKeydown:
|
|
7296
|
+
onKeydown: G(E, ["esc"])
|
|
7297
7297
|
}, [s("button", {
|
|
7298
7298
|
ref_key: "triggerRef",
|
|
7299
7299
|
ref: h,
|
|
@@ -7326,7 +7326,7 @@ var Ma = {
|
|
|
7326
7326
|
isSortable: e.isSortable,
|
|
7327
7327
|
onListOrderUpdated: r[0] ||= (e) => t.$emit("list-order-updated", e)
|
|
7328
7328
|
}, {
|
|
7329
|
-
default:
|
|
7329
|
+
default: U(() => [j(t.$slots, "default", {}, () => [e.isLoading ? (D(), o("span", Is, "Loading...")) : a("", !0)], !0)]),
|
|
7330
7330
|
_: 3
|
|
7331
7331
|
}, 8, [
|
|
7332
7332
|
"id",
|
|
@@ -7397,7 +7397,7 @@ var Ma = {
|
|
|
7397
7397
|
size: 12,
|
|
7398
7398
|
name: "close",
|
|
7399
7399
|
"data-dd-action-name": e.rumRemoveActionName,
|
|
7400
|
-
onClick: r[0] ||=
|
|
7400
|
+
onClick: r[0] ||= ie((n) => t.$emit("handle-close", e.label), ["stop"])
|
|
7401
7401
|
}, null, 8, ["data-dd-action-name"])) : a("", !0)
|
|
7402
7402
|
], 14, Rs));
|
|
7403
7403
|
}
|
|
@@ -7436,7 +7436,7 @@ var Ma = {
|
|
|
7436
7436
|
emits: ["update:modelValue"],
|
|
7437
7437
|
setup(e) {
|
|
7438
7438
|
let t = e, n = V("dialog"), r = z(e, "modelValue");
|
|
7439
|
-
|
|
7439
|
+
H(() => r.value, () => {
|
|
7440
7440
|
r.value ? n.value?.showModal() : n.value?.close();
|
|
7441
7441
|
});
|
|
7442
7442
|
let i = () => {
|
|
@@ -7554,15 +7554,15 @@ var Xs = {
|
|
|
7554
7554
|
let r = e, i = n, c = V("sidePanel"), l = z(e, "searchInput"), d = z(e, "modelValue"), f = () => {
|
|
7555
7555
|
c?.value?.removeAttribute("open"), d.value = !1;
|
|
7556
7556
|
}, p = () => {
|
|
7557
|
-
c.value &&
|
|
7557
|
+
c.value && oe(c.value, () => {
|
|
7558
7558
|
d.value && (i("click-outside"), f());
|
|
7559
7559
|
}, { ignore: [".pv-click-outside-ignore"] });
|
|
7560
7560
|
};
|
|
7561
7561
|
return T(() => {
|
|
7562
7562
|
d.value && c?.value?.setAttribute("open", "true"), r.closeOnClickOutside && p();
|
|
7563
|
-
}),
|
|
7563
|
+
}), H(() => d.value, () => {
|
|
7564
7564
|
d.value ? c?.value?.setAttribute("open", "true") : c?.value?.removeAttribute("open");
|
|
7565
|
-
}),
|
|
7565
|
+
}), se("Escape", () => {
|
|
7566
7566
|
c.value && d.value && f();
|
|
7567
7567
|
}), (n, i) => (D(), o("div", {
|
|
7568
7568
|
class: "pv-drawer pv-surface",
|
|
@@ -7779,7 +7779,7 @@ var Xs = {
|
|
|
7779
7779
|
state: "deselected"
|
|
7780
7780
|
}))), t.push(r);
|
|
7781
7781
|
}
|
|
7782
|
-
for (let n of
|
|
7782
|
+
for (let n of W.value) e.has(n.id) || t.push({
|
|
7783
7783
|
id: n.id,
|
|
7784
7784
|
state: "selected"
|
|
7785
7785
|
});
|
|
@@ -7787,18 +7787,18 @@ var Xs = {
|
|
|
7787
7787
|
}, C = r(() => c.hasMoreOptions == null ? c.totalOptionCount == null ? !1 : c.totalOptionCount > c.options.length : c.hasMoreOptions), w = r(() => {
|
|
7788
7788
|
let e = c.additionalCounter ?? 0;
|
|
7789
7789
|
if (c.enableCascadeSelection && c.countSelectedParents && L.value?.length) return Aa(L.value) + e;
|
|
7790
|
-
if (!c.countSelectedParents || !c.enableCascadeSelection) return
|
|
7791
|
-
let t = new Set(
|
|
7790
|
+
if (!c.countSelectedParents || !c.enableCascadeSelection) return W.value.length + e;
|
|
7791
|
+
let t = new Set(W.value.map((e) => e.id));
|
|
7792
7792
|
return ka(c.options, t) + e;
|
|
7793
|
-
}), T = r(() =>
|
|
7793
|
+
}), T = r(() => W.value.length > 0 ? !0 : c.enableCascadeSelection && L.value?.length ? L.value.some((e) => e.state === "selected") : !1), E = (e) => {
|
|
7794
7794
|
g("see-more", e ?? {});
|
|
7795
|
-
}, k = V("searchInputRef"), [M, N] =
|
|
7796
|
-
|
|
7797
|
-
}, te = () => {
|
|
7798
|
-
B.value && (ee.value = G.value, L.value = S());
|
|
7795
|
+
}, k = V("searchInputRef"), [M, N] = de(c.defaultOpen), ee = z(e, "modelValue"), L = z(e, "selectionState"), R = z(e, "searchInput"), B = r(() => c.menuActionsVariant === "cancel-confirm"), te = (e) => {
|
|
7796
|
+
W.value = e, B.value || (ee.value = e, L.value = S());
|
|
7799
7797
|
}, ne = () => {
|
|
7800
|
-
B.value && (
|
|
7801
|
-
},
|
|
7798
|
+
B.value && (ee.value = W.value, L.value = S());
|
|
7799
|
+
}, re = () => {
|
|
7800
|
+
B.value && (W.value = ee.value);
|
|
7801
|
+
}, W = P(ee.value), G = (e) => d.value.get(e), ie = (e) => {
|
|
7802
7802
|
if (!c.enableCascadeSelection || !e) return;
|
|
7803
7803
|
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Map(), r = [], i = /* @__PURE__ */ new Set(), a = (e, t) => {
|
|
7804
7804
|
i.has(t) || (i.add(t), r.push(e ?? {
|
|
@@ -7814,56 +7814,56 @@ var Xs = {
|
|
|
7814
7814
|
for (let t of i) e.has(t.id) || a(t, t.id);
|
|
7815
7815
|
continue;
|
|
7816
7816
|
}
|
|
7817
|
-
a(
|
|
7817
|
+
a(G(r.id), r.id);
|
|
7818
7818
|
}
|
|
7819
|
-
f.value = t, m.value = n,
|
|
7820
|
-
},
|
|
7821
|
-
get: () =>
|
|
7819
|
+
f.value = t, m.value = n, W.value = r;
|
|
7820
|
+
}, K = r({
|
|
7821
|
+
get: () => W.value,
|
|
7822
7822
|
set: (e) => {
|
|
7823
|
-
|
|
7823
|
+
te(e);
|
|
7824
7824
|
}
|
|
7825
|
-
}),
|
|
7825
|
+
}), ae = () => {
|
|
7826
7826
|
R.value = "", M.value = !1;
|
|
7827
|
-
},
|
|
7827
|
+
}, oe = r(() => {
|
|
7828
7828
|
let e = c.size === "lg" ? 24 : 30;
|
|
7829
7829
|
return c.overlayTrigger ? -e : void 0;
|
|
7830
7830
|
});
|
|
7831
|
-
|
|
7831
|
+
H(() => ee.value, (e) => {
|
|
7832
7832
|
if (c.enableCascadeSelection && L.value?.length && e.length === 0) {
|
|
7833
|
-
|
|
7833
|
+
ie(L.value);
|
|
7834
7834
|
return;
|
|
7835
7835
|
}
|
|
7836
|
-
|
|
7837
|
-
}),
|
|
7838
|
-
|
|
7836
|
+
W.value = e;
|
|
7837
|
+
}), H(() => [L.value, c.options], () => {
|
|
7838
|
+
ie(L.value);
|
|
7839
7839
|
}, {
|
|
7840
7840
|
deep: !0,
|
|
7841
7841
|
immediate: !0
|
|
7842
|
-
}),
|
|
7843
|
-
e ? (
|
|
7842
|
+
}), H(M, (e) => {
|
|
7843
|
+
e ? (re(), v(() => {
|
|
7844
7844
|
c.overlayTrigger && !c.disableSearchInput && k.value?.input?.focus(), g("dropdown-open");
|
|
7845
|
-
})) : (
|
|
7845
|
+
})) : (re(), g("dropdown-closed"));
|
|
7846
7846
|
});
|
|
7847
|
-
let
|
|
7847
|
+
let q = r(() => {
|
|
7848
7848
|
if (R.value === "") return c.options;
|
|
7849
7849
|
let e = R.value.toLocaleLowerCase();
|
|
7850
7850
|
return c.enableCascadeSelection ? ja(c.options, e, !c.hideParentOnChildQueryMatch) : c.options.filter((t) => t.text.toLocaleLowerCase().includes(e) || t.searchText?.toLocaleLowerCase().includes(e));
|
|
7851
|
-
}),
|
|
7851
|
+
}), ce = () => {
|
|
7852
7852
|
if (c.enableCascadeSelection) {
|
|
7853
7853
|
let e = /* @__PURE__ */ new Set(), t = (n) => {
|
|
7854
7854
|
for (let r of n) Ea(r) && (e.add(r.id), r.children?.length && t(r.children));
|
|
7855
7855
|
};
|
|
7856
|
-
t(
|
|
7856
|
+
t(q.value), f.value = e, m.value = /* @__PURE__ */ new Map();
|
|
7857
7857
|
}
|
|
7858
|
-
let e = c.enableCascadeSelection ? Da(
|
|
7859
|
-
g("select-all", e.length),
|
|
7860
|
-
}, ce = () => {
|
|
7861
|
-
g("clear-all", G.value.length), f.value = /* @__PURE__ */ new Set(), m.value = /* @__PURE__ */ new Map(), H([]);
|
|
7858
|
+
let e = c.enableCascadeSelection ? Da(q.value) : q.value;
|
|
7859
|
+
g("select-all", e.length), te(e);
|
|
7862
7860
|
}, le = () => {
|
|
7863
|
-
|
|
7864
|
-
},
|
|
7865
|
-
|
|
7866
|
-
},
|
|
7861
|
+
g("clear-all", W.value.length), f.value = /* @__PURE__ */ new Set(), m.value = /* @__PURE__ */ new Map(), te([]);
|
|
7862
|
+
}, ue = () => {
|
|
7863
|
+
re(), ae();
|
|
7864
|
+
}, J = () => {
|
|
7865
|
+
ne(), ae();
|
|
7866
|
+
}, fe = r(() => {
|
|
7867
7867
|
if (!c.groupings) return;
|
|
7868
7868
|
let e = /* @__PURE__ */ new Map();
|
|
7869
7869
|
c.groupings.forEach((t) => {
|
|
@@ -7875,24 +7875,24 @@ var Xs = {
|
|
|
7875
7875
|
}
|
|
7876
7876
|
for (let [t, n] of e) n.length === 0 && e.delete(t);
|
|
7877
7877
|
return Array.from(e.entries());
|
|
7878
|
-
}),
|
|
7878
|
+
}), Y = r(() => c.groupings && R.value === ""), pe = r(() => ({
|
|
7879
7879
|
...c,
|
|
7880
7880
|
selectedItems: ee.value,
|
|
7881
7881
|
searchInput: R.value,
|
|
7882
7882
|
slotContext: c.slotContext,
|
|
7883
7883
|
isOpen: M.value,
|
|
7884
7884
|
isLoading: c.isLoading
|
|
7885
|
-
})),
|
|
7886
|
-
let e =
|
|
7885
|
+
})), me = r(() => c.rumActionName ? c.rumActionName : c.rumFilterName ? `Open ${c.rumFilterName} filter` : void 0), he = r(() => c.rumFilterName ? `Search ${c.rumFilterName} options` : void 0), ge = V("popoverContentRef"), _e = r(() => {
|
|
7886
|
+
let e = ge.value?.getRootNode();
|
|
7887
7887
|
return e instanceof ShadowRoot ? e.host : null;
|
|
7888
|
-
}), { present:
|
|
7889
|
-
return
|
|
7890
|
-
M.value &&
|
|
7888
|
+
}), { present: ve } = Pi("header", { host: _e }), { present: ye } = Pi("no-results", { host: _e }), { present: be } = Pi("footer", { host: _e });
|
|
7889
|
+
return se("Escape", () => {
|
|
7890
|
+
M.value && ae();
|
|
7891
7891
|
}), (n, r) => (D(), i(Li, _({
|
|
7892
7892
|
modelValue: I(M),
|
|
7893
7893
|
"onUpdate:modelValue": r[4] ||= (e) => h(M) ? M.value = e : null
|
|
7894
|
-
}, e.popoverProperties, { offset:
|
|
7895
|
-
trigger:
|
|
7894
|
+
}, e.popoverProperties, { offset: oe.value }), {
|
|
7895
|
+
trigger: U(() => [u(xa, {
|
|
7896
7896
|
ref: "select-button-trigger-ref",
|
|
7897
7897
|
variant: e.variant,
|
|
7898
7898
|
size: e.size,
|
|
@@ -7907,9 +7907,9 @@ var Xs = {
|
|
|
7907
7907
|
open: I(M),
|
|
7908
7908
|
"counter-value": w.value,
|
|
7909
7909
|
"counter-style": e.counterStyle,
|
|
7910
|
-
"selected-items":
|
|
7911
|
-
"data-dd-action-name":
|
|
7912
|
-
onHandleClear:
|
|
7910
|
+
"selected-items": W.value,
|
|
7911
|
+
"data-dd-action-name": me.value,
|
|
7912
|
+
onHandleClear: le,
|
|
7913
7913
|
onHandleToggleDropdown: r[0] ||= (e) => I(N)()
|
|
7914
7914
|
}, null, 8, [
|
|
7915
7915
|
"variant",
|
|
@@ -7928,9 +7928,9 @@ var Xs = {
|
|
|
7928
7928
|
"selected-items",
|
|
7929
7929
|
"data-dd-action-name"
|
|
7930
7930
|
])]),
|
|
7931
|
-
content:
|
|
7931
|
+
content: U(() => [s("div", {
|
|
7932
7932
|
ref_key: "popoverContentRef",
|
|
7933
|
-
ref:
|
|
7933
|
+
ref: ge,
|
|
7934
7934
|
class: "pv-popover",
|
|
7935
7935
|
"data-test-id": "pv-popover",
|
|
7936
7936
|
style: x({
|
|
@@ -7941,7 +7941,7 @@ var Xs = {
|
|
|
7941
7941
|
e.disableSearchInput ? a("", !0) : (D(), o("div", {
|
|
7942
7942
|
key: 0,
|
|
7943
7943
|
class: "pv-inset-square-8 pv-border-bottom",
|
|
7944
|
-
"data-dd-action-name":
|
|
7944
|
+
"data-dd-action-name": he.value
|
|
7945
7945
|
}, [u(sa, {
|
|
7946
7946
|
ref: "searchInputRef",
|
|
7947
7947
|
"model-value": R.value,
|
|
@@ -7949,12 +7949,12 @@ var Xs = {
|
|
|
7949
7949
|
class: "pv-stack-4",
|
|
7950
7950
|
placeholder: e.searchPlaceholder
|
|
7951
7951
|
}, null, 8, ["model-value", "placeholder"])], 8, sc)),
|
|
7952
|
-
n.$slots.header || I(
|
|
7953
|
-
|
|
7952
|
+
n.$slots.header || I(ve) ? (D(), o("div", cc, [j(n.$slots, "header", b(p(pe.value)))])) : a("", !0),
|
|
7953
|
+
q.value.length > 0 ? (D(), o(t, { key: 2 }, [Y.value ? (D(!0), o(t, { key: 0 }, A(fe.value, ([t, i], s) => (D(), o("div", { key: t }, [
|
|
7954
7954
|
n.$slots[t] ? j(n.$slots, t, { key: 0 }) : t === "other" ? a("", !0) : (D(), o("span", lc, F(t), 1)),
|
|
7955
7955
|
u(yo, {
|
|
7956
|
-
selectedItems:
|
|
7957
|
-
"onUpdate:selectedItems": r[2] ||= (e) =>
|
|
7956
|
+
selectedItems: K.value,
|
|
7957
|
+
"onUpdate:selectedItems": r[2] ||= (e) => K.value = e,
|
|
7958
7958
|
options: i,
|
|
7959
7959
|
config: l.value,
|
|
7960
7960
|
queryText: e.highlightSearchText ? R.value : null,
|
|
@@ -7963,7 +7963,7 @@ var Xs = {
|
|
|
7963
7963
|
isLoading: e.isLoading,
|
|
7964
7964
|
isSeeMoreLoading: e.isSeeMoreLoading,
|
|
7965
7965
|
enableCascadeSelection: e.enableCascadeSelection,
|
|
7966
|
-
hasMoreOptions: s ===
|
|
7966
|
+
hasMoreOptions: s === fe.value.length - 1 && C.value && !e.isLoading,
|
|
7967
7967
|
onSeeMore: E
|
|
7968
7968
|
}, null, 8, [
|
|
7969
7969
|
"selectedItems",
|
|
@@ -7976,12 +7976,12 @@ var Xs = {
|
|
|
7976
7976
|
"enableCascadeSelection",
|
|
7977
7977
|
"hasMoreOptions"
|
|
7978
7978
|
]),
|
|
7979
|
-
|
|
7979
|
+
fe.value && s !== fe.value.length - 1 ? (D(), o("div", uc)) : a("", !0)
|
|
7980
7980
|
]))), 128)) : (D(), i(yo, {
|
|
7981
7981
|
key: 1,
|
|
7982
|
-
selectedItems:
|
|
7983
|
-
"onUpdate:selectedItems": r[3] ||= (e) =>
|
|
7984
|
-
options:
|
|
7982
|
+
selectedItems: K.value,
|
|
7983
|
+
"onUpdate:selectedItems": r[3] ||= (e) => K.value = e,
|
|
7984
|
+
options: q.value,
|
|
7985
7985
|
config: l.value,
|
|
7986
7986
|
queryText: e.highlightSearchText ? R.value : null,
|
|
7987
7987
|
itemTestId: `pv-multiselect-${e.label}-item`,
|
|
@@ -8000,16 +8000,16 @@ var Xs = {
|
|
|
8000
8000
|
"isSeeMoreLoading",
|
|
8001
8001
|
"hasMoreOptions"
|
|
8002
8002
|
]))], 64)) : a("", !0),
|
|
8003
|
-
e.isLoading ? (D(), o("div", dc, [u(wt, { variant: "dark" })])) :
|
|
8004
|
-
s("div", fc, [I(
|
|
8003
|
+
e.isLoading ? (D(), o("div", dc, [u(wt, { variant: "dark" })])) : q.value.length === 0 ? (D(), o(t, { key: 4 }, [I(ye) ? j(n.$slots, "no-results", b(_({ key: 0 }, pe.value))) : (D(), i(Ta, { key: 1 }))], 64)) : a("", !0),
|
|
8004
|
+
s("div", fc, [I(be) ? j(n.$slots, "footer", b(_({ key: 0 }, pe.value))) : a("", !0), e.menuActionsVariant ? (D(), i(oc, {
|
|
8005
8005
|
key: 1,
|
|
8006
8006
|
variant: e.menuActionsVariant,
|
|
8007
8007
|
disabled: e.isLoading,
|
|
8008
8008
|
rumFilterName: e.rumFilterName,
|
|
8009
|
-
onHandleClearAll:
|
|
8010
|
-
onHandleSelectAll:
|
|
8011
|
-
onHandleCancel:
|
|
8012
|
-
onHandleConfirm:
|
|
8009
|
+
onHandleClearAll: le,
|
|
8010
|
+
onHandleSelectAll: ce,
|
|
8011
|
+
onHandleCancel: ue,
|
|
8012
|
+
onHandleConfirm: J
|
|
8013
8013
|
}, null, 8, [
|
|
8014
8014
|
"variant",
|
|
8015
8015
|
"disabled",
|
|
@@ -8539,9 +8539,9 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
|
|
|
8539
8539
|
let n = e, c = { renderer: nl }, l = V("search-input"), d = z(e, "searchText"), f = z(e, "query"), p = z(e, "options"), { addQueryOption: m, containsQueryOption: h, removeQueryOption: g } = Yc(), v = k(!1), b = k(!1), S = k(!1), C = r(() => f.value === null ? n.placeholder : ""), w = k(null), T = r(() => w.value !== null && w.value !== "" && !b.value), E = () => {
|
|
8540
8540
|
f.value = null, d.value = "", w.value = null, S.value = !1;
|
|
8541
8541
|
};
|
|
8542
|
-
n.enableCustomOptionsInput &&
|
|
8542
|
+
n.enableCustomOptionsInput && se("Enter", () => {
|
|
8543
8543
|
d.value.trim() && O();
|
|
8544
|
-
}, { target: l }),
|
|
8544
|
+
}, { target: l }), se("Backspace", () => {
|
|
8545
8545
|
if (d.value !== "") return;
|
|
8546
8546
|
let e = f.value?.queryTerms;
|
|
8547
8547
|
if (!e || e.length === 0) return;
|
|
@@ -8570,7 +8570,7 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
|
|
|
8570
8570
|
context: e.queryTerm
|
|
8571
8571
|
}));
|
|
8572
8572
|
});
|
|
8573
|
-
|
|
8573
|
+
H([
|
|
8574
8574
|
j,
|
|
8575
8575
|
d,
|
|
8576
8576
|
() => n.optionsLoading
|
|
@@ -8604,7 +8604,7 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
|
|
|
8604
8604
|
let L = () => {
|
|
8605
8605
|
d.value = "";
|
|
8606
8606
|
};
|
|
8607
|
-
return (n, r) =>
|
|
8607
|
+
return (n, r) => W((D(), o("div", {
|
|
8608
8608
|
ref: "query-builder-input",
|
|
8609
8609
|
class: "pv-relative pv-query-builder-input-wrapper",
|
|
8610
8610
|
onFocus: ee,
|
|
@@ -8630,7 +8630,7 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
|
|
|
8630
8630
|
"modelValue",
|
|
8631
8631
|
"wrap-content",
|
|
8632
8632
|
"query-term-display-limit"
|
|
8633
|
-
]),
|
|
8633
|
+
]), W(s("input", {
|
|
8634
8634
|
"onUpdate:modelValue": r[2] ||= (e) => d.value = e,
|
|
8635
8635
|
ref: "search-input",
|
|
8636
8636
|
"data-testid": "pv-search-input",
|
|
@@ -8641,7 +8641,7 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
|
|
|
8641
8641
|
style: x(d.value ? "min-width: 8rem;" : void 0),
|
|
8642
8642
|
onFocus: ee,
|
|
8643
8643
|
onBlur: ee
|
|
8644
|
-
}, null, 44, il), [[
|
|
8644
|
+
}, null, 44, il), [[ne, d.value]])], 4),
|
|
8645
8645
|
f.value && !e.hideClearButton ? (D(), i(Mn, {
|
|
8646
8646
|
key: 1,
|
|
8647
8647
|
variant: "ghost",
|
|
@@ -8659,7 +8659,7 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
|
|
|
8659
8659
|
},
|
|
8660
8660
|
isList: !0
|
|
8661
8661
|
}, {
|
|
8662
|
-
default:
|
|
8662
|
+
default: U(() => [e.optionsLoading ? (D(), o("div", ol, [u(wt, { variant: "dark" })])) : (D(!0), o(t, { key: 0 }, A(j.value, (e, t) => (D(), i(co, _({
|
|
8663
8663
|
key: `${t}-${e.searchText}`,
|
|
8664
8664
|
ref_for: !0
|
|
8665
8665
|
}, e, {
|
|
@@ -8712,7 +8712,7 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
|
|
|
8712
8712
|
},
|
|
8713
8713
|
setup(e) {
|
|
8714
8714
|
let n = m(hl, k(null)), c = m(yl, k([])), l = m(bl, k([])), u = e;
|
|
8715
|
-
|
|
8715
|
+
H(l, () => {}, { deep: !0 });
|
|
8716
8716
|
let d = (e) => l.value.includes(e || ""), f = (e, t) => {
|
|
8717
8717
|
n.value && (t ? n.value.addRowGroupColumns([e]) : n.value.removeRowGroupColumns([e]));
|
|
8718
8718
|
}, p = r(() => ({ "pv-hide": c.value.length === 0 })), h = r(() => u.rowGroupLimit ? l.value.length >= u.rowGroupLimit : !1), g = r(() => l.value.map((e) => c.value.find((t) => t.field === e)).filter((e) => e !== void 0)), _ = r(() => c.value.filter((e) => !l.value.includes(e.field))), v = r(() => {
|
|
@@ -8743,12 +8743,12 @@ var mc = "__pv_filter_panel_scoped_value__", hc = (e) => typeof e == "object" &&
|
|
|
8743
8743
|
class: y(p.value),
|
|
8744
8744
|
onListOrderUpdated: x
|
|
8745
8745
|
}, {
|
|
8746
|
-
trigger:
|
|
8746
|
+
trigger: U(() => [s("div", Bl, [r[0] ||= s("p", { class: "pv-truncate pv-text-body-md" }, "Compare", -1), I(l).length > 0 ? (D(), i(I(kn), {
|
|
8747
8747
|
key: 0,
|
|
8748
8748
|
value: I(l).length,
|
|
8749
8749
|
variant: "tertiary"
|
|
8750
8750
|
}, null, 8, ["value"])) : a("", !0)])]),
|
|
8751
|
-
default:
|
|
8751
|
+
default: U(() => [(D(!0), o(t, null, A(v.value, (e, n) => (D(), o(t, { key: e.value }, [e.value === "divider" ? a("", !0) : (D(), o("li", {
|
|
8752
8752
|
key: 0,
|
|
8753
8753
|
id: b(e.value)
|
|
8754
8754
|
}, [s("label", { class: y(["pv-flex", { "pv-border-bottom": n + 1 === I(l).length }]) }, [
|
|
@@ -8828,7 +8828,7 @@ var Zl = /* @__PURE__ */ Qt(Jl, [["render", Xl]]), Ql = ["innerHTML"], $l = { ke
|
|
|
8828
8828
|
__name: "GroupedCellRenderer",
|
|
8829
8829
|
props: { params: {} },
|
|
8830
8830
|
setup(e) {
|
|
8831
|
-
let n = e, i = m(bl, k([])), c = m(xl, k(null)), d = m(Sl, k({})), f =
|
|
8831
|
+
let n = e, i = m(bl, k([])), c = m(xl, k(null)), d = m(Sl, k({})), f = q(n.params, "rowNode"), p = r(() => !n.params.displayBaseAggregationsOnly || f.value.level === i.value.length - 1), h = r(() => n.params.rowNode.group), g = r(() => {
|
|
8832
8832
|
let e = f.value.data;
|
|
8833
8833
|
if (e?.bucketMin !== void 0 && e?.bucketMax !== void 0) {
|
|
8834
8834
|
let t = f.value.rowGroupColumn?.getColDef()?.valueFormatter;
|
|
@@ -8870,14 +8870,14 @@ var Zl = /* @__PURE__ */ Qt(Jl, [["render", Xl]]), Ql = ["innerHTML"], $l = { ke
|
|
|
8870
8870
|
tooltipPosition: "center-left",
|
|
8871
8871
|
size: "sm"
|
|
8872
8872
|
}, {
|
|
8873
|
-
label:
|
|
8873
|
+
label: U(() => [u(Mn, {
|
|
8874
8874
|
class: y(j.value + " pv-text-brand"),
|
|
8875
8875
|
variant: "ghost",
|
|
8876
8876
|
"left-icon": "focus",
|
|
8877
8877
|
ariaLabel: "Remove focus",
|
|
8878
8878
|
onClick: r[0] ||= (e) => I(O)(I(f).key)
|
|
8879
8879
|
}, null, 8, ["class"])]),
|
|
8880
|
-
"tooltip-content":
|
|
8880
|
+
"tooltip-content": U(() => [s("span", null, " Remove " + F(e.params.focusText || "Focus"), 1)]),
|
|
8881
8881
|
_: 1
|
|
8882
8882
|
})])) : a("", !0)], 2)) : a("", !0), s("div", null, [s("p", null, [e.params.displayRowNumber && x.value ? (D(), o("span", lu, F(x.value), 1)) : a("", !0), l(" " + F(v.value), 1)])])], 64));
|
|
8883
8883
|
}
|
|
@@ -8932,13 +8932,13 @@ var Zl = /* @__PURE__ */ Qt(Jl, [["render", Xl]]), Ql = ["innerHTML"], $l = { ke
|
|
|
8932
8932
|
"col-def": d.value,
|
|
8933
8933
|
"cell-params": e.params.cellParams
|
|
8934
8934
|
}, {
|
|
8935
|
-
default:
|
|
8935
|
+
default: U(() => [u(uu, { params: e.params }, null, 8, ["params"])]),
|
|
8936
8936
|
_: 1
|
|
8937
8937
|
}, 8, ["col-def", "cell-params"])) : (D(), o("div", du, [e.params.displayRowNumber && c.value ? (D(), o("span", fu, F(c.value), 1)) : a("", !0), u(eu, {
|
|
8938
8938
|
"col-def": f.value,
|
|
8939
8939
|
"cell-params": p.value
|
|
8940
8940
|
}, {
|
|
8941
|
-
default:
|
|
8941
|
+
default: U(() => [u(uu, { params: l.value }, null, 8, ["params"])]),
|
|
8942
8942
|
_: 1
|
|
8943
8943
|
}, 8, ["col-def", "cell-params"])]));
|
|
8944
8944
|
}
|
|
@@ -9441,7 +9441,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
9441
9441
|
};
|
|
9442
9442
|
}
|
|
9443
9443
|
return {};
|
|
9444
|
-
},
|
|
9444
|
+
}, te = (e, t) => {
|
|
9445
9445
|
b.value[e] = t;
|
|
9446
9446
|
let r = [], i = n.value;
|
|
9447
9447
|
if ($u(i)) {
|
|
@@ -9457,7 +9457,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
9457
9457
|
let n = B(e, t);
|
|
9458
9458
|
n && a.push(n);
|
|
9459
9459
|
}), x.value[e] = a, r.filter((e, t) => r.indexOf(e) === t);
|
|
9460
|
-
},
|
|
9460
|
+
}, ne = (e) => b.value[e] || [], re = async (e) => {
|
|
9461
9461
|
let t = n.value;
|
|
9462
9462
|
if (!t) return x.value;
|
|
9463
9463
|
let r = e.map((e) => {
|
|
@@ -9471,32 +9471,32 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
9471
9471
|
for (let { colDef: e, colId: n, selectedValues: i } of r) i.every((e) => B(n, e) != null) || await z(e, {
|
|
9472
9472
|
filterModel: t,
|
|
9473
9473
|
useStaged: !1
|
|
9474
|
-
}),
|
|
9474
|
+
}), te(n, i);
|
|
9475
9475
|
return x.value;
|
|
9476
|
-
},
|
|
9476
|
+
}, H = (e, t) => {
|
|
9477
9477
|
S.value[e] = t;
|
|
9478
|
-
},
|
|
9478
|
+
}, U = (e) => C.value[e] || [], W = (e, t) => {
|
|
9479
9479
|
C.value[e] = t;
|
|
9480
|
-
},
|
|
9480
|
+
}, G = (e, t) => {
|
|
9481
9481
|
A.value[e] = t;
|
|
9482
|
-
},
|
|
9482
|
+
}, ie = (e) => {
|
|
9483
9483
|
let t = M.value[e] ?? 0;
|
|
9484
9484
|
M.value[e] = t + 1, j.value.add(e);
|
|
9485
|
-
},
|
|
9485
|
+
}, K = (e) => {
|
|
9486
9486
|
let t = M.value[e] ?? 0;
|
|
9487
9487
|
if (t <= 1) {
|
|
9488
9488
|
delete M.value[e], j.value.delete(e);
|
|
9489
9489
|
return;
|
|
9490
9490
|
}
|
|
9491
9491
|
M.value[e] = t - 1;
|
|
9492
|
-
},
|
|
9493
|
-
let n = t ?
|
|
9492
|
+
}, ae = /* @__PURE__ */ new Set(), oe = /* @__PURE__ */ new Set(), se = (e, t = !1) => {
|
|
9493
|
+
let n = t ? oe : ae;
|
|
9494
9494
|
e.forEach((e) => n.add(e));
|
|
9495
|
-
},
|
|
9496
|
-
|
|
9497
|
-
},
|
|
9498
|
-
|
|
9499
|
-
},
|
|
9495
|
+
}, q = () => {
|
|
9496
|
+
oe.forEach((e) => ae.add(e)), oe.clear();
|
|
9497
|
+
}, ce = () => {
|
|
9498
|
+
oe.clear();
|
|
9499
|
+
}, le = (e) => {
|
|
9500
9500
|
let t = new Set(e);
|
|
9501
9501
|
for (let n of e) {
|
|
9502
9502
|
let e = A.value[n] || [];
|
|
@@ -9504,19 +9504,19 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
9504
9504
|
}
|
|
9505
9505
|
for (let e of t) w.value[e] = !1;
|
|
9506
9506
|
for (let e of j.value) t.has(e) || (w.value[e] = !0);
|
|
9507
|
-
},
|
|
9507
|
+
}, ue = e.initStagedFilterSelections, J = e.clearStagedFilterSelections, de = (e) => N.value[e] || [], Y = (e, t) => {
|
|
9508
9508
|
N.value[e] = t;
|
|
9509
|
-
}, fe = (e) => {
|
|
9510
|
-
t.value = e;
|
|
9511
9509
|
}, pe = (e) => {
|
|
9510
|
+
t.value = e;
|
|
9511
|
+
}, me = (e) => {
|
|
9512
9512
|
(!e || t.value === e) && (t.value = null);
|
|
9513
|
-
},
|
|
9513
|
+
}, he = () => t.value?.getFilterModel() ?? n.value, ge = (e) => {
|
|
9514
9514
|
let r = t.value?.setFilterModel(e);
|
|
9515
9515
|
(!t.value || r === !1) && (n.value = e);
|
|
9516
|
-
},
|
|
9516
|
+
}, _e = (e) => {
|
|
9517
9517
|
let n = t.value?.setTableSearchFilterModel(e);
|
|
9518
9518
|
(!t.value || n === !1) && (a.value = e);
|
|
9519
|
-
},
|
|
9519
|
+
}, ve = (e) => t.value?.refreshData(e), ye = (e) => {
|
|
9520
9520
|
let t = /* @__PURE__ */ new Map();
|
|
9521
9521
|
if (!e) return t;
|
|
9522
9522
|
if (Zu(e)) {
|
|
@@ -9533,17 +9533,17 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
9533
9533
|
return n(e), t.forEach((e) => e.sort()), t;
|
|
9534
9534
|
}
|
|
9535
9535
|
return Object.entries(e).forEach(([e, n]) => t.set(e, [JSON.stringify(n)])), t;
|
|
9536
|
-
},
|
|
9537
|
-
let n = /* @__PURE__ */ new Set(), r =
|
|
9536
|
+
}, be = (e, t) => {
|
|
9537
|
+
let n = /* @__PURE__ */ new Set(), r = ye(e), i = ye(t), a = new Set([...r.keys(), ...i.keys()]);
|
|
9538
9538
|
for (let e of a) JSON.stringify(r.get(e) ?? []) !== JSON.stringify(i.get(e) ?? []) && n.add(e);
|
|
9539
9539
|
n.size === 0 && JSON.stringify(e) !== JSON.stringify(t) && a.forEach((e) => n.add(e));
|
|
9540
9540
|
let s = Date.now();
|
|
9541
9541
|
for (let e of n) o.value[e] = s;
|
|
9542
9542
|
return n;
|
|
9543
9543
|
};
|
|
9544
|
-
return
|
|
9545
|
-
let n =
|
|
9546
|
-
|
|
9544
|
+
return fe(n, (e, t) => {
|
|
9545
|
+
let n = be(e, t);
|
|
9546
|
+
ae.forEach((e) => n.add(e)), ae.clear(), n.size > 0 && le(n);
|
|
9547
9547
|
}, {
|
|
9548
9548
|
deep: !0,
|
|
9549
9549
|
debounce: 200,
|
|
@@ -9565,43 +9565,43 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
9565
9565
|
invalidateFilterRequest: R,
|
|
9566
9566
|
filterValueContext: B,
|
|
9567
9567
|
filterModelEmpty: _,
|
|
9568
|
-
getFilterSelectedValues:
|
|
9568
|
+
getFilterSelectedValues: ne,
|
|
9569
9569
|
getSearchMatchDataFromFilterContext: V,
|
|
9570
9570
|
isServerSideFilter: g,
|
|
9571
9571
|
stagedFilterModel: i,
|
|
9572
|
-
setFilterSelectedValues:
|
|
9573
|
-
hydrateSelectedFilterMetadata:
|
|
9574
|
-
setFilterValueSearchText:
|
|
9572
|
+
setFilterSelectedValues: te,
|
|
9573
|
+
hydrateSelectedFilterMetadata: re,
|
|
9574
|
+
setFilterValueSearchText: H,
|
|
9575
9575
|
tableSearchFilterModel: a,
|
|
9576
9576
|
tableSearchFilterModelEmpty: v,
|
|
9577
9577
|
tableSearchHandler: m,
|
|
9578
9578
|
filterValuesMap: C,
|
|
9579
|
-
getFilterValues:
|
|
9580
|
-
setFilterValues:
|
|
9579
|
+
getFilterValues: U,
|
|
9580
|
+
setFilterValues: W,
|
|
9581
9581
|
filterStaleMap: w,
|
|
9582
9582
|
refreshFiltersInBackground: E,
|
|
9583
9583
|
stageFilterChangesUntilDropdownCloses: D,
|
|
9584
9584
|
filterSearchMinLength: O,
|
|
9585
|
-
markOtherFieldsStale:
|
|
9586
|
-
noteFilterModelChange:
|
|
9587
|
-
commitStagedFilterModelChanges:
|
|
9588
|
-
clearStagedFilterModelChanges:
|
|
9585
|
+
markOtherFieldsStale: le,
|
|
9586
|
+
noteFilterModelChange: se,
|
|
9587
|
+
commitStagedFilterModelChanges: q,
|
|
9588
|
+
clearStagedFilterModelChanges: ce,
|
|
9589
9589
|
aggregateFieldMap: A,
|
|
9590
|
-
registerAggregateField:
|
|
9590
|
+
registerAggregateField: G,
|
|
9591
9591
|
registeredFilterFields: j,
|
|
9592
|
-
registerFilterField:
|
|
9593
|
-
unregisterFilterField:
|
|
9592
|
+
registerFilterField: ie,
|
|
9593
|
+
unregisterFilterField: K,
|
|
9594
9594
|
stagedSelectedValuesMap: N,
|
|
9595
|
-
initStagedSelectedValues:
|
|
9596
|
-
clearStagedSelectedValues:
|
|
9597
|
-
getStagedSelectedValues:
|
|
9598
|
-
setStagedSelectedValues:
|
|
9599
|
-
registerFilterController:
|
|
9600
|
-
unregisterFilterController:
|
|
9601
|
-
getFilterModel:
|
|
9602
|
-
applyFilterModel:
|
|
9603
|
-
applyTableSearchFilterModel:
|
|
9604
|
-
refreshData:
|
|
9595
|
+
initStagedSelectedValues: ue,
|
|
9596
|
+
clearStagedSelectedValues: J,
|
|
9597
|
+
getStagedSelectedValues: de,
|
|
9598
|
+
setStagedSelectedValues: Y,
|
|
9599
|
+
registerFilterController: pe,
|
|
9600
|
+
unregisterFilterController: me,
|
|
9601
|
+
getFilterModel: he,
|
|
9602
|
+
applyFilterModel: ge,
|
|
9603
|
+
applyTableSearchFilterModel: _e,
|
|
9604
|
+
refreshData: ve,
|
|
9605
9605
|
filterValueSearchTextMap: S,
|
|
9606
9606
|
filterValuesHasMoreMap: f,
|
|
9607
9607
|
filterValuesTotalCountMap: p
|
|
@@ -9613,35 +9613,35 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
9613
9613
|
if (!e) throw Error("No PvDataTable filter store was provided. Create one with createPvDataTableFilterStore() and pass it to PvDataTable/PvDataTableWithChart or provide it with providePvDataTableFilterStore().");
|
|
9614
9614
|
return e;
|
|
9615
9615
|
}, ad = (e) => {
|
|
9616
|
-
let { filterColDef: t, filterStyle: n, onSelectionChanged: i, filterGroupStagedFields: a, readOnly: o, disableUnselected: s } = e, c = ll(), l = m(hl, k(null)), u = rd(), { 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: P, registerFilterField: F, unregisterFilterField: ee, getStagedSelectedValues: I, setStagedSelectedValues: L, filterValueSearchTextMap: R, filterValuesHasMoreMap: z, filterValuesTotalCountMap: B } = u, { computedFocuses: V, removeFocus:
|
|
9617
|
-
get: () =>
|
|
9616
|
+
let { filterColDef: t, filterStyle: n, onSelectionChanged: i, filterGroupStagedFields: a, readOnly: o, disableUnselected: s } = e, c = ll(), l = m(hl, k(null)), u = rd(), { 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: P, registerFilterField: F, unregisterFilterField: ee, getStagedSelectedValues: I, setStagedSelectedValues: L, filterValueSearchTextMap: R, filterValuesHasMoreMap: z, filterValuesTotalCountMap: B } = u, { computedFocuses: V, removeFocus: te, computedFocusType: ne } = nu(), re = m(wl, k(!1)), U = m(Cl, k(!1)), W = m(Ll, k(!1)), G = r({
|
|
9617
|
+
get: () => pe.value ? I(J.value) : b(J.value),
|
|
9618
9618
|
set: (e) => {
|
|
9619
|
-
|
|
9619
|
+
pe.value ? L(J.value, e) : C(J.value, e);
|
|
9620
9620
|
}
|
|
9621
|
-
}),
|
|
9622
|
-
let e = w(
|
|
9623
|
-
if (
|
|
9624
|
-
let t = new Set(e), n =
|
|
9621
|
+
}), ie = r(() => {
|
|
9622
|
+
let e = w(J.value);
|
|
9623
|
+
if (me.value && ge.value.length > 0) {
|
|
9624
|
+
let t = new Set(e), n = ge.value.filter((e) => t.has(e)), r = new Set(ge.value), i = e.filter((e) => !r.has(e));
|
|
9625
9625
|
return [...n, ...i];
|
|
9626
9626
|
}
|
|
9627
9627
|
return Re(e);
|
|
9628
|
-
}),
|
|
9629
|
-
get: () => R.value[
|
|
9630
|
-
set: (e) => S(
|
|
9631
|
-
}),
|
|
9632
|
-
let e =
|
|
9628
|
+
}), K = r(() => _.value[J.value] ?? !1), ae = r(() => A.value || Ko(t.value).prefetchFilterValues === !0), oe = r(() => (o?.value ?? !1) && (s?.value ?? !1) && G.value.length === 0 && Q.value.length === 0), se = r(() => o?.value ?? !1), q = r(() => se.value && (s?.value ?? !1)), ce = r({
|
|
9629
|
+
get: () => R.value[J.value] ?? "",
|
|
9630
|
+
set: (e) => S(J.value, e)
|
|
9631
|
+
}), le = r(() => Ko(t.value).filterSearchMinLength ?? M.value), ue = r(() => {
|
|
9632
|
+
let e = le.value ?? 0, t = ce.value?.length ?? 0;
|
|
9633
9633
|
return e > 0 && t > 0 && t < e;
|
|
9634
|
-
}),
|
|
9634
|
+
}), J = r(() => t.value.field || ""), de = r(() => t.value.filter || ""), Y = r(() => t.value.headerName || ""), pe = r(() => n?.value === "vertical"), me = k(!1), he = k(!1), ge = k([]), _e = r(() => qo(t.value)), ve = r(() => Jo(t.value)), ye = r(() => Yo(t.value)), be = r(() => Ko(t.value).filterOptionsSortDescription), xe = r(() => Ko(t.value).filterOptionsSortTooltip), Se = r(() => !Ko(t.value).filterSearch), Ce = r(() => Ko(t.value).emptyFilterResultsRenderer), we = r(() => Ko(t.value).filterOptionsRenderer), Te = r(() => Ko(t.value).filterHeaderRenderer), Ee = r(() => Ko(t.value).filterFooterRenderer), De = r(() => ve.value ? G.value.length >= ve.value : !1), Oe = r(() => ie.value.filter((e) => e != null && !G.value.includes(e))), X = r(() => se.value ? void 0 : B.value[J.value]), ke = r(() => se.value ? !1 : z.value[J.value]), Z = r(() => es(t.value)), Ae = () => new Set([J.value, ...Qo(t.value)]), je = (e, t) => {
|
|
9635
9635
|
let n = new Set(e), r = new Set(t);
|
|
9636
9636
|
return n.size === r.size ? [...n].every((e) => r.has(e)) : !1;
|
|
9637
|
-
}, Q = k([]), Me = k("[]"), Ne = r(() =>
|
|
9637
|
+
}, Q = k([]), Me = k("[]"), Ne = r(() => ie.value.length === 1 && ie.value[0] === null && G.value.length === 0), Pe = (e = !1) => {
|
|
9638
9638
|
if (Z.value) return;
|
|
9639
9639
|
let n = [];
|
|
9640
|
-
if (
|
|
9640
|
+
if (W.value && l.value) {
|
|
9641
9641
|
let e = l.value.getAdvancedFilterModel();
|
|
9642
|
-
n = Wu(
|
|
9642
|
+
n = Wu(J.value, e);
|
|
9643
9643
|
} else n = Fu(t.value, p.value);
|
|
9644
|
-
e ?
|
|
9644
|
+
e ? G.value = n : G.value = Array.from(new Set([...b(J.value), ...n]));
|
|
9645
9645
|
}, Fe = (e) => {
|
|
9646
9646
|
let t = (n) => {
|
|
9647
9647
|
for (let r of n) if (r.id === String(e) && r.state === "selected" || r.children && t(r.children)) return !0;
|
|
@@ -9652,19 +9652,19 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
9652
9652
|
let n = Q.value.find((t) => t.id === String(e));
|
|
9653
9653
|
return n?.state === "selected" ? !n.children?.some((e) => e.id === String(t) && e.state === "deselected") : Fe(t);
|
|
9654
9654
|
}, Le = (e, t) => (t == null ? Fe(e.id) : Ie(t, e.id)) ? !0 : (e.children ?? []).some((t) => Le(t, e.id)), Re = (e) => [...e].sort((e, t) => {
|
|
9655
|
-
let n =
|
|
9655
|
+
let n = G.value.includes(e) || Fe(e), r = G.value.includes(t) || Fe(t);
|
|
9656
9656
|
return n && !r ? -1 : !n && r ? 1 : 0;
|
|
9657
9657
|
}), ze = async (e = !1, n = !1) => {
|
|
9658
9658
|
if (!l.value) return;
|
|
9659
|
-
let r = O.value[
|
|
9660
|
-
if (
|
|
9659
|
+
let r = O.value[J.value] ?? !1, i = _.value[J.value] !== !0, a = (w(J.value) || []).length === 0, o = e && i && (r || n || a);
|
|
9660
|
+
if (W.value) {
|
|
9661
9661
|
if (x.value && o) {
|
|
9662
9662
|
let e = await d(t.value, {
|
|
9663
9663
|
api: l.value,
|
|
9664
9664
|
filterModel: p.value ?? void 0,
|
|
9665
|
-
useStaged:
|
|
9665
|
+
useStaged: pe.value
|
|
9666
9666
|
});
|
|
9667
|
-
D(
|
|
9667
|
+
D(J.value, e), O.value[J.value] = !1, Ft();
|
|
9668
9668
|
}
|
|
9669
9669
|
return;
|
|
9670
9670
|
}
|
|
@@ -9674,10 +9674,10 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
9674
9674
|
s.refreshFilterValues();
|
|
9675
9675
|
return;
|
|
9676
9676
|
}
|
|
9677
|
-
D(
|
|
9677
|
+
D(J.value, s.getFilterValues()), O.value[J.value] = !1;
|
|
9678
9678
|
}
|
|
9679
9679
|
}, Be = (e) => {
|
|
9680
|
-
let t = y(
|
|
9680
|
+
let t = y(J.value, e);
|
|
9681
9681
|
return !t && Z.value && e && (t = at(e)), t;
|
|
9682
9682
|
}, Ve = (e) => e?.field ?? e?.colField, He = (e) => e?.rawValue == null ? e?.metadata?.rawValue == null ? e ? Qe(e.value).value : null : e.metadata.rawValue : e.rawValue, Ue = (e, t) => t?.rawValue == null ? t?.metadata?.rawValue == null ? e : t.metadata.rawValue : t.rawValue, We = (e, t) => {
|
|
9683
9683
|
if (!e || !t || e.label && e.rawValue == null && e.metadata?.rawValue == null) return e;
|
|
@@ -9687,7 +9687,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
9687
9687
|
label: String(e.metadata?.[n])
|
|
9688
9688
|
} : e;
|
|
9689
9689
|
}, Ge = (e, t) => {
|
|
9690
|
-
let n =
|
|
9690
|
+
let n = _e.value, r = t, i = Ve(t);
|
|
9691
9691
|
if (i && Z.value) {
|
|
9692
9692
|
let e = l.value?.getColumnDef(i);
|
|
9693
9693
|
n = e ? qo(e) ?? n : n, r = We(t, e ?? void 0);
|
|
@@ -9703,16 +9703,16 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
9703
9703
|
return i?.length ? t == null ? !0 : !i.some((e) => t.metadata?.[e] != null) : !1;
|
|
9704
9704
|
}
|
|
9705
9705
|
if (!Ko(t.value).metadataDisplayFields?.length) return !1;
|
|
9706
|
-
let r = y(
|
|
9706
|
+
let r = y(J.value, e);
|
|
9707
9707
|
return r == null || r.label == null;
|
|
9708
|
-
}, Je = (e) => Ne.value || y(
|
|
9708
|
+
}, Je = (e) => Ne.value || y(J.value, e)?.isSelectable === !1 ? !0 : ye.value ? !1 : De.value && !G.value.includes(e), Ye = (e) => e ? l.value && l.value.getColumnDef(e)?.headerName || e : "", Xe = (e, n, r) => zc({
|
|
9709
9709
|
fallbackSubText: n,
|
|
9710
9710
|
getDisplayName: Ye,
|
|
9711
9711
|
matchedField: e?.matchedField,
|
|
9712
9712
|
matchedValue: e?.matchedValue ?? e?.menuOption?.searchText,
|
|
9713
9713
|
primaryText: r,
|
|
9714
9714
|
showPrefix: Ko(t.value).showSearchMatchSubTextPrefix !== !1
|
|
9715
|
-
}), Ze = r(() => Lc(
|
|
9715
|
+
}), Ze = r(() => Lc(J.value, Ko(t.value).queryColIds, (e) => e === J.value && Y.value || Ye(e))), Qe = (e) => {
|
|
9716
9716
|
if (!e.startsWith("__")) return { value: e };
|
|
9717
9717
|
let t = e.slice(2).split("__");
|
|
9718
9718
|
return t.length < 2 ? { value: e } : {
|
|
@@ -9722,7 +9722,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
9722
9722
|
}, $e = (e) => Ac(e, tt()), $ = (e) => {
|
|
9723
9723
|
let t = Qe(e.value), n = { ...e };
|
|
9724
9724
|
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($)), n;
|
|
9725
|
-
}, et = r(() => [...u.filterValueMap.value[
|
|
9725
|
+
}, et = r(() => [...u.filterValueMap.value[J.value] || [], ...u.filterValueSelectedMetadataMap.value[J.value] || []].map((e) => e && $(e))), tt = () => et.value, nt = (e, t) => {
|
|
9726
9726
|
for (let n of e) {
|
|
9727
9727
|
if (!n) continue;
|
|
9728
9728
|
if (t(n)) return n;
|
|
@@ -9774,14 +9774,14 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
9774
9774
|
return r?.children?.length ? r : rt(n, e.id) || (r && Ve(r) === $o(t.value) ? r : ot(e.id) || r);
|
|
9775
9775
|
}, ct = (e) => {
|
|
9776
9776
|
if (!Z.value) return;
|
|
9777
|
-
let t = u.filterValueSelectedMetadataMap.value[
|
|
9777
|
+
let t = u.filterValueSelectedMetadataMap.value[J.value] || [], n = /* @__PURE__ */ new Map();
|
|
9778
9778
|
for (let e of t) e && n.set(e.value, e);
|
|
9779
9779
|
for (let t of e) {
|
|
9780
9780
|
if (t.state !== "selected") continue;
|
|
9781
9781
|
let e = st(t);
|
|
9782
9782
|
e && n.set(e.value, e);
|
|
9783
9783
|
}
|
|
9784
|
-
u.filterValueSelectedMetadataMap.value[
|
|
9784
|
+
u.filterValueSelectedMetadataMap.value[J.value] = [...n.values()];
|
|
9785
9785
|
}, lt = () => {
|
|
9786
9786
|
let e = /* @__PURE__ */ new Set();
|
|
9787
9787
|
for (let t of Q.value) {
|
|
@@ -9789,9 +9789,9 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
9789
9789
|
let n = st(t);
|
|
9790
9790
|
n && e.add(n.value);
|
|
9791
9791
|
}
|
|
9792
|
-
return [...e].filter((e) => !
|
|
9792
|
+
return [...e].filter((e) => !ie.value.includes(e));
|
|
9793
9793
|
}, ut = (e) => {
|
|
9794
|
-
let n = y(
|
|
9794
|
+
let n = y(J.value, e), r = (n?.children?.length ?? 0) > 0 || (n?.totalChildCount ?? 0) > 0, i = be.value ? "suggestions" : null;
|
|
9795
9795
|
n?.isPreference && (i = "preferences");
|
|
9796
9796
|
let a = null, o = Ke(e) || "", s = n?.matchedValue;
|
|
9797
9797
|
s ? a = Xe(n, n?.subText, o) : n?.subText ? a = n.subText : Ve(n) && Z.value && !r && (a = Ye(Ve(n)));
|
|
@@ -9819,9 +9819,9 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
9819
9819
|
let r = Math.max(n?.offset ?? 0, a), o = await u.filterStoreHandler.value({
|
|
9820
9820
|
api: l.value,
|
|
9821
9821
|
colDef: t.value,
|
|
9822
|
-
field:
|
|
9822
|
+
field: J.value,
|
|
9823
9823
|
filterModel: p.value ?? void 0,
|
|
9824
|
-
query:
|
|
9824
|
+
query: ce.value || void 0,
|
|
9825
9825
|
offset: r,
|
|
9826
9826
|
parentId: i,
|
|
9827
9827
|
reason: "child-load-more"
|
|
@@ -9847,11 +9847,11 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
9847
9847
|
handleSeeMore: f
|
|
9848
9848
|
};
|
|
9849
9849
|
}, dt = r(() => {
|
|
9850
|
-
let e = [...Z.value ? lt() :
|
|
9850
|
+
let e = [...Z.value ? lt() : G.value.filter((e) => e != null && e !== "" && !ie.value.includes(e)), ...ie.value];
|
|
9851
9851
|
return e.filter((t, n) => e.indexOf(t) === n).filter((e) => e != null && e !== "").filter((e) => !qe(e)).map(ut);
|
|
9852
9852
|
}), ft = (e) => {
|
|
9853
9853
|
let t = e.children;
|
|
9854
|
-
t?.length && (t = t.filter((t) => !
|
|
9854
|
+
t?.length && (t = t.filter((t) => !q.value || Le(t, e.id)).map((e) => ft(e)));
|
|
9855
9855
|
let n = (e.children ?? []).some((t) => Le(t, e.id));
|
|
9856
9856
|
return {
|
|
9857
9857
|
...e,
|
|
@@ -9861,12 +9861,12 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
9861
9861
|
handleSeeMore: void 0,
|
|
9862
9862
|
...n ? { defaultExpanded: !0 } : {}
|
|
9863
9863
|
};
|
|
9864
|
-
}, pt = (e) => Z.value ? Le(e, null) :
|
|
9864
|
+
}, pt = (e) => Z.value ? Le(e, null) : G.value.includes(e.id), mt = r(() => {
|
|
9865
9865
|
let e = dt.value;
|
|
9866
|
-
return
|
|
9866
|
+
return se.value ? e.filter((e) => !q.value || pt(e)).map((e) => ft(e)) : e;
|
|
9867
9867
|
}), ht = r({
|
|
9868
|
-
get: () => Z.value ? [] :
|
|
9869
|
-
let t = y(
|
|
9868
|
+
get: () => Z.value ? [] : G.value.map((e) => {
|
|
9869
|
+
let t = y(J.value, e), n = Ve(t), r = n ? Ye(n) : void 0;
|
|
9870
9870
|
return {
|
|
9871
9871
|
id: e,
|
|
9872
9872
|
text: Ke(e),
|
|
@@ -9876,37 +9876,37 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
9876
9876
|
}),
|
|
9877
9877
|
set: (e) => {
|
|
9878
9878
|
if (Z.value) {
|
|
9879
|
-
if (e.length === 0 && !
|
|
9879
|
+
if (e.length === 0 && !me.value && j.value && !pe.value) {
|
|
9880
9880
|
Mt([]);
|
|
9881
9881
|
return;
|
|
9882
9882
|
}
|
|
9883
9883
|
i?.();
|
|
9884
9884
|
return;
|
|
9885
9885
|
}
|
|
9886
|
-
let t =
|
|
9886
|
+
let t = G.value.slice(), n = e.map((e) => e.id), r = yt;
|
|
9887
9887
|
yt = !1, r || dl(() => {
|
|
9888
9888
|
let e = new Set(t), r = new Set(n);
|
|
9889
9889
|
for (let t of r) e.has(t) || St(t, "select", "click", r.size);
|
|
9890
9890
|
for (let t of e) r.has(t) || St(t, "deselect", "click", r.size);
|
|
9891
|
-
}),
|
|
9892
|
-
!
|
|
9891
|
+
}), G.value = n, (e.length === 0 && !me.value || !j.value || pe.value) && (_t(), V.value.forEach((e) => {
|
|
9892
|
+
!G.value.includes(e) && ne.value === J.value && te(e);
|
|
9893
9893
|
})), i?.();
|
|
9894
9894
|
}
|
|
9895
9895
|
}), gt = (e) => {
|
|
9896
9896
|
let t = {};
|
|
9897
9897
|
for (let n of e) {
|
|
9898
9898
|
if (n === null) continue;
|
|
9899
|
-
let e = Ve(y(
|
|
9899
|
+
let e = Ve(y(J.value, n)) || J.value;
|
|
9900
9900
|
t[e] || (t[e] = []), t[e].push(n);
|
|
9901
9901
|
}
|
|
9902
9902
|
return t;
|
|
9903
9903
|
}, _t = async (e, n, r) => {
|
|
9904
9904
|
if (!l.value) return;
|
|
9905
9905
|
if (e !== void 0 && n !== void 0) {
|
|
9906
|
-
let r = e ||
|
|
9907
|
-
if (
|
|
9906
|
+
let r = e || J.value, i = new Set([J.value, r]), a = n;
|
|
9907
|
+
if (W.value) {
|
|
9908
9908
|
let e = Su(r, a || []);
|
|
9909
|
-
if (
|
|
9909
|
+
if (pe.value) {
|
|
9910
9910
|
let t = h.value, n = Hu(t, e, r);
|
|
9911
9911
|
N(i, !0), h.value = n;
|
|
9912
9912
|
return;
|
|
@@ -9917,7 +9917,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
9917
9917
|
});
|
|
9918
9918
|
return;
|
|
9919
9919
|
}
|
|
9920
|
-
if (
|
|
9920
|
+
if (pe.value) {
|
|
9921
9921
|
let e = await Pu(l.value, t.value, a);
|
|
9922
9922
|
N(i, !0), h.value = {
|
|
9923
9923
|
...h.value,
|
|
@@ -9931,9 +9931,9 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
9931
9931
|
});
|
|
9932
9932
|
return;
|
|
9933
9933
|
}
|
|
9934
|
-
let i = gt(
|
|
9935
|
-
if (
|
|
9936
|
-
let e =
|
|
9934
|
+
let i = gt(G.value), o = Ko(t.value);
|
|
9935
|
+
if (W.value) {
|
|
9936
|
+
let e = pe.value ? h.value : l.value.getAdvancedFilterModel(), n = e, s = /* @__PURE__ */ new Set();
|
|
9937
9937
|
if (Z.value) {
|
|
9938
9938
|
let e = Qo(t.value), r = [];
|
|
9939
9939
|
for (let t of e) {
|
|
@@ -9957,8 +9957,8 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
9957
9957
|
} : e;
|
|
9958
9958
|
}
|
|
9959
9959
|
} else {
|
|
9960
|
-
let t =
|
|
9961
|
-
n = Hu(n, r,
|
|
9960
|
+
let t = G.value.length > 0 ? G.value : null, r = Su(J.value, t || []);
|
|
9961
|
+
n = Hu(n, r, J.value);
|
|
9962
9962
|
let i = !1;
|
|
9963
9963
|
if (a?.value) {
|
|
9964
9964
|
let e = o.filterGroup?.fields ?? [];
|
|
@@ -9970,11 +9970,11 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
9970
9970
|
n = Hu(n, r, t);
|
|
9971
9971
|
}
|
|
9972
9972
|
}
|
|
9973
|
-
let c =
|
|
9973
|
+
let c = G.value.filter((e) => e !== null), l = Wu(J.value, e), u = new Set(l), d = new Set(c);
|
|
9974
9974
|
if (!(u.size !== d.size || c.some((e) => !u.has(e))) && !i) return;
|
|
9975
9975
|
}
|
|
9976
9976
|
if (r?.skipIfUnchanged && Vu(e, n)) return;
|
|
9977
|
-
if (N(Z.value ? Ae() : new Set([
|
|
9977
|
+
if (N(Z.value ? Ae() : new Set([J.value, ...s]), pe.value), pe.value) h.value = n;
|
|
9978
9978
|
else {
|
|
9979
9979
|
let e = n;
|
|
9980
9980
|
v(() => {
|
|
@@ -9983,39 +9983,39 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
9983
9983
|
}
|
|
9984
9984
|
return;
|
|
9985
9985
|
}
|
|
9986
|
-
let s =
|
|
9986
|
+
let s = G.value.length > 0 ? G.value : null;
|
|
9987
9987
|
if (r?.skipIfUnchanged) {
|
|
9988
9988
|
let e = Fu(t.value, l.value.getFilterModel());
|
|
9989
|
-
if (je(
|
|
9989
|
+
if (je(G.value, e)) return;
|
|
9990
9990
|
}
|
|
9991
|
-
if (
|
|
9991
|
+
if (pe.value) {
|
|
9992
9992
|
let e = await Pu(l.value, t.value, s);
|
|
9993
|
-
N(new Set([
|
|
9993
|
+
N(new Set([J.value]), !0), h.value = {
|
|
9994
9994
|
...h.value,
|
|
9995
|
-
[
|
|
9995
|
+
[J.value]: e
|
|
9996
9996
|
};
|
|
9997
9997
|
return;
|
|
9998
9998
|
}
|
|
9999
9999
|
let c = await Pu(l.value, t.value, s);
|
|
10000
|
-
N(new Set([
|
|
10000
|
+
N(new Set([J.value])), l.value.setColumnFilterModel(J.value, c).then(() => {
|
|
10001
10001
|
l.value && l.value.onFilterChanged();
|
|
10002
10002
|
});
|
|
10003
|
-
}, vt = r(() =>
|
|
10003
|
+
}, vt = r(() => pe.value ? "all_filters_drawer" : "horizontal"), yt = !1, bt = (e, t) => {
|
|
10004
10004
|
yt = !0;
|
|
10005
|
-
let n =
|
|
10005
|
+
let n = ce.value || "";
|
|
10006
10006
|
dl(() => {
|
|
10007
10007
|
ul("filter_bulk_action", {
|
|
10008
|
-
filter_name:
|
|
10009
|
-
filter_field:
|
|
10008
|
+
filter_name: Y.value,
|
|
10009
|
+
filter_field: J.value,
|
|
10010
10010
|
action: e,
|
|
10011
10011
|
value_count: t,
|
|
10012
10012
|
location: vt.value,
|
|
10013
10013
|
search_query: n
|
|
10014
10014
|
}, c());
|
|
10015
10015
|
});
|
|
10016
|
-
}, xt = (e) => !Z.value || e == null ?
|
|
10016
|
+
}, xt = (e) => !Z.value || e == null ? J.value : Ve(Be(e)) || (Qe(e).field ?? J.value), St = (e, t, n, r) => {
|
|
10017
10017
|
ul("filter_option_selected", {
|
|
10018
|
-
filter_name:
|
|
10018
|
+
filter_name: Y.value,
|
|
10019
10019
|
filter_field: xt(e),
|
|
10020
10020
|
selected_value: Ke(e),
|
|
10021
10021
|
selected_value_id: e,
|
|
@@ -10023,7 +10023,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
10023
10023
|
source: n,
|
|
10024
10024
|
current_selection_count: r,
|
|
10025
10025
|
location: vt.value,
|
|
10026
|
-
search_query:
|
|
10026
|
+
search_query: ce.value || ""
|
|
10027
10027
|
}, c());
|
|
10028
10028
|
}, Ct = (e) => {
|
|
10029
10029
|
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Map();
|
|
@@ -10054,53 +10054,53 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
10054
10054
|
Q.value = e;
|
|
10055
10055
|
}
|
|
10056
10056
|
}), Et = (e, n, r = "click") => {
|
|
10057
|
-
let a = e != null &&
|
|
10058
|
-
if (e &&
|
|
10059
|
-
let t =
|
|
10057
|
+
let a = e != null && G.value.includes(e), o = G.value.slice();
|
|
10058
|
+
if (e && ye.value ? G.value = [e] : e && !a && (G.value = [...G.value, e]), e != null && !a) {
|
|
10059
|
+
let t = G.value.length, n = ye.value;
|
|
10060
10060
|
dl(() => {
|
|
10061
10061
|
if (n) for (let n of o) n !== e && St(n, "deselect", r, t);
|
|
10062
10062
|
St(e, "select", r, t);
|
|
10063
10063
|
});
|
|
10064
10064
|
}
|
|
10065
10065
|
if (Z.value && e) {
|
|
10066
|
-
let r = n || Qo(t.value)[0] ||
|
|
10066
|
+
let r = n || Qo(t.value)[0] || J.value, i = e.startsWith("__") ? e : it(r, e) || e;
|
|
10067
10067
|
Q.value.find((e) => e.id === i) || (Q.value = [...Q.value, {
|
|
10068
10068
|
id: i,
|
|
10069
10069
|
state: "selected"
|
|
10070
10070
|
}]);
|
|
10071
10071
|
}
|
|
10072
|
-
(!j.value ||
|
|
10072
|
+
(!j.value || pe.value) && (Z.value && e ? Mt(Q.value) : n && n !== J.value ? _t(n, [e]) : _t()), i?.();
|
|
10073
10073
|
}, Dt = (e, n, r = "click") => {
|
|
10074
|
-
let a =
|
|
10075
|
-
if (
|
|
10076
|
-
let t =
|
|
10074
|
+
let a = G.value.includes(e);
|
|
10075
|
+
if (G.value = G.value.filter((t) => t !== e), e != null && a) {
|
|
10076
|
+
let t = G.value.length;
|
|
10077
10077
|
dl(() => {
|
|
10078
10078
|
St(e, "deselect", r, t);
|
|
10079
10079
|
});
|
|
10080
10080
|
}
|
|
10081
10081
|
if (Z.value && e) {
|
|
10082
|
-
let r = n || Qo(t.value)[0] ||
|
|
10082
|
+
let r = n || Qo(t.value)[0] || J.value, i = e.startsWith("__") ? e : it(r, e) || e;
|
|
10083
10083
|
Q.value = Q.value.filter((e) => e.id !== i);
|
|
10084
10084
|
}
|
|
10085
|
-
(!j.value ||
|
|
10085
|
+
(!j.value || pe.value) && (Z.value && e ? Mt(Q.value) : n && n !== J.value ? _t(n, null) : _t()), i?.();
|
|
10086
10086
|
}, Ot = () => {
|
|
10087
|
-
|
|
10087
|
+
ge.value = Re(w(J.value)), me.value = !0;
|
|
10088
10088
|
}, kt = () => {
|
|
10089
|
-
|
|
10089
|
+
me.value = !1, ge.value = [], ce.value = "", yt = !1, !o?.value && j.value && !pe.value && (Z.value ? Mt(Q.value, { skipIfUnchanged: !0 }) : _t(void 0, void 0, { skipIfUnchanged: !0 }));
|
|
10090
10090
|
}, At = async (e) => {
|
|
10091
10091
|
if (!l.value) return;
|
|
10092
|
-
let n =
|
|
10093
|
-
r && (
|
|
10092
|
+
let n = ie.value.length, r = !e.parentId;
|
|
10093
|
+
r && (he.value = !0);
|
|
10094
10094
|
try {
|
|
10095
10095
|
await d(t.value, {
|
|
10096
10096
|
api: l.value,
|
|
10097
10097
|
filterModel: p.value ?? void 0,
|
|
10098
10098
|
offset: e.offset ?? n,
|
|
10099
10099
|
parentId: e.parentId,
|
|
10100
|
-
useStaged:
|
|
10100
|
+
useStaged: pe.value
|
|
10101
10101
|
});
|
|
10102
10102
|
} finally {
|
|
10103
|
-
r && (
|
|
10103
|
+
r && (he.value = !1);
|
|
10104
10104
|
}
|
|
10105
10105
|
}, jt = (e, n) => Pc({
|
|
10106
10106
|
baseModel: n,
|
|
@@ -10112,16 +10112,16 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
10112
10112
|
let r = JSON.stringify(e);
|
|
10113
10113
|
if (n?.skipIfUnchanged && r === Me.value) return Q.value = e, !1;
|
|
10114
10114
|
if (Q.value = e, ct(e), Qo(t.value).length === 0) return !1;
|
|
10115
|
-
let a =
|
|
10115
|
+
let a = pe.value ? h.value : l.value.getAdvancedFilterModel(), o = jt(e, a);
|
|
10116
10116
|
if (n?.skipIfUnchanged && Vu(a, o)) return Me.value = r, !1;
|
|
10117
|
-
if (
|
|
10117
|
+
if (pe.value) h.value = o;
|
|
10118
10118
|
else {
|
|
10119
10119
|
let e = o;
|
|
10120
10120
|
v(() => {
|
|
10121
10121
|
l.value?.setAdvancedFilterModel(e);
|
|
10122
10122
|
});
|
|
10123
10123
|
}
|
|
10124
|
-
return Me.value = r, N(Ae(),
|
|
10124
|
+
return Me.value = r, N(Ae(), pe.value), i?.(), !0;
|
|
10125
10125
|
}, Nt = (e) => {
|
|
10126
10126
|
if (!Z.value || !Qo(t.value).length) return;
|
|
10127
10127
|
let n = Ic({
|
|
@@ -10134,15 +10134,15 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
10134
10134
|
let { field: t, value: n } = $e(e.id);
|
|
10135
10135
|
return t ? it(t, n) !== e.id : !1;
|
|
10136
10136
|
}) : !1, Ft = () => {
|
|
10137
|
-
!Z.value || !
|
|
10137
|
+
!Z.value || !W.value || Pt() && Nt(p.value);
|
|
10138
10138
|
};
|
|
10139
|
-
|
|
10140
|
-
Z.value && (ct(e), !(j.value && !
|
|
10141
|
-
}, { deep: !0 }),
|
|
10142
|
-
!e ||
|
|
10143
|
-
}),
|
|
10144
|
-
if (
|
|
10145
|
-
if (
|
|
10139
|
+
H(Q, (e) => {
|
|
10140
|
+
Z.value && (ct(e), !(j.value && !pe.value) && Mt(e));
|
|
10141
|
+
}, { deep: !0 }), H(() => O.value[J.value], (e) => {
|
|
10142
|
+
!e || me.value || oe.value || ae.value && ze(!0);
|
|
10143
|
+
}), H(() => h.value, () => {
|
|
10144
|
+
if (pe.value) {
|
|
10145
|
+
if (W.value) {
|
|
10146
10146
|
let e = [], n = h.value;
|
|
10147
10147
|
if (Z.value) {
|
|
10148
10148
|
let r = Qo(t.value);
|
|
@@ -10150,37 +10150,37 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
10150
10150
|
let r = Wu(t, n);
|
|
10151
10151
|
e.push(...r);
|
|
10152
10152
|
}
|
|
10153
|
-
} else e = Wu(
|
|
10154
|
-
|
|
10153
|
+
} else e = Wu(J.value, n);
|
|
10154
|
+
G.value = e;
|
|
10155
10155
|
return;
|
|
10156
10156
|
}
|
|
10157
|
-
|
|
10157
|
+
de.value === "agSetColumnFilter" ? G.value = h.value?.[J.value]?.values || [] : de.value === "agMultiColumnFilter" ? G.value = h.value?.[J.value]?.filterModels?.find((e) => e && e.filterType === "set")?.values || [] : console.error(`Staged filter model update for filter type ${de.value} is not yet supported.`);
|
|
10158
10158
|
}
|
|
10159
|
-
}),
|
|
10160
|
-
if (
|
|
10159
|
+
}), H(() => p.value, () => {
|
|
10160
|
+
if (pe.value) return;
|
|
10161
10161
|
if (Z.value) {
|
|
10162
|
-
|
|
10162
|
+
W.value && Nt(p.value);
|
|
10163
10163
|
return;
|
|
10164
10164
|
}
|
|
10165
|
-
if (
|
|
10166
|
-
let e = p.value, t = Wu(
|
|
10167
|
-
Pe(
|
|
10165
|
+
if (W.value) {
|
|
10166
|
+
let e = p.value, t = Wu(J.value, e);
|
|
10167
|
+
Pe(G.value.some((e) => e !== null && !t.includes(e)));
|
|
10168
10168
|
return;
|
|
10169
10169
|
}
|
|
10170
10170
|
let e = Fu(t.value, p.value);
|
|
10171
|
-
Pe(
|
|
10172
|
-
}, { deep: !0 }),
|
|
10173
|
-
|
|
10174
|
-
}),
|
|
10175
|
-
e && x.value && !
|
|
10176
|
-
}, { immediate: !0 }),
|
|
10177
|
-
|
|
10178
|
-
|
|
10171
|
+
Pe(G.value.some((t) => !e.includes(t)));
|
|
10172
|
+
}, { deep: !0 }), H(() => g.value, () => {
|
|
10173
|
+
G.value = [], Q.value = [], Me.value = "[]";
|
|
10174
|
+
}), H(() => l.value, (e) => {
|
|
10175
|
+
e && x.value && !me.value && (O.value[J.value] = !0);
|
|
10176
|
+
}, { immediate: !0 }), H(() => U.value, async () => {
|
|
10177
|
+
ae.value && !oe.value && !me.value && (pe.value ? setTimeout(async () => {
|
|
10178
|
+
me.value || await ze(!0);
|
|
10179
10179
|
}, 2e3) : await ze(!0)), Pe();
|
|
10180
|
-
}),
|
|
10181
|
-
if (
|
|
10182
|
-
if (
|
|
10183
|
-
f(
|
|
10180
|
+
}), fe(() => ce.value, async () => {
|
|
10181
|
+
if (me.value) {
|
|
10182
|
+
if (ue.value) {
|
|
10183
|
+
f(J.value);
|
|
10184
10184
|
return;
|
|
10185
10185
|
}
|
|
10186
10186
|
await ze(!0, !0);
|
|
@@ -10192,70 +10192,70 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
10192
10192
|
}, Lt = (e) => {
|
|
10193
10193
|
dl(() => {
|
|
10194
10194
|
ul("filter_search", {
|
|
10195
|
-
filter_name:
|
|
10196
|
-
filter_field:
|
|
10195
|
+
filter_name: Y.value,
|
|
10196
|
+
filter_field: J.value,
|
|
10197
10197
|
query: e,
|
|
10198
10198
|
result_count: It(e),
|
|
10199
10199
|
location: vt.value
|
|
10200
10200
|
}, c());
|
|
10201
10201
|
});
|
|
10202
10202
|
}, Rt = null;
|
|
10203
|
-
return
|
|
10204
|
-
if (!e ||
|
|
10203
|
+
return fe(() => ce.value, (e) => {
|
|
10204
|
+
if (!e || ue.value) {
|
|
10205
10205
|
Rt = null;
|
|
10206
10206
|
return;
|
|
10207
10207
|
}
|
|
10208
|
-
if (
|
|
10208
|
+
if (K.value) {
|
|
10209
10209
|
Rt = e;
|
|
10210
10210
|
return;
|
|
10211
10211
|
}
|
|
10212
10212
|
Lt(e);
|
|
10213
|
-
}, { debounce: 500 }),
|
|
10213
|
+
}, { debounce: 500 }), H(() => K.value, (e) => {
|
|
10214
10214
|
if (e || Rt == null) return;
|
|
10215
10215
|
let t = Rt;
|
|
10216
|
-
Rt = null,
|
|
10216
|
+
Rt = null, ce.value === t && Lt(t);
|
|
10217
10217
|
}), T(() => {
|
|
10218
|
-
F(
|
|
10218
|
+
F(J.value);
|
|
10219
10219
|
let e = Qo(t.value);
|
|
10220
|
-
if (e.length && P(
|
|
10221
|
-
let e = Z.value || (Ko(t.value).metadataDisplayFields?.length ?? 0) > 0, n = Z.value &&
|
|
10220
|
+
if (e.length && P(J.value, e), Pe(), Z.value && W.value && Nt(p.value), o?.value && x.value && l.value) {
|
|
10221
|
+
let e = Z.value || (Ko(t.value).metadataDisplayFields?.length ?? 0) > 0, n = Z.value && W.value ? Qo(t.value).some((e) => Wu(e, p.value).length > 0) : G.value.length > 0;
|
|
10222
10222
|
e && n && d(t.value, {
|
|
10223
10223
|
api: l.value,
|
|
10224
10224
|
filterModel: p.value ?? void 0
|
|
10225
10225
|
});
|
|
10226
10226
|
}
|
|
10227
|
-
Z.value || Ko(t.value).metadataDisplayFields?.length &&
|
|
10227
|
+
Z.value || Ko(t.value).metadataDisplayFields?.length && G.value.some((e) => qe(e)) && ze(!0, !0);
|
|
10228
10228
|
}), E(() => {
|
|
10229
|
-
ee(
|
|
10229
|
+
ee(J.value), j.value && !pe.value && (Z.value ? Mt(Q.value, { skipIfUnchanged: !0 }) : _t(void 0, void 0, { skipIfUnchanged: !0 }));
|
|
10230
10230
|
}), {
|
|
10231
|
-
selectedValues:
|
|
10232
|
-
filterValues:
|
|
10233
|
-
isLoading:
|
|
10234
|
-
isSeeMoreLoading:
|
|
10235
|
-
filterSearchText:
|
|
10236
|
-
filterSearchMinLength:
|
|
10237
|
-
belowFilterSearchMinLength:
|
|
10238
|
-
rowsLoading:
|
|
10231
|
+
selectedValues: G,
|
|
10232
|
+
filterValues: ie,
|
|
10233
|
+
isLoading: K,
|
|
10234
|
+
isSeeMoreLoading: he,
|
|
10235
|
+
filterSearchText: ce,
|
|
10236
|
+
filterSearchMinLength: le,
|
|
10237
|
+
belowFilterSearchMinLength: ue,
|
|
10238
|
+
rowsLoading: re,
|
|
10239
10239
|
gridApi: l,
|
|
10240
|
-
filterField:
|
|
10241
|
-
filterType:
|
|
10242
|
-
filterDisplayName:
|
|
10243
|
-
isInFilterPanel:
|
|
10244
|
-
maxSelectableValues:
|
|
10245
|
-
isSingleSelect:
|
|
10246
|
-
selectionLimitReached:
|
|
10247
|
-
suggestedValues:
|
|
10240
|
+
filterField: J,
|
|
10241
|
+
filterType: de,
|
|
10242
|
+
filterDisplayName: Y,
|
|
10243
|
+
isInFilterPanel: pe,
|
|
10244
|
+
maxSelectableValues: ve,
|
|
10245
|
+
isSingleSelect: ye,
|
|
10246
|
+
selectionLimitReached: De,
|
|
10247
|
+
suggestedValues: Oe,
|
|
10248
10248
|
displayedFilterValues: mt,
|
|
10249
10249
|
selectedFilterValues: ht,
|
|
10250
|
-
showSearchBar:
|
|
10250
|
+
showSearchBar: Se,
|
|
10251
10251
|
filterSearchPlaceholder: Ze,
|
|
10252
|
-
emptyFilterResultsRenderer:
|
|
10253
|
-
filterOptionsRenderer:
|
|
10254
|
-
filterHeaderRenderer:
|
|
10255
|
-
filterFooterRenderer:
|
|
10256
|
-
filterOptionsSortDescription:
|
|
10257
|
-
filterOptionsSortTooltip:
|
|
10258
|
-
totalOptionCount:
|
|
10252
|
+
emptyFilterResultsRenderer: Ce,
|
|
10253
|
+
filterOptionsRenderer: we,
|
|
10254
|
+
filterHeaderRenderer: Te,
|
|
10255
|
+
filterFooterRenderer: Ee,
|
|
10256
|
+
filterOptionsSortDescription: be,
|
|
10257
|
+
filterOptionsSortTooltip: xe,
|
|
10258
|
+
totalOptionCount: X,
|
|
10259
10259
|
hasMoreOptions: ke,
|
|
10260
10260
|
isAggregate: Z,
|
|
10261
10261
|
cascadeSelectionState: Q,
|
|
@@ -10401,28 +10401,28 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
10401
10401
|
}, B = () => {
|
|
10402
10402
|
x.value ||= (j.value = S.value, O(), F(), !0);
|
|
10403
10403
|
};
|
|
10404
|
-
|
|
10404
|
+
H(f, () => {
|
|
10405
10405
|
if (!(g.value && x.value)) {
|
|
10406
10406
|
_.value.clear();
|
|
10407
10407
|
for (let e of C.value.fields) N(e) && _.value.add(e);
|
|
10408
10408
|
}
|
|
10409
10409
|
}, { immediate: !0 });
|
|
10410
|
-
let V = r(() => d.value),
|
|
10410
|
+
let V = r(() => d.value), te = r(() => C.value.fields.map((e) => ({
|
|
10411
10411
|
field: e,
|
|
10412
10412
|
label: P(e),
|
|
10413
10413
|
isSelected: _.value.has(e),
|
|
10414
10414
|
isAvailable: !b.value.has(e)
|
|
10415
|
-
}))),
|
|
10415
|
+
}))), ne = r(() => V.value ? te.value.filter((e) => e.isSelected) : te.value);
|
|
10416
10416
|
E(() => {
|
|
10417
10417
|
x.value = !1, _.value.clear(), b.value.clear();
|
|
10418
10418
|
});
|
|
10419
|
-
let
|
|
10419
|
+
let re = r(() => _.value.size);
|
|
10420
10420
|
return n({
|
|
10421
10421
|
openForTest: () => {
|
|
10422
10422
|
F(), x.value = !0;
|
|
10423
10423
|
},
|
|
10424
10424
|
selectedValues: _
|
|
10425
|
-
}), (e, n) =>
|
|
10425
|
+
}), (e, n) => W((D(), o("div", {
|
|
10426
10426
|
ref_key: "triggerWrapper",
|
|
10427
10427
|
ref: S,
|
|
10428
10428
|
style: { "padding-bottom": "4px" },
|
|
@@ -10437,7 +10437,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
10437
10437
|
id: C.value.label,
|
|
10438
10438
|
text: C.value.label,
|
|
10439
10439
|
"class-list": ["pv-menu-nested"],
|
|
10440
|
-
"secondary-text":
|
|
10440
|
+
"secondary-text": re.value || void 0
|
|
10441
10441
|
}, null, 8, [
|
|
10442
10442
|
"id",
|
|
10443
10443
|
"text",
|
|
@@ -10451,8 +10451,8 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
10451
10451
|
...I(T)
|
|
10452
10452
|
}
|
|
10453
10453
|
}, {
|
|
10454
|
-
default:
|
|
10455
|
-
x.value &&
|
|
10454
|
+
default: U(() => [
|
|
10455
|
+
x.value && ne.value.length > 0 ? (D(), o("ul", sd, [(D(!0), o(t, null, A(ne.value, (e) => (D(), o(t, { key: e.field }, [e.isAvailable ? (D(), o("li", {
|
|
10456
10456
|
key: 0,
|
|
10457
10457
|
"data-active": e.isSelected ? "true" : null
|
|
10458
10458
|
}, [u(co, {
|
|
@@ -10474,14 +10474,14 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
10474
10474
|
"disable-interactive": !0,
|
|
10475
10475
|
style: { width: "100%" }
|
|
10476
10476
|
}, {
|
|
10477
|
-
label:
|
|
10477
|
+
label: U(() => [u(co, {
|
|
10478
10478
|
config: { variant: "checkbox" },
|
|
10479
10479
|
id: e.field,
|
|
10480
10480
|
text: e.label,
|
|
10481
10481
|
disabled: !0,
|
|
10482
10482
|
"class-list": ["pv-chart-option pv-flex"]
|
|
10483
10483
|
}, null, 8, ["id", "text"])]),
|
|
10484
|
-
"tooltip-content":
|
|
10484
|
+
"tooltip-content": U(() => [...n[0] ||= [l("No entries in the result set", -1)]]),
|
|
10485
10485
|
_: 2
|
|
10486
10486
|
}, 1024)]))], 64))), 128))])) : a("", !0),
|
|
10487
10487
|
x.value && V.value ? (D(), o("div", ud, [u(wt, { variant: "dark" })])) : a("", !0),
|
|
@@ -10565,44 +10565,44 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
10565
10565
|
"handle-settings-icon"
|
|
10566
10566
|
],
|
|
10567
10567
|
setup(e, { emit: n }) {
|
|
10568
|
-
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: P, filterField: L, filterDisplayName: R, isInFilterPanel: z, suggestedValues: B, displayedFilterValues: V, selectedFilterValues:
|
|
10568
|
+
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: P, filterField: L, filterDisplayName: R, isInFilterPanel: z, suggestedValues: B, displayedFilterValues: V, selectedFilterValues: te, showSearchBar: ne, filterSearchPlaceholder: re, emptyFilterResultsRenderer: H, filterOptionsRenderer: W, filterHeaderRenderer: G, filterFooterRenderer: ie, filterOptionsSortDescription: K, filterOptionsSortTooltip: ae, filterValueContext: oe, formatDisplayValue: se, resolvedFilterValueContext: q, isUnresolvedMetadataValue: ce, getLatestFilterValues: le, addSelectedValue: ue, removeSelectedValue: J, recordBulkAction: de, rumLocation: fe, handleDropdownOpen: Y, handleDropdownClosed: pe, handleSeeMore: me, getColDisplayNameForField: he, hasMoreOptions: ge, totalOptionCount: _e, isAggregate: ve, cascadeSelectionState: ye, cascadeSelectionStateModel: be } = ad({
|
|
10569
10569
|
filterColDef: ee(d, "filterColDef"),
|
|
10570
10570
|
filterStyle: ee(d, "filterStyle"),
|
|
10571
10571
|
onSelectionChanged: () => f("filter-selection-changed"),
|
|
10572
10572
|
filterGroupStagedFields: x,
|
|
10573
10573
|
readOnly: ee(d, "readOnly"),
|
|
10574
10574
|
disableUnselected: ee(d, "disableUnselected")
|
|
10575
|
-
}),
|
|
10575
|
+
}), xe = ll(), { handleFocusUpdate: Se, isFocused: Ce, removeFocus: we, isFocusable: Te, canRemoveFocus: Ee } = nu(), De = (e) => {
|
|
10576
10576
|
if (e.context?.metadata?.rawValue != null) return String(e.context.metadata.rawValue);
|
|
10577
10577
|
if (e.id.startsWith("__")) {
|
|
10578
10578
|
let t = e.id.slice(2).split("__");
|
|
10579
10579
|
if (t.length >= 2) return t[1];
|
|
10580
10580
|
}
|
|
10581
10581
|
return e.id;
|
|
10582
|
-
},
|
|
10583
|
-
if (
|
|
10582
|
+
}, Oe = r(() => {
|
|
10583
|
+
if (Te(es(d.filterColDef) ? Qo(d.filterColDef) : [L.value])) return {
|
|
10584
10584
|
icon: "focus",
|
|
10585
|
-
isDisabled: (e) => !
|
|
10585
|
+
isDisabled: (e) => !Te([e.context?.colField || L.value]),
|
|
10586
10586
|
tooltipText: (e) => {
|
|
10587
10587
|
let t = e.context?.colField || L.value;
|
|
10588
|
-
if (!
|
|
10589
|
-
let n =
|
|
10590
|
-
return n && !
|
|
10588
|
+
if (!Te([t])) return `Group by ${he(t)} to enable ${d.focusText}`;
|
|
10589
|
+
let n = Ce(ve.value ? De(e) : e.id, t);
|
|
10590
|
+
return n && !Ee() ? `${d.focusText} (required)` : n ? `Remove ${d.focusText}` : `Select as ${d.focusText}`;
|
|
10591
10591
|
},
|
|
10592
10592
|
action: (e) => {
|
|
10593
|
-
e && !C.value.includes(e.id) &&
|
|
10593
|
+
e && !C.value.includes(e.id) && ue(e.id, e.context?.colField);
|
|
10594
10594
|
let t = e.context?.colField || L.value;
|
|
10595
|
-
|
|
10595
|
+
Se(ve.value ? De(e) : e.id, t);
|
|
10596
10596
|
},
|
|
10597
10597
|
alwaysShow: (e) => {
|
|
10598
10598
|
let t = e.context?.colField || L.value;
|
|
10599
|
-
return
|
|
10599
|
+
return Ce(ve.value ? De(e) : e.id, t);
|
|
10600
10600
|
}
|
|
10601
10601
|
};
|
|
10602
|
-
}),
|
|
10602
|
+
}), X = (e) => {
|
|
10603
10603
|
if (!e) return null;
|
|
10604
|
-
if (!
|
|
10605
|
-
let t =
|
|
10604
|
+
if (!ve.value) return e;
|
|
10605
|
+
let t = q(e);
|
|
10606
10606
|
if (t?.metadata?.rawValue != null) return String(t.metadata.rawValue);
|
|
10607
10607
|
if (e.startsWith("__")) {
|
|
10608
10608
|
let t = e.slice(2).split("__");
|
|
@@ -10610,17 +10610,17 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
10610
10610
|
}
|
|
10611
10611
|
return e;
|
|
10612
10612
|
}, ke = (e) => {
|
|
10613
|
-
|
|
10614
|
-
let t =
|
|
10615
|
-
|
|
10613
|
+
J(e, void 0, "remove_chip");
|
|
10614
|
+
let t = q(e)?.colField || L.value, n = X(e);
|
|
10615
|
+
Ce(n, t) && Ee() && we(n);
|
|
10616
10616
|
}, Z = m(Ll, k(!1)), Ae = r(() => !!Ko(d.filterColDef).filterGroup && Z.value), je = null, Q = null, Me = () => {
|
|
10617
10617
|
try {
|
|
10618
|
-
return
|
|
10618
|
+
return ve.value ? JSON.stringify(ye.value) : JSON.stringify([...C.value].sort());
|
|
10619
10619
|
} catch {
|
|
10620
10620
|
return null;
|
|
10621
10621
|
}
|
|
10622
10622
|
}, Ne = () => {
|
|
10623
|
-
je = Date.now(), Q = Me(),
|
|
10623
|
+
je = Date.now(), Q = Me(), Y(), le(!0);
|
|
10624
10624
|
}, Pe = () => {
|
|
10625
10625
|
let e = je == null ? 0 : Date.now() - je;
|
|
10626
10626
|
je = null;
|
|
@@ -10634,18 +10634,18 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
10634
10634
|
selection_count: r,
|
|
10635
10635
|
selection_changed: n,
|
|
10636
10636
|
dwell_ms: e,
|
|
10637
|
-
location:
|
|
10638
|
-
},
|
|
10637
|
+
location: fe.value
|
|
10638
|
+
}, xe());
|
|
10639
10639
|
}), v(() => {
|
|
10640
|
-
|
|
10640
|
+
pe(), f("filter-closed");
|
|
10641
10641
|
});
|
|
10642
10642
|
}, Fe = (e) => {
|
|
10643
|
-
let t =
|
|
10644
|
-
return
|
|
10645
|
-
}, Ie = r(() => S.value > 0 ? !0 :
|
|
10646
|
-
return (n, r) => (D(), o(t, null, [s("div", null, [I(z) && I(C).length > 0 ? (D(), o("ul", fd, [(D(!0), o(t, null, A(I(C), (n) => (D(), o(t, { key: `${I(R)}-${n}` }, [I(
|
|
10647
|
-
label: I(
|
|
10648
|
-
showClear: !e.readOnly && (!Fe(n) || I(
|
|
10643
|
+
let t = q(e)?.colField || L.value;
|
|
10644
|
+
return Ce(X(e), t);
|
|
10645
|
+
}, Ie = r(() => S.value > 0 ? !0 : ve.value ? ye.value.length > 0 : C.value.length > 0);
|
|
10646
|
+
return (n, r) => (D(), o(t, null, [s("div", null, [I(z) && I(C).length > 0 ? (D(), o("ul", fd, [(D(!0), o(t, null, A(I(C), (n) => (D(), o(t, { key: `${I(R)}-${n}` }, [I(ce)(n) ? a("", !0) : (D(), o("li", pd, [u(zs, {
|
|
10647
|
+
label: I(se)(n) || "",
|
|
10648
|
+
showClear: !e.readOnly && (!Fe(n) || I(Ee)()),
|
|
10649
10649
|
disabled: e.readOnly,
|
|
10650
10650
|
onHandleClose: (e) => ke(n)
|
|
10651
10651
|
}, null, 8, [
|
|
@@ -10654,13 +10654,13 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
10654
10654
|
"disabled",
|
|
10655
10655
|
"onHandleClose"
|
|
10656
10656
|
])]))], 64))), 128))])) : a("", !0), u(I(pc), {
|
|
10657
|
-
modelValue: I(
|
|
10658
|
-
"onUpdate:modelValue": r[1] ||= (e) => h(
|
|
10657
|
+
modelValue: I(te),
|
|
10658
|
+
"onUpdate:modelValue": r[1] ||= (e) => h(te) ? te.value = e : null,
|
|
10659
10659
|
disabled: !I(z) && e.readOnly && e.disableUnselected && !Ie.value,
|
|
10660
10660
|
searchInput: I(E),
|
|
10661
10661
|
"onUpdate:searchInput": r[2] ||= (e) => h(E) ? E.value = e : null,
|
|
10662
|
-
selectionState: I(
|
|
10663
|
-
"onUpdate:selectionState": r[3] ||= (e) => h(
|
|
10662
|
+
selectionState: I(be),
|
|
10663
|
+
"onUpdate:selectionState": r[3] ||= (e) => h(be) ? be.value = e : null,
|
|
10664
10664
|
"data-horizontal-filter-field": I(z) ? void 0 : I(L),
|
|
10665
10665
|
label: I(z) ? "" : I(R),
|
|
10666
10666
|
rumFilterName: I(R),
|
|
@@ -10669,12 +10669,12 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
10669
10669
|
variant: I(z) ? "ghost" : "secondary",
|
|
10670
10670
|
counterPosition: !I(z) && Ie.value ? void 0 : "none",
|
|
10671
10671
|
menuActionsVariant: e.readOnly ? null : "select-clear",
|
|
10672
|
-
disableSearchInput: e.readOnly || !I(
|
|
10673
|
-
searchPlaceholder: I(
|
|
10672
|
+
disableSearchInput: e.readOnly || !I(ne),
|
|
10673
|
+
searchPlaceholder: I(re),
|
|
10674
10674
|
overlayTrigger: I(z),
|
|
10675
10675
|
options: I(V),
|
|
10676
|
-
optionsRenderer: I(
|
|
10677
|
-
optionsAction:
|
|
10676
|
+
optionsRenderer: I(W),
|
|
10677
|
+
optionsAction: Oe.value,
|
|
10678
10678
|
popoverCssProperties: {
|
|
10679
10679
|
maxHeight: "400px",
|
|
10680
10680
|
maxWidth: I(z) ? "300px" : "400px",
|
|
@@ -10686,12 +10686,12 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
10686
10686
|
groupings: ["preferences", "suggestions"],
|
|
10687
10687
|
isLoading: I(w),
|
|
10688
10688
|
isSeeMoreLoading: I(T),
|
|
10689
|
-
hasMoreOptions: I(
|
|
10690
|
-
totalOptionCount: I(
|
|
10691
|
-
enableCascadeSelection: I(
|
|
10692
|
-
enableChildExpansion: I(
|
|
10693
|
-
parentSelectsAllChildren: I(
|
|
10694
|
-
countSelectedParents: I(
|
|
10689
|
+
hasMoreOptions: I(ge),
|
|
10690
|
+
totalOptionCount: I(_e),
|
|
10691
|
+
enableCascadeSelection: I(ve),
|
|
10692
|
+
enableChildExpansion: I(ve),
|
|
10693
|
+
parentSelectsAllChildren: I(ve),
|
|
10694
|
+
countSelectedParents: I(ve),
|
|
10695
10695
|
additionalCounter: S.value,
|
|
10696
10696
|
slotContext: {
|
|
10697
10697
|
gridApi: I(P),
|
|
@@ -10700,25 +10700,25 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
10700
10700
|
},
|
|
10701
10701
|
onDropdownOpen: Ne,
|
|
10702
10702
|
onDropdownClosed: Pe,
|
|
10703
|
-
onSeeMore: I(
|
|
10704
|
-
onSelectAll: r[4] ||= (e) => I(
|
|
10705
|
-
onClearAll: r[5] ||= (e) => I(
|
|
10703
|
+
onSeeMore: I(me),
|
|
10704
|
+
onSelectAll: r[4] ||= (e) => I(de)("select_all", e),
|
|
10705
|
+
onClearAll: r[5] ||= (e) => I(de)("clear_all", e)
|
|
10706
10706
|
}, c({
|
|
10707
|
-
preferences:
|
|
10707
|
+
preferences: U(() => [s("div", hd, [r[7] ||= s("p", { class: "pv-text-subdued pv-text-body-xxs" }, "Your Preferences", -1), u(I(zi), {
|
|
10708
10708
|
variant: "dark",
|
|
10709
10709
|
size: "sm",
|
|
10710
10710
|
"use-teleport": !0
|
|
10711
10711
|
}, {
|
|
10712
|
-
trigger:
|
|
10712
|
+
trigger: U(() => [u(Mn, {
|
|
10713
10713
|
size: "md",
|
|
10714
10714
|
variant: "ghost",
|
|
10715
10715
|
onClick: r[0] ||= (e) => n.$emit("handle-settings-icon", I(R)),
|
|
10716
10716
|
"right-icon": "sliders-horizontal"
|
|
10717
10717
|
})]),
|
|
10718
|
-
content:
|
|
10718
|
+
content: U(() => [...r[6] ||= [l(" Open Preferences ", -1)]]),
|
|
10719
10719
|
_: 1
|
|
10720
10720
|
})])]),
|
|
10721
|
-
suggestions:
|
|
10721
|
+
suggestions: U(() => [s("div", gd, [u(I(zi), {
|
|
10722
10722
|
variant: "dark",
|
|
10723
10723
|
disableInteractive: !0,
|
|
10724
10724
|
position: "top-left",
|
|
@@ -10726,18 +10726,18 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
10726
10726
|
"use-teleport": !0,
|
|
10727
10727
|
style: { "--max-width": "200px" }
|
|
10728
10728
|
}, c({
|
|
10729
|
-
trigger:
|
|
10729
|
+
trigger: U(() => [s("p", { class: y(["pv-text-subdued pv-text-body-xxs", I(ae) ? "suggested-title-label" : ""]) }, F(I(K)), 3)]),
|
|
10730
10730
|
_: 2
|
|
10731
|
-
}, [I(
|
|
10731
|
+
}, [I(ae) ? {
|
|
10732
10732
|
name: "content",
|
|
10733
|
-
fn:
|
|
10733
|
+
fn: U(() => [l(F(I(ae)), 1)]),
|
|
10734
10734
|
key: "0"
|
|
10735
10735
|
} : void 0]), 1024)])]),
|
|
10736
10736
|
_: 2
|
|
10737
10737
|
}, [
|
|
10738
|
-
I(
|
|
10738
|
+
I(G) || Ae.value || I(j) ? {
|
|
10739
10739
|
name: "header",
|
|
10740
|
-
fn:
|
|
10740
|
+
fn: U((t) => [
|
|
10741
10741
|
I(j) ? (D(), o("p", md, " Type " + F(I(O)) + " or more characters to search ", 1)) : a("", !0),
|
|
10742
10742
|
Ae.value ? (D(), i(dd, {
|
|
10743
10743
|
key: 1,
|
|
@@ -10746,18 +10746,18 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
10746
10746
|
class: "pv-stack-8",
|
|
10747
10747
|
"filter-col-def": e.filterColDef
|
|
10748
10748
|
}, null, 8, ["filter-col-def"])) : a("", !0),
|
|
10749
|
-
I(
|
|
10749
|
+
I(G) ? (D(), i(N(I(G)), b(_({ key: 2 }, t)), null, 16)) : a("", !0)
|
|
10750
10750
|
]),
|
|
10751
10751
|
key: "0"
|
|
10752
10752
|
} : void 0,
|
|
10753
|
-
I(
|
|
10753
|
+
I(H) ? {
|
|
10754
10754
|
name: "no-results",
|
|
10755
|
-
fn:
|
|
10755
|
+
fn: U((e) => [(D(), i(N(I(H)), b(p(e)), null, 16))]),
|
|
10756
10756
|
key: "1"
|
|
10757
10757
|
} : void 0,
|
|
10758
|
-
I(
|
|
10758
|
+
I(ie) ? {
|
|
10759
10759
|
name: "footer",
|
|
10760
|
-
fn:
|
|
10760
|
+
fn: U((e) => [(D(), i(N(I(ie)), b(p(e)), null, 16))]),
|
|
10761
10761
|
key: "2"
|
|
10762
10762
|
} : void 0
|
|
10763
10763
|
]), 1032, /* @__PURE__ */ "modelValue.disabled.searchInput.selectionState.data-horizontal-filter-field.label.rumFilterName.icon.variant.counterPosition.menuActionsVariant.disableSearchInput.searchPlaceholder.overlayTrigger.options.optionsRenderer.optionsAction.popoverCssProperties.disableClearIcon.disableDropdownIcon.isLoading.isSeeMoreLoading.hasMoreOptions.totalOptionCount.enableCascadeSelection.enableChildExpansion.parentSelectsAllChildren.countSelectedParents.additionalCounter.slotContext.onSeeMore".split("."))]), I(z) && !e.readOnly ? (D(), o("div", _d, [I(B).length > 0 ? (D(), o("div", vd, [s("ul", yd, [u(I(zi), {
|
|
@@ -10768,11 +10768,11 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
10768
10768
|
"use-teleport": !0,
|
|
10769
10769
|
style: { "--max-width": "200px" }
|
|
10770
10770
|
}, c({
|
|
10771
|
-
trigger:
|
|
10771
|
+
trigger: U(() => [s("li", bd, [s("p", { class: y(["pv-text-subdued pv-text-body-md", I(ae) ? "suggested-title-label" : ""]) }, " Suggested: ", 2)])]),
|
|
10772
10772
|
_: 2
|
|
10773
|
-
}, [I(
|
|
10773
|
+
}, [I(ae) ? {
|
|
10774
10774
|
name: "content",
|
|
10775
|
-
fn:
|
|
10775
|
+
fn: U(() => [l(F(I(ae)), 1)]),
|
|
10776
10776
|
key: "0"
|
|
10777
10777
|
} : void 0]), 1024), (D(!0), o(t, null, A(I(B).filter((e) => e !== "" && e != null).slice(0, xd), (e) => (D(), o("li", {
|
|
10778
10778
|
key: `${I(R)}-${e}-suggest`,
|
|
@@ -10783,8 +10783,8 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
10783
10783
|
}
|
|
10784
10784
|
}, [u(I(Ys), {
|
|
10785
10785
|
disabled: I(w),
|
|
10786
|
-
label: I(
|
|
10787
|
-
onHandleClick: (t) => I(
|
|
10786
|
+
label: I(se)(e) || "",
|
|
10787
|
+
onHandleClick: (t) => I(ue)(e, I(oe)(I(L), e)?.colField)
|
|
10788
10788
|
}, null, 8, [
|
|
10789
10789
|
"disabled",
|
|
10790
10790
|
"label",
|
|
@@ -10861,7 +10861,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
10861
10861
|
return;
|
|
10862
10862
|
}
|
|
10863
10863
|
n.filterType === "join" && Array.isArray(n.conditions) && n.conditions.forEach((e) => V(e, t));
|
|
10864
|
-
},
|
|
10864
|
+
}, te = r(() => {
|
|
10865
10865
|
let e = _.value;
|
|
10866
10866
|
if (f.value && n.value) {
|
|
10867
10867
|
let t = /* @__PURE__ */ new Set();
|
|
@@ -10869,11 +10869,11 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
10869
10869
|
}
|
|
10870
10870
|
let t = _.value || {};
|
|
10871
10871
|
return Object.keys(t).length;
|
|
10872
|
-
}),
|
|
10873
|
-
|
|
10874
|
-
},
|
|
10872
|
+
}), ne = k(!1), re = () => {
|
|
10873
|
+
ne.value = !0;
|
|
10874
|
+
}, H = () => {
|
|
10875
10875
|
if (n.value) {
|
|
10876
|
-
|
|
10876
|
+
ne.value = !1, S(), v(), f.value ? g.value = n.value.getAdvancedFilterModel() : g.value = n.value.getFilterModel(), E.value = !0;
|
|
10877
10877
|
for (let e of R.value) {
|
|
10878
10878
|
let t = e.field;
|
|
10879
10879
|
if (!t) continue;
|
|
@@ -10885,14 +10885,14 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
10885
10885
|
});
|
|
10886
10886
|
}
|
|
10887
10887
|
}
|
|
10888
|
-
}, { clearAllFocuses:
|
|
10889
|
-
n.value && (S(), g.value = null, f.value ? n.value.setAdvancedFilterModel(null) : (n.value.setFilterModel(null), n.value.onFilterChanged()), h.value += 1,
|
|
10890
|
-
}, re = () => {
|
|
10891
|
-
E.value = !1, j.value = "";
|
|
10892
|
-
}, q = () => {
|
|
10893
|
-
b(), S(), g.value = null, re();
|
|
10888
|
+
}, { clearAllFocuses: W } = nu(), G = () => {
|
|
10889
|
+
n.value && (S(), g.value = null, f.value ? n.value.setAdvancedFilterModel(null) : (n.value.setFilterModel(null), n.value.onFilterChanged()), h.value += 1, W(), O.value = !1);
|
|
10894
10890
|
}, ie = () => {
|
|
10895
|
-
|
|
10891
|
+
E.value = !1, j.value = "";
|
|
10892
|
+
}, K = () => {
|
|
10893
|
+
b(), S(), g.value = null, ie();
|
|
10894
|
+
}, ae = () => {
|
|
10895
|
+
b(), ne.value && n.value && (x(), f.value ? n.value.setAdvancedFilterModel(g.value) : (n.value.setFilterModel(g.value), n.value.onFilterChanged())), g.value = null, ie();
|
|
10896
10896
|
};
|
|
10897
10897
|
return (e, r) => (D(), o(t, null, [s("div", Cd, [
|
|
10898
10898
|
(D(!0), o(t, null, A(B.value, (s) => (D(), o(t, { key: s.field }, [I(n) ? (D(), i(Sd, {
|
|
@@ -10915,12 +10915,12 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
10915
10915
|
s("div", wd, [p.enableVerticalPanel ? (D(), i(I(Mn), {
|
|
10916
10916
|
key: 0,
|
|
10917
10917
|
label: "All Filters",
|
|
10918
|
-
onClick:
|
|
10918
|
+
onClick: H,
|
|
10919
10919
|
variant: "ghost",
|
|
10920
10920
|
"left-icon": "filter",
|
|
10921
10921
|
"data-dd-action-name": "Open All Filters drawer",
|
|
10922
|
-
"right-counter-badge": p.readOnly &&
|
|
10923
|
-
}, null, 8, ["right-counter-badge"])) : a("", !0),
|
|
10922
|
+
"right-counter-badge": p.readOnly && te.value > 0 ? te.value : void 0
|
|
10923
|
+
}, null, 8, ["right-counter-badge"])) : a("", !0), te.value > 0 && !p.readOnly ? (D(), o("button", {
|
|
10924
10924
|
key: 1,
|
|
10925
10925
|
class: "pv-button-ghost",
|
|
10926
10926
|
"data-dd-action-name": "Clear all page filters",
|
|
@@ -10928,9 +10928,9 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
10928
10928
|
}, [
|
|
10929
10929
|
u(I(On), { name: "close" }),
|
|
10930
10930
|
r[13] ||= l(" Clear All Filters ", -1),
|
|
10931
|
-
|
|
10931
|
+
te.value > 0 ? (D(), i(I(kn), {
|
|
10932
10932
|
key: 0,
|
|
10933
|
-
value:
|
|
10933
|
+
value: te.value,
|
|
10934
10934
|
variant: "tertiary"
|
|
10935
10935
|
}, null, 8, ["value"])) : a("", !0)
|
|
10936
10936
|
])) : a("", !0)]),
|
|
@@ -10940,48 +10940,48 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
10940
10940
|
"onUpdate:modelValue": r[9] ||= (e) => E.value = e,
|
|
10941
10941
|
class: "pv-drawer pv-surface",
|
|
10942
10942
|
"close-on-click-outside": !0,
|
|
10943
|
-
onClickOutside: r[10] ||= (e) =>
|
|
10943
|
+
onClickOutside: r[10] ||= (e) => ae(),
|
|
10944
10944
|
style: {
|
|
10945
10945
|
"max-width": "450px",
|
|
10946
10946
|
"z-index": "10"
|
|
10947
10947
|
}
|
|
10948
10948
|
}, {
|
|
10949
|
-
header:
|
|
10949
|
+
header: U(() => [s("div", Td, [s("p", Ed, "All Filters (" + F(R.value.length) + ")", 1), s("button", {
|
|
10950
10950
|
class: "pv-button-ghost",
|
|
10951
10951
|
"aria-label": "Close",
|
|
10952
|
-
onClick: r[2] ||= (e) =>
|
|
10952
|
+
onClick: r[2] ||= (e) => K()
|
|
10953
10953
|
}, [u(I(On), { name: "close" })])]), u(I(sa), {
|
|
10954
10954
|
modelValue: j.value,
|
|
10955
10955
|
"onUpdate:modelValue": r[3] ||= (e) => j.value = e,
|
|
10956
10956
|
placeholder: "Search Filters"
|
|
10957
10957
|
}, null, 8, ["modelValue"])]),
|
|
10958
|
-
footer:
|
|
10958
|
+
footer: U(() => [s("div", Md, [p.readOnly ? (D(), i(I(Mn), {
|
|
10959
10959
|
key: 1,
|
|
10960
10960
|
variant: "ghost",
|
|
10961
10961
|
label: "Close",
|
|
10962
|
-
onClick: r[8] ||= (e) =>
|
|
10962
|
+
onClick: r[8] ||= (e) => K()
|
|
10963
10963
|
})) : (D(), o(t, { key: 0 }, [s("button", {
|
|
10964
10964
|
class: "pv-button-ghost",
|
|
10965
10965
|
"data-dd-action-name": "Clear all page filters",
|
|
10966
|
-
onClick: r[5] ||= (e) =>
|
|
10966
|
+
onClick: r[5] ||= (e) => G()
|
|
10967
10967
|
}, " Clear All "), s("div", Nd, [u(I(Mn), {
|
|
10968
10968
|
variant: "ghost",
|
|
10969
10969
|
label: "Cancel",
|
|
10970
10970
|
"data-dd-action-name": "Cancel filter changes",
|
|
10971
|
-
onClick: r[6] ||= (e) =>
|
|
10972
|
-
}),
|
|
10971
|
+
onClick: r[6] ||= (e) => K()
|
|
10972
|
+
}), ne.value ? (D(), i(I(Mn), {
|
|
10973
10973
|
key: 0,
|
|
10974
10974
|
variant: "primary",
|
|
10975
10975
|
label: "Apply",
|
|
10976
10976
|
"data-dd-action-name": "Apply filters",
|
|
10977
|
-
onClick: r[7] ||= (e) =>
|
|
10977
|
+
onClick: r[7] ||= (e) => ae()
|
|
10978
10978
|
})) : (D(), i(I(Mn), {
|
|
10979
10979
|
key: 1,
|
|
10980
10980
|
variant: "primary",
|
|
10981
10981
|
label: "No Changes",
|
|
10982
10982
|
disabled: ""
|
|
10983
10983
|
}))])], 64))])]),
|
|
10984
|
-
default:
|
|
10984
|
+
default: U(() => [s("div", Dd, [s("div", Od, [(D(!0), o(t, null, A(z.value, (t, c) => (D(), o("div", {
|
|
10985
10985
|
key: t.field,
|
|
10986
10986
|
class: y([{ "pv-border-bottom": c < z.value.length - 1 }, "pv-stack-12"])
|
|
10987
10987
|
}, [s("details", {
|
|
@@ -11000,7 +11000,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
11000
11000
|
"focus-text": p.focusText,
|
|
11001
11001
|
"read-only": p.readOnly,
|
|
11002
11002
|
"disable-unselected": p.disableUnselectedFilters,
|
|
11003
|
-
onFilterSelectionChanged:
|
|
11003
|
+
onFilterSelectionChanged: re,
|
|
11004
11004
|
onHandleSettingsIcon: r[4] ||= (t) => e.$emit("handle-settings-icon", t)
|
|
11005
11005
|
}, null, 8, [
|
|
11006
11006
|
"enable-focus-view",
|
|
@@ -11018,8 +11018,8 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
11018
11018
|
header: "Clear All Filters",
|
|
11019
11019
|
style: { top: "50%" }
|
|
11020
11020
|
}, {
|
|
11021
|
-
body:
|
|
11022
|
-
footer:
|
|
11021
|
+
body: U(() => [...r[14] ||= [s("p", { class: "pv-text-body-lg" }, "This action will remove all currently applied filters. Would you like to continue?", -1)]]),
|
|
11022
|
+
footer: U(() => [s("div", Pd, [u(I(Mn), {
|
|
11023
11023
|
label: "Cancel",
|
|
11024
11024
|
variant: "secondary",
|
|
11025
11025
|
size: "lg",
|
|
@@ -11030,7 +11030,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
11030
11030
|
variant: "primary",
|
|
11031
11031
|
size: "lg",
|
|
11032
11032
|
"data-dd-action-name": "Confirm clear all filters",
|
|
11033
|
-
onClick:
|
|
11033
|
+
onClick: G
|
|
11034
11034
|
})])]),
|
|
11035
11035
|
_: 1
|
|
11036
11036
|
}, 8, ["modelValue"])], 64));
|
|
@@ -11072,7 +11072,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
11072
11072
|
}, I = () => {
|
|
11073
11073
|
f.value && l.params.progressSort(!1);
|
|
11074
11074
|
};
|
|
11075
|
-
|
|
11075
|
+
H(E, (e) => {
|
|
11076
11076
|
if (!e) return;
|
|
11077
11077
|
let t = l.params.column.getAggFunc();
|
|
11078
11078
|
if (e.id === t) return;
|
|
@@ -11112,7 +11112,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
11112
11112
|
variant: "ghost",
|
|
11113
11113
|
size: "lg",
|
|
11114
11114
|
label: p.value || "",
|
|
11115
|
-
onClick: t[1] ||=
|
|
11115
|
+
onClick: t[1] ||= ie(() => {}, ["stop"])
|
|
11116
11116
|
}, null, 8, [
|
|
11117
11117
|
"modelValue",
|
|
11118
11118
|
"options",
|
|
@@ -11132,7 +11132,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
11132
11132
|
variant: "ghost",
|
|
11133
11133
|
"left-icon": "menu",
|
|
11134
11134
|
ariaLabel: "Column menu",
|
|
11135
|
-
onClick:
|
|
11135
|
+
onClick: ie(P, ["stop", "prevent"])
|
|
11136
11136
|
})], 4)])) : a("", !0)], 4));
|
|
11137
11137
|
}
|
|
11138
11138
|
}), [["__scopeId", "data-v-94e930b5"]]), zd = {
|
|
@@ -11202,7 +11202,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
11202
11202
|
class: "pv-icon-24"
|
|
11203
11203
|
}, [s("title", null, "ellipsis"), s("use", { "xlink:href": "#ellipsis" })])], -1), s("div", Wd, [s("button", {
|
|
11204
11204
|
class: "pv-button pv-text-body-sm pv-inset-square-8",
|
|
11205
|
-
onClick:
|
|
11205
|
+
onClick: ie(i, ["prevent"]),
|
|
11206
11206
|
disabled: r.value
|
|
11207
11207
|
}, [r.value ? (D(), o(t, { key: 0 }, [l("Exporting...")], 64)) : (D(), o(t, { key: 1 }, [l("Download CSV")], 64))], 8, Gd)])]));
|
|
11208
11208
|
}
|
|
@@ -11213,7 +11213,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
11213
11213
|
__name: "PaginationPanel",
|
|
11214
11214
|
props: { panelSize: { default: "xl" } },
|
|
11215
11215
|
setup(e) {
|
|
11216
|
-
|
|
11216
|
+
Ee.registerModules([Ce]);
|
|
11217
11217
|
let n = m(hl, k(null)), a = m(Tl, k(1)), s = m(El, k(0)), c = e, l = r(() => {
|
|
11218
11218
|
let e = s.value, t = a.value;
|
|
11219
11219
|
if (e <= 7) return Array.from({ length: e }, (e, t) => t + 1);
|
|
@@ -11321,12 +11321,12 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
11321
11321
|
};
|
|
11322
11322
|
}), o.value = !1;
|
|
11323
11323
|
};
|
|
11324
|
-
return
|
|
11324
|
+
return fe(r, (e) => {
|
|
11325
11325
|
t.searchStyle === "query-builder" ? g(e) : t.searchStyle === "text" && p(e);
|
|
11326
11326
|
}, {
|
|
11327
11327
|
debounce: 300,
|
|
11328
11328
|
immediate: !0
|
|
11329
|
-
}),
|
|
11329
|
+
}), fe(n, (e) => {
|
|
11330
11330
|
t.searchStyle === "query-builder" && h(e);
|
|
11331
11331
|
}, {
|
|
11332
11332
|
debounce: 300,
|
|
@@ -11570,17 +11570,17 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
11570
11570
|
let d = [
|
|
11571
11571
|
Fe,
|
|
11572
11572
|
Ie,
|
|
11573
|
-
|
|
11573
|
+
me,
|
|
11574
11574
|
Le,
|
|
11575
|
-
he,
|
|
11576
|
-
Re,
|
|
11577
11575
|
ge,
|
|
11576
|
+
Re,
|
|
11578
11577
|
_e,
|
|
11578
|
+
ve,
|
|
11579
11579
|
ze,
|
|
11580
11580
|
Be,
|
|
11581
|
-
|
|
11582
|
-
|
|
11583
|
-
|
|
11581
|
+
ye,
|
|
11582
|
+
xe,
|
|
11583
|
+
we,
|
|
11584
11584
|
He,
|
|
11585
11585
|
Ae,
|
|
11586
11586
|
Je,
|
|
@@ -11592,17 +11592,17 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
11592
11592
|
Ge,
|
|
11593
11593
|
Ke,
|
|
11594
11594
|
Z,
|
|
11595
|
-
De,
|
|
11596
11595
|
Oe,
|
|
11596
|
+
X,
|
|
11597
11597
|
Xe,
|
|
11598
11598
|
Q,
|
|
11599
11599
|
Ne,
|
|
11600
|
-
|
|
11600
|
+
he,
|
|
11601
11601
|
je,
|
|
11602
|
-
|
|
11603
|
-
|
|
11604
|
-
|
|
11605
|
-
|
|
11602
|
+
Te,
|
|
11603
|
+
De,
|
|
11604
|
+
Se,
|
|
11605
|
+
be,
|
|
11606
11606
|
We
|
|
11607
11607
|
];
|
|
11608
11608
|
Ve.setLicenseKey("Using_this_{AG_Grid}_Enterprise_key_{AG-084011}_in_excess_of_the_licence_granted_is_not_permitted___Please_report_misuse_to_legal@ag-grid.com___For_help_with_changing_this_key_please_contact_info@ag-grid.com___{Turquoise_Health}_is_granted_a_{Multiple_Applications}_Developer_License_for_{3}_Front-End_JavaScript_developers___All_Front-End_JavaScript_developers_need_to_be_licensed_in_addition_to_the_ones_working_with_{AG_Grid}_Enterprise___This_key_has_been_granted_a_Deployment_License_Add-on_for_{2}_Production_Environments___This_key_works_with_{AG_Grid}_Enterprise_versions_released_before_{16_August_2026}____[v3]_[01]_MTc4NjgzNDgwMDAwMA==3bfdb2557ede1aa3533ccbd05785addb");
|
|
@@ -11611,23 +11611,23 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
11611
11611
|
let h = r(() => f.layout ? {} : {
|
|
11612
11612
|
height: f.containerHeight,
|
|
11613
11613
|
minHeight: f.containerMinHeight
|
|
11614
|
-
}), g = r(() => f.theme != null && typeof f.theme != "string"), w = r(() => f.theme && typeof f.theme == "string" ? f.theme :
|
|
11614
|
+
}), g = r(() => f.theme != null && typeof f.theme != "string"), w = r(() => f.theme && typeof f.theme == "string" ? f.theme : q.value.length > 0 ? "pv-data-table-grouped" : "pv-data-table-base"), T = f.theme && typeof f.theme == "string" ? f.theme : "pv-data-table-base", E = r(() => g.value ? f.theme : Hd[w.value]), A = c, M = k(!1), N = (e) => {
|
|
11615
11615
|
let t = Qo(e), n = e.context;
|
|
11616
11616
|
return Array.from(new Set([
|
|
11617
11617
|
...t,
|
|
11618
11618
|
...n?.queryColIds || [],
|
|
11619
|
-
...t.flatMap((e) =>
|
|
11619
|
+
...t.flatMap((e) => K.find((t) => t.field === e || t.colId === e)?.context?.queryColIds || [])
|
|
11620
11620
|
]));
|
|
11621
11621
|
}, ee = (e, t) => {
|
|
11622
11622
|
if (ku(e, t)) return !0;
|
|
11623
|
-
let n =
|
|
11623
|
+
let n = K.find((e) => $o(e) === t);
|
|
11624
11624
|
return !!n && N(n).some((t) => ku(e, t));
|
|
11625
11625
|
}, L = "serverSideRowHandler" in f && f.serverSideRowHandler ? { getRows: (e) => {
|
|
11626
|
-
if (!
|
|
11627
|
-
e.success({ rowData: [] }),
|
|
11626
|
+
if (!J.value) {
|
|
11627
|
+
e.success({ rowData: [] }), ce.value = !0;
|
|
11628
11628
|
return;
|
|
11629
11629
|
}
|
|
11630
|
-
|
|
11630
|
+
le.value = !0;
|
|
11631
11631
|
let t = e.success, n = e.fail, r = e.request.groupKeys?.length || 0, i = e.request.rowGroupCols?.length || 0, a = r === i, o = !1, s = et.value;
|
|
11632
11632
|
if (i > 0 && r === 0) {
|
|
11633
11633
|
let t = e.request.rowGroupCols[0].id;
|
|
@@ -11682,7 +11682,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
11682
11682
|
e.request.groupKeys = e.request.groupKeys.filter((t, n) => e.request.rowGroupCols?.[n]?.aggFunc !== Mo), e.request.rowGroupCols = e.request.rowGroupCols.filter((e) => e.aggFunc !== Mo);
|
|
11683
11683
|
}
|
|
11684
11684
|
}
|
|
11685
|
-
if (e.request.rowGroupCols?.length === 0 ? e.request.valueCols = [] : e.request.valueCols = e.request.valueCols?.filter((t) => !e.request.rowGroupCols?.some((e) => e.id === t.id)), (a || o) && !
|
|
11685
|
+
if (e.request.rowGroupCols?.length === 0 ? e.request.valueCols = [] : e.request.valueCols = e.request.valueCols?.filter((t) => !e.request.rowGroupCols?.some((e) => e.id === t.id)), (a || o) && !Ee.tableSearchFilterModelEmpty.value) if (f.enableAdvancedFilter) {
|
|
11686
11686
|
let t = e.request.filterModel;
|
|
11687
11687
|
t ? e.request.filterModel = {
|
|
11688
11688
|
filterType: "join",
|
|
@@ -11691,10 +11691,10 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
11691
11691
|
} : e.request.filterModel = s;
|
|
11692
11692
|
} else {
|
|
11693
11693
|
let t = e.request.filterModel;
|
|
11694
|
-
e.request.filterModel = Au(
|
|
11694
|
+
e.request.filterModel = Au(K, t, s);
|
|
11695
11695
|
}
|
|
11696
11696
|
e.success = (e) => {
|
|
11697
|
-
if (
|
|
11697
|
+
if (le.value = !1, f.enableFocusView && ut.value.length > 0 && lt.value && e.rowData) {
|
|
11698
11698
|
let n = Go(e.rowData, lt.value, ut.value);
|
|
11699
11699
|
if (n) {
|
|
11700
11700
|
e.rowData = n, t(e);
|
|
@@ -11703,11 +11703,11 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
11703
11703
|
}
|
|
11704
11704
|
t(e);
|
|
11705
11705
|
}, e.fail = () => {
|
|
11706
|
-
|
|
11706
|
+
le.value = !1, n();
|
|
11707
11707
|
}, f.serverSideRowHandler?.(e);
|
|
11708
11708
|
} } : null, R = "filterValuesSetHandler" in f && f.filterValuesSetHandler ? async (e) => {
|
|
11709
11709
|
let t = [], n = { ...$.value };
|
|
11710
|
-
t = !
|
|
11710
|
+
t = !ce.value && oe ? Ku(n, e.colDef.field ?? e.colDef.colId ?? "") || [] : await at(e.colDef, {
|
|
11711
11711
|
api: e.api,
|
|
11712
11712
|
filterModel: n,
|
|
11713
11713
|
useStaged: !1
|
|
@@ -11735,7 +11735,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
11735
11735
|
component: _u,
|
|
11736
11736
|
params: e
|
|
11737
11737
|
};
|
|
11738
|
-
if (!e.column?.getColDef().cellRenderer && f.displayRowNumber &&
|
|
11738
|
+
if (!e.column?.getColDef().cellRenderer && f.displayRowNumber && q.value.length === 0) {
|
|
11739
11739
|
let t = e.api.getAllDisplayedColumns() || [], n = e.column;
|
|
11740
11740
|
if (t.findIndex((e) => e === n) === 0) return {
|
|
11741
11741
|
component: Qd,
|
|
@@ -11745,23 +11745,23 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
11745
11745
|
}
|
|
11746
11746
|
};
|
|
11747
11747
|
return f.defaultColDefOverrides && Object.assign(e, f.defaultColDefOverrides), e;
|
|
11748
|
-
})(), V = k(void 0),
|
|
11748
|
+
})(), V = k(void 0), te = r(() => (e) => {
|
|
11749
11749
|
if (f.getContextMenuItems) return f.getContextMenuItems(e);
|
|
11750
11750
|
let t = [];
|
|
11751
11751
|
return t.push("copy"), f.suppressCutToClipboard || t.push("cut"), f.suppressClipboardPaste || t.push("paste"), t;
|
|
11752
|
-
}),
|
|
11752
|
+
}), ne = {
|
|
11753
11753
|
name: "Column Filter",
|
|
11754
11754
|
icon: "<span class=\"ag-icon ag-icon-filter\"></span>",
|
|
11755
11755
|
action: function(e) {
|
|
11756
11756
|
let t = e.column?.getColId();
|
|
11757
11757
|
if (e.column && St(e.column) && (t = mt.value?.getColId() || ""), !Ht(t)) {
|
|
11758
11758
|
let n = e.api.getColumn(t)?.getColDef();
|
|
11759
|
-
n && (
|
|
11759
|
+
n && (se.value = n, v(() => {
|
|
11760
11760
|
Ht(t);
|
|
11761
11761
|
}));
|
|
11762
11762
|
}
|
|
11763
11763
|
}
|
|
11764
|
-
},
|
|
11764
|
+
}, G = (e) => !e.node?.group && e.data != null && e.value != null && e.value !== "", ie = (e, t) => {
|
|
11765
11765
|
if (!e) return null;
|
|
11766
11766
|
let n = { ...e }, r = t, i = Qo(e);
|
|
11767
11767
|
if (r.devOnly) if (f.devMode) n.hide = !0;
|
|
@@ -11772,45 +11772,45 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
11772
11772
|
}
|
|
11773
11773
|
if (r.isCellClickable && (n.cellClassRules = {
|
|
11774
11774
|
...n.cellClassRules,
|
|
11775
|
-
"pv-data-table-cell-clickable":
|
|
11776
|
-
}, !n.tooltipField && !n.tooltipValueGetter && (n.tooltipValueGetter = (e) =>
|
|
11775
|
+
"pv-data-table-cell-clickable": G
|
|
11776
|
+
}, !n.tooltipField && !n.tooltipValueGetter && (n.tooltipValueGetter = (e) => G(e) ? "Click to view details" : void 0)), f.enableAdvancedFilter) {
|
|
11777
11777
|
let t = e.headerValueGetter;
|
|
11778
11778
|
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 || "";
|
|
11779
11779
|
}
|
|
11780
11780
|
return r.isArrayField && !e.valueFormatter ? n.valueFormatter = (e) => jt(e, r.dataType) : r.dataType === Bo.Percent && !e.valueFormatter ? n.valueFormatter = (e) => kt(e, r.valueDecimals || 0) : r.dataType === Bo.Currency && !e.valueFormatter ? n.valueFormatter = (e) => Ot(e, r.valueDecimals || 0) : r.dataType === Bo.Integer && !e.valueFormatter ? n.valueFormatter = At : r.dataType === Bo.Tag && !e.cellRenderer && (n.cellRenderer = Xd), n;
|
|
11781
|
-
},
|
|
11781
|
+
}, K = f.colDefs?.map((e) => {
|
|
11782
11782
|
let t = { ...e };
|
|
11783
11783
|
L && R && ju(e) && (t = Mu(e, R));
|
|
11784
11784
|
let n = e.context;
|
|
11785
|
-
return n && (t =
|
|
11786
|
-
}).filter((e) => e != null) || [],
|
|
11787
|
-
for (let e of
|
|
11788
|
-
let
|
|
11789
|
-
if (
|
|
11790
|
-
let e =
|
|
11785
|
+
return n && (t = ie(t, n)), t;
|
|
11786
|
+
}).filter((e) => e != null) || [], ae = new Set(f.colDefs?.map((e) => e.field || e.colId).filter(Boolean) || []);
|
|
11787
|
+
for (let e of K) for (let t of Qo(e)) ae.has(t) || console.warn(`aggregate field hierarchy references "${t}" on column "${e.field || e.colId}", but no colDef with that field exists.`);
|
|
11788
|
+
let oe = wu(f.initialGridState, K, f.enableAdvancedFilter), se = k(null), q = k([]), ce = m(Cl, k(!1)), le = k(!1), ue = r(() => {
|
|
11789
|
+
if (q.value.length > 0) {
|
|
11790
|
+
let e = q.value[0], t = K.find((t) => t.field === e), n = $.value, r = !n;
|
|
11791
11791
|
if (!r && Qu(n) && (r = !n[e]), r && t?.context?.filterRequiredToGroup) return t.headerName;
|
|
11792
11792
|
}
|
|
11793
11793
|
return null;
|
|
11794
|
-
}),
|
|
11794
|
+
}), J = r(() => Ee.filterModelEmpty.value && f.requireFiltersToShowData ? !1 : ue.value === null), de = r(() => ue.value ? `Select at least one value for "${ue.value}" to view data.` : "Select a filter to view data."), Y = P(null), Ce = k([]), Ee = f.filterStore || rd(), Pe = m(pl, null), $e = Pe || tu(null, f.allFieldsAreFocusable), $ = Ee.filterModel, et = Ee.tableSearchFilterModel, tt = Ee.filterValueMap, nt = Ee.filterValuesMap, it = Ee.filterValueSelectedMetadataMap, at = Ee.fetchFilterValues, ot = Ee.filterStoreHandler, st = Ee.tableSearchHandler;
|
|
11795
11795
|
if (ot.value = f.filterValuesSetHandler, ot.value) {
|
|
11796
11796
|
let e = (e) => ({
|
|
11797
|
-
hasMore:
|
|
11798
|
-
totalCount:
|
|
11799
|
-
values:
|
|
11797
|
+
hasMore: Ee.filterHasMoreMap.value[e],
|
|
11798
|
+
totalCount: Ee.filterTotalCountMap.value[e],
|
|
11799
|
+
values: Ee.filterOptionsMap.value[e] ?? []
|
|
11800
11800
|
});
|
|
11801
|
-
|
|
11801
|
+
Ee.setFilterOptionsHandler(async (t) => {
|
|
11802
11802
|
let n = ot.value;
|
|
11803
11803
|
return n ? await n({
|
|
11804
11804
|
...t,
|
|
11805
|
-
api:
|
|
11805
|
+
api: Y.value ?? void 0,
|
|
11806
11806
|
colDef: t.colDef,
|
|
11807
11807
|
filterModel: t.filterModel
|
|
11808
11808
|
}) ?? e(t.field) : e(t.field);
|
|
11809
11809
|
});
|
|
11810
11810
|
}
|
|
11811
|
-
st.value = f.tableSearchHandler, tt.value = f.initialFilterValueMap || {}, nt.value = Object.fromEntries(Object.entries(f.initialFilterValueMap || {}).map(([e, t]) => [e, t.filter((e) => e != null).map((e) => e.value)])), it.value = f.initialFilterValueSelectedMetadataMap || {},
|
|
11812
|
-
|
|
11813
|
-
}),
|
|
11811
|
+
st.value = f.tableSearchHandler, tt.value = f.initialFilterValueMap || {}, nt.value = Object.fromEntries(Object.entries(f.initialFilterValueMap || {}).map(([e, t]) => [e, t.filter((e) => e != null).map((e) => e.value)])), it.value = f.initialFilterValueSelectedMetadataMap || {}, Ee.refreshFiltersInBackground.value = f.refreshFiltersInBackground ?? !1, Ee.stageFilterChangesUntilDropdownCloses.value = f.stageFilterChangesUntilDropdownCloses ?? !1, Ee.filterSearchMinLength.value = f.filterSearchMinLength, Ee.filterModelType.value = f.enableAdvancedFilter ? "advanced" : "regular", H(() => f.enableAdvancedFilter, (e) => {
|
|
11812
|
+
Ee.filterModelType.value = e ? "advanced" : "regular";
|
|
11813
|
+
}), fe([tt, it], () => {
|
|
11814
11814
|
A("filter-metadata-changed", {
|
|
11815
11815
|
filterValueMap: tt.value,
|
|
11816
11816
|
filterValueSelectedMetadataMap: it.value
|
|
@@ -11819,36 +11819,36 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
11819
11819
|
deep: !0,
|
|
11820
11820
|
debounce: 250
|
|
11821
11821
|
});
|
|
11822
|
-
let ct = k(null), lt = r(() => $e?.computedFocusType.value || null), ut = r(() => $e?.computedFocuses.value || []), dt = r(() =>
|
|
11823
|
-
O(fl,
|
|
11822
|
+
let ct = k(null), lt = r(() => $e?.computedFocusType.value || null), ut = r(() => $e?.computedFocuses.value || []), dt = r(() => K.filter((e) => e.filter)), ft = r(() => K.filter((e) => e.enableRowGroup)), pt = r(() => K.filter((e) => e.aggFunc)), mt = k(null), ht = k({}), gt = k(1), _t = k(0);
|
|
11823
|
+
O(fl, Ee), O(pl, $e), O(ml, Ce), O(hl, Y), O(gl, ct), O(_l, se), O(vl, dt), O(yl, ft), O(bl, q), O(xl, mt), O(Sl, ht), O(Cl, ce), O(wl, le), O(Tl, gt), O(El, _t), O(Ll, r(() => f.enableAdvancedFilter));
|
|
11824
11824
|
let vt = r(() => !f.enableFocusView && !f.rowData || f.enableFocusView && !ut.value.length && !lt.value ? f.rowData : Go(f.rowData, lt.value, ut.value));
|
|
11825
|
-
|
|
11825
|
+
H(() => ut.value, (e) => {
|
|
11826
11826
|
A("focus-update", {
|
|
11827
11827
|
filterField: lt.value,
|
|
11828
11828
|
focuses: e
|
|
11829
11829
|
});
|
|
11830
|
-
}),
|
|
11831
|
-
if (!
|
|
11832
|
-
let t =
|
|
11833
|
-
t.length > 0 &&
|
|
11830
|
+
}), H(M, (e) => {
|
|
11831
|
+
if (!Y.value) return;
|
|
11832
|
+
let t = K.filter((e) => e.context?.devOnly).map((e) => e.field).filter(Boolean);
|
|
11833
|
+
t.length > 0 && Y.value.setColumnsVisible(t, e);
|
|
11834
11834
|
});
|
|
11835
11835
|
let yt = (e) => {
|
|
11836
|
-
|
|
11837
|
-
let t =
|
|
11838
|
-
if (f.hideAllRowGroupedColumns &&
|
|
11836
|
+
Y.value = e.api;
|
|
11837
|
+
let t = q.value.find((e) => !K.find((t) => t.field === e)?.hide), n = !t && q.value.length > 0 ? K.find((e) => !e.hide && !e.rowGroup)?.field ?? null : null, r = f.leftPinnedColumnName ?? t ?? n, i = [];
|
|
11838
|
+
if (f.hideAllRowGroupedColumns && q.value.forEach((e) => i.push(e)), r) {
|
|
11839
11839
|
let t = e.api.getColumn(r);
|
|
11840
11840
|
mt.value = t, i.push(r), Kt(t?.getColDef());
|
|
11841
11841
|
}
|
|
11842
|
-
|
|
11842
|
+
oe ? Xt(oe) : $.value && Mt($.value), et.value && Nt(et.value), e.api.setColumnsVisible([...i], !1), ct.value = e.api.getAllGridColumns(), gt.value = e.api.paginationGetCurrentPage() + 1, _t.value = e.api.paginationGetTotalPages(), A("grid-ready", e);
|
|
11843
11843
|
}, bt = (e) => {
|
|
11844
|
-
if (
|
|
11844
|
+
if (Y.value) {
|
|
11845
11845
|
let t = Dt();
|
|
11846
11846
|
Vu($.value, t) || ($.value = t, A("filter-changed", e));
|
|
11847
11847
|
}
|
|
11848
11848
|
}, xt = (e) => {
|
|
11849
|
-
|
|
11849
|
+
Ce.value = e.api?.getState()?.sort?.sortModel || [], ce.value && A("sort-changed", e);
|
|
11850
11850
|
}, St = (e) => e.getColId() && e.getColId().includes("ag-Grid-AutoColumn"), Ct = k(!1), wt = async (e) => {
|
|
11851
|
-
if (!
|
|
11851
|
+
if (!Y.value) {
|
|
11852
11852
|
console.error("Grid API not available");
|
|
11853
11853
|
return;
|
|
11854
11854
|
}
|
|
@@ -11857,17 +11857,17 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
11857
11857
|
route: [],
|
|
11858
11858
|
purge: !0
|
|
11859
11859
|
};
|
|
11860
|
-
|
|
11860
|
+
Y.value.refreshServerSide(t);
|
|
11861
11861
|
};
|
|
11862
11862
|
function Tt(e) {
|
|
11863
|
-
return e?.hydrate ?
|
|
11863
|
+
return e?.hydrate ? Ee.hydrateSelectedFilterMetadata(K) : it.value;
|
|
11864
11864
|
}
|
|
11865
11865
|
let Et = async () => {
|
|
11866
|
-
if (Ct.value = !0, !
|
|
11866
|
+
if (Ct.value = !0, !Y.value) return console.error("Grid API not available"), Ct.value = !1, null;
|
|
11867
11867
|
try {
|
|
11868
|
-
let e = f.serverSideCsvHandler, t =
|
|
11868
|
+
let e = f.serverSideCsvHandler, t = Y.value?.getState(), n = {
|
|
11869
11869
|
rowGroupCols: [],
|
|
11870
|
-
valueCols:
|
|
11870
|
+
valueCols: Y.value?.getValueColumns().map((e) => ({
|
|
11871
11871
|
id: e.getId(),
|
|
11872
11872
|
field: e.getColDef().field,
|
|
11873
11873
|
aggFunc: typeof e.getColDef().aggFunc == "string" ? e.getColDef().aggFunc : void 0,
|
|
@@ -11885,7 +11885,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
11885
11885
|
let e = {
|
|
11886
11886
|
request: n,
|
|
11887
11887
|
parentNode: {},
|
|
11888
|
-
api:
|
|
11888
|
+
api: Y.value,
|
|
11889
11889
|
context: void 0,
|
|
11890
11890
|
success: () => {},
|
|
11891
11891
|
fail: () => {}
|
|
@@ -11894,13 +11894,13 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
11894
11894
|
}
|
|
11895
11895
|
let r = f.serverSideRowHandler;
|
|
11896
11896
|
return r ? await new Promise((e, t) => {
|
|
11897
|
-
|
|
11897
|
+
Y.value?.getState(), r({
|
|
11898
11898
|
request: n,
|
|
11899
11899
|
parentNode: {},
|
|
11900
|
-
api:
|
|
11900
|
+
api: Y.value,
|
|
11901
11901
|
context: void 0,
|
|
11902
11902
|
success: (t) => {
|
|
11903
|
-
let n =
|
|
11903
|
+
let n = Y.value?.getRowGroupColumns().map((e) => e.getColDef().field).filter((e) => !!e) || [], r = Y.value?.getAllDisplayedColumns().map((e) => e.getColDef().field).filter((e) => !!e) || [], i = Y.value?.getValueColumns().map((e) => e.getColDef().field).filter((e) => !!e) || [], a = Array.from(new Set([
|
|
11904
11904
|
...n,
|
|
11905
11905
|
...r,
|
|
11906
11906
|
...i
|
|
@@ -11917,35 +11917,35 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
11917
11917
|
Ct.value = !1, t("CSV export failed.");
|
|
11918
11918
|
}
|
|
11919
11919
|
}, !0);
|
|
11920
|
-
}) : (console.warn("Client-side export does not return CSV string"), Ct.value = !1,
|
|
11920
|
+
}) : (console.warn("Client-side export does not return CSV string"), Ct.value = !1, Y.value.exportDataAsCsv(), null);
|
|
11921
11921
|
} catch (e) {
|
|
11922
11922
|
return console.error("CSV export failed", e), Ct.value = !1, null;
|
|
11923
11923
|
}
|
|
11924
|
-
}, Dt = () =>
|
|
11925
|
-
if (!
|
|
11924
|
+
}, Dt = () => Y.value ? f.enableAdvancedFilter ? Y.value.getAdvancedFilterModel() : Y.value.getFilterModel() : $.value, Mt = (e) => {
|
|
11925
|
+
if (!Y.value) return !1;
|
|
11926
11926
|
if (f.enableAdvancedFilter) {
|
|
11927
11927
|
let t = e && Qu(e) ? Cu(e) : e;
|
|
11928
|
-
|
|
11928
|
+
Y.value.setAdvancedFilterModel(t);
|
|
11929
11929
|
} else {
|
|
11930
11930
|
if (e && !Qu(e)) return console.warn("Attempting to set a non-regular filter model while advanced filtering is disabled. The filter model was not applied. Consider enabling advanced filtering for full functionality."), !1;
|
|
11931
|
-
|
|
11931
|
+
Y.value.setFilterModel(e);
|
|
11932
11932
|
}
|
|
11933
11933
|
return !0;
|
|
11934
|
-
}, Nt = (e) => (et.value = e,
|
|
11934
|
+
}, Nt = (e) => (et.value = e, Y.value ? (Y.value.onFilterChanged(), L && Y.value.refreshServerSide({ purge: !0 }), !0) : !1), Pt = {
|
|
11935
11935
|
getFilterModel: Dt,
|
|
11936
11936
|
refreshData: wt,
|
|
11937
11937
|
setFilterModel: Mt,
|
|
11938
11938
|
setTableSearchFilterModel: Nt
|
|
11939
11939
|
};
|
|
11940
|
-
|
|
11941
|
-
|
|
11940
|
+
Ee.registerFilterController(Pt), C(() => {
|
|
11941
|
+
Ee.unregisterFilterController(Pt);
|
|
11942
11942
|
}), t({
|
|
11943
11943
|
getCsvData: Et,
|
|
11944
11944
|
refreshData: wt,
|
|
11945
11945
|
getFilterValueSelectedMetadataMap: Tt,
|
|
11946
11946
|
availableRowGroupColumns: ft,
|
|
11947
11947
|
availableAggFuncColumns: pt,
|
|
11948
|
-
rowGroupColumnFields:
|
|
11948
|
+
rowGroupColumnFields: q,
|
|
11949
11949
|
getPvFilterModel: Dt,
|
|
11950
11950
|
setPvFilterModel: Mt
|
|
11951
11951
|
});
|
|
@@ -11955,16 +11955,16 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
11955
11955
|
v(() => {
|
|
11956
11956
|
let t = mt.value, n = e.api.getRowGroupColumns(), r = n.length > 0, i;
|
|
11957
11957
|
if (r && f.leftPinnedColumnName && (i = e.api.getColumn(f.leftPinnedColumnName || "")), r && !f.leftPinnedColumnName && (i = n.find((e) => !e.getColDef().hide), !i)) {
|
|
11958
|
-
let t =
|
|
11958
|
+
let t = K.find((e) => !e.hide && !e.rowGroup)?.field;
|
|
11959
11959
|
t && (i = e.api.getColumn(t));
|
|
11960
11960
|
}
|
|
11961
11961
|
i ? (mt.value = i, Kt(i.getColDef()), e.api.setColumnsVisible([i.getColId()], !1)) : (mt.value = null, Kt(null));
|
|
11962
11962
|
let a = t?.getColId();
|
|
11963
|
-
if ((!i || a !== i.getColId()) && (t?.getColDef()?.hide || e.api.setColumnsVisible([a || ""], !0)),
|
|
11964
|
-
let e =
|
|
11963
|
+
if ((!i || a !== i.getColId()) && (t?.getColDef()?.hide || e.api.setColumnsVisible([a || ""], !0)), q.value = [...n].map((e) => e.getColId()), f.enableFocusView && !Pe) {
|
|
11964
|
+
let e = q.value.length > 0 ? q.value[0] : null;
|
|
11965
11965
|
$e.setFocusType(e);
|
|
11966
11966
|
}
|
|
11967
|
-
|
|
11967
|
+
ce.value && A("column-row-group-changed", e);
|
|
11968
11968
|
});
|
|
11969
11969
|
}, Lt = (e) => {
|
|
11970
11970
|
let t = e.column?.getColId() || "";
|
|
@@ -11975,7 +11975,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
11975
11975
|
}, Rt = (e) => {
|
|
11976
11976
|
f.enableExpandOnRowClick && e.node.group && e.node.setExpanded(!e.node.expanded), A("row-clicked", e);
|
|
11977
11977
|
}, zt = (e) => {
|
|
11978
|
-
e.finished && (ct.value = e.api.getAllGridColumns()),
|
|
11978
|
+
e.finished && (ct.value = e.api.getAllGridColumns()), ce.value && A("column-moved", e);
|
|
11979
11979
|
}, Bt = (e) => {
|
|
11980
11980
|
e.api && (gt.value = e.api.paginationGetCurrentPage() + 1, _t.value = e.api.paginationGetTotalPages());
|
|
11981
11981
|
}, Vt = (e) => "allChildrenRowCount" in e && e.allChildrenRowCount || 0, Ht = (e) => {
|
|
@@ -12002,7 +12002,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
12002
12002
|
displayCount: f.displayGroupCount,
|
|
12003
12003
|
formattedValue: e.valueFormatted,
|
|
12004
12004
|
rowNode: e.node,
|
|
12005
|
-
api:
|
|
12005
|
+
api: Y.value,
|
|
12006
12006
|
focusText: f.focusText,
|
|
12007
12007
|
cellParams: e
|
|
12008
12008
|
})
|
|
@@ -12045,24 +12045,24 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
12045
12045
|
"sortUnSort",
|
|
12046
12046
|
"rowUnGroup"
|
|
12047
12047
|
], n = e.column && St(e.column) ? mt.value : e.column;
|
|
12048
|
-
return !f.enableInlineFilters && n && n.getColDef().filter && t.splice(2, 0,
|
|
12049
|
-
},
|
|
12048
|
+
return !f.enableInlineFilters && n && n.getColDef().filter && t.splice(2, 0, ne), t.filter((t) => typeof t == "string" ? e.defaultItems.includes(t) : !0);
|
|
12049
|
+
}, oe && ($.value = (f.enableAdvancedFilter ? oe.filter?.advancedFilterModel : oe.filter?.filterModel) || null, q.value = oe.rowGroup?.groupColIds || []);
|
|
12050
12050
|
});
|
|
12051
12051
|
let Xt = (e) => {
|
|
12052
|
-
let t =
|
|
12052
|
+
let t = Y.value;
|
|
12053
12053
|
if (!t) return;
|
|
12054
12054
|
let n = e.filter?.filterModel || null, r = e.rowGroup?.groupColIds || null, i = e.columnVisibility || null;
|
|
12055
|
-
n && !Vu(n, t.getFilterModel()) && t.setFilterModel(n), f.isTableGrouped && r && !rt(r,
|
|
12055
|
+
n && !Vu(n, t.getFilterModel()) && t.setFilterModel(n), f.isTableGrouped && r && !rt(r, q.value) && t.setRowGroupColumns(r), i?.hiddenColIds && t.setColumnsVisible(i.hiddenColIds, !1);
|
|
12056
12056
|
};
|
|
12057
|
-
|
|
12057
|
+
H(() => f.initialGridState, () => {
|
|
12058
12058
|
if (f.initialGridState) {
|
|
12059
|
-
let e = wu(f.initialGridState,
|
|
12059
|
+
let e = wu(f.initialGridState, K, f.enableAdvancedFilter);
|
|
12060
12060
|
e && Xt(e);
|
|
12061
12061
|
}
|
|
12062
12062
|
}, { deep: !0 });
|
|
12063
12063
|
let Zt = (e) => {
|
|
12064
|
-
|
|
12065
|
-
}, Qt = (e) => L ? f.isServerSideGroupOpenByDefault ? f.isServerSideGroupOpenByDefault(e) : e.rowNode.level ===
|
|
12064
|
+
ce.value = !0, A("first-data-rendered", e);
|
|
12065
|
+
}, Qt = (e) => L ? f.isServerSideGroupOpenByDefault ? f.isServerSideGroupOpenByDefault(e) : e.rowNode.level === q.value.length - 2 : !1, $t = r(() => {
|
|
12066
12066
|
if (!L) return f.groupDefaultExpanded;
|
|
12067
12067
|
}), en = k(null), tn = k(null), nn = r(() => [f.tableSearchInline ? {
|
|
12068
12068
|
width: "360px",
|
|
@@ -12073,7 +12073,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
12073
12073
|
maxWidth: "50%"
|
|
12074
12074
|
}, f.customCssProperties?.tableSearchWrapper]), rn = r(() => ({
|
|
12075
12075
|
placeholder: f.tableSearchPlaceholder,
|
|
12076
|
-
disabled: !
|
|
12076
|
+
disabled: !J.value,
|
|
12077
12077
|
searchStyle: f.tableSearchStyle
|
|
12078
12078
|
}));
|
|
12079
12079
|
return (t, r) => (D(), o("div", {
|
|
@@ -12091,16 +12091,16 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
12091
12091
|
"--flex-justify": "flex-end"
|
|
12092
12092
|
}
|
|
12093
12093
|
}, {
|
|
12094
|
-
trigger:
|
|
12094
|
+
trigger: U(() => [u(I(Mn), {
|
|
12095
12095
|
"left-icon": "flask-conical",
|
|
12096
12096
|
ariaLabel: "Toggle dev mode",
|
|
12097
12097
|
variant: M.value ? "primary" : "secondary",
|
|
12098
12098
|
onClick: r[0] ||= (e) => M.value = !M.value
|
|
12099
12099
|
}, null, 8, ["variant"])]),
|
|
12100
|
-
content:
|
|
12100
|
+
content: U(() => [...r[11] ||= [l(" Dev Mode ", -1)]]),
|
|
12101
12101
|
_: 1
|
|
12102
12102
|
})) : a("", !0),
|
|
12103
|
-
|
|
12103
|
+
W(s("div", af, [s("div", of, [s("div", sf, [e.enableTableSearch && e.tableSearchInline ? (D(), o("div", {
|
|
12104
12104
|
key: 0,
|
|
12105
12105
|
style: x(nn.value)
|
|
12106
12106
|
}, [u(ef, b(p(rn.value)), null, 16)], 4)) : a("", !0), (D(), i(n, {
|
|
@@ -12133,12 +12133,12 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
12133
12133
|
}, null, 8, ["rowGroupLimit", "enableFocusView"])) : a("", !0), e.enableCsvExport ? (D(), i(Kd, {
|
|
12134
12134
|
key: 1,
|
|
12135
12135
|
getCsvData: Et
|
|
12136
|
-
})) : a("", !0)])])], 512), [[
|
|
12137
|
-
|
|
12136
|
+
})) : a("", !0)])])], 512), [[re, e.enableGroupBySelector || !e.filterTeleportLocation || e.enableTableSearch && e.tableSearchInline]]),
|
|
12137
|
+
W(s("div", {
|
|
12138
12138
|
ref_key: "advancedFilterParentElement",
|
|
12139
12139
|
ref: tn,
|
|
12140
12140
|
class: y(["pv-stack-8 pv-text-body-sm", e.hideTable ? "pv-hide" : ""])
|
|
12141
|
-
}, null, 2), [[
|
|
12141
|
+
}, null, 2), [[re, M.value && e.enableAdvancedFilter]]),
|
|
12142
12142
|
e.enableTableSearch && !e.tableSearchInline || e.enableTopSlot ? (D(), o("div", {
|
|
12143
12143
|
key: 1,
|
|
12144
12144
|
class: y(["pv-stack-8 pv-flex pv-space-between", e.hideTable ? "pv-hide" : ""])
|
|
@@ -12154,7 +12154,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
12154
12154
|
"min-height": "0",
|
|
12155
12155
|
"overflow-x": "hidden"
|
|
12156
12156
|
}
|
|
12157
|
-
}, [u(I(
|
|
12157
|
+
}, [u(I(pe), _({
|
|
12158
12158
|
ref: "gridRef",
|
|
12159
12159
|
class: ["pv-data-table", I(T)],
|
|
12160
12160
|
style: [{
|
|
@@ -12184,17 +12184,17 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
12184
12184
|
onUndoStarted: r[10] ||= (e) => A("undo-started", e),
|
|
12185
12185
|
aggFuncs: Yt,
|
|
12186
12186
|
autoGroupColumnDef: Gt.value,
|
|
12187
|
-
columnDefs: I(
|
|
12187
|
+
columnDefs: I(K),
|
|
12188
12188
|
debug: e.debugMode,
|
|
12189
12189
|
defaultColDef: I(B),
|
|
12190
12190
|
getChildCount: Vt,
|
|
12191
|
-
getContextMenuItems:
|
|
12191
|
+
getContextMenuItems: te.value,
|
|
12192
12192
|
getMainMenuItems: V.value,
|
|
12193
12193
|
getRowClass: Jt,
|
|
12194
12194
|
getRowStyle: qt,
|
|
12195
12195
|
groupDefaultExpanded: $t.value,
|
|
12196
12196
|
groupDisplayType: "singleColumn",
|
|
12197
|
-
initialState: I(
|
|
12197
|
+
initialState: I(oe) || void 0,
|
|
12198
12198
|
isGroupOpenByDefault: I(L) ? void 0 : f.isClientSideGroupOpenByDefault,
|
|
12199
12199
|
isServerSideGroupOpenByDefault: Qt,
|
|
12200
12200
|
includeHiddenColumnsInAdvancedFilter: !0,
|
|
@@ -12234,7 +12234,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
12234
12234
|
undoRedoCellEditingLimit: e.undoRedoCellEditingLimit,
|
|
12235
12235
|
enableAdvancedFilter: e.enableAdvancedFilter,
|
|
12236
12236
|
advancedFilterParent: tn.value
|
|
12237
|
-
}), null, 16, /* @__PURE__ */ "class.style.domLayout.autoGroupColumnDef.columnDefs.debug.defaultColDef.getContextMenuItems.getMainMenuItems.groupDefaultExpanded.initialState.isGroupOpenByDefault.loading.loadingCellRenderer.loadingCellRendererParams.maxConcurrentDatasourceRequests.maintainColumnOrder.popupParent.processCellForClipboard.processCellFromClipboard.processDataFromClipboard.rowData.rowHeight.rowModelType.rowSelection.serverSideInitialRowCount.theme.pagination.paginationPageSize.tooltip-show-delay.tooltip-hide-delay.cellSelection.copyHeadersToClipboard.suppressClipboardPaste.suppressCutToClipboard.undoRedoCellEditing.undoRedoCellEditingLimit.enableAdvancedFilter.advancedFilterParent".split(".")), !e.isLoading && !
|
|
12237
|
+
}), null, 16, /* @__PURE__ */ "class.style.domLayout.autoGroupColumnDef.columnDefs.debug.defaultColDef.getContextMenuItems.getMainMenuItems.groupDefaultExpanded.initialState.isGroupOpenByDefault.loading.loadingCellRenderer.loadingCellRendererParams.maxConcurrentDatasourceRequests.maintainColumnOrder.popupParent.processCellForClipboard.processCellFromClipboard.processDataFromClipboard.rowData.rowHeight.rowModelType.rowSelection.serverSideInitialRowCount.theme.pagination.paginationPageSize.tooltip-show-delay.tooltip-hide-delay.cellSelection.copyHeadersToClipboard.suppressClipboardPaste.suppressCutToClipboard.undoRedoCellEditing.undoRedoCellEditingLimit.enableAdvancedFilter.advancedFilterParent".split(".")), !e.isLoading && !J.value ? (D(), o("div", lf, [s("p", uf, F(de.value), 1)])) : a("", !0)], 2),
|
|
12238
12238
|
e.pagination ? (D(), i(Jd, { key: 2 })) : a("", !0)
|
|
12239
12239
|
], 4));
|
|
12240
12240
|
}
|
|
@@ -12276,7 +12276,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
12276
12276
|
},
|
|
12277
12277
|
useTeleport: !0
|
|
12278
12278
|
}), m = k(!1), h = k(!1), g = k(null);
|
|
12279
|
-
|
|
12279
|
+
H(g, (e) => {
|
|
12280
12280
|
e && (p.value = e);
|
|
12281
12281
|
});
|
|
12282
12282
|
let _ = r(() => (i.tableConfigOptions?.tableOverlayOptions ?? []).map((e) => ({
|
|
@@ -12284,7 +12284,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
12284
12284
|
text: e.title,
|
|
12285
12285
|
context: { rightIcon: e.icon }
|
|
12286
12286
|
}))), v = r(() => _.value.length > 0), b = k((i.tableConfigOptions?.tableOverlayOptions ?? []).filter((e) => e.defaultSelected !== !1).map((e) => e.field));
|
|
12287
|
-
|
|
12287
|
+
H(b, (e) => {
|
|
12288
12288
|
c("table-overlay-change", e);
|
|
12289
12289
|
}, { immediate: !0 });
|
|
12290
12290
|
let x = () => {
|
|
@@ -12294,7 +12294,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
12294
12294
|
}, C = () => {
|
|
12295
12295
|
v.value && (h.value = !0, f.value = document.getElementById("table-config-overlay"), d());
|
|
12296
12296
|
};
|
|
12297
|
-
return (n, r) => (D(), o(t, null, [
|
|
12297
|
+
return (n, r) => (D(), o(t, null, [W((D(), o("div", hf, [u(xa, {
|
|
12298
12298
|
open: m.value,
|
|
12299
12299
|
label: "Table Configuration",
|
|
12300
12300
|
icon: "settings",
|
|
@@ -12309,7 +12309,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
12309
12309
|
alignment: "right",
|
|
12310
12310
|
isList: !0
|
|
12311
12311
|
}, {
|
|
12312
|
-
default:
|
|
12312
|
+
default: U(() => [r[3] ||= s("div", { class: "pv-border-bottom" }, [s("p", {
|
|
12313
12313
|
class: "pv-text-title-sm pv-inset-square-8",
|
|
12314
12314
|
style: {
|
|
12315
12315
|
"padding-top": "4px",
|
|
@@ -12348,7 +12348,7 @@ var hu = { style: { "line-height": "20px" } }, gu = { class: "pv-text-subdued pv
|
|
|
12348
12348
|
},
|
|
12349
12349
|
isList: !0
|
|
12350
12350
|
}, {
|
|
12351
|
-
default:
|
|
12351
|
+
default: U(() => [s("ul", yf, [(D(!0), o(t, null, A(_.value, (e) => (D(), o("li", { key: e.id }, [u(co, {
|
|
12352
12352
|
id: e.id,
|
|
12353
12353
|
config: {
|
|
12354
12354
|
variant: "checkbox",
|
|
@@ -12636,7 +12636,11 @@ var Uf = {
|
|
|
12636
12636
|
"align-items": "flex-start",
|
|
12637
12637
|
"--flex-gap": "0"
|
|
12638
12638
|
}
|
|
12639
|
-
}, Gf = ["title"], Kf = ["title"], qf = { style: {
|
|
12639
|
+
}, Gf = ["title"], Kf = ["title"], qf = { style: {
|
|
12640
|
+
"max-width": "220px",
|
|
12641
|
+
"white-space": "normal",
|
|
12642
|
+
"overflow-wrap": "break-word"
|
|
12643
|
+
} }, Jf = /* @__PURE__ */ d({
|
|
12640
12644
|
inheritAttrs: !1,
|
|
12641
12645
|
__name: "PvChartOptionMenuItemRenderer",
|
|
12642
12646
|
props: {
|
|
@@ -12661,12 +12665,12 @@ var Uf = {
|
|
|
12661
12665
|
disableInteractive: !0,
|
|
12662
12666
|
style: { "pointer-events": "auto" }
|
|
12663
12667
|
}, {
|
|
12664
|
-
trigger:
|
|
12668
|
+
trigger: U(() => [u(I(On), {
|
|
12665
12669
|
size: 12,
|
|
12666
12670
|
name: "info-circle",
|
|
12667
12671
|
class: "pv-text-subdued"
|
|
12668
12672
|
})]),
|
|
12669
|
-
content:
|
|
12673
|
+
content: U(() => [s("div", qf, F(e.context.description), 1)]),
|
|
12670
12674
|
_: 1
|
|
12671
12675
|
})) : a("", !0)]));
|
|
12672
12676
|
}
|
|
@@ -12693,7 +12697,7 @@ var Uf = {
|
|
|
12693
12697
|
key: 1,
|
|
12694
12698
|
role: "list",
|
|
12695
12699
|
class: "pv-popover-list"
|
|
12696
|
-
}, ip = ["data-active"], ap = /* @__PURE__ */ Qt(/* @__PURE__ */ d({
|
|
12700
|
+
}, ip = ["data-active"], ap = "This metric isn’t available with the selected chart type.", op = /* @__PURE__ */ Qt(/* @__PURE__ */ d({
|
|
12697
12701
|
__name: "PvChartOptionsPanel",
|
|
12698
12702
|
props: {
|
|
12699
12703
|
enablePanel: { type: Boolean },
|
|
@@ -12705,7 +12709,8 @@ var Uf = {
|
|
|
12705
12709
|
default: !1
|
|
12706
12710
|
},
|
|
12707
12711
|
chartConfigOptions: {},
|
|
12708
|
-
readOnly: { type: Boolean }
|
|
12712
|
+
readOnly: { type: Boolean },
|
|
12713
|
+
percentOfFocusViewYKey: {}
|
|
12709
12714
|
},
|
|
12710
12715
|
emits: ["series-agg-func-selected"],
|
|
12711
12716
|
setup(e, { emit: n }) {
|
|
@@ -12719,21 +12724,21 @@ var Uf = {
|
|
|
12719
12724
|
}), b = k(!1), S = k(void 0), C = k(null), w = m(jl, k(void 0)), T = m(kl, k([])), E = m(Ml, k(void 0)), O = m(Al, k([])), j = m(Ol, k([])), M = m(yl, k([])), N = r(() => Hf(w.value?.id || "")), P = r(() => {
|
|
12720
12725
|
let e = w.value?.id ?? "";
|
|
12721
12726
|
return j.value.length > 1 && !e.endsWith("_stacked");
|
|
12722
|
-
}), ee = m(Nl, k("")), L = m(Pl, k([])), R = m(Fl, k(void 0)), z = m(Il, k([])), B = m(Rl, k(/* @__PURE__ */ new Set())), V = m(zl, k([])),
|
|
12727
|
+
}), ee = m(Nl, k("")), L = m(Pl, k([])), R = m(Fl, k(void 0)), z = m(Il, k([])), B = m(Rl, k(/* @__PURE__ */ new Set())), V = m(zl, k([])), te = r(() => V.value.filter((e) => B.value.has(e.id)).map((e) => ({
|
|
12723
12728
|
id: e.id,
|
|
12724
12729
|
text: e.label,
|
|
12725
12730
|
disabled: e.disabled,
|
|
12726
12731
|
context: e.disabledReason ? { description: e.disabledReason } : void 0
|
|
12727
|
-
}))),
|
|
12732
|
+
}))), ne = (e) => {
|
|
12728
12733
|
B.value = new Set(e.map((e) => e.id));
|
|
12729
12734
|
};
|
|
12730
|
-
|
|
12735
|
+
H(P, (e) => {
|
|
12731
12736
|
e && R.value && (R.value = void 0);
|
|
12732
12737
|
}, { immediate: !0 });
|
|
12733
|
-
let
|
|
12738
|
+
let re = m(Dl, k("")), K = r(() => l.chartFilter && l.chartFilter.options ? l.chartFilter.options.map((e) => ({
|
|
12734
12739
|
label: e.label,
|
|
12735
12740
|
value: e.value
|
|
12736
|
-
})) : []),
|
|
12741
|
+
})) : []), ae = r(() => {
|
|
12737
12742
|
if (w.value) return (j.value.length > 1 ? [
|
|
12738
12743
|
"bar_stacked",
|
|
12739
12744
|
"line",
|
|
@@ -12746,7 +12751,7 @@ var Uf = {
|
|
|
12746
12751
|
"area"
|
|
12747
12752
|
]).includes(w.value?.id);
|
|
12748
12753
|
});
|
|
12749
|
-
|
|
12754
|
+
H(T, (e) => {
|
|
12750
12755
|
if (!w.value) return;
|
|
12751
12756
|
let t = w.value, n = t?.id.endsWith("_stacked"), r = e.find((e) => e.id === t.id);
|
|
12752
12757
|
if (r) {
|
|
@@ -12762,13 +12767,13 @@ var Uf = {
|
|
|
12762
12767
|
}
|
|
12763
12768
|
w.value = e[0];
|
|
12764
12769
|
});
|
|
12765
|
-
let
|
|
12770
|
+
let oe = (e, t) => {
|
|
12766
12771
|
for (let n of e) {
|
|
12767
12772
|
if (n.id === t) return n;
|
|
12768
|
-
let e = n.children ?
|
|
12773
|
+
let e = n.children ? oe(n.children, t) : void 0;
|
|
12769
12774
|
if (e) return e;
|
|
12770
12775
|
}
|
|
12771
|
-
},
|
|
12776
|
+
}, se = (e) => e.flatMap((e) => e.children?.length ? se(e.children) : e), q = (e) => {
|
|
12772
12777
|
switch (e) {
|
|
12773
12778
|
case "y-axis": return "Select Y Axis metric";
|
|
12774
12779
|
case "secondary-y-axis": return "Select Metric Overlay";
|
|
@@ -12777,115 +12782,133 @@ var Uf = {
|
|
|
12777
12782
|
case "sort": return "Select Chart Sort";
|
|
12778
12783
|
default: return;
|
|
12779
12784
|
}
|
|
12780
|
-
},
|
|
12785
|
+
}, ce = ll(), le = (e) => e === "secondary-y-axis" ? "metric-overlay" : e, ue = (e, t, n = "select") => {
|
|
12781
12786
|
if (!t) return;
|
|
12782
|
-
let r =
|
|
12787
|
+
let r = Oe.value.find((t) => t.value === e), i = r?.availableOptions ? oe(r.availableOptions, t) : void 0;
|
|
12783
12788
|
ul("chart_option_selected", {
|
|
12784
|
-
panel:
|
|
12789
|
+
panel: le(e),
|
|
12785
12790
|
selected_value: i?.text ?? t,
|
|
12786
12791
|
selected_value_id: t,
|
|
12787
12792
|
action: n
|
|
12788
|
-
},
|
|
12789
|
-
},
|
|
12793
|
+
}, ce());
|
|
12794
|
+
}, J = (e, t) => {
|
|
12790
12795
|
let n = new Set(e.activeOptionIds);
|
|
12791
12796
|
e.updateSelectedOptions?.(t), dl(() => {
|
|
12792
|
-
for (let r of t) n.has(r.id) ||
|
|
12797
|
+
for (let r of t) n.has(r.id) || ue(e.value, r.id);
|
|
12793
12798
|
});
|
|
12794
|
-
}, ue = (e, t) => {
|
|
12795
|
-
e.updateSelectedOption?.(t?.id || ""), dl(() => le(e.value, t?.id));
|
|
12796
12799
|
}, de = (e, t) => {
|
|
12800
|
+
e.updateSelectedOption?.(t?.id || ""), dl(() => ue(e.value, t?.id));
|
|
12801
|
+
}, fe = (e, t) => {
|
|
12797
12802
|
let n = t.option;
|
|
12798
12803
|
if (e.isMultiSelect) {
|
|
12799
12804
|
let t = new Set(e.activeOptionIds ?? []), r = new Set(t);
|
|
12800
|
-
r.has(n.id) ? r.delete(n.id) : r.add(n.id), e.updateSelectedOptions?.(
|
|
12805
|
+
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) || dl(() => ue(e.value, n.id));
|
|
12801
12806
|
return;
|
|
12802
12807
|
}
|
|
12803
|
-
e.updateSelectedOption?.(n.id), dl(() =>
|
|
12804
|
-
},
|
|
12808
|
+
e.updateSelectedOption?.(n.id), dl(() => ue(e.value, n.id));
|
|
12809
|
+
}, Y = (e, t) => {
|
|
12805
12810
|
let n = e.activeOptions?.value ?? [];
|
|
12806
12811
|
e.activeOptions && (e.activeOptions.value = t), dl(() => {
|
|
12807
12812
|
let r = n.map((e) => e.id), i = t.map((e) => e.id), a = new Set(r), o = new Set(i);
|
|
12808
|
-
for (let n of t) a.has(n.id) ||
|
|
12809
|
-
for (let t of n) o.has(t.id) ||
|
|
12813
|
+
for (let n of t) a.has(n.id) || ue(e.value, n.id, "select");
|
|
12814
|
+
for (let t of n) o.has(t.id) || ue(e.value, t.id, "deselect");
|
|
12810
12815
|
r.length === i.length && r.every((e) => o.has(e)) && r.join(" ") !== i.join(" ") && ul("chart_option_selected", {
|
|
12811
|
-
panel:
|
|
12816
|
+
panel: le(e.value),
|
|
12812
12817
|
selected_value: t.map((e) => e.text).join(", "),
|
|
12813
12818
|
selected_value_id: i.join(","),
|
|
12814
12819
|
action: "reorder"
|
|
12815
|
-
},
|
|
12820
|
+
}, ce());
|
|
12816
12821
|
});
|
|
12817
|
-
},
|
|
12818
|
-
let
|
|
12819
|
-
|
|
12820
|
-
|
|
12821
|
-
|
|
12822
|
-
|
|
12823
|
-
|
|
12824
|
-
|
|
12825
|
-
|
|
12826
|
-
|
|
12822
|
+
}, pe = (e, t) => `chart-series-agg-func:${encodeURIComponent(e)}:${encodeURIComponent(t)}`, me = (e) => `chart-series-agg-func-group:${encodeURIComponent(e)}`, he = (e) => e ? { renderer: Jf } : { variant: "icon" }, ge = r(() => w.value?.id === "line" ? l.percentOfFocusViewYKey : void 0), _e = (e, t, n) => {
|
|
12823
|
+
let r = !!e && t === e;
|
|
12824
|
+
return {
|
|
12825
|
+
disabled: r,
|
|
12826
|
+
description: r ? ap : n
|
|
12827
|
+
};
|
|
12828
|
+
}, ve = (e, t) => {
|
|
12829
|
+
let n = [], r = /* @__PURE__ */ new Map(), i = /* @__PURE__ */ new Map();
|
|
12830
|
+
for (let a of e) {
|
|
12831
|
+
let e = a.columnField;
|
|
12832
|
+
if (!a.aggFuncOptions?.length || !e) {
|
|
12833
|
+
let { disabled: e, description: r } = _e(t, a.value, a.description);
|
|
12834
|
+
n.push({
|
|
12835
|
+
id: a.value,
|
|
12836
|
+
text: a.label,
|
|
12837
|
+
disabled: e,
|
|
12838
|
+
context: r ? { description: r } : void 0,
|
|
12839
|
+
config: he(r)
|
|
12827
12840
|
});
|
|
12828
12841
|
continue;
|
|
12829
12842
|
}
|
|
12830
|
-
for (let
|
|
12831
|
-
let
|
|
12832
|
-
|
|
12833
|
-
id:
|
|
12834
|
-
text:
|
|
12835
|
-
context:
|
|
12836
|
-
config:
|
|
12843
|
+
for (let o of a.aggFuncOptions) {
|
|
12844
|
+
let s = r.get(o.aggFunc);
|
|
12845
|
+
s || (s = {
|
|
12846
|
+
id: me(o.aggFunc),
|
|
12847
|
+
text: o.label,
|
|
12848
|
+
context: o.description ? { description: o.description } : void 0,
|
|
12849
|
+
config: he(o.description),
|
|
12837
12850
|
children: []
|
|
12838
|
-
},
|
|
12839
|
-
|
|
12840
|
-
|
|
12851
|
+
}, r.set(o.aggFunc, s), n.push(s)), o.order !== void 0 && !i.has(s.id) && i.set(s.id, o.order);
|
|
12852
|
+
let { disabled: c, description: l } = _e(t, o.seriesValue ?? a.value, a.description);
|
|
12853
|
+
s.children?.push({
|
|
12854
|
+
id: pe(e, o.aggFunc),
|
|
12855
|
+
text: a.label,
|
|
12856
|
+
disabled: c,
|
|
12841
12857
|
context: {
|
|
12842
|
-
aggFunc:
|
|
12858
|
+
aggFunc: o.aggFunc,
|
|
12843
12859
|
columnField: e,
|
|
12844
|
-
description:
|
|
12845
|
-
seriesValue:
|
|
12860
|
+
description: l,
|
|
12861
|
+
seriesValue: o.seriesValue
|
|
12846
12862
|
},
|
|
12847
|
-
config:
|
|
12863
|
+
config: he(l)
|
|
12848
12864
|
});
|
|
12849
12865
|
}
|
|
12850
12866
|
}
|
|
12851
|
-
return t
|
|
12852
|
-
|
|
12853
|
-
|
|
12854
|
-
|
|
12855
|
-
|
|
12856
|
-
|
|
12867
|
+
return n.sort((e, t) => {
|
|
12868
|
+
let n = i.get(e.id), r = i.get(t.id);
|
|
12869
|
+
return n === void 0 ? r === void 0 ? 0 : 1 : r === void 0 ? -1 : n - r;
|
|
12870
|
+
});
|
|
12871
|
+
}, ye = (e, t) => e.map((e) => {
|
|
12872
|
+
let { disabled: n, description: r } = _e(t, e.value, e.description);
|
|
12873
|
+
return {
|
|
12874
|
+
id: e.value,
|
|
12875
|
+
text: e.label,
|
|
12876
|
+
disabled: n,
|
|
12877
|
+
context: r ? { description: r } : void 0
|
|
12878
|
+
};
|
|
12879
|
+
}), be = (e, t, n) => {
|
|
12857
12880
|
if (!n) return;
|
|
12858
12881
|
let r = t.find((e) => e.value === n || e.aggFuncOptions?.some((e) => e.seriesValue === n));
|
|
12859
|
-
if (!r?.aggFuncOptions?.length || !r.columnField) return
|
|
12882
|
+
if (!r?.aggFuncOptions?.length || !r.columnField) return oe(e, n);
|
|
12860
12883
|
let i = r.aggFuncOptions.find((e) => e.aggFunc === r.activeAggFunc) ?? r.aggFuncOptions.find((e) => e.seriesValue === n) ?? r.aggFuncOptions[0];
|
|
12861
|
-
return i ?
|
|
12862
|
-
},
|
|
12863
|
-
let n =
|
|
12884
|
+
return i ? oe(e, pe(r.columnField, i.aggFunc)) : void 0;
|
|
12885
|
+
}, xe = (e, t) => {
|
|
12886
|
+
let n = oe(e, t), r = n?.context;
|
|
12864
12887
|
return {
|
|
12865
12888
|
aggFunc: r?.aggFunc,
|
|
12866
12889
|
columnField: r?.columnField,
|
|
12867
12890
|
seriesValue: r?.seriesValue ?? n?.id
|
|
12868
12891
|
};
|
|
12869
|
-
},
|
|
12892
|
+
}, Se = (e) => e.reduce((e, t) => e + (t.aggFuncOptions?.length || 1), 0), Ce = r(() => f.value ? ve(L.value, ge.value) : ye(L.value, ge.value)), we = r(() => f.value ? ve(z.value) : ye(z.value)), Te = r(() => f.value ? Se(L.value) : L.value.length), Ee = r(() => M.value.map((e) => ({
|
|
12870
12893
|
id: e.field || "",
|
|
12871
12894
|
text: e.headerName || e.field || "",
|
|
12872
12895
|
icon: Vo(e.context?.dataType || null) || "circle-chevron-down"
|
|
12873
|
-
}))),
|
|
12874
|
-
get: () => j.value.map((e) =>
|
|
12896
|
+
}))), De = r({
|
|
12897
|
+
get: () => j.value.map((e) => Ee.value.find((t) => t.id === e)).filter(Boolean),
|
|
12875
12898
|
set: (e) => {
|
|
12876
12899
|
j.value = e.map((e) => e.id);
|
|
12877
12900
|
}
|
|
12878
|
-
}),
|
|
12901
|
+
}), Oe = r(() => {
|
|
12879
12902
|
let e = [], t = {
|
|
12880
12903
|
value: "y-axis",
|
|
12881
12904
|
label: "Y Axis",
|
|
12882
12905
|
prefixLabel: "Y Axis",
|
|
12883
12906
|
icon: "chart-bar-decreasing",
|
|
12884
12907
|
allowDeselect: !1,
|
|
12885
|
-
availableOptions:
|
|
12886
|
-
currentOption:
|
|
12908
|
+
availableOptions: Ce.value,
|
|
12909
|
+
currentOption: be(Ce.value, L.value, ee.value),
|
|
12887
12910
|
updateSelectedOption: (e) => {
|
|
12888
|
-
let t =
|
|
12911
|
+
let t = xe(Ce.value, e);
|
|
12889
12912
|
t.seriesValue && (ee.value = t.seriesValue, t.aggFunc && t.columnField && d("series-agg-func-selected", {
|
|
12890
12913
|
aggFunc: t.aggFunc,
|
|
12891
12914
|
columnField: t.columnField
|
|
@@ -12897,12 +12920,12 @@ var Uf = {
|
|
|
12897
12920
|
label: "X Axis",
|
|
12898
12921
|
icon: "align-end-horizontal",
|
|
12899
12922
|
allowDeselect: !1,
|
|
12900
|
-
availableOptions:
|
|
12923
|
+
availableOptions: Ee.value,
|
|
12901
12924
|
...r ? {
|
|
12902
|
-
activeOptions:
|
|
12925
|
+
activeOptions: De,
|
|
12903
12926
|
activeOptionLimit: l.rowGroupLimit
|
|
12904
12927
|
} : {
|
|
12905
|
-
currentOption:
|
|
12928
|
+
currentOption: Ee.value.find((e) => e.id === j.value[0]),
|
|
12906
12929
|
updateSelectedOption: (e) => {
|
|
12907
12930
|
j.value = e ? [e] : [];
|
|
12908
12931
|
}
|
|
@@ -12914,7 +12937,7 @@ var Uf = {
|
|
|
12914
12937
|
allowDeselect: !0,
|
|
12915
12938
|
availableOptions: O.value,
|
|
12916
12939
|
currentOption: O.value.find((e) => e.id === E.value?.id),
|
|
12917
|
-
disabled: !
|
|
12940
|
+
disabled: !ae.value,
|
|
12918
12941
|
disabledReason: "Sorting is not available for this chart type",
|
|
12919
12942
|
updateSelectedOption: (e) => {
|
|
12920
12943
|
let t = O.value.find((t) => t.id === e);
|
|
@@ -12936,7 +12959,7 @@ var Uf = {
|
|
|
12936
12959
|
t && w && (w.value = t);
|
|
12937
12960
|
}
|
|
12938
12961
|
};
|
|
12939
|
-
if (
|
|
12962
|
+
if (Te.value > 1 && e.push(t), !n.secondaryYAxis?.hidden && we.value.length > 0) {
|
|
12940
12963
|
let t = {
|
|
12941
12964
|
value: "secondary-y-axis",
|
|
12942
12965
|
label: "Metric Overlay",
|
|
@@ -12945,16 +12968,16 @@ var Uf = {
|
|
|
12945
12968
|
allowDeselect: !0,
|
|
12946
12969
|
disabled: P.value,
|
|
12947
12970
|
disabledReason: "Metric overlay is not available for this chart type.",
|
|
12948
|
-
availableOptions:
|
|
12949
|
-
currentOption:
|
|
12971
|
+
availableOptions: we.value,
|
|
12972
|
+
currentOption: be(we.value, z.value, R.value),
|
|
12950
12973
|
updateSelectedOption: (e) => {
|
|
12951
12974
|
if (!R) return;
|
|
12952
|
-
let t =
|
|
12975
|
+
let t = be(we.value, z.value, R.value);
|
|
12953
12976
|
if (!e || t?.id === e) {
|
|
12954
12977
|
R.value = void 0;
|
|
12955
12978
|
return;
|
|
12956
12979
|
}
|
|
12957
|
-
let n =
|
|
12980
|
+
let n = xe(we.value, e);
|
|
12958
12981
|
R.value = n.seriesValue, n.aggFunc && n.columnField && d("series-agg-func-selected", {
|
|
12959
12982
|
aggFunc: n.aggFunc,
|
|
12960
12983
|
columnField: n.columnField
|
|
@@ -12977,22 +13000,22 @@ var Uf = {
|
|
|
12977
13000
|
isMultiSelect: !0,
|
|
12978
13001
|
availableOptions: t,
|
|
12979
13002
|
activeOptionIds: B.value,
|
|
12980
|
-
activeOptions:
|
|
13003
|
+
activeOptions: te,
|
|
12981
13004
|
currentOption: t.find((e) => B.value.has(e.id)),
|
|
12982
|
-
updateSelectedOptions:
|
|
13005
|
+
updateSelectedOptions: ne
|
|
12983
13006
|
};
|
|
12984
13007
|
n && e.push(n);
|
|
12985
13008
|
}
|
|
12986
13009
|
let s = r ? 2 : 1;
|
|
12987
|
-
return
|
|
12988
|
-
}),
|
|
13010
|
+
return Ee.value.length >= s && e.push(i), T.value.length > 1 && e.push(o), O.value.length > 0 && e.push(a), e.filter((e) => l.chartConfigOptions ? l.chartConfigOptions.includes(e.value) : !0);
|
|
13011
|
+
}), X = r(() => S.value && Oe.value.find((e) => e.value === S.value) || null), ke = (e) => e.activeOptions ? e.activeOptions.value : e.currentOption ? [e.currentOption] : [], Z = (e) => ke(e).map((e) => e.text).join(", ") || void 0, Ae = r(() => Oe.value.map((e) => ({
|
|
12989
13012
|
id: e.value,
|
|
12990
13013
|
text: e.label,
|
|
12991
|
-
subText:
|
|
13014
|
+
subText: Z(e),
|
|
12992
13015
|
icon: e.icon,
|
|
12993
13016
|
disabled: e.disabled,
|
|
12994
13017
|
hoverTitle: e.disabledReason,
|
|
12995
|
-
rumActionName:
|
|
13018
|
+
rumActionName: q(e.value),
|
|
12996
13019
|
popoverRole: e.isSortableList ? "dialog" : "menu",
|
|
12997
13020
|
children: e.availableOptions,
|
|
12998
13021
|
config: {
|
|
@@ -13004,44 +13027,44 @@ var Uf = {
|
|
|
13004
13027
|
alwaysShow: !0
|
|
13005
13028
|
} } : {}
|
|
13006
13029
|
}
|
|
13007
|
-
}))),
|
|
13030
|
+
}))), je = (e) => e.isMultiSelect ? {
|
|
13008
13031
|
variant: "checkbox",
|
|
13009
13032
|
renderer: Jf
|
|
13010
13033
|
} : { variant: "icon" };
|
|
13011
|
-
|
|
13034
|
+
H(C, (e) => {
|
|
13012
13035
|
e && (v.value = e);
|
|
13013
13036
|
});
|
|
13014
|
-
let
|
|
13015
|
-
let t =
|
|
13037
|
+
let Q = (e) => {
|
|
13038
|
+
let t = X.value;
|
|
13016
13039
|
if (!t?.isMultiSelect) return;
|
|
13017
13040
|
let n = new Set(B.value);
|
|
13018
13041
|
t.updateSelectedOptions?.((t.availableOptions ?? []).filter((t) => e.includes(t.id))), dl(() => {
|
|
13019
|
-
for (let r of e) n.has(r) ||
|
|
13042
|
+
for (let r of e) n.has(r) || ue(t.value, r);
|
|
13020
13043
|
});
|
|
13021
|
-
},
|
|
13022
|
-
let t =
|
|
13023
|
-
!t || t.isMultiSelect || (t.updateSelectedOption?.(e.id), dl(() =>
|
|
13024
|
-
},
|
|
13025
|
-
let t =
|
|
13044
|
+
}, Me = (e) => {
|
|
13045
|
+
let t = X.value;
|
|
13046
|
+
!t || t.isMultiSelect || (t.updateSelectedOption?.(e.id), dl(() => ue(t.value, e.id)));
|
|
13047
|
+
}, Ne = (e) => {
|
|
13048
|
+
let t = X.value;
|
|
13026
13049
|
return !t || t.isMultiSelect ? null : t.currentOption?.id === e.id ? !0 : null;
|
|
13027
|
-
},
|
|
13050
|
+
}, Pe = (e) => X.value?.isMultiSelect ? {
|
|
13028
13051
|
variant: "checkbox",
|
|
13029
13052
|
renderer: Jf
|
|
13030
|
-
} : e.context && typeof e.context == "object" && "description" in e.context ? { renderer: Jf } : { variant: "icon" },
|
|
13053
|
+
} : e.context && typeof e.context == "object" && "description" in e.context ? { renderer: Jf } : { variant: "icon" }, Fe = (e) => {
|
|
13031
13054
|
S.value = e, _.value = document.getElementById(`pv-chart-config-${e}`), g();
|
|
13032
|
-
},
|
|
13055
|
+
}, Ie = () => {
|
|
13033
13056
|
b.value = !1, S.value = void 0;
|
|
13034
|
-
},
|
|
13057
|
+
}, Le = () => {
|
|
13035
13058
|
S.value = void 0;
|
|
13036
13059
|
};
|
|
13037
|
-
return (n, r) => (D(), o(t, null, [s("div", Yf, [s("div", null, [
|
|
13060
|
+
return (n, r) => (D(), o(t, null, [s("div", Yf, [s("div", null, [W((D(), o("div", { class: y(["pv-flex pv-space-between", e.useCombinedButton ? "pv-stack-8" : ""]) }, [s("div", Xf, [e.useCombinedButton ? (D(), o(t, { key: 0 }, [u(xa, {
|
|
13038
13061
|
open: b.value,
|
|
13039
13062
|
label: "Chart Configuration",
|
|
13040
13063
|
icon: "chart-area",
|
|
13041
13064
|
"data-dd-action-name": "Toggle Chart Configuration panel",
|
|
13042
13065
|
disabled: e.readOnly,
|
|
13043
13066
|
onClick: r[0] ||= (t) => e.readOnly ? null : b.value = !b.value,
|
|
13044
|
-
onHandleToggleDropdown:
|
|
13067
|
+
onHandleToggleDropdown: Le
|
|
13045
13068
|
}, null, 8, ["open", "disabled"]), f.value ? (D(), i(uo, {
|
|
13046
13069
|
key: 0,
|
|
13047
13070
|
class: y({ "pv-hide": !b.value }),
|
|
@@ -13051,7 +13074,7 @@ var Uf = {
|
|
|
13051
13074
|
zIndex: 5
|
|
13052
13075
|
}
|
|
13053
13076
|
}, {
|
|
13054
|
-
default:
|
|
13077
|
+
default: U(() => [r[7] ||= s("div", { class: "pv-border-bottom pv-stack-8" }, [s("p", {
|
|
13055
13078
|
class: "pv-text-title-sm pv-inset-square-8",
|
|
13056
13079
|
style: {
|
|
13057
13080
|
"padding-top": "4px",
|
|
@@ -13060,17 +13083,17 @@ var Uf = {
|
|
|
13060
13083
|
}, " Chart Configuration ")], -1), u(yo, {
|
|
13061
13084
|
expandedOptionId: S.value,
|
|
13062
13085
|
"onUpdate:expandedOptionId": r[3] ||= (e) => S.value = e,
|
|
13063
|
-
options:
|
|
13086
|
+
options: Ae.value,
|
|
13064
13087
|
childrenDisplay: "popover",
|
|
13065
13088
|
readOnly: e.readOnly
|
|
13066
13089
|
}, {
|
|
13067
|
-
popover:
|
|
13090
|
+
popover: U(({ popoverId: t, close: n }) => [X.value?.isSortableList ? (D(), o("div", {
|
|
13068
13091
|
key: 0,
|
|
13069
13092
|
id: t,
|
|
13070
|
-
"aria-label": `${
|
|
13093
|
+
"aria-label": `${X.value.label} options`,
|
|
13071
13094
|
class: "pv-chart-config-popover pv-inset-square-8",
|
|
13072
13095
|
role: "dialog",
|
|
13073
|
-
onKeydown:
|
|
13096
|
+
onKeydown: G(ie(n, ["stop"]), ["esc"])
|
|
13074
13097
|
}, [r[6] ||= s("p", {
|
|
13075
13098
|
class: "pv-text-tertiary pv-text-body-sm pv-stack-4",
|
|
13076
13099
|
style: {
|
|
@@ -13078,31 +13101,31 @@ var Uf = {
|
|
|
13078
13101
|
"padding-bottom": "6px"
|
|
13079
13102
|
}
|
|
13080
13103
|
}, " Viewing ", -1), u(Mf, {
|
|
13081
|
-
modelValue:
|
|
13082
|
-
"onUpdate:modelValue": r[1] ||= (e) => X
|
|
13083
|
-
options:
|
|
13084
|
-
activeOptionLimit:
|
|
13104
|
+
modelValue: X.value.activeOptions.value,
|
|
13105
|
+
"onUpdate:modelValue": r[1] ||= (e) => Y(X.value, e),
|
|
13106
|
+
options: X.value.availableOptions || [],
|
|
13107
|
+
activeOptionLimit: X.value.activeOptionLimit,
|
|
13085
13108
|
placeholderText: "Add to X Axis"
|
|
13086
13109
|
}, null, 8, [
|
|
13087
13110
|
"modelValue",
|
|
13088
13111
|
"options",
|
|
13089
13112
|
"activeOptionLimit"
|
|
13090
|
-
])], 40, Zf)) :
|
|
13113
|
+
])], 40, Zf)) : X.value ? (D(), i(yo, {
|
|
13091
13114
|
key: 1,
|
|
13092
13115
|
id: t,
|
|
13093
|
-
"aria-label": `${
|
|
13116
|
+
"aria-label": `${X.value.label} options`,
|
|
13094
13117
|
class: "pv-chart-config-popover",
|
|
13095
|
-
options:
|
|
13096
|
-
selectedItems:
|
|
13097
|
-
config:
|
|
13098
|
-
singleSelect: !
|
|
13099
|
-
disableDeselect: !
|
|
13118
|
+
options: X.value.availableOptions || [],
|
|
13119
|
+
selectedItems: ke(X.value),
|
|
13120
|
+
config: je(X.value),
|
|
13121
|
+
singleSelect: !X.value.isMultiSelect,
|
|
13122
|
+
disableDeselect: !X.value.allowDeselect,
|
|
13100
13123
|
highlightParentItems: !1,
|
|
13101
13124
|
readOnly: e.readOnly,
|
|
13102
13125
|
childrenDisplay: "popover",
|
|
13103
13126
|
itemClass: "pv-chart-option pv-flex",
|
|
13104
|
-
onKeydown:
|
|
13105
|
-
onHandleSelected: r[2] ||= (e) =>
|
|
13127
|
+
onKeydown: G(ie(n, ["stop"]), ["esc"]),
|
|
13128
|
+
onHandleSelected: r[2] ||= (e) => fe(X.value, e)
|
|
13106
13129
|
}, null, 8, [
|
|
13107
13130
|
"id",
|
|
13108
13131
|
"aria-label",
|
|
@@ -13130,19 +13153,19 @@ var Uf = {
|
|
|
13130
13153
|
zIndex: 5
|
|
13131
13154
|
}
|
|
13132
13155
|
}, {
|
|
13133
|
-
default:
|
|
13156
|
+
default: U(() => [r[8] ||= s("div", { class: "pv-border-bottom pv-stack-8" }, [s("p", {
|
|
13134
13157
|
class: "pv-text-title-sm pv-inset-square-8",
|
|
13135
13158
|
style: {
|
|
13136
13159
|
"padding-top": "4px",
|
|
13137
13160
|
"padding-bottom": "12px"
|
|
13138
13161
|
}
|
|
13139
|
-
}, " Chart Configuration ")], -1), s("ul", Qf, [(D(!0), o(t, null, A(
|
|
13162
|
+
}, " Chart Configuration ")], -1), s("ul", Qf, [(D(!0), o(t, null, A(Oe.value, (t) => (D(), o("li", {
|
|
13140
13163
|
id: `pv-chart-config-${t.value}`,
|
|
13141
13164
|
key: t.value,
|
|
13142
13165
|
"data-active": S.value === t.value ? !0 : null,
|
|
13143
|
-
"data-dd-action-name":
|
|
13144
|
-
onMouseenter: (e) => t.disabled ? null :
|
|
13145
|
-
onClick: (e) => t.disabled ? null :
|
|
13166
|
+
"data-dd-action-name": q(t.value),
|
|
13167
|
+
onMouseenter: (e) => t.disabled ? null : Fe(t.value),
|
|
13168
|
+
onClick: (e) => t.disabled ? null : Fe(t.value)
|
|
13146
13169
|
}, [u(I(zi), {
|
|
13147
13170
|
disableInteractive: !0,
|
|
13148
13171
|
useTeleport: !0,
|
|
@@ -13150,7 +13173,7 @@ var Uf = {
|
|
|
13150
13173
|
style: { width: "100%" },
|
|
13151
13174
|
variant: "white"
|
|
13152
13175
|
}, c({
|
|
13153
|
-
trigger:
|
|
13176
|
+
trigger: U(() => [u(co, {
|
|
13154
13177
|
config: { variant: "icon" },
|
|
13155
13178
|
disabled: t.disabled || e.readOnly,
|
|
13156
13179
|
id: t.value,
|
|
@@ -13167,30 +13190,30 @@ var Uf = {
|
|
|
13167
13190
|
_: 2
|
|
13168
13191
|
}, [t.disabled && t.disabledReason ? {
|
|
13169
13192
|
name: "content",
|
|
13170
|
-
fn:
|
|
13193
|
+
fn: U(() => [s("div", ep, F(t.disabledReason), 1)]),
|
|
13171
13194
|
key: "0"
|
|
13172
13195
|
} : void 0]), 1024)], 40, $f))), 128))])]),
|
|
13173
13196
|
_: 1
|
|
13174
|
-
}, 8, ["class"]))], 64)) : a("", !0)])], 2)), [[I($e), [
|
|
13197
|
+
}, 8, ["class"]))], 64)) : a("", !0)])], 2)), [[I($e), [Ie, { ignore: [".pv-popover"] }]]]), s("div", {
|
|
13175
13198
|
class: "pv-flex pv-space-between",
|
|
13176
13199
|
style: x(e.chartFilter ? {} : { justifyContent: "flex-end" })
|
|
13177
13200
|
}, [e.chartFilter ? (D(), i(Bi, {
|
|
13178
13201
|
key: 0,
|
|
13179
|
-
options:
|
|
13180
|
-
modelValue: I(
|
|
13181
|
-
"onUpdate:modelValue": r[4] ||= (e) => h(
|
|
13182
|
-
}, null, 8, ["options", "modelValue"])) : a("", !0), e.useCombinedButton ? a("", !0) : (D(), o("div", tp, [(D(!0), o(t, null, A(
|
|
13202
|
+
options: K.value,
|
|
13203
|
+
modelValue: I(re),
|
|
13204
|
+
"onUpdate:modelValue": r[4] ||= (e) => h(re) ? re.value = e : null
|
|
13205
|
+
}, null, 8, ["options", "modelValue"])) : a("", !0), e.useCombinedButton ? a("", !0) : (D(), o("div", tp, [(D(!0), o(t, null, A(Oe.value, (n) => (D(), o(t, { key: n.value }, [n.isMultiSelect && n.activeOptions && n.activeOptionIds ? (D(), i(pc, {
|
|
13183
13206
|
key: 0,
|
|
13184
13207
|
label: n.label,
|
|
13185
13208
|
prefixLabel: n.prefixLabel,
|
|
13186
13209
|
modelValue: n.availableOptions.filter((e) => n.activeOptionIds.has(e.id)),
|
|
13187
|
-
"onUpdate:modelValue": (e) =>
|
|
13210
|
+
"onUpdate:modelValue": (e) => J(n, e),
|
|
13188
13211
|
options: n.availableOptions,
|
|
13189
13212
|
disableSearchInput: !0,
|
|
13190
13213
|
disabled: n.disabled || e.readOnly,
|
|
13191
13214
|
optionsVariant: "checkbox",
|
|
13192
13215
|
optionsRenderer: Jf,
|
|
13193
|
-
rumActionName:
|
|
13216
|
+
rumActionName: q(n.value)
|
|
13194
13217
|
}, null, 8, [
|
|
13195
13218
|
"label",
|
|
13196
13219
|
"prefixLabel",
|
|
@@ -13204,14 +13227,14 @@ var Uf = {
|
|
|
13204
13227
|
label: n.label,
|
|
13205
13228
|
prefixLabel: n.prefixLabel,
|
|
13206
13229
|
modelValue: n.currentOption,
|
|
13207
|
-
"onUpdate:modelValue": [(e) => n.currentOption = e, (e) =>
|
|
13230
|
+
"onUpdate:modelValue": [(e) => n.currentOption = e, (e) => de(n, e)],
|
|
13208
13231
|
options: n.availableOptions,
|
|
13209
13232
|
disableSearchInput: !0,
|
|
13210
13233
|
disableDeselect: !n.allowDeselect,
|
|
13211
13234
|
disabled: n.disabled || e.readOnly,
|
|
13212
13235
|
optionsVariant: "icon",
|
|
13213
13236
|
childrenDisplay: f.value ? "popover" : "inline",
|
|
13214
|
-
rumActionName:
|
|
13237
|
+
rumActionName: q(n.value)
|
|
13215
13238
|
}, null, 8, [
|
|
13216
13239
|
"label",
|
|
13217
13240
|
"prefixLabel",
|
|
@@ -13233,35 +13256,35 @@ var Uf = {
|
|
|
13233
13256
|
...I(p)
|
|
13234
13257
|
}
|
|
13235
13258
|
}, {
|
|
13236
|
-
default:
|
|
13259
|
+
default: U(() => [X.value ? (D(), o(t, { key: 0 }, [X.value.isSortableList ? (D(), o("div", np, [r[9] ||= s("p", {
|
|
13237
13260
|
class: "pv-text-tertiary pv-text-body-sm pv-stack-4",
|
|
13238
13261
|
style: {
|
|
13239
13262
|
"padding-left": "2px",
|
|
13240
13263
|
"padding-bottom": "6px"
|
|
13241
13264
|
}
|
|
13242
13265
|
}, " Viewing ", -1), u(Mf, {
|
|
13243
|
-
modelValue:
|
|
13244
|
-
"onUpdate:modelValue": r[5] ||= (e) => X
|
|
13245
|
-
options:
|
|
13246
|
-
activeOptionLimit:
|
|
13266
|
+
modelValue: X.value.activeOptions.value,
|
|
13267
|
+
"onUpdate:modelValue": r[5] ||= (e) => Y(X.value, e),
|
|
13268
|
+
options: X.value.availableOptions || [],
|
|
13269
|
+
activeOptionLimit: X.value.activeOptionLimit,
|
|
13247
13270
|
placeholderText: "Add to X Axis"
|
|
13248
13271
|
}, null, 8, [
|
|
13249
13272
|
"modelValue",
|
|
13250
13273
|
"options",
|
|
13251
13274
|
"activeOptionLimit"
|
|
13252
|
-
])])) : (D(), o("ul", rp, [(D(!0), o(t, null, A(
|
|
13275
|
+
])])) : (D(), o("ul", rp, [(D(!0), o(t, null, A(X.value.availableOptions, (t) => (D(), o("li", {
|
|
13253
13276
|
key: t.id,
|
|
13254
|
-
"data-active":
|
|
13277
|
+
"data-active": Ne(t)
|
|
13255
13278
|
}, [u(co, {
|
|
13256
13279
|
id: t.id,
|
|
13257
|
-
config:
|
|
13280
|
+
config: Pe(t),
|
|
13258
13281
|
text: t.text,
|
|
13259
13282
|
icon: t.icon,
|
|
13260
13283
|
context: t.context,
|
|
13261
13284
|
disabled: t.disabled || e.readOnly,
|
|
13262
|
-
selectedIds:
|
|
13263
|
-
"onUpdate:selectedIds":
|
|
13264
|
-
onHandleSelected: (e) =>
|
|
13285
|
+
selectedIds: X.value.isMultiSelect ? [...I(B)] : [],
|
|
13286
|
+
"onUpdate:selectedIds": Q,
|
|
13287
|
+
onHandleSelected: (e) => Me(t),
|
|
13265
13288
|
"class-list": ["pv-legacy-chart-option", "pv-flex"]
|
|
13266
13289
|
}, null, 8, [
|
|
13267
13290
|
"id",
|
|
@@ -13276,10 +13299,10 @@ var Uf = {
|
|
|
13276
13299
|
_: 1
|
|
13277
13300
|
}, 8, ["class", "css-custom-properties"])) : a("", !0)], 64));
|
|
13278
13301
|
}
|
|
13279
|
-
}), [["__scopeId", "data-v-
|
|
13302
|
+
}), [["__scopeId", "data-v-22dd30e6"]]);
|
|
13280
13303
|
//#endregion
|
|
13281
13304
|
//#region src/components/charts/PvDataTableWithChart/scatterAxisUtils.ts
|
|
13282
|
-
function
|
|
13305
|
+
function sp(e, t, n, r, i) {
|
|
13283
13306
|
return i ? {
|
|
13284
13307
|
xKey: n,
|
|
13285
13308
|
xName: r,
|
|
@@ -13294,19 +13317,19 @@ function op(e, t, n, r, i) {
|
|
|
13294
13317
|
}
|
|
13295
13318
|
//#endregion
|
|
13296
13319
|
//#region src/components/charts/PvDataTableWithChart/PvDataTableWithChart.vue?vue&type=script&setup=true&lang.ts
|
|
13297
|
-
var
|
|
13320
|
+
var cp = { style: {
|
|
13298
13321
|
height: "100%",
|
|
13299
13322
|
width: "100%"
|
|
13300
|
-
} },
|
|
13323
|
+
} }, lp = {
|
|
13301
13324
|
key: 0,
|
|
13302
13325
|
class: "pv-bordered pv-radius-lg pv-inset-square-12 pv-stack-16"
|
|
13303
|
-
},
|
|
13326
|
+
}, up = { class: "pv-flex" }, dp = { class: "pv-relative pv-margin-auto" }, fp = {
|
|
13304
13327
|
key: 2,
|
|
13305
13328
|
class: "pv-chart-overlay pv-flex pv-align-center"
|
|
13306
|
-
},
|
|
13329
|
+
}, pp = { key: 0 }, mp = {
|
|
13307
13330
|
key: 1,
|
|
13308
13331
|
class: "pv-text-body-xs"
|
|
13309
|
-
},
|
|
13332
|
+
}, hp = /* @__PURE__ */ d({
|
|
13310
13333
|
__name: "PvDataTableWithChart",
|
|
13311
13334
|
props: {
|
|
13312
13335
|
allFieldsAreFocusable: { type: Boolean },
|
|
@@ -13523,16 +13546,17 @@ var sp = { style: {
|
|
|
13523
13546
|
let t = e.field;
|
|
13524
13547
|
if (t) return L.value[t] ?? (typeof e.aggFunc == "string" ? e.aggFunc : void 0);
|
|
13525
13548
|
}, z = (e, t) => {
|
|
13526
|
-
if (!e.allowedAggFuncs
|
|
13549
|
+
if (!e.allowedAggFuncs?.length) return;
|
|
13527
13550
|
let n = Ko(e);
|
|
13528
13551
|
return e.allowedAggFuncs.map((e) => ({
|
|
13529
13552
|
aggFunc: e,
|
|
13530
13553
|
description: n.aggFuncDescriptionMap?.[e],
|
|
13531
13554
|
label: n.aggFuncDisplayNameMap?.[e] ?? e,
|
|
13555
|
+
order: n.aggFuncOrderMap?.[e],
|
|
13532
13556
|
seriesValue: t(e)
|
|
13533
13557
|
}));
|
|
13534
13558
|
}, B = r(() => {
|
|
13535
|
-
let e =
|
|
13559
|
+
let e = Ce.value;
|
|
13536
13560
|
return e.yAxis.hidden && e.yAxis.defaultValue ? [{
|
|
13537
13561
|
label: "Count",
|
|
13538
13562
|
value: e.yAxis.defaultValue
|
|
@@ -13552,7 +13576,7 @@ var sp = { style: {
|
|
|
13552
13576
|
value: t
|
|
13553
13577
|
};
|
|
13554
13578
|
});
|
|
13555
|
-
}), V = r(() => l.enableCombinedChartConfigPanel && l.enableNestedChartConfigPanel ? B.value.reduce((e, t) => e + (t.aggFuncOptions?.length || 1), 0) : B.value.length),
|
|
13579
|
+
}), V = r(() => l.enableCombinedChartConfigPanel && l.enableNestedChartConfigPanel ? B.value.reduce((e, t) => e + (t.aggFuncOptions?.length || 1), 0) : B.value.length), te = r(() => {
|
|
13556
13580
|
let e = m.value?.availableAggFuncColumns || [], t = new Set(M.value);
|
|
13557
13581
|
return e.filter((e) => rs(e)).map((e) => {
|
|
13558
13582
|
let n = R(e), r = e.field || "";
|
|
@@ -13569,7 +13593,7 @@ var sp = { style: {
|
|
|
13569
13593
|
value: is(r, n, t)
|
|
13570
13594
|
};
|
|
13571
13595
|
});
|
|
13572
|
-
}),
|
|
13596
|
+
}), ne = (e, t) => e.find((e) => e.value === t || e.aggFuncOptions?.some((e) => e.seriesValue === t)), re = r(() => (m.value?.availableAggFuncColumns || []).filter((e) => {
|
|
13573
13597
|
let t = Ko(e);
|
|
13574
13598
|
return t.chartOnSecondaryAxes === !0 && t.hideFromCharting === !0;
|
|
13575
13599
|
}).map((e) => {
|
|
@@ -13580,49 +13604,49 @@ var sp = { style: {
|
|
|
13580
13604
|
formatter: n.valueFormatter,
|
|
13581
13605
|
dataType: n.context?.dataType
|
|
13582
13606
|
};
|
|
13583
|
-
})),
|
|
13584
|
-
O(fl,
|
|
13585
|
-
let
|
|
13607
|
+
})), W = l.filterStore || rd();
|
|
13608
|
+
O(fl, W);
|
|
13609
|
+
let G = tu({
|
|
13586
13610
|
focusType: l.initialFocusData?.focusType,
|
|
13587
13611
|
focuses: l.initialFocusData?.focuses || [],
|
|
13588
13612
|
focusRequired: l.focusRequired
|
|
13589
13613
|
}, l.allFieldsAreFocusable);
|
|
13590
|
-
O(pl,
|
|
13591
|
-
let { setFilterSelectedValues:
|
|
13592
|
-
O(Cl,
|
|
13593
|
-
let
|
|
13614
|
+
O(pl, G);
|
|
13615
|
+
let { setFilterSelectedValues: ie } = W, K = k(!1);
|
|
13616
|
+
O(Cl, K);
|
|
13617
|
+
let ae = k(l.isTableGrouped), oe = (e) => {
|
|
13594
13618
|
d("table-overlay-change", e);
|
|
13595
|
-
},
|
|
13619
|
+
}, se = r(() => wt.value ? !1 : !!(l.emptyChartFilterRenderer && l.requireFiltersToShowData && W.filterModelEmpty.value)), q = r(() => G?.computedFocusType.value || null), ce = r(() => G?.computedFocuses.value || []), le = (e) => {
|
|
13596
13620
|
L.value = Object.fromEntries(e.getValueColumns().map((e) => [e.getColId(), e.getAggFunc()]).filter((e) => typeof e[1] == "string"));
|
|
13597
|
-
}, le = (e) => {
|
|
13598
|
-
p.value = e.api, ce(e.api), ie.value || p.value?.setRowGroupColumns([]), Xe(e.api), d("grid-ready", e);
|
|
13599
|
-
}, Y = (e) => {
|
|
13600
|
-
let t = te(H.value, ke.value);
|
|
13601
|
-
ce(e.api), t?.columnField && ke.value && (ke.value = H.value.find((e) => e.columnField === t.columnField)?.value), Xe(e.api), d("column-value-changed", e);
|
|
13602
13621
|
}, ue = (e) => {
|
|
13622
|
+
p.value = e.api, le(e.api), ae.value || p.value?.setRowGroupColumns([]), Xe(e.api), d("grid-ready", e);
|
|
13623
|
+
}, J = (e) => {
|
|
13624
|
+
let t = ne(te.value, ke.value);
|
|
13625
|
+
le(e.api), t?.columnField && ke.value && (ke.value = te.value.find((e) => e.columnField === t.columnField)?.value), Xe(e.api), d("column-value-changed", e);
|
|
13626
|
+
}, de = (e) => {
|
|
13603
13627
|
let t = p.value;
|
|
13604
13628
|
!t || t.getColumn(e.columnField)?.getAggFunc() === e.aggFunc || t.applyColumnState({ state: [{
|
|
13605
13629
|
colId: e.columnField,
|
|
13606
13630
|
aggFunc: e.aggFunc
|
|
13607
13631
|
}] });
|
|
13608
|
-
},
|
|
13632
|
+
}, fe = (e) => {
|
|
13609
13633
|
d("first-data-rendered", e);
|
|
13610
|
-
},
|
|
13634
|
+
}, Y = (e) => {
|
|
13611
13635
|
let t = M.value, n = e.api.getRowGroupColumns().map((e) => e.getColId());
|
|
13612
|
-
if (
|
|
13613
|
-
let t =
|
|
13614
|
-
if (n.length >
|
|
13615
|
-
let t = n.slice(0,
|
|
13636
|
+
if (ae.value && JSON.stringify(t) !== JSON.stringify(n)) {
|
|
13637
|
+
let t = Ce.value;
|
|
13638
|
+
if (n.length > we.value) {
|
|
13639
|
+
let t = n.slice(0, we.value);
|
|
13616
13640
|
M.value = t, e.api.setRowGroupColumns(t);
|
|
13617
13641
|
} else M.value = n;
|
|
13618
|
-
t.yAxis.defaultValue && (
|
|
13642
|
+
t.yAxis.defaultValue && (X.value = t.yAxis.defaultValue);
|
|
13619
13643
|
}
|
|
13620
13644
|
d("column-row-group-changed", e);
|
|
13621
|
-
},
|
|
13622
|
-
Xe(e.api),
|
|
13645
|
+
}, pe = async (e) => {
|
|
13646
|
+
Xe(e.api), K.value && d("filter-changed", e);
|
|
13623
13647
|
};
|
|
13624
|
-
|
|
13625
|
-
if (
|
|
13648
|
+
H(() => M.value, () => {
|
|
13649
|
+
if (ae.value) {
|
|
13626
13650
|
if (!p.value) return;
|
|
13627
13651
|
let e = p.value.getRowGroupColumns().map((e) => e.getColId());
|
|
13628
13652
|
JSON.stringify(e) !== JSON.stringify(M.value) && v(() => {
|
|
@@ -13632,18 +13656,18 @@ var sp = { style: {
|
|
|
13632
13656
|
p?.value?.setRowGroupColumns([]);
|
|
13633
13657
|
});
|
|
13634
13658
|
if (!l.allFieldsAreFocusable) {
|
|
13635
|
-
let e =
|
|
13636
|
-
|
|
13659
|
+
let e = Ce.value.supportsFocusView && P.value || null;
|
|
13660
|
+
G.setFocusType(e);
|
|
13637
13661
|
}
|
|
13638
13662
|
p.value && Xe(p.value);
|
|
13639
13663
|
});
|
|
13640
|
-
function
|
|
13664
|
+
function me(e, t, n = !0) {
|
|
13641
13665
|
return (r) => {
|
|
13642
|
-
if (r.data =
|
|
13643
|
-
let i = "", a =
|
|
13666
|
+
if (r.data = De.value?.find((t) => t[e] === r.value), r.value === 123e-6) return "";
|
|
13667
|
+
let i = "", a = ge(e);
|
|
13644
13668
|
if (l.truncateLabelValues && n && a && Xo(a) && !isNaN(Number(r.value))) {
|
|
13645
13669
|
if (We.value) {
|
|
13646
|
-
let e = r.datum?.[P.value], t =
|
|
13670
|
+
let e = r.datum?.[P.value], t = Oe.value?.find((t) => t[P.value] === e)?.[`${X.value}_sort_total`] || Infinity;
|
|
13647
13671
|
if (r.value / t < .05) return "";
|
|
13648
13672
|
}
|
|
13649
13673
|
let { newValue: e, newSuffix: t } = Wo(r.value, Bo.Percent === Ko(a).dataType, ht.value);
|
|
@@ -13653,20 +13677,20 @@ var sp = { style: {
|
|
|
13653
13677
|
return t && (o = t(r)), o + i;
|
|
13654
13678
|
};
|
|
13655
13679
|
}
|
|
13656
|
-
let
|
|
13680
|
+
let he = (e, t = !1) => {
|
|
13657
13681
|
if (!e) return;
|
|
13658
|
-
let n =
|
|
13659
|
-
return n && typeof n.valueFormatter == "function" ?
|
|
13660
|
-
},
|
|
13661
|
-
let n =
|
|
13682
|
+
let n = ge(e);
|
|
13683
|
+
return n && typeof n.valueFormatter == "function" ? me(e, n.valueFormatter, t) : me(e, null, t);
|
|
13684
|
+
}, ge = (e) => !e || !p.value ? null : p.value?.getColumnDef(e), _e = (e, t) => {
|
|
13685
|
+
let n = ge(P.value);
|
|
13662
13686
|
return n && typeof n.valueFormatter == "function" ? `${n.valueFormatter({ value: e })} - ${n.valueFormatter({ value: t })}` : `${e} - ${t}`;
|
|
13663
|
-
},
|
|
13687
|
+
}, ve = r(() => {
|
|
13664
13688
|
let e = [...M.value.length > 1 ? Po : No, Fo];
|
|
13665
13689
|
return Pf(ee.value) && e.push(Io), e.filter((e) => l.enabledChartTypes?.includes(e.id));
|
|
13666
|
-
}),
|
|
13667
|
-
let e =
|
|
13690
|
+
}), ye = k(void 0), be = k(void 0), xe = k(void 0), Se = !1, Ce = r(() => Hf(ye.value?.id || "")), we = r(() => Math.min(Ce.value.rowGroupLimit, l.rowGroupLimit)), Te = r(() => {
|
|
13691
|
+
let e = Ce.value.xAxis.filterColumns;
|
|
13668
13692
|
return e ? e(A.value) : A.value;
|
|
13669
|
-
}),
|
|
13693
|
+
}), Ee = k([{
|
|
13670
13694
|
text: "Ascending",
|
|
13671
13695
|
id: "asc",
|
|
13672
13696
|
icon: "arrow-up-wide-narrow"
|
|
@@ -13674,44 +13698,44 @@ var sp = { style: {
|
|
|
13674
13698
|
text: "Descending",
|
|
13675
13699
|
id: "desc",
|
|
13676
13700
|
icon: "arrow-down-narrow-wide"
|
|
13677
|
-
}]),
|
|
13678
|
-
O(hl, p), O(Dl, Ne), O(yl,
|
|
13701
|
+
}]), De = k([]), Oe = k([]), X = k(l.yKey), ke = k(te.value[0]?.value), Z = r(() => l.crosslineOverlayGroups ?? []), Ae = k(new Set(Z.value.filter((e) => e.visible && !e.disabled).map((e) => e.id))), je = r(() => Z.value.filter((e) => Ae.value.has(e.id)).flatMap((e) => e.overlays)), Q = k(null), Me = k(Ee.value.find((e) => e.id === l.initialSort || "")), Ne = k("");
|
|
13702
|
+
O(hl, p), O(Dl, Ne), O(yl, Te), O(Ol, M), O(kl, ve), O(Al, Ee), O(jl, ye), O(Ml, Me), O(Nl, X), O(Pl, B), O(Fl, ke), O(Il, te), O(Rl, Ae), O(zl, Z);
|
|
13679
13703
|
let Pe = (e) => {
|
|
13680
|
-
|
|
13704
|
+
ye.value = ve.value.find((t) => t.id === e) ?? ve.value[0];
|
|
13681
13705
|
}, Fe = (e) => {
|
|
13682
13706
|
let t = M.value.length, n = (e) => {
|
|
13683
13707
|
let n = Hf(e.id);
|
|
13684
13708
|
return t <= Math.min(n.rowGroupLimit, l.rowGroupLimit);
|
|
13685
|
-
}, r =
|
|
13686
|
-
return r && n(r) ? r.id :
|
|
13709
|
+
}, r = ve.value.find((t) => t.id === e);
|
|
13710
|
+
return r && n(r) ? r.id : ve.value.find(n)?.id ?? ve.value[0]?.id;
|
|
13687
13711
|
};
|
|
13688
|
-
|
|
13689
|
-
let e = Ge.value, t = e !==
|
|
13690
|
-
if (
|
|
13691
|
-
let a = Fe((e ?
|
|
13712
|
+
H(() => ve.value, () => {
|
|
13713
|
+
let e = Ge.value, t = e !== Se, n = Hf(ye.value?.id || ""), r = ve.value.some((e) => e.id === ye.value?.id), i = M.value.length > Math.min(n.rowGroupLimit, l.rowGroupLimit);
|
|
13714
|
+
if (Se = e, r && !i && (!t || !n.storeBeforeChange)) return;
|
|
13715
|
+
let a = Fe((e ? xe?.value : be?.value) ?? l.chartType);
|
|
13692
13716
|
a && Pe(a);
|
|
13693
|
-
}),
|
|
13694
|
-
e !==
|
|
13695
|
-
}),
|
|
13717
|
+
}), H(() => l.chartType, (e) => Pe(e)), H(() => l.yKey, (e) => {
|
|
13718
|
+
e !== X.value && (X.value = e);
|
|
13719
|
+
}), H(Ne, (e) => {
|
|
13696
13720
|
if (l.chartFilter && p.value) {
|
|
13697
13721
|
let t = l.chartFilter.colId, n = l.chartFilter.options.find((t) => t.value === e)?.filterValues || null;
|
|
13698
|
-
n && n.length === 0 && (n = null),
|
|
13722
|
+
n && n.length === 0 && (n = null), ie(t, n || []);
|
|
13699
13723
|
let r = xu({
|
|
13700
13724
|
filterType: "set",
|
|
13701
13725
|
values: n
|
|
13702
|
-
},
|
|
13726
|
+
}, ge(t));
|
|
13703
13727
|
p.value.setColumnFilterModel(t, r).then(() => {
|
|
13704
13728
|
p.value?.onFilterChanged();
|
|
13705
13729
|
});
|
|
13706
13730
|
}
|
|
13707
13731
|
});
|
|
13708
|
-
let Ie = (e) => e?.label ?? "", Le = r(() => Ie(
|
|
13709
|
-
let e = We.value, t =
|
|
13732
|
+
let Ie = (e) => e?.label ?? "", Le = r(() => Ie(ne(B.value, X.value))), Re = r(() => ne(te.value, ke.value)), ze = r(() => Ie(Re.value)), Be = r(() => Ce.value.isHorizontal === !0), Ve = r(() => M.value.length > 1), He = r(() => !ye.value || B.value.length === 0 ? [] : Ce.value.seriesFamily === "pie" ? qe.value : Ke.value), Ue = r(() => l.showSeriesLabels), We = r(() => ye.value?.id.includes("stacked")), Ge = r(() => M.value.length > 1), Ke = r(() => {
|
|
13733
|
+
let e = We.value, t = Ce.value.agChartType, n = [], r = he(X.value, !0), i = he(Q.value?.fieldName, !0);
|
|
13710
13734
|
if (Ve.value) Q.value?.fieldValues.forEach((a) => {
|
|
13711
13735
|
let o = {
|
|
13712
13736
|
type: t,
|
|
13713
13737
|
xKey: P.value,
|
|
13714
|
-
yKey: ss(
|
|
13738
|
+
yKey: ss(X.value, a),
|
|
13715
13739
|
yName: typeof i == "function" ? i({ value: a }) : a,
|
|
13716
13740
|
stacked: e,
|
|
13717
13741
|
label: {
|
|
@@ -13730,7 +13754,7 @@ var sp = { style: {
|
|
|
13730
13754
|
let e = {
|
|
13731
13755
|
type: t,
|
|
13732
13756
|
xKey: P.value,
|
|
13733
|
-
yKey:
|
|
13757
|
+
yKey: X.value,
|
|
13734
13758
|
yName: Le.value,
|
|
13735
13759
|
label: {
|
|
13736
13760
|
enabled: Ue.value,
|
|
@@ -13755,11 +13779,11 @@ var sp = { style: {
|
|
|
13755
13779
|
if (n = n.map((e) => ({
|
|
13756
13780
|
...e,
|
|
13757
13781
|
...a
|
|
13758
|
-
})),
|
|
13782
|
+
})), Ce.value.yAxis.defaultValue === "groupedRecordCount" && (n = n.map((e) => ({
|
|
13759
13783
|
...e,
|
|
13760
13784
|
tooltip: { renderer: (e) => {
|
|
13761
13785
|
let t = String(e.datum[e.xKey] ?? ""), n = e.datum.bucketMin, r = e.datum.bucketMax;
|
|
13762
|
-
return typeof n == "number" && typeof r == "number" && (t =
|
|
13786
|
+
return typeof n == "number" && typeof r == "number" && (t = _e(n, r)), {
|
|
13763
13787
|
title: t,
|
|
13764
13788
|
content: `Count: ${e.datum[e.yKey]}`
|
|
13765
13789
|
};
|
|
@@ -13767,7 +13791,7 @@ var sp = { style: {
|
|
|
13767
13791
|
}))), ke.value) {
|
|
13768
13792
|
let t;
|
|
13769
13793
|
t = e ? `${ke.value}_sort_total` : ke.value;
|
|
13770
|
-
let r =
|
|
13794
|
+
let r = ge(P.value)?.context?.metadataDisplayFields?.[0] || P.value, i = sp(P.value, r, t, ze.value, Be.value), a = {
|
|
13771
13795
|
type: "scatter",
|
|
13772
13796
|
id: "metric-overlay",
|
|
13773
13797
|
data: ct.value,
|
|
@@ -13786,7 +13810,7 @@ var sp = { style: {
|
|
|
13786
13810
|
}
|
|
13787
13811
|
n = [...n, a];
|
|
13788
13812
|
}
|
|
13789
|
-
if (
|
|
13813
|
+
if (ye.value?.id === "histogram" && $.value && $.value.length > 0 && typeof $.value[0]?.bucketMin == "number" && typeof $.value[0]?.bucketMax == "number" && je.value.length > 0 && $.value) {
|
|
13790
13814
|
let e = $.value.length, t = Number.isFinite(ht.value) ? ht.value : 0, r = {
|
|
13791
13815
|
type: "scatter",
|
|
13792
13816
|
xKey: "__dummy_x__",
|
|
@@ -13808,13 +13832,13 @@ var sp = { style: {
|
|
|
13808
13832
|
data: je.value.flatMap((e) => {
|
|
13809
13833
|
let t = Et(e.value, $.value || []);
|
|
13810
13834
|
if (t === null) return [];
|
|
13811
|
-
let n = Number.isFinite(ht.value) ? ht.value : 0, r =
|
|
13835
|
+
let n = Number.isFinite(ht.value) ? ht.value : 0, r = he(M.value?.[0]), i = typeof r == "function" ? r({ value: e.value }) : e.value;
|
|
13812
13836
|
return Array.from({ length: 30 }, (r, a) => ({
|
|
13813
13837
|
value: i,
|
|
13814
13838
|
__dummy_x__: t,
|
|
13815
13839
|
__dummy_y__: n / 29 * a,
|
|
13816
13840
|
__dummy_overlay_label__: e.label,
|
|
13817
|
-
[
|
|
13841
|
+
[X.value]: n
|
|
13818
13842
|
}));
|
|
13819
13843
|
}),
|
|
13820
13844
|
size: 15,
|
|
@@ -13844,92 +13868,92 @@ var sp = { style: {
|
|
|
13844
13868
|
}), qe = r(() => B.value.length === 0 ? [] : [{
|
|
13845
13869
|
type: "pie",
|
|
13846
13870
|
legendItemKey: P.value,
|
|
13847
|
-
angleKey:
|
|
13871
|
+
angleKey: X.value
|
|
13848
13872
|
}]);
|
|
13849
|
-
|
|
13873
|
+
H(X, (e, t) => {
|
|
13850
13874
|
d("chart-state-changed", {
|
|
13851
13875
|
api: p.value,
|
|
13852
13876
|
newState: { seriesField: e },
|
|
13853
13877
|
oldState: { seriesField: t }
|
|
13854
13878
|
});
|
|
13855
|
-
}),
|
|
13879
|
+
}), H(ke, (e, t) => {
|
|
13856
13880
|
d("chart-state-changed", {
|
|
13857
13881
|
api: p.value,
|
|
13858
13882
|
newState: { secondarySeriesField: e },
|
|
13859
13883
|
oldState: { secondarySeriesField: t }
|
|
13860
13884
|
});
|
|
13861
|
-
}),
|
|
13862
|
-
e?.id && Hf(e.id).storeBeforeChange && (Ge.value ?
|
|
13885
|
+
}), H(ye, (e, t) => {
|
|
13886
|
+
e?.id && Hf(e.id).storeBeforeChange && (Ge.value ? xe.value = e.id : be.value = e.id);
|
|
13863
13887
|
let n = Hf(e?.id || ""), r = Hf(t?.id || ""), i = (n.xAxis.filterColumns === r.xAxis.filterColumns ? M.value : Ff(M.value, A.value, n.xAxis.filterColumns)).slice(0, Math.min(n.rowGroupLimit, l.rowGroupLimit));
|
|
13864
|
-
rt(i, M.value) || (M.value = i), n.yAxis.defaultValue ?
|
|
13865
|
-
l.yKey ?
|
|
13888
|
+
rt(i, M.value) || (M.value = i), n.yAxis.defaultValue ? X.value = n.yAxis.defaultValue : r.yAxis.defaultValue && !n.yAxis.defaultValue && v(() => {
|
|
13889
|
+
l.yKey ? X.value = l.yKey : B.value.length > 0 && (X.value = B.value[0].value);
|
|
13866
13890
|
}), d("chart-state-changed", {
|
|
13867
13891
|
api: p.value,
|
|
13868
13892
|
newState: { chartType: e?.id },
|
|
13869
13893
|
oldState: { chartType: t?.id }
|
|
13870
13894
|
});
|
|
13871
|
-
}),
|
|
13895
|
+
}), H(Te, (e) => {
|
|
13872
13896
|
if (e.length === 1 && M.value.length === 0) {
|
|
13873
13897
|
let t = e[0].field;
|
|
13874
13898
|
t && (M.value = [t]);
|
|
13875
13899
|
}
|
|
13876
|
-
}),
|
|
13877
|
-
e.length === 1 && !
|
|
13878
|
-
}),
|
|
13900
|
+
}), H(B, (e) => {
|
|
13901
|
+
e.length === 1 && !X.value && (X.value = e[0].value);
|
|
13902
|
+
}), H(Me, (e, t) => {
|
|
13879
13903
|
d("chart-state-changed", {
|
|
13880
13904
|
api: p.value,
|
|
13881
13905
|
newState: { chartSort: e?.id },
|
|
13882
13906
|
oldState: { chartSort: t?.id }
|
|
13883
13907
|
});
|
|
13884
|
-
}),
|
|
13908
|
+
}), H(M, (e, t) => {
|
|
13885
13909
|
d("chart-state-changed", {
|
|
13886
13910
|
api: p.value,
|
|
13887
13911
|
newState: { chartCategoryFields: e },
|
|
13888
13912
|
oldState: { chartCategoryFields: t }
|
|
13889
13913
|
});
|
|
13890
|
-
}),
|
|
13914
|
+
}), H(ae, (e, t) => {
|
|
13891
13915
|
d("chart-state-changed", {
|
|
13892
13916
|
api: p.value,
|
|
13893
13917
|
newState: { tableGrouped: e },
|
|
13894
13918
|
oldState: { tableGrouped: t }
|
|
13895
13919
|
});
|
|
13896
|
-
}),
|
|
13920
|
+
}), H(() => l.isTableGrouped, (e, t) => {
|
|
13897
13921
|
!p.value || e === t || !l.enableGroupingToggle || Mt(e);
|
|
13898
|
-
}),
|
|
13922
|
+
}), H(() => l.initialFocusData, (e, t) => {
|
|
13899
13923
|
if (!(rt(e?.focuses, t?.focuses) && e?.focusType == t?.focusType)) {
|
|
13900
13924
|
if (!e?.focusType) {
|
|
13901
|
-
|
|
13925
|
+
G.setFocuses([]);
|
|
13902
13926
|
return;
|
|
13903
13927
|
}
|
|
13904
|
-
|
|
13928
|
+
G.setFocusType(e?.focusType), G.setFocuses(e?.focuses ?? []);
|
|
13905
13929
|
}
|
|
13906
13930
|
}, { deep: !0 });
|
|
13907
13931
|
let Je = () => {
|
|
13908
|
-
|
|
13932
|
+
De.value = [], Oe.value = [], Q.value = null;
|
|
13909
13933
|
}, Ye = (e, t) => {
|
|
13910
13934
|
if (!e || e.length === 0) {
|
|
13911
13935
|
Je();
|
|
13912
13936
|
return;
|
|
13913
13937
|
}
|
|
13914
13938
|
if (t) {
|
|
13915
|
-
let { stackedData: n, uniqueFieldValues: r } = ls(e, P.value, t, Ze.value,
|
|
13916
|
-
|
|
13939
|
+
let { stackedData: n, uniqueFieldValues: r } = ls(e, P.value, t, Ze.value, re.value);
|
|
13940
|
+
Oe.value = n, Q.value = {
|
|
13917
13941
|
fieldName: t,
|
|
13918
13942
|
fieldValues: r
|
|
13919
13943
|
};
|
|
13920
|
-
} else
|
|
13921
|
-
|
|
13944
|
+
} else Oe.value = [], Q.value = null;
|
|
13945
|
+
De.value = e;
|
|
13922
13946
|
}, Xe = (e) => {
|
|
13923
13947
|
let t = ++E.value, n = M.value.length;
|
|
13924
|
-
if (Je(), w.value = !1, n === 0 || B.value.length === 0 || l.requireFiltersToShowData &&
|
|
13948
|
+
if (Je(), w.value = !1, n === 0 || B.value.length === 0 || l.requireFiltersToShowData && W.filterModelEmpty.value) return;
|
|
13925
13949
|
if (l.serverSideChartHandler) {
|
|
13926
|
-
let e =
|
|
13950
|
+
let e = W.filterModel.value, n = p.value?.getColumnDefs() || [];
|
|
13927
13951
|
if (e === null && l.initialGridState) {
|
|
13928
13952
|
let t = wu(l.initialGridState, n, l.enableAdvancedFilter);
|
|
13929
13953
|
e = (l.enableAdvancedFilter ? t?.filter?.advancedFilterModel : t?.filter?.filterModel) || {};
|
|
13930
13954
|
}
|
|
13931
13955
|
e ||= {};
|
|
13932
|
-
let r = ts(ns(M.value.map((e) => p.value?.getColumn(e)).filter((e) => e !== void 0)), n), i = new Set(n.filter((e) => Ko(e).chartOnSecondaryAxes === !0).map((e) => e.field).filter(Boolean)), a = p.value?.getValueColumns().filter((e) => e.getColId() ===
|
|
13956
|
+
let r = ts(ns(M.value.map((e) => p.value?.getColumn(e)).filter((e) => e !== void 0)), n), i = new Set(n.filter((e) => Ko(e).chartOnSecondaryAxes === !0).map((e) => e.field).filter(Boolean)), a = p.value?.getValueColumns().filter((e) => e.getColId() === X.value || i.has(e.getColId())), o = {
|
|
13933
13957
|
rowGroupCols: r || [],
|
|
13934
13958
|
valueCols: ns(a || []),
|
|
13935
13959
|
filterModel: e
|
|
@@ -13952,15 +13976,15 @@ var sp = { style: {
|
|
|
13952
13976
|
let t = Qe(e);
|
|
13953
13977
|
r?.push(t);
|
|
13954
13978
|
}
|
|
13955
|
-
}),
|
|
13979
|
+
}), De.value = r, M.value.length > 1 && i && i.length > 0) {
|
|
13956
13980
|
let e = M.value[1] || "";
|
|
13957
|
-
|
|
13981
|
+
Oe.value = i, Q.value = {
|
|
13958
13982
|
fieldName: e,
|
|
13959
13983
|
fieldValues: Array.from(a)
|
|
13960
13984
|
};
|
|
13961
|
-
} else
|
|
13985
|
+
} else Oe.value = [], Q.value = null;
|
|
13962
13986
|
}, Ze = r(() => {
|
|
13963
|
-
let e = B.value, t =
|
|
13987
|
+
let e = B.value, t = te.value;
|
|
13964
13988
|
return [...new Map([...t, ...e].map((e) => [e.value, e])).values()];
|
|
13965
13989
|
}), Qe = (e) => {
|
|
13966
13990
|
let t = { [e.field]: e.key };
|
|
@@ -13984,17 +14008,17 @@ var sp = { style: {
|
|
|
13984
14008
|
fieldValues: n
|
|
13985
14009
|
};
|
|
13986
14010
|
}, $ = r(() => {
|
|
13987
|
-
let e = Ve.value ?
|
|
13988
|
-
if (Me.value && (t = Ve.value ? `${
|
|
14011
|
+
let e = Ve.value ? Oe.value : De.value, t = null;
|
|
14012
|
+
if (Me.value && (t = Ve.value ? `${X.value}${zo}` : X.value), t && e && Me.value) {
|
|
13989
14013
|
let n = Me.value?.id.includes("desc") ? -1 : 1;
|
|
13990
14014
|
e = [...e].sort((e, r) => ((e[t] || 0) - (r[t] || 0)) * n);
|
|
13991
14015
|
}
|
|
13992
|
-
if (e && e.length === 1 &&
|
|
14016
|
+
if (e && e.length === 1 && Ce.value.agChartType === "bar" && (e = [
|
|
13993
14017
|
{ [P.value]: "" },
|
|
13994
14018
|
e[0],
|
|
13995
14019
|
{ [P.value]: " " }
|
|
13996
|
-
]), l.enableFocusView && e &&
|
|
13997
|
-
let t = e?.filter((e) =>
|
|
14020
|
+
]), l.enableFocusView && e && ce.value.length > 0 && q.value) {
|
|
14021
|
+
let t = e?.filter((e) => ce.value.includes(e[P.value])), n = e?.filter((e) => !ce.value.includes(e[P.value]));
|
|
13998
14022
|
e = [
|
|
13999
14023
|
...t || [],
|
|
14000
14024
|
{ [P.value]: Ro },
|
|
@@ -14002,7 +14026,7 @@ var sp = { style: {
|
|
|
14002
14026
|
];
|
|
14003
14027
|
}
|
|
14004
14028
|
return e;
|
|
14005
|
-
}), et = new Set(["", " "]), tt = k(void 0), nt = r(() =>
|
|
14029
|
+
}), et = new Set(["", " "]), tt = k(void 0), nt = r(() => ye.value?.id === "map" && ee.value && M.value.length === 1), it = r(() => X.value || B.value[0]?.value || "value"), at = r(() => {
|
|
14006
14030
|
let e = P.value, t = it.value;
|
|
14007
14031
|
return !e || !t ? [] : ($.value ?? []).filter((t) => {
|
|
14008
14032
|
let n = String(t?.[e] ?? "");
|
|
@@ -14029,7 +14053,7 @@ var sp = { style: {
|
|
|
14029
14053
|
max: 0
|
|
14030
14054
|
};
|
|
14031
14055
|
}), st = r(() => {
|
|
14032
|
-
let e =
|
|
14056
|
+
let e = ge(it.value)?.valueFormatter;
|
|
14033
14057
|
return typeof e == "function" ? (t) => String(e({ value: t }) ?? t) : (e) => e.toLocaleString("en-US");
|
|
14034
14058
|
}), ct = r(() => {
|
|
14035
14059
|
let e = ($.value ?? []).filter((e) => {
|
|
@@ -14037,7 +14061,7 @@ var sp = { style: {
|
|
|
14037
14061
|
return !et.has(String(t));
|
|
14038
14062
|
}), t = ke.value;
|
|
14039
14063
|
if (!Ve.value || !t || !Q.value) return e;
|
|
14040
|
-
let n =
|
|
14064
|
+
let n = ge(t);
|
|
14041
14065
|
if ((typeof n?.aggFunc == "string" ? n.aggFunc : "") === "sum") return e;
|
|
14042
14066
|
let r = `${t}${zo}`, i = Q.value.fieldValues;
|
|
14043
14067
|
return e.map((e) => {
|
|
@@ -14064,14 +14088,14 @@ var sp = { style: {
|
|
|
14064
14088
|
enableChartScrolling: ut.value,
|
|
14065
14089
|
isHorizontalScrollingChart: Be.value,
|
|
14066
14090
|
minContentWidth: 0
|
|
14067
|
-
})), ht = r(() => us(Ve.value ?
|
|
14091
|
+
})), ht = r(() => us(Ve.value ? Oe.value : $.value, X.value, Ve.value)), gt = r(() => ke.value ? us(Ve.value ? Oe.value : $.value, ke.value, Ve.value) : -Infinity), _t = r(() => ds(Ve.value ? Oe.value : $.value, X.value, Ve.value)), vt = r(() => ke.value ? ds(Ve.value ? Oe.value : $.value, ke.value, Ve.value) : Infinity), yt = r(() => Q.value?.fieldValues?.length || 0), bt = r(() => {
|
|
14068
14092
|
let e = .25 * Math.exp(-.12 * lt.value);
|
|
14069
14093
|
return Math.min(Math.max(e, .05), .75);
|
|
14070
|
-
}), xt = r(() => yt.value > 5 ? .5 : 1), St = r(() => yt.value > 5 ? .25 : .1), Ct = r(() => !$.value || $.value?.length === 0 ? !0 : ht.value === -Infinity || Ve.value === !0 && ht.value === 0), wt = r(() => !!(l.enableFocusView &&
|
|
14071
|
-
let e =
|
|
14094
|
+
}), xt = r(() => yt.value > 5 ? .5 : 1), St = r(() => yt.value > 5 ? .25 : .1), Ct = r(() => !$.value || $.value?.length === 0 ? !0 : ht.value === -Infinity || Ve.value === !0 && ht.value === 0), wt = r(() => !!(l.enableFocusView && q.value && ce.value.length === 0 && l.percentOfFocusViewYKey && X.value && X.value === l.percentOfFocusViewYKey)), Tt = r(() => {
|
|
14095
|
+
let e = ge(q.value || ""), t = e?.headerName || e?.field || "Compare Field";
|
|
14072
14096
|
return os({
|
|
14073
14097
|
currentRowGroupColumnsLength: M.value.length,
|
|
14074
|
-
shouldShowFocusOverlayText: wt.value || l.focusRequired &&
|
|
14098
|
+
shouldShowFocusOverlayText: wt.value || l.focusRequired && ce.value.length === 0,
|
|
14075
14099
|
chartDataEmpty: Ct.value,
|
|
14076
14100
|
missingFocusText: l.missingFocusText,
|
|
14077
14101
|
displayGroupByName: t,
|
|
@@ -14088,18 +14112,18 @@ var sp = { style: {
|
|
|
14088
14112
|
}
|
|
14089
14113
|
}
|
|
14090
14114
|
return null;
|
|
14091
|
-
}, Dt = r(() => wt.value ||
|
|
14115
|
+
}, Dt = r(() => wt.value || se.value || !l.isLoading && Tt.value !== ""), Ot = r(() => {
|
|
14092
14116
|
let e = {};
|
|
14093
14117
|
e.overlays = { noData: { text: "" } }, e.data = Dt.value ? [] : $.value, e.legend = {
|
|
14094
14118
|
toggleSeries: !1,
|
|
14095
14119
|
preventHidingAll: !0,
|
|
14096
14120
|
enabled: M.value.length > 1
|
|
14097
14121
|
};
|
|
14098
|
-
let t = Ve.value ? Q.value?.fieldValues.map((e) => ss(
|
|
14122
|
+
let t = Ve.value ? Q.value?.fieldValues.map((e) => ss(X.value, e)) || [] : X.value ? [X.value] : [], n = (() => {
|
|
14099
14123
|
if (!ke.value) return [];
|
|
14100
14124
|
let e = ke.value;
|
|
14101
14125
|
return We.value ? [`${e}${zo}`] : Ve.value ? Q.value?.fieldValues.map((t) => ss(e, String(t))) || [] : [e];
|
|
14102
|
-
})(), r =
|
|
14126
|
+
})(), r = Ce.value.xAxis.hideLabel === !0, i = ye.value?.id === "histogram" && $.value && $.value.length > 0 && typeof $.value[0]?.bucketMin == "number" && typeof $.value[0]?.bucketMax == "number", a = [];
|
|
14103
14127
|
if (a.push({
|
|
14104
14128
|
type: "category",
|
|
14105
14129
|
keys: [P.value],
|
|
@@ -14120,9 +14144,9 @@ var sp = { style: {
|
|
|
14120
14144
|
wrapping: "never",
|
|
14121
14145
|
formatter: r ? () => "" : (e) => {
|
|
14122
14146
|
if (e.value === "--SEPARATOR--") return "";
|
|
14123
|
-
let t = e.value, n =
|
|
14147
|
+
let t = e.value, n = he(P.value);
|
|
14124
14148
|
typeof n == "function" && (t = n(e));
|
|
14125
|
-
let r = l.enableFocusView &&
|
|
14149
|
+
let r = l.enableFocusView && ce.value.includes(e.value) ? ` (${l.focusText})` : "";
|
|
14126
14150
|
if (typeof t == "string" && t.length + r.length > 50 && !e.context?.tooltip) {
|
|
14127
14151
|
let e = 50 - r.length - 3;
|
|
14128
14152
|
return t.substring(0, e) + "..." + r;
|
|
@@ -14172,7 +14196,7 @@ var sp = { style: {
|
|
|
14172
14196
|
nice: !1,
|
|
14173
14197
|
interval: { step: f / 5 }
|
|
14174
14198
|
} : {},
|
|
14175
|
-
label: { formatter:
|
|
14199
|
+
label: { formatter: he(X.value) },
|
|
14176
14200
|
title: {
|
|
14177
14201
|
enabled: !0,
|
|
14178
14202
|
text: Le.value
|
|
@@ -14218,10 +14242,10 @@ var sp = { style: {
|
|
|
14218
14242
|
});
|
|
14219
14243
|
}
|
|
14220
14244
|
return e.axes = a, e.series = He.value, e;
|
|
14221
|
-
}), kt = r(() => w.value || l.isLoading && (!$.value || $.value.length === 0)), At = r(() => wt.value || !
|
|
14245
|
+
}), kt = r(() => w.value || l.isLoading && (!$.value || $.value.length === 0)), At = r(() => wt.value || !se.value && !l.isLoading && Tt.value !== ""), jt = (e) => {
|
|
14222
14246
|
g.value = e, d("chart-collapsed", e);
|
|
14223
14247
|
}, Mt = (e) => {
|
|
14224
|
-
p.value && (p.value.setRowGroupColumns(e ? M.value : []),
|
|
14248
|
+
p.value && (p.value.setRowGroupColumns(e ? M.value : []), ae.value = e);
|
|
14225
14249
|
};
|
|
14226
14250
|
function Nt(e) {
|
|
14227
14251
|
return e?.hydrate ? m.value?.getFilterValueSelectedMetadataMap({ hydrate: !0 }) : m.value?.getFilterValueSelectedMetadataMap();
|
|
@@ -14236,16 +14260,16 @@ var sp = { style: {
|
|
|
14236
14260
|
}), S(() => {
|
|
14237
14261
|
if (l.initialGridState) {
|
|
14238
14262
|
let e = l.initialGridState.rowGroup?.groupColIds || [];
|
|
14239
|
-
M.value = e, !l.allFieldsAreFocusable && e.length > 0 &&
|
|
14263
|
+
M.value = e, !l.allFieldsAreFocusable && e.length > 0 && G.setFocusType(e[0]);
|
|
14240
14264
|
}
|
|
14241
14265
|
}), T(async () => {
|
|
14242
14266
|
await v(), C.value = l.filterPanelAboveChart;
|
|
14243
|
-
}), (n, r) => (D(), o("div",
|
|
14267
|
+
}), (n, r) => (D(), o("div", cp, [
|
|
14244
14268
|
s("div", {
|
|
14245
14269
|
class: "pv-stack-16",
|
|
14246
14270
|
id: b
|
|
14247
14271
|
}),
|
|
14248
|
-
e.hideChart ? a("", !0) : (D(), o("div",
|
|
14272
|
+
e.hideChart ? a("", !0) : (D(), o("div", lp, [
|
|
14249
14273
|
u(Mn, {
|
|
14250
14274
|
rightIcon: "chevrons-down-up",
|
|
14251
14275
|
label: "Collapse",
|
|
@@ -14257,7 +14281,7 @@ var sp = { style: {
|
|
|
14257
14281
|
onClick: r[0] ||= (e) => jt(!g.value),
|
|
14258
14282
|
class: y(e.hideChart || g.value ? "pv-hide" : "")
|
|
14259
14283
|
}, null, 8, ["class"]),
|
|
14260
|
-
s("div", { class: y(e.hideChart || !g.value ? "pv-hide" : "pv-space-between") }, [s("div",
|
|
14284
|
+
s("div", { class: y(e.hideChart || !g.value ? "pv-hide" : "pv-space-between") }, [s("div", up, [u(On, {
|
|
14261
14285
|
name: "chart-line",
|
|
14262
14286
|
size: 20,
|
|
14263
14287
|
class: "pv-text-subdued"
|
|
@@ -14270,15 +14294,16 @@ var sp = { style: {
|
|
|
14270
14294
|
variant: "secondary",
|
|
14271
14295
|
onClick: r[1] ||= (e) => jt(!g.value)
|
|
14272
14296
|
})], 2),
|
|
14273
|
-
s("div", { class: y(e.hideChart || g.value ? "pv-hide" : "") }, [u(
|
|
14297
|
+
s("div", { class: y(e.hideChart || g.value ? "pv-hide" : "") }, [u(op, {
|
|
14274
14298
|
enablePanel: $.value != null && $.value.length > 0,
|
|
14275
14299
|
chartFilter: e.chartFilter,
|
|
14276
|
-
rowGroupLimit:
|
|
14300
|
+
rowGroupLimit: we.value,
|
|
14277
14301
|
"use-combined-button": l.enableCombinedChartConfigPanel,
|
|
14278
14302
|
"use-nested-menu": l.enableNestedChartConfigPanel,
|
|
14279
14303
|
"chart-config-options": l.chartConfigPanelOptions,
|
|
14280
14304
|
"read-only": l.chartConfigPanelReadOnly,
|
|
14281
|
-
|
|
14305
|
+
"percent-of-focus-view-y-key": l.percentOfFocusViewYKey,
|
|
14306
|
+
onSeriesAggFuncSelected: de
|
|
14282
14307
|
}, null, 8, [
|
|
14283
14308
|
"enablePanel",
|
|
14284
14309
|
"chartFilter",
|
|
@@ -14286,8 +14311,9 @@ var sp = { style: {
|
|
|
14286
14311
|
"use-combined-button",
|
|
14287
14312
|
"use-nested-menu",
|
|
14288
14313
|
"chart-config-options",
|
|
14289
|
-
"read-only"
|
|
14290
|
-
|
|
14314
|
+
"read-only",
|
|
14315
|
+
"percent-of-focus-view-y-key"
|
|
14316
|
+
]), s("div", dp, [nt.value ? (D(), i(wo, {
|
|
14291
14317
|
key: 0,
|
|
14292
14318
|
selectedRegion: tt.value,
|
|
14293
14319
|
"onUpdate:selectedRegion": r[2] ||= (e) => tt.value = e,
|
|
@@ -14327,37 +14353,37 @@ var sp = { style: {
|
|
|
14327
14353
|
"options",
|
|
14328
14354
|
"enableFocusView",
|
|
14329
14355
|
"minHeight"
|
|
14330
|
-
])], 4)], 6)), nt.value ? a("", !0) : (D(), o("div",
|
|
14356
|
+
])], 4)], 6)), nt.value ? a("", !0) : (D(), o("div", fp, [se.value ? (D(), o("div", pp, [(D(), i(N(e.emptyChartFilterRenderer)))])) : At.value ? (D(), o("p", mp, F(Tt.value), 1)) : a("", !0)]))])], 2)
|
|
14331
14357
|
])),
|
|
14332
14358
|
u(df, _({
|
|
14333
14359
|
ref_key: "pvDataTableRef",
|
|
14334
14360
|
ref: m
|
|
14335
14361
|
}, n.$props, {
|
|
14336
14362
|
filterTeleportLocation: C.value ? `#${b}` : void 0,
|
|
14337
|
-
pagination: e.pagination || !
|
|
14338
|
-
onColumnRowGroupChanged:
|
|
14339
|
-
onColumnValueChanged:
|
|
14340
|
-
onGridReady:
|
|
14341
|
-
onFilterChanged:
|
|
14363
|
+
pagination: e.pagination || !ae.value,
|
|
14364
|
+
onColumnRowGroupChanged: Y,
|
|
14365
|
+
onColumnValueChanged: J,
|
|
14366
|
+
onGridReady: ue,
|
|
14367
|
+
onFilterChanged: pe,
|
|
14342
14368
|
onSortChanged: r[4] ||= (e) => d("sort-changed", e),
|
|
14343
14369
|
onFilterOpened: r[5] ||= (e) => d("filter-opened", e),
|
|
14344
|
-
onFirstDataRendered:
|
|
14370
|
+
onFirstDataRendered: fe,
|
|
14345
14371
|
onColumnMoved: r[6] ||= (e) => d("column-moved", e),
|
|
14346
14372
|
onColumnResized: r[7] ||= (e) => d("column-resized", e),
|
|
14347
14373
|
onHandleSettingsIcon: r[8] ||= (e) => d("handle-settings-icon", e),
|
|
14348
14374
|
onFocusUpdate: r[9] ||= (e) => d("focus-update", e)
|
|
14349
14375
|
}), {
|
|
14350
|
-
"top-slot":
|
|
14376
|
+
"top-slot": U(() => [e.enableGroupingToggle ? (D(), o(t, { key: 0 }, [e.tableConfigOptions ? (D(), i(bf, {
|
|
14351
14377
|
key: 0,
|
|
14352
|
-
groupedModeEnabled:
|
|
14378
|
+
groupedModeEnabled: ae.value,
|
|
14353
14379
|
tableConfigOptions: l.tableConfigOptions,
|
|
14354
14380
|
onToggleGroup: Mt,
|
|
14355
|
-
onTableOverlayChange:
|
|
14381
|
+
onTableOverlayChange: oe
|
|
14356
14382
|
}, null, 8, ["groupedModeEnabled", "tableConfigOptions"])) : (D(), i(Mn, {
|
|
14357
14383
|
key: 1,
|
|
14358
|
-
leftIcon:
|
|
14359
|
-
label:
|
|
14360
|
-
onClick: r[3] ||= (e) => Mt(!
|
|
14384
|
+
leftIcon: ae.value ? "ungroup" : "group",
|
|
14385
|
+
label: ae.value ? "Ungroup Table" : "Group Table to Match Chart",
|
|
14386
|
+
onClick: r[3] ||= (e) => Mt(!ae.value),
|
|
14361
14387
|
variant: "secondary",
|
|
14362
14388
|
size: "lg"
|
|
14363
14389
|
}, null, 8, ["leftIcon", "label"]))], 64)) : a("", !0), j(n.$slots, "top-slot")]),
|
|
@@ -14365,7 +14391,7 @@ var sp = { style: {
|
|
|
14365
14391
|
}, 16, ["filterTeleportLocation", "pagination"])
|
|
14366
14392
|
]));
|
|
14367
14393
|
}
|
|
14368
|
-
}),
|
|
14394
|
+
}), gp = "Unable to load data", _p = (e, t = {}) => {
|
|
14369
14395
|
let n = k([]), i = k(!1), a = k(), o = 0, s = async () => {
|
|
14370
14396
|
let t = ++o;
|
|
14371
14397
|
i.value = !0;
|
|
@@ -14380,7 +14406,7 @@ var sp = { style: {
|
|
|
14380
14406
|
t === o && (i.value = !1);
|
|
14381
14407
|
}
|
|
14382
14408
|
};
|
|
14383
|
-
return t.watch &&
|
|
14409
|
+
return t.watch && H(Array.isArray(t.watch) ? t.watch : [t.watch], () => {
|
|
14384
14410
|
s();
|
|
14385
14411
|
}), t.immediate !== !1 && s(), {
|
|
14386
14412
|
chartData: n,
|
|
@@ -14395,6 +14421,6 @@ var sp = { style: {
|
|
|
14395
14421
|
};
|
|
14396
14422
|
};
|
|
14397
14423
|
//#endregion
|
|
14398
|
-
export {
|
|
14424
|
+
export { gp as DEFAULT_DATA_WIDGET_ERROR_TEXT, xt as PitViperAGChartsMonochromeTheme, bt as PitViperAGChartsMonochromeThemeName, Ct as PitViperAGChartsMulticolorTheme, St as PitViperAGChartsMulticolorThemeName, $t as PvChart, yn as PvChartWidget, df as PvDataTable, hp as PvDataTableWithChart, Ps as PvDataWidget, wo as PvMapChart, cl as RumContextKey, mt as SCATTER_MARKER_STROKE, ul as addRumAction, Su as constructAdvancedFilterCondition, Cu as convertFilterModelToAdvanced, td as createPvDataTableFilterStore, dl as deferRumTask, Xu as excludeValueFromSetFilter, ku as filterModelContainsColId, Vu as filterModelsEqual, Ku as getSelectedValues, Wu as getSelectedValuesFromAdvancedFilterModel, Fu as getSelectedValuesFromFilterModel, Gu as getSelectedValuesFromFilterModelByColId, Iu as isAdvancedFilterModel, Ru as isFilterModelEmpty, Hu as mergeAdvancedFilterCondition, Au as mergeFilterModels, nd as providePvDataTableFilterStore, qu as removeColumnFilter, Uu as removeColumnFromAdvancedFilter, Yu as updateMultiOrSetFilter, Ju as updateSetFilter, id as usePvDataTableFilterStore, _p as usePvDataWidgetData, ll as useRumContext };
|
|
14399
14425
|
|
|
14400
14426
|
//# sourceMappingURL=pv-components-visualizations.mjs.map
|