@turquoisehealth/pit-viper 2.217.1-dev.0 → 2.218.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/pv-components/dist/stats/vue/base/stats.html +1 -1
- package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
- package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
- package/pv-components/dist/vue/base/pv-components-base.mjs +237 -233
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +1 -19
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +534 -554
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/components/pv-menu/pv-menu.js +216 -212
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +1104 -1100
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +163 -159
- package/pv-components/dist/web/pv-components.iife.js +9 -9
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -1,8 +1,8 @@
|
|
|
1
|
-
(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.pv-scatter-overlay[data-v-869e5381]{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-869e5381]{display:flex;overflow:hidden}.pv-scatter-quadrant-box[data-v-869e5381]{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-869e5381]{grid-area:1/1;justify-content:flex-start;align-items:flex-start;padding:5px}.pv-scatter-quadrant-top-right[data-v-869e5381]{grid-area:1/2;justify-content:flex-end;align-items:flex-start;padding:5px}.pv-scatter-quadrant-bottom-left[data-v-869e5381]{grid-area:2/1;justify-content:flex-start;align-items:flex-end;padding:5px}.pv-scatter-quadrant-bottom-right[data-v-869e5381]{grid-area:2/2;justify-content:flex-end;align-items:flex-end;padding:5px}.pv-chart-loading[data-v-869e5381]{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-869e5381]{color:#16696d;animation:1.5s ease-in-out infinite pulse-869e5381}@keyframes pulse-869e5381{0%{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}.pv-chart-widget[data-v-21acdc5d]{box-sizing:border-box;flex-direction:column;width:100%;min-width:0;height:100%;min-height:0;display:flex;position:relative}.pv-chart-widget--constrained[data-v-21acdc5d]{overflow:hidden}.pv-chart-widget__chart-area[data-v-21acdc5d]{flex:auto;width:100%;min-height:0;position:relative;overflow:hidden}.pv-chart-widget__chart-scroll[data-v-21acdc5d]{width:100%;height:100%;min-height:0}.pv-chart-widget__chart-content[data-v-21acdc5d]{height:100%;min-height:100%}.pv-badge-md[data-v-013a5d76]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-013a5d76]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-floating-native[data-v-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-86fcb2f4]{z-index:50}.pv-popover-list>li[data-v-86fcb2f4]:last-child>.pv-label{margin-block-end:0}[data-v-86fcb2f4] .pv-menu-nested:after{content:"";border-top:1.5px solid;border-right:1.5px solid;flex-shrink:0;width:.4rem;height:.4rem;margin-left:auto;margin-right:.2rem;transform:rotate(45deg)}.pv-map-chart[data-v-af7882f9]{flex-direction:column;width:100%;height:100%;display:flex}.pv-map-chart__header[data-v-af7882f9]{flex:none}.pv-map-chart__chart[data-v-af7882f9]{flex:auto;min-height:0}.pv-data-widget[data-v-9118bfea]{box-sizing:border-box;width:100%;min-width:0;min-height:0}.pv-data-widget--constrained[data-v-9118bfea]{flex-direction:column;display:flex;overflow:hidden}.pv-data-widget--constrained .pv-data-widget__body[data-v-9118bfea]{flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden}.pv-data-widget__table-container[data-v-9118bfea]{min-height:0}.pv-data-widget__below-table[data-v-9118bfea]{margin-top:16px}.pv-data-widget--constrained .pv-data-widget__table-container[data-v-9118bfea]{flex:auto}.pv-data-widget--constrained .pv-data-widget__below-table[data-v-9118bfea]{flex:none}.pv-data-widget__chart-scroll[data-v-9118bfea]{width:100%;min-height:0;overflow:hidden}.pv-data-widget--constrained .pv-data-widget__chart-scroll[data-v-9118bfea]{flex:auto}.pv-data-widget__chart-content[data-v-9118bfea]{min-height:100%}.pv-button-icon[aria-expanded=true][data-v-6e4b23d8]{background-color:#c7d8db}.pv-select[data-v-6e4b23d8]{padding-top:4px;padding-bottom:4px}.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-b7d1513c]{align-items:center;height:100%}.ag-header-actions .ag-header-cell-menu-button[data-v-b7d1513c]{opacity:0;transition:opacity .2s ease-in-out}.ag-header-cell-menu-button:hover .ag-header-actions .ag-header-cell-menu-button[data-v-b7d1513c],.ag-header-cell-menu-button:focus .ag-header-actions .ag-header-cell-menu-button[data-v-b7d1513c]{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-144e816a] .pv-legacy-chart-menu-nested:after{content:"›";margin-left:auto}[data-v-144e816a] .pv-legacy-chart-menu-nested-active{background-color:var(--popover-list-selected-item-background-color,#e4f8f6)}[data-v-144e816a] .pv-legacy-chart-option{min-width:150px;max-width:225px}.pv-chart-config-popover{width:max-content;max-width:500px}.pv-data-table-with-chart__chart-scroll{contain:inline-size;width:100%;min-height:0;overflow:hidden}.pv-data-table-with-chart__chart-content{min-height:100%}.pv-chart-overlay{pointer-events:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ag-charts-tooltip{background-color:#fffffff2}.pv-data-table-with-chart__crossline-tooltip.ag-charts-tooltip{border-radius:4px;box-shadow:0 0 8px #0000001f}.ag-charts-floating-toolbar{display:none!important}
|
|
1
|
+
(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.pv-scatter-overlay[data-v-869e5381]{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-869e5381]{display:flex;overflow:hidden}.pv-scatter-quadrant-box[data-v-869e5381]{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-869e5381]{grid-area:1/1;justify-content:flex-start;align-items:flex-start;padding:5px}.pv-scatter-quadrant-top-right[data-v-869e5381]{grid-area:1/2;justify-content:flex-end;align-items:flex-start;padding:5px}.pv-scatter-quadrant-bottom-left[data-v-869e5381]{grid-area:2/1;justify-content:flex-start;align-items:flex-end;padding:5px}.pv-scatter-quadrant-bottom-right[data-v-869e5381]{grid-area:2/2;justify-content:flex-end;align-items:flex-end;padding:5px}.pv-chart-loading[data-v-869e5381]{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-869e5381]{color:#16696d;animation:1.5s ease-in-out infinite pulse-869e5381}@keyframes pulse-869e5381{0%{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}.pv-chart-widget[data-v-21acdc5d]{box-sizing:border-box;flex-direction:column;width:100%;min-width:0;height:100%;min-height:0;display:flex;position:relative}.pv-chart-widget--constrained[data-v-21acdc5d]{overflow:hidden}.pv-chart-widget__chart-area[data-v-21acdc5d]{flex:auto;width:100%;min-height:0;position:relative;overflow:hidden}.pv-chart-widget__chart-scroll[data-v-21acdc5d]{width:100%;height:100%;min-height:0}.pv-chart-widget__chart-content[data-v-21acdc5d]{height:100%;min-height:100%}.pv-badge-md[data-v-013a5d76]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-013a5d76]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-floating-native[data-v-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-f14f755f]{z-index:50}.pv-popover-list>li[data-v-f14f755f]:last-child>.pv-label{margin-block-end:0}[data-v-f14f755f] .pv-menu-nested:after{content:"";border-top:1.5px solid;border-right:1.5px solid;flex-shrink:0;width:.4rem;height:.4rem;margin-left:auto;margin-right:.2rem;transform:rotate(45deg)}.pv-map-chart[data-v-af7882f9]{flex-direction:column;width:100%;height:100%;display:flex}.pv-map-chart__header[data-v-af7882f9]{flex:none}.pv-map-chart__chart[data-v-af7882f9]{flex:auto;min-height:0}.pv-data-widget[data-v-9118bfea]{box-sizing:border-box;width:100%;min-width:0;min-height:0}.pv-data-widget--constrained[data-v-9118bfea]{flex-direction:column;display:flex;overflow:hidden}.pv-data-widget--constrained .pv-data-widget__body[data-v-9118bfea]{flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden}.pv-data-widget__table-container[data-v-9118bfea]{min-height:0}.pv-data-widget__below-table[data-v-9118bfea]{margin-top:16px}.pv-data-widget--constrained .pv-data-widget__table-container[data-v-9118bfea]{flex:auto}.pv-data-widget--constrained .pv-data-widget__below-table[data-v-9118bfea]{flex:none}.pv-data-widget__chart-scroll[data-v-9118bfea]{width:100%;min-height:0;overflow:hidden}.pv-data-widget--constrained .pv-data-widget__chart-scroll[data-v-9118bfea]{flex:auto}.pv-data-widget__chart-content[data-v-9118bfea]{min-height:100%}.pv-button-icon[aria-expanded=true][data-v-6e4b23d8]{background-color:#c7d8db}.pv-select[data-v-6e4b23d8]{padding-top:4px;padding-bottom:4px}.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-b7d1513c]{align-items:center;height:100%}.ag-header-actions .ag-header-cell-menu-button[data-v-b7d1513c]{opacity:0;transition:opacity .2s ease-in-out}.ag-header-cell-menu-button:hover .ag-header-actions .ag-header-cell-menu-button[data-v-b7d1513c],.ag-header-cell-menu-button:focus .ag-header-actions .ag-header-cell-menu-button[data-v-b7d1513c]{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-144e816a] .pv-legacy-chart-menu-nested:after{content:"›";margin-left:auto}[data-v-144e816a] .pv-legacy-chart-menu-nested-active{background-color:var(--popover-list-selected-item-background-color,#e4f8f6)}[data-v-144e816a] .pv-legacy-chart-option{min-width:150px;max-width:225px}.pv-chart-config-popover{width:max-content;max-width:500px}.pv-data-table-with-chart__chart-scroll{contain:inline-size;width:100%;min-height:0;overflow:hidden}.pv-data-table-with-chart__chart-content{min-height:100%}.pv-chart-overlay{pointer-events:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ag-charts-tooltip{background-color:#fffffff2}.pv-data-table-with-chart__crossline-tooltip.ag-charts-tooltip{border-radius:4px;box-shadow:0 0 8px #0000001f}.ag-charts-floating-toolbar{display:none!important}
|
|
2
2
|
/*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();import * as e from "vue";
|
|
3
|
-
import { Fragment as t, Teleport as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createSlots as c, createTextVNode as l, createVNode as u, defineComponent as d, getCurrentInstance as f, guardReactiveProps as p, inject as m, isRef as h, mergeModels as g, mergeProps as _, nextTick as v, normalizeClass as y, normalizeProps as b, normalizeStyle as x, onBeforeMount as S, onBeforeUnmount as C, onBeforeUpdate as w, onMounted as T, onUnmounted as E, openBlock as D, provide as O, ref as k, renderList as A, renderSlot as j, resolveComponent as M, resolveDynamicComponent as N, shallowRef as P, toDisplayString as F, toHandlers as I, toRef as L, unref as R, useAttrs as z, useId as B, useModel as V, useSlots as H, useTemplateRef as
|
|
4
|
-
import { AgCharts as
|
|
5
|
-
import { LicenseManager 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, toHandlers as I, toRef as L, unref as R, useAttrs as z, useId as B, useModel as V, useSlots as H, useTemplateRef as ee, vModelCheckbox as te, vModelText as ne, vShow as re, watch as U, withCtx as W, withDirectives as G, withKeys as ie, withModifiers as K } from "vue";
|
|
4
|
+
import { AgCharts as ae } from "ag-charts-vue3";
|
|
5
|
+
import { LicenseManager as q } from "ag-charts-enterprise";
|
|
6
6
|
import { onClickOutside as oe, onKeyStroke as J, toRef as se, useDebounceFn as ce, useElementBounding as le, useElementHover as Y, useElementSize as ue, useToggle as X, watchDebounced as de } from "@vueuse/core";
|
|
7
7
|
import { useSortable as Z } from "@vueuse/integrations/useSortable.mjs";
|
|
8
8
|
import { AgGridVue as fe } from "ag-grid-vue3";
|
|
@@ -250,7 +250,7 @@ var Ut = { style: { position: "relative" } }, Wt = {
|
|
|
250
250
|
emits: ["series-visibility-change"],
|
|
251
251
|
setup(e, { expose: n, emit: c }) {
|
|
252
252
|
let l = e, d = c;
|
|
253
|
-
|
|
253
|
+
q.setLicenseKey($t);
|
|
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 Ut = { style: { position: "relative" } }, Wt = {
|
|
|
360
360
|
width: e?.width,
|
|
361
361
|
height: e?.height
|
|
362
362
|
}) }), (n, r) => (D(), o("div", Ut, [
|
|
363
|
-
u(R(
|
|
363
|
+
u(R(ae), {
|
|
364
364
|
ref_key: "chartRef",
|
|
365
365
|
ref: f,
|
|
366
366
|
style: x([{ height: "100%" }, _.value ? "" : `min-height: ${e.minHeight}px`]),
|
|
@@ -605,7 +605,7 @@ var Ut = { style: { position: "relative" } }, Wt = {
|
|
|
605
605
|
class: y(["pv-card pv-inset-square-8 pv-inline-block", { "pv-card-secondary": e.variant === "secondary" }]),
|
|
606
606
|
"data-testid": "pv-card"
|
|
607
607
|
}, {
|
|
608
|
-
default:
|
|
608
|
+
default: W(() => [j(t.$slots, "default")]),
|
|
609
609
|
_: 3
|
|
610
610
|
}, 8, [
|
|
611
611
|
"href",
|
|
@@ -1669,7 +1669,7 @@ function zi(e, t = {}) {
|
|
|
1669
1669
|
characterData: !0
|
|
1670
1670
|
}));
|
|
1671
1671
|
};
|
|
1672
|
-
return T(v), C(g),
|
|
1672
|
+
return T(v), C(g), U(() => R(n), () => {
|
|
1673
1673
|
c.value && v();
|
|
1674
1674
|
}), {
|
|
1675
1675
|
present: r(() => c.value ? p.value : f.value),
|
|
@@ -1786,13 +1786,13 @@ var Bi = ["popover"], Vi = "--pv-popover-v2-anchor", Hi = /* @__PURE__ */ tn(/*
|
|
|
1786
1786
|
let i = le(b), a = ce(() => {
|
|
1787
1787
|
c.value && L();
|
|
1788
1788
|
}, 5);
|
|
1789
|
-
|
|
1789
|
+
U([
|
|
1790
1790
|
i.top,
|
|
1791
1791
|
i.left,
|
|
1792
1792
|
i.width,
|
|
1793
1793
|
i.height
|
|
1794
1794
|
], a), oe(_, () => {
|
|
1795
|
-
t.disableClickOutsideToClose ||
|
|
1795
|
+
t.disableClickOutsideToClose || W(!1);
|
|
1796
1796
|
}, { ignore: r(() => [
|
|
1797
1797
|
S.value,
|
|
1798
1798
|
".p-datepicker-panel",
|
|
@@ -1802,47 +1802,47 @@ var Bi = ["popover"], Vi = "--pv-popover-v2-anchor", Hi = /* @__PURE__ */ tn(/*
|
|
|
1802
1802
|
let B = r(() => ({
|
|
1803
1803
|
...z(),
|
|
1804
1804
|
zIndex: t.zIndex
|
|
1805
|
-
})), H,
|
|
1805
|
+
})), H, ee, te = () => {
|
|
1806
1806
|
H && clearTimeout(H), H = void 0;
|
|
1807
|
-
},
|
|
1808
|
-
|
|
1809
|
-
},
|
|
1810
|
-
|
|
1807
|
+
}, ne = () => {
|
|
1808
|
+
ee && clearTimeout(ee), ee = void 0;
|
|
1809
|
+
}, W = (e) => {
|
|
1810
|
+
te(), ne(), !(e && !m.value) && (e && t.delay > 0 && (t.showOnHover || !h) ? H = setTimeout(() => {
|
|
1811
1811
|
c.value = !0, H = void 0;
|
|
1812
1812
|
}, t.delay) : c.value = e);
|
|
1813
|
-
},
|
|
1813
|
+
}, ie = () => {
|
|
1814
1814
|
let e = S.value;
|
|
1815
1815
|
!e || !g.value || !m.value || (c.value ? e.showPopover() : e.hidePopover());
|
|
1816
|
-
},
|
|
1817
|
-
t.showOnHover ||
|
|
1818
|
-
},
|
|
1816
|
+
}, K = r(() => t.showOnHover ? t.disableInteractive ? C.value || O.value : C.value || w.value || O.value : !1), ae = () => {
|
|
1817
|
+
t.showOnHover || W(H ? !1 : !c.value);
|
|
1818
|
+
}, q = (e) => {
|
|
1819
1819
|
let t = e.newState === "open";
|
|
1820
1820
|
c.value !== t && (c.value = t);
|
|
1821
1821
|
}, J = (e) => {
|
|
1822
|
-
h && N.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(),
|
|
1822
|
+
h && N.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), W(!1));
|
|
1823
1823
|
};
|
|
1824
|
-
return
|
|
1824
|
+
return U(c, async (e) => {
|
|
1825
1825
|
if (!h) {
|
|
1826
1826
|
e && L();
|
|
1827
1827
|
return;
|
|
1828
1828
|
}
|
|
1829
|
-
await v(),
|
|
1830
|
-
}),
|
|
1829
|
+
await v(), ie();
|
|
1830
|
+
}), U(K, (e) => {
|
|
1831
1831
|
if (t.showOnHover) {
|
|
1832
1832
|
if (e) {
|
|
1833
|
-
|
|
1833
|
+
W(!0);
|
|
1834
1834
|
return;
|
|
1835
1835
|
}
|
|
1836
|
-
|
|
1837
|
-
|
|
1838
|
-
}, t.closeDelay)) :
|
|
1836
|
+
te(), t.closeDelay > 0 ? (ne(), ee = setTimeout(() => {
|
|
1837
|
+
ee = void 0, K.value || W(!1);
|
|
1838
|
+
}, t.closeDelay)) : W(!1);
|
|
1839
1839
|
}
|
|
1840
|
-
}),
|
|
1841
|
-
e ? h && c.value && v(
|
|
1840
|
+
}), U(m, (e) => {
|
|
1841
|
+
e ? h && c.value && v(ie) : (te(), ne(), c.value = !1);
|
|
1842
1842
|
}), T(() => {
|
|
1843
|
-
b.value = y.value, g.value = !0, c.value && v(() => h ?
|
|
1843
|
+
b.value = y.value, g.value = !0, c.value && v(() => h ? ie() : L());
|
|
1844
1844
|
}), E(() => {
|
|
1845
|
-
|
|
1845
|
+
te(), ne();
|
|
1846
1846
|
}), (r, l) => (D(), o("div", {
|
|
1847
1847
|
ref_key: "root",
|
|
1848
1848
|
ref: _,
|
|
@@ -1852,7 +1852,7 @@ var Bi = ["popover"], Vi = "--pv-popover-v2-anchor", Hi = /* @__PURE__ */ tn(/*
|
|
|
1852
1852
|
ref_key: "triggerWrapper",
|
|
1853
1853
|
ref: y,
|
|
1854
1854
|
style: x(F.value),
|
|
1855
|
-
onClick:
|
|
1855
|
+
onClick: ae,
|
|
1856
1856
|
onFocusin: l[0] ||= (e) => O.value = !0,
|
|
1857
1857
|
onFocusout: l[1] ||= (e) => O.value = !1
|
|
1858
1858
|
}, [j(r.$slots, "trigger")], 36), g.value && R(h) && m.value ? (D(), o("div", {
|
|
@@ -1862,17 +1862,17 @@ var Bi = ["popover"], Vi = "--pv-popover-v2-anchor", Hi = /* @__PURE__ */ tn(/*
|
|
|
1862
1862
|
class: "pv-floating pv-floating-native",
|
|
1863
1863
|
popover: N.value,
|
|
1864
1864
|
style: x(I.value),
|
|
1865
|
-
onToggle:
|
|
1865
|
+
onToggle: q
|
|
1866
1866
|
}, [j(r.$slots, "content")], 44, Bi)) : m.value ? (D(), i(n, {
|
|
1867
1867
|
key: 1,
|
|
1868
1868
|
to: e.teleportLocation,
|
|
1869
1869
|
disabled: !t.useTeleport
|
|
1870
|
-
}, [
|
|
1870
|
+
}, [G(s("div", {
|
|
1871
1871
|
ref_key: "floating",
|
|
1872
1872
|
ref: S,
|
|
1873
1873
|
class: "pv-floating",
|
|
1874
1874
|
style: x(B.value)
|
|
1875
|
-
}, [j(r.$slots, "content")], 4), [[
|
|
1875
|
+
}, [j(r.$slots, "content")], 4), [[re, c.value]])], 8, ["to", "disabled"])) : a("", !0)], 36));
|
|
1876
1876
|
}
|
|
1877
1877
|
}), [["__scopeId", "data-v-08e2d92a"]]), Ui = ["data-variant"], Wi = /* @__PURE__ */ d({
|
|
1878
1878
|
__name: "PvTooltipV2",
|
|
@@ -1904,11 +1904,11 @@ var Bi = ["popover"], Vi = "--pv-popover-v2-anchor", Hi = /* @__PURE__ */ tn(/*
|
|
|
1904
1904
|
setup(e) {
|
|
1905
1905
|
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 } = zi("content", { host: a }), d = r(() => a ? u.value : o.value), m = r(() => !!t.description || d.value);
|
|
1906
1906
|
return (t, n) => (D(), i(Hi, b(p(t.$props)), c({
|
|
1907
|
-
trigger:
|
|
1907
|
+
trigger: W(() => [j(t.$slots, "trigger", {}, () => [s("p", null, F(e.label), 1)])]),
|
|
1908
1908
|
_: 2
|
|
1909
1909
|
}, [m.value ? {
|
|
1910
1910
|
name: "content",
|
|
1911
|
-
fn:
|
|
1911
|
+
fn: W(() => [s("div", {
|
|
1912
1912
|
class: y(["pv-tooltip-v2-content", { "pv-tooltip-v2-content-small": e.size === "sm" }]),
|
|
1913
1913
|
role: "tooltip",
|
|
1914
1914
|
"data-variant": e.variant
|
|
@@ -1936,7 +1936,7 @@ var Bi = ["popover"], Vi = "--pv-popover-v2-anchor", Hi = /* @__PURE__ */ tn(/*
|
|
|
1936
1936
|
position: "bottom-right",
|
|
1937
1937
|
style: { width: "100%" }
|
|
1938
1938
|
}, c({
|
|
1939
|
-
trigger:
|
|
1939
|
+
trigger: W(() => [u(Ln, {
|
|
1940
1940
|
class: y(["pv-full-width", { "pv-disabled": e.disabled }]),
|
|
1941
1941
|
variant: "ghost",
|
|
1942
1942
|
label: e.label,
|
|
@@ -1959,7 +1959,7 @@ var Bi = ["popover"], Vi = "--pv-popover-v2-anchor", Hi = /* @__PURE__ */ tn(/*
|
|
|
1959
1959
|
_: 2
|
|
1960
1960
|
}, [e.disabledReason ? {
|
|
1961
1961
|
name: "content",
|
|
1962
|
-
fn:
|
|
1962
|
+
fn: W(() => [l(F(e.disabledReason), 1)]),
|
|
1963
1963
|
key: "0"
|
|
1964
1964
|
} : void 0]), 1024))), 128))], 2));
|
|
1965
1965
|
}
|
|
@@ -4888,7 +4888,7 @@ var Bi = ["popover"], Vi = "--pv-popover-v2-anchor", Hi = /* @__PURE__ */ tn(/*
|
|
|
4888
4888
|
}),
|
|
4889
4889
|
emits: ["update:modelValue"],
|
|
4890
4890
|
setup(e, { expose: t }) {
|
|
4891
|
-
let n = e, i =
|
|
4891
|
+
let n = e, i = ee("search-input"), c = V(e, "modelValue"), l = r(() => ({
|
|
4892
4892
|
"pv-input-search": !0,
|
|
4893
4893
|
"pv-full-width": !0,
|
|
4894
4894
|
"pv-input-padded-end": !0
|
|
@@ -4898,7 +4898,7 @@ var Bi = ["popover"], Vi = "--pv-popover-v2-anchor", Hi = /* @__PURE__ */ tn(/*
|
|
|
4898
4898
|
let t = e.target, n = t instanceof HTMLInputElement || t instanceof HTMLTextAreaElement || (t?.isContentEditable ?? !1), r = document.activeElement === i.value;
|
|
4899
4899
|
(!n || r) && (r || (e.preventDefault(), i.value?.focus()));
|
|
4900
4900
|
});
|
|
4901
|
-
}), t({ input: i }), (t, n) => (D(), o("div", ca, [
|
|
4901
|
+
}), t({ input: i }), (t, n) => (D(), o("div", ca, [G(s("input", {
|
|
4902
4902
|
ref: "search-input",
|
|
4903
4903
|
"onUpdate:modelValue": n[0] ||= (e) => c.value = e,
|
|
4904
4904
|
"data-testid": "pv-search-input",
|
|
@@ -4906,7 +4906,7 @@ var Bi = ["popover"], Vi = "--pv-popover-v2-anchor", Hi = /* @__PURE__ */ tn(/*
|
|
|
4906
4906
|
disabled: e.disabled,
|
|
4907
4907
|
class: y(l.value),
|
|
4908
4908
|
placeholder: e.placeholder
|
|
4909
|
-
}, null, 10, la), [[
|
|
4909
|
+
}, null, 10, la), [[ne, c.value]]), e.displayShortcut ? (D(), o("kbd", ua, F(da))) : a("", !0)]));
|
|
4910
4910
|
}
|
|
4911
4911
|
}), pa = {
|
|
4912
4912
|
class: "pv-flex",
|
|
@@ -4924,7 +4924,7 @@ var Bi = ["popover"], Vi = "--pv-popover-v2-anchor", Hi = /* @__PURE__ */ tn(/*
|
|
|
4924
4924
|
"pv-icon": n.value,
|
|
4925
4925
|
[`pv-company-${t.size}`]: t.size && !n.value
|
|
4926
4926
|
})), 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}`);
|
|
4927
|
-
return
|
|
4927
|
+
return U(u, () => {
|
|
4928
4928
|
n.value = !0;
|
|
4929
4929
|
}), (e, t) => (D(), o("div", pa, [n.value ? (D(), o("div", {
|
|
4930
4930
|
key: 0,
|
|
@@ -5141,11 +5141,11 @@ var Bi = ["popover"], Vi = "--pv-popover-v2-anchor", Hi = /* @__PURE__ */ tn(/*
|
|
|
5141
5141
|
variant: "dark",
|
|
5142
5142
|
"tooltip-position": "top-left"
|
|
5143
5143
|
}, {
|
|
5144
|
-
label:
|
|
5144
|
+
label: W(() => [u(Nn, {
|
|
5145
5145
|
name: "close",
|
|
5146
|
-
onClick: r[0] ||=
|
|
5146
|
+
onClick: r[0] ||= K((e) => n.$emit("handle-clear"), ["stop"])
|
|
5147
5147
|
})]),
|
|
5148
|
-
"tooltip-content":
|
|
5148
|
+
"tooltip-content": W(() => [...r[1] ||= [l(" Clear Selections ", -1)]]),
|
|
5149
5149
|
_: 1
|
|
5150
5150
|
})) : a("", !0)
|
|
5151
5151
|
], 10, Sa));
|
|
@@ -5250,7 +5250,7 @@ var La = {
|
|
|
5250
5250
|
};
|
|
5251
5251
|
return T(() => {
|
|
5252
5252
|
p();
|
|
5253
|
-
}),
|
|
5253
|
+
}), U(() => n.queryText, () => {
|
|
5254
5254
|
p();
|
|
5255
5255
|
}), (n, r) => (D(), o(t, null, [
|
|
5256
5256
|
e.avatar ? (D(), i(va, {
|
|
@@ -5341,14 +5341,14 @@ var La = {
|
|
|
5341
5341
|
"pv-input-xsmall": e.size === "sm",
|
|
5342
5342
|
"pv-switch-hide-check": e.hideCheckIcon
|
|
5343
5343
|
}])
|
|
5344
|
-
}, [e.label ? (D(), o("span", Ua, F(e.label), 1)) : a("", !0),
|
|
5344
|
+
}, [e.label ? (D(), o("span", Ua, F(e.label), 1)) : a("", !0), G(s("input", {
|
|
5345
5345
|
"onUpdate:modelValue": i[0] ||= (e) => n.value = e,
|
|
5346
5346
|
disabled: e.disabled,
|
|
5347
5347
|
"aria-label": e.ariaLabel,
|
|
5348
5348
|
type: "checkbox",
|
|
5349
5349
|
role: "switch",
|
|
5350
5350
|
id: R(t)
|
|
5351
|
-
}, null, 8, Wa), [[
|
|
5351
|
+
}, null, 8, Wa), [[te, n.value]])], 10, Ha));
|
|
5352
5352
|
}
|
|
5353
5353
|
}), [["__scopeId", "data-v-73e6d2b2"]]), Ka = ["aria-label", "disabled"], qa = /* @__PURE__ */ d({
|
|
5354
5354
|
__name: "PvActionButton",
|
|
@@ -5381,13 +5381,13 @@ var La = {
|
|
|
5381
5381
|
"disable-interactive": !0,
|
|
5382
5382
|
"use-teleport": !0
|
|
5383
5383
|
}, c({
|
|
5384
|
-
trigger:
|
|
5384
|
+
trigger: W(() => [s("button", {
|
|
5385
5385
|
type: "button",
|
|
5386
5386
|
class: y(["pv-button-link-tertiary", { "pv-action-button-reveal-on-hover": !e.alwaysShow }]),
|
|
5387
5387
|
style: { "--button-icon-only-padding": "0px" },
|
|
5388
5388
|
"aria-label": e.tooltipText,
|
|
5389
5389
|
disabled: e.disabled,
|
|
5390
|
-
onClick:
|
|
5390
|
+
onClick: K(o, ["stop"])
|
|
5391
5391
|
}, [u(Nn, {
|
|
5392
5392
|
name: e.icon,
|
|
5393
5393
|
size: a[e.size]
|
|
@@ -5395,7 +5395,7 @@ var La = {
|
|
|
5395
5395
|
_: 2
|
|
5396
5396
|
}, [e.tooltipText ? {
|
|
5397
5397
|
name: "content",
|
|
5398
|
-
fn:
|
|
5398
|
+
fn: W(() => [l(F(e.tooltipText), 1)]),
|
|
5399
5399
|
key: "0"
|
|
5400
5400
|
} : void 0]), 1032, ["position"]));
|
|
5401
5401
|
}
|
|
@@ -5431,16 +5431,16 @@ var La = {
|
|
|
5431
5431
|
"disable-interactive": !0,
|
|
5432
5432
|
"use-teleport": !0
|
|
5433
5433
|
}, c({
|
|
5434
|
-
trigger:
|
|
5434
|
+
trigger: W(() => [s("span", {
|
|
5435
5435
|
class: y(["pv-text-brand", { "pv-action-button-reveal-on-hover": !f.value }]),
|
|
5436
5436
|
role: "img",
|
|
5437
5437
|
"aria-label": o.value,
|
|
5438
|
-
onClick: t[0] ||=
|
|
5438
|
+
onClick: t[0] ||= K(() => {}, ["stop"])
|
|
5439
5439
|
}, [u(Nn, { name: n.value }, null, 8, ["name"])], 10, Ja)]),
|
|
5440
5440
|
_: 2
|
|
5441
5441
|
}, [o.value ? {
|
|
5442
5442
|
name: "content",
|
|
5443
|
-
fn:
|
|
5443
|
+
fn: W(() => [l(F(o.value), 1)]),
|
|
5444
5444
|
key: "0"
|
|
5445
5445
|
} : void 0]), 1024));
|
|
5446
5446
|
}
|
|
@@ -5492,7 +5492,7 @@ var La = {
|
|
|
5492
5492
|
},
|
|
5493
5493
|
emits: ["handle-selected", "toggle-expanded"],
|
|
5494
5494
|
setup(e, { emit: t }) {
|
|
5495
|
-
let n = e, c =
|
|
5495
|
+
let n = e, c = ee("inputRef"), l = m(Xa, void 0), d = m(Za, k(!1)), p = m(eo, void 0), h = m(to, void 0), g = m(Qa, r(() => !1)), b = r(() => {
|
|
5496
5496
|
if (!d.value || !ja(n)) return [];
|
|
5497
5497
|
let e = n.children ? Ma(n.children) : [];
|
|
5498
5498
|
if (p?.value) {
|
|
@@ -5602,7 +5602,7 @@ var La = {
|
|
|
5602
5602
|
class: "pv-button-ghost pv-menu-item-expand-chevron",
|
|
5603
5603
|
"aria-label": n.text ? `Toggle children for ${n.text}` : "Toggle children",
|
|
5604
5604
|
"aria-expanded": e.expanded,
|
|
5605
|
-
onClick: r[1] ||=
|
|
5605
|
+
onClick: r[1] ||= K((e) => F("toggle-expanded"), ["prevent", "stop"])
|
|
5606
5606
|
}, [u(Nn, {
|
|
5607
5607
|
name: e.chevronIcon ?? "chevron-right",
|
|
5608
5608
|
size: 12
|
|
@@ -5663,11 +5663,11 @@ var La = {
|
|
|
5663
5663
|
]);
|
|
5664
5664
|
return Object.fromEntries(Object.entries(p).filter(([t]) => e.has(t)));
|
|
5665
5665
|
}), g = m(to, void 0), v = m(no, void 0), b = k(i.defaultExpanded ?? !1);
|
|
5666
|
-
|
|
5666
|
+
U(() => i.defaultExpanded, (e) => {
|
|
5667
5667
|
e && (b.value = !0);
|
|
5668
5668
|
});
|
|
5669
5669
|
let S = k(!1), C = k(!1), w = k(i.children ?? []), T = k(/* @__PURE__ */ new Set());
|
|
5670
|
-
|
|
5670
|
+
U(() => i.children, (e) => {
|
|
5671
5671
|
if (!e) {
|
|
5672
5672
|
w.value = [];
|
|
5673
5673
|
return;
|
|
@@ -5718,7 +5718,7 @@ var La = {
|
|
|
5718
5718
|
} finally {
|
|
5719
5719
|
S.value = !1;
|
|
5720
5720
|
}
|
|
5721
|
-
},
|
|
5721
|
+
}, ee = (e) => {
|
|
5722
5722
|
if (l.value && N.value && e.option.id === i.id && !d.value) {
|
|
5723
5723
|
E();
|
|
5724
5724
|
return;
|
|
@@ -5728,7 +5728,7 @@ var La = {
|
|
|
5728
5728
|
t > -1 ? c.value = [...c.value.slice(0, t), ...c.value.slice(t + 1)] : c.value = [...c.value, e.option.id];
|
|
5729
5729
|
}
|
|
5730
5730
|
L("handle-selected", e);
|
|
5731
|
-
},
|
|
5731
|
+
}, te = (e) => {
|
|
5732
5732
|
L("handle-selected", e);
|
|
5733
5733
|
};
|
|
5734
5734
|
return (n, r) => {
|
|
@@ -5744,7 +5744,7 @@ var La = {
|
|
|
5744
5744
|
showChevron: R(l) && N.value,
|
|
5745
5745
|
chevronIcon: F.value,
|
|
5746
5746
|
expanded: b.value,
|
|
5747
|
-
onHandleSelected:
|
|
5747
|
+
onHandleSelected: ee,
|
|
5748
5748
|
onToggleExpanded: E,
|
|
5749
5749
|
selected: I(i)
|
|
5750
5750
|
}), null, 16, [
|
|
@@ -5772,7 +5772,7 @@ var La = {
|
|
|
5772
5772
|
queryText: e.queryText,
|
|
5773
5773
|
highlightSearchText: e.highlightSearchText,
|
|
5774
5774
|
level: e.level + 1,
|
|
5775
|
-
onHandleSelected:
|
|
5775
|
+
onHandleSelected: te,
|
|
5776
5776
|
onSeeMore: r[1] ||= (e) => L("see-more", e)
|
|
5777
5777
|
}), null, 16, [
|
|
5778
5778
|
"disabled",
|
|
@@ -5808,7 +5808,7 @@ var La = {
|
|
|
5808
5808
|
},
|
|
5809
5809
|
emits: ["list-order-updated"],
|
|
5810
5810
|
setup(e, { expose: t, emit: n }) {
|
|
5811
|
-
let r = k(null), i =
|
|
5811
|
+
let r = k(null), i = ee("popoverList"), a = e, s = n;
|
|
5812
5812
|
return a.isSortable && a.isList && Z(i, [], {
|
|
5813
5813
|
animation: 150,
|
|
5814
5814
|
onUpdate: () => {
|
|
@@ -5876,83 +5876,87 @@ var La = {
|
|
|
5876
5876
|
p.value !== void 0 && (p.value = void 0);
|
|
5877
5877
|
}, M = () => {
|
|
5878
5878
|
let e = p.value;
|
|
5879
|
-
E(), e && v(() =>
|
|
5879
|
+
E(), e && v(() => Se(e));
|
|
5880
5880
|
}, N = [...m($a, []), h];
|
|
5881
5881
|
O($a, N), oe(g, (e) => {
|
|
5882
5882
|
(e.target instanceof Element ? e.target.closest("[data-pv-menu-ancestors]")?.dataset.pvMenuAncestors?.split(" ") : void 0)?.includes(h) || E();
|
|
5883
5883
|
}, { ignore: [S] });
|
|
5884
5884
|
let F = P(f.value);
|
|
5885
|
-
|
|
5885
|
+
U(f, (e) => {
|
|
5886
5886
|
F.value = e;
|
|
5887
|
-
})
|
|
5888
|
-
|
|
5887
|
+
});
|
|
5888
|
+
let I, L = (e) => {
|
|
5889
|
+
I = e, f.value = e;
|
|
5890
|
+
};
|
|
5891
|
+
U(F, (e) => {
|
|
5892
|
+
e !== I && e !== f.value && L(e);
|
|
5889
5893
|
}), O(Xa, F), O(Qa, r(() => l.childrenDisplay === "popover"));
|
|
5890
|
-
let
|
|
5891
|
-
O(Za,
|
|
5892
|
-
let
|
|
5894
|
+
let z = r(() => l.childrenDisplay === "inline" && !!l.enableCascadeSelection);
|
|
5895
|
+
O(Za, z);
|
|
5896
|
+
let H = m(eo, void 0), ee = m(ro, k(!1)), te = m(to, void 0), ne = m(no, void 0), ie = r(() => l.singleSelect || l.config?.variant === "radio"), K = r(() => l.options.find((e) => e.id === p.value && e.children?.length)), ae = (e, t, n = !1, r = !0) => {
|
|
5893
5897
|
let i = !r || p.value !== e.id;
|
|
5894
5898
|
p.value = i ? e.id : void 0, i && (C.value = t, v(() => {
|
|
5895
|
-
T(), n &&
|
|
5899
|
+
T(), n && be(b.value ?? document.getElementById(h), 0);
|
|
5896
5900
|
}));
|
|
5897
5901
|
}, q = (e, t = !1) => {
|
|
5898
5902
|
if (l.readOnly) return;
|
|
5899
5903
|
let n = (!t && l.childrenDisplay === "popover" ? l.options.find((t) => t.id === e.option.id) : void 0) ?? e.option;
|
|
5900
5904
|
if (l.childrenDisplay === "popover" && !t && n.children?.length) {
|
|
5901
5905
|
let t = e.event.currentTarget?.closest("li");
|
|
5902
|
-
t &&
|
|
5906
|
+
t && ae(n, t);
|
|
5903
5907
|
return;
|
|
5904
5908
|
}
|
|
5905
5909
|
let r;
|
|
5906
|
-
if (
|
|
5910
|
+
if (z.value && ja(n)) {
|
|
5907
5911
|
let e;
|
|
5908
|
-
if (
|
|
5909
|
-
let t =
|
|
5912
|
+
if (ee.value && H?.value) {
|
|
5913
|
+
let t = H.value.get(n.id);
|
|
5910
5914
|
e = Na(t?.children ? Ma(t.children) : [], n.children ? Ma(n.children) : []);
|
|
5911
5915
|
} else e = n.children ? Ma(n.children) : [];
|
|
5912
|
-
let t = e.map((e) => e.id), i = F.value, a = (
|
|
5913
|
-
if (r = a ? i.filter((e) => !t.includes(e.id)) : [...i, ...e],
|
|
5914
|
-
let e = new Set(
|
|
5915
|
-
a ? e.delete(n.id) : e.add(n.id),
|
|
5916
|
+
let t = e.map((e) => e.id), i = F.value, a = (te?.value?.has(n.id) ?? !1) || t.some((e) => i.some((t) => t.id === e));
|
|
5917
|
+
if (r = a ? i.filter((e) => !t.includes(e.id)) : [...i, ...e], te?.value) {
|
|
5918
|
+
let e = new Set(te.value);
|
|
5919
|
+
a ? e.delete(n.id) : e.add(n.id), te.value = e;
|
|
5916
5920
|
}
|
|
5917
|
-
if (
|
|
5918
|
-
let e = new Map(
|
|
5919
|
-
e.delete(n.id),
|
|
5921
|
+
if (ne?.value?.has(n.id)) {
|
|
5922
|
+
let e = new Map(ne.value);
|
|
5923
|
+
e.delete(n.id), ne.value = e;
|
|
5920
5924
|
}
|
|
5921
|
-
} else if (
|
|
5925
|
+
} else if (ie.value) r = F.value.length === 1 && F.value[0].id === n.id ? l.disableDeselect ? F.value : [] : [n];
|
|
5922
5926
|
else {
|
|
5923
5927
|
let e = F.value.findIndex((e) => e.id === n.id);
|
|
5924
|
-
if (r = e > -1 ? [...F.value.slice(0, e), ...F.value.slice(e + 1)] : [...F.value, n],
|
|
5928
|
+
if (r = e > -1 ? [...F.value.slice(0, e), ...F.value.slice(e + 1)] : [...F.value, n], z.value && te?.value && ne?.value) {
|
|
5925
5929
|
let t = e > -1;
|
|
5926
|
-
for (let e of
|
|
5927
|
-
let r =
|
|
5930
|
+
for (let e of te.value) {
|
|
5931
|
+
let r = H?.value?.get(e)?.children ?? l.options.find((t) => t.id === e)?.children;
|
|
5928
5932
|
if (!r || !(Ma(r).some((e) => e.id === n.id) || l.options.find((t) => t.id === e)?.children?.some((e) => e.id === n.id))) continue;
|
|
5929
|
-
let i = new Map(
|
|
5930
|
-
t ? a.add(n.id) : a.delete(n.id), a.size > 0 ? i.set(e, a) : i.delete(e),
|
|
5933
|
+
let i = new Map(ne.value), a = new Set(i.get(e) ?? []);
|
|
5934
|
+
t ? a.add(n.id) : a.delete(n.id), a.size > 0 ? i.set(e, a) : i.delete(e), ne.value = i;
|
|
5931
5935
|
break;
|
|
5932
5936
|
}
|
|
5933
5937
|
}
|
|
5934
5938
|
}
|
|
5935
|
-
F.value = r,
|
|
5939
|
+
F.value = r, L(r), !t && l.childrenDisplay === "popover" && (p.value = void 0), d("handle-selected", l.childrenDisplay === "popover" ? {
|
|
5936
5940
|
...e,
|
|
5937
5941
|
option: n
|
|
5938
5942
|
} : e);
|
|
5939
|
-
},
|
|
5940
|
-
let t =
|
|
5943
|
+
}, J = (e) => {
|
|
5944
|
+
let t = K.value;
|
|
5941
5945
|
if (!t) return;
|
|
5942
5946
|
let n = t.children?.find((t) => t.id === e.option.id) ?? e.option;
|
|
5943
5947
|
q({
|
|
5944
5948
|
...e,
|
|
5945
5949
|
option: n
|
|
5946
|
-
}, !0), p.value = void 0, v(() =>
|
|
5947
|
-
},
|
|
5950
|
+
}, !0), p.value = void 0, v(() => Se(t.id));
|
|
5951
|
+
}, se = r(() => new Set(F.value.map((e) => e.id))), ce = (e) => {
|
|
5948
5952
|
for (let t of e) {
|
|
5949
|
-
if (
|
|
5950
|
-
let e = t.children?.length ?
|
|
5953
|
+
if (se.value.has(t.id)) return t;
|
|
5954
|
+
let e = t.children?.length ? ce(t.children) : void 0;
|
|
5951
5955
|
if (e) return e;
|
|
5952
5956
|
}
|
|
5953
|
-
},
|
|
5957
|
+
}, le = (e) => {
|
|
5954
5958
|
if (l.childrenDisplay !== "popover" || !e.children?.length) return e;
|
|
5955
|
-
let t =
|
|
5959
|
+
let t = ce(e.children);
|
|
5956
5960
|
return {
|
|
5957
5961
|
...e,
|
|
5958
5962
|
children: void 0,
|
|
@@ -5960,54 +5964,54 @@ var La = {
|
|
|
5960
5964
|
subText: t?.text ?? e.subText,
|
|
5961
5965
|
totalChildCount: void 0
|
|
5962
5966
|
};
|
|
5963
|
-
},
|
|
5967
|
+
}, Y = (e) => ({
|
|
5964
5968
|
...e,
|
|
5965
5969
|
children: void 0,
|
|
5966
5970
|
totalChildCount: void 0
|
|
5967
|
-
}),
|
|
5971
|
+
}), ue = (e) => l.childrenDisplay === "popover" ? e.config ?? l.config : l.config, X = (e) => se.value.has(e.id) || z.value && te?.value?.has(e.id) || (z.value || l.childrenDisplay === "popover") && e.children?.length && ce(e.children) ? !0 : null, de = (e) => {
|
|
5968
5972
|
let t = e.config?.variant ?? l.config?.variant;
|
|
5969
|
-
return
|
|
5970
|
-
},
|
|
5971
|
-
let e = l.options.filter((e) => !l.readOnly && !e.disabled &&
|
|
5972
|
-
return l.hasMoreOptions && !l.isSeeMoreLoading && e.push(Co),
|
|
5973
|
-
}),
|
|
5974
|
-
let e =
|
|
5975
|
-
return e.some((e) => e.id ===
|
|
5976
|
-
}),
|
|
5973
|
+
return ie.value || t === "radio" ? "menuitemradio" : t === "checkbox" ? "menuitemcheckbox" : "menuitem";
|
|
5974
|
+
}, Z = (e) => de(e) === "menuitem" ? void 0 : !!X(e), fe = (e) => e.children?.length && !l.highlightParentItems ? null : de(e) !== "menuitemcheckbox" && X(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) || te?.value?.has(e.id) || e.children?.length && ce(e.children)), he = k(), ge = k(), _e = r(() => {
|
|
5975
|
+
let e = l.options.filter((e) => !l.readOnly && !e.disabled && me(e, l.isLoading)).map((e) => e.id);
|
|
5976
|
+
return l.hasMoreOptions && !l.isSeeMoreLoading && e.push(Co), he.value && e.includes(he.value) ? he.value : e[0];
|
|
5977
|
+
}), ve = r(() => {
|
|
5978
|
+
let e = K.value?.children?.filter((e) => !l.readOnly && !e.disabled) ?? [];
|
|
5979
|
+
return e.some((e) => e.id === ge.value) ? ge.value : e[0]?.id;
|
|
5980
|
+
}), ye = (e) => {
|
|
5977
5981
|
let t = Array.from(e?.querySelectorAll("li[role='none'] > [role^='menuitem']:not([aria-disabled='true'])") ?? []).filter((e) => !e.hidden && e.style.display !== "none");
|
|
5978
5982
|
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");
|
|
5979
|
-
},
|
|
5980
|
-
let n =
|
|
5983
|
+
}, be = (e, t) => {
|
|
5984
|
+
let n = ye(e);
|
|
5981
5985
|
n.length && n[(t + n.length) % n.length]?.focus();
|
|
5982
|
-
},
|
|
5983
|
-
let r =
|
|
5986
|
+
}, xe = (e, t, n) => {
|
|
5987
|
+
let r = ye(e), i = r.indexOf(t);
|
|
5984
5988
|
!r.length || i < 0 || r[(i + n + r.length) % r.length]?.focus();
|
|
5985
|
-
},
|
|
5986
|
-
|
|
5989
|
+
}, Se = (e) => {
|
|
5990
|
+
ye(g.value).find((t) => t.dataset.optionId === e)?.focus();
|
|
5987
5991
|
};
|
|
5988
|
-
|
|
5989
|
-
|
|
5992
|
+
U(p, (e) => {
|
|
5993
|
+
ge.value = void 0, e && v(() => {
|
|
5990
5994
|
let t = Array.from(g.value?.children ?? []).find((t) => t.dataset.optionId === e);
|
|
5991
5995
|
t && (C.value = t, T());
|
|
5992
5996
|
});
|
|
5993
5997
|
}, { immediate: !0 });
|
|
5994
|
-
let
|
|
5998
|
+
let Ce = (e, t) => {
|
|
5995
5999
|
switch (e.key) {
|
|
5996
|
-
case "ArrowDown": return e.preventDefault(),
|
|
5997
|
-
case "ArrowUp": return e.preventDefault(),
|
|
5998
|
-
case "Home": return e.preventDefault(),
|
|
5999
|
-
case "End": return e.preventDefault(),
|
|
6000
|
+
case "ArrowDown": return e.preventDefault(), xe(t, e.currentTarget, 1), !0;
|
|
6001
|
+
case "ArrowUp": return e.preventDefault(), xe(t, e.currentTarget, -1), !0;
|
|
6002
|
+
case "Home": return e.preventDefault(), be(t, 0), !0;
|
|
6003
|
+
case "End": return e.preventDefault(), be(t, -1), !0;
|
|
6000
6004
|
default: return !1;
|
|
6001
6005
|
}
|
|
6002
|
-
},
|
|
6003
|
-
if (!(e.target !== e.currentTarget ||
|
|
6006
|
+
}, we = (e, t) => {
|
|
6007
|
+
if (!(e.target !== e.currentTarget || Ce(e, g.value))) switch (e.key) {
|
|
6004
6008
|
case "ArrowRight":
|
|
6005
6009
|
if (!t.children?.length) break;
|
|
6006
|
-
e.preventDefault(),
|
|
6010
|
+
e.preventDefault(), ae(t, e.currentTarget, !0, !1);
|
|
6007
6011
|
break;
|
|
6008
6012
|
case "Enter":
|
|
6009
6013
|
case " ":
|
|
6010
|
-
e.preventDefault(), t.children?.length ?
|
|
6014
|
+
e.preventDefault(), t.children?.length ? ae(t, e.currentTarget, !0, !1) : q({
|
|
6011
6015
|
event: e,
|
|
6012
6016
|
option: t
|
|
6013
6017
|
});
|
|
@@ -6020,8 +6024,8 @@ var La = {
|
|
|
6020
6024
|
p.value = void 0;
|
|
6021
6025
|
break;
|
|
6022
6026
|
}
|
|
6023
|
-
},
|
|
6024
|
-
if (!
|
|
6027
|
+
}, Te = (e) => {
|
|
6028
|
+
if (!Ce(e, g.value)) switch (e.key) {
|
|
6025
6029
|
case "Enter":
|
|
6026
6030
|
case " ":
|
|
6027
6031
|
e.preventDefault(), d("see-more", { parentId: void 0 });
|
|
@@ -6031,18 +6035,18 @@ var La = {
|
|
|
6031
6035
|
E();
|
|
6032
6036
|
break;
|
|
6033
6037
|
}
|
|
6034
|
-
},
|
|
6035
|
-
if (!(e.target !== e.currentTarget ||
|
|
6038
|
+
}, Ee = (e, t) => {
|
|
6039
|
+
if (!(e.target !== e.currentTarget || Ce(e, b.value))) switch (e.key) {
|
|
6036
6040
|
case "ArrowLeft":
|
|
6037
6041
|
case "Escape": {
|
|
6038
6042
|
e.preventDefault(), e.key === "Escape" && e.stopPropagation();
|
|
6039
6043
|
let t = p.value;
|
|
6040
|
-
p.value = void 0, t && v(() =>
|
|
6044
|
+
p.value = void 0, t && v(() => Se(t));
|
|
6041
6045
|
break;
|
|
6042
6046
|
}
|
|
6043
6047
|
case "Enter":
|
|
6044
6048
|
case " ":
|
|
6045
|
-
e.preventDefault(),
|
|
6049
|
+
e.preventDefault(), J({
|
|
6046
6050
|
event: e,
|
|
6047
6051
|
option: t
|
|
6048
6052
|
});
|
|
@@ -6057,30 +6061,30 @@ var La = {
|
|
|
6057
6061
|
ref: g,
|
|
6058
6062
|
role: e.childrenDisplay === "popover" ? "menu" : "list",
|
|
6059
6063
|
class: "pv-popover-list"
|
|
6060
|
-
}, r.$attrs), [(D(!0), o(t, null, A(e.options, (t) =>
|
|
6064
|
+
}, r.$attrs), [(D(!0), o(t, null, A(e.options, (t) => G((D(), o("li", {
|
|
6061
6065
|
key: t.id,
|
|
6062
|
-
"data-active":
|
|
6066
|
+
"data-active": fe(t),
|
|
6063
6067
|
"data-option-id": t.id,
|
|
6064
6068
|
"data-testid": e.itemTestId,
|
|
6065
6069
|
class: y(e.itemClass),
|
|
6066
6070
|
role: e.childrenDisplay === "popover" ? "none" : void 0
|
|
6067
|
-
}, [u(mo, _({ ref_for: !0 },
|
|
6068
|
-
"aria-checked": e.childrenDisplay === "popover" ?
|
|
6071
|
+
}, [u(mo, _({ ref_for: !0 }, le(t), {
|
|
6072
|
+
"aria-checked": e.childrenDisplay === "popover" ? Z(t) : void 0,
|
|
6069
6073
|
"aria-controls": e.childrenDisplay === "popover" && t.children?.length ? R(h) : void 0,
|
|
6070
6074
|
"aria-disabled": e.childrenDisplay === "popover" && (l.readOnly || t.disabled) ? "true" : void 0,
|
|
6071
6075
|
"aria-expanded": e.childrenDisplay === "popover" && t.children?.length ? p.value === t.id : void 0,
|
|
6072
6076
|
"aria-haspopup": e.childrenDisplay === "popover" && t.children?.length ? t.popoverRole ?? "menu" : void 0,
|
|
6073
|
-
"data-active":
|
|
6077
|
+
"data-active": fe(t),
|
|
6074
6078
|
"data-dd-action-name": t.rumActionName,
|
|
6075
6079
|
"data-option-id": t.id,
|
|
6076
6080
|
disabled: l.readOnly || t.disabled,
|
|
6077
|
-
config:
|
|
6081
|
+
config: ue(t),
|
|
6078
6082
|
itemClass: e.itemClass,
|
|
6079
6083
|
queryText: e.queryText,
|
|
6080
|
-
role: e.childrenDisplay === "popover" ?
|
|
6081
|
-
tabindex: e.childrenDisplay === "popover" ?
|
|
6082
|
-
onFocus: (e) =>
|
|
6083
|
-
onKeydown: (n) => e.childrenDisplay === "popover" ?
|
|
6084
|
+
role: e.childrenDisplay === "popover" ? de(t) : void 0,
|
|
6085
|
+
tabindex: e.childrenDisplay === "popover" ? _e.value === t.id ? 0 : -1 : void 0,
|
|
6086
|
+
onFocus: (e) => he.value = t.id,
|
|
6087
|
+
onKeydown: (n) => e.childrenDisplay === "popover" ? we(n, t) : void 0,
|
|
6084
6088
|
onHandleSelected: q,
|
|
6085
6089
|
onSeeMore: c[0] ||= (e) => d("see-more", e)
|
|
6086
6090
|
}), null, 16, [
|
|
@@ -6100,7 +6104,7 @@ var La = {
|
|
|
6100
6104
|
"tabindex",
|
|
6101
6105
|
"onFocus",
|
|
6102
6106
|
"onKeydown"
|
|
6103
|
-
])], 10, vo)), [[
|
|
6107
|
+
])], 10, vo)), [[re, me(t, e.isLoading)]])), 128)), e.hasMoreOptions ? (D(), o("li", {
|
|
6104
6108
|
key: 0,
|
|
6105
6109
|
role: e.childrenDisplay === "popover" ? "none" : void 0
|
|
6106
6110
|
}, [u(Ln, {
|
|
@@ -6110,17 +6114,17 @@ var La = {
|
|
|
6110
6114
|
loading: e.isSeeMoreLoading,
|
|
6111
6115
|
disabled: e.isSeeMoreLoading,
|
|
6112
6116
|
role: e.childrenDisplay === "popover" ? "menuitem" : void 0,
|
|
6113
|
-
tabindex: e.childrenDisplay === "popover" ?
|
|
6117
|
+
tabindex: e.childrenDisplay === "popover" ? _e.value === Co ? 0 : -1 : void 0,
|
|
6114
6118
|
"data-testid": "pv-menu-see-more",
|
|
6115
|
-
onFocus: c[1] ||= (e) =>
|
|
6116
|
-
onKeydown: c[2] ||= (t) => e.childrenDisplay === "popover" ?
|
|
6119
|
+
onFocus: c[1] ||= (e) => he.value = Co,
|
|
6120
|
+
onKeydown: c[2] ||= (t) => e.childrenDisplay === "popover" ? Te(t) : void 0,
|
|
6117
6121
|
onClick: c[3] ||= (e) => d("see-more", { parentId: void 0 })
|
|
6118
6122
|
}, null, 8, [
|
|
6119
6123
|
"loading",
|
|
6120
6124
|
"disabled",
|
|
6121
6125
|
"role",
|
|
6122
6126
|
"tabindex"
|
|
6123
|
-
])], 8, yo)) : a("", !0)], 16, _o), e.childrenDisplay === "popover" &&
|
|
6127
|
+
])], 8, yo)) : a("", !0)], 16, _o), e.childrenDisplay === "popover" && K.value ? (D(), i(n, {
|
|
6124
6128
|
key: 0,
|
|
6125
6129
|
to: "body"
|
|
6126
6130
|
}, [s("div", {
|
|
@@ -6137,38 +6141,38 @@ var La = {
|
|
|
6137
6141
|
maxWidth: "calc(100vw - 16px)"
|
|
6138
6142
|
}
|
|
6139
6143
|
}, {
|
|
6140
|
-
default:
|
|
6141
|
-
option:
|
|
6144
|
+
default: W(() => [j(r.$slots, "popover", {
|
|
6145
|
+
option: K.value,
|
|
6142
6146
|
popoverId: R(h),
|
|
6143
6147
|
close: M
|
|
6144
6148
|
}, () => [s("ul", {
|
|
6145
6149
|
id: R(h),
|
|
6146
6150
|
ref_key: "nestedMenuRef",
|
|
6147
6151
|
ref: b,
|
|
6148
|
-
"aria-label": `${
|
|
6152
|
+
"aria-label": `${K.value.text} options`,
|
|
6149
6153
|
class: "pv-popover-list",
|
|
6150
6154
|
role: "menu"
|
|
6151
|
-
}, [(D(!0), o(t, null, A(
|
|
6155
|
+
}, [(D(!0), o(t, null, A(K.value.children, (t) => (D(), o("li", {
|
|
6152
6156
|
key: t.id,
|
|
6153
|
-
"data-active":
|
|
6157
|
+
"data-active": pe(t),
|
|
6154
6158
|
"data-option-id": t.id,
|
|
6155
6159
|
class: y(e.itemClass),
|
|
6156
6160
|
role: "none"
|
|
6157
|
-
}, [u(mo, _({ ref_for: !0 },
|
|
6158
|
-
"aria-checked":
|
|
6161
|
+
}, [u(mo, _({ ref_for: !0 }, Y(t), {
|
|
6162
|
+
"aria-checked": Z(t),
|
|
6159
6163
|
"aria-disabled": l.readOnly || t.disabled ? "true" : void 0,
|
|
6160
|
-
"data-active":
|
|
6164
|
+
"data-active": pe(t),
|
|
6161
6165
|
"data-dd-action-name": t.rumActionName,
|
|
6162
6166
|
"data-option-id": t.id,
|
|
6163
6167
|
disabled: l.readOnly || t.disabled,
|
|
6164
|
-
config:
|
|
6168
|
+
config: ue(t),
|
|
6165
6169
|
itemClass: e.itemClass,
|
|
6166
6170
|
queryText: e.queryText,
|
|
6167
|
-
role:
|
|
6168
|
-
tabindex:
|
|
6169
|
-
onFocus: (e) =>
|
|
6170
|
-
onKeydown: (e) =>
|
|
6171
|
-
onHandleSelected:
|
|
6171
|
+
role: de(t),
|
|
6172
|
+
tabindex: ve.value === t.id ? 0 : -1,
|
|
6173
|
+
onFocus: (e) => ge.value = t.id,
|
|
6174
|
+
onKeydown: (e) => Ee(e, t),
|
|
6175
|
+
onHandleSelected: J,
|
|
6172
6176
|
onSeeMore: c[4] ||= (e) => d("see-more", e)
|
|
6173
6177
|
}), null, 16, [
|
|
6174
6178
|
"aria-checked",
|
|
@@ -6188,7 +6192,7 @@ var La = {
|
|
|
6188
6192
|
_: 3
|
|
6189
6193
|
})], 12, bo)])) : a("", !0)], 64));
|
|
6190
6194
|
}
|
|
6191
|
-
}), [["__scopeId", "data-v-
|
|
6195
|
+
}), [["__scopeId", "data-v-f14f755f"]]), To = {
|
|
6192
6196
|
key: 0,
|
|
6193
6197
|
class: "pv-inset-square-8 pv-border-bottom"
|
|
6194
6198
|
}, Eo = /* @__PURE__ */ d({
|
|
@@ -6250,7 +6254,7 @@ var La = {
|
|
|
6250
6254
|
variant: n.optionsVariant,
|
|
6251
6255
|
counterBadgeVariant: n.counterBadgeVariant
|
|
6252
6256
|
})), d = t, [f] = X(n.defaultOpen), p = V(e, "modelValue"), m = V(e, "searchInput");
|
|
6253
|
-
|
|
6257
|
+
U(f, (e) => {
|
|
6254
6258
|
d(e ? "dropdown-open" : "dropdown-closed");
|
|
6255
6259
|
});
|
|
6256
6260
|
let g = r(() => !n.staticLabel && p.value && p.value.text ? p.value.text : n.label), v = r(() => {
|
|
@@ -6291,7 +6295,7 @@ var La = {
|
|
|
6291
6295
|
modelValue: R(f),
|
|
6292
6296
|
"onUpdate:modelValue": n[2] ||= (e) => h(f) ? f.value = e : null
|
|
6293
6297
|
}, c.value), {
|
|
6294
|
-
trigger:
|
|
6298
|
+
trigger: W(() => [u(Ea, {
|
|
6295
6299
|
class: "pv-full-width",
|
|
6296
6300
|
ref: "select-button-trigger-ref",
|
|
6297
6301
|
variant: e.variant,
|
|
@@ -6335,7 +6339,7 @@ var La = {
|
|
|
6335
6339
|
"renderer",
|
|
6336
6340
|
"selectedOption"
|
|
6337
6341
|
])]),
|
|
6338
|
-
content:
|
|
6342
|
+
content: W(() => [s("div", {
|
|
6339
6343
|
class: "pv-popover",
|
|
6340
6344
|
"data-test-id": "pv-popover",
|
|
6341
6345
|
style: x([e.popoverCssProperties, { position: "unset" }])
|
|
@@ -6387,9 +6391,9 @@ var La = {
|
|
|
6387
6391
|
id: e
|
|
6388
6392
|
}));
|
|
6389
6393
|
});
|
|
6390
|
-
return
|
|
6394
|
+
return U(n, (e) => {
|
|
6391
6395
|
e === t.value || e?.id === t.value || (t.value = e?.id);
|
|
6392
|
-
}),
|
|
6396
|
+
}), U(t, (e) => {
|
|
6393
6397
|
e === n.value || e === n.value?.id || (n.value = o.value.find((t) => t.id === e));
|
|
6394
6398
|
}), (e, t) => (D(), i(Eo, {
|
|
6395
6399
|
style: { width: "125px" },
|
|
@@ -6452,7 +6456,7 @@ var La = {
|
|
|
6452
6456
|
emits: /* @__PURE__ */ g(["region-selection-changed"], ["update:chartData", "update:selectedRegion"]),
|
|
6453
6457
|
setup(e, { expose: t, emit: n }) {
|
|
6454
6458
|
let s = e, c = V(e, "chartData"), l = V(e, "selectedRegion"), d = n, f = k(null), { getTopologyObject: p, buildMapData: m } = ra(), h = r(() => p(s.mapType)), g = r(() => m(c.value, s.mapType, s.seriesKey, s.gradientLegendMin, s.gradientLegendMax)), _ = r(() => g.value.filter((e) => e[s.mapType] !== "_FeatureMin" && e[s.mapType] !== "_FeatureMax").map((e) => e[s.mapType]));
|
|
6455
|
-
|
|
6459
|
+
U(l, (e) => {
|
|
6456
6460
|
d("region-selection-changed", { region: e });
|
|
6457
6461
|
});
|
|
6458
6462
|
let v = r(() => (l.value, {
|
|
@@ -7171,28 +7175,28 @@ var La = {
|
|
|
7171
7175
|
}), I = r(() => !!n.chartOptions || _.value.length > 0 || b.value.length > 0), L = r(() => p.value === Io), R = r(() => p.value === "map" && P.value), z = k(), B = r(() => b.value.map((e) => ({
|
|
7172
7176
|
field: e.field,
|
|
7173
7177
|
label: Ns(e, e.field)
|
|
7174
|
-
}))), H = r(() => v.value.map((e) => b.value.map((t) => Is(e, t.field)))),
|
|
7178
|
+
}))), H = r(() => v.value.map((e) => b.value.map((t) => Is(e, t.field)))), ee = r(() => n.showTableBelowChart && !L.value && b.value.length > 0), te = r(() => sn(n) || !!(n.enableTableScrolling && n.tableMaxHeight)), ne = r(() => on(n)), re = r(() => {
|
|
7175
7179
|
if (!n.enableTableScrolling) return;
|
|
7176
7180
|
let e = {
|
|
7177
7181
|
overflowX: "auto",
|
|
7178
7182
|
overflowY: "auto"
|
|
7179
7183
|
}, t = an(n.tableMaxHeight);
|
|
7180
7184
|
return t && (e.maxHeight = t), e;
|
|
7181
|
-
}),
|
|
7185
|
+
}), U = r(() => Rs({
|
|
7182
7186
|
dataRows: v.value,
|
|
7183
7187
|
categoryColumn: T.value,
|
|
7184
7188
|
seriesColumn: E.value,
|
|
7185
7189
|
stackColumn: M.value
|
|
7186
|
-
})),
|
|
7190
|
+
})), G = r(() => zs({
|
|
7187
7191
|
dataRows: v.value,
|
|
7188
7192
|
categoryColumn: T.value,
|
|
7189
7193
|
seriesColumn: E.value
|
|
7190
|
-
})),
|
|
7194
|
+
})), ie = r(() => Bs({
|
|
7191
7195
|
dataRows: v.value,
|
|
7192
7196
|
mapColumn: N.value,
|
|
7193
7197
|
seriesColumn: E.value
|
|
7194
|
-
})),
|
|
7195
|
-
aggregatedCategoryChartData:
|
|
7198
|
+
})), K = r(() => Vs(ie.value, E.value?.field)), ae = r(() => Hs(E.value)), q = r(() => Us({
|
|
7199
|
+
aggregatedCategoryChartData: G.value,
|
|
7196
7200
|
categoryColumn: T.value,
|
|
7197
7201
|
dataLimit: n.dataLimit,
|
|
7198
7202
|
displayDataRows: v.value,
|
|
@@ -7208,11 +7212,11 @@ var La = {
|
|
|
7208
7212
|
seriesColumn: E.value,
|
|
7209
7213
|
showSeriesLabels: n.showSeriesLabels,
|
|
7210
7214
|
stackColumn: M.value,
|
|
7211
|
-
stackedChartData:
|
|
7215
|
+
stackedChartData: U.value,
|
|
7212
7216
|
useDisplayDataRows: n.chartData !== void 0,
|
|
7213
7217
|
xKey: n.xKey,
|
|
7214
7218
|
yKey: n.yKey
|
|
7215
|
-
})), oe = r(() => _n(
|
|
7219
|
+
})), oe = r(() => _n(q.value)), J = r(() => vn(q.value)), se = r(() => cn({
|
|
7216
7220
|
baseMinHeight: n.minHeight,
|
|
7217
7221
|
dataCount: oe.value,
|
|
7218
7222
|
enableChartScrolling: n.enableChartScrolling,
|
|
@@ -7234,10 +7238,10 @@ var La = {
|
|
|
7234
7238
|
minContentWidth: 320
|
|
7235
7239
|
}));
|
|
7236
7240
|
return (n, r) => (D(), i(Tn, {
|
|
7237
|
-
class: y(["pv-data-widget pv-inset-square-16", { "pv-data-widget--constrained":
|
|
7238
|
-
style: x(
|
|
7241
|
+
class: y(["pv-data-widget pv-inset-square-16", { "pv-data-widget--constrained": te.value }]),
|
|
7242
|
+
style: x(ne.value)
|
|
7239
7243
|
}, {
|
|
7240
|
-
default:
|
|
7244
|
+
default: W(() => [
|
|
7241
7245
|
h.value ? (D(), o("div", Ws, [s("div", null, [e.title ? (D(), o("span", Gs, F(e.title), 1)) : a("", !0)]), s("div", null, [m.value ? (D(), i(Gi, {
|
|
7242
7246
|
key: 0,
|
|
7243
7247
|
modelValue: p.value,
|
|
@@ -7249,7 +7253,7 @@ var La = {
|
|
|
7249
7253
|
s("div", qs, [j(n.$slots, "default", {}, void 0, !0), I.value ? (D(), o(t, { key: 0 }, [L.value ? (D(), o("div", {
|
|
7250
7254
|
key: 0,
|
|
7251
7255
|
class: y(["pv-data-widget__table-container", { "pv-scroll": e.enableTableScrolling }]),
|
|
7252
|
-
style: x(
|
|
7256
|
+
style: x(re.value)
|
|
7253
7257
|
}, [u(Mo, {
|
|
7254
7258
|
headers: B.value,
|
|
7255
7259
|
rows: H.value
|
|
@@ -7259,14 +7263,14 @@ var La = {
|
|
|
7259
7263
|
}, [u(Ao, {
|
|
7260
7264
|
selectedRegion: z.value,
|
|
7261
7265
|
"onUpdate:selectedRegion": r[1] ||= (e) => z.value = e,
|
|
7262
|
-
chartData:
|
|
7266
|
+
chartData: ie.value,
|
|
7263
7267
|
displayRegionSelector: !1,
|
|
7264
|
-
gradientLegendMin:
|
|
7265
|
-
gradientLegendMax:
|
|
7268
|
+
gradientLegendMin: K.value.min,
|
|
7269
|
+
gradientLegendMax: K.value.max,
|
|
7266
7270
|
isLoading: e.chartLoading,
|
|
7267
7271
|
noDataMessage: e.noDataOverlayText,
|
|
7268
7272
|
seriesKey: E.value?.field ?? "value",
|
|
7269
|
-
seriesValueFormatter:
|
|
7273
|
+
seriesValueFormatter: ae.value
|
|
7270
7274
|
}, null, 8, [
|
|
7271
7275
|
"selectedRegion",
|
|
7272
7276
|
"chartData",
|
|
@@ -7284,17 +7288,17 @@ var La = {
|
|
|
7284
7288
|
class: "pv-data-widget__chart-content",
|
|
7285
7289
|
style: x(le.value)
|
|
7286
7290
|
}, [u(nn, {
|
|
7287
|
-
options:
|
|
7291
|
+
options: q.value,
|
|
7288
7292
|
isLoading: e.chartLoading,
|
|
7289
7293
|
minHeight: se.value
|
|
7290
7294
|
}, null, 8, [
|
|
7291
7295
|
"options",
|
|
7292
7296
|
"isLoading",
|
|
7293
7297
|
"minHeight"
|
|
7294
|
-
])], 4)], 6)),
|
|
7298
|
+
])], 4)], 6)), ee.value ? (D(), o("div", {
|
|
7295
7299
|
key: 3,
|
|
7296
7300
|
class: y(["pv-data-widget__below-table pv-data-widget__table-container", { "pv-scroll": e.enableTableScrolling }]),
|
|
7297
|
-
style: x(
|
|
7301
|
+
style: x(re.value)
|
|
7298
7302
|
}, [u(Mo, {
|
|
7299
7303
|
headers: B.value,
|
|
7300
7304
|
rows: H.value
|
|
@@ -7358,7 +7362,7 @@ var La = {
|
|
|
7358
7362
|
}, E = (e) => {
|
|
7359
7363
|
p.value && (e.stopPropagation(), p.value = !1, h.value?.focus());
|
|
7360
7364
|
};
|
|
7361
|
-
t({ closeDropdown: T }),
|
|
7365
|
+
t({ closeDropdown: T }), U(p, (e) => {
|
|
7362
7366
|
e ? v(() => {
|
|
7363
7367
|
S(), f("dropdown-open");
|
|
7364
7368
|
}) : f("dropdown-closed");
|
|
@@ -7370,10 +7374,10 @@ var La = {
|
|
|
7370
7374
|
zIndex: 10,
|
|
7371
7375
|
...d.popoverCssProperties
|
|
7372
7376
|
} : d.popoverCssProperties);
|
|
7373
|
-
return (t, r) =>
|
|
7377
|
+
return (t, r) => G((D(), o("div", {
|
|
7374
7378
|
class: "pv-relative",
|
|
7375
7379
|
style: { width: "fit-content" },
|
|
7376
|
-
onKeydown:
|
|
7380
|
+
onKeydown: ie(E, ["esc"])
|
|
7377
7381
|
}, [s("button", {
|
|
7378
7382
|
ref_key: "triggerRef",
|
|
7379
7383
|
ref: h,
|
|
@@ -7406,7 +7410,7 @@ var La = {
|
|
|
7406
7410
|
isSortable: e.isSortable,
|
|
7407
7411
|
onListOrderUpdated: r[0] ||= (e) => t.$emit("list-order-updated", e)
|
|
7408
7412
|
}, {
|
|
7409
|
-
default:
|
|
7413
|
+
default: W(() => [j(t.$slots, "default", {}, () => [e.isLoading ? (D(), o("span", Xs, "Loading...")) : a("", !0)], !0)]),
|
|
7410
7414
|
_: 3
|
|
7411
7415
|
}, 8, [
|
|
7412
7416
|
"id",
|
|
@@ -7477,7 +7481,7 @@ var La = {
|
|
|
7477
7481
|
size: 12,
|
|
7478
7482
|
name: "close",
|
|
7479
7483
|
"data-dd-action-name": e.rumRemoveActionName,
|
|
7480
|
-
onClick: r[0] ||=
|
|
7484
|
+
onClick: r[0] ||= K((n) => t.$emit("handle-close", e.label), ["stop"])
|
|
7481
7485
|
}, null, 8, ["data-dd-action-name"])) : a("", !0)
|
|
7482
7486
|
], 14, Qs));
|
|
7483
7487
|
}
|
|
@@ -7515,8 +7519,8 @@ var La = {
|
|
|
7515
7519
|
}),
|
|
7516
7520
|
emits: ["update:modelValue"],
|
|
7517
7521
|
setup(e) {
|
|
7518
|
-
let t = e, n =
|
|
7519
|
-
|
|
7522
|
+
let t = e, n = ee("dialog"), r = V(e, "modelValue");
|
|
7523
|
+
U(() => r.value, () => {
|
|
7520
7524
|
r.value ? n.value?.showModal() : n.value?.close();
|
|
7521
7525
|
});
|
|
7522
7526
|
let i = () => {
|
|
@@ -7631,7 +7635,7 @@ var uc = {
|
|
|
7631
7635
|
}),
|
|
7632
7636
|
emits: /* @__PURE__ */ g(["click-outside"], ["update:searchInput", "update:modelValue"]),
|
|
7633
7637
|
setup(e, { emit: n }) {
|
|
7634
|
-
let r = e, i = n, c =
|
|
7638
|
+
let r = e, i = n, c = ee("sidePanel"), l = V(e, "searchInput"), d = V(e, "modelValue"), f = () => {
|
|
7635
7639
|
c?.value?.removeAttribute("open"), d.value = !1;
|
|
7636
7640
|
}, p = () => {
|
|
7637
7641
|
c.value && oe(c.value, () => {
|
|
@@ -7640,7 +7644,7 @@ var uc = {
|
|
|
7640
7644
|
};
|
|
7641
7645
|
return T(() => {
|
|
7642
7646
|
d.value && c?.value?.setAttribute("open", "true"), r.closeOnClickOutside && p();
|
|
7643
|
-
}),
|
|
7647
|
+
}), U(() => d.value, () => {
|
|
7644
7648
|
d.value ? c?.value?.setAttribute("open", "true") : c?.value?.removeAttribute("open");
|
|
7645
7649
|
}), J("Escape", () => {
|
|
7646
7650
|
c.value && d.value && f();
|
|
@@ -7859,7 +7863,7 @@ var uc = {
|
|
|
7859
7863
|
state: "deselected"
|
|
7860
7864
|
}))), t.push(r);
|
|
7861
7865
|
}
|
|
7862
|
-
for (let n of
|
|
7866
|
+
for (let n of re.value) e.has(n.id) || t.push({
|
|
7863
7867
|
id: n.id,
|
|
7864
7868
|
state: "selected"
|
|
7865
7869
|
});
|
|
@@ -7867,18 +7871,18 @@ var uc = {
|
|
|
7867
7871
|
}, C = r(() => c.hasMoreOptions == null ? c.totalOptionCount == null ? !1 : c.totalOptionCount > c.options.length : c.hasMoreOptions), w = r(() => {
|
|
7868
7872
|
let e = c.additionalCounter ?? 0;
|
|
7869
7873
|
if (c.enableCascadeSelection && c.countSelectedParents && L.value?.length) return Fa(L.value) + e;
|
|
7870
|
-
if (!c.countSelectedParents || !c.enableCascadeSelection) return
|
|
7871
|
-
let t = new Set(
|
|
7874
|
+
if (!c.countSelectedParents || !c.enableCascadeSelection) return re.value.length + e;
|
|
7875
|
+
let t = new Set(re.value.map((e) => e.id));
|
|
7872
7876
|
return Pa(c.options, t) + e;
|
|
7873
|
-
}), T = r(() =>
|
|
7877
|
+
}), T = r(() => re.value.length > 0 ? !0 : c.enableCascadeSelection && L.value?.length ? L.value.some((e) => e.state === "selected") : !1), E = (e) => {
|
|
7874
7878
|
g("see-more", e ?? {});
|
|
7875
|
-
}, k =
|
|
7876
|
-
|
|
7877
|
-
}, ee = () => {
|
|
7878
|
-
B.value && (I.value = ne.value, L.value = S());
|
|
7879
|
+
}, k = ee("searchInputRef"), [M, N] = X(c.defaultOpen), I = V(e, "modelValue"), L = V(e, "selectionState"), z = V(e, "searchInput"), B = r(() => c.menuActionsVariant === "cancel-confirm"), H = (e) => {
|
|
7880
|
+
re.value = e, B.value || (I.value = e, L.value = S());
|
|
7879
7881
|
}, te = () => {
|
|
7880
|
-
B.value && (
|
|
7881
|
-
}, ne =
|
|
7882
|
+
B.value && (I.value = re.value, L.value = S());
|
|
7883
|
+
}, ne = () => {
|
|
7884
|
+
B.value && (re.value = I.value);
|
|
7885
|
+
}, re = P(I.value), G = (e) => d.value.get(e), ie = (e) => {
|
|
7882
7886
|
if (!c.enableCascadeSelection || !e) return;
|
|
7883
7887
|
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Map(), r = [], i = /* @__PURE__ */ new Set(), a = (e, t) => {
|
|
7884
7888
|
i.has(t) || (i.add(t), r.push(e ?? {
|
|
@@ -7894,35 +7898,35 @@ var uc = {
|
|
|
7894
7898
|
for (let t of i) e.has(t.id) || a(t, t.id);
|
|
7895
7899
|
continue;
|
|
7896
7900
|
}
|
|
7897
|
-
a(
|
|
7901
|
+
a(G(r.id), r.id);
|
|
7898
7902
|
}
|
|
7899
|
-
f.value = t, m.value = n,
|
|
7900
|
-
},
|
|
7901
|
-
get: () =>
|
|
7903
|
+
f.value = t, m.value = n, re.value = r;
|
|
7904
|
+
}, K = r({
|
|
7905
|
+
get: () => re.value,
|
|
7902
7906
|
set: (e) => {
|
|
7903
7907
|
H(e);
|
|
7904
7908
|
}
|
|
7905
|
-
}),
|
|
7909
|
+
}), ae = () => {
|
|
7906
7910
|
z.value = "", M.value = !1;
|
|
7907
|
-
},
|
|
7911
|
+
}, q = r(() => {
|
|
7908
7912
|
let e = c.size === "lg" ? 24 : 30;
|
|
7909
7913
|
return c.overlayTrigger ? -e : void 0;
|
|
7910
7914
|
});
|
|
7911
|
-
|
|
7915
|
+
U(() => I.value, (e) => {
|
|
7912
7916
|
if (c.enableCascadeSelection && L.value?.length && e.length === 0) {
|
|
7913
|
-
|
|
7917
|
+
ie(L.value);
|
|
7914
7918
|
return;
|
|
7915
7919
|
}
|
|
7916
|
-
|
|
7917
|
-
}),
|
|
7918
|
-
|
|
7920
|
+
re.value = e;
|
|
7921
|
+
}), U(() => [L.value, c.options], () => {
|
|
7922
|
+
ie(L.value);
|
|
7919
7923
|
}, {
|
|
7920
7924
|
deep: !0,
|
|
7921
7925
|
immediate: !0
|
|
7922
|
-
}),
|
|
7923
|
-
e ? (
|
|
7926
|
+
}), U(M, (e) => {
|
|
7927
|
+
e ? (ne(), v(() => {
|
|
7924
7928
|
c.overlayTrigger && !c.disableSearchInput && k.value?.input?.focus(), g("dropdown-open");
|
|
7925
|
-
})) : (
|
|
7929
|
+
})) : (ne(), g("dropdown-closed"));
|
|
7926
7930
|
});
|
|
7927
7931
|
let oe = r(() => {
|
|
7928
7932
|
if (z.value === "") return c.options;
|
|
@@ -7938,11 +7942,11 @@ var uc = {
|
|
|
7938
7942
|
let e = c.enableCascadeSelection ? Ma(oe.value) : oe.value;
|
|
7939
7943
|
g("select-all", e.length), H(e);
|
|
7940
7944
|
}, ce = () => {
|
|
7941
|
-
g("clear-all",
|
|
7945
|
+
g("clear-all", re.value.length), f.value = /* @__PURE__ */ new Set(), m.value = /* @__PURE__ */ new Map(), H([]);
|
|
7942
7946
|
}, le = () => {
|
|
7943
|
-
|
|
7947
|
+
ne(), ae();
|
|
7944
7948
|
}, Y = () => {
|
|
7945
|
-
|
|
7949
|
+
te(), ae();
|
|
7946
7950
|
}, ue = r(() => {
|
|
7947
7951
|
if (!c.groupings) return;
|
|
7948
7952
|
let e = /* @__PURE__ */ new Map();
|
|
@@ -7962,17 +7966,17 @@ var uc = {
|
|
|
7962
7966
|
slotContext: c.slotContext,
|
|
7963
7967
|
isOpen: M.value,
|
|
7964
7968
|
isLoading: c.isLoading
|
|
7965
|
-
})), fe = r(() => c.rumActionName ? c.rumActionName : c.rumFilterName ? `Open ${c.rumFilterName} filter` : void 0), pe = r(() => c.rumFilterName ? `Search ${c.rumFilterName} options` : void 0), me =
|
|
7969
|
+
})), fe = r(() => c.rumActionName ? c.rumActionName : c.rumFilterName ? `Open ${c.rumFilterName} filter` : void 0), pe = r(() => c.rumFilterName ? `Search ${c.rumFilterName} options` : void 0), me = ee("popoverContentRef"), he = r(() => {
|
|
7966
7970
|
let e = me.value?.getRootNode();
|
|
7967
7971
|
return e instanceof ShadowRoot ? e.host : null;
|
|
7968
7972
|
}), { present: ge } = zi("header", { host: he }), { present: _e } = zi("no-results", { host: he }), { present: ve } = zi("footer", { host: he });
|
|
7969
7973
|
return J("Escape", () => {
|
|
7970
|
-
M.value &&
|
|
7974
|
+
M.value && ae();
|
|
7971
7975
|
}), (n, r) => (D(), i(Hi, _({
|
|
7972
7976
|
modelValue: R(M),
|
|
7973
7977
|
"onUpdate:modelValue": r[4] ||= (e) => h(M) ? M.value = e : null
|
|
7974
|
-
}, e.popoverProperties, { offset:
|
|
7975
|
-
trigger:
|
|
7978
|
+
}, e.popoverProperties, { offset: q.value }), {
|
|
7979
|
+
trigger: W(() => [u(Ea, {
|
|
7976
7980
|
ref: "select-button-trigger-ref",
|
|
7977
7981
|
variant: e.variant,
|
|
7978
7982
|
size: e.size,
|
|
@@ -7987,7 +7991,7 @@ var uc = {
|
|
|
7987
7991
|
open: R(M),
|
|
7988
7992
|
"counter-value": w.value,
|
|
7989
7993
|
"counter-style": e.counterStyle,
|
|
7990
|
-
"selected-items":
|
|
7994
|
+
"selected-items": re.value,
|
|
7991
7995
|
"data-dd-action-name": fe.value,
|
|
7992
7996
|
onHandleClear: ce,
|
|
7993
7997
|
onHandleToggleDropdown: r[0] ||= (e) => R(N)()
|
|
@@ -8008,7 +8012,7 @@ var uc = {
|
|
|
8008
8012
|
"selected-items",
|
|
8009
8013
|
"data-dd-action-name"
|
|
8010
8014
|
])]),
|
|
8011
|
-
content:
|
|
8015
|
+
content: W(() => [s("div", {
|
|
8012
8016
|
ref_key: "popoverContentRef",
|
|
8013
8017
|
ref: me,
|
|
8014
8018
|
class: "pv-popover",
|
|
@@ -8033,8 +8037,8 @@ var uc = {
|
|
|
8033
8037
|
oe.value.length > 0 ? (D(), o(t, { key: 2 }, [de.value ? (D(!0), o(t, { key: 0 }, A(ue.value, ([t, i], s) => (D(), o("div", { key: t }, [
|
|
8034
8038
|
n.$slots[t] ? j(n.$slots, t, { key: 0 }) : t === "other" ? a("", !0) : (D(), o("span", Cc, F(t), 1)),
|
|
8035
8039
|
u(wo, {
|
|
8036
|
-
selectedItems:
|
|
8037
|
-
"onUpdate:selectedItems": r[2] ||= (e) =>
|
|
8040
|
+
selectedItems: K.value,
|
|
8041
|
+
"onUpdate:selectedItems": r[2] ||= (e) => K.value = e,
|
|
8038
8042
|
options: i,
|
|
8039
8043
|
config: l.value,
|
|
8040
8044
|
queryText: e.highlightSearchText ? z.value : null,
|
|
@@ -8059,8 +8063,8 @@ var uc = {
|
|
|
8059
8063
|
ue.value && s !== ue.value.length - 1 ? (D(), o("div", wc)) : a("", !0)
|
|
8060
8064
|
]))), 128)) : (D(), i(wo, {
|
|
8061
8065
|
key: 1,
|
|
8062
|
-
selectedItems:
|
|
8063
|
-
"onUpdate:selectedItems": r[3] ||= (e) =>
|
|
8066
|
+
selectedItems: K.value,
|
|
8067
|
+
"onUpdate:selectedItems": r[3] ||= (e) => K.value = e,
|
|
8064
8068
|
options: oe.value,
|
|
8065
8069
|
config: l.value,
|
|
8066
8070
|
queryText: e.highlightSearchText ? z.value : null,
|
|
@@ -8643,7 +8647,7 @@ var kc = "__pv_filter_panel_scoped_value__", Ac = (e) => typeof e == "object" &&
|
|
|
8643
8647
|
"update:options"
|
|
8644
8648
|
],
|
|
8645
8649
|
setup(e) {
|
|
8646
|
-
let n = e, c = { renderer: _l }, l =
|
|
8650
|
+
let n = e, c = { renderer: _l }, l = ee("search-input"), d = V(e, "searchText"), f = V(e, "query"), p = V(e, "options"), { addQueryOption: m, containsQueryOption: h, removeQueryOption: g } = ul(), 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 = () => {
|
|
8647
8651
|
f.value = null, d.value = "", w.value = null, S.value = !1;
|
|
8648
8652
|
};
|
|
8649
8653
|
n.enableCustomOptionsInput && J("Enter", () => {
|
|
@@ -8677,7 +8681,7 @@ var kc = "__pv_filter_panel_scoped_value__", Ac = (e) => typeof e == "object" &&
|
|
|
8677
8681
|
context: e.queryTerm
|
|
8678
8682
|
}));
|
|
8679
8683
|
});
|
|
8680
|
-
|
|
8684
|
+
U([
|
|
8681
8685
|
j,
|
|
8682
8686
|
d,
|
|
8683
8687
|
() => n.optionsLoading
|
|
@@ -8711,7 +8715,7 @@ var kc = "__pv_filter_panel_scoped_value__", Ac = (e) => typeof e == "object" &&
|
|
|
8711
8715
|
let L = () => {
|
|
8712
8716
|
d.value = "";
|
|
8713
8717
|
};
|
|
8714
|
-
return (n, r) =>
|
|
8718
|
+
return (n, r) => G((D(), o("div", {
|
|
8715
8719
|
ref: "query-builder-input",
|
|
8716
8720
|
class: "pv-relative pv-query-builder-input-wrapper",
|
|
8717
8721
|
onFocus: I,
|
|
@@ -8737,7 +8741,7 @@ var kc = "__pv_filter_panel_scoped_value__", Ac = (e) => typeof e == "object" &&
|
|
|
8737
8741
|
"modelValue",
|
|
8738
8742
|
"wrap-content",
|
|
8739
8743
|
"query-term-display-limit"
|
|
8740
|
-
]),
|
|
8744
|
+
]), G(s("input", {
|
|
8741
8745
|
"onUpdate:modelValue": r[2] ||= (e) => d.value = e,
|
|
8742
8746
|
ref: "search-input",
|
|
8743
8747
|
"data-testid": "pv-search-input",
|
|
@@ -8748,7 +8752,7 @@ var kc = "__pv_filter_panel_scoped_value__", Ac = (e) => typeof e == "object" &&
|
|
|
8748
8752
|
style: x(d.value ? "min-width: 8rem;" : void 0),
|
|
8749
8753
|
onFocus: I,
|
|
8750
8754
|
onBlur: I
|
|
8751
|
-
}, null, 44, yl), [[
|
|
8755
|
+
}, null, 44, yl), [[ne, d.value]])], 4),
|
|
8752
8756
|
f.value && !e.hideClearButton ? (D(), i(Ln, {
|
|
8753
8757
|
key: 1,
|
|
8754
8758
|
variant: "ghost",
|
|
@@ -8766,7 +8770,7 @@ var kc = "__pv_filter_panel_scoped_value__", Ac = (e) => typeof e == "object" &&
|
|
|
8766
8770
|
},
|
|
8767
8771
|
isList: !0
|
|
8768
8772
|
}, {
|
|
8769
|
-
default:
|
|
8773
|
+
default: W(() => [e.optionsLoading ? (D(), o("div", xl, [u(Dt, { variant: "dark" })])) : (D(!0), o(t, { key: 0 }, A(j.value, (e, t) => (D(), i(mo, _({
|
|
8770
8774
|
key: `${t}-${e.searchText}`,
|
|
8771
8775
|
ref_for: !0
|
|
8772
8776
|
}, e, {
|
|
@@ -8819,7 +8823,7 @@ var kc = "__pv_filter_panel_scoped_value__", Ac = (e) => typeof e == "object" &&
|
|
|
8819
8823
|
},
|
|
8820
8824
|
setup(e) {
|
|
8821
8825
|
let n = m(Al, k(null)), c = m(Pl, k([])), l = m(Fl, k([])), u = e;
|
|
8822
|
-
|
|
8826
|
+
U(l, () => {}, { deep: !0 });
|
|
8823
8827
|
let d = (e) => l.value.includes(e || ""), f = (e, t) => {
|
|
8824
8828
|
n.value && (t ? n.value.addRowGroupColumns([e]) : n.value.removeRowGroupColumns([e]));
|
|
8825
8829
|
}, 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(() => {
|
|
@@ -8850,12 +8854,12 @@ var kc = "__pv_filter_panel_scoped_value__", Ac = (e) => typeof e == "object" &&
|
|
|
8850
8854
|
class: y(p.value),
|
|
8851
8855
|
onListOrderUpdated: x
|
|
8852
8856
|
}, {
|
|
8853
|
-
trigger:
|
|
8857
|
+
trigger: W(() => [s("div", tu, [r[0] ||= s("p", { class: "pv-truncate pv-text-body-md" }, "Compare", -1), R(l).length > 0 ? (D(), i(R(Pn), {
|
|
8854
8858
|
key: 0,
|
|
8855
8859
|
value: R(l).length,
|
|
8856
8860
|
variant: "tertiary"
|
|
8857
8861
|
}, null, 8, ["value"])) : a("", !0)])]),
|
|
8858
|
-
default:
|
|
8862
|
+
default: W(() => [(D(!0), o(t, null, A(v.value, (e, n) => (D(), o(t, { key: e.value }, [e.value === "divider" ? a("", !0) : (D(), o("li", {
|
|
8859
8863
|
key: 0,
|
|
8860
8864
|
id: b(e.value)
|
|
8861
8865
|
}, [s("label", { class: y(["pv-flex", { "pv-border-bottom": n + 1 === R(l).length }]) }, [
|
|
@@ -8977,14 +8981,14 @@ var fu = /* @__PURE__ */ tn(lu, [["render", du]]), pu = ["innerHTML"], mu = { ke
|
|
|
8977
8981
|
tooltipPosition: "center-left",
|
|
8978
8982
|
size: "sm"
|
|
8979
8983
|
}, {
|
|
8980
|
-
label:
|
|
8984
|
+
label: W(() => [u(Ln, {
|
|
8981
8985
|
class: y(j.value + " pv-text-brand"),
|
|
8982
8986
|
variant: "ghost",
|
|
8983
8987
|
"left-icon": "focus",
|
|
8984
8988
|
ariaLabel: "Remove focus",
|
|
8985
8989
|
onClick: r[0] ||= (e) => R(O)(R(f).key)
|
|
8986
8990
|
}, null, 8, ["class"])]),
|
|
8987
|
-
"tooltip-content":
|
|
8991
|
+
"tooltip-content": W(() => [s("span", null, " Remove " + F(e.params.focusText || "Focus"), 1)]),
|
|
8988
8992
|
_: 1
|
|
8989
8993
|
})])) : a("", !0)], 2)) : a("", !0), s("div", null, [s("p", null, [e.params.displayRowNumber && x.value ? (D(), o("span", wu, F(x.value), 1)) : a("", !0), l(" " + F(v.value), 1)])])], 64));
|
|
8990
8994
|
}
|
|
@@ -9039,13 +9043,13 @@ var fu = /* @__PURE__ */ tn(lu, [["render", du]]), pu = ["innerHTML"], mu = { ke
|
|
|
9039
9043
|
"col-def": d.value,
|
|
9040
9044
|
"cell-params": e.params.cellParams
|
|
9041
9045
|
}, {
|
|
9042
|
-
default:
|
|
9046
|
+
default: W(() => [u(Tu, { params: e.params }, null, 8, ["params"])]),
|
|
9043
9047
|
_: 1
|
|
9044
9048
|
}, 8, ["col-def", "cell-params"])) : (D(), o("div", Eu, [e.params.displayRowNumber && c.value ? (D(), o("span", Du, F(c.value), 1)) : a("", !0), u(hu, {
|
|
9045
9049
|
"col-def": f.value,
|
|
9046
9050
|
"cell-params": p.value
|
|
9047
9051
|
}, {
|
|
9048
|
-
default:
|
|
9052
|
+
default: W(() => [u(Tu, { params: l.value }, null, 8, ["params"])]),
|
|
9049
9053
|
_: 1
|
|
9050
9054
|
}, 8, ["col-def", "cell-params"])]));
|
|
9051
9055
|
}
|
|
@@ -9548,7 +9552,7 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
9548
9552
|
};
|
|
9549
9553
|
}
|
|
9550
9554
|
return {};
|
|
9551
|
-
},
|
|
9555
|
+
}, ee = (e, t) => {
|
|
9552
9556
|
b.value[e] = t;
|
|
9553
9557
|
let r = [], i = n.value;
|
|
9554
9558
|
if (md(i)) {
|
|
@@ -9564,7 +9568,7 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
9564
9568
|
let n = V(e, t);
|
|
9565
9569
|
n && a.push(n);
|
|
9566
9570
|
}), x.value[e] = a, r.filter((e, t) => r.indexOf(e) === t);
|
|
9567
|
-
},
|
|
9571
|
+
}, te = (e) => b.value[e] || [], ne = async (e) => {
|
|
9568
9572
|
let t = n.value;
|
|
9569
9573
|
if (!t) return x.value;
|
|
9570
9574
|
let r = e.map((e) => {
|
|
@@ -9578,31 +9582,31 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
9578
9582
|
for (let { colDef: e, colId: n, selectedValues: i } of r) i.every((e) => V(n, e) != null) || await B(e, {
|
|
9579
9583
|
filterModel: t,
|
|
9580
9584
|
useStaged: !1
|
|
9581
|
-
}),
|
|
9585
|
+
}), ee(n, i);
|
|
9582
9586
|
return x.value;
|
|
9583
|
-
},
|
|
9587
|
+
}, re = (e, t) => {
|
|
9584
9588
|
S.value[e] = t;
|
|
9585
|
-
},
|
|
9589
|
+
}, U = (e) => C.value[e] || [], W = (e, t) => {
|
|
9586
9590
|
C.value[e] = t;
|
|
9587
|
-
},
|
|
9591
|
+
}, G = (e, t) => {
|
|
9588
9592
|
A.value[e] = t;
|
|
9589
|
-
},
|
|
9593
|
+
}, ie = (e) => {
|
|
9590
9594
|
let t = M.value[e] ?? 0;
|
|
9591
9595
|
M.value[e] = t + 1, j.value.add(e);
|
|
9592
|
-
},
|
|
9596
|
+
}, K = (e) => {
|
|
9593
9597
|
let t = M.value[e] ?? 0;
|
|
9594
9598
|
if (t <= 1) {
|
|
9595
9599
|
delete M.value[e], j.value.delete(e);
|
|
9596
9600
|
return;
|
|
9597
9601
|
}
|
|
9598
9602
|
M.value[e] = t - 1;
|
|
9599
|
-
},
|
|
9600
|
-
let n = t ?
|
|
9603
|
+
}, ae = /* @__PURE__ */ new Set(), q = /* @__PURE__ */ new Set(), oe = (e, t = !1) => {
|
|
9604
|
+
let n = t ? q : ae;
|
|
9601
9605
|
e.forEach((e) => n.add(e));
|
|
9602
9606
|
}, J = () => {
|
|
9603
|
-
|
|
9607
|
+
q.forEach((e) => ae.add(e)), q.clear();
|
|
9604
9608
|
}, se = () => {
|
|
9605
|
-
|
|
9609
|
+
q.clear();
|
|
9606
9610
|
}, ce = (e) => {
|
|
9607
9611
|
let t = new Set(e);
|
|
9608
9612
|
for (let n of e) {
|
|
@@ -9650,7 +9654,7 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
9650
9654
|
};
|
|
9651
9655
|
return de(n, (e, t) => {
|
|
9652
9656
|
let n = ve(e, t);
|
|
9653
|
-
|
|
9657
|
+
ae.forEach((e) => n.add(e)), ae.clear(), n.size > 0 && ce(n);
|
|
9654
9658
|
}, {
|
|
9655
9659
|
deep: !0,
|
|
9656
9660
|
debounce: 200,
|
|
@@ -9672,19 +9676,19 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
9672
9676
|
invalidateFilterRequest: z,
|
|
9673
9677
|
filterValueContext: V,
|
|
9674
9678
|
filterModelEmpty: _,
|
|
9675
|
-
getFilterSelectedValues:
|
|
9679
|
+
getFilterSelectedValues: te,
|
|
9676
9680
|
getSearchMatchDataFromFilterContext: H,
|
|
9677
9681
|
isServerSideFilter: g,
|
|
9678
9682
|
stagedFilterModel: i,
|
|
9679
|
-
setFilterSelectedValues:
|
|
9680
|
-
hydrateSelectedFilterMetadata:
|
|
9681
|
-
setFilterValueSearchText:
|
|
9683
|
+
setFilterSelectedValues: ee,
|
|
9684
|
+
hydrateSelectedFilterMetadata: ne,
|
|
9685
|
+
setFilterValueSearchText: re,
|
|
9682
9686
|
tableSearchFilterModel: a,
|
|
9683
9687
|
tableSearchFilterModelEmpty: v,
|
|
9684
9688
|
tableSearchHandler: m,
|
|
9685
9689
|
filterValuesMap: C,
|
|
9686
|
-
getFilterValues:
|
|
9687
|
-
setFilterValues:
|
|
9690
|
+
getFilterValues: U,
|
|
9691
|
+
setFilterValues: W,
|
|
9688
9692
|
filterStaleMap: w,
|
|
9689
9693
|
refreshFiltersInBackground: E,
|
|
9690
9694
|
stageFilterChangesUntilDropdownCloses: D,
|
|
@@ -9694,10 +9698,10 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
9694
9698
|
commitStagedFilterModelChanges: J,
|
|
9695
9699
|
clearStagedFilterModelChanges: se,
|
|
9696
9700
|
aggregateFieldMap: A,
|
|
9697
|
-
registerAggregateField:
|
|
9701
|
+
registerAggregateField: G,
|
|
9698
9702
|
registeredFilterFields: j,
|
|
9699
|
-
registerFilterField:
|
|
9700
|
-
unregisterFilterField:
|
|
9703
|
+
registerFilterField: ie,
|
|
9704
|
+
unregisterFilterField: K,
|
|
9701
9705
|
stagedSelectedValuesMap: N,
|
|
9702
9706
|
initStagedSelectedValues: le,
|
|
9703
9707
|
clearStagedSelectedValues: Y,
|
|
@@ -9720,19 +9724,19 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
9720
9724
|
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().");
|
|
9721
9725
|
return e;
|
|
9722
9726
|
}, bd = (e) => {
|
|
9723
|
-
let { filterColDef: t, filterStyle: n, onSelectionChanged: i, filterGroupStagedFields: a, readOnly: o, disableUnselected: s } = e, c = wl(), l = m(Al, k(null)), u = vd(), { 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: I, getStagedSelectedValues: L, setStagedSelectedValues: R, filterValueSearchTextMap: z, filterValuesHasMoreMap: B, filterValuesTotalCountMap: V } = u, { computedFocuses: H, removeFocus:
|
|
9727
|
+
let { filterColDef: t, filterStyle: n, onSelectionChanged: i, filterGroupStagedFields: a, readOnly: o, disableUnselected: s } = e, c = wl(), l = m(Al, k(null)), u = vd(), { 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: I, getStagedSelectedValues: L, setStagedSelectedValues: R, filterValueSearchTextMap: z, filterValuesHasMoreMap: B, filterValuesTotalCountMap: V } = u, { computedFocuses: H, removeFocus: ee, computedFocusType: te } = _u(), ne = m(zl, k(!1)), re = m(Rl, k(!1)), W = m(Ql, k(!1)), G = r({
|
|
9724
9728
|
get: () => Z.value ? L(Y.value) : b(Y.value),
|
|
9725
9729
|
set: (e) => {
|
|
9726
9730
|
Z.value ? R(Y.value, e) : C(Y.value, e);
|
|
9727
9731
|
}
|
|
9728
|
-
}),
|
|
9732
|
+
}), ie = r(() => {
|
|
9729
9733
|
let e = w(Y.value);
|
|
9730
9734
|
if (fe.value && me.value.length > 0) {
|
|
9731
9735
|
let t = new Set(e), n = me.value.filter((e) => t.has(e)), r = new Set(me.value), i = e.filter((e) => !r.has(e));
|
|
9732
9736
|
return [...n, ...i];
|
|
9733
9737
|
}
|
|
9734
9738
|
return Re(e);
|
|
9735
|
-
}),
|
|
9739
|
+
}), K = r(() => _.value[Y.value] ?? !1), ae = r(() => A.value || $(t.value).prefetchFilterValues === !0), q = r(() => (o?.value ?? !1) && (s?.value ?? !1) && G.value.length === 0 && je.value.length === 0), oe = r(() => o?.value ?? !1), J = r(() => oe.value && (s?.value ?? !1)), se = r({
|
|
9736
9740
|
get: () => z.value[Y.value] ?? "",
|
|
9737
9741
|
set: (e) => S(Y.value, e)
|
|
9738
9742
|
}), ce = r(() => $(t.value).filterSearchMinLength ?? M.value), le = r(() => {
|
|
@@ -9741,17 +9745,17 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
9741
9745
|
}), Y = r(() => t.value.field || ""), ue = r(() => t.value.filter || ""), X = r(() => t.value.headerName || ""), Z = r(() => n?.value === "vertical"), fe = k(!1), pe = k(!1), me = k([]), he = r(() => ns(t.value)), ge = r(() => rs(t.value)), _e = r(() => is(t.value)), ve = r(() => $(t.value).filterOptionsSortDescription), ye = r(() => $(t.value).filterOptionsSortTooltip), be = r(() => {
|
|
9742
9746
|
let e = $(t.value).filterSearch;
|
|
9743
9747
|
return typeof e == "boolean" ? e : $(t.value).dataType !== Xo.Boolean;
|
|
9744
|
-
}), xe = r(() => $(t.value).emptyFilterResultsRenderer), Se = r(() => $(t.value).filterOptionsRenderer), Ce = r(() => $(t.value).filterHeaderRenderer), we = r(() => $(t.value).filterFooterRenderer), Te = r(() => ge.value ?
|
|
9748
|
+
}), xe = r(() => $(t.value).emptyFilterResultsRenderer), Se = r(() => $(t.value).filterOptionsRenderer), Ce = r(() => $(t.value).filterHeaderRenderer), we = r(() => $(t.value).filterFooterRenderer), Te = r(() => ge.value ? G.value.length >= ge.value : !1), Ee = r(() => ie.value.filter((e) => e != null && !G.value.includes(e))), De = r(() => oe.value ? void 0 : V.value[Y.value]), Oe = r(() => oe.value ? !1 : B.value[Y.value]), Q = r(() => ls(t.value)), ke = () => new Set([Y.value, ...ss(t.value)]), Ae = (e, t) => {
|
|
9745
9749
|
let n = new Set(e), r = new Set(t);
|
|
9746
9750
|
return n.size === r.size ? [...n].every((e) => r.has(e)) : !1;
|
|
9747
|
-
}, je = k([]), Me = k("[]"), Ne = r(() =>
|
|
9751
|
+
}, je = k([]), Me = k("[]"), Ne = r(() => ie.value.length === 1 && ie.value[0] === null && G.value.length === 0), Pe = (e = !1) => {
|
|
9748
9752
|
if (Q.value) return;
|
|
9749
9753
|
let n = [];
|
|
9750
|
-
if (
|
|
9754
|
+
if (W.value && l.value) {
|
|
9751
9755
|
let e = l.value.getAdvancedFilterModel();
|
|
9752
9756
|
n = ad(Y.value, e);
|
|
9753
9757
|
} else n = Xu(t.value, p.value);
|
|
9754
|
-
e ?
|
|
9758
|
+
e ? G.value = n : G.value = Array.from(new Set([...b(Y.value), ...n]));
|
|
9755
9759
|
}, Fe = (e) => {
|
|
9756
9760
|
let t = (n) => {
|
|
9757
9761
|
for (let r of n) if (r.id === String(e) && r.state === "selected" || r.children && t(r.children)) return !0;
|
|
@@ -9762,12 +9766,12 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
9762
9766
|
let n = je.value.find((t) => t.id === String(e));
|
|
9763
9767
|
return n?.state === "selected" ? !n.children?.some((e) => e.id === String(t) && e.state === "deselected") : Fe(t);
|
|
9764
9768
|
}, 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) => {
|
|
9765
|
-
let n =
|
|
9769
|
+
let n = G.value.includes(e) || Fe(e), r = G.value.includes(t) || Fe(t);
|
|
9766
9770
|
return n && !r ? -1 : !n && r ? 1 : 0;
|
|
9767
9771
|
}), ze = async (e = !1, n = !1) => {
|
|
9768
9772
|
if (!l.value) return;
|
|
9769
9773
|
let r = O.value[Y.value] ?? !1, i = _.value[Y.value] !== !0, a = (w(Y.value) || []).length === 0, o = e && i && (r || n || a);
|
|
9770
|
-
if (
|
|
9774
|
+
if (W.value) {
|
|
9771
9775
|
if (x.value && o) {
|
|
9772
9776
|
let e = await d(t.value, {
|
|
9773
9777
|
api: l.value,
|
|
@@ -9815,7 +9819,7 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
9815
9819
|
if (!$(t.value).metadataDisplayFields?.length) return !1;
|
|
9816
9820
|
let r = y(Y.value, e);
|
|
9817
9821
|
return r == null || r.label == null;
|
|
9818
|
-
}, Je = (e) => Ne.value || y(Y.value, e)?.isSelectable === !1 ? !0 : _e.value ? !1 : Te.value && !
|
|
9822
|
+
}, Je = (e) => Ne.value || y(Y.value, e)?.isSelectable === !1 ? !0 : _e.value ? !1 : Te.value && !G.value.includes(e), Ye = (e) => e ? l.value && l.value.getColumnDef(e)?.headerName || e : "", Xe = (e, n, r) => el({
|
|
9819
9823
|
fallbackSubText: n,
|
|
9820
9824
|
getDisplayName: Ye,
|
|
9821
9825
|
matchedField: e?.matchedField,
|
|
@@ -9899,7 +9903,7 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
9899
9903
|
let n = ct(t);
|
|
9900
9904
|
n && e.add(n.value);
|
|
9901
9905
|
}
|
|
9902
|
-
return [...e].filter((e) => !
|
|
9906
|
+
return [...e].filter((e) => !ie.value.includes(e));
|
|
9903
9907
|
}, dt = (e) => {
|
|
9904
9908
|
let n = y(Y.value, e), r = (n?.children?.length ?? 0) > 0 || (n?.totalChildCount ?? 0) > 0, i = ve.value ? "suggestions" : null;
|
|
9905
9909
|
n?.isPreference && (i = "preferences");
|
|
@@ -9957,7 +9961,7 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
9957
9961
|
handleSeeMore: f
|
|
9958
9962
|
};
|
|
9959
9963
|
}, ft = r(() => {
|
|
9960
|
-
let e = [...Q.value ? ut() :
|
|
9964
|
+
let e = [...Q.value ? ut() : G.value.filter((e) => e != null && e !== "" && !ie.value.includes(e)), ...ie.value];
|
|
9961
9965
|
return e.filter((t, n) => e.indexOf(t) === n).filter((e) => e != null && e !== "").filter((e) => !qe(e)).map(dt);
|
|
9962
9966
|
}), pt = (e) => {
|
|
9963
9967
|
let t = e.children;
|
|
@@ -9971,11 +9975,11 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
9971
9975
|
handleSeeMore: void 0,
|
|
9972
9976
|
...n ? { defaultExpanded: !0 } : {}
|
|
9973
9977
|
};
|
|
9974
|
-
}, mt = (e) => Q.value ? Le(e, null) :
|
|
9978
|
+
}, mt = (e) => Q.value ? Le(e, null) : G.value.includes(e.id), ht = r(() => {
|
|
9975
9979
|
let e = ft.value;
|
|
9976
9980
|
return oe.value ? e.filter((e) => !J.value || mt(e)).map((e) => pt(e)) : e;
|
|
9977
9981
|
}), gt = r({
|
|
9978
|
-
get: () => Q.value ? [] :
|
|
9982
|
+
get: () => Q.value ? [] : G.value.map((e) => {
|
|
9979
9983
|
let t = y(Y.value, e), n = Ve(t), r = n ? Ye(n) : void 0;
|
|
9980
9984
|
return {
|
|
9981
9985
|
id: e,
|
|
@@ -9993,13 +9997,13 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
9993
9997
|
i?.();
|
|
9994
9998
|
return;
|
|
9995
9999
|
}
|
|
9996
|
-
let t =
|
|
10000
|
+
let t = G.value.slice(), n = e.map((e) => e.id), r = bt;
|
|
9997
10001
|
bt = !1, r || El(() => {
|
|
9998
10002
|
let e = new Set(t), r = new Set(n);
|
|
9999
10003
|
for (let t of r) e.has(t) || Ct(t, "select", "click", r.size);
|
|
10000
10004
|
for (let t of e) r.has(t) || Ct(t, "deselect", "click", r.size);
|
|
10001
|
-
}),
|
|
10002
|
-
!
|
|
10005
|
+
}), G.value = n, (e.length === 0 && !fe.value || !j.value || Z.value) && (vt(), H.value.forEach((e) => {
|
|
10006
|
+
!G.value.includes(e) && te.value === Y.value && ee(e);
|
|
10003
10007
|
})), i?.();
|
|
10004
10008
|
}
|
|
10005
10009
|
}), _t = (e) => {
|
|
@@ -10014,7 +10018,7 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
10014
10018
|
if (!l.value) return;
|
|
10015
10019
|
if (e !== void 0 && n !== void 0) {
|
|
10016
10020
|
let r = e || Y.value, i = new Set([Y.value, r]), a = n;
|
|
10017
|
-
if (
|
|
10021
|
+
if (W.value) {
|
|
10018
10022
|
let e = Lu(r, a || []);
|
|
10019
10023
|
if (Z.value) {
|
|
10020
10024
|
let t = h.value, n = rd(t, e, r);
|
|
@@ -10041,8 +10045,8 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
10041
10045
|
});
|
|
10042
10046
|
return;
|
|
10043
10047
|
}
|
|
10044
|
-
let i = _t(
|
|
10045
|
-
if (
|
|
10048
|
+
let i = _t(G.value), o = $(t.value);
|
|
10049
|
+
if (W.value) {
|
|
10046
10050
|
let e = Z.value ? h.value : l.value.getAdvancedFilterModel(), n = e, s = /* @__PURE__ */ new Set();
|
|
10047
10051
|
if (Q.value) {
|
|
10048
10052
|
let e = ss(t.value), r = [];
|
|
@@ -10067,7 +10071,7 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
10067
10071
|
} : e;
|
|
10068
10072
|
}
|
|
10069
10073
|
} else {
|
|
10070
|
-
let t =
|
|
10074
|
+
let t = G.value.length > 0 ? G.value : null, r = Lu(Y.value, t || []);
|
|
10071
10075
|
n = rd(n, r, Y.value);
|
|
10072
10076
|
let i = !1;
|
|
10073
10077
|
if (a?.value) {
|
|
@@ -10080,7 +10084,7 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
10080
10084
|
n = rd(n, r, t);
|
|
10081
10085
|
}
|
|
10082
10086
|
}
|
|
10083
|
-
let c =
|
|
10087
|
+
let c = G.value.filter((e) => e !== null), l = ad(Y.value, e), u = new Set(l), d = new Set(c);
|
|
10084
10088
|
if (!(u.size !== d.size || c.some((e) => !u.has(e))) && !i) return;
|
|
10085
10089
|
}
|
|
10086
10090
|
if (r?.skipIfUnchanged && nd(e, n)) return;
|
|
@@ -10093,10 +10097,10 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
10093
10097
|
}
|
|
10094
10098
|
return;
|
|
10095
10099
|
}
|
|
10096
|
-
let s =
|
|
10100
|
+
let s = G.value.length > 0 ? G.value : null;
|
|
10097
10101
|
if (r?.skipIfUnchanged) {
|
|
10098
10102
|
let e = Xu(t.value, l.value.getFilterModel());
|
|
10099
|
-
if (Ae(
|
|
10103
|
+
if (Ae(G.value, e)) return;
|
|
10100
10104
|
}
|
|
10101
10105
|
if (Z.value) {
|
|
10102
10106
|
let e = await Yu(l.value, t.value, s);
|
|
@@ -10164,26 +10168,27 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
10164
10168
|
je.value = e;
|
|
10165
10169
|
}
|
|
10166
10170
|
}), Dt = (e, n, r = "click") => {
|
|
10167
|
-
let a =
|
|
10168
|
-
if (
|
|
10169
|
-
let
|
|
10171
|
+
let a = null;
|
|
10172
|
+
if (Q.value && e) {
|
|
10173
|
+
let r = n || ss(t.value)[0] || Y.value;
|
|
10174
|
+
a = e.startsWith("__") ? e : at(r, e) || e;
|
|
10175
|
+
}
|
|
10176
|
+
let o = e != null && (G.value.includes(e) || a != null && Fe(a)), s = G.value.slice();
|
|
10177
|
+
if (e && _e.value ? G.value = [e] : e && !o && (G.value = [...G.value, e]), e != null && !o) {
|
|
10178
|
+
let t = G.value.length, n = _e.value;
|
|
10170
10179
|
El(() => {
|
|
10171
|
-
if (n) for (let n of
|
|
10180
|
+
if (n) for (let n of s) n !== e && Ct(n, "deselect", r, t);
|
|
10172
10181
|
Ct(e, "select", r, t);
|
|
10173
10182
|
});
|
|
10174
10183
|
}
|
|
10175
|
-
|
|
10176
|
-
|
|
10177
|
-
|
|
10178
|
-
|
|
10179
|
-
state: "selected"
|
|
10180
|
-
}]);
|
|
10181
|
-
}
|
|
10182
|
-
(!j.value || Z.value) && (Q.value && e ? Nt(je.value) : n && n !== Y.value ? vt(n, [e]) : vt()), i?.();
|
|
10184
|
+
a != null && (je.value.find((e) => e.id === a) || (je.value = [...je.value, {
|
|
10185
|
+
id: a,
|
|
10186
|
+
state: "selected"
|
|
10187
|
+
}])), (!j.value || Z.value) && (Q.value && e ? Nt(je.value) : n && n !== Y.value ? vt(n, [e]) : vt()), i?.();
|
|
10183
10188
|
}, Ot = (e, n, r = "click") => {
|
|
10184
|
-
let a =
|
|
10185
|
-
if (
|
|
10186
|
-
let t =
|
|
10189
|
+
let a = G.value.includes(e);
|
|
10190
|
+
if (G.value = G.value.filter((t) => t !== e), e != null && a) {
|
|
10191
|
+
let t = G.value.length;
|
|
10187
10192
|
El(() => {
|
|
10188
10193
|
Ct(e, "deselect", r, t);
|
|
10189
10194
|
});
|
|
@@ -10199,7 +10204,7 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
10199
10204
|
fe.value = !1, me.value = [], se.value = "", bt = !1, !o?.value && j.value && !Z.value && (Q.value ? Nt(je.value, { skipIfUnchanged: !0 }) : vt(void 0, void 0, { skipIfUnchanged: !0 }));
|
|
10200
10205
|
}, jt = async (e) => {
|
|
10201
10206
|
if (!l.value) return;
|
|
10202
|
-
let n =
|
|
10207
|
+
let n = ie.value.length, r = !e.parentId;
|
|
10203
10208
|
r && (pe.value = !0);
|
|
10204
10209
|
try {
|
|
10205
10210
|
await d(t.value, {
|
|
@@ -10244,15 +10249,15 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
10244
10249
|
let { field: t, value: n } = $e(e.id);
|
|
10245
10250
|
return t ? at(t, n) !== e.id : !1;
|
|
10246
10251
|
}) : !1, It = () => {
|
|
10247
|
-
!Q.value || !
|
|
10252
|
+
!Q.value || !W.value || Ft() && Pt(p.value);
|
|
10248
10253
|
};
|
|
10249
|
-
|
|
10254
|
+
U(je, (e) => {
|
|
10250
10255
|
Q.value && (lt(e), !(j.value && !Z.value) && Nt(e));
|
|
10251
|
-
}, { deep: !0 }),
|
|
10252
|
-
!e || fe.value ||
|
|
10253
|
-
}),
|
|
10256
|
+
}, { deep: !0 }), U(() => O.value[Y.value], (e) => {
|
|
10257
|
+
!e || fe.value || q.value || ae.value && ze(!0);
|
|
10258
|
+
}), U(() => h.value, () => {
|
|
10254
10259
|
if (Z.value) {
|
|
10255
|
-
if (
|
|
10260
|
+
if (W.value) {
|
|
10256
10261
|
let e = [], n = h.value;
|
|
10257
10262
|
if (Q.value) {
|
|
10258
10263
|
let r = ss(t.value);
|
|
@@ -10261,30 +10266,30 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
10261
10266
|
e.push(...r);
|
|
10262
10267
|
}
|
|
10263
10268
|
} else e = ad(Y.value, n);
|
|
10264
|
-
|
|
10269
|
+
G.value = e;
|
|
10265
10270
|
return;
|
|
10266
10271
|
}
|
|
10267
|
-
ue.value === "agSetColumnFilter" ?
|
|
10272
|
+
ue.value === "agSetColumnFilter" ? G.value = h.value?.[Y.value]?.values || [] : ue.value === "agMultiColumnFilter" ? G.value = h.value?.[Y.value]?.filterModels?.find((e) => e && e.filterType === "set")?.values || [] : console.error(`Staged filter model update for filter type ${ue.value} is not yet supported.`);
|
|
10268
10273
|
}
|
|
10269
|
-
}),
|
|
10274
|
+
}), U(() => p.value, () => {
|
|
10270
10275
|
if (Z.value) return;
|
|
10271
10276
|
if (Q.value) {
|
|
10272
|
-
|
|
10277
|
+
W.value && Pt(p.value);
|
|
10273
10278
|
return;
|
|
10274
10279
|
}
|
|
10275
|
-
if (
|
|
10280
|
+
if (W.value) {
|
|
10276
10281
|
let e = p.value, t = ad(Y.value, e);
|
|
10277
|
-
Pe(
|
|
10282
|
+
Pe(G.value.some((e) => e !== null && !t.includes(e)));
|
|
10278
10283
|
return;
|
|
10279
10284
|
}
|
|
10280
10285
|
let e = Xu(t.value, p.value);
|
|
10281
|
-
Pe(
|
|
10282
|
-
}, { deep: !0 }),
|
|
10283
|
-
|
|
10284
|
-
}),
|
|
10286
|
+
Pe(G.value.some((t) => !e.includes(t)));
|
|
10287
|
+
}, { deep: !0 }), U(() => g.value, () => {
|
|
10288
|
+
G.value = [], je.value = [], Me.value = "[]";
|
|
10289
|
+
}), U(() => l.value, (e) => {
|
|
10285
10290
|
e && x.value && !fe.value && (O.value[Y.value] = !0);
|
|
10286
|
-
}, { immediate: !0 }),
|
|
10287
|
-
|
|
10291
|
+
}, { immediate: !0 }), U(() => re.value, async () => {
|
|
10292
|
+
ae.value && !q.value && !fe.value && (Z.value ? setTimeout(async () => {
|
|
10288
10293
|
fe.value || await ze(!0);
|
|
10289
10294
|
}, 2e3) : await ze(!0)), Pe();
|
|
10290
10295
|
}), de(() => se.value, async () => {
|
|
@@ -10315,37 +10320,37 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
10315
10320
|
zt = null;
|
|
10316
10321
|
return;
|
|
10317
10322
|
}
|
|
10318
|
-
if (
|
|
10323
|
+
if (K.value) {
|
|
10319
10324
|
zt = e;
|
|
10320
10325
|
return;
|
|
10321
10326
|
}
|
|
10322
10327
|
Rt(e);
|
|
10323
|
-
}, { debounce: 500 }),
|
|
10328
|
+
}, { debounce: 500 }), U(() => K.value, (e) => {
|
|
10324
10329
|
if (e || zt == null) return;
|
|
10325
10330
|
let t = zt;
|
|
10326
10331
|
zt = null, se.value === t && Rt(t);
|
|
10327
10332
|
}), T(() => {
|
|
10328
10333
|
F(Y.value);
|
|
10329
10334
|
let e = ss(t.value);
|
|
10330
|
-
if (e.length && P(Y.value, e), Pe(), Q.value &&
|
|
10331
|
-
let e = Q.value || ($(t.value).metadataDisplayFields?.length ?? 0) > 0, n = Q.value &&
|
|
10335
|
+
if (e.length && P(Y.value, e), Pe(), Q.value && W.value && Pt(p.value), o?.value && x.value && l.value) {
|
|
10336
|
+
let e = Q.value || ($(t.value).metadataDisplayFields?.length ?? 0) > 0, n = Q.value && W.value ? ss(t.value).some((e) => ad(e, p.value).length > 0) : G.value.length > 0;
|
|
10332
10337
|
e && n && d(t.value, {
|
|
10333
10338
|
api: l.value,
|
|
10334
10339
|
filterModel: p.value ?? void 0
|
|
10335
10340
|
});
|
|
10336
10341
|
}
|
|
10337
|
-
Q.value || $(t.value).metadataDisplayFields?.length &&
|
|
10342
|
+
Q.value || $(t.value).metadataDisplayFields?.length && G.value.some((e) => qe(e)) && ze(!0, !0);
|
|
10338
10343
|
}), E(() => {
|
|
10339
10344
|
I(Y.value), j.value && !Z.value && (Q.value ? Nt(je.value, { skipIfUnchanged: !0 }) : vt(void 0, void 0, { skipIfUnchanged: !0 }));
|
|
10340
10345
|
}), {
|
|
10341
|
-
selectedValues:
|
|
10342
|
-
filterValues:
|
|
10343
|
-
isLoading:
|
|
10346
|
+
selectedValues: G,
|
|
10347
|
+
filterValues: ie,
|
|
10348
|
+
isLoading: K,
|
|
10344
10349
|
isSeeMoreLoading: pe,
|
|
10345
10350
|
filterSearchText: se,
|
|
10346
10351
|
filterSearchMinLength: ce,
|
|
10347
10352
|
belowFilterSearchMinLength: le,
|
|
10348
|
-
rowsLoading:
|
|
10353
|
+
rowsLoading: ne,
|
|
10349
10354
|
gridApi: l,
|
|
10350
10355
|
filterField: Y,
|
|
10351
10356
|
filterType: ue,
|
|
@@ -10515,28 +10520,28 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
10515
10520
|
}
|
|
10516
10521
|
j.value = S.value, O(), F(), x.value = !0;
|
|
10517
10522
|
};
|
|
10518
|
-
|
|
10523
|
+
U(f, () => {
|
|
10519
10524
|
if (!(g.value && x.value)) {
|
|
10520
10525
|
_.value.clear();
|
|
10521
10526
|
for (let e of C.value.fields) N(e) && _.value.add(e);
|
|
10522
10527
|
}
|
|
10523
10528
|
}, { immediate: !0 });
|
|
10524
|
-
let H = r(() => d.value),
|
|
10529
|
+
let H = r(() => d.value), ee = r(() => C.value.fields.map((e) => ({
|
|
10525
10530
|
field: e,
|
|
10526
10531
|
label: P(e),
|
|
10527
10532
|
isSelected: _.value.has(e),
|
|
10528
10533
|
isAvailable: !b.value.has(e)
|
|
10529
|
-
}))),
|
|
10534
|
+
}))), te = r(() => H.value ? ee.value.filter((e) => e.isSelected) : ee.value);
|
|
10530
10535
|
E(() => {
|
|
10531
10536
|
x.value = !1, _.value.clear(), b.value.clear();
|
|
10532
10537
|
});
|
|
10533
|
-
let
|
|
10538
|
+
let ne = r(() => _.value.size);
|
|
10534
10539
|
return n({
|
|
10535
10540
|
openForTest: () => {
|
|
10536
10541
|
F(), x.value = !0;
|
|
10537
10542
|
},
|
|
10538
10543
|
selectedValues: _
|
|
10539
|
-
}), (e, n) =>
|
|
10544
|
+
}), (e, n) => G((D(), o("div", {
|
|
10540
10545
|
ref_key: "triggerWrapper",
|
|
10541
10546
|
ref: S,
|
|
10542
10547
|
style: { "padding-bottom": "4px" },
|
|
@@ -10549,7 +10554,7 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
10549
10554
|
id: C.value.label,
|
|
10550
10555
|
text: C.value.label,
|
|
10551
10556
|
"class-list": ["pv-menu-nested"],
|
|
10552
|
-
"secondary-text":
|
|
10557
|
+
"secondary-text": ne.value || void 0,
|
|
10553
10558
|
onHandleSelected: V
|
|
10554
10559
|
}, null, 8, [
|
|
10555
10560
|
"id",
|
|
@@ -10564,8 +10569,8 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
10564
10569
|
...R(T)
|
|
10565
10570
|
}
|
|
10566
10571
|
}, {
|
|
10567
|
-
default:
|
|
10568
|
-
x.value &&
|
|
10572
|
+
default: W(() => [
|
|
10573
|
+
x.value && te.value.length > 0 ? (D(), o("ul", Sd, [(D(!0), o(t, null, A(te.value, (e) => (D(), o(t, { key: e.field }, [e.isAvailable ? (D(), o("li", {
|
|
10569
10574
|
key: 0,
|
|
10570
10575
|
"data-active": e.isSelected ? "true" : null
|
|
10571
10576
|
}, [u(mo, {
|
|
@@ -10587,14 +10592,14 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
10587
10592
|
"disable-interactive": !0,
|
|
10588
10593
|
style: { width: "100%" }
|
|
10589
10594
|
}, {
|
|
10590
|
-
label:
|
|
10595
|
+
label: W(() => [u(mo, {
|
|
10591
10596
|
config: { variant: "checkbox" },
|
|
10592
10597
|
id: e.field,
|
|
10593
10598
|
text: e.label,
|
|
10594
10599
|
disabled: !0,
|
|
10595
10600
|
"class-list": ["pv-chart-option pv-flex"]
|
|
10596
10601
|
}, null, 8, ["id", "text"])]),
|
|
10597
|
-
"tooltip-content":
|
|
10602
|
+
"tooltip-content": W(() => [...n[0] ||= [l("No entries in the result set", -1)]]),
|
|
10598
10603
|
_: 2
|
|
10599
10604
|
}, 1024)]))], 64))), 128))])) : a("", !0),
|
|
10600
10605
|
x.value && H.value ? (D(), o("div", Td, [u(Dt, { variant: "dark" })])) : a("", !0),
|
|
@@ -10678,7 +10683,7 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
10678
10683
|
"handle-settings-icon"
|
|
10679
10684
|
],
|
|
10680
10685
|
setup(e, { emit: n }) {
|
|
10681
|
-
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: I, filterDisplayName: z, isInFilterPanel: B, suggestedValues: V, displayedFilterValues: H, selectedFilterValues:
|
|
10686
|
+
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: I, filterDisplayName: z, isInFilterPanel: B, suggestedValues: V, displayedFilterValues: H, selectedFilterValues: ee, showSearchBar: te, filterSearchPlaceholder: ne, emptyFilterResultsRenderer: re, filterOptionsRenderer: U, filterHeaderRenderer: G, filterFooterRenderer: ie, filterOptionsSortDescription: K, filterOptionsSortTooltip: ae, filterValueContext: q, formatDisplayValue: oe, resolvedFilterValueContext: J, isUnresolvedMetadataValue: se, getLatestFilterValues: ce, addSelectedValue: le, removeSelectedValue: Y, recordBulkAction: ue, rumLocation: X, handleDropdownOpen: de, handleDropdownClosed: Z, handleSeeMore: fe, getColDisplayNameForField: pe, hasMoreOptions: me, totalOptionCount: he, isAggregate: ge, cascadeSelectionState: _e, cascadeSelectionStateModel: ve } = bd({
|
|
10682
10687
|
filterColDef: L(d, "filterColDef"),
|
|
10683
10688
|
filterStyle: L(d, "filterStyle"),
|
|
10684
10689
|
onSelectionChanged: () => f("filter-selection-changed"),
|
|
@@ -10767,8 +10772,8 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
10767
10772
|
"disabled",
|
|
10768
10773
|
"onHandleClose"
|
|
10769
10774
|
])]))], 64))), 128))])) : a("", !0), u(R(Dc), {
|
|
10770
|
-
modelValue: R(
|
|
10771
|
-
"onUpdate:modelValue": r[1] ||= (e) => h(
|
|
10775
|
+
modelValue: R(ee),
|
|
10776
|
+
"onUpdate:modelValue": r[1] ||= (e) => h(ee) ? ee.value = e : null,
|
|
10772
10777
|
disabled: !R(B) && e.readOnly && e.disableUnselected && !Ie.value,
|
|
10773
10778
|
searchInput: R(E),
|
|
10774
10779
|
"onUpdate:searchInput": r[2] ||= (e) => h(E) ? E.value = e : null,
|
|
@@ -10782,11 +10787,11 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
10782
10787
|
variant: R(B) ? "ghost" : "secondary",
|
|
10783
10788
|
counterPosition: !R(B) && Ie.value ? void 0 : "none",
|
|
10784
10789
|
menuActionsVariant: e.readOnly ? null : "select-clear",
|
|
10785
|
-
disableSearchInput: e.readOnly || !R(
|
|
10786
|
-
searchPlaceholder: R(
|
|
10790
|
+
disableSearchInput: e.readOnly || !R(te),
|
|
10791
|
+
searchPlaceholder: R(ne),
|
|
10787
10792
|
overlayTrigger: R(B),
|
|
10788
10793
|
options: R(H),
|
|
10789
|
-
optionsRenderer: R(
|
|
10794
|
+
optionsRenderer: R(U),
|
|
10790
10795
|
optionsAction: Ee.value,
|
|
10791
10796
|
popoverCssProperties: {
|
|
10792
10797
|
maxHeight: "400px",
|
|
@@ -10817,21 +10822,21 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
10817
10822
|
onSelectAll: r[4] ||= (e) => R(ue)("select_all", e),
|
|
10818
10823
|
onClearAll: r[5] ||= (e) => R(ue)("clear_all", e)
|
|
10819
10824
|
}, c({
|
|
10820
|
-
preferences:
|
|
10825
|
+
preferences: W(() => [s("div", Ad, [r[7] ||= s("p", { class: "pv-text-subdued pv-text-body-xxs" }, "Your Preferences", -1), u(R(Wi), {
|
|
10821
10826
|
variant: "dark",
|
|
10822
10827
|
size: "sm",
|
|
10823
10828
|
"use-teleport": !0
|
|
10824
10829
|
}, {
|
|
10825
|
-
trigger:
|
|
10830
|
+
trigger: W(() => [u(Ln, {
|
|
10826
10831
|
size: "md",
|
|
10827
10832
|
variant: "ghost",
|
|
10828
10833
|
onClick: r[0] ||= (e) => n.$emit("handle-settings-icon", R(z)),
|
|
10829
10834
|
"right-icon": "sliders-horizontal"
|
|
10830
10835
|
})]),
|
|
10831
|
-
content:
|
|
10836
|
+
content: W(() => [...r[6] ||= [l(" Open Preferences ", -1)]]),
|
|
10832
10837
|
_: 1
|
|
10833
10838
|
})])]),
|
|
10834
|
-
suggestions:
|
|
10839
|
+
suggestions: W(() => [s("div", jd, [u(R(Wi), {
|
|
10835
10840
|
variant: "dark",
|
|
10836
10841
|
disableInteractive: !0,
|
|
10837
10842
|
position: "top-left",
|
|
@@ -10839,18 +10844,18 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
10839
10844
|
"use-teleport": !0,
|
|
10840
10845
|
style: { "--max-width": "200px" }
|
|
10841
10846
|
}, c({
|
|
10842
|
-
trigger:
|
|
10847
|
+
trigger: W(() => [s("p", { class: y(["pv-text-subdued pv-text-body-xxs", R(ae) ? "suggested-title-label" : ""]) }, F(R(K)), 3)]),
|
|
10843
10848
|
_: 2
|
|
10844
|
-
}, [R(
|
|
10849
|
+
}, [R(ae) ? {
|
|
10845
10850
|
name: "content",
|
|
10846
|
-
fn:
|
|
10851
|
+
fn: W(() => [l(F(R(ae)), 1)]),
|
|
10847
10852
|
key: "0"
|
|
10848
10853
|
} : void 0]), 1024)])]),
|
|
10849
10854
|
_: 2
|
|
10850
10855
|
}, [
|
|
10851
|
-
R(
|
|
10856
|
+
R(G) || ke.value || R(j) ? {
|
|
10852
10857
|
name: "header",
|
|
10853
|
-
fn:
|
|
10858
|
+
fn: W((t) => [
|
|
10854
10859
|
R(j) ? (D(), o("p", kd, " Type " + F(R(O)) + " or more characters to search ", 1)) : a("", !0),
|
|
10855
10860
|
ke.value ? (D(), i(Ed, {
|
|
10856
10861
|
key: 1,
|
|
@@ -10859,18 +10864,18 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
10859
10864
|
class: "pv-stack-8",
|
|
10860
10865
|
"filter-col-def": e.filterColDef
|
|
10861
10866
|
}, null, 8, ["filter-col-def"])) : a("", !0),
|
|
10862
|
-
R(
|
|
10867
|
+
R(G) ? (D(), i(N(R(G)), b(_({ key: 2 }, t)), null, 16)) : a("", !0)
|
|
10863
10868
|
]),
|
|
10864
10869
|
key: "0"
|
|
10865
10870
|
} : void 0,
|
|
10866
|
-
R(
|
|
10871
|
+
R(re) ? {
|
|
10867
10872
|
name: "no-results",
|
|
10868
|
-
fn:
|
|
10873
|
+
fn: W((e) => [(D(), i(N(R(re)), b(p(e)), null, 16))]),
|
|
10869
10874
|
key: "1"
|
|
10870
10875
|
} : void 0,
|
|
10871
|
-
R(
|
|
10876
|
+
R(ie) ? {
|
|
10872
10877
|
name: "footer",
|
|
10873
|
-
fn:
|
|
10878
|
+
fn: W((e) => [(D(), i(N(R(ie)), b(p(e)), null, 16))]),
|
|
10874
10879
|
key: "2"
|
|
10875
10880
|
} : void 0
|
|
10876
10881
|
]), 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("."))]), R(B) && !e.readOnly ? (D(), o("div", Md, [R(V).length > 0 ? (D(), o("div", Nd, [s("ul", Pd, [u(R(Wi), {
|
|
@@ -10881,11 +10886,11 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
10881
10886
|
"use-teleport": !0,
|
|
10882
10887
|
style: { "--max-width": "200px" }
|
|
10883
10888
|
}, c({
|
|
10884
|
-
trigger:
|
|
10889
|
+
trigger: W(() => [s("li", Fd, [s("p", { class: y(["pv-text-subdued pv-text-body-md", R(ae) ? "suggested-title-label" : ""]) }, " Suggested: ", 2)])]),
|
|
10885
10890
|
_: 2
|
|
10886
|
-
}, [R(
|
|
10891
|
+
}, [R(ae) ? {
|
|
10887
10892
|
name: "content",
|
|
10888
|
-
fn:
|
|
10893
|
+
fn: W(() => [l(F(R(ae)), 1)]),
|
|
10889
10894
|
key: "0"
|
|
10890
10895
|
} : void 0]), 1024), (D(!0), o(t, null, A(R(V).filter((e) => e !== "" && e != null).slice(0, Id), (e) => (D(), o("li", {
|
|
10891
10896
|
key: `${R(z)}-${e}-suggest`,
|
|
@@ -10897,7 +10902,7 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
10897
10902
|
}, [u(R(lc), {
|
|
10898
10903
|
disabled: R(w),
|
|
10899
10904
|
label: R(oe)(e) || "",
|
|
10900
|
-
onHandleClick: (t) => R(le)(e, R(
|
|
10905
|
+
onHandleClick: (t) => R(le)(e, R(q)(R(I), e)?.colField)
|
|
10901
10906
|
}, null, 8, [
|
|
10902
10907
|
"disabled",
|
|
10903
10908
|
"label",
|
|
@@ -10974,7 +10979,7 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
10974
10979
|
return;
|
|
10975
10980
|
}
|
|
10976
10981
|
n.filterType === "join" && Array.isArray(n.conditions) && n.conditions.forEach((e) => H(e, t));
|
|
10977
|
-
},
|
|
10982
|
+
}, ee = r(() => {
|
|
10978
10983
|
let e = _.value;
|
|
10979
10984
|
if (f.value && n.value) {
|
|
10980
10985
|
let t = /* @__PURE__ */ new Set();
|
|
@@ -10982,11 +10987,11 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
10982
10987
|
}
|
|
10983
10988
|
let t = _.value || {};
|
|
10984
10989
|
return Object.keys(t).length;
|
|
10985
|
-
}),
|
|
10986
|
-
|
|
10987
|
-
},
|
|
10990
|
+
}), te = k(!1), ne = () => {
|
|
10991
|
+
te.value = !0;
|
|
10992
|
+
}, re = () => {
|
|
10988
10993
|
if (n.value) {
|
|
10989
|
-
|
|
10994
|
+
te.value = !1, S(), v(), f.value ? g.value = n.value.getAdvancedFilterModel() : g.value = n.value.getFilterModel(), E.value = !0;
|
|
10990
10995
|
for (let e of z.value) {
|
|
10991
10996
|
let t = e.field;
|
|
10992
10997
|
if (!t) continue;
|
|
@@ -10998,14 +11003,14 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
10998
11003
|
});
|
|
10999
11004
|
}
|
|
11000
11005
|
}
|
|
11001
|
-
}, { clearAllFocuses:
|
|
11002
|
-
n.value && (S(), g.value = null, f.value ? n.value.setAdvancedFilterModel(null) : (n.value.setFilterModel(null), n.value.onFilterChanged()), h.value += 1,
|
|
11003
|
-
}, re = () => {
|
|
11004
|
-
E.value = !1, j.value = "";
|
|
11005
|
-
}, q = () => {
|
|
11006
|
-
b(), S(), g.value = null, re();
|
|
11006
|
+
}, { clearAllFocuses: U } = _u(), G = () => {
|
|
11007
|
+
n.value && (S(), g.value = null, f.value ? n.value.setAdvancedFilterModel(null) : (n.value.setFilterModel(null), n.value.onFilterChanged()), h.value += 1, U(), O.value = !1);
|
|
11007
11008
|
}, ie = () => {
|
|
11008
|
-
|
|
11009
|
+
E.value = !1, j.value = "";
|
|
11010
|
+
}, K = () => {
|
|
11011
|
+
b(), S(), g.value = null, ie();
|
|
11012
|
+
}, ae = () => {
|
|
11013
|
+
b(), te.value && n.value && (x(), f.value ? n.value.setAdvancedFilterModel(g.value) : (n.value.setFilterModel(g.value), n.value.onFilterChanged())), g.value = null, ie();
|
|
11009
11014
|
};
|
|
11010
11015
|
return (e, r) => (D(), o(t, null, [s("div", Rd, [
|
|
11011
11016
|
(D(!0), o(t, null, A(V.value, (s) => (D(), o(t, { key: s.field }, [R(n) ? (D(), i(Ld, {
|
|
@@ -11028,12 +11033,12 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
11028
11033
|
s("div", zd, [p.enableVerticalPanel ? (D(), i(R(Ln), {
|
|
11029
11034
|
key: 0,
|
|
11030
11035
|
label: "All Filters",
|
|
11031
|
-
onClick:
|
|
11036
|
+
onClick: re,
|
|
11032
11037
|
variant: "ghost",
|
|
11033
11038
|
"left-icon": "filter",
|
|
11034
11039
|
"data-dd-action-name": "Open All Filters drawer",
|
|
11035
|
-
"right-counter-badge": p.readOnly &&
|
|
11036
|
-
}, null, 8, ["right-counter-badge"])) : a("", !0),
|
|
11040
|
+
"right-counter-badge": p.readOnly && ee.value > 0 ? ee.value : void 0
|
|
11041
|
+
}, null, 8, ["right-counter-badge"])) : a("", !0), ee.value > 0 && !p.readOnly ? (D(), o("button", {
|
|
11037
11042
|
key: 1,
|
|
11038
11043
|
class: "pv-button-ghost",
|
|
11039
11044
|
"data-dd-action-name": "Clear all page filters",
|
|
@@ -11041,9 +11046,9 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
11041
11046
|
}, [
|
|
11042
11047
|
u(R(Nn), { name: "close" }),
|
|
11043
11048
|
r[13] ||= l(" Clear All Filters ", -1),
|
|
11044
|
-
|
|
11049
|
+
ee.value > 0 ? (D(), i(R(Pn), {
|
|
11045
11050
|
key: 0,
|
|
11046
|
-
value:
|
|
11051
|
+
value: ee.value,
|
|
11047
11052
|
variant: "tertiary"
|
|
11048
11053
|
}, null, 8, ["value"])) : a("", !0)
|
|
11049
11054
|
])) : a("", !0)]),
|
|
@@ -11053,48 +11058,48 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
11053
11058
|
"onUpdate:modelValue": r[9] ||= (e) => E.value = e,
|
|
11054
11059
|
class: "pv-drawer pv-surface",
|
|
11055
11060
|
"close-on-click-outside": !0,
|
|
11056
|
-
onClickOutside: r[10] ||= (e) =>
|
|
11061
|
+
onClickOutside: r[10] ||= (e) => ae(),
|
|
11057
11062
|
style: {
|
|
11058
11063
|
"max-width": "450px",
|
|
11059
11064
|
"z-index": "10"
|
|
11060
11065
|
}
|
|
11061
11066
|
}, {
|
|
11062
|
-
header:
|
|
11067
|
+
header: W(() => [s("div", Bd, [s("p", Vd, "All Filters (" + F(z.value.length) + ")", 1), s("button", {
|
|
11063
11068
|
class: "pv-button-ghost",
|
|
11064
11069
|
"aria-label": "Close",
|
|
11065
|
-
onClick: r[2] ||= (e) =>
|
|
11070
|
+
onClick: r[2] ||= (e) => K()
|
|
11066
11071
|
}, [u(R(Nn), { name: "close" })])]), u(R(fa), {
|
|
11067
11072
|
modelValue: j.value,
|
|
11068
11073
|
"onUpdate:modelValue": r[3] ||= (e) => j.value = e,
|
|
11069
11074
|
placeholder: "Search Filters"
|
|
11070
11075
|
}, null, 8, ["modelValue"])]),
|
|
11071
|
-
footer:
|
|
11076
|
+
footer: W(() => [s("div", qd, [p.readOnly ? (D(), i(R(Ln), {
|
|
11072
11077
|
key: 1,
|
|
11073
11078
|
variant: "ghost",
|
|
11074
11079
|
label: "Close",
|
|
11075
|
-
onClick: r[8] ||= (e) =>
|
|
11080
|
+
onClick: r[8] ||= (e) => K()
|
|
11076
11081
|
})) : (D(), o(t, { key: 0 }, [s("button", {
|
|
11077
11082
|
class: "pv-button-ghost",
|
|
11078
11083
|
"data-dd-action-name": "Clear all page filters",
|
|
11079
|
-
onClick: r[5] ||= (e) =>
|
|
11084
|
+
onClick: r[5] ||= (e) => G()
|
|
11080
11085
|
}, " Clear All "), s("div", Jd, [u(R(Ln), {
|
|
11081
11086
|
variant: "ghost",
|
|
11082
11087
|
label: "Cancel",
|
|
11083
11088
|
"data-dd-action-name": "Cancel filter changes",
|
|
11084
|
-
onClick: r[6] ||= (e) =>
|
|
11085
|
-
}),
|
|
11089
|
+
onClick: r[6] ||= (e) => K()
|
|
11090
|
+
}), te.value ? (D(), i(R(Ln), {
|
|
11086
11091
|
key: 0,
|
|
11087
11092
|
variant: "primary",
|
|
11088
11093
|
label: "Apply",
|
|
11089
11094
|
"data-dd-action-name": "Apply filters",
|
|
11090
|
-
onClick: r[7] ||= (e) =>
|
|
11095
|
+
onClick: r[7] ||= (e) => ae()
|
|
11091
11096
|
})) : (D(), i(R(Ln), {
|
|
11092
11097
|
key: 1,
|
|
11093
11098
|
variant: "primary",
|
|
11094
11099
|
label: "No Changes",
|
|
11095
11100
|
disabled: ""
|
|
11096
11101
|
}))])], 64))])]),
|
|
11097
|
-
default:
|
|
11102
|
+
default: W(() => [s("div", Hd, [s("div", Ud, [(D(!0), o(t, null, A(B.value, (t, c) => (D(), o("div", {
|
|
11098
11103
|
key: t.field,
|
|
11099
11104
|
class: y([{ "pv-border-bottom": c < B.value.length - 1 }, "pv-stack-12"])
|
|
11100
11105
|
}, [s("details", {
|
|
@@ -11113,7 +11118,7 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
11113
11118
|
"focus-text": p.focusText,
|
|
11114
11119
|
"read-only": p.readOnly,
|
|
11115
11120
|
"disable-unselected": p.disableUnselectedFilters,
|
|
11116
|
-
onFilterSelectionChanged:
|
|
11121
|
+
onFilterSelectionChanged: ne,
|
|
11117
11122
|
onHandleSettingsIcon: r[4] ||= (t) => e.$emit("handle-settings-icon", t)
|
|
11118
11123
|
}, null, 8, [
|
|
11119
11124
|
"enable-focus-view",
|
|
@@ -11131,8 +11136,8 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
11131
11136
|
header: "Clear All Filters",
|
|
11132
11137
|
style: { top: "50%" }
|
|
11133
11138
|
}, {
|
|
11134
|
-
body:
|
|
11135
|
-
footer:
|
|
11139
|
+
body: W(() => [...r[14] ||= [s("p", { class: "pv-text-body-lg" }, "This action will remove all currently applied filters. Would you like to continue?", -1)]]),
|
|
11140
|
+
footer: W(() => [s("div", Yd, [u(R(Ln), {
|
|
11136
11141
|
label: "Cancel",
|
|
11137
11142
|
variant: "secondary",
|
|
11138
11143
|
size: "lg",
|
|
@@ -11143,7 +11148,7 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
11143
11148
|
variant: "primary",
|
|
11144
11149
|
size: "lg",
|
|
11145
11150
|
"data-dd-action-name": "Confirm clear all filters",
|
|
11146
|
-
onClick:
|
|
11151
|
+
onClick: G
|
|
11147
11152
|
})])]),
|
|
11148
11153
|
_: 1
|
|
11149
11154
|
}, 8, ["modelValue"])], 64));
|
|
@@ -11185,7 +11190,7 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
11185
11190
|
}, L = () => {
|
|
11186
11191
|
f.value && l.params.progressSort(!1);
|
|
11187
11192
|
};
|
|
11188
|
-
|
|
11193
|
+
U(E, (e) => {
|
|
11189
11194
|
if (!e) return;
|
|
11190
11195
|
let t = l.params.column.getAggFunc();
|
|
11191
11196
|
if (e.id === t) return;
|
|
@@ -11226,7 +11231,7 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
11226
11231
|
size: "lg",
|
|
11227
11232
|
label: p.value || "",
|
|
11228
11233
|
staticLabel: !0,
|
|
11229
|
-
onClick: t[1] ||=
|
|
11234
|
+
onClick: t[1] ||= K(() => {}, ["stop"])
|
|
11230
11235
|
}, null, 8, [
|
|
11231
11236
|
"modelValue",
|
|
11232
11237
|
"options",
|
|
@@ -11246,7 +11251,7 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
11246
11251
|
variant: "ghost",
|
|
11247
11252
|
"left-icon": "menu",
|
|
11248
11253
|
ariaLabel: "Column menu",
|
|
11249
|
-
onClick:
|
|
11254
|
+
onClick: K(P, ["stop", "prevent"])
|
|
11250
11255
|
})], 4)])) : a("", !0)], 4));
|
|
11251
11256
|
}
|
|
11252
11257
|
}), [["__scopeId", "data-v-b7d1513c"]]), ef = {
|
|
@@ -11316,7 +11321,7 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
11316
11321
|
class: "pv-icon-24"
|
|
11317
11322
|
}, [s("title", null, "ellipsis"), s("use", { "xlink:href": "#ellipsis" })])], -1), s("div", of, [s("button", {
|
|
11318
11323
|
class: "pv-button pv-text-body-sm pv-inset-square-8",
|
|
11319
|
-
onClick:
|
|
11324
|
+
onClick: K(i, ["prevent"]),
|
|
11320
11325
|
disabled: r.value
|
|
11321
11326
|
}, [r.value ? (D(), o(t, { key: 0 }, [l("Exporting...")], 64)) : (D(), o(t, { key: 1 }, [l("Download CSV")], 64))], 8, sf)])]));
|
|
11322
11327
|
}
|
|
@@ -11751,11 +11756,11 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
11751
11756
|
return Array.from(new Set([
|
|
11752
11757
|
...t,
|
|
11753
11758
|
...n?.queryColIds || [],
|
|
11754
|
-
...t.flatMap((e) =>
|
|
11759
|
+
...t.flatMap((e) => K.find((t) => t.field === e || t.colId === e)?.context?.queryColIds || [])
|
|
11755
11760
|
]));
|
|
11756
11761
|
}, I = (e, t) => {
|
|
11757
11762
|
if (Wu(e, t)) return !0;
|
|
11758
|
-
let n =
|
|
11763
|
+
let n = K.find((e) => cs(e) === t);
|
|
11759
11764
|
return !!n && N(n).some((t) => Wu(e, t));
|
|
11760
11765
|
}, L = "serverSideRowHandler" in f && f.serverSideRowHandler ? { getRows: (e) => {
|
|
11761
11766
|
if (!Y.value) {
|
|
@@ -11826,7 +11831,7 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
11826
11831
|
} : e.request.filterModel = s;
|
|
11827
11832
|
} else {
|
|
11828
11833
|
let t = e.request.filterModel;
|
|
11829
|
-
e.request.filterModel = Gu(
|
|
11834
|
+
e.request.filterModel = Gu(K, t, s);
|
|
11830
11835
|
}
|
|
11831
11836
|
e.success = (e) => {
|
|
11832
11837
|
if (ce.value = !1, f.enableFocusView && dt.value.length > 0 && ut.value && e.rowData) {
|
|
@@ -11842,7 +11847,7 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
11842
11847
|
}, f.serverSideRowHandler?.(e);
|
|
11843
11848
|
} } : null, z = "filterValuesSetHandler" in f && f.filterValuesSetHandler ? async (e) => {
|
|
11844
11849
|
let t = [], n = { ...et.value };
|
|
11845
|
-
t = !se.value &&
|
|
11850
|
+
t = !se.value && q ? sd(n, e.colDef.field ?? e.colDef.colId ?? "") || [] : await at(e.colDef, {
|
|
11846
11851
|
api: e.api,
|
|
11847
11852
|
filterModel: n,
|
|
11848
11853
|
useStaged: !1
|
|
@@ -11880,11 +11885,11 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
11880
11885
|
}
|
|
11881
11886
|
};
|
|
11882
11887
|
return f.defaultColDefOverrides && Object.assign(e, f.defaultColDefOverrides), e;
|
|
11883
|
-
})(), H = k(void 0),
|
|
11888
|
+
})(), H = k(void 0), ee = r(() => (e) => {
|
|
11884
11889
|
if (f.getContextMenuItems) return f.getContextMenuItems(e);
|
|
11885
11890
|
let t = [];
|
|
11886
11891
|
return t.push("copy"), f.suppressCutToClipboard || t.push("cut"), f.suppressClipboardPaste || t.push("paste"), t;
|
|
11887
|
-
}),
|
|
11892
|
+
}), te = {
|
|
11888
11893
|
name: "Column Filter",
|
|
11889
11894
|
icon: "<span class=\"ag-icon ag-icon-filter\"></span>",
|
|
11890
11895
|
action: function(e) {
|
|
@@ -11896,7 +11901,7 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
11896
11901
|
}));
|
|
11897
11902
|
}
|
|
11898
11903
|
}
|
|
11899
|
-
},
|
|
11904
|
+
}, ne = (e) => !e.node?.group && e.data != null && e.value != null && e.value !== "", ie = (e, t) => {
|
|
11900
11905
|
if (!e) return null;
|
|
11901
11906
|
let n = { ...e }, r = t, i = ss(e);
|
|
11902
11907
|
if (r.devOnly) if (f.devMode) n.hide = !0;
|
|
@@ -11907,22 +11912,22 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
11907
11912
|
}
|
|
11908
11913
|
if (r.isCellClickable && (n.cellClassRules = {
|
|
11909
11914
|
...n.cellClassRules,
|
|
11910
|
-
"pv-data-table-cell-clickable":
|
|
11911
|
-
}, !n.tooltipField && !n.tooltipValueGetter && (n.tooltipValueGetter = (e) =>
|
|
11915
|
+
"pv-data-table-cell-clickable": ne
|
|
11916
|
+
}, !n.tooltipField && !n.tooltipValueGetter && (n.tooltipValueGetter = (e) => ne(e) ? "Click to view details" : void 0)), f.enableAdvancedFilter) {
|
|
11912
11917
|
let t = e.headerValueGetter;
|
|
11913
11918
|
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 || "";
|
|
11914
11919
|
}
|
|
11915
11920
|
return r.isArrayField && !e.valueFormatter ? n.valueFormatter = (e) => Pt(e, r.dataType) : r.dataType === Xo.Percent && !e.valueFormatter ? n.valueFormatter = (e) => Mt(e, r.valueDecimals || 0) : r.dataType === Xo.Currency && !e.valueFormatter ? n.valueFormatter = (e) => jt(e, r.valueDecimals || 0) : r.dataType === Xo.Integer && !e.valueFormatter ? n.valueFormatter = Nt : r.dataType === Xo.Tag && !e.cellRenderer && (n.cellRenderer = ff), n;
|
|
11916
|
-
},
|
|
11921
|
+
}, K = f.colDefs?.map((e) => {
|
|
11917
11922
|
let t = { ...e };
|
|
11918
11923
|
L && z && Ku(e) && (t = qu(e, z));
|
|
11919
11924
|
let n = e.context;
|
|
11920
|
-
return n && (t =
|
|
11921
|
-
}).filter((e) => e != null) || [],
|
|
11922
|
-
for (let e of
|
|
11923
|
-
let
|
|
11925
|
+
return n && (t = ie(t, n)), t;
|
|
11926
|
+
}).filter((e) => e != null) || [], ae = new Set(f.colDefs?.map((e) => e.field || e.colId).filter(Boolean) || []);
|
|
11927
|
+
for (let e of K) for (let t of ss(e)) ae.has(t) || console.warn(`aggregate field hierarchy references "${t}" on column "${e.field || e.colId}", but no colDef with that field exists.`);
|
|
11928
|
+
let q = zu(f.initialGridState, K, f.enableAdvancedFilter), oe = k(null), J = k([]), se = m(Rl, k(!1)), ce = k(!1), le = r(() => {
|
|
11924
11929
|
if (J.value.length > 0) {
|
|
11925
|
-
let e = J.value[0], t =
|
|
11930
|
+
let e = J.value[0], t = K.find((t) => t.field === e), n = et.value, r = !n;
|
|
11926
11931
|
if (!r && pd(n) && (r = !n[e]), r && t?.context?.filterRequiredToGroup) return t.headerName;
|
|
11927
11932
|
}
|
|
11928
11933
|
return null;
|
|
@@ -11943,7 +11948,7 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
11943
11948
|
}) ?? e(t.field) : e(t.field);
|
|
11944
11949
|
});
|
|
11945
11950
|
}
|
|
11946
|
-
ct.value = f.tableSearchHandler, nt.value = f.initialFilterValueMap || {}, rt.value = Object.fromEntries(Object.entries(f.initialFilterValueMap || {}).map(([e, t]) => [e, t.filter((e) => e != null).map((e) => e.value)])), it.value = f.initialFilterValueSelectedMetadataMap || {}, Se.refreshFiltersInBackground.value = f.refreshFiltersInBackground ?? !1, Se.stageFilterChangesUntilDropdownCloses.value = f.stageFilterChangesUntilDropdownCloses ?? !1, Se.filterSearchMinLength.value = f.filterSearchMinLength, Se.filterModelType.value = f.enableAdvancedFilter ? "advanced" : "regular",
|
|
11951
|
+
ct.value = f.tableSearchHandler, nt.value = f.initialFilterValueMap || {}, rt.value = Object.fromEntries(Object.entries(f.initialFilterValueMap || {}).map(([e, t]) => [e, t.filter((e) => e != null).map((e) => e.value)])), it.value = f.initialFilterValueSelectedMetadataMap || {}, Se.refreshFiltersInBackground.value = f.refreshFiltersInBackground ?? !1, Se.stageFilterChangesUntilDropdownCloses.value = f.stageFilterChangesUntilDropdownCloses ?? !1, Se.filterSearchMinLength.value = f.filterSearchMinLength, Se.filterModelType.value = f.enableAdvancedFilter ? "advanced" : "regular", U(() => f.enableAdvancedFilter, (e) => {
|
|
11947
11952
|
Se.filterModelType.value = e ? "advanced" : "regular";
|
|
11948
11953
|
}), de([nt, it], () => {
|
|
11949
11954
|
A("filter-metadata-changed", {
|
|
@@ -11954,27 +11959,27 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
11954
11959
|
deep: !0,
|
|
11955
11960
|
debounce: 250
|
|
11956
11961
|
});
|
|
11957
|
-
let lt = k(null), ut = r(() => Fe?.computedFocusType.value || null), dt = r(() => Fe?.computedFocuses.value || []), ft = r(() =>
|
|
11962
|
+
let lt = k(null), ut = r(() => Fe?.computedFocusType.value || null), dt = r(() => Fe?.computedFocuses.value || []), ft = r(() => K.filter((e) => e.filter)), pt = r(() => K.filter((e) => e.enableRowGroup)), mt = r(() => K.filter((e) => e.aggFunc)), ht = k(null), gt = k({}), _t = k(1), vt = k(0);
|
|
11958
11963
|
O(Dl, Se), O(Ol, Fe), O(kl, Z), O(Al, X), O(jl, lt), O(Ml, oe), O(Nl, ft), O(Pl, pt), O(Fl, J), O(Il, ht), O(Ll, gt), O(Rl, se), O(zl, ce), O(Bl, _t), O(Vl, vt), O(Ql, r(() => f.enableAdvancedFilter));
|
|
11959
11964
|
let yt = r(() => !f.enableFocusView && !f.rowData || f.enableFocusView && !dt.value.length && !ut.value ? f.rowData : ts(f.rowData, ut.value, dt.value));
|
|
11960
|
-
|
|
11965
|
+
U(() => dt.value, (e) => {
|
|
11961
11966
|
A("focus-update", {
|
|
11962
11967
|
filterField: ut.value,
|
|
11963
11968
|
focuses: e
|
|
11964
11969
|
});
|
|
11965
|
-
}),
|
|
11970
|
+
}), U(M, (e) => {
|
|
11966
11971
|
if (!X.value) return;
|
|
11967
|
-
let t =
|
|
11972
|
+
let t = K.filter((e) => e.context?.devOnly).map((e) => e.field).filter(Boolean);
|
|
11968
11973
|
t.length > 0 && X.value.setColumnsVisible(t, e);
|
|
11969
11974
|
});
|
|
11970
11975
|
let bt = (e) => {
|
|
11971
11976
|
X.value = e.api;
|
|
11972
|
-
let t = J.value.find((e) => !
|
|
11977
|
+
let t = J.value.find((e) => !K.find((t) => t.field === e)?.hide), n = !t && J.value.length > 0 ? K.find((e) => !e.hide && !e.rowGroup)?.field ?? null : null, r = f.leftPinnedColumnName ?? t ?? n, i = [];
|
|
11973
11978
|
if (f.hideAllRowGroupedColumns && J.value.forEach((e) => i.push(e)), r) {
|
|
11974
11979
|
let t = e.api.getColumn(r);
|
|
11975
11980
|
ht.value = t, i.push(r), qt(t?.getColDef());
|
|
11976
11981
|
}
|
|
11977
|
-
|
|
11982
|
+
q ? Zt(q) : et.value && kt(et.value), tt.value && At(tt.value), e.api.setColumnsVisible([...i], !1), lt.value = e.api.getAllGridColumns(), _t.value = e.api.paginationGetCurrentPage() + 1, vt.value = e.api.paginationGetTotalPages(), A("grid-ready", e);
|
|
11978
11983
|
}, xt = (e) => {
|
|
11979
11984
|
if (X.value) {
|
|
11980
11985
|
let t = Ot();
|
|
@@ -11995,7 +12000,7 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
11995
12000
|
X.value.refreshServerSide(t);
|
|
11996
12001
|
};
|
|
11997
12002
|
function Et(e) {
|
|
11998
|
-
return e?.hydrate ? Se.hydrateSelectedFilterMetadata(
|
|
12003
|
+
return e?.hydrate ? Se.hydrateSelectedFilterMetadata(K) : it.value;
|
|
11999
12004
|
}
|
|
12000
12005
|
let Dt = async () => {
|
|
12001
12006
|
if (wt.value = !0, !X.value) return console.error("Grid API not available"), wt.value = !1, null;
|
|
@@ -12090,7 +12095,7 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
12090
12095
|
v(() => {
|
|
12091
12096
|
let t = ht.value, n = e.api.getRowGroupColumns(), r = n.length > 0, i;
|
|
12092
12097
|
if (r && f.leftPinnedColumnName && (i = e.api.getColumn(f.leftPinnedColumnName || "")), r && !f.leftPinnedColumnName && (i = n.find((e) => !e.getColDef().hide), !i)) {
|
|
12093
|
-
let t =
|
|
12098
|
+
let t = K.find((e) => !e.hide && !e.rowGroup)?.field;
|
|
12094
12099
|
t && (i = e.api.getColumn(t));
|
|
12095
12100
|
}
|
|
12096
12101
|
i ? (ht.value = i, qt(i.getColDef()), e.api.setColumnsVisible([i.getColId()], !1)) : (ht.value = null, qt(null));
|
|
@@ -12180,8 +12185,8 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
12180
12185
|
"sortUnSort",
|
|
12181
12186
|
"rowUnGroup"
|
|
12182
12187
|
], n = e.column && Ct(e.column) ? ht.value : e.column;
|
|
12183
|
-
return !f.enableInlineFilters && n && n.getColDef().filter && t.splice(2, 0,
|
|
12184
|
-
},
|
|
12188
|
+
return !f.enableInlineFilters && n && n.getColDef().filter && t.splice(2, 0, te), t.filter((t) => typeof t == "string" ? e.defaultItems.includes(t) : !0);
|
|
12189
|
+
}, q && (et.value = (f.enableAdvancedFilter ? q.filter?.advancedFilterModel : q.filter?.filterModel) || null, J.value = q.rowGroup?.groupColIds || []);
|
|
12185
12190
|
});
|
|
12186
12191
|
let Zt = (e) => {
|
|
12187
12192
|
let t = X.value;
|
|
@@ -12189,9 +12194,9 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
12189
12194
|
let n = e.filter?.filterModel || null, r = e.rowGroup?.groupColIds || null, i = e.columnVisibility || null;
|
|
12190
12195
|
n && !nd(n, t.getFilterModel()) && t.setFilterModel(n), f.isTableGrouped && r && !ot(r, J.value) && t.setRowGroupColumns(r), i?.hiddenColIds && t.setColumnsVisible(i.hiddenColIds, !1);
|
|
12191
12196
|
};
|
|
12192
|
-
|
|
12197
|
+
U(() => f.initialGridState, () => {
|
|
12193
12198
|
if (f.initialGridState) {
|
|
12194
|
-
let e = zu(f.initialGridState,
|
|
12199
|
+
let e = zu(f.initialGridState, K, f.enableAdvancedFilter);
|
|
12195
12200
|
e && Zt(e);
|
|
12196
12201
|
}
|
|
12197
12202
|
}, { deep: !0 });
|
|
@@ -12226,16 +12231,16 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
12226
12231
|
"--flex-justify": "flex-end"
|
|
12227
12232
|
}
|
|
12228
12233
|
}, {
|
|
12229
|
-
trigger:
|
|
12234
|
+
trigger: W(() => [u(R(Ln), {
|
|
12230
12235
|
"left-icon": "flask-conical",
|
|
12231
12236
|
ariaLabel: "Toggle dev mode",
|
|
12232
12237
|
variant: M.value ? "primary" : "secondary",
|
|
12233
12238
|
onClick: r[0] ||= (e) => M.value = !M.value
|
|
12234
12239
|
}, null, 8, ["variant"])]),
|
|
12235
|
-
content:
|
|
12240
|
+
content: W(() => [...r[11] ||= [l(" Dev Mode ", -1)]]),
|
|
12236
12241
|
_: 1
|
|
12237
12242
|
})) : a("", !0),
|
|
12238
|
-
|
|
12243
|
+
G(s("div", bf, [s("div", xf, [s("div", Sf, [e.enableTableSearch && e.tableSearchInline ? (D(), o("div", {
|
|
12239
12244
|
key: 0,
|
|
12240
12245
|
style: x(rn.value)
|
|
12241
12246
|
}, [u(gf, b(p(an.value)), null, 16)], 4)) : a("", !0), (D(), i(n, {
|
|
@@ -12268,12 +12273,12 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
12268
12273
|
}, null, 8, ["rowGroupLimit", "enableFocusView"])) : a("", !0), e.enableCsvExport ? (D(), i(cf, {
|
|
12269
12274
|
key: 1,
|
|
12270
12275
|
getCsvData: Dt
|
|
12271
|
-
})) : a("", !0)])])], 512), [[
|
|
12272
|
-
|
|
12276
|
+
})) : a("", !0)])])], 512), [[re, e.enableGroupBySelector || !e.filterTeleportLocation || e.enableTableSearch && e.tableSearchInline]]),
|
|
12277
|
+
G(s("div", {
|
|
12273
12278
|
ref_key: "advancedFilterParentElement",
|
|
12274
12279
|
ref: nn,
|
|
12275
12280
|
class: y(["pv-stack-8 pv-text-body-sm", e.hideTable ? "pv-hide" : ""])
|
|
12276
|
-
}, null, 2), [[
|
|
12281
|
+
}, null, 2), [[re, M.value && e.enableAdvancedFilter]]),
|
|
12277
12282
|
e.enableTableSearch && !e.tableSearchInline || e.enableTopSlot ? (D(), o("div", {
|
|
12278
12283
|
key: 1,
|
|
12279
12284
|
class: y(["pv-stack-8 pv-flex pv-space-between", e.hideTable ? "pv-hide" : ""])
|
|
@@ -12319,17 +12324,17 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
12319
12324
|
onUndoStarted: r[10] ||= (e) => A("undo-started", e),
|
|
12320
12325
|
aggFuncs: Xt,
|
|
12321
12326
|
autoGroupColumnDef: Kt.value,
|
|
12322
|
-
columnDefs: R(
|
|
12327
|
+
columnDefs: R(K),
|
|
12323
12328
|
debug: e.debugMode,
|
|
12324
12329
|
defaultColDef: R(V),
|
|
12325
12330
|
getChildCount: Ht,
|
|
12326
|
-
getContextMenuItems:
|
|
12331
|
+
getContextMenuItems: ee.value,
|
|
12327
12332
|
getMainMenuItems: H.value,
|
|
12328
12333
|
getRowClass: Yt,
|
|
12329
12334
|
getRowStyle: Jt,
|
|
12330
12335
|
groupDefaultExpanded: en.value,
|
|
12331
12336
|
groupDisplayType: "singleColumn",
|
|
12332
|
-
initialState: R(
|
|
12337
|
+
initialState: R(q) || void 0,
|
|
12333
12338
|
isGroupOpenByDefault: R(L) ? void 0 : f.isClientSideGroupOpenByDefault,
|
|
12334
12339
|
isServerSideGroupOpenByDefault: $t,
|
|
12335
12340
|
includeHiddenColumnsInAdvancedFilter: !0,
|
|
@@ -12411,7 +12416,7 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
12411
12416
|
},
|
|
12412
12417
|
useTeleport: !0
|
|
12413
12418
|
}), m = k(!1), h = k(!1), g = k(null);
|
|
12414
|
-
|
|
12419
|
+
U(g, (e) => {
|
|
12415
12420
|
e && (p.value = e);
|
|
12416
12421
|
});
|
|
12417
12422
|
let _ = r(() => (i.tableConfigOptions?.tableOverlayOptions ?? []).map((e) => ({
|
|
@@ -12419,7 +12424,7 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
12419
12424
|
text: e.title,
|
|
12420
12425
|
context: { rightIcon: e.icon }
|
|
12421
12426
|
}))), v = r(() => _.value.length > 0), b = k((i.tableConfigOptions?.tableOverlayOptions ?? []).filter((e) => e.defaultSelected !== !1).map((e) => e.field));
|
|
12422
|
-
|
|
12427
|
+
U(b, (e) => {
|
|
12423
12428
|
c("table-overlay-change", e);
|
|
12424
12429
|
}, { immediate: !0 });
|
|
12425
12430
|
let x = () => {
|
|
@@ -12437,7 +12442,7 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
12437
12442
|
h.value = !0, f.value = document.getElementById("table-config-overlay"), d();
|
|
12438
12443
|
}
|
|
12439
12444
|
};
|
|
12440
|
-
return (n, r) => (D(), o(t, null, [
|
|
12445
|
+
return (n, r) => (D(), o(t, null, [G((D(), o("div", Af, [u(Ea, {
|
|
12441
12446
|
open: m.value,
|
|
12442
12447
|
label: "Table Configuration",
|
|
12443
12448
|
icon: "settings",
|
|
@@ -12451,7 +12456,7 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
12451
12456
|
alignment: "right",
|
|
12452
12457
|
isList: !0
|
|
12453
12458
|
}, {
|
|
12454
|
-
default:
|
|
12459
|
+
default: W(() => [r[1] ||= s("div", { class: "pv-border-bottom" }, [s("p", {
|
|
12455
12460
|
class: "pv-text-title-sm pv-inset-square-8",
|
|
12456
12461
|
style: {
|
|
12457
12462
|
"padding-top": "4px",
|
|
@@ -12489,7 +12494,7 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
12489
12494
|
},
|
|
12490
12495
|
isList: !0
|
|
12491
12496
|
}, {
|
|
12492
|
-
default:
|
|
12497
|
+
default: W(() => [s("ul", Pf, [(D(!0), o(t, null, A(_.value, (e) => (D(), o("li", { key: e.id }, [u(mo, {
|
|
12493
12498
|
id: e.id,
|
|
12494
12499
|
config: {
|
|
12495
12500
|
variant: "checkbox",
|
|
@@ -12516,7 +12521,7 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
12516
12521
|
emits: ["chip-hover"],
|
|
12517
12522
|
setup(e, { emit: n }) {
|
|
12518
12523
|
let r = n;
|
|
12519
|
-
return (n,
|
|
12524
|
+
return (n, i) => (D(), o("div", If, [(D(!0), o(t, null, A(e.sections, (e) => (D(), o("div", {
|
|
12520
12525
|
key: e.groupName,
|
|
12521
12526
|
"data-testid": "chip-section",
|
|
12522
12527
|
"data-group-name": e.groupName,
|
|
@@ -12530,7 +12535,7 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
12530
12535
|
"--radius": "4px",
|
|
12531
12536
|
paddingLeft: e.color ? "12px" : void 0
|
|
12532
12537
|
}
|
|
12533
|
-
}, I(e.loading
|
|
12538
|
+
}, I(e.loading ? {} : {
|
|
12534
12539
|
mouseenter: () => r("chip-hover", e.key),
|
|
12535
12540
|
mouseleave: () => r("chip-hover", null)
|
|
12536
12541
|
}, !0)), [e.loading ? (D(), o(t, { key: 0 }, [u(Oc, {
|
|
@@ -12549,29 +12554,7 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
12549
12554
|
style: x({ backgroundColor: e.color })
|
|
12550
12555
|
}, null, 4)) : a("", !0),
|
|
12551
12556
|
s("span", Bf, F(e.label), 1),
|
|
12552
|
-
s("span", Vf, F(e.formattedValue), 1)
|
|
12553
|
-
e.excludeFromCrossline ? (D(), i(R(Wi), {
|
|
12554
|
-
key: 1,
|
|
12555
|
-
"data-testid": "benchmark-chip-unit-mismatch-tooltip",
|
|
12556
|
-
variant: "dark",
|
|
12557
|
-
position: "top-center",
|
|
12558
|
-
useTeleport: !0,
|
|
12559
|
-
showOnHover: !0,
|
|
12560
|
-
disableInteractive: !0,
|
|
12561
|
-
style: { "pointer-events": "auto" }
|
|
12562
|
-
}, {
|
|
12563
|
-
trigger: G(() => [u(R(Nn), {
|
|
12564
|
-
size: 12,
|
|
12565
|
-
name: "info-circle",
|
|
12566
|
-
class: "pv-text-subdued"
|
|
12567
|
-
})]),
|
|
12568
|
-
content: G(() => [...c[0] ||= [s("div", { style: {
|
|
12569
|
-
"max-width": "220px",
|
|
12570
|
-
"white-space": "normal",
|
|
12571
|
-
"overflow-wrap": "break-word"
|
|
12572
|
-
} }, " Shown in different units than the chart, so no line is drawn for this benchmark. ", -1)]]),
|
|
12573
|
-
_: 1
|
|
12574
|
-
})) : a("", !0)
|
|
12557
|
+
s("span", Vf, F(e.formattedValue), 1)
|
|
12575
12558
|
], 64))], 16, zf))), 128))], 8, Lf))), 128))]));
|
|
12576
12559
|
}
|
|
12577
12560
|
}), Uf = ["id"], Wf = {
|
|
@@ -12616,7 +12599,7 @@ var Au = { style: { "line-height": "20px" } }, ju = { class: "pv-text-subdued pv
|
|
|
12616
12599
|
l,
|
|
12617
12600
|
...n.options.filter((t) => !e.has(t.id))
|
|
12618
12601
|
];
|
|
12619
|
-
}), m =
|
|
12602
|
+
}), m = ee("sortableListRef"), h = ee("containerRef"), g = null, _ = null, v = () => {
|
|
12620
12603
|
if (!m.value) return;
|
|
12621
12604
|
let e = Array.from(m.value.children).map((e) => e.id), t = e.findIndex((e) => e === Qf);
|
|
12622
12605
|
t !== -1 && (e = e.slice(0, t)), e = e.filter((e) => !e.startsWith("placeholder-")), c.value = e.map((e) => n.options.find((t) => t.id === e) || null).filter(Boolean).slice(0, n.activeOptionLimit || Infinity);
|
|
@@ -12870,12 +12853,12 @@ var dp = {
|
|
|
12870
12853
|
disableInteractive: !0,
|
|
12871
12854
|
style: { "pointer-events": "auto" }
|
|
12872
12855
|
}, {
|
|
12873
|
-
trigger:
|
|
12856
|
+
trigger: W(() => [u(R(Nn), {
|
|
12874
12857
|
size: 12,
|
|
12875
12858
|
name: "info-circle",
|
|
12876
12859
|
class: "pv-text-subdued"
|
|
12877
12860
|
})]),
|
|
12878
|
-
content:
|
|
12861
|
+
content: W(() => [s("div", hp, F(e.context.description), 1)]),
|
|
12879
12862
|
_: 1
|
|
12880
12863
|
})) : a("", !0)]));
|
|
12881
12864
|
}
|
|
@@ -12929,24 +12912,24 @@ var dp = {
|
|
|
12929
12912
|
}), b = k(!1), S = k(void 0), C = k(null), w = m(Kl, k(void 0)), T = m(Wl, k([])), E = m(ql, k(void 0)), O = m(Gl, k([])), j = m(Ul, k([])), M = m(Pl, k([])), N = r(() => up(w.value?.id || "")), P = r(() => {
|
|
12930
12913
|
let e = w.value?.id ?? "";
|
|
12931
12914
|
return j.value.length > 1 && !e.endsWith("_stacked");
|
|
12932
|
-
}), I = m(Jl, k("")), L = m(Yl, k([])), z = m(Xl, k(void 0)), B = m(Zl, k([])), V = m($l, k(/* @__PURE__ */ new Set())), H = m(eu, k([])),
|
|
12915
|
+
}), I = m(Jl, k("")), L = m(Yl, k([])), z = m(Xl, k(void 0)), B = m(Zl, k([])), V = m($l, k(/* @__PURE__ */ new Set())), H = m(eu, k([])), ee = r(() => H.value.filter((e) => V.value.has(e.id)).map((e) => ({
|
|
12933
12916
|
id: e.id,
|
|
12934
12917
|
text: e.label,
|
|
12935
12918
|
disabled: e.disabled,
|
|
12936
12919
|
context: e.disabledReason ? { description: e.disabledReason } : void 0
|
|
12937
|
-
}))),
|
|
12920
|
+
}))), te = (e) => {
|
|
12938
12921
|
V.value = new Set(e.map((e) => e.id));
|
|
12939
12922
|
};
|
|
12940
|
-
|
|
12923
|
+
U(P, (e) => {
|
|
12941
12924
|
e && z.value && (z.value = void 0);
|
|
12942
12925
|
}, { immediate: !0 });
|
|
12943
|
-
let
|
|
12926
|
+
let ne = m(Hl, k("")), re = r(() => l.chartFilter && l.chartFilter.options ? l.chartFilter.options.map((e) => ({
|
|
12944
12927
|
label: e.label,
|
|
12945
12928
|
value: e.value
|
|
12946
|
-
})) : []),
|
|
12929
|
+
})) : []), ae = r(() => {
|
|
12947
12930
|
let e = j.value[0];
|
|
12948
12931
|
return e ? gs(M.value.find((t) => t.field === e)) : !1;
|
|
12949
|
-
}),
|
|
12932
|
+
}), q = r(() => {
|
|
12950
12933
|
if (w.value) return (j.value.length > 1 ? [
|
|
12951
12934
|
"bar_stacked",
|
|
12952
12935
|
"line",
|
|
@@ -12959,7 +12942,7 @@ var dp = {
|
|
|
12959
12942
|
"area"
|
|
12960
12943
|
]).includes(w.value?.id);
|
|
12961
12944
|
});
|
|
12962
|
-
|
|
12945
|
+
U(T, (e) => {
|
|
12963
12946
|
if (!w.value) return;
|
|
12964
12947
|
let t = w.value, n = t?.id.endsWith("_stacked"), r = e.find((e) => e.id === t.id);
|
|
12965
12948
|
if (r) {
|
|
@@ -13145,8 +13128,8 @@ var dp = {
|
|
|
13145
13128
|
allowDeselect: !0,
|
|
13146
13129
|
availableOptions: O.value,
|
|
13147
13130
|
currentOption: O.value.find((e) => e.id === E.value?.id),
|
|
13148
|
-
disabled:
|
|
13149
|
-
disabledReason:
|
|
13131
|
+
disabled: ae.value || !q.value,
|
|
13132
|
+
disabledReason: ae.value ? "Dates are always sorted oldest to newest" : "Sorting is not available for this chart type",
|
|
13150
13133
|
updateSelectedOption: (e) => {
|
|
13151
13134
|
let t = O.value.find((t) => t.id === e);
|
|
13152
13135
|
if (!t || !E) {
|
|
@@ -13208,9 +13191,9 @@ var dp = {
|
|
|
13208
13191
|
isMultiSelect: !0,
|
|
13209
13192
|
availableOptions: t,
|
|
13210
13193
|
activeOptionIds: V.value,
|
|
13211
|
-
activeOptions:
|
|
13194
|
+
activeOptions: ee,
|
|
13212
13195
|
currentOption: t.find((e) => V.value.has(e.id)),
|
|
13213
|
-
updateSelectedOptions:
|
|
13196
|
+
updateSelectedOptions: te
|
|
13214
13197
|
};
|
|
13215
13198
|
n && e.push(n);
|
|
13216
13199
|
}
|
|
@@ -13239,7 +13222,7 @@ var dp = {
|
|
|
13239
13222
|
variant: "checkbox",
|
|
13240
13223
|
renderer: gp
|
|
13241
13224
|
} : { variant: "icon" };
|
|
13242
|
-
|
|
13225
|
+
U(C, (e) => {
|
|
13243
13226
|
e && (v.value = e);
|
|
13244
13227
|
});
|
|
13245
13228
|
let Me = (e) => {
|
|
@@ -13265,7 +13248,7 @@ var dp = {
|
|
|
13265
13248
|
}, Re = () => {
|
|
13266
13249
|
S.value = void 0;
|
|
13267
13250
|
};
|
|
13268
|
-
return (n, r) => (D(), o(t, null, [s("div", _p, [s("div", null, [
|
|
13251
|
+
return (n, r) => (D(), o(t, null, [s("div", _p, [s("div", null, [G((D(), o("div", { class: y(["pv-flex pv-space-between", e.useCombinedButton ? "pv-stack-8" : ""]) }, [s("div", vp, [e.useCombinedButton ? (D(), o(t, { key: 0 }, [u(Ea, {
|
|
13269
13252
|
open: b.value,
|
|
13270
13253
|
label: "Chart Configuration",
|
|
13271
13254
|
icon: "chart-area",
|
|
@@ -13282,7 +13265,7 @@ var dp = {
|
|
|
13282
13265
|
zIndex: 5
|
|
13283
13266
|
}
|
|
13284
13267
|
}, {
|
|
13285
|
-
default:
|
|
13268
|
+
default: W(() => [r[7] ||= s("div", { class: "pv-border-bottom pv-stack-8" }, [s("p", {
|
|
13286
13269
|
class: "pv-text-title-sm pv-inset-square-8",
|
|
13287
13270
|
style: {
|
|
13288
13271
|
"padding-top": "4px",
|
|
@@ -13295,13 +13278,13 @@ var dp = {
|
|
|
13295
13278
|
childrenDisplay: "popover",
|
|
13296
13279
|
readOnly: e.readOnly
|
|
13297
13280
|
}, {
|
|
13298
|
-
popover:
|
|
13281
|
+
popover: W(({ popoverId: t, close: n }) => [Oe.value?.isSortableList ? (D(), o("div", {
|
|
13299
13282
|
key: 0,
|
|
13300
13283
|
id: t,
|
|
13301
13284
|
"aria-label": `${Oe.value.label} options`,
|
|
13302
13285
|
class: "pv-chart-config-popover pv-inset-square-8",
|
|
13303
13286
|
role: "dialog",
|
|
13304
|
-
onKeydown:
|
|
13287
|
+
onKeydown: ie(K(n, ["stop"]), ["esc"])
|
|
13305
13288
|
}, [r[6] ||= s("p", {
|
|
13306
13289
|
class: "pv-text-tertiary pv-text-body-sm pv-stack-4",
|
|
13307
13290
|
style: {
|
|
@@ -13332,7 +13315,7 @@ var dp = {
|
|
|
13332
13315
|
readOnly: e.readOnly,
|
|
13333
13316
|
childrenDisplay: "popover",
|
|
13334
13317
|
itemClass: "pv-chart-option pv-flex",
|
|
13335
|
-
onKeydown:
|
|
13318
|
+
onKeydown: ie(K(n, ["stop"]), ["esc"]),
|
|
13336
13319
|
onHandleSelected: r[2] ||= (e) => de(Oe.value, e)
|
|
13337
13320
|
}, null, 8, [
|
|
13338
13321
|
"id",
|
|
@@ -13361,7 +13344,7 @@ var dp = {
|
|
|
13361
13344
|
zIndex: 5
|
|
13362
13345
|
}
|
|
13363
13346
|
}, {
|
|
13364
|
-
default:
|
|
13347
|
+
default: W(() => [r[8] ||= s("div", { class: "pv-border-bottom pv-stack-8" }, [s("p", {
|
|
13365
13348
|
class: "pv-text-title-sm pv-inset-square-8",
|
|
13366
13349
|
style: {
|
|
13367
13350
|
"padding-top": "4px",
|
|
@@ -13381,7 +13364,7 @@ var dp = {
|
|
|
13381
13364
|
style: { width: "100%" },
|
|
13382
13365
|
variant: "white"
|
|
13383
13366
|
}, c({
|
|
13384
|
-
trigger:
|
|
13367
|
+
trigger: W(() => [u(mo, {
|
|
13385
13368
|
config: { variant: "icon" },
|
|
13386
13369
|
disabled: t.disabled || e.readOnly,
|
|
13387
13370
|
id: t.value,
|
|
@@ -13398,7 +13381,7 @@ var dp = {
|
|
|
13398
13381
|
_: 2
|
|
13399
13382
|
}, [t.disabled && t.disabledReason ? {
|
|
13400
13383
|
name: "content",
|
|
13401
|
-
fn:
|
|
13384
|
+
fn: W(() => [s("div", Sp, F(t.disabledReason), 1)]),
|
|
13402
13385
|
key: "0"
|
|
13403
13386
|
} : void 0]), 1024)], 40, xp))), 128))])]),
|
|
13404
13387
|
_: 1
|
|
@@ -13407,9 +13390,9 @@ var dp = {
|
|
|
13407
13390
|
style: x(e.chartFilter ? {} : { justifyContent: "flex-end" })
|
|
13408
13391
|
}, [e.chartFilter ? (D(), i(Gi, {
|
|
13409
13392
|
key: 0,
|
|
13410
|
-
options:
|
|
13411
|
-
modelValue: R(
|
|
13412
|
-
"onUpdate:modelValue": r[4] ||= (e) => h(
|
|
13393
|
+
options: re.value,
|
|
13394
|
+
modelValue: R(ne),
|
|
13395
|
+
"onUpdate:modelValue": r[4] ||= (e) => h(ne) ? ne.value = e : null
|
|
13413
13396
|
}, null, 8, ["options", "modelValue"])) : a("", !0), e.useCombinedButton ? a("", !0) : (D(), o("div", Cp, [(D(!0), o(t, null, A(De.value, (n) => (D(), o(t, { key: n.value }, [n.isMultiSelect && n.activeOptions && n.activeOptionIds ? (D(), i(Dc, {
|
|
13414
13397
|
key: 0,
|
|
13415
13398
|
label: n.label,
|
|
@@ -13464,7 +13447,7 @@ var dp = {
|
|
|
13464
13447
|
...R(p)
|
|
13465
13448
|
}
|
|
13466
13449
|
}, {
|
|
13467
|
-
default:
|
|
13450
|
+
default: W(() => [Oe.value ? (D(), o(t, { key: 0 }, [Oe.value.isSortableList ? (D(), o("div", wp, [r[9] ||= s("p", {
|
|
13468
13451
|
class: "pv-text-tertiary pv-text-body-sm pv-stack-4",
|
|
13469
13452
|
style: {
|
|
13470
13453
|
"padding-left": "2px",
|
|
@@ -13544,10 +13527,9 @@ var Ap = (e, t) => {
|
|
|
13544
13527
|
}, Mp = (e, t) => {
|
|
13545
13528
|
let { categoryPadOffset: n, axisMin: r, axisMax: i } = t;
|
|
13546
13529
|
return (e + n - r) / (i - r);
|
|
13547
|
-
}, Np = (e, t) => e.filter((e) => t.has(e.id)).flatMap((e) => e.overlays.
|
|
13530
|
+
}, Np = (e, t) => e.filter((e) => t.has(e.id)).flatMap((e) => e.overlays.map((t) => ({
|
|
13548
13531
|
...t,
|
|
13549
13532
|
color: t.color ?? e.color,
|
|
13550
|
-
formatValue: t.formatValue ?? e.formatValue,
|
|
13551
13533
|
key: `${e.id}-${t.label}`
|
|
13552
13534
|
}))), Pp = (e, t, n) => {
|
|
13553
13535
|
let r = /* @__PURE__ */ new Map();
|
|
@@ -13560,14 +13542,12 @@ var Ap = (e, t) => {
|
|
|
13560
13542
|
key: e.id,
|
|
13561
13543
|
loading: !0
|
|
13562
13544
|
}) : e.overlays.forEach((r) => {
|
|
13563
|
-
let i = r.formatValue ?? e.formatValue ?? n;
|
|
13564
13545
|
t.chips.push({
|
|
13565
13546
|
key: `${e.id}-${r.label}`,
|
|
13566
13547
|
loading: !1,
|
|
13567
13548
|
label: r.label,
|
|
13568
13549
|
color: r.color ?? e.color,
|
|
13569
|
-
|
|
13570
|
-
formattedValue: i(r.value)
|
|
13550
|
+
formattedValue: n(r.value)
|
|
13571
13551
|
});
|
|
13572
13552
|
}), r.set(e.groupName, t);
|
|
13573
13553
|
}), [...r.values()];
|
|
@@ -13589,7 +13569,7 @@ function Fp(e) {
|
|
|
13589
13569
|
if (t == null) return null;
|
|
13590
13570
|
let r = (s.value?.$el)?.querySelector(".ag-charts-series-area")?.getBoundingClientRect();
|
|
13591
13571
|
if (!r) return null;
|
|
13592
|
-
let l = Mp(t, jp(o.value.length || 1, i.value && n.value)), d =
|
|
13572
|
+
let l = Mp(t, jp(o.value.length || 1, i.value && n.value)), d = c(e.value);
|
|
13593
13573
|
return a.value ? {
|
|
13594
13574
|
label: e.label,
|
|
13595
13575
|
value: d,
|
|
@@ -13876,7 +13856,7 @@ var Ip = { style: {
|
|
|
13876
13856
|
value: t
|
|
13877
13857
|
};
|
|
13878
13858
|
});
|
|
13879
|
-
}),
|
|
13859
|
+
}), ee = r(() => l.enableCombinedChartConfigPanel && l.enableNestedChartConfigPanel ? H.value.reduce((e, t) => e + (t.aggFuncOptions?.length || 1), 0) : H.value.length), te = r(() => {
|
|
13880
13860
|
let e = m.value?.availableAggFuncColumns || [], t = new Set(P.value);
|
|
13881
13861
|
return e.filter((e) => fs(e)).map((e) => {
|
|
13882
13862
|
let n = B(e), r = e.field || "";
|
|
@@ -13893,7 +13873,7 @@ var Ip = { style: {
|
|
|
13893
13873
|
value: ps(r, n, t)
|
|
13894
13874
|
};
|
|
13895
13875
|
});
|
|
13896
|
-
}),
|
|
13876
|
+
}), ne = (e, t) => e.find((e) => e.value === t || e.aggFuncOptions?.some((e) => e.seriesValue === t)), re = r(() => (m.value?.availableAggFuncColumns || []).filter((e) => {
|
|
13897
13877
|
let t = $(e);
|
|
13898
13878
|
return t.chartOnSecondaryAxes === !0 && t.hideFromCharting === !0;
|
|
13899
13879
|
}).map((e) => {
|
|
@@ -13904,25 +13884,25 @@ var Ip = { style: {
|
|
|
13904
13884
|
formatter: n.valueFormatter,
|
|
13905
13885
|
dataType: n.context?.dataType
|
|
13906
13886
|
};
|
|
13907
|
-
})),
|
|
13908
|
-
O(Dl,
|
|
13909
|
-
let
|
|
13887
|
+
})), G = l.filterStore || vd();
|
|
13888
|
+
O(Dl, G);
|
|
13889
|
+
let ie = gu({
|
|
13910
13890
|
focusType: l.initialFocusData?.focusType,
|
|
13911
13891
|
focuses: l.initialFocusData?.focuses || [],
|
|
13912
13892
|
focusRequired: l.focusRequired
|
|
13913
13893
|
}, l.allFieldsAreFocusable);
|
|
13914
|
-
O(Ol,
|
|
13915
|
-
let { setFilterSelectedValues:
|
|
13916
|
-
O(Rl,
|
|
13917
|
-
let
|
|
13894
|
+
O(Ol, ie);
|
|
13895
|
+
let { setFilterSelectedValues: K } = G, ae = k(!1);
|
|
13896
|
+
O(Rl, ae);
|
|
13897
|
+
let q = k(l.isTableGrouped), oe = (e) => {
|
|
13918
13898
|
d("table-overlay-change", e);
|
|
13919
|
-
}, J = r(() => Pt.value ? !1 : !!(l.emptyChartFilterRenderer && l.requireFiltersToShowData &&
|
|
13899
|
+
}, J = r(() => Pt.value ? !1 : !!(l.emptyChartFilterRenderer && l.requireFiltersToShowData && G.filterModelEmpty.value)), se = r(() => ie?.computedFocusType.value || null), ce = r(() => ie?.computedFocuses.value || []), le = (e) => {
|
|
13920
13900
|
z.value = Object.fromEntries(e.getValueColumns().map((e) => [e.getColId(), e.getAggFunc()]).filter((e) => typeof e[1] == "string"));
|
|
13921
13901
|
}, Y = (e) => {
|
|
13922
|
-
p.value = e.api, le(e.api),
|
|
13902
|
+
p.value = e.api, le(e.api), q.value || p.value?.setRowGroupColumns([]), Qe(e.api), d("grid-ready", e);
|
|
13923
13903
|
}, ue = (e) => {
|
|
13924
|
-
let t = te
|
|
13925
|
-
le(e.api), t?.columnField && Ae.value && (Ae.value =
|
|
13904
|
+
let t = ne(te.value, Ae.value);
|
|
13905
|
+
le(e.api), t?.columnField && Ae.value && (Ae.value = te.value.find((e) => e.columnField === t.columnField)?.value), Qe(e.api), d("column-value-changed", e);
|
|
13926
13906
|
}, X = (e) => {
|
|
13927
13907
|
let t = p.value;
|
|
13928
13908
|
!t || t.getColumn(e.columnField)?.getAggFunc() === e.aggFunc || t.applyColumnState({ state: [{
|
|
@@ -13933,7 +13913,7 @@ var Ip = { style: {
|
|
|
13933
13913
|
d("first-data-rendered", e);
|
|
13934
13914
|
}, Z = (e) => {
|
|
13935
13915
|
let t = P.value, n = e.api.getRowGroupColumns().map((e) => e.getColId());
|
|
13936
|
-
if (
|
|
13916
|
+
if (q.value && JSON.stringify(t) !== JSON.stringify(n)) {
|
|
13937
13917
|
let t = we.value;
|
|
13938
13918
|
if (n.length > Te.value) {
|
|
13939
13919
|
let t = n.slice(0, Te.value);
|
|
@@ -13943,10 +13923,10 @@ var Ip = { style: {
|
|
|
13943
13923
|
}
|
|
13944
13924
|
d("column-row-group-changed", e);
|
|
13945
13925
|
}, fe = async (e) => {
|
|
13946
|
-
Qe(e.api),
|
|
13926
|
+
Qe(e.api), ae.value && d("filter-changed", e);
|
|
13947
13927
|
};
|
|
13948
|
-
|
|
13949
|
-
if (
|
|
13928
|
+
U(() => P.value, () => {
|
|
13929
|
+
if (q.value) {
|
|
13950
13930
|
if (!p.value) return;
|
|
13951
13931
|
let e = p.value.getRowGroupColumns().map((e) => e.getColId());
|
|
13952
13932
|
JSON.stringify(e) !== JSON.stringify(P.value) && v(() => {
|
|
@@ -13957,7 +13937,7 @@ var Ip = { style: {
|
|
|
13957
13937
|
});
|
|
13958
13938
|
if (!l.allFieldsAreFocusable) {
|
|
13959
13939
|
let e = we.value.supportsFocusView && I.value || null;
|
|
13960
|
-
|
|
13940
|
+
ie.setFocusType(e);
|
|
13961
13941
|
}
|
|
13962
13942
|
p.value && Qe(p.value);
|
|
13963
13943
|
});
|
|
@@ -14002,8 +13982,8 @@ var Ip = { style: {
|
|
|
14002
13982
|
text: "Descending",
|
|
14003
13983
|
id: "desc",
|
|
14004
13984
|
icon: "arrow-down-narrow-wide"
|
|
14005
|
-
}]), Oe = k([]), Q = k([]), ke = k(l.yKey), Ae = k(
|
|
14006
|
-
O(Al, p), O(Hl, Pe), O(Pl, Ee), O(Ul, P), O(Wl, ye), O(Gl, De), O(Kl, be), O(ql, Ne), O(Jl, ke), O(Yl, H), O(Xl, Ae), O(Zl,
|
|
13985
|
+
}]), Oe = k([]), Q = k([]), ke = k(l.yKey), Ae = k(te.value[0]?.value), je = r(() => l.crosslineOverlayGroups ?? []), Me = k(null), Ne = k(De.value.find((e) => e.id === l.initialSort || "")), Pe = k("");
|
|
13986
|
+
O(Al, p), O(Hl, Pe), O(Pl, Ee), O(Ul, P), O(Wl, ye), O(Gl, De), O(Kl, be), O(ql, Ne), O(Jl, ke), O(Yl, H), O(Xl, Ae), O(Zl, te), O(eu, je), U(ge, (e) => {
|
|
14007
13987
|
e && Ne.value && (Ne.value = void 0);
|
|
14008
13988
|
}, { immediate: !0 });
|
|
14009
13989
|
let Fe = (e) => {
|
|
@@ -14015,17 +13995,17 @@ var Ip = { style: {
|
|
|
14015
13995
|
}, r = ye.value.find((t) => t.id === e);
|
|
14016
13996
|
return r && n(r) ? r.id : ye.value.find(n)?.id ?? ye.value[0]?.id;
|
|
14017
13997
|
};
|
|
14018
|
-
|
|
13998
|
+
U(() => ye.value, () => {
|
|
14019
13999
|
let e = Ke.value, t = e !== Ce, n = up(be.value?.id || ""), r = ye.value.some((e) => e.id === be.value?.id), i = P.value.length > Math.min(n.rowGroupLimit, l.rowGroupLimit);
|
|
14020
14000
|
if (Ce = e, r && !i && (!t || !n.storeBeforeChange)) return;
|
|
14021
14001
|
let a = Ie((e ? Se?.value : xe?.value) ?? l.chartType);
|
|
14022
14002
|
a && Fe(a);
|
|
14023
|
-
}),
|
|
14003
|
+
}), U(() => l.chartType, (e) => Fe(e)), U(() => l.yKey, (e) => {
|
|
14024
14004
|
e !== ke.value && (ke.value = e);
|
|
14025
|
-
}),
|
|
14005
|
+
}), U(Pe, (e) => {
|
|
14026
14006
|
if (l.chartFilter && p.value) {
|
|
14027
14007
|
let t = l.chartFilter.colId, n = l.chartFilter.options.find((t) => t.value === e)?.filterValues || null;
|
|
14028
|
-
n && n.length === 0 && (n = null),
|
|
14008
|
+
n && n.length === 0 && (n = null), K(t, n || []);
|
|
14029
14009
|
let r = Iu({
|
|
14030
14010
|
filterType: "set",
|
|
14031
14011
|
values: n
|
|
@@ -14035,7 +14015,7 @@ var Ip = { style: {
|
|
|
14035
14015
|
});
|
|
14036
14016
|
}
|
|
14037
14017
|
});
|
|
14038
|
-
let Le = (e) => e?.label ?? "", Re = r(() => Le(
|
|
14018
|
+
let Le = (e) => e?.label ?? "", Re = r(() => Le(ne(H.value, ke.value))), ze = r(() => ne(te.value, Ae.value)), Be = r(() => Le(ze.value)), Ve = r(() => we.value.isHorizontal === !0), He = r(() => P.value.length > 1), Ue = r(() => !be.value || H.value.length === 0 ? [] : we.value.seriesFamily === "pie" ? Ye.value : Je.value), We = r(() => be.value?.id === "histogram" && l.useDistributionV2Styling ? !1 : l.showSeriesLabels), Ge = r(() => be.value?.id.includes("stacked")), Ke = r(() => P.value.length > 1), qe = r(() => be.value?.id === "histogram" && nt.value && nt.value.length > 0 && typeof nt.value[0]?.bucketMin == "number" && typeof nt.value[0]?.bucketMax == "number"), Je = r(() => {
|
|
14039
14019
|
let e = Ge.value, t = we.value.agChartType, n = [], r = me(ke.value, !0), i = me(Me.value?.fieldName, !0), a = (e) => t === "line" ? {} : { placement: e };
|
|
14040
14020
|
if (He.value) Me.value?.fieldValues.forEach((o) => {
|
|
14041
14021
|
let s = {
|
|
@@ -14184,19 +14164,19 @@ var Ip = { style: {
|
|
|
14184
14164
|
legendItemKey: I.value,
|
|
14185
14165
|
angleKey: ke.value
|
|
14186
14166
|
}]);
|
|
14187
|
-
|
|
14167
|
+
U(ke, (e, t) => {
|
|
14188
14168
|
d("chart-state-changed", {
|
|
14189
14169
|
api: p.value,
|
|
14190
14170
|
newState: { seriesField: e },
|
|
14191
14171
|
oldState: { seriesField: t }
|
|
14192
14172
|
});
|
|
14193
|
-
}),
|
|
14173
|
+
}), U(Ae, (e, t) => {
|
|
14194
14174
|
d("chart-state-changed", {
|
|
14195
14175
|
api: p.value,
|
|
14196
14176
|
newState: { secondarySeriesField: e },
|
|
14197
14177
|
oldState: { secondarySeriesField: t }
|
|
14198
14178
|
});
|
|
14199
|
-
}),
|
|
14179
|
+
}), U(be, (e, t) => {
|
|
14200
14180
|
e?.id && up(e.id).storeBeforeChange && (Ke.value ? Se.value = e.id : xe.value = e.id);
|
|
14201
14181
|
let n = up(e?.id || ""), r = up(t?.id || ""), i = (n.xAxis.filterColumns === r.xAxis.filterColumns ? P.value : rp(P.value, M.value, n.xAxis.filterColumns)).slice(0, Math.min(n.rowGroupLimit, l.rowGroupLimit));
|
|
14202
14182
|
ot(i, P.value) || (P.value = i), n.yAxis.defaultValue ? ke.value = n.yAxis.defaultValue : r.yAxis.defaultValue && !n.yAxis.defaultValue && v(() => {
|
|
@@ -14206,40 +14186,40 @@ var Ip = { style: {
|
|
|
14206
14186
|
newState: { chartType: e?.id },
|
|
14207
14187
|
oldState: { chartType: t?.id }
|
|
14208
14188
|
});
|
|
14209
|
-
}),
|
|
14189
|
+
}), U(Ee, (e) => {
|
|
14210
14190
|
if (e.length === 1 && P.value.length === 0) {
|
|
14211
14191
|
let t = e[0].field;
|
|
14212
14192
|
t && (P.value = [t]);
|
|
14213
14193
|
}
|
|
14214
|
-
}),
|
|
14194
|
+
}), U(H, (e) => {
|
|
14215
14195
|
e.length === 1 && !ke.value && (ke.value = e[0].value);
|
|
14216
|
-
}),
|
|
14196
|
+
}), U(Ne, (e, t) => {
|
|
14217
14197
|
d("chart-state-changed", {
|
|
14218
14198
|
api: p.value,
|
|
14219
14199
|
newState: { chartSort: e?.id },
|
|
14220
14200
|
oldState: { chartSort: t?.id }
|
|
14221
14201
|
});
|
|
14222
|
-
}),
|
|
14202
|
+
}), U(P, (e, t) => {
|
|
14223
14203
|
d("chart-state-changed", {
|
|
14224
14204
|
api: p.value,
|
|
14225
14205
|
newState: { chartCategoryFields: e },
|
|
14226
14206
|
oldState: { chartCategoryFields: t }
|
|
14227
14207
|
});
|
|
14228
|
-
}),
|
|
14208
|
+
}), U(q, (e, t) => {
|
|
14229
14209
|
d("chart-state-changed", {
|
|
14230
14210
|
api: p.value,
|
|
14231
14211
|
newState: { tableGrouped: e },
|
|
14232
14212
|
oldState: { tableGrouped: t }
|
|
14233
14213
|
});
|
|
14234
|
-
}),
|
|
14214
|
+
}), U(() => l.isTableGrouped, (e, t) => {
|
|
14235
14215
|
!p.value || e === t || !l.enableGroupingToggle || Vt(e);
|
|
14236
|
-
}),
|
|
14216
|
+
}), U(() => l.initialFocusData, (e, t) => {
|
|
14237
14217
|
if (!(ot(e?.focuses, t?.focuses) && e?.focusType == t?.focusType)) {
|
|
14238
14218
|
if (!e?.focusType) {
|
|
14239
|
-
|
|
14219
|
+
ie.setFocuses([]);
|
|
14240
14220
|
return;
|
|
14241
14221
|
}
|
|
14242
|
-
|
|
14222
|
+
ie.setFocusType(e?.focusType), ie.setFocuses(e?.focuses ?? []);
|
|
14243
14223
|
}
|
|
14244
14224
|
}, { deep: !0 });
|
|
14245
14225
|
let Xe = () => {
|
|
@@ -14250,7 +14230,7 @@ var Ip = { style: {
|
|
|
14250
14230
|
return;
|
|
14251
14231
|
}
|
|
14252
14232
|
if (t) {
|
|
14253
|
-
let { stackedData: n, uniqueFieldValues: r } = xs(e, I.value, t, $e.value,
|
|
14233
|
+
let { stackedData: n, uniqueFieldValues: r } = xs(e, I.value, t, $e.value, re.value);
|
|
14254
14234
|
Q.value = n, Me.value = {
|
|
14255
14235
|
fieldName: t,
|
|
14256
14236
|
fieldValues: r
|
|
@@ -14259,9 +14239,9 @@ var Ip = { style: {
|
|
|
14259
14239
|
Oe.value = e;
|
|
14260
14240
|
}, Qe = (e) => {
|
|
14261
14241
|
let t = ++A.value, n = P.value.length;
|
|
14262
|
-
if (Xe(), E.value = !1, n === 0 || H.value.length === 0 || l.requireFiltersToShowData &&
|
|
14242
|
+
if (Xe(), E.value = !1, n === 0 || H.value.length === 0 || l.requireFiltersToShowData && G.filterModelEmpty.value) return;
|
|
14263
14243
|
if (l.serverSideChartHandler) {
|
|
14264
|
-
let e =
|
|
14244
|
+
let e = G.filterModel.value, n = p.value?.getColumnDefs() || [];
|
|
14265
14245
|
if (e === null && l.initialGridState) {
|
|
14266
14246
|
let t = zu(l.initialGridState, n, l.enableAdvancedFilter);
|
|
14267
14247
|
e = (l.enableAdvancedFilter ? t?.filter?.advancedFilterModel : t?.filter?.filterModel) || {};
|
|
@@ -14298,7 +14278,7 @@ var Ip = { style: {
|
|
|
14298
14278
|
};
|
|
14299
14279
|
} else Q.value = [], Me.value = null;
|
|
14300
14280
|
}, $e = r(() => {
|
|
14301
|
-
let e = H.value, t =
|
|
14281
|
+
let e = H.value, t = te.value;
|
|
14302
14282
|
return [...new Map([...t, ...e].map((e) => [e.value, e])).values()];
|
|
14303
14283
|
}), et = (e) => {
|
|
14304
14284
|
let t = { [e.field]: e.key };
|
|
@@ -14432,7 +14412,7 @@ var Ip = { style: {
|
|
|
14432
14412
|
missingFocusText: l.missingFocusText,
|
|
14433
14413
|
displayGroupByName: t,
|
|
14434
14414
|
yAxisName: Re.value,
|
|
14435
|
-
yAxisOptionCount:
|
|
14415
|
+
yAxisOptionCount: ee.value
|
|
14436
14416
|
});
|
|
14437
14417
|
}), It = r(() => Pt.value || J.value || !l.isLoading && Ft.value !== ""), Lt = r(() => {
|
|
14438
14418
|
let e = {};
|
|
@@ -14575,7 +14555,7 @@ var Ip = { style: {
|
|
|
14575
14555
|
}), Rt = r(() => E.value || l.isLoading && (!nt.value || nt.value.length === 0)), zt = r(() => Pt.value || !J.value && !l.isLoading && Ft.value !== ""), Bt = (e) => {
|
|
14576
14556
|
b.value = e, d("chart-collapsed", e);
|
|
14577
14557
|
}, Vt = (e) => {
|
|
14578
|
-
p.value && (p.value.setRowGroupColumns(e ? P.value : []),
|
|
14558
|
+
p.value && (p.value.setRowGroupColumns(e ? P.value : []), q.value = e);
|
|
14579
14559
|
};
|
|
14580
14560
|
function Ht(e) {
|
|
14581
14561
|
return e?.hydrate ? m.value?.getFilterValueSelectedMetadataMap({ hydrate: !0 }) : m.value?.getFilterValueSelectedMetadataMap();
|
|
@@ -14591,7 +14571,7 @@ var Ip = { style: {
|
|
|
14591
14571
|
}), S(() => {
|
|
14592
14572
|
if (l.initialGridState) {
|
|
14593
14573
|
let e = l.initialGridState.rowGroup?.groupColIds || [];
|
|
14594
|
-
P.value = e, !l.allFieldsAreFocusable && e.length > 0 &&
|
|
14574
|
+
P.value = e, !l.allFieldsAreFocusable && e.length > 0 && ie.setFocusType(e[0]);
|
|
14595
14575
|
}
|
|
14596
14576
|
}), T(async () => {
|
|
14597
14577
|
await v(), w.value = l.filterPanelAboveChart;
|
|
@@ -14708,7 +14688,7 @@ var Ip = { style: {
|
|
|
14708
14688
|
ref: m
|
|
14709
14689
|
}, n.$props, {
|
|
14710
14690
|
filterTeleportLocation: w.value ? `#${C}` : void 0,
|
|
14711
|
-
pagination: e.pagination || !
|
|
14691
|
+
pagination: e.pagination || !q.value,
|
|
14712
14692
|
onColumnRowGroupChanged: Z,
|
|
14713
14693
|
onColumnValueChanged: ue,
|
|
14714
14694
|
onGridReady: Y,
|
|
@@ -14721,17 +14701,17 @@ var Ip = { style: {
|
|
|
14721
14701
|
onHandleSettingsIcon: r[9] ||= (e) => d("handle-settings-icon", e),
|
|
14722
14702
|
onFocusUpdate: r[10] ||= (e) => d("focus-update", e)
|
|
14723
14703
|
}), {
|
|
14724
|
-
"top-slot":
|
|
14704
|
+
"top-slot": W(() => [e.enableGroupingToggle ? (D(), o(t, { key: 0 }, [e.tableConfigOptions ? (D(), i(Ff, {
|
|
14725
14705
|
key: 0,
|
|
14726
|
-
groupedModeEnabled:
|
|
14706
|
+
groupedModeEnabled: q.value,
|
|
14727
14707
|
tableConfigOptions: l.tableConfigOptions,
|
|
14728
14708
|
onToggleGroup: Vt,
|
|
14729
14709
|
onTableOverlayChange: oe
|
|
14730
14710
|
}, null, 8, ["groupedModeEnabled", "tableConfigOptions"])) : (D(), i(Ln, {
|
|
14731
14711
|
key: 1,
|
|
14732
|
-
leftIcon:
|
|
14733
|
-
label:
|
|
14734
|
-
onClick: r[4] ||= (e) => Vt(!
|
|
14712
|
+
leftIcon: q.value ? "ungroup" : "group",
|
|
14713
|
+
label: q.value ? "Ungroup Table" : "Group Table to Match Chart",
|
|
14714
|
+
onClick: r[4] ||= (e) => Vt(!q.value),
|
|
14735
14715
|
variant: "secondary",
|
|
14736
14716
|
size: "lg"
|
|
14737
14717
|
}, null, 8, ["leftIcon", "label"]))], 64)) : a("", !0), j(n.$slots, "top-slot")]),
|
|
@@ -14754,7 +14734,7 @@ var Ip = { style: {
|
|
|
14754
14734
|
t === o && (i.value = !1);
|
|
14755
14735
|
}
|
|
14756
14736
|
};
|
|
14757
|
-
return t.watch &&
|
|
14737
|
+
return t.watch && U(Array.isArray(t.watch) ? t.watch : [t.watch], () => {
|
|
14758
14738
|
s();
|
|
14759
14739
|
}), t.immediate !== !1 && s(), {
|
|
14760
14740
|
chartData: n,
|