@turquoisehealth/pit-viper 2.199.1 → 2.199.2-dev.1
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/package.json +1 -1
- package/pv-components/dist/stats/vue/base/stats.html +1 -1
- package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
- package/pv-components/dist/stats/web/pv-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-query-builder-input-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 +258 -254
- 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 +2 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +757 -763
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/components/pv-menu/pv-menu.js +13 -13
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +21 -17
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +459 -459
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +826 -822
- package/pv-components/dist/web/pv-components.iife.js +1 -1
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.pv-scatter-overlay[data-v-ad4913cb]{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-ad4913cb]{display:flex;overflow:hidden}.pv-scatter-quadrant-box[data-v-ad4913cb]{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-ad4913cb]{grid-area:1/1;justify-content:flex-start;align-items:flex-start;padding:5px}.pv-scatter-quadrant-top-right[data-v-ad4913cb]{grid-area:1/2;justify-content:flex-end;align-items:flex-start;padding:5px}.pv-scatter-quadrant-bottom-left[data-v-ad4913cb]{grid-area:2/1;justify-content:flex-start;align-items:flex-end;padding:5px}.pv-scatter-quadrant-bottom-right[data-v-ad4913cb]{grid-area:2/2;justify-content:flex-end;align-items:flex-end;padding:5px}.pv-chart-loading[data-v-ad4913cb]{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-ad4913cb]{color:#16696d;animation:1.5s ease-in-out infinite pulse-ad4913cb}@keyframes pulse-ad4913cb{0%{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}.pv-chart-widget[data-v-d92b6ed9]{box-sizing:border-box;flex-direction:column;width:100%;min-width:0;height:100%;min-height:0;display:flex;position:relative}.pv-chart-widget--constrained[data-v-d92b6ed9]{overflow:hidden}.pv-chart-widget__chart-area[data-v-d92b6ed9]{flex:auto;width:100%;min-height:0;position:relative;overflow:hidden}.pv-chart-widget__chart-scroll[data-v-d92b6ed9]{width:100%;height:100%;min-height:0}.pv-chart-widget__chart-scroll--enabled[data-v-d92b6ed9]{overflow:auto}.pv-chart-widget__chart-content[data-v-d92b6ed9]{height:100%;min-height:100%}.pv-badge-md[data-v-743a2e13]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-743a2e13]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-surface-lighten-5[data-v-743a2e13]{background-color:#e0e5e4}.pv-text-secondary[data-v-743a2e13]{color:#4b595c}.pv-select-button-trigger-avatar[data-v-e19d6d09]{font-size:.5rem;font-weight:700}.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-a93608b0]{pointer-events:none;color:#7d898d;border-radius:4px}.pv-menu-item{&[data-v-a93608b0]{cursor:pointer;border-radius:var(--popover-list-item-radius,4px);transition-property:background-color;transition-duration:.15s}&[data-v-a93608b0]:hover,&[data-v-a93608b0]:focus-visible{background-color:var(--popover-list-item-hover-background-color,#f5f5f5)}&[data-v-a93608b0]:active{background-color:var(--popover-list-item-pressed-background-color,#ebebeb)}}.pv-radio[data-v-a93608b0]:indeterminate{background-color:unset!important;border-color:var(--color-border,#e3e7ea)!important}.pv-menu-item-expand-chevron[data-v-a93608b0]{flex-shrink:0;margin-left:auto;padding:4px}.pv-menu-item-disabled .pv-menu-item-expand-chevron[data-v-a93608b0]{pointer-events:auto;color:inherit}.pv-data-widget[data-v-a56fcb64]{box-sizing:border-box;width:100%;min-width:0;min-height:0}.pv-data-widget--constrained[data-v-a56fcb64]{flex-direction:column;display:flex;overflow:hidden}.pv-data-widget--constrained .pv-data-widget__body[data-v-a56fcb64]{flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden}.pv-data-widget__table-container[data-v-a56fcb64]{min-height:0}.pv-data-widget__below-table[data-v-a56fcb64]{margin-top:16px}.pv-data-widget--constrained .pv-data-widget__table-container[data-v-a56fcb64]{flex:auto}.pv-data-widget--constrained .pv-data-widget__below-table[data-v-a56fcb64]{flex:none}.pv-data-widget__chart-scroll[data-v-a56fcb64]{width:100%;min-height:0;overflow:hidden}.pv-data-widget--constrained .pv-data-widget__chart-scroll[data-v-a56fcb64]{flex:auto}.pv-data-widget__chart-scroll--enabled[data-v-a56fcb64]{overflow:auto}.pv-data-widget__chart-content[data-v-a56fcb64]{min-height:100%}.pv-popover-list[data-v-c6181252]{font-size:14px}.pv-icon-button[data-v-79a7def3]{background-color:#0000;border:none}.pv-icon-button[data-v-79a7def3]:hover{cursor:pointer;color:#176f6f}.pv-select[data-v-79a7def3]{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-4decbec2]{cursor:text;background:#f7f8f8;border:2px solid #0000;border-radius:.5rem;align-items:center;width:100%;min-height:2.25rem;padding:.25rem;font-size:.75rem;display:flex;position:relative}.pv-query-builder-input[data-v-4decbec2]{justify-content:start;overflow-x:hidden}.pv-query-builder-input-wrapper input[data-v-4decbec2]{background:0 0;border:none;outline:none;font-size:.75rem}.pv-query-builder-input-wrapper[data-v-4decbec2]: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-9d73220c]:hover{color:#16696d}.suggested-title-label[data-v-9d73220c]:hover{color:#0d5256;text-decoration:underline}.ag-custom-header-cell[data-v-385ad98a]{align-items:center;height:100%}.ag-header-actions .ag-header-cell-menu-button[data-v-385ad98a]{opacity:0;transition:opacity .2s ease-in-out}.ag-header-cell-menu-button:hover .ag-header-actions .ag-header-cell-menu-button[data-v-385ad98a],.ag-header-cell-menu-button:focus .ag-header-actions .ag-header-cell-menu-button[data-v-385ad98a]{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 .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-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%)}.pv-menu-nested[data-v-4a384de9]:after{content:"›"}[data-v-4a384de9] .pv-menu-nested-active{background-color:var(--popover-list-selected-item-background-color,#e4f8f6)}.pv-tooltip a[data-v-4a384de9]{color:inherit}.pv-chart-option[data-v-4a384de9]{min-width:150px;max-width:225px}.pv-chart-overlay{pointer-events:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ag-charts-tooltip{background-color:#fffffff2}.ag-charts-floating-toolbar{display:none!important}
|
|
1
|
+
(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.pv-scatter-overlay[data-v-ad4913cb]{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-ad4913cb]{display:flex;overflow:hidden}.pv-scatter-quadrant-box[data-v-ad4913cb]{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-ad4913cb]{grid-area:1/1;justify-content:flex-start;align-items:flex-start;padding:5px}.pv-scatter-quadrant-top-right[data-v-ad4913cb]{grid-area:1/2;justify-content:flex-end;align-items:flex-start;padding:5px}.pv-scatter-quadrant-bottom-left[data-v-ad4913cb]{grid-area:2/1;justify-content:flex-start;align-items:flex-end;padding:5px}.pv-scatter-quadrant-bottom-right[data-v-ad4913cb]{grid-area:2/2;justify-content:flex-end;align-items:flex-end;padding:5px}.pv-chart-loading[data-v-ad4913cb]{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-ad4913cb]{color:#16696d;animation:1.5s ease-in-out infinite pulse-ad4913cb}@keyframes pulse-ad4913cb{0%{opacity:1;transform:scale(1)}50%{opacity:.6;transform:scale(1.05)}to{opacity:1;transform:scale(1)}}.pv-chart-widget[data-v-d92b6ed9]{box-sizing:border-box;flex-direction:column;width:100%;min-width:0;height:100%;min-height:0;display:flex;position:relative}.pv-chart-widget--constrained[data-v-d92b6ed9]{overflow:hidden}.pv-chart-widget__chart-area[data-v-d92b6ed9]{flex:auto;width:100%;min-height:0;position:relative;overflow:hidden}.pv-chart-widget__chart-scroll[data-v-d92b6ed9]{width:100%;height:100%;min-height:0}.pv-chart-widget__chart-scroll--enabled[data-v-d92b6ed9]{overflow:auto}.pv-chart-widget__chart-content[data-v-d92b6ed9]{height:100%;min-height:100%}.pv-badge-md[data-v-743a2e13]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-743a2e13]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-surface-lighten-5[data-v-743a2e13]{background-color:#e0e5e4}.pv-text-secondary[data-v-743a2e13]{color:#4b595c}.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-a93608b0]{pointer-events:none;color:#7d898d;border-radius:4px}.pv-menu-item{&[data-v-a93608b0]{cursor:pointer;border-radius:var(--popover-list-item-radius,4px);transition-property:background-color;transition-duration:.15s}&[data-v-a93608b0]:hover,&[data-v-a93608b0]:focus-visible{background-color:var(--popover-list-item-hover-background-color,#f5f5f5)}&[data-v-a93608b0]:active{background-color:var(--popover-list-item-pressed-background-color,#ebebeb)}}.pv-radio[data-v-a93608b0]:indeterminate{background-color:unset!important;border-color:var(--color-border,#e3e7ea)!important}.pv-menu-item-expand-chevron[data-v-a93608b0]{flex-shrink:0;margin-left:auto;padding:4px}.pv-menu-item-disabled .pv-menu-item-expand-chevron[data-v-a93608b0]{pointer-events:auto;color:inherit}.pv-data-widget[data-v-a56fcb64]{box-sizing:border-box;width:100%;min-width:0;min-height:0}.pv-data-widget--constrained[data-v-a56fcb64]{flex-direction:column;display:flex;overflow:hidden}.pv-data-widget--constrained .pv-data-widget__body[data-v-a56fcb64]{flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden}.pv-data-widget__table-container[data-v-a56fcb64]{min-height:0}.pv-data-widget__below-table[data-v-a56fcb64]{margin-top:16px}.pv-data-widget--constrained .pv-data-widget__table-container[data-v-a56fcb64]{flex:auto}.pv-data-widget--constrained .pv-data-widget__below-table[data-v-a56fcb64]{flex:none}.pv-data-widget__chart-scroll[data-v-a56fcb64]{width:100%;min-height:0;overflow:hidden}.pv-data-widget--constrained .pv-data-widget__chart-scroll[data-v-a56fcb64]{flex:auto}.pv-data-widget__chart-scroll--enabled[data-v-a56fcb64]{overflow:auto}.pv-data-widget__chart-content[data-v-a56fcb64]{min-height:100%}.pv-popover-list[data-v-c6181252]{font-size:14px}.pv-icon-button[data-v-79a7def3]{background-color:#0000;border:none}.pv-icon-button[data-v-79a7def3]:hover{cursor:pointer;color:#176f6f}.pv-select[data-v-79a7def3]{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-4decbec2]{cursor:text;background:#f7f8f8;border:2px solid #0000;border-radius:.5rem;align-items:center;width:100%;min-height:2.25rem;padding:.25rem;font-size:.75rem;display:flex;position:relative}.pv-query-builder-input[data-v-4decbec2]{justify-content:start;overflow-x:hidden}.pv-query-builder-input-wrapper input[data-v-4decbec2]{background:0 0;border:none;outline:none;font-size:.75rem}.pv-query-builder-input-wrapper[data-v-4decbec2]: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-9d73220c]:hover{color:#16696d}.suggested-title-label[data-v-9d73220c]:hover{color:#0d5256;text-decoration:underline}.ag-custom-header-cell[data-v-385ad98a]{align-items:center;height:100%}.ag-header-actions .ag-header-cell-menu-button[data-v-385ad98a]{opacity:0;transition:opacity .2s ease-in-out}.ag-header-cell-menu-button:hover .ag-header-actions .ag-header-cell-menu-button[data-v-385ad98a],.ag-header-cell-menu-button:focus .ag-header-actions .ag-header-cell-menu-button[data-v-385ad98a]{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 .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-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%)}.pv-menu-nested[data-v-4a384de9]:after{content:"›"}[data-v-4a384de9] .pv-menu-nested-active{background-color:var(--popover-list-selected-item-background-color,#e4f8f6)}.pv-tooltip a[data-v-4a384de9]{color:inherit}.pv-chart-option[data-v-4a384de9]{min-width:150px;max-width:225px}.pv-chart-overlay{pointer-events:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ag-charts-tooltip{background-color:#fffffff2}.ag-charts-floating-toolbar{display:none!important}
|
|
2
2
|
/*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();import * as e from "vue";
|
|
3
|
-
import { Fragment as t, Teleport as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createSlots as c, createTextVNode as l, createVNode as u, defineComponent as d, getCurrentInstance as f, guardReactiveProps as p, inject as m, isRef as h, mergeModels as g, mergeProps as _, nextTick as v, normalizeClass as y, normalizeProps as b, normalizeStyle as x, onBeforeMount as S, onBeforeUnmount as C, onMounted as w, onUnmounted as T, openBlock as E, provide as D, ref as O, renderList as k, renderSlot as A, resolveComponent as j, resolveDynamicComponent as M, shallowRef as N, toDisplayString as P, toRef as F, unref as I, useId as ee, useModel as L, useSlots as R, useTemplateRef as z, vModelCheckbox as te, vModelText as ne, vShow as re, watch as B, withCtx as V, withDirectives as
|
|
4
|
-
import { AgCharts as
|
|
5
|
-
import { LicenseManager as
|
|
6
|
-
import { onClickOutside as
|
|
7
|
-
import { vOnClickOutside as
|
|
8
|
-
import { AgGridVue as
|
|
9
|
-
import { CellStyleModule as
|
|
10
|
-
import { AdvancedFilterModule 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, onMounted as w, onUnmounted as T, openBlock as E, provide as D, ref as O, renderList as k, renderSlot as A, resolveComponent as j, resolveDynamicComponent as M, shallowRef as N, toDisplayString as P, toRef as F, unref as I, useId as ee, useModel as L, useSlots as R, useTemplateRef as z, vModelCheckbox as te, vModelText as ne, vShow as re, watch as B, withCtx as V, withDirectives as ie, withModifiers as H } from "vue";
|
|
4
|
+
import { AgCharts as U } from "ag-charts-vue3";
|
|
5
|
+
import { LicenseManager as ae } from "ag-charts-enterprise";
|
|
6
|
+
import { onClickOutside as oe, onKeyStroke as se, toRef as W, useDebounceFn as G, useElementBounding as K, useElementHover as ce, useElementSize as q, useToggle as le, watchDebounced as ue } from "@vueuse/core";
|
|
7
|
+
import { vOnClickOutside as J } from "@vueuse/components";
|
|
8
|
+
import { AgGridVue as de } from "ag-grid-vue3";
|
|
9
|
+
import { CellStyleModule as fe, CheckboxEditorModule as pe, ClientSideRowModelModule as me, ColumnApiModule as he, ColumnAutoSizeModule as ge, CsvExportModule as _e, CustomEditorModule as ve, CustomFilterModule as ye, DateEditorModule as Y, EventApiModule as be, GridStateModule as xe, LargeTextEditorModule as Se, ModuleRegistry as X, NumberEditorModule as Ce, PaginationModule as Z, QuickFilterModule as we, RowApiModule as Te, RowStyleModule as Ee, ScrollApiModule as De, SelectEditorModule as Oe, TextEditorModule as ke, TextFilterModule as Ae, UndoRedoEditModule as je, themeQuartz as Me } from "ag-grid-community";
|
|
10
|
+
import { AdvancedFilterModule as Ne, CellSelectionModule as Pe, ClientSideRowModelApiModule as Fe, ClipboardModule as Ie, ColumnMenuModule as Le, ContextMenuModule as Re, LicenseManager as ze, MultiFilterModule as Be, RenderApiModule as Ve, RichSelectModule as He, RowGroupingModule as Q, RowSelectionModule as Ue, ServerSideRowModelApiModule as We, ServerSideRowModelModule as Ge, SetFilterModule as Ke, TooltipModule as qe, ValidationModule as Je } from "ag-grid-enterprise";
|
|
11
11
|
import Ye from "papaparse";
|
|
12
12
|
import { useSortable as Xe } from "@vueuse/integrations/useSortable.mjs";
|
|
13
13
|
import "primevue/datepicker";
|
|
@@ -250,7 +250,7 @@ var Rt = { style: { position: "relative" } }, zt = {
|
|
|
250
250
|
emits: ["series-visibility-change"],
|
|
251
251
|
setup(e, { expose: n, emit: c }) {
|
|
252
252
|
let l = e, d = c;
|
|
253
|
-
|
|
253
|
+
ae.setLicenseKey(Jt);
|
|
254
254
|
let f = O(null), p = O({}), m = () => {
|
|
255
255
|
if (!f.value || !l.customChartProps?.scatter?.quadrantRenderer) return;
|
|
256
256
|
let e = f.value.$el;
|
|
@@ -360,7 +360,7 @@ var Rt = { style: { position: "relative" } }, zt = {
|
|
|
360
360
|
width: e?.width,
|
|
361
361
|
height: e?.height
|
|
362
362
|
}) }), (n, r) => (E(), o("div", Rt, [
|
|
363
|
-
u(I(
|
|
363
|
+
u(I(U), {
|
|
364
364
|
ref_key: "chartRef",
|
|
365
365
|
ref: f,
|
|
366
366
|
style: x([{ height: "100%" }, _.value ? "" : `min-height: ${e.minHeight}px`]),
|
|
@@ -508,7 +508,7 @@ var Rt = { style: { position: "relative" } }, zt = {
|
|
|
508
508
|
},
|
|
509
509
|
emits: ["series-visibility-change"],
|
|
510
510
|
setup(e, { expose: t, emit: n }) {
|
|
511
|
-
let i = e, c = n, l = O(null), d = O(null), f = O(null), { width: p } =
|
|
511
|
+
let i = e, c = n, l = O(null), d = O(null), f = O(null), { width: p } = q(l), { height: m } = q(d), h = r(() => p.value > 0 ? p.value : typeof window < "u" && window.innerWidth > 0 ? window.innerWidth : 800), g = r(() => h.value < 250 || i.miniChart === "always" ? !0 : i.miniChart === "auto" && h.value < 400), _ = r(() => Math.max(m.value, 200)), v = r(() => hn(i.options, {
|
|
512
512
|
dataLimit: i.dataLimit,
|
|
513
513
|
showAxes: i.showAxes
|
|
514
514
|
})), b = r(() => dn(v.value)), S = r(() => fn(v.value)), C = r(() => nn({
|
|
@@ -1525,7 +1525,7 @@ var Si = { style: { width: "fit-content" } }, Ci = /* @__PURE__ */ d({
|
|
|
1525
1525
|
}),
|
|
1526
1526
|
emits: ["update:modelValue"],
|
|
1527
1527
|
setup(e) {
|
|
1528
|
-
let t = e, c = L(e, "modelValue"), l = O(null), u = O(null), d = O(null), f =
|
|
1528
|
+
let t = e, c = L(e, "modelValue"), l = O(null), u = O(null), d = O(null), f = ce(l), p = ce(d), m = {
|
|
1529
1529
|
"top-center": "top",
|
|
1530
1530
|
"bottom-center": "bottom",
|
|
1531
1531
|
"center-left": "left",
|
|
@@ -1548,7 +1548,7 @@ var Si = { style: { width: "fit-content" } }, Ci = /* @__PURE__ */ d({
|
|
|
1548
1548
|
B(c, (e) => {
|
|
1549
1549
|
e && u.value && d.value && _();
|
|
1550
1550
|
});
|
|
1551
|
-
let v =
|
|
1551
|
+
let v = K(u), y = G(() => {
|
|
1552
1552
|
c.value && _();
|
|
1553
1553
|
}, 5);
|
|
1554
1554
|
B([
|
|
@@ -1582,7 +1582,7 @@ var Si = { style: { width: "fit-content" } }, Ci = /* @__PURE__ */ d({
|
|
|
1582
1582
|
t.showOnHover && D(e);
|
|
1583
1583
|
}), T(() => {
|
|
1584
1584
|
C();
|
|
1585
|
-
}), (r, u) =>
|
|
1585
|
+
}), (r, u) => ie((E(), o("div", Si, [s("div", {
|
|
1586
1586
|
ref_key: "triggerWrapper",
|
|
1587
1587
|
ref: l,
|
|
1588
1588
|
onClick: M
|
|
@@ -1590,12 +1590,12 @@ var Si = { style: { width: "fit-content" } }, Ci = /* @__PURE__ */ d({
|
|
|
1590
1590
|
key: 0,
|
|
1591
1591
|
to: e.teleportLocation,
|
|
1592
1592
|
disabled: !t.useTeleport
|
|
1593
|
-
}, [
|
|
1593
|
+
}, [ie(s("div", {
|
|
1594
1594
|
class: "pv-floating",
|
|
1595
1595
|
ref_key: "floating",
|
|
1596
1596
|
ref: d,
|
|
1597
1597
|
style: x(b.value)
|
|
1598
|
-
}, [A(r.$slots, "content")], 4), [[re, c.value]])], 8, ["to", "disabled"])) : a("", !0)])), [[I(
|
|
1598
|
+
}, [A(r.$slots, "content")], 4), [[re, c.value]])], 8, ["to", "disabled"])) : a("", !0)])), [[I(J), [N, { ignore: k.value }]]]);
|
|
1599
1599
|
}
|
|
1600
1600
|
}), wi = ["data-variant"], Ti = /* @__PURE__ */ d({
|
|
1601
1601
|
__name: "PvTooltipV2",
|
|
@@ -4612,11 +4612,11 @@ var Si = { style: { width: "fit-content" } }, Ci = /* @__PURE__ */ d({
|
|
|
4612
4612
|
"pv-input-padded-end": !0
|
|
4613
4613
|
}));
|
|
4614
4614
|
return w(() => {
|
|
4615
|
-
n.displayShortcut &&
|
|
4615
|
+
n.displayShortcut && se(Ki, (e) => {
|
|
4616
4616
|
let t = e.target, n = t instanceof HTMLInputElement || t instanceof HTMLTextAreaElement || (t?.isContentEditable ?? !1), r = document.activeElement === i.value;
|
|
4617
4617
|
(!n || r) && (r || (e.preventDefault(), i.value?.focus()));
|
|
4618
4618
|
});
|
|
4619
|
-
}), t({ input: i }), (t, n) => (E(), o("div", Ui, [
|
|
4619
|
+
}), t({ input: i }), (t, n) => (E(), o("div", Ui, [ie(s("input", {
|
|
4620
4620
|
ref: "search-input",
|
|
4621
4621
|
"onUpdate:modelValue": n[0] ||= (e) => c.value = e,
|
|
4622
4622
|
"data-testid": "pv-search-input",
|
|
@@ -4796,12 +4796,12 @@ var ia = [
|
|
|
4796
4796
|
"data-testid": "pv-tooltip-content"
|
|
4797
4797
|
}, [A(n.$slots, "tooltip-content")], 8, aa)) : a("", !0)], 10, ia));
|
|
4798
4798
|
}
|
|
4799
|
-
}), sa = ["disabled"], ca = { class: "pv-flex" }, la = {
|
|
4799
|
+
}), sa = ["disabled"], ca = { class: "pv-flex pv-select-button-trigger-content" }, la = {
|
|
4800
4800
|
key: 0,
|
|
4801
4801
|
"data-testid": "pv-select-prefix-label",
|
|
4802
4802
|
class: "pv-border-right pv-text-quaternary",
|
|
4803
4803
|
style: { "padding-right": "4px" }
|
|
4804
|
-
}, ua =
|
|
4804
|
+
}, ua = ["title"], da = /* @__PURE__ */ Xt(/* @__PURE__ */ d({
|
|
4805
4805
|
__name: "PvSelectButtonTrigger",
|
|
4806
4806
|
props: {
|
|
4807
4807
|
avatar: {},
|
|
@@ -4889,7 +4889,11 @@ var ia = [
|
|
|
4889
4889
|
"variant",
|
|
4890
4890
|
"shape"
|
|
4891
4891
|
])) : a("", !0),
|
|
4892
|
-
e.isLoading || e.label ? (E(), o("span",
|
|
4892
|
+
e.isLoading || e.label ? (E(), o("span", {
|
|
4893
|
+
key: 3,
|
|
4894
|
+
class: "pv-truncate pv-select-button-trigger-label",
|
|
4895
|
+
title: d.value
|
|
4896
|
+
}, P(d.value), 9, ua)) : a("", !0)
|
|
4893
4897
|
], 64)),
|
|
4894
4898
|
e.counterPosition === "right" && e.counterValue && e.counterStyle === "primary" ? (E(), i(Dn, {
|
|
4895
4899
|
key: 4,
|
|
@@ -4919,14 +4923,14 @@ var ia = [
|
|
|
4919
4923
|
}, {
|
|
4920
4924
|
label: V(() => [u(En, {
|
|
4921
4925
|
name: "close",
|
|
4922
|
-
onClick: r[0] ||=
|
|
4926
|
+
onClick: r[0] ||= H((e) => n.$emit("handle-clear"), ["stop"])
|
|
4923
4927
|
})]),
|
|
4924
4928
|
"tooltip-content": V(() => [...r[1] ||= [l(" Clear Selections ", -1)]]),
|
|
4925
4929
|
_: 1
|
|
4926
4930
|
})) : a("", !0)
|
|
4927
4931
|
], 10, sa));
|
|
4928
4932
|
}
|
|
4929
|
-
}), [["__scopeId", "data-v-
|
|
4933
|
+
}), [["__scopeId", "data-v-5b922a5f"]]), fa = {}, pa = { class: "pv-text-subdued pv-text-center pv-text-body-md pv-inset-square-12" };
|
|
4930
4934
|
function ma(e, t) {
|
|
4931
4935
|
return E(), o("div", pa, "No Results Found");
|
|
4932
4936
|
}
|
|
@@ -5113,7 +5117,7 @@ var Sa = {
|
|
|
5113
5117
|
"pv-input-xsmall": e.size === "sm",
|
|
5114
5118
|
"pv-switch-hide-check": e.hideCheckIcon
|
|
5115
5119
|
}])
|
|
5116
|
-
}, [e.label ? (E(), o("span", Oa, P(e.label), 1)) : a("", !0),
|
|
5120
|
+
}, [e.label ? (E(), o("span", Oa, P(e.label), 1)) : a("", !0), ie(s("input", {
|
|
5117
5121
|
"onUpdate:modelValue": i[0] ||= (e) => n.value = e,
|
|
5118
5122
|
disabled: e.disabled,
|
|
5119
5123
|
"aria-label": e.ariaLabel,
|
|
@@ -5159,7 +5163,7 @@ var Sa = {
|
|
|
5159
5163
|
style: { "--button-icon-only-padding": "0px" },
|
|
5160
5164
|
"aria-label": e.tooltipText,
|
|
5161
5165
|
disabled: e.disabled,
|
|
5162
|
-
onClick:
|
|
5166
|
+
onClick: H(o, ["stop"])
|
|
5163
5167
|
}, [u(En, {
|
|
5164
5168
|
name: e.icon,
|
|
5165
5169
|
size: a[e.size]
|
|
@@ -5332,7 +5336,7 @@ var Sa = {
|
|
|
5332
5336
|
class: "pv-button-ghost pv-menu-item-expand-chevron",
|
|
5333
5337
|
"aria-label": n.text ? `Toggle children for ${n.text}` : "Toggle children",
|
|
5334
5338
|
"aria-expanded": e.expanded,
|
|
5335
|
-
onClick: r[0] ||=
|
|
5339
|
+
onClick: r[0] ||= H((e) => P("toggle-expanded"), ["prevent", "stop"])
|
|
5336
5340
|
}, [u(En, {
|
|
5337
5341
|
name: e.chevronIcon ?? "chevron-right",
|
|
5338
5342
|
size: 12
|
|
@@ -5388,10 +5392,10 @@ var Sa = {
|
|
|
5388
5392
|
}), D = r(() => ga({
|
|
5389
5393
|
...i,
|
|
5390
5394
|
children: b.value
|
|
5391
|
-
}) && i.level < qa), A = r(() => D.value ? l.value ? h.value
|
|
5395
|
+
}) && i.level < qa), A = r(() => D.value ? l.value ? h.value : !0 : !1), M = r(() => h.value ? "chevron-down" : "chevron-right"), N = (e) => s && Array.isArray(s.value) ? s.value.some((t) => t.id === e.id) : c.value.includes(e.id), P = n, F = r(() => v.value || i.totalChildCount == null ? !1 : i.totalChildCount > b.value.length), ee = async () => {
|
|
5392
5396
|
if (g.value) return;
|
|
5393
5397
|
if (!i.handleSeeMore) {
|
|
5394
|
-
|
|
5398
|
+
P("see-more", {
|
|
5395
5399
|
parentId: i.id,
|
|
5396
5400
|
offset: b.value.length
|
|
5397
5401
|
});
|
|
@@ -5423,7 +5427,7 @@ var Sa = {
|
|
|
5423
5427
|
} finally {
|
|
5424
5428
|
g.value = !1;
|
|
5425
5429
|
}
|
|
5426
|
-
},
|
|
5430
|
+
}, R = (e) => {
|
|
5427
5431
|
if (l.value && D.value && e.option.id === i.id && !d.value) {
|
|
5428
5432
|
C();
|
|
5429
5433
|
return;
|
|
@@ -5432,9 +5436,9 @@ var Sa = {
|
|
|
5432
5436
|
let t = c.value.indexOf(e.option.id);
|
|
5433
5437
|
t > -1 ? c.value = [...c.value.slice(0, t), ...c.value.slice(t + 1)] : c.value = [...c.value, e.option.id];
|
|
5434
5438
|
}
|
|
5435
|
-
|
|
5436
|
-
},
|
|
5437
|
-
|
|
5439
|
+
P("handle-selected", e);
|
|
5440
|
+
}, z = (e) => {
|
|
5441
|
+
P("handle-selected", e);
|
|
5438
5442
|
};
|
|
5439
5443
|
return (n, r) => {
|
|
5440
5444
|
let s = j("PvMenuItem", !0);
|
|
@@ -5446,7 +5450,7 @@ var Sa = {
|
|
|
5446
5450
|
showChevron: I(l) && D.value,
|
|
5447
5451
|
chevronIcon: M.value,
|
|
5448
5452
|
expanded: h.value,
|
|
5449
|
-
onHandleSelected:
|
|
5453
|
+
onHandleSelected: R,
|
|
5450
5454
|
onToggleExpanded: C,
|
|
5451
5455
|
selected: N(i)
|
|
5452
5456
|
}), null, 16, [
|
|
@@ -5462,7 +5466,7 @@ var Sa = {
|
|
|
5462
5466
|
key: 0,
|
|
5463
5467
|
role: "list",
|
|
5464
5468
|
style: x(w.value)
|
|
5465
|
-
}, [(E(!0), o(t, null, k(b.value, (t) =>
|
|
5469
|
+
}, [(E(!0), o(t, null, k(b.value, (t) => (E(), o("li", {
|
|
5466
5470
|
key: t.id,
|
|
5467
5471
|
"data-active": N(t) ? "true" : null,
|
|
5468
5472
|
class: y(e.itemClass)
|
|
@@ -5474,8 +5478,8 @@ var Sa = {
|
|
|
5474
5478
|
queryText: e.queryText,
|
|
5475
5479
|
highlightSearchText: e.highlightSearchText,
|
|
5476
5480
|
level: e.level + 1,
|
|
5477
|
-
onHandleSelected:
|
|
5478
|
-
onSeeMore: r[1] ||= (e) =>
|
|
5481
|
+
onHandleSelected: z,
|
|
5482
|
+
onSeeMore: r[1] ||= (e) => P("see-more", e)
|
|
5479
5483
|
}), null, 16, [
|
|
5480
5484
|
"disabled",
|
|
5481
5485
|
"selectedIds",
|
|
@@ -5483,13 +5487,13 @@ var Sa = {
|
|
|
5483
5487
|
"queryText",
|
|
5484
5488
|
"highlightSearchText",
|
|
5485
5489
|
"level"
|
|
5486
|
-
])], 10, Ga))
|
|
5490
|
+
])], 10, Ga))), 128)), F.value ? (E(), o("li", Ka, [u(An, {
|
|
5487
5491
|
class: "pv-text-brand",
|
|
5488
5492
|
variant: "ghost",
|
|
5489
5493
|
label: "See more",
|
|
5490
5494
|
loading: g.value,
|
|
5491
5495
|
"data-testid": "pv-menu-item-see-more",
|
|
5492
|
-
onClick:
|
|
5496
|
+
onClick: ee
|
|
5493
5497
|
}, null, 8, ["loading"])])) : a("", !0)], 4)) : a("", !0)], 64);
|
|
5494
5498
|
};
|
|
5495
5499
|
}
|
|
@@ -5559,7 +5563,7 @@ var Sa = {
|
|
|
5559
5563
|
for (let t of e) if (b.value.has(t.id) || t.children?.length && x(t.children)) return !0;
|
|
5560
5564
|
return !1;
|
|
5561
5565
|
}, S = (e) => b.value.has(e.id) || i.enableCascadeSelection && p?.value?.has(e.id) || i.enableCascadeSelection && e.children?.length && x(e.children) ? !0 : null, C = (e, t) => !!(!t || b.value.has(e.id) || p?.value?.has(e.id) || e.children?.length && x(e.children));
|
|
5562
|
-
return (n, r) => (E(), o("ul", Ya, [(E(!0), o(t, null, k(e.options, (t) =>
|
|
5566
|
+
return (n, r) => (E(), o("ul", Ya, [(E(!0), o(t, null, k(e.options, (t) => ie((E(), o("li", {
|
|
5563
5567
|
key: t.id,
|
|
5564
5568
|
"data-active": S(t),
|
|
5565
5569
|
"data-testid": e.itemTestId,
|
|
@@ -5576,7 +5580,7 @@ var Sa = {
|
|
|
5576
5580
|
"config",
|
|
5577
5581
|
"itemClass",
|
|
5578
5582
|
"queryText"
|
|
5579
|
-
])], 10, Xa)), [[re, C(t, e.isLoading
|
|
5583
|
+
])], 10, Xa)), [[re, C(t, e.isLoading)]])), 128)), e.hasMoreOptions ? (E(), o("li", Za, [u(An, {
|
|
5580
5584
|
class: "pv-text-brand",
|
|
5581
5585
|
variant: "ghost",
|
|
5582
5586
|
label: "See more",
|
|
@@ -5637,7 +5641,7 @@ var Sa = {
|
|
|
5637
5641
|
action: n.optionsAction,
|
|
5638
5642
|
variant: n.optionsVariant,
|
|
5639
5643
|
counterBadgeVariant: n.counterBadgeVariant
|
|
5640
|
-
})), l = t, [d] =
|
|
5644
|
+
})), l = t, [d] = le(n.defaultOpen), f = L(e, "modelValue"), p = L(e, "searchInput");
|
|
5641
5645
|
B(d, (e) => {
|
|
5642
5646
|
l(e ? "dropdown-open" : "dropdown-closed");
|
|
5643
5647
|
});
|
|
@@ -5673,7 +5677,7 @@ var Sa = {
|
|
|
5673
5677
|
}, T = () => {
|
|
5674
5678
|
d.value = !1, p.value = "";
|
|
5675
5679
|
};
|
|
5676
|
-
return
|
|
5680
|
+
return se("Escape", () => {
|
|
5677
5681
|
d.value && T();
|
|
5678
5682
|
}), (t, n) => (E(), i(Ci, _({
|
|
5679
5683
|
modelValue: I(d),
|
|
@@ -6412,21 +6416,21 @@ var Sa = {
|
|
|
6412
6416
|
overflowY: "auto"
|
|
6413
6417
|
}, t = $t(n.tableMaxHeight);
|
|
6414
6418
|
return t && (e.maxHeight = t), e;
|
|
6415
|
-
}),
|
|
6419
|
+
}), ie = r(() => Lo({
|
|
6416
6420
|
dataRows: _.value,
|
|
6417
6421
|
categoryColumn: w.value,
|
|
6418
6422
|
seriesColumn: T.value,
|
|
6419
6423
|
stackColumn: j.value
|
|
6420
|
-
})),
|
|
6424
|
+
})), H = r(() => Ro({
|
|
6421
6425
|
dataRows: _.value,
|
|
6422
6426
|
categoryColumn: w.value,
|
|
6423
6427
|
seriesColumn: T.value
|
|
6424
|
-
})),
|
|
6428
|
+
})), U = r(() => zo({
|
|
6425
6429
|
dataRows: _.value,
|
|
6426
6430
|
mapColumn: M.value,
|
|
6427
6431
|
seriesColumn: T.value
|
|
6428
|
-
})),
|
|
6429
|
-
aggregatedCategoryChartData:
|
|
6432
|
+
})), ae = r(() => Bo(U.value, T.value?.field)), oe = r(() => Vo(T.value)), se = r(() => Ho({
|
|
6433
|
+
aggregatedCategoryChartData: H.value,
|
|
6430
6434
|
categoryColumn: w.value,
|
|
6431
6435
|
dataLimit: n.dataLimit,
|
|
6432
6436
|
displayDataRows: _.value,
|
|
@@ -6442,22 +6446,22 @@ var Sa = {
|
|
|
6442
6446
|
seriesColumn: T.value,
|
|
6443
6447
|
showSeriesLabels: n.showSeriesLabels,
|
|
6444
6448
|
stackColumn: j.value,
|
|
6445
|
-
stackedChartData:
|
|
6449
|
+
stackedChartData: ie.value,
|
|
6446
6450
|
useDisplayDataRows: n.chartData !== void 0,
|
|
6447
6451
|
xKey: n.xKey,
|
|
6448
6452
|
yKey: n.yKey
|
|
6449
|
-
})),
|
|
6453
|
+
})), W = r(() => dn(se.value)), G = r(() => fn(se.value)), K = r(() => nn({
|
|
6450
6454
|
baseMinHeight: n.minHeight,
|
|
6451
|
-
dataCount:
|
|
6455
|
+
dataCount: W.value,
|
|
6452
6456
|
enableChartScrolling: n.enableChartScrolling,
|
|
6453
|
-
isHorizontalScrollingChart:
|
|
6454
|
-
})),
|
|
6455
|
-
if (!(!n.enableChartScrolling || !
|
|
6456
|
-
}),
|
|
6457
|
-
chartMinHeight:
|
|
6458
|
-
dataCount:
|
|
6457
|
+
isHorizontalScrollingChart: G.value
|
|
6458
|
+
})), ce = r(() => {
|
|
6459
|
+
if (!(!n.enableChartScrolling || !G.value)) return { maxHeight: `${n.minHeight}px` };
|
|
6460
|
+
}), q = r(() => rn({
|
|
6461
|
+
chartMinHeight: K.value,
|
|
6462
|
+
dataCount: W.value,
|
|
6459
6463
|
enableChartScrolling: n.enableChartScrolling,
|
|
6460
|
-
isHorizontalScrollingChart:
|
|
6464
|
+
isHorizontalScrollingChart: G.value,
|
|
6461
6465
|
minContentWidth: 320
|
|
6462
6466
|
}));
|
|
6463
6467
|
return (n, r) => (E(), i(vn, {
|
|
@@ -6486,14 +6490,14 @@ var Sa = {
|
|
|
6486
6490
|
}, [u(ro, {
|
|
6487
6491
|
selectedRegion: ee.value,
|
|
6488
6492
|
"onUpdate:selectedRegion": r[1] ||= (e) => ee.value = e,
|
|
6489
|
-
chartData:
|
|
6493
|
+
chartData: U.value,
|
|
6490
6494
|
displayRegionSelector: !1,
|
|
6491
|
-
gradientLegendMin:
|
|
6492
|
-
gradientLegendMax:
|
|
6495
|
+
gradientLegendMin: ae.value.min,
|
|
6496
|
+
gradientLegendMax: ae.value.max,
|
|
6493
6497
|
isLoading: e.chartLoading,
|
|
6494
6498
|
noDataMessage: e.noDataOverlayText,
|
|
6495
6499
|
seriesKey: T.value?.field ?? "value",
|
|
6496
|
-
seriesValueFormatter:
|
|
6500
|
+
seriesValueFormatter: oe.value
|
|
6497
6501
|
}, null, 8, [
|
|
6498
6502
|
"selectedRegion",
|
|
6499
6503
|
"chartData",
|
|
@@ -6506,14 +6510,14 @@ var Sa = {
|
|
|
6506
6510
|
])], 4)) : (E(), o("div", {
|
|
6507
6511
|
key: 2,
|
|
6508
6512
|
class: y(["pv-data-widget__chart-scroll", { "pv-data-widget__chart-scroll--enabled pv-scroll": e.enableChartScrolling }]),
|
|
6509
|
-
style: x(
|
|
6513
|
+
style: x(ce.value)
|
|
6510
6514
|
}, [s("div", {
|
|
6511
6515
|
class: "pv-data-widget__chart-content",
|
|
6512
|
-
style: x(
|
|
6516
|
+
style: x(q.value)
|
|
6513
6517
|
}, [u(Zt, {
|
|
6514
|
-
options:
|
|
6518
|
+
options: se.value,
|
|
6515
6519
|
isLoading: e.chartLoading,
|
|
6516
|
-
minHeight:
|
|
6520
|
+
minHeight: K.value
|
|
6517
6521
|
}, null, 8, [
|
|
6518
6522
|
"options",
|
|
6519
6523
|
"isLoading",
|
|
@@ -6626,7 +6630,7 @@ var Sa = {
|
|
|
6626
6630
|
zIndex: 10,
|
|
6627
6631
|
...d.popoverCssProperties
|
|
6628
6632
|
} : d.popoverCssProperties);
|
|
6629
|
-
return (t, r) =>
|
|
6633
|
+
return (t, r) => ie((E(), o("div", Xo, [s("button", {
|
|
6630
6634
|
ref_key: "triggerRef",
|
|
6631
6635
|
ref: m,
|
|
6632
6636
|
class: y({
|
|
@@ -6657,7 +6661,7 @@ var Sa = {
|
|
|
6657
6661
|
"alignment",
|
|
6658
6662
|
"isList",
|
|
6659
6663
|
"isSortable"
|
|
6660
|
-
])], 8, ["to", "disabled"]))])), [[I(
|
|
6664
|
+
])], 8, ["to", "disabled"]))])), [[I(J), C]]);
|
|
6661
6665
|
}
|
|
6662
6666
|
}), [["__scopeId", "data-v-79a7def3"]]), es = ["data-style"], ts = /* @__PURE__ */ d({
|
|
6663
6667
|
__name: "PvTag",
|
|
@@ -6717,7 +6721,7 @@ var Sa = {
|
|
|
6717
6721
|
"data-testid": "pv-tag-close-icon",
|
|
6718
6722
|
size: 12,
|
|
6719
6723
|
name: "close",
|
|
6720
|
-
onClick: r[0] ||=
|
|
6724
|
+
onClick: r[0] ||= H((n) => t.$emit("handle-close", e.label), ["stop"])
|
|
6721
6725
|
})) : a("", !0)
|
|
6722
6726
|
], 14, es));
|
|
6723
6727
|
}
|
|
@@ -6876,7 +6880,7 @@ var fs = {
|
|
|
6876
6880
|
d.value && c?.value?.setAttribute("open", "true"), r.closeOnClickOutside && f();
|
|
6877
6881
|
});
|
|
6878
6882
|
let f = () => {
|
|
6879
|
-
c.value &&
|
|
6883
|
+
c.value && oe(c.value, () => {
|
|
6880
6884
|
d.value && (i("click-outside"), p());
|
|
6881
6885
|
}, { ignore: [".pv-click-outside-ignore"] });
|
|
6882
6886
|
}, p = () => {
|
|
@@ -6884,7 +6888,7 @@ var fs = {
|
|
|
6884
6888
|
};
|
|
6885
6889
|
return B(() => d.value, () => {
|
|
6886
6890
|
d.value ? c?.value?.setAttribute("open", "true") : c?.value?.removeAttribute("open");
|
|
6887
|
-
}),
|
|
6891
|
+
}), se("Escape", () => {
|
|
6888
6892
|
c.value && d.value && p();
|
|
6889
6893
|
}), (n, i) => (E(), o("div", {
|
|
6890
6894
|
class: "pv-drawer pv-surface",
|
|
@@ -7097,7 +7101,7 @@ var fs = {
|
|
|
7097
7101
|
state: "deselected"
|
|
7098
7102
|
}))), t.push(r);
|
|
7099
7103
|
}
|
|
7100
|
-
for (let n of
|
|
7104
|
+
for (let n of U.value) e.has(n.id) || t.push({
|
|
7101
7105
|
id: n.id,
|
|
7102
7106
|
state: "selected"
|
|
7103
7107
|
});
|
|
@@ -7105,18 +7109,18 @@ var fs = {
|
|
|
7105
7109
|
}, C = r(() => c.hasMoreOptions == null ? c.totalOptionCount == null ? !1 : c.totalOptionCount > c.options.length : c.hasMoreOptions), w = r(() => {
|
|
7106
7110
|
let e = c.additionalCounter ?? 0;
|
|
7107
7111
|
if (c.enableCascadeSelection && c.countSelectedParents && R.value?.length) return ba(R.value) + e;
|
|
7108
|
-
if (!c.countSelectedParents || !c.enableCascadeSelection) return
|
|
7109
|
-
let t = new Set(
|
|
7112
|
+
if (!c.countSelectedParents || !c.enableCascadeSelection) return U.value.length + e;
|
|
7113
|
+
let t = new Set(U.value.map((e) => e.id));
|
|
7110
7114
|
return ya(c.options, t) + e;
|
|
7111
|
-
}), T = r(() =>
|
|
7115
|
+
}), T = r(() => U.value.length > 0 ? !0 : c.enableCascadeSelection && R.value?.length ? R.value.some((e) => e.state === "selected") : !1), O = (e) => {
|
|
7112
7116
|
g("see-more", e ?? {});
|
|
7113
|
-
}, j = z("searchInputRef"), [M, F] =
|
|
7114
|
-
|
|
7117
|
+
}, j = z("searchInputRef"), [M, F] = le(c.defaultOpen), ee = L(e, "modelValue"), R = L(e, "selectionState"), te = L(e, "searchInput"), ne = r(() => c.menuActionsVariant === "cancel-confirm"), re = (e) => {
|
|
7118
|
+
U.value = e, ne.value || (ee.value = e, R.value = S());
|
|
7119
|
+
}, ie = () => {
|
|
7120
|
+
ne.value && (ee.value = U.value, R.value = S());
|
|
7115
7121
|
}, H = () => {
|
|
7116
|
-
ne.value && (
|
|
7117
|
-
}, U = () => {
|
|
7118
|
-
ne.value && (W.value = ee.value);
|
|
7119
|
-
}, W = N(ee.value), ie = (e) => d.value.get(e), ae = (e) => {
|
|
7122
|
+
ne.value && (U.value = ee.value);
|
|
7123
|
+
}, U = N(ee.value), ae = (e) => d.value.get(e), oe = (e) => {
|
|
7120
7124
|
if (!c.enableCascadeSelection || !e) return;
|
|
7121
7125
|
let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Map(), r = [], i = /* @__PURE__ */ new Set(), a = (e, t) => {
|
|
7122
7126
|
i.has(t) || (i.add(t), r.push(e ?? {
|
|
@@ -7132,55 +7136,55 @@ var fs = {
|
|
|
7132
7136
|
for (let t of i) e.has(t.id) || a(t, t.id);
|
|
7133
7137
|
continue;
|
|
7134
7138
|
}
|
|
7135
|
-
a(
|
|
7139
|
+
a(ae(r.id), r.id);
|
|
7136
7140
|
}
|
|
7137
|
-
f.value = t, m.value = n,
|
|
7138
|
-
},
|
|
7139
|
-
get: () =>
|
|
7141
|
+
f.value = t, m.value = n, U.value = r;
|
|
7142
|
+
}, W = r({
|
|
7143
|
+
get: () => U.value,
|
|
7140
7144
|
set: (e) => {
|
|
7141
7145
|
c.readOnly || re(e);
|
|
7142
7146
|
}
|
|
7143
|
-
}),
|
|
7147
|
+
}), G = () => {
|
|
7144
7148
|
te.value = "", M.value = !1;
|
|
7145
|
-
},
|
|
7149
|
+
}, K = r(() => {
|
|
7146
7150
|
let e = c.size === "lg" ? 24 : 30;
|
|
7147
7151
|
return c.overlayTrigger ? -e : void 0;
|
|
7148
7152
|
});
|
|
7149
7153
|
B(() => ee.value, (e) => {
|
|
7150
7154
|
if (c.enableCascadeSelection && R.value?.length && e.length === 0) {
|
|
7151
|
-
|
|
7155
|
+
oe(R.value);
|
|
7152
7156
|
return;
|
|
7153
7157
|
}
|
|
7154
|
-
|
|
7158
|
+
U.value = e;
|
|
7155
7159
|
}), B(() => [R.value, c.options], () => {
|
|
7156
|
-
|
|
7160
|
+
oe(R.value);
|
|
7157
7161
|
}, {
|
|
7158
7162
|
deep: !0,
|
|
7159
7163
|
immediate: !0
|
|
7160
7164
|
}), B(M, (e) => {
|
|
7161
|
-
e ? (
|
|
7165
|
+
e ? (H(), v(() => {
|
|
7162
7166
|
c.overlayTrigger && !c.disableSearchInput && j.value?.input?.focus(), g("dropdown-open");
|
|
7163
|
-
})) : (
|
|
7167
|
+
})) : (H(), g("dropdown-closed"));
|
|
7164
7168
|
});
|
|
7165
|
-
let
|
|
7169
|
+
let ce = r(() => {
|
|
7166
7170
|
if (te.value === "") return c.options;
|
|
7167
7171
|
let e = te.value.toLocaleLowerCase();
|
|
7168
7172
|
return c.enableCascadeSelection ? xa(c.options, e, !c.hideParentOnChildQueryMatch) : c.options.filter((t) => t.text.toLocaleLowerCase().includes(e) || t.searchText?.toLocaleLowerCase().includes(e));
|
|
7169
|
-
}),
|
|
7173
|
+
}), q = () => {
|
|
7170
7174
|
if (c.enableCascadeSelection) {
|
|
7171
7175
|
let e = /* @__PURE__ */ new Set(), t = (n) => {
|
|
7172
7176
|
for (let r of n) ga(r) && (e.add(r.id), r.children?.length && t(r.children));
|
|
7173
7177
|
};
|
|
7174
|
-
t(
|
|
7178
|
+
t(ce.value), f.value = e, m.value = /* @__PURE__ */ new Map();
|
|
7175
7179
|
}
|
|
7176
|
-
re(c.enableCascadeSelection ? _a(
|
|
7177
|
-
}, le = () => {
|
|
7178
|
-
f.value = /* @__PURE__ */ new Set(), m.value = /* @__PURE__ */ new Map(), re([]);
|
|
7179
|
-
}, Y = () => {
|
|
7180
|
-
U(), K();
|
|
7180
|
+
re(c.enableCascadeSelection ? _a(ce.value) : ce.value);
|
|
7181
7181
|
}, ue = () => {
|
|
7182
|
-
|
|
7183
|
-
},
|
|
7182
|
+
f.value = /* @__PURE__ */ new Set(), m.value = /* @__PURE__ */ new Map(), re([]);
|
|
7183
|
+
}, J = () => {
|
|
7184
|
+
H(), G();
|
|
7185
|
+
}, de = () => {
|
|
7186
|
+
ie(), G();
|
|
7187
|
+
}, fe = r(() => {
|
|
7184
7188
|
if (!c.groupings) return;
|
|
7185
7189
|
let e = /* @__PURE__ */ new Map();
|
|
7186
7190
|
c.groupings.forEach((t) => {
|
|
@@ -7192,23 +7196,23 @@ var fs = {
|
|
|
7192
7196
|
}
|
|
7193
7197
|
for (let [t, n] of e) n.length === 0 && e.delete(t);
|
|
7194
7198
|
return Array.from(e.entries());
|
|
7195
|
-
}),
|
|
7199
|
+
}), pe = r(() => c.groupings && te.value === ""), me = r(() => ({
|
|
7196
7200
|
...c,
|
|
7197
7201
|
selectedItems: ee.value,
|
|
7198
7202
|
searchInput: te.value,
|
|
7199
7203
|
slotContext: c.slotContext,
|
|
7200
7204
|
isOpen: M.value,
|
|
7201
7205
|
isLoading: c.isLoading
|
|
7202
|
-
})),
|
|
7203
|
-
let e =
|
|
7206
|
+
})), he = z("popoverContentRef"), ge = r(() => {
|
|
7207
|
+
let e = he.value?.getRootNode();
|
|
7204
7208
|
return e instanceof ShadowRoot ? e.host : null;
|
|
7205
|
-
}), { present:
|
|
7206
|
-
return
|
|
7207
|
-
M.value &&
|
|
7209
|
+
}), { present: _e } = ra("header", { host: ge }), { present: ve } = ra("no-results", { host: ge }), { present: ye } = ra("footer", { host: ge });
|
|
7210
|
+
return se("Escape", () => {
|
|
7211
|
+
M.value && G();
|
|
7208
7212
|
}), (n, r) => (E(), i(Ci, _({
|
|
7209
7213
|
modelValue: I(M),
|
|
7210
7214
|
"onUpdate:modelValue": r[4] ||= (e) => h(M) ? M.value = e : null
|
|
7211
|
-
}, e.popoverProperties, { offset:
|
|
7215
|
+
}, e.popoverProperties, { offset: K.value }), {
|
|
7212
7216
|
trigger: V(() => [u(da, {
|
|
7213
7217
|
ref: "select-button-trigger-ref",
|
|
7214
7218
|
variant: e.variant,
|
|
@@ -7224,8 +7228,8 @@ var fs = {
|
|
|
7224
7228
|
open: I(M),
|
|
7225
7229
|
"counter-value": w.value,
|
|
7226
7230
|
"counter-style": e.counterStyle,
|
|
7227
|
-
"selected-items":
|
|
7228
|
-
onHandleClear:
|
|
7231
|
+
"selected-items": U.value,
|
|
7232
|
+
onHandleClear: ue,
|
|
7229
7233
|
onHandleToggleDropdown: r[0] ||= (e) => I(F)()
|
|
7230
7234
|
}, null, 8, [
|
|
7231
7235
|
"variant",
|
|
@@ -7245,7 +7249,7 @@ var fs = {
|
|
|
7245
7249
|
])]),
|
|
7246
7250
|
content: V(() => [s("div", {
|
|
7247
7251
|
ref_key: "popoverContentRef",
|
|
7248
|
-
ref:
|
|
7252
|
+
ref: he,
|
|
7249
7253
|
class: "pv-popover",
|
|
7250
7254
|
"data-test-id": "pv-popover",
|
|
7251
7255
|
style: x({
|
|
@@ -7265,12 +7269,12 @@ var fs = {
|
|
|
7265
7269
|
"placeholder",
|
|
7266
7270
|
"disabled"
|
|
7267
7271
|
])])),
|
|
7268
|
-
n.$slots.header || I(
|
|
7269
|
-
|
|
7272
|
+
n.$slots.header || I(_e) ? (E(), o("div", ws, [A(n.$slots, "header", b(p(me.value)))])) : a("", !0),
|
|
7273
|
+
ce.value.length > 0 ? (E(), o(t, { key: 2 }, [pe.value ? (E(!0), o(t, { key: 0 }, k(fe.value, ([t, i], s) => (E(), o("div", { key: t }, [
|
|
7270
7274
|
n.$slots[t] ? A(n.$slots, t, { key: 0 }) : t === "other" ? a("", !0) : (E(), o("span", Ts, P(t), 1)),
|
|
7271
7275
|
u(Qa, {
|
|
7272
|
-
selectedItems:
|
|
7273
|
-
"onUpdate:selectedItems": r[2] ||= (e) =>
|
|
7276
|
+
selectedItems: W.value,
|
|
7277
|
+
"onUpdate:selectedItems": r[2] ||= (e) => W.value = e,
|
|
7274
7278
|
options: i,
|
|
7275
7279
|
config: l.value,
|
|
7276
7280
|
queryText: e.highlightSearchText ? te.value : null,
|
|
@@ -7279,7 +7283,7 @@ var fs = {
|
|
|
7279
7283
|
isLoading: e.isLoading,
|
|
7280
7284
|
isSeeMoreLoading: e.isSeeMoreLoading,
|
|
7281
7285
|
enableCascadeSelection: e.enableCascadeSelection,
|
|
7282
|
-
hasMoreOptions: s ===
|
|
7286
|
+
hasMoreOptions: s === fe.value.length - 1 && C.value && !e.isLoading,
|
|
7283
7287
|
readOnly: e.readOnly,
|
|
7284
7288
|
onSeeMore: O
|
|
7285
7289
|
}, null, 8, [
|
|
@@ -7294,12 +7298,12 @@ var fs = {
|
|
|
7294
7298
|
"hasMoreOptions",
|
|
7295
7299
|
"readOnly"
|
|
7296
7300
|
]),
|
|
7297
|
-
|
|
7301
|
+
fe.value && s !== fe.value.length - 1 ? (E(), o("div", Es)) : a("", !0)
|
|
7298
7302
|
]))), 128)) : (E(), i(Qa, {
|
|
7299
7303
|
key: 1,
|
|
7300
|
-
selectedItems:
|
|
7301
|
-
"onUpdate:selectedItems": r[3] ||= (e) =>
|
|
7302
|
-
options:
|
|
7304
|
+
selectedItems: W.value,
|
|
7305
|
+
"onUpdate:selectedItems": r[3] ||= (e) => W.value = e,
|
|
7306
|
+
options: ce.value,
|
|
7303
7307
|
config: l.value,
|
|
7304
7308
|
queryText: e.highlightSearchText ? te.value : null,
|
|
7305
7309
|
itemTestId: `pv-multiselect-${e.label}-item`,
|
|
@@ -7320,15 +7324,15 @@ var fs = {
|
|
|
7320
7324
|
"hasMoreOptions",
|
|
7321
7325
|
"readOnly"
|
|
7322
7326
|
]))], 64)) : a("", !0),
|
|
7323
|
-
e.isLoading ? (E(), o("div", Ds, [u(St, { variant: "dark" })])) :
|
|
7324
|
-
s("div", Os, [I(
|
|
7327
|
+
e.isLoading ? (E(), o("div", Ds, [u(St, { variant: "dark" })])) : ce.value.length === 0 ? (E(), o(t, { key: 4 }, [I(ve) ? A(n.$slots, "no-results", b(_({ key: 0 }, me.value))) : (E(), i(ha, { key: 1 }))], 64)) : a("", !0),
|
|
7328
|
+
s("div", Os, [I(ye) ? A(n.$slots, "footer", b(_({ key: 0 }, me.value))) : a("", !0), e.menuActionsVariant && !e.readOnly ? (E(), i(Ss, {
|
|
7325
7329
|
key: 1,
|
|
7326
7330
|
variant: e.menuActionsVariant,
|
|
7327
7331
|
disabled: e.isLoading,
|
|
7328
|
-
onHandleClearAll:
|
|
7329
|
-
onHandleSelectAll:
|
|
7330
|
-
onHandleCancel:
|
|
7331
|
-
onHandleConfirm:
|
|
7332
|
+
onHandleClearAll: ue,
|
|
7333
|
+
onHandleSelectAll: q,
|
|
7334
|
+
onHandleCancel: J,
|
|
7335
|
+
onHandleConfirm: de
|
|
7332
7336
|
}, null, 8, ["variant", "disabled"])) : a("", !0)])
|
|
7333
7337
|
], 4)]),
|
|
7334
7338
|
_: 3
|
|
@@ -7851,7 +7855,7 @@ var As = "__pv_filter_panel_scoped_value__", js = (e) => typeof e == "object" &&
|
|
|
7851
7855
|
let n = e, c = { renderer: vc }, l = z("search-input"), d = L(e, "searchText"), f = L(e, "query"), p = L(e, "options"), { addQueryOption: m, containsQueryOption: h } = dc(), g = O(!1), v = O(!1), b = O(!1), S = r(() => f.value === null ? n.placeholder : ""), C = O(null), w = r(() => C.value !== null && C.value !== "" && !v.value), T = () => {
|
|
7852
7856
|
f.value = null, d.value = "", C.value = null, b.value = !1;
|
|
7853
7857
|
};
|
|
7854
|
-
n.enableCustomOptionsInput &&
|
|
7858
|
+
n.enableCustomOptionsInput && se("Enter", () => {
|
|
7855
7859
|
d.value.trim() && D();
|
|
7856
7860
|
}, { target: l });
|
|
7857
7861
|
let D = () => {
|
|
@@ -7906,7 +7910,7 @@ var As = "__pv_filter_panel_scoped_value__", js = (e) => typeof e == "object" &&
|
|
|
7906
7910
|
let ee = () => {
|
|
7907
7911
|
d.value = "";
|
|
7908
7912
|
};
|
|
7909
|
-
return (n, r) =>
|
|
7913
|
+
return (n, r) => ie((E(), o("div", {
|
|
7910
7914
|
ref: "query-builder-input",
|
|
7911
7915
|
class: "pv-relative pv-query-builder-input-wrapper",
|
|
7912
7916
|
onFocus: F,
|
|
@@ -7932,7 +7936,7 @@ var As = "__pv_filter_panel_scoped_value__", js = (e) => typeof e == "object" &&
|
|
|
7932
7936
|
"modelValue",
|
|
7933
7937
|
"wrap-content",
|
|
7934
7938
|
"query-term-display-limit"
|
|
7935
|
-
]),
|
|
7939
|
+
]), ie(s("input", {
|
|
7936
7940
|
"onUpdate:modelValue": r[2] ||= (e) => d.value = e,
|
|
7937
7941
|
ref: "search-input",
|
|
7938
7942
|
"data-testid": "pv-search-input",
|
|
@@ -7969,7 +7973,7 @@ var As = "__pv_filter_panel_scoped_value__", js = (e) => typeof e == "object" &&
|
|
|
7969
7973
|
}), null, 16, ["onHandleSelected"]))), 128))]),
|
|
7970
7974
|
_: 1
|
|
7971
7975
|
}, 8, ["class"])) : a("", !0)
|
|
7972
|
-
], 32)), [[I(
|
|
7976
|
+
], 32)), [[I(J), j]]);
|
|
7973
7977
|
}
|
|
7974
7978
|
}), [["__scopeId", "data-v-4decbec2"]]), wc = Symbol("FilterStoreKey"), Tc = Symbol("FocusStoreKey"), Ec = Symbol("SortStateKey"), Dc = Symbol("GridApiKey"), Oc = Symbol("ColumnDisplayOrderKey"), kc = Symbol("currentlyActiveFilterKey"), Ac = Symbol("AvailableFilterColumnsKey"), jc = Symbol("AvailableRowGroupColumnsKey"), Mc = Symbol("RowGroupColumnFieldsKey"), Nc = Symbol("GroupColumnCellValueColumnKey"), Pc = Symbol("ExpandedRowsKey"), Fc = Symbol("FirstDataRenderedKey"), Ic = Symbol("RowsLoadingKey"), Lc = Symbol("CurrentPageKey"), Rc = Symbol("TotalPageKey"), zc = Symbol("ActiveChartFilterOptionKey"), Bc = Symbol("RowGroupColumnsKey"), Vc = Symbol("ChartTypeKey"), Hc = Symbol("SortTypesKey"), Uc = Symbol("ActiveChartKey"), Wc = Symbol("ActiveSortKey"), Gc = Symbol("ActiveSeriesKey"), Kc = Symbol("AvailableSeriesKey"), qc = Symbol("ActiveSecondarySeriesKey"), Jc = Symbol("AvailableSecondarySeriesKey"), Yc = Symbol("EnableAdvancedFilterKey"), Xc = Symbol("ActiveCrosslineOverlayGroupsKey"), Zc = Symbol("AvailableCrosslineOverlayGroupsKey"), Qc = {
|
|
7975
7979
|
class: "pv-flex",
|
|
@@ -8108,7 +8112,7 @@ var ll = /* @__PURE__ */ Xt(ol, [["render", cl]]), ul = ["innerHTML"], dl = { ke
|
|
|
8108
8112
|
__name: "GroupedCellRenderer",
|
|
8109
8113
|
props: { params: {} },
|
|
8110
8114
|
setup(e) {
|
|
8111
|
-
let n = e, i = m(Mc, O([])), c = m(Nc, O(null)), d = m(Pc, O({})), f =
|
|
8115
|
+
let n = e, i = m(Mc, O([])), c = m(Nc, O(null)), d = m(Pc, O({})), f = W(n.params, "rowNode"), p = r(() => !n.params.displayBaseAggregationsOnly || f.value.level === i.value.length - 1), h = r(() => n.params.rowNode.group), g = r(() => {
|
|
8112
8116
|
let e = f.value.data;
|
|
8113
8117
|
if (e?.bucketMin !== void 0 && e?.bucketMax !== void 0) {
|
|
8114
8118
|
let t = f.value.rowGroupColumn?.getColDef()?.valueFormatter;
|
|
@@ -8814,42 +8818,42 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
8814
8818
|
useStaged: !1
|
|
8815
8819
|
}), re(n, i);
|
|
8816
8820
|
return x.value;
|
|
8817
|
-
},
|
|
8821
|
+
}, ie = (e, t) => {
|
|
8818
8822
|
S.value[e] = t;
|
|
8819
|
-
},
|
|
8823
|
+
}, H = (e) => C.value[e] || [], U = (e, t) => {
|
|
8820
8824
|
C.value[e] = t;
|
|
8821
|
-
},
|
|
8825
|
+
}, ae = (e, t) => {
|
|
8822
8826
|
A.value[e] = t;
|
|
8823
|
-
},
|
|
8827
|
+
}, oe = (e) => {
|
|
8824
8828
|
let t = M.value[e] ?? 0;
|
|
8825
8829
|
M.value[e] = t + 1, j.value.add(e);
|
|
8826
|
-
},
|
|
8830
|
+
}, se = (e) => {
|
|
8827
8831
|
let t = M.value[e] ?? 0;
|
|
8828
8832
|
if (t <= 1) {
|
|
8829
8833
|
delete M.value[e], j.value.delete(e);
|
|
8830
8834
|
return;
|
|
8831
8835
|
}
|
|
8832
8836
|
M.value[e] = t - 1;
|
|
8833
|
-
},
|
|
8837
|
+
}, W = (e) => {
|
|
8834
8838
|
let t = new Set(e);
|
|
8835
8839
|
for (let n of e) {
|
|
8836
8840
|
let e = A.value[n] || [];
|
|
8837
8841
|
for (let n of e) t.add(n);
|
|
8838
8842
|
}
|
|
8839
8843
|
for (let e of j.value) t.has(e) || (w.value[e] = !0);
|
|
8840
|
-
},
|
|
8844
|
+
}, G = e.initStagedFilterSelections, K = e.clearStagedFilterSelections, ce = (e) => P.value[e] || [], q = (e, t) => {
|
|
8841
8845
|
P.value[e] = t;
|
|
8842
|
-
},
|
|
8846
|
+
}, le = (e) => {
|
|
8843
8847
|
t.value = e;
|
|
8844
|
-
},
|
|
8848
|
+
}, J = (e) => {
|
|
8845
8849
|
(!e || t.value === e) && (t.value = null);
|
|
8846
|
-
},
|
|
8850
|
+
}, de = () => t.value?.getFilterModel() ?? n.value, fe = (e) => {
|
|
8847
8851
|
let r = t.value?.setFilterModel(e);
|
|
8848
8852
|
(!t.value || r === !1) && (n.value = e);
|
|
8849
|
-
},
|
|
8853
|
+
}, pe = (e) => {
|
|
8850
8854
|
let n = t.value?.setTableSearchFilterModel(e);
|
|
8851
8855
|
(!t.value || n === !1) && (a.value = e);
|
|
8852
|
-
},
|
|
8856
|
+
}, me = (e) => t.value?.refreshData(e), he = (e, t) => {
|
|
8853
8857
|
let n = /* @__PURE__ */ new Set(), r = e ? Object.keys(e) : [], i = t ? Object.keys(t) : [], a = r.filter((e) => i.includes(e));
|
|
8854
8858
|
[...r, ...i].filter((e) => !a.includes(e)).forEach((e) => n.add(e));
|
|
8855
8859
|
for (let r of a) JSON.stringify(e?.[r]) !== JSON.stringify(t?.[r]) && n.add(r);
|
|
@@ -8857,9 +8861,9 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
8857
8861
|
for (let e of Array.from(n)) o.value[e] = s;
|
|
8858
8862
|
return n;
|
|
8859
8863
|
};
|
|
8860
|
-
return
|
|
8864
|
+
return ue([n, i], ([e, t], [r, i]) => {
|
|
8861
8865
|
let a = /* @__PURE__ */ new Set();
|
|
8862
|
-
JSON.stringify(e) !== JSON.stringify(r) &&
|
|
8866
|
+
JSON.stringify(e) !== JSON.stringify(r) && he(e || {}, r || {}).forEach((e) => a.add(e)), JSON.stringify(t) !== JSON.stringify(i) && he(t || {}, n.value || {}).forEach((e) => a.add(e)), a.size > 0 && W(a);
|
|
8863
8867
|
}, {
|
|
8864
8868
|
deep: !0,
|
|
8865
8869
|
debounce: 200,
|
|
@@ -8887,34 +8891,34 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
8887
8891
|
stagedFilterModel: i,
|
|
8888
8892
|
setFilterSelectedValues: re,
|
|
8889
8893
|
hydrateSelectedFilterMetadata: V,
|
|
8890
|
-
setFilterValueSearchText:
|
|
8894
|
+
setFilterValueSearchText: ie,
|
|
8891
8895
|
tableSearchFilterModel: a,
|
|
8892
8896
|
tableSearchFilterModelEmpty: v,
|
|
8893
8897
|
tableSearchHandler: m,
|
|
8894
8898
|
filterValuesMap: C,
|
|
8895
|
-
getFilterValues:
|
|
8896
|
-
setFilterValues:
|
|
8899
|
+
getFilterValues: H,
|
|
8900
|
+
setFilterValues: U,
|
|
8897
8901
|
filterStaleMap: w,
|
|
8898
8902
|
refreshFiltersInBackground: E,
|
|
8899
8903
|
stageFilterChangesUntilDropdownCloses: D,
|
|
8900
8904
|
filterSearchMinLength: k,
|
|
8901
|
-
markOtherFieldsStale:
|
|
8905
|
+
markOtherFieldsStale: W,
|
|
8902
8906
|
aggregateFieldMap: A,
|
|
8903
|
-
registerAggregateField:
|
|
8907
|
+
registerAggregateField: ae,
|
|
8904
8908
|
registeredFilterFields: j,
|
|
8905
|
-
registerFilterField:
|
|
8906
|
-
unregisterFilterField:
|
|
8909
|
+
registerFilterField: oe,
|
|
8910
|
+
unregisterFilterField: se,
|
|
8907
8911
|
stagedSelectedValuesMap: P,
|
|
8908
|
-
initStagedSelectedValues:
|
|
8909
|
-
clearStagedSelectedValues:
|
|
8910
|
-
getStagedSelectedValues:
|
|
8911
|
-
setStagedSelectedValues:
|
|
8912
|
-
registerFilterController:
|
|
8913
|
-
unregisterFilterController:
|
|
8914
|
-
getFilterModel:
|
|
8915
|
-
applyFilterModel:
|
|
8916
|
-
applyTableSearchFilterModel:
|
|
8917
|
-
refreshData:
|
|
8912
|
+
initStagedSelectedValues: G,
|
|
8913
|
+
clearStagedSelectedValues: K,
|
|
8914
|
+
getStagedSelectedValues: ce,
|
|
8915
|
+
setStagedSelectedValues: q,
|
|
8916
|
+
registerFilterController: le,
|
|
8917
|
+
unregisterFilterController: J,
|
|
8918
|
+
getFilterModel: de,
|
|
8919
|
+
applyFilterModel: fe,
|
|
8920
|
+
applyTableSearchFilterModel: pe,
|
|
8921
|
+
refreshData: me,
|
|
8918
8922
|
filterValueSearchTextMap: S,
|
|
8919
8923
|
filterValuesHasMoreMap: f,
|
|
8920
8924
|
filterValuesTotalCountMap: p
|
|
@@ -8926,98 +8930,98 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
8926
8930
|
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().");
|
|
8927
8931
|
return e;
|
|
8928
8932
|
}, ju = (e) => {
|
|
8929
|
-
let { filterColDef: t, filterStyle: n, onSelectionChanged: i, filterGroupStagedFields: a, readOnly: o } = e, s = m(Dc, O(null)), c = ku(), { fetchFilterValues: l, invalidateFilterRequest: u, filterModel: d, stagedFilterModel: f, filterModelCleared: p, filterValuesLoadingStatus: h, filterValueContext: g, getFilterSelectedValues: _, isServerSideFilter: y, setFilterValueSearchText: b, setFilterSelectedValues: x, getFilterValues: S, setFilterValues: C, filterStaleMap: E, refreshFiltersInBackground: D, stageFilterChangesUntilDropdownCloses: k, filterSearchMinLength: A, markOtherFieldsStale: j, registerAggregateField: M, registerFilterField: N, unregisterFilterField: P, getStagedSelectedValues: F, setStagedSelectedValues: I, filterValueSearchTextMap: ee, filterValuesHasMoreMap: L, filterValuesTotalCountMap: R } = c, { computedFocuses: z, removeFocus: te, computedFocusType: ne } = ml(), re = m(Ic, O(!1)), V = m(Fc, O(!1)),
|
|
8930
|
-
get: () =>
|
|
8933
|
+
let { filterColDef: t, filterStyle: n, onSelectionChanged: i, filterGroupStagedFields: a, readOnly: o } = e, s = m(Dc, O(null)), c = ku(), { fetchFilterValues: l, invalidateFilterRequest: u, filterModel: d, stagedFilterModel: f, filterModelCleared: p, filterValuesLoadingStatus: h, filterValueContext: g, getFilterSelectedValues: _, isServerSideFilter: y, setFilterValueSearchText: b, setFilterSelectedValues: x, getFilterValues: S, setFilterValues: C, filterStaleMap: E, refreshFiltersInBackground: D, stageFilterChangesUntilDropdownCloses: k, filterSearchMinLength: A, markOtherFieldsStale: j, registerAggregateField: M, registerFilterField: N, unregisterFilterField: P, getStagedSelectedValues: F, setStagedSelectedValues: I, filterValueSearchTextMap: ee, filterValuesHasMoreMap: L, filterValuesTotalCountMap: R } = c, { computedFocuses: z, removeFocus: te, computedFocusType: ne } = ml(), re = m(Ic, O(!1)), V = m(Fc, O(!1)), ie = m(Yc, O(!1)), H = r({
|
|
8934
|
+
get: () => q.value ? F(G.value) : _(G.value),
|
|
8931
8935
|
set: (e) => {
|
|
8932
|
-
|
|
8936
|
+
q.value ? I(G.value, e) : x(G.value, e);
|
|
8933
8937
|
}
|
|
8934
|
-
}),
|
|
8935
|
-
let e = S(
|
|
8936
|
-
if (
|
|
8937
|
-
let t = new Set(e), n =
|
|
8938
|
+
}), U = r(() => {
|
|
8939
|
+
let e = S(G.value);
|
|
8940
|
+
if (le.value && de.value.length > 0) {
|
|
8941
|
+
let t = new Set(e), n = de.value.filter((e) => t.has(e)), r = new Set(de.value), i = e.filter((e) => !r.has(e));
|
|
8938
8942
|
return [...n, ...i];
|
|
8939
8943
|
}
|
|
8940
|
-
return
|
|
8941
|
-
}),
|
|
8942
|
-
get: () => ee.value[
|
|
8943
|
-
set: (e) => b(
|
|
8944
|
-
}),
|
|
8945
|
-
let e = A.value ?? 0, t =
|
|
8944
|
+
return je(e);
|
|
8945
|
+
}), ae = r(() => h.value[G.value] ?? !1), oe = r(() => D.value || $(t.value).prefetchFilterValues === !0), se = r({
|
|
8946
|
+
get: () => ee.value[G.value] ?? "",
|
|
8947
|
+
set: (e) => b(G.value, e)
|
|
8948
|
+
}), W = r(() => {
|
|
8949
|
+
let e = A.value ?? 0, t = se.value?.length ?? 0;
|
|
8946
8950
|
return e > 0 && t > 0 && t < e;
|
|
8947
|
-
}),
|
|
8951
|
+
}), G = r(() => t.value.field || ""), K = r(() => t.value.filter || ""), ce = r(() => t.value.headerName || ""), q = r(() => n?.value === "vertical"), le = O(!1), J = O(!1), de = O([]), fe = r(() => jl(t.value)), pe = r(() => Ml(t.value)), me = r(() => Nl(t.value)), he = r(() => $(t.value).filterOptionsSortDescription), ge = r(() => $(t.value).filterOptionsSortTooltip), _e = r(() => !$(t.value).filterSearch), ve = r(() => $(t.value).emptyFilterResultsRenderer), ye = r(() => $(t.value).filterOptionsRenderer), Y = r(() => $(t.value).filterHeaderRenderer), be = r(() => $(t.value).filterFooterRenderer), xe = r(() => pe.value ? H.value.length >= pe.value : !1), Se = r(() => U.value.filter((e) => e != null && !H.value.includes(e))), X = r(() => R.value[G.value]), Ce = r(() => L.value[G.value]), Z = r(() => Rl(t.value)), we = () => new Set([G.value, ...Il(t.value)]), Te = (e, t) => {
|
|
8948
8952
|
let n = new Set(e), r = new Set(t);
|
|
8949
8953
|
return n.size === r.size ? [...n].every((e) => r.has(e)) : !1;
|
|
8950
|
-
},
|
|
8951
|
-
if (
|
|
8954
|
+
}, Ee = O([]), De = O("[]"), Oe = r(() => U.value.length === 1 && U.value[0] === null && H.value.length === 0), ke = (e = !1) => {
|
|
8955
|
+
if (Z.value) return;
|
|
8952
8956
|
let n = [];
|
|
8953
|
-
if (
|
|
8957
|
+
if (ie.value && s.value) {
|
|
8954
8958
|
let e = s.value.getAdvancedFilterModel();
|
|
8955
|
-
n = gu(
|
|
8959
|
+
n = gu(G.value, e);
|
|
8956
8960
|
} else n = su(t.value, d.value);
|
|
8957
|
-
e ?
|
|
8958
|
-
},
|
|
8961
|
+
e ? H.value = n : H.value = Array.from(new Set([..._(G.value), ...n]));
|
|
8962
|
+
}, Ae = (e) => {
|
|
8959
8963
|
let t = (n) => {
|
|
8960
8964
|
for (let r of n) if (r.id === String(e) && r.state === "selected" || r.children && t(r.children)) return !0;
|
|
8961
8965
|
return !1;
|
|
8962
8966
|
};
|
|
8963
|
-
return t(
|
|
8964
|
-
},
|
|
8965
|
-
let n =
|
|
8967
|
+
return t(Ee.value);
|
|
8968
|
+
}, je = (e) => [...e].sort((e, t) => {
|
|
8969
|
+
let n = H.value.includes(e) || Ae(e), r = H.value.includes(t) || Ae(t);
|
|
8966
8970
|
return n && !r ? -1 : !n && r ? 1 : 0;
|
|
8967
|
-
}),
|
|
8968
|
-
if (!s.value
|
|
8969
|
-
let r = E.value[
|
|
8970
|
-
if (
|
|
8971
|
-
if (y.value &&
|
|
8971
|
+
}), Me = async (e = !1, n = !1) => {
|
|
8972
|
+
if (!s.value) return;
|
|
8973
|
+
let r = E.value[G.value] ?? !1, i = h.value[G.value] !== !0, a = (S(G.value) || []).length === 0, o = e && i && (r || n || a);
|
|
8974
|
+
if (ie.value) {
|
|
8975
|
+
if (y.value && o) {
|
|
8972
8976
|
let e = await l(t.value, {
|
|
8973
8977
|
api: s.value,
|
|
8974
8978
|
filterModel: d.value ?? void 0,
|
|
8975
|
-
useStaged:
|
|
8979
|
+
useStaged: q.value
|
|
8976
8980
|
});
|
|
8977
|
-
C(
|
|
8981
|
+
C(G.value, e), E.value[G.value] = !1, _t();
|
|
8978
8982
|
}
|
|
8979
8983
|
return;
|
|
8980
8984
|
}
|
|
8981
|
-
let
|
|
8982
|
-
if (
|
|
8983
|
-
if (y.value &&
|
|
8984
|
-
|
|
8985
|
+
let c = await au(s.value, t.value);
|
|
8986
|
+
if (c) {
|
|
8987
|
+
if (y.value && o) {
|
|
8988
|
+
c.refreshFilterValues();
|
|
8985
8989
|
return;
|
|
8986
8990
|
}
|
|
8987
|
-
C(
|
|
8991
|
+
C(G.value, c.getFilterValues()), E.value[G.value] = !1;
|
|
8988
8992
|
}
|
|
8989
|
-
},
|
|
8990
|
-
let t = g(
|
|
8991
|
-
return !t &&
|
|
8992
|
-
},
|
|
8993
|
+
}, Ne = (e) => {
|
|
8994
|
+
let t = g(G.value, e);
|
|
8995
|
+
return !t && Z.value && e && (t = Qe(e)), t;
|
|
8996
|
+
}, Pe = (e) => e?.field ?? e?.colField, Fe = (e) => e?.rawValue == null ? e?.metadata?.rawValue == null ? e ? We(e.value).value : null : e.metadata.rawValue : e.rawValue, Ie = (e, t) => t?.rawValue == null ? t?.metadata?.rawValue == null ? e : t.metadata.rawValue : t.rawValue, Le = (e, t) => {
|
|
8993
8997
|
if (!e || !t || e.label && e.rawValue == null && e.metadata?.rawValue == null) return e;
|
|
8994
8998
|
let n = ($(t).metadataDisplayFields || []).find((t) => e.metadata?.[t] != null);
|
|
8995
8999
|
return n ? {
|
|
8996
9000
|
...e,
|
|
8997
9001
|
label: String(e.metadata?.[n])
|
|
8998
9002
|
} : e;
|
|
8999
|
-
},
|
|
9000
|
-
let n =
|
|
9001
|
-
if (i &&
|
|
9003
|
+
}, Re = (e, t) => {
|
|
9004
|
+
let n = fe.value, r = t, i = Pe(t);
|
|
9005
|
+
if (i && Z.value) {
|
|
9002
9006
|
let e = s.value?.getColumnDef(i);
|
|
9003
|
-
n = e ? jl(e) ?? n : n, r =
|
|
9007
|
+
n = e ? jl(e) ?? n : n, r = Le(t, e ?? void 0);
|
|
9004
9008
|
}
|
|
9005
9009
|
return n ? n({
|
|
9006
|
-
value:
|
|
9010
|
+
value: Ie(e, r),
|
|
9007
9011
|
context: r
|
|
9008
9012
|
}) : r?.label || e;
|
|
9009
|
-
},
|
|
9013
|
+
}, ze = (e) => Re(e, Ne(e)), Be = (e) => {
|
|
9010
9014
|
if (!$(t.value).metadataDisplayFields?.length || e == null) return !1;
|
|
9011
|
-
let n = g(
|
|
9015
|
+
let n = g(G.value, e);
|
|
9012
9016
|
return n == null || n.label == null;
|
|
9013
|
-
},
|
|
9017
|
+
}, Ve = (e) => Oe.value || g(G.value, e)?.isSelectable === !1 ? !0 : me.value ? !1 : xe.value && !H.value.includes(e), He = (e) => e ? s.value && s.value.getColumnDef(e)?.headerName || e : "", Q = (e, n, r) => tc({
|
|
9014
9018
|
fallbackSubText: n,
|
|
9015
|
-
getDisplayName:
|
|
9019
|
+
getDisplayName: He,
|
|
9016
9020
|
matchedField: e?.matchedField,
|
|
9017
9021
|
matchedValue: e?.matchedValue ?? e?.menuOption?.searchText,
|
|
9018
9022
|
primaryText: r,
|
|
9019
9023
|
showPrefix: $(t.value).showSearchMatchSubTextPrefix !== !1
|
|
9020
|
-
}), Ue = r(() => $s(
|
|
9024
|
+
}), Ue = r(() => $s(G.value, $(t.value).queryColIds, (e) => e === G.value && ce.value || He(e))), We = (e) => {
|
|
9021
9025
|
if (!e.startsWith("__")) return { value: e };
|
|
9022
9026
|
let t = e.slice(2).split("__");
|
|
9023
9027
|
return t.length < 2 ? { value: e } : {
|
|
@@ -9027,7 +9031,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9027
9031
|
}, Ge = (e) => Ks(e, Je()), Ke = (e) => {
|
|
9028
9032
|
let t = We(e.value), n = { ...e };
|
|
9029
9033
|
return !n.field && !n.colField && t.field && (n.field = t.field), n.rawValue == null && n.metadata?.rawValue == null && t.field && (n.rawValue = t.value), e.children?.length && (n.children = e.children.map(Ke)), n;
|
|
9030
|
-
}, qe = r(() => [...c.filterValueMap.value[
|
|
9034
|
+
}, qe = r(() => [...c.filterValueMap.value[G.value] || [], ...c.filterValueSelectedMetadataMap.value[G.value] || []].map((e) => e && Ke(e))), Je = () => qe.value, Ye = (e, t) => {
|
|
9031
9035
|
for (let n of e) {
|
|
9032
9036
|
if (!n) continue;
|
|
9033
9037
|
if (t(n)) return n;
|
|
@@ -9044,7 +9048,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9044
9048
|
}, Ze = (e, t) => qs(Je(), e, t), Qe = (e) => {
|
|
9045
9049
|
let t = (n) => {
|
|
9046
9050
|
if (n) {
|
|
9047
|
-
if (String(
|
|
9051
|
+
if (String(Fe(n) ?? We(n.value).value) === e) return n;
|
|
9048
9052
|
for (let e of n.children || []) {
|
|
9049
9053
|
let n = t(e);
|
|
9050
9054
|
if (n) return n;
|
|
@@ -9076,41 +9080,41 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9076
9080
|
};
|
|
9077
9081
|
}, et = (e) => {
|
|
9078
9082
|
let n = Je(), r = Ye(n, (t) => t.value === e.id);
|
|
9079
|
-
return r?.children?.length ? r : Xe(n, e.id) || (r &&
|
|
9083
|
+
return r?.children?.length ? r : Xe(n, e.id) || (r && Pe(r) === Ll(t.value) ? r : $e(e.id) || r);
|
|
9080
9084
|
}, tt = (e) => {
|
|
9081
|
-
if (!
|
|
9082
|
-
let t = c.filterValueSelectedMetadataMap.value[
|
|
9085
|
+
if (!Z.value) return;
|
|
9086
|
+
let t = c.filterValueSelectedMetadataMap.value[G.value] || [], n = /* @__PURE__ */ new Map();
|
|
9083
9087
|
for (let e of t) e && n.set(e.value, e);
|
|
9084
9088
|
for (let t of e) {
|
|
9085
9089
|
if (t.state !== "selected") continue;
|
|
9086
9090
|
let e = et(t);
|
|
9087
9091
|
e && n.set(e.value, e);
|
|
9088
9092
|
}
|
|
9089
|
-
c.filterValueSelectedMetadataMap.value[
|
|
9093
|
+
c.filterValueSelectedMetadataMap.value[G.value] = [...n.values()];
|
|
9090
9094
|
}, nt = () => {
|
|
9091
9095
|
let e = /* @__PURE__ */ new Set();
|
|
9092
|
-
for (let t of
|
|
9096
|
+
for (let t of Ee.value) {
|
|
9093
9097
|
if (t.state !== "selected") continue;
|
|
9094
9098
|
let n = et(t);
|
|
9095
9099
|
n && e.add(n.value);
|
|
9096
9100
|
}
|
|
9097
|
-
return [...e].filter((e) => !
|
|
9101
|
+
return [...e].filter((e) => !U.value.includes(e));
|
|
9098
9102
|
}, rt = (e) => {
|
|
9099
|
-
let n = g(
|
|
9103
|
+
let n = g(G.value, e), r = (n?.children?.length ?? 0) > 0 || (n?.totalChildCount ?? 0) > 0, i = he.value ? "suggestions" : null;
|
|
9100
9104
|
n?.isPreference && (i = "preferences");
|
|
9101
|
-
let a = null, o =
|
|
9102
|
-
l ? a =
|
|
9105
|
+
let a = null, o = ze(e) || "", l = n?.matchedValue;
|
|
9106
|
+
l ? a = Q(n, n?.subText, o) : n?.subText ? a = n.subText : Pe(n) && Z.value && !r && (a = He(Pe(n)));
|
|
9103
9107
|
let u, f, p;
|
|
9104
9108
|
if (r && (u = (n.children ?? []).map((e) => {
|
|
9105
|
-
let t = e.matchedValue ?? e.menuOption?.searchText, n =
|
|
9109
|
+
let t = e.matchedValue ?? e.menuOption?.searchText, n = Re(e.value, e) || "";
|
|
9106
9110
|
return {
|
|
9107
9111
|
...e.menuOption,
|
|
9108
9112
|
id: e.value,
|
|
9109
9113
|
text: n,
|
|
9110
9114
|
searchText: t,
|
|
9111
|
-
subText:
|
|
9115
|
+
subText: Q(e, e.subText, n),
|
|
9112
9116
|
subduedText: e.subduedText,
|
|
9113
|
-
disabled: e.menuOption?.disabled ??
|
|
9117
|
+
disabled: e.menuOption?.disabled ?? Ve(e.value),
|
|
9114
9118
|
context: e,
|
|
9115
9119
|
classList: e.menuOption?.classList ?? ["option-label"]
|
|
9116
9120
|
};
|
|
@@ -9121,23 +9125,23 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9121
9125
|
let r = n?.offset ?? u.length, i = await c.filterStoreHandler.value({
|
|
9122
9126
|
api: s.value,
|
|
9123
9127
|
colDef: t.value,
|
|
9124
|
-
field:
|
|
9128
|
+
field: G.value,
|
|
9125
9129
|
filterModel: d.value ?? void 0,
|
|
9126
|
-
query:
|
|
9130
|
+
query: se.value || void 0,
|
|
9127
9131
|
offset: r,
|
|
9128
9132
|
parentId: e,
|
|
9129
9133
|
reason: "child-load-more"
|
|
9130
9134
|
});
|
|
9131
9135
|
return (((i && !Array.isArray(i) ? i.values : i) || []).find((t) => t?.value === e)?.children || []).map((e) => {
|
|
9132
|
-
let t = e.matchedValue ?? e.menuOption?.searchText, n =
|
|
9136
|
+
let t = e.matchedValue ?? e.menuOption?.searchText, n = Re(e.value, e) || "";
|
|
9133
9137
|
return {
|
|
9134
9138
|
...e.menuOption,
|
|
9135
9139
|
id: e.value,
|
|
9136
9140
|
text: n,
|
|
9137
9141
|
searchText: t,
|
|
9138
|
-
subText:
|
|
9142
|
+
subText: Q(e, e.subText, n),
|
|
9139
9143
|
subduedText: e.subduedText,
|
|
9140
|
-
disabled: e.menuOption?.disabled ??
|
|
9144
|
+
disabled: e.menuOption?.disabled ?? Ve(e.value),
|
|
9141
9145
|
context: e,
|
|
9142
9146
|
classList: e.menuOption?.classList ?? ["option-label"]
|
|
9143
9147
|
};
|
|
@@ -9152,7 +9156,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9152
9156
|
subduedText: n?.subduedText,
|
|
9153
9157
|
subText: a || void 0,
|
|
9154
9158
|
groupingLabel: i || "",
|
|
9155
|
-
disabled: n?.menuOption?.disabled ?? (r ? !1 :
|
|
9159
|
+
disabled: n?.menuOption?.disabled ?? (r ? !1 : Ve(e)),
|
|
9156
9160
|
context: n || { value: e || "" },
|
|
9157
9161
|
classList: n?.menuOption?.classList ?? ["option-label"],
|
|
9158
9162
|
children: u,
|
|
@@ -9160,46 +9164,46 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9160
9164
|
handleSeeMore: p
|
|
9161
9165
|
};
|
|
9162
9166
|
}, it = r(() => {
|
|
9163
|
-
let e = [...
|
|
9164
|
-
return e.filter((t, n) => e.indexOf(t) === n).filter((e) => e != null && e !== "").filter((e) => !
|
|
9167
|
+
let e = [...Z.value ? nt() : H.value.filter((e) => e != null && e !== "" && !U.value.includes(e)), ...U.value];
|
|
9168
|
+
return e.filter((t, n) => e.indexOf(t) === n).filter((e) => e != null && e !== "").filter((e) => !Be(e)).map(rt);
|
|
9165
9169
|
}), at = r({
|
|
9166
|
-
get: () =>
|
|
9167
|
-
let t = g(
|
|
9170
|
+
get: () => Z.value ? [] : H.value.map((e) => {
|
|
9171
|
+
let t = g(G.value, e), n = Pe(t), r = n ? He(n) : void 0;
|
|
9168
9172
|
return {
|
|
9169
9173
|
id: e,
|
|
9170
|
-
text:
|
|
9174
|
+
text: ze(e),
|
|
9171
9175
|
subText: r,
|
|
9172
9176
|
context: t || { value: e || "" }
|
|
9173
9177
|
};
|
|
9174
9178
|
}),
|
|
9175
9179
|
set: (e) => {
|
|
9176
|
-
if (
|
|
9177
|
-
if (e.length === 0 && !
|
|
9180
|
+
if (Z.value) {
|
|
9181
|
+
if (e.length === 0 && !le.value && k.value && !q.value) {
|
|
9178
9182
|
mt([]);
|
|
9179
9183
|
return;
|
|
9180
9184
|
}
|
|
9181
9185
|
i?.();
|
|
9182
9186
|
return;
|
|
9183
9187
|
}
|
|
9184
|
-
|
|
9185
|
-
!
|
|
9188
|
+
H.value = e.map((e) => e.id), (e.length === 0 && !le.value || !k.value || q.value) && (st(), z.value.forEach((e) => {
|
|
9189
|
+
!H.value.includes(e) && ne.value === G.value && te(e);
|
|
9186
9190
|
})), i?.();
|
|
9187
9191
|
}
|
|
9188
9192
|
}), ot = (e) => {
|
|
9189
9193
|
let t = {};
|
|
9190
9194
|
for (let n of e) {
|
|
9191
9195
|
if (n === null) continue;
|
|
9192
|
-
let e =
|
|
9196
|
+
let e = Pe(g(G.value, n)) || G.value;
|
|
9193
9197
|
t[e] || (t[e] = []), t[e].push(n);
|
|
9194
9198
|
}
|
|
9195
9199
|
return t;
|
|
9196
9200
|
}, st = async (e, n, r) => {
|
|
9197
9201
|
if (!s.value) return;
|
|
9198
9202
|
if (e !== void 0 && n !== void 0) {
|
|
9199
|
-
let r = e ||
|
|
9200
|
-
if (
|
|
9203
|
+
let r = e || G.value, i = n;
|
|
9204
|
+
if (ie.value) {
|
|
9201
9205
|
let e = Jl(r, i || []);
|
|
9202
|
-
if (
|
|
9206
|
+
if (q.value) {
|
|
9203
9207
|
let t = f.value;
|
|
9204
9208
|
f.value = mu(t, e, r), j(new Set([r]));
|
|
9205
9209
|
return;
|
|
@@ -9210,7 +9214,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9210
9214
|
}), j(new Set([r]));
|
|
9211
9215
|
return;
|
|
9212
9216
|
}
|
|
9213
|
-
if (
|
|
9217
|
+
if (q.value) {
|
|
9214
9218
|
let e = await ou(s.value, t.value, i);
|
|
9215
9219
|
f.value = {
|
|
9216
9220
|
...f.value,
|
|
@@ -9224,10 +9228,10 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9224
9228
|
});
|
|
9225
9229
|
return;
|
|
9226
9230
|
}
|
|
9227
|
-
let i = ot(
|
|
9228
|
-
if (
|
|
9229
|
-
let e =
|
|
9230
|
-
if (
|
|
9231
|
+
let i = ot(H.value), o = $(t.value);
|
|
9232
|
+
if (ie.value) {
|
|
9233
|
+
let e = q.value ? f.value : s.value.getAdvancedFilterModel(), n = e;
|
|
9234
|
+
if (Z.value) {
|
|
9231
9235
|
let e = Il(t.value), r = [];
|
|
9232
9236
|
for (let t of e) {
|
|
9233
9237
|
let e = i[t] || [];
|
|
@@ -9250,8 +9254,8 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9250
9254
|
} : e;
|
|
9251
9255
|
}
|
|
9252
9256
|
} else {
|
|
9253
|
-
let t =
|
|
9254
|
-
n = mu(n, r,
|
|
9257
|
+
let t = H.value.length > 0 ? H.value : null, r = Jl(G.value, t || []);
|
|
9258
|
+
n = mu(n, r, G.value);
|
|
9255
9259
|
let i = !1;
|
|
9256
9260
|
if (a?.value) {
|
|
9257
9261
|
let e = o.filterGroup?.fields ?? [];
|
|
@@ -9263,12 +9267,12 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9263
9267
|
n = mu(n, r, t);
|
|
9264
9268
|
}
|
|
9265
9269
|
}
|
|
9266
|
-
let s =
|
|
9270
|
+
let s = H.value.filter((e) => e !== null), c = gu(G.value, e), l = new Set(c), u = new Set(s);
|
|
9267
9271
|
if (!(l.size !== u.size || s.some((e) => !l.has(e))) && !i) return;
|
|
9268
9272
|
}
|
|
9269
9273
|
if (r?.skipIfUnchanged && pu(e, n)) return;
|
|
9270
|
-
let c =
|
|
9271
|
-
if (
|
|
9274
|
+
let c = Z.value ? we() : new Set([G.value]);
|
|
9275
|
+
if (q.value) f.value = n, j(c);
|
|
9272
9276
|
else {
|
|
9273
9277
|
let e = n;
|
|
9274
9278
|
v(() => {
|
|
@@ -9277,56 +9281,56 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9277
9281
|
}
|
|
9278
9282
|
return;
|
|
9279
9283
|
}
|
|
9280
|
-
let c =
|
|
9284
|
+
let c = H.value.length > 0 ? H.value : null;
|
|
9281
9285
|
if (r?.skipIfUnchanged) {
|
|
9282
9286
|
let e = su(t.value, s.value.getFilterModel());
|
|
9283
|
-
if (
|
|
9287
|
+
if (Te(H.value, e)) return;
|
|
9284
9288
|
}
|
|
9285
|
-
if (
|
|
9289
|
+
if (q.value) {
|
|
9286
9290
|
let e = await ou(s.value, t.value, c);
|
|
9287
9291
|
f.value = {
|
|
9288
9292
|
...f.value,
|
|
9289
|
-
[
|
|
9293
|
+
[G.value]: e
|
|
9290
9294
|
};
|
|
9291
9295
|
return;
|
|
9292
9296
|
}
|
|
9293
9297
|
let l = await ou(s.value, t.value, c);
|
|
9294
|
-
s.value.setColumnFilterModel(
|
|
9298
|
+
s.value.setColumnFilterModel(G.value, l).then(() => {
|
|
9295
9299
|
s.value && s.value.onFilterChanged();
|
|
9296
9300
|
});
|
|
9297
9301
|
}, ct = (e, n) => {
|
|
9298
|
-
if (e &&
|
|
9299
|
-
let r = n || Il(t.value)[0] ||
|
|
9300
|
-
|
|
9302
|
+
if (e && me.value ? H.value = [e] : e && !H.value.includes(e) && (H.value = [...H.value, e]), Z.value && e) {
|
|
9303
|
+
let r = n || Il(t.value)[0] || G.value, i = e.startsWith("__") ? e : Ze(r, e) || e;
|
|
9304
|
+
Ee.value.find((e) => e.id === i) || (Ee.value = [...Ee.value, {
|
|
9301
9305
|
id: i,
|
|
9302
9306
|
state: "selected"
|
|
9303
9307
|
}]);
|
|
9304
9308
|
}
|
|
9305
|
-
(!k.value ||
|
|
9309
|
+
(!k.value || q.value) && (Z.value && e ? mt(Ee.value) : n && n !== G.value ? st(n, [e]) : st()), i?.();
|
|
9306
9310
|
}, lt = (e, n) => {
|
|
9307
|
-
if (
|
|
9308
|
-
let r = n || Il(t.value)[0] ||
|
|
9309
|
-
|
|
9311
|
+
if (H.value = H.value.filter((t) => t !== e), Z.value && e) {
|
|
9312
|
+
let r = n || Il(t.value)[0] || G.value, i = e.startsWith("__") ? e : Ze(r, e) || e;
|
|
9313
|
+
Ee.value = Ee.value.filter((e) => e.id !== i);
|
|
9310
9314
|
}
|
|
9311
|
-
(!k.value ||
|
|
9315
|
+
(!k.value || q.value) && (Z.value && e ? mt(Ee.value) : n && n !== G.value ? st(n, null) : st()), i?.();
|
|
9312
9316
|
}, ut = () => {
|
|
9313
|
-
|
|
9317
|
+
de.value = je(S(G.value)), le.value = !0;
|
|
9314
9318
|
}, dt = () => {
|
|
9315
|
-
|
|
9319
|
+
le.value = !1, de.value = [], se.value = "", !o?.value && k.value && !q.value && (Z.value ? mt(Ee.value, { skipIfUnchanged: !0 }) : st(void 0, void 0, { skipIfUnchanged: !0 }));
|
|
9316
9320
|
}, ft = async (e) => {
|
|
9317
9321
|
if (!s.value) return;
|
|
9318
|
-
let n =
|
|
9319
|
-
r && (
|
|
9322
|
+
let n = U.value.length, r = !e.parentId;
|
|
9323
|
+
r && (J.value = !0);
|
|
9320
9324
|
try {
|
|
9321
9325
|
await l(t.value, {
|
|
9322
9326
|
api: s.value,
|
|
9323
9327
|
filterModel: d.value ?? void 0,
|
|
9324
9328
|
offset: e.offset ?? n,
|
|
9325
9329
|
parentId: e.parentId,
|
|
9326
|
-
useStaged:
|
|
9330
|
+
useStaged: q.value
|
|
9327
9331
|
});
|
|
9328
9332
|
} finally {
|
|
9329
|
-
r && (
|
|
9333
|
+
r && (J.value = !1);
|
|
9330
9334
|
}
|
|
9331
9335
|
}, pt = (e, n) => Xs({
|
|
9332
9336
|
baseModel: n,
|
|
@@ -9334,139 +9338,139 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9334
9338
|
options: Je(),
|
|
9335
9339
|
state: e
|
|
9336
9340
|
}), mt = (e, n) => {
|
|
9337
|
-
if (!s.value || !
|
|
9341
|
+
if (!s.value || !Z.value) return !1;
|
|
9338
9342
|
let r = JSON.stringify(e);
|
|
9339
|
-
if (n?.skipIfUnchanged && r ===
|
|
9340
|
-
if (
|
|
9341
|
-
let a =
|
|
9342
|
-
if (n?.skipIfUnchanged && pu(a, o)) return
|
|
9343
|
-
if (
|
|
9343
|
+
if (n?.skipIfUnchanged && r === De.value) return Ee.value = e, !1;
|
|
9344
|
+
if (Ee.value = e, tt(e), Il(t.value).length === 0) return !1;
|
|
9345
|
+
let a = q.value ? f.value : s.value.getAdvancedFilterModel(), o = pt(e, a);
|
|
9346
|
+
if (n?.skipIfUnchanged && pu(a, o)) return De.value = r, !1;
|
|
9347
|
+
if (q.value) f.value = o;
|
|
9344
9348
|
else {
|
|
9345
9349
|
let e = o;
|
|
9346
9350
|
v(() => {
|
|
9347
9351
|
s.value?.setAdvancedFilterModel(e);
|
|
9348
9352
|
});
|
|
9349
9353
|
}
|
|
9350
|
-
return
|
|
9354
|
+
return De.value = r, j(we()), i?.(), !0;
|
|
9351
9355
|
}, ht = (e) => {
|
|
9352
|
-
if (!
|
|
9356
|
+
if (!Z.value || !Il(t.value).length) return;
|
|
9353
9357
|
let n = Qs({
|
|
9354
9358
|
colDef: t.value,
|
|
9355
9359
|
model: e,
|
|
9356
9360
|
options: Je()
|
|
9357
9361
|
}), r = JSON.stringify(n);
|
|
9358
|
-
JSON.stringify(
|
|
9359
|
-
}, gt = () =>
|
|
9362
|
+
JSON.stringify(Ee.value) !== r && (Ee.value = n), De.value = r, tt(n);
|
|
9363
|
+
}, gt = () => Z.value ? Ee.value.some((e) => {
|
|
9360
9364
|
let { field: t, value: n } = Ge(e.id);
|
|
9361
9365
|
return t ? Ze(t, n) !== e.id : !1;
|
|
9362
9366
|
}) : !1, _t = () => {
|
|
9363
|
-
!
|
|
9367
|
+
!Z.value || !ie.value || gt() && ht(d.value);
|
|
9364
9368
|
};
|
|
9365
|
-
return B(
|
|
9366
|
-
|
|
9367
|
-
}, { deep: !0 }), B(() => E.value[
|
|
9368
|
-
e &&
|
|
9369
|
+
return B(Ee, (e) => {
|
|
9370
|
+
Z.value && (tt(e), !(k.value && !q.value) && mt(e));
|
|
9371
|
+
}, { deep: !0 }), B(() => E.value[G.value], (e) => {
|
|
9372
|
+
e && oe.value && Me(!0);
|
|
9369
9373
|
}), B(() => f.value, () => {
|
|
9370
|
-
if (
|
|
9371
|
-
if (
|
|
9374
|
+
if (q.value) {
|
|
9375
|
+
if (ie.value) {
|
|
9372
9376
|
let e = [], n = f.value;
|
|
9373
|
-
if (
|
|
9377
|
+
if (Z.value) {
|
|
9374
9378
|
let r = Il(t.value);
|
|
9375
9379
|
for (let t of r) {
|
|
9376
9380
|
let r = gu(t, n);
|
|
9377
9381
|
e.push(...r);
|
|
9378
9382
|
}
|
|
9379
|
-
} else e = gu(
|
|
9380
|
-
|
|
9383
|
+
} else e = gu(G.value, n);
|
|
9384
|
+
H.value = e;
|
|
9381
9385
|
return;
|
|
9382
9386
|
}
|
|
9383
|
-
|
|
9387
|
+
K.value === "agSetColumnFilter" ? H.value = f.value?.[G.value]?.values || [] : K.value === "agMultiColumnFilter" ? H.value = f.value?.[G.value]?.filterModels?.find((e) => e && e.filterType === "set")?.values || [] : console.error(`Staged filter model update for filter type ${K.value} is not yet supported.`);
|
|
9384
9388
|
}
|
|
9385
9389
|
}), B(() => d.value, () => {
|
|
9386
|
-
if (
|
|
9387
|
-
if (
|
|
9388
|
-
|
|
9390
|
+
if (q.value) return;
|
|
9391
|
+
if (Z.value) {
|
|
9392
|
+
ie.value && ht(d.value);
|
|
9389
9393
|
return;
|
|
9390
9394
|
}
|
|
9391
|
-
if (
|
|
9392
|
-
let e = d.value, t = gu(
|
|
9393
|
-
|
|
9395
|
+
if (ie.value) {
|
|
9396
|
+
let e = d.value, t = gu(G.value, e);
|
|
9397
|
+
ke(H.value.some((e) => e !== null && !t.includes(e)));
|
|
9394
9398
|
return;
|
|
9395
9399
|
}
|
|
9396
9400
|
let e = su(t.value, d.value);
|
|
9397
|
-
|
|
9401
|
+
ke(H.value.some((t) => !e.includes(t)));
|
|
9398
9402
|
}, { deep: !0 }), B(() => p.value, () => {
|
|
9399
|
-
|
|
9403
|
+
H.value = [], Ee.value = [], De.value = "[]";
|
|
9400
9404
|
}), B(() => s.value, (e) => {
|
|
9401
|
-
e && y.value && (E.value[
|
|
9405
|
+
e && y.value && (E.value[G.value] = !0);
|
|
9402
9406
|
}, { immediate: !0 }), B(() => V.value, async () => {
|
|
9403
|
-
|
|
9404
|
-
await
|
|
9405
|
-
}, 2e3) : await
|
|
9406
|
-
}),
|
|
9407
|
-
if (
|
|
9408
|
-
u(
|
|
9407
|
+
oe.value && (q.value ? setTimeout(async () => {
|
|
9408
|
+
await Me(!0);
|
|
9409
|
+
}, 2e3) : await Me(!0)), ke();
|
|
9410
|
+
}), ue(() => se.value, async () => {
|
|
9411
|
+
if (W.value) {
|
|
9412
|
+
u(G.value);
|
|
9409
9413
|
return;
|
|
9410
9414
|
}
|
|
9411
|
-
await
|
|
9415
|
+
await Me(!0, !0);
|
|
9412
9416
|
}, { debounce: 300 }), w(() => {
|
|
9413
|
-
N(
|
|
9417
|
+
N(G.value);
|
|
9414
9418
|
let e = Il(t.value);
|
|
9415
|
-
if (e.length && M(
|
|
9416
|
-
let e =
|
|
9419
|
+
if (e.length && M(G.value, e), ke(), Z.value && ie.value && ht(d.value), o?.value && y.value && s.value) {
|
|
9420
|
+
let e = Z.value || ($(t.value).metadataDisplayFields?.length ?? 0) > 0, n = Z.value && ie.value ? Il(t.value).some((e) => gu(e, d.value).length > 0) : H.value.length > 0;
|
|
9417
9421
|
e && n && l(t.value, {
|
|
9418
9422
|
api: s.value,
|
|
9419
9423
|
filterModel: d.value ?? void 0
|
|
9420
9424
|
});
|
|
9421
9425
|
}
|
|
9422
|
-
|
|
9426
|
+
Z.value || $(t.value).metadataDisplayFields?.length && H.value.some((e) => Be(e)) && Me(!0, !0);
|
|
9423
9427
|
}), T(() => {
|
|
9424
|
-
P(
|
|
9428
|
+
P(G.value), k.value && !q.value && (Z.value ? mt(Ee.value, { skipIfUnchanged: !0 }) : st(void 0, void 0, { skipIfUnchanged: !0 }));
|
|
9425
9429
|
}), {
|
|
9426
|
-
selectedValues:
|
|
9427
|
-
filterValues:
|
|
9428
|
-
isLoading:
|
|
9429
|
-
isSeeMoreLoading:
|
|
9430
|
-
filterSearchText:
|
|
9430
|
+
selectedValues: H,
|
|
9431
|
+
filterValues: U,
|
|
9432
|
+
isLoading: ae,
|
|
9433
|
+
isSeeMoreLoading: J,
|
|
9434
|
+
filterSearchText: se,
|
|
9431
9435
|
filterSearchMinLength: A,
|
|
9432
|
-
belowFilterSearchMinLength:
|
|
9436
|
+
belowFilterSearchMinLength: W,
|
|
9433
9437
|
rowsLoading: re,
|
|
9434
9438
|
gridApi: s,
|
|
9435
|
-
filterField:
|
|
9436
|
-
filterType:
|
|
9437
|
-
filterDisplayName:
|
|
9438
|
-
isInFilterPanel:
|
|
9439
|
-
maxSelectableValues:
|
|
9440
|
-
isSingleSelect:
|
|
9441
|
-
selectionLimitReached:
|
|
9442
|
-
suggestedValues:
|
|
9439
|
+
filterField: G,
|
|
9440
|
+
filterType: K,
|
|
9441
|
+
filterDisplayName: ce,
|
|
9442
|
+
isInFilterPanel: q,
|
|
9443
|
+
maxSelectableValues: pe,
|
|
9444
|
+
isSingleSelect: me,
|
|
9445
|
+
selectionLimitReached: xe,
|
|
9446
|
+
suggestedValues: Se,
|
|
9443
9447
|
displayedFilterValues: it,
|
|
9444
9448
|
selectedFilterValues: at,
|
|
9445
|
-
showSearchBar:
|
|
9449
|
+
showSearchBar: _e,
|
|
9446
9450
|
filterSearchPlaceholder: Ue,
|
|
9447
|
-
emptyFilterResultsRenderer:
|
|
9448
|
-
filterOptionsRenderer:
|
|
9449
|
-
filterHeaderRenderer:
|
|
9450
|
-
filterFooterRenderer:
|
|
9451
|
-
filterOptionsSortDescription:
|
|
9452
|
-
filterOptionsSortTooltip:
|
|
9453
|
-
totalOptionCount:
|
|
9454
|
-
hasMoreOptions:
|
|
9455
|
-
isAggregate:
|
|
9456
|
-
cascadeSelectionState:
|
|
9451
|
+
emptyFilterResultsRenderer: ve,
|
|
9452
|
+
filterOptionsRenderer: ye,
|
|
9453
|
+
filterHeaderRenderer: Y,
|
|
9454
|
+
filterFooterRenderer: be,
|
|
9455
|
+
filterOptionsSortDescription: he,
|
|
9456
|
+
filterOptionsSortTooltip: ge,
|
|
9457
|
+
totalOptionCount: X,
|
|
9458
|
+
hasMoreOptions: Ce,
|
|
9459
|
+
isAggregate: Z,
|
|
9460
|
+
cascadeSelectionState: Ee,
|
|
9457
9461
|
filterValueContext: g,
|
|
9458
|
-
formatDisplayValue:
|
|
9459
|
-
resolvedFilterValueContext:
|
|
9460
|
-
isUnresolvedMetadataValue:
|
|
9461
|
-
getLatestFilterValues:
|
|
9462
|
+
formatDisplayValue: ze,
|
|
9463
|
+
resolvedFilterValueContext: Ne,
|
|
9464
|
+
isUnresolvedMetadataValue: Be,
|
|
9465
|
+
getLatestFilterValues: Me,
|
|
9462
9466
|
addSelectedValue: ct,
|
|
9463
9467
|
removeSelectedValue: lt,
|
|
9464
9468
|
handleDropdownOpen: ut,
|
|
9465
9469
|
handleDropdownClosed: dt,
|
|
9466
9470
|
handleSeeMore: ft,
|
|
9467
9471
|
handleCascadeSelectionState: mt,
|
|
9468
|
-
getColDisplayNameForField:
|
|
9469
|
-
disableFilterValue:
|
|
9472
|
+
getColDisplayNameForField: He,
|
|
9473
|
+
disableFilterValue: Ve,
|
|
9470
9474
|
updateFilterModelWithSelectedValues: st
|
|
9471
9475
|
};
|
|
9472
9476
|
}, Mu = ({ alignment: e, useTeleport: t = !0, popoverCssProperties: n } = {}) => {
|
|
@@ -9605,13 +9609,13 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9605
9609
|
T(() => {
|
|
9606
9610
|
x.value = !1, _.value.clear(), b.value.clear();
|
|
9607
9611
|
});
|
|
9608
|
-
let
|
|
9612
|
+
let H = r(() => _.value.size);
|
|
9609
9613
|
return n({
|
|
9610
9614
|
openForTest: () => {
|
|
9611
9615
|
P(), x.value = !0;
|
|
9612
9616
|
},
|
|
9613
9617
|
selectedValues: _
|
|
9614
|
-
}), (e, n) =>
|
|
9618
|
+
}), (e, n) => ie((E(), o("div", {
|
|
9615
9619
|
ref_key: "triggerWrapper",
|
|
9616
9620
|
ref: S,
|
|
9617
9621
|
style: { "padding-bottom": "4px" },
|
|
@@ -9626,7 +9630,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9626
9630
|
id: C.value.label,
|
|
9627
9631
|
text: C.value.label,
|
|
9628
9632
|
"class-list": ["pv-menu-nested"],
|
|
9629
|
-
"secondary-text":
|
|
9633
|
+
"secondary-text": H.value || void 0
|
|
9630
9634
|
}, null, 8, [
|
|
9631
9635
|
"id",
|
|
9632
9636
|
"text",
|
|
@@ -9685,7 +9689,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9685
9689
|
}, null, 8, ["disabled"])) : a("", !0)
|
|
9686
9690
|
]),
|
|
9687
9691
|
_: 1
|
|
9688
|
-
}, 8, ["class", "css-custom-properties"])], 32)), [[I(
|
|
9692
|
+
}, 8, ["class", "css-custom-properties"])], 32)), [[I(J), [R, { ignore: [".pv-popover"] }]]]);
|
|
9689
9693
|
}
|
|
9690
9694
|
}), Ru = {
|
|
9691
9695
|
key: 0,
|
|
@@ -9750,68 +9754,68 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9750
9754
|
"handle-settings-icon"
|
|
9751
9755
|
],
|
|
9752
9756
|
setup(e, { emit: n }) {
|
|
9753
|
-
let d = e, f = n, g = O(null), x = r(() => g.value?.selectedValues ?? /* @__PURE__ */ new Set()), S = r(() => g.value?.selectedValues.size ?? 0), { selectedValues: C, isLoading: w, isSeeMoreLoading: T, filterSearchText: D, filterSearchMinLength: A, belowFilterSearchMinLength: j, rowsLoading: N, gridApi: ee, filterField: L, filterDisplayName: R, isInFilterPanel: z, suggestedValues: te, displayedFilterValues: ne, selectedFilterValues: re, showSearchBar: B, filterSearchPlaceholder:
|
|
9757
|
+
let d = e, f = n, g = O(null), x = r(() => g.value?.selectedValues ?? /* @__PURE__ */ new Set()), S = r(() => g.value?.selectedValues.size ?? 0), { selectedValues: C, isLoading: w, isSeeMoreLoading: T, filterSearchText: D, filterSearchMinLength: A, belowFilterSearchMinLength: j, rowsLoading: N, gridApi: ee, filterField: L, filterDisplayName: R, isInFilterPanel: z, suggestedValues: te, displayedFilterValues: ne, selectedFilterValues: re, showSearchBar: B, filterSearchPlaceholder: ie, emptyFilterResultsRenderer: H, filterOptionsRenderer: U, filterHeaderRenderer: ae, filterFooterRenderer: oe, filterOptionsSortDescription: se, filterOptionsSortTooltip: W, filterValueContext: G, formatDisplayValue: K, resolvedFilterValueContext: ce, isUnresolvedMetadataValue: q, getLatestFilterValues: le, addSelectedValue: ue, removeSelectedValue: J, handleDropdownOpen: de, handleDropdownClosed: fe, handleSeeMore: pe, getColDisplayNameForField: me, hasMoreOptions: he, totalOptionCount: ge, isAggregate: _e, cascadeSelectionState: ve } = ju({
|
|
9754
9758
|
filterColDef: F(d, "filterColDef"),
|
|
9755
9759
|
filterStyle: F(d, "filterStyle"),
|
|
9756
9760
|
onSelectionChanged: () => f("filter-selection-changed"),
|
|
9757
9761
|
filterGroupStagedFields: x,
|
|
9758
9762
|
readOnly: F(d, "readOnly")
|
|
9759
|
-
}), { handleFocusUpdate:
|
|
9763
|
+
}), { handleFocusUpdate: ye, isFocused: Y, removeFocus: be, isFocusable: xe, canRemoveFocus: Se } = ml(), X = (e) => {
|
|
9760
9764
|
if (e.context?.metadata?.rawValue != null) return String(e.context.metadata.rawValue);
|
|
9761
9765
|
if (e.id.startsWith("__")) {
|
|
9762
9766
|
let t = e.id.slice(2).split("__");
|
|
9763
9767
|
if (t.length >= 2) return t[1];
|
|
9764
9768
|
}
|
|
9765
9769
|
return e.id;
|
|
9766
|
-
},
|
|
9767
|
-
if (
|
|
9770
|
+
}, Ce = r(() => {
|
|
9771
|
+
if (xe(Rl(d.filterColDef) ? Il(d.filterColDef) : [L.value])) return {
|
|
9768
9772
|
icon: "focus",
|
|
9769
|
-
isDisabled: (e) => !
|
|
9773
|
+
isDisabled: (e) => !xe([e.context?.colField || L.value]),
|
|
9770
9774
|
tooltipText: (e) => {
|
|
9771
9775
|
let t = e.context?.colField || L.value;
|
|
9772
|
-
if (!
|
|
9773
|
-
let n =
|
|
9774
|
-
return n && !
|
|
9776
|
+
if (!xe([t])) return `Group by ${me(t)} to enable ${d.focusText}`;
|
|
9777
|
+
let n = Y(_e.value ? X(e) : e.id, t);
|
|
9778
|
+
return n && !Se() ? `${d.focusText} (required)` : n ? `Remove ${d.focusText}` : `Select as ${d.focusText}`;
|
|
9775
9779
|
},
|
|
9776
9780
|
action: (e) => {
|
|
9777
|
-
e && !C.value.includes(e.id) &&
|
|
9781
|
+
e && !C.value.includes(e.id) && ue(e.id, e.context?.colField);
|
|
9778
9782
|
let t = e.context?.colField || L.value;
|
|
9779
|
-
|
|
9783
|
+
ye(_e.value ? X(e) : e.id, t);
|
|
9780
9784
|
},
|
|
9781
9785
|
alwaysShow: (e) => {
|
|
9782
9786
|
let t = e.context?.colField || L.value;
|
|
9783
|
-
return
|
|
9787
|
+
return Y(_e.value ? X(e) : e.id, t);
|
|
9784
9788
|
}
|
|
9785
9789
|
};
|
|
9786
|
-
}),
|
|
9790
|
+
}), Z = (e) => {
|
|
9787
9791
|
if (!e) return null;
|
|
9788
|
-
if (!
|
|
9789
|
-
let t =
|
|
9792
|
+
if (!_e.value) return e;
|
|
9793
|
+
let t = ce(e);
|
|
9790
9794
|
if (t?.metadata?.rawValue != null) return String(t.metadata.rawValue);
|
|
9791
9795
|
if (e.startsWith("__")) {
|
|
9792
9796
|
let t = e.slice(2).split("__");
|
|
9793
9797
|
if (t.length >= 2) return t[1];
|
|
9794
9798
|
}
|
|
9795
9799
|
return e;
|
|
9796
|
-
},
|
|
9797
|
-
|
|
9798
|
-
let t =
|
|
9799
|
-
|
|
9800
|
-
},
|
|
9801
|
-
|
|
9802
|
-
},
|
|
9800
|
+
}, we = (e) => {
|
|
9801
|
+
J(e);
|
|
9802
|
+
let t = ce(e)?.colField || L.value, n = Z(e);
|
|
9803
|
+
Y(n, t) && Se() && be(n);
|
|
9804
|
+
}, Te = m(Yc, O(!1)), Ee = r(() => !!$(d.filterColDef).filterGroup && Te.value), De = () => {
|
|
9805
|
+
de(), le(!0);
|
|
9806
|
+
}, Oe = () => {
|
|
9803
9807
|
v(() => {
|
|
9804
|
-
|
|
9808
|
+
fe(), f("filter-closed");
|
|
9805
9809
|
});
|
|
9806
|
-
},
|
|
9807
|
-
let t =
|
|
9808
|
-
return
|
|
9809
|
-
},
|
|
9810
|
-
return (n, r) => (E(), o(t, null, [s("div", null, [I(z) && I(C).length > 0 ? (E(), o("ul", Ru, [(E(!0), o(t, null, k(I(C), (n) => (E(), o(t, { key: `${I(R)}-${n}` }, [I(
|
|
9811
|
-
label: I(
|
|
9812
|
-
showClear: !e.readOnly && (!
|
|
9810
|
+
}, ke = (e) => {
|
|
9811
|
+
let t = ce(e)?.colField || L.value;
|
|
9812
|
+
return Y(Z(e), t);
|
|
9813
|
+
}, Ae = r(() => S.value > 0 ? !0 : _e.value ? ve.value.length > 0 : C.value.length > 0);
|
|
9814
|
+
return (n, r) => (E(), o(t, null, [s("div", null, [I(z) && I(C).length > 0 ? (E(), o("ul", Ru, [(E(!0), o(t, null, k(I(C), (n) => (E(), o(t, { key: `${I(R)}-${n}` }, [I(q)(n) ? a("", !0) : (E(), o("li", zu, [u(ts, {
|
|
9815
|
+
label: I(K)(n) || "",
|
|
9816
|
+
showClear: !e.readOnly && (!ke(n) || I(Se)()),
|
|
9813
9817
|
disabled: e.readOnly,
|
|
9814
|
-
onHandleClose: (e) =>
|
|
9818
|
+
onHandleClose: (e) => we(n)
|
|
9815
9819
|
}, null, 8, [
|
|
9816
9820
|
"label",
|
|
9817
9821
|
"showClear",
|
|
@@ -9823,22 +9827,22 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9823
9827
|
readOnly: e.readOnly,
|
|
9824
9828
|
searchInput: I(D),
|
|
9825
9829
|
"onUpdate:searchInput": r[2] ||= (e) => h(D) ? D.value = e : null,
|
|
9826
|
-
selectionState: I(
|
|
9827
|
-
"onUpdate:selectionState": r[3] ||= (e) => h(
|
|
9830
|
+
selectionState: I(ve),
|
|
9831
|
+
"onUpdate:selectionState": r[3] ||= (e) => h(ve) ? ve.value = e : null,
|
|
9828
9832
|
"data-horizontal-filter-field": I(z) ? void 0 : I(L),
|
|
9829
9833
|
label: I(z) ? "" : I(R),
|
|
9830
9834
|
highlightSearchText: !0,
|
|
9831
9835
|
icon: I(z) && !e.readOnly ? "add-circle" : void 0,
|
|
9832
9836
|
variant: I(z) ? "ghost" : "secondary",
|
|
9833
|
-
counterPosition: !I(z) &&
|
|
9837
|
+
counterPosition: !I(z) && Ae.value ? void 0 : "none",
|
|
9834
9838
|
showClear: !I(z),
|
|
9835
9839
|
showSearchInput: I(B),
|
|
9836
|
-
searchPlaceholder: I(
|
|
9840
|
+
searchPlaceholder: I(ie),
|
|
9837
9841
|
showDropdown: !I(z),
|
|
9838
9842
|
overlayTrigger: I(z),
|
|
9839
9843
|
options: I(ne),
|
|
9840
|
-
optionsRenderer: I(
|
|
9841
|
-
optionsAction:
|
|
9844
|
+
optionsRenderer: I(U),
|
|
9845
|
+
optionsAction: Ce.value,
|
|
9842
9846
|
popoverCssProperties: {
|
|
9843
9847
|
maxHeight: "400px",
|
|
9844
9848
|
maxWidth: I(z) ? "300px" : "400px",
|
|
@@ -9850,21 +9854,21 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9850
9854
|
groupings: ["preferences", "suggestions"],
|
|
9851
9855
|
isLoading: I(w),
|
|
9852
9856
|
isSeeMoreLoading: I(T),
|
|
9853
|
-
hasMoreOptions: I(
|
|
9854
|
-
totalOptionCount: I(
|
|
9855
|
-
enableCascadeSelection: I(
|
|
9856
|
-
enableChildExpansion: I(
|
|
9857
|
-
parentSelectsAllChildren: I(
|
|
9858
|
-
countSelectedParents: I(
|
|
9857
|
+
hasMoreOptions: I(he),
|
|
9858
|
+
totalOptionCount: I(ge),
|
|
9859
|
+
enableCascadeSelection: I(_e),
|
|
9860
|
+
enableChildExpansion: I(_e),
|
|
9861
|
+
parentSelectsAllChildren: I(_e),
|
|
9862
|
+
countSelectedParents: I(_e),
|
|
9859
9863
|
additionalCounter: S.value,
|
|
9860
9864
|
slotContext: {
|
|
9861
9865
|
gridApi: I(ee),
|
|
9862
9866
|
filterColDef: e.filterColDef,
|
|
9863
9867
|
rowsLoading: I(N)
|
|
9864
9868
|
},
|
|
9865
|
-
onDropdownOpen:
|
|
9866
|
-
onDropdownClosed:
|
|
9867
|
-
onSeeMore: I(
|
|
9869
|
+
onDropdownOpen: De,
|
|
9870
|
+
onDropdownClosed: Oe,
|
|
9871
|
+
onSeeMore: I(pe)
|
|
9868
9872
|
}, c({
|
|
9869
9873
|
preferences: V(() => [s("div", Vu, [r[5] ||= s("p", { class: "pv-text-subdued pv-text-body-xxs" }, "Your Preferences", -1), u(I(Ti), {
|
|
9870
9874
|
variant: "dark",
|
|
@@ -9888,38 +9892,38 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9888
9892
|
"use-teleport": !0,
|
|
9889
9893
|
style: { "--max-width": "200px" }
|
|
9890
9894
|
}, c({
|
|
9891
|
-
trigger: V(() => [s("p", { class: y(["pv-text-subdued pv-text-body-xxs", I(
|
|
9895
|
+
trigger: V(() => [s("p", { class: y(["pv-text-subdued pv-text-body-xxs", I(W) ? "suggested-title-label" : ""]) }, P(I(se)), 3)]),
|
|
9892
9896
|
_: 2
|
|
9893
|
-
}, [I(
|
|
9897
|
+
}, [I(W) ? {
|
|
9894
9898
|
name: "content",
|
|
9895
|
-
fn: V(() => [l(P(I(
|
|
9899
|
+
fn: V(() => [l(P(I(W)), 1)]),
|
|
9896
9900
|
key: "0"
|
|
9897
9901
|
} : void 0]), 1024)])]),
|
|
9898
9902
|
_: 2
|
|
9899
9903
|
}, [
|
|
9900
|
-
I(
|
|
9904
|
+
I(ae) || Ee.value || I(j) ? {
|
|
9901
9905
|
name: "header",
|
|
9902
9906
|
fn: V((t) => [
|
|
9903
9907
|
I(j) ? (E(), o("p", Bu, " Type " + P(I(A)) + " or more characters to search ", 1)) : a("", !0),
|
|
9904
|
-
|
|
9908
|
+
Ee.value ? (E(), i(Lu, {
|
|
9905
9909
|
key: 1,
|
|
9906
9910
|
ref_key: "filterGroupMenuRef",
|
|
9907
9911
|
ref: g,
|
|
9908
9912
|
class: "pv-stack-8",
|
|
9909
9913
|
"filter-col-def": e.filterColDef
|
|
9910
9914
|
}, null, 8, ["filter-col-def"])) : a("", !0),
|
|
9911
|
-
I(
|
|
9915
|
+
I(ae) ? (E(), i(M(I(ae)), b(_({ key: 2 }, t)), null, 16)) : a("", !0)
|
|
9912
9916
|
]),
|
|
9913
9917
|
key: "0"
|
|
9914
9918
|
} : void 0,
|
|
9915
|
-
I(
|
|
9919
|
+
I(H) ? {
|
|
9916
9920
|
name: "no-results",
|
|
9917
|
-
fn: V((e) => [(E(), i(M(I(
|
|
9921
|
+
fn: V((e) => [(E(), i(M(I(H)), b(p(e)), null, 16))]),
|
|
9918
9922
|
key: "1"
|
|
9919
9923
|
} : void 0,
|
|
9920
|
-
I(
|
|
9924
|
+
I(oe) ? {
|
|
9921
9925
|
name: "footer",
|
|
9922
|
-
fn: V((e) => [(E(), i(M(I(
|
|
9926
|
+
fn: V((e) => [(E(), i(M(I(oe)), b(p(e)), null, 16))]),
|
|
9923
9927
|
key: "2"
|
|
9924
9928
|
} : void 0
|
|
9925
9929
|
]), 1032, /* @__PURE__ */ "modelValue.readOnly.searchInput.selectionState.data-horizontal-filter-field.label.icon.variant.counterPosition.showClear.showSearchInput.searchPlaceholder.showDropdown.overlayTrigger.options.optionsRenderer.optionsAction.popoverCssProperties.disableClearIcon.disableDropdownIcon.isLoading.isSeeMoreLoading.hasMoreOptions.totalOptionCount.enableCascadeSelection.enableChildExpansion.parentSelectsAllChildren.countSelectedParents.additionalCounter.slotContext.onSeeMore".split("."))]), I(z) && !e.readOnly ? (E(), o("div", Uu, [I(te).length > 0 ? (E(), o("div", Wu, [s("ul", Gu, [u(I(Ti), {
|
|
@@ -9930,11 +9934,11 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9930
9934
|
"use-teleport": !0,
|
|
9931
9935
|
style: { "--max-width": "200px" }
|
|
9932
9936
|
}, c({
|
|
9933
|
-
trigger: V(() => [s("li", Ku, [s("p", { class: y(["pv-text-subdued pv-text-body-md", I(
|
|
9937
|
+
trigger: V(() => [s("li", Ku, [s("p", { class: y(["pv-text-subdued pv-text-body-md", I(W) ? "suggested-title-label" : ""]) }, " Suggested: ", 2)])]),
|
|
9934
9938
|
_: 2
|
|
9935
|
-
}, [I(
|
|
9939
|
+
}, [I(W) ? {
|
|
9936
9940
|
name: "content",
|
|
9937
|
-
fn: V(() => [l(P(I(
|
|
9941
|
+
fn: V(() => [l(P(I(W)), 1)]),
|
|
9938
9942
|
key: "0"
|
|
9939
9943
|
} : void 0]), 1024), (E(!0), o(t, null, k(I(te).filter((e) => e !== "" && e != null).slice(0, qu), (e) => (E(), o("li", {
|
|
9940
9944
|
key: `${I(R)}-${e}-suggest`,
|
|
@@ -9945,8 +9949,8 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9945
9949
|
}
|
|
9946
9950
|
}, [u(I(ds), {
|
|
9947
9951
|
disabled: I(w),
|
|
9948
|
-
label: I(
|
|
9949
|
-
onHandleClick: (t) => I(
|
|
9952
|
+
label: I(K)(e) || "",
|
|
9953
|
+
onHandleClick: (t) => I(ue)(e, I(G)(I(L), e)?.colField)
|
|
9950
9954
|
}, null, 8, [
|
|
9951
9955
|
"disabled",
|
|
9952
9956
|
"label",
|
|
@@ -9992,50 +9996,40 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
9992
9996
|
},
|
|
9993
9997
|
emits: ["handle-settings-icon"],
|
|
9994
9998
|
setup(e) {
|
|
9995
|
-
let n = m(Dc, O(null)), c = m(Ac, O([])), d = m(kc, O(null)), f = m(Yc, O(!1)), p = e, { filterModelCleared: h, stagedFilterModel: g, filterModel: _, initStagedSelectedValues: v, clearStagedSelectedValues: b, filterValuesMap: x, fetchFilterValues: S, filterValuesLoadingStatus: C } = ku(), w = O(!1), T = O(!1), D = O(""), A = r(() => c.value.flatMap((e) => Il(e))), j = r(() => c.value.flatMap((e) => $(e).filterGroup?.fields ?? [])), M = (e) => {
|
|
9996
|
-
let t = _.value;
|
|
9997
|
-
if (!t) return !1;
|
|
9998
|
-
let n = Rl(e) ? Il(e) : [e.field || ""];
|
|
9999
|
-
if (f.value) {
|
|
10000
|
-
let e = /* @__PURE__ */ new Set();
|
|
10001
|
-
return R(t, e), n.some((t) => e.has(t));
|
|
10002
|
-
}
|
|
10003
|
-
let r = t;
|
|
10004
|
-
return n.some((e) => !!r[e]);
|
|
10005
|
-
}, N = r(() => c.value.filter((e) => ru(e) && !A.value.includes(e.field || "") && !j.value.includes(e.field || "") && (!p.readOnly || M(e))).sort((e, t) => {
|
|
9999
|
+
let n = m(Dc, O(null)), c = m(Ac, O([])), d = m(kc, O(null)), f = m(Yc, O(!1)), p = e, { filterModelCleared: h, stagedFilterModel: g, filterModel: _, initStagedSelectedValues: v, clearStagedSelectedValues: b, filterValuesMap: x, fetchFilterValues: S, filterValuesLoadingStatus: C } = ku(), w = O(!1), T = O(!1), D = O(""), A = r(() => c.value.flatMap((e) => Il(e))), j = r(() => c.value.flatMap((e) => $(e).filterGroup?.fields ?? [])), M = r(() => c.value.filter((e) => ru(e) && !A.value.includes(e.field || "") && !j.value.includes(e.field || "")).sort((e, t) => {
|
|
10006
10000
|
let n = Rl(e), r = Rl(t);
|
|
10007
10001
|
return n && !r ? -1 : !n && r ? 1 : 0;
|
|
10008
|
-
})),
|
|
10002
|
+
})), N = r(() => M.value), F = r(() => {
|
|
10009
10003
|
let e = D.value?.trim().toLowerCase() || "";
|
|
10010
|
-
return !e || e === "" ?
|
|
10004
|
+
return !e || e === "" ? N.value : c.value.filter((t) => {
|
|
10011
10005
|
let n = t.headerName?.toLowerCase() || t.field?.toLowerCase();
|
|
10012
10006
|
return n ? n.includes(e) : !1;
|
|
10013
10007
|
});
|
|
10014
|
-
}),
|
|
10015
|
-
let e = [...
|
|
10008
|
+
}), ee = r(() => {
|
|
10009
|
+
let e = [...M.value].slice(0, p.maxHorizontalFilters);
|
|
10016
10010
|
return d.value ? [...e.slice(0, p.maxHorizontalFilters - 1), d.value] : e;
|
|
10017
|
-
}),
|
|
10011
|
+
}), L = (e, t) => {
|
|
10018
10012
|
if (!e || typeof e != "object") return;
|
|
10019
10013
|
let n = e;
|
|
10020
10014
|
if (n.filterType && n.filterType !== "join" && n.colId) {
|
|
10021
10015
|
t.add(n.colId);
|
|
10022
10016
|
return;
|
|
10023
10017
|
}
|
|
10024
|
-
n.filterType === "join" && Array.isArray(n.conditions) && n.conditions.forEach((e) =>
|
|
10025
|
-
},
|
|
10018
|
+
n.filterType === "join" && Array.isArray(n.conditions) && n.conditions.forEach((e) => L(e, t));
|
|
10019
|
+
}, R = r(() => {
|
|
10026
10020
|
let e = _.value;
|
|
10027
10021
|
if (f.value && n.value) {
|
|
10028
10022
|
let t = /* @__PURE__ */ new Set();
|
|
10029
|
-
return
|
|
10023
|
+
return L(e, t), t.size;
|
|
10030
10024
|
}
|
|
10031
10025
|
let t = _.value || {};
|
|
10032
10026
|
return Object.keys(t).length;
|
|
10033
|
-
}),
|
|
10034
|
-
|
|
10035
|
-
},
|
|
10027
|
+
}), z = O(!1), te = () => {
|
|
10028
|
+
z.value = !0;
|
|
10029
|
+
}, ne = () => {
|
|
10036
10030
|
if (n.value) {
|
|
10037
|
-
|
|
10038
|
-
for (let e of
|
|
10031
|
+
z.value = !1, v(), f.value ? g.value = n.value.getAdvancedFilterModel() : g.value = n.value.getFilterModel(), w.value = !0;
|
|
10032
|
+
for (let e of N.value) {
|
|
10039
10033
|
let t = e.field;
|
|
10040
10034
|
if (!t) continue;
|
|
10041
10035
|
let r = (x.value[t] || []).length > 0, i = C.value[t] === !0;
|
|
@@ -10046,17 +10040,17 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10046
10040
|
});
|
|
10047
10041
|
}
|
|
10048
10042
|
}
|
|
10049
|
-
}, { clearAllFocuses:
|
|
10050
|
-
n.value && (g.value = null, f.value ? n.value.setAdvancedFilterModel(null) : (n.value.setFilterModel(null), n.value.onFilterChanged()), h.value += 1,
|
|
10051
|
-
}, U = () => {
|
|
10052
|
-
w.value = !1, D.value = "";
|
|
10053
|
-
}, W = () => {
|
|
10054
|
-
b(), g.value = null, U();
|
|
10043
|
+
}, { clearAllFocuses: re } = ml(), B = () => {
|
|
10044
|
+
n.value && (g.value = null, f.value ? n.value.setAdvancedFilterModel(null) : (n.value.setFilterModel(null), n.value.onFilterChanged()), h.value += 1, re(), T.value = !1);
|
|
10055
10045
|
}, ie = () => {
|
|
10056
|
-
|
|
10046
|
+
w.value = !1, D.value = "";
|
|
10047
|
+
}, H = () => {
|
|
10048
|
+
b(), g.value = null, ie();
|
|
10049
|
+
}, U = () => {
|
|
10050
|
+
b(), z.value && n.value && (f.value ? n.value.setAdvancedFilterModel(g.value) : (n.value.setFilterModel(g.value), n.value.onFilterChanged())), g.value = null, ie();
|
|
10057
10051
|
};
|
|
10058
10052
|
return (e, r) => (E(), o(t, null, [s("div", Yu, [
|
|
10059
|
-
(E(!0), o(t, null, k(
|
|
10053
|
+
(E(!0), o(t, null, k(ee.value, (s) => (E(), o(t, { key: s.field }, [I(n) ? (E(), i(Ju, {
|
|
10060
10054
|
key: 0,
|
|
10061
10055
|
"enable-focus-view": p.enableFocusView,
|
|
10062
10056
|
"display-preferences-icon": p.displayPreferencesIcon,
|
|
@@ -10074,19 +10068,19 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10074
10068
|
s("div", Xu, [p.enableVerticalPanel ? (E(), i(I(An), {
|
|
10075
10069
|
key: 0,
|
|
10076
10070
|
label: "All Filters",
|
|
10077
|
-
onClick:
|
|
10071
|
+
onClick: ne,
|
|
10078
10072
|
variant: "ghost",
|
|
10079
10073
|
"left-icon": "filter"
|
|
10080
|
-
})) : a("", !0),
|
|
10074
|
+
})) : a("", !0), R.value > 0 && !p.readOnly ? (E(), o("button", {
|
|
10081
10075
|
key: 1,
|
|
10082
10076
|
class: "pv-button-ghost",
|
|
10083
10077
|
onClick: r[1] ||= (e) => T.value = !0
|
|
10084
10078
|
}, [
|
|
10085
10079
|
u(I(En), { name: "close" }),
|
|
10086
10080
|
r[13] ||= l(" Clear All Filters ", -1),
|
|
10087
|
-
|
|
10081
|
+
R.value > 0 ? (E(), i(I(Dn), {
|
|
10088
10082
|
key: 0,
|
|
10089
|
-
value:
|
|
10083
|
+
value: R.value,
|
|
10090
10084
|
variant: "tertiary"
|
|
10091
10085
|
}, null, 8, ["value"])) : a("", !0)
|
|
10092
10086
|
])) : a("", !0)]),
|
|
@@ -10096,16 +10090,16 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10096
10090
|
"onUpdate:modelValue": r[9] ||= (e) => w.value = e,
|
|
10097
10091
|
class: "pv-drawer pv-surface",
|
|
10098
10092
|
"close-on-click-outside": !0,
|
|
10099
|
-
onClickOutside: r[10] ||= (e) =>
|
|
10093
|
+
onClickOutside: r[10] ||= (e) => U(),
|
|
10100
10094
|
style: {
|
|
10101
10095
|
"max-width": "450px",
|
|
10102
10096
|
"z-index": "10"
|
|
10103
10097
|
}
|
|
10104
10098
|
}, {
|
|
10105
|
-
header: V(() => [s("div", Zu, [s("p", Qu, "All Filters (" + P(
|
|
10099
|
+
header: V(() => [s("div", Zu, [s("p", Qu, "All Filters (" + P(N.value.length) + ")", 1), s("button", {
|
|
10106
10100
|
class: "pv-button-ghost",
|
|
10107
10101
|
"aria-label": "Close",
|
|
10108
|
-
onClick: r[2] ||= (e) =>
|
|
10102
|
+
onClick: r[2] ||= (e) => H()
|
|
10109
10103
|
}, [u(I(En), { name: "close" })])]), u(I(qi), {
|
|
10110
10104
|
modelValue: D.value,
|
|
10111
10105
|
"onUpdate:modelValue": r[3] ||= (e) => D.value = e,
|
|
@@ -10115,28 +10109,28 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10115
10109
|
key: 1,
|
|
10116
10110
|
variant: "ghost",
|
|
10117
10111
|
label: "Close",
|
|
10118
|
-
onClick: r[8] ||= (e) =>
|
|
10112
|
+
onClick: r[8] ||= (e) => H()
|
|
10119
10113
|
})) : (E(), o(t, { key: 0 }, [s("button", {
|
|
10120
10114
|
class: "pv-button-ghost",
|
|
10121
|
-
onClick: r[5] ||= (e) =>
|
|
10115
|
+
onClick: r[5] ||= (e) => B()
|
|
10122
10116
|
}, "Clear All"), s("div", ad, [u(I(An), {
|
|
10123
10117
|
variant: "ghost",
|
|
10124
10118
|
label: "Cancel",
|
|
10125
|
-
onClick: r[6] ||= (e) =>
|
|
10126
|
-
}),
|
|
10119
|
+
onClick: r[6] ||= (e) => H()
|
|
10120
|
+
}), z.value ? (E(), i(I(An), {
|
|
10127
10121
|
key: 0,
|
|
10128
10122
|
variant: "primary",
|
|
10129
10123
|
label: "Apply",
|
|
10130
|
-
onClick: r[7] ||= (e) =>
|
|
10124
|
+
onClick: r[7] ||= (e) => U()
|
|
10131
10125
|
})) : (E(), i(I(An), {
|
|
10132
10126
|
key: 1,
|
|
10133
10127
|
variant: "primary",
|
|
10134
10128
|
label: "No Changes",
|
|
10135
10129
|
disabled: ""
|
|
10136
10130
|
}))])], 64))])]),
|
|
10137
|
-
default: V(() => [s("div", $u, [s("div", ed, [(E(!0), o(t, null, k(
|
|
10131
|
+
default: V(() => [s("div", $u, [s("div", ed, [(E(!0), o(t, null, k(F.value, (t, c) => (E(), o("div", {
|
|
10138
10132
|
key: t.field,
|
|
10139
|
-
class: y([{ "pv-border-bottom": c <
|
|
10133
|
+
class: y([{ "pv-border-bottom": c < F.value.length - 1 }, "pv-stack-12"])
|
|
10140
10134
|
}, [s("details", td, [s("summary", nd, [s("span", rd, P(t.headerName), 1)]), s("div", null, [I(n) ? (E(), i(Ju, {
|
|
10141
10135
|
key: 0,
|
|
10142
10136
|
"filter-style": "vertical",
|
|
@@ -10145,7 +10139,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10145
10139
|
"display-preferences-icon": p.displayPreferencesIcon,
|
|
10146
10140
|
"focus-text": p.focusText,
|
|
10147
10141
|
"read-only": p.readOnly,
|
|
10148
|
-
onFilterSelectionChanged:
|
|
10142
|
+
onFilterSelectionChanged: te,
|
|
10149
10143
|
onHandleSettingsIcon: r[4] ||= (t) => e.$emit("handle-settings-icon", t)
|
|
10150
10144
|
}, null, 8, [
|
|
10151
10145
|
"enable-focus-view",
|
|
@@ -10172,7 +10166,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10172
10166
|
label: "Clear All Filters",
|
|
10173
10167
|
variant: "primary",
|
|
10174
10168
|
size: "lg",
|
|
10175
|
-
onClick:
|
|
10169
|
+
onClick: B
|
|
10176
10170
|
})])]),
|
|
10177
10171
|
_: 1
|
|
10178
10172
|
}, 8, ["modelValue"])], 64));
|
|
@@ -10255,7 +10249,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10255
10249
|
variant: "ghost",
|
|
10256
10250
|
size: "lg",
|
|
10257
10251
|
label: p.value || "",
|
|
10258
|
-
onClick: t[1] ||=
|
|
10252
|
+
onClick: t[1] ||= H(() => {}, ["stop"])
|
|
10259
10253
|
}, null, 8, [
|
|
10260
10254
|
"modelValue",
|
|
10261
10255
|
"options",
|
|
@@ -10275,7 +10269,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10275
10269
|
variant: "ghost",
|
|
10276
10270
|
"left-icon": "menu",
|
|
10277
10271
|
ariaLabel: "Column menu",
|
|
10278
|
-
onClick:
|
|
10272
|
+
onClick: H(N, ["stop", "prevent"])
|
|
10279
10273
|
})], 4)])) : a("", !0)], 4));
|
|
10280
10274
|
}
|
|
10281
10275
|
}), [["__scopeId", "data-v-385ad98a"]]), dd = {
|
|
@@ -10293,13 +10287,13 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10293
10287
|
rangeSelectionBorderStyle: "solid",
|
|
10294
10288
|
menuBackgroundColor: "white",
|
|
10295
10289
|
accentColor: "#36C5BA"
|
|
10296
|
-
}, fd =
|
|
10290
|
+
}, fd = Me.withParams({
|
|
10297
10291
|
...dd,
|
|
10298
10292
|
headerRowBorder: !0,
|
|
10299
10293
|
rowHoverColor: "#F7F8F8",
|
|
10300
10294
|
wrapperBorder: !0,
|
|
10301
10295
|
wrapperBorderRadius: "8px"
|
|
10302
|
-
}), pd =
|
|
10296
|
+
}), pd = Me.withParams({
|
|
10303
10297
|
...dd,
|
|
10304
10298
|
headerRowBorder: !1,
|
|
10305
10299
|
rowHoverColor: "transparent",
|
|
@@ -10310,7 +10304,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10310
10304
|
rowHeight: "50px"
|
|
10311
10305
|
}), md = {
|
|
10312
10306
|
"pv-data-table-base": fd,
|
|
10313
|
-
"pv-data-table-grouped":
|
|
10307
|
+
"pv-data-table-grouped": Me.withParams({
|
|
10314
10308
|
...dd,
|
|
10315
10309
|
headerRowBorder: !0,
|
|
10316
10310
|
rowHoverColor: "#F7F8F8",
|
|
@@ -10344,7 +10338,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10344
10338
|
class: "pv-icon-24"
|
|
10345
10339
|
}, [s("title", null, "ellipsis"), s("use", { "xlink:href": "#ellipsis" })])], -1), s("div", gd, [s("button", {
|
|
10346
10340
|
class: "pv-button pv-text-body-sm pv-inset-square-8",
|
|
10347
|
-
onClick:
|
|
10341
|
+
onClick: H(i, ["prevent"]),
|
|
10348
10342
|
disabled: r.value
|
|
10349
10343
|
}, [r.value ? (E(), o(t, { key: 0 }, [l("Exporting...")], 64)) : (E(), o(t, { key: 1 }, [l("Download CSV")], 64))], 8, _d)])]));
|
|
10350
10344
|
}
|
|
@@ -10355,7 +10349,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10355
10349
|
__name: "PaginationPanel",
|
|
10356
10350
|
props: { panelSize: { default: "xl" } },
|
|
10357
10351
|
setup(e) {
|
|
10358
|
-
|
|
10352
|
+
X.registerModules([be]);
|
|
10359
10353
|
let n = m(Dc, O(null)), a = m(Lc, O(1)), s = m(Rc, O(0)), c = e, l = r(() => {
|
|
10360
10354
|
let e = s.value, t = a.value;
|
|
10361
10355
|
if (e <= 7) return Array.from({ length: e }, (e, t) => t + 1);
|
|
@@ -10463,12 +10457,12 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10463
10457
|
};
|
|
10464
10458
|
}), o.value = !1;
|
|
10465
10459
|
};
|
|
10466
|
-
return
|
|
10460
|
+
return ue(r, (e) => {
|
|
10467
10461
|
t.searchStyle === "query-builder" ? g(e) : t.searchStyle === "text" && p(e);
|
|
10468
10462
|
}, {
|
|
10469
10463
|
debounce: 300,
|
|
10470
10464
|
immediate: !0
|
|
10471
|
-
}),
|
|
10465
|
+
}), ue(n, (e) => {
|
|
10472
10466
|
t.searchStyle === "query-builder" && h(e);
|
|
10473
10467
|
}, {
|
|
10474
10468
|
debounce: 300,
|
|
@@ -10700,66 +10694,66 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10700
10694
|
],
|
|
10701
10695
|
setup(e, { expose: t, emit: c }) {
|
|
10702
10696
|
let d = [
|
|
10703
|
-
Me,
|
|
10704
10697
|
Ne,
|
|
10705
|
-
de,
|
|
10706
10698
|
Pe,
|
|
10707
|
-
|
|
10699
|
+
fe,
|
|
10708
10700
|
Fe,
|
|
10709
10701
|
me,
|
|
10710
|
-
he,
|
|
10711
10702
|
Ie,
|
|
10712
|
-
|
|
10703
|
+
he,
|
|
10713
10704
|
ge,
|
|
10714
|
-
|
|
10715
|
-
|
|
10716
|
-
|
|
10717
|
-
|
|
10705
|
+
Le,
|
|
10706
|
+
Re,
|
|
10707
|
+
_e,
|
|
10708
|
+
ye,
|
|
10709
|
+
xe,
|
|
10710
|
+
Be,
|
|
10711
|
+
De,
|
|
10718
10712
|
Ge,
|
|
10719
10713
|
We,
|
|
10720
10714
|
Ke,
|
|
10721
|
-
|
|
10722
|
-
|
|
10723
|
-
we,
|
|
10724
|
-
He,
|
|
10725
|
-
Ue,
|
|
10715
|
+
Ae,
|
|
10716
|
+
Ve,
|
|
10726
10717
|
Te,
|
|
10727
10718
|
Q,
|
|
10728
|
-
|
|
10719
|
+
Ue,
|
|
10720
|
+
Ee,
|
|
10721
|
+
Z,
|
|
10722
|
+
we,
|
|
10729
10723
|
qe,
|
|
10724
|
+
ke,
|
|
10725
|
+
je,
|
|
10726
|
+
pe,
|
|
10730
10727
|
Oe,
|
|
10731
|
-
Ae,
|
|
10732
|
-
fe,
|
|
10733
|
-
De,
|
|
10734
|
-
xe,
|
|
10735
10728
|
Se,
|
|
10736
|
-
|
|
10737
|
-
|
|
10738
|
-
|
|
10729
|
+
Ce,
|
|
10730
|
+
Y,
|
|
10731
|
+
ve,
|
|
10732
|
+
He
|
|
10739
10733
|
];
|
|
10740
|
-
|
|
10734
|
+
ze.setLicenseKey("Using_this_{AG_Grid}_Enterprise_key_{AG-084011}_in_excess_of_the_licence_granted_is_not_permitted___Please_report_misuse_to_legal@ag-grid.com___For_help_with_changing_this_key_please_contact_info@ag-grid.com___{Turquoise_Health}_is_granted_a_{Multiple_Applications}_Developer_License_for_{3}_Front-End_JavaScript_developers___All_Front-End_JavaScript_developers_need_to_be_licensed_in_addition_to_the_ones_working_with_{AG_Grid}_Enterprise___This_key_has_been_granted_a_Deployment_License_Add-on_for_{2}_Production_Environments___This_key_works_with_{AG_Grid}_Enterprise_versions_released_before_{16_August_2026}____[v3]_[01]_MTc4NjgzNDgwMDAwMA==3bfdb2557ede1aa3533ccbd05785addb");
|
|
10741
10735
|
let f = e;
|
|
10742
10736
|
f.debugMode && d.push(Je);
|
|
10743
10737
|
let p = r(() => f.layout ? {} : {
|
|
10744
10738
|
height: f.containerHeight,
|
|
10745
10739
|
minHeight: f.containerMinHeight
|
|
10746
|
-
}), h = r(() => f.theme != null && typeof f.theme != "string"), g = r(() => f.theme && typeof f.theme == "string" ? f.theme :
|
|
10740
|
+
}), h = r(() => f.theme != null && typeof f.theme != "string"), g = r(() => f.theme && typeof f.theme == "string" ? f.theme : W.value.length > 0 ? "pv-data-table-grouped" : "pv-data-table-base"), b = f.theme && typeof f.theme == "string" ? f.theme : "pv-data-table-base", w = r(() => h.value ? f.theme : md[g.value]), T = c, k = O(!1), j = (e) => {
|
|
10747
10741
|
let t = Il(e), n = e.context;
|
|
10748
10742
|
return Array.from(new Set([
|
|
10749
10743
|
...t,
|
|
10750
10744
|
...n?.queryColIds || [],
|
|
10751
|
-
...t.flatMap((e) =>
|
|
10745
|
+
...t.flatMap((e) => U.find((t) => t.field === e || t.colId === e)?.context?.queryColIds || [])
|
|
10752
10746
|
]));
|
|
10753
10747
|
}, M = (e, t) => {
|
|
10754
10748
|
if (tu(e, t)) return !0;
|
|
10755
|
-
let n =
|
|
10749
|
+
let n = U.find((e) => Ll(e) === t);
|
|
10756
10750
|
return !!n && j(n).some((t) => tu(e, t));
|
|
10757
10751
|
}, F = "serverSideRowHandler" in f && f.serverSideRowHandler ? { getRows: (e) => {
|
|
10758
|
-
if (!
|
|
10759
|
-
e.success({ rowData: [] }),
|
|
10752
|
+
if (!q.value) {
|
|
10753
|
+
e.success({ rowData: [] }), G.value = !0;
|
|
10760
10754
|
return;
|
|
10761
10755
|
}
|
|
10762
|
-
|
|
10756
|
+
K.value = !0;
|
|
10763
10757
|
let t = e.success, n = e.fail, r = e.request.groupKeys?.length || 0, i = e.request.rowGroupCols?.length || 0, a = r === i, o = !1, s = Qe.value;
|
|
10764
10758
|
if (i > 0 && r === 0) {
|
|
10765
10759
|
let t = e.request.rowGroupCols[0].id;
|
|
@@ -10814,7 +10808,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10814
10808
|
e.request.groupKeys = e.request.groupKeys.filter((t, n) => e.request.rowGroupCols?.[n]?.aggFunc !== fo), e.request.rowGroupCols = e.request.rowGroupCols.filter((e) => e.aggFunc !== fo);
|
|
10815
10809
|
}
|
|
10816
10810
|
}
|
|
10817
|
-
if (e.request.rowGroupCols?.length === 0 ? e.request.valueCols = [] : e.request.valueCols = e.request.valueCols?.filter((t) => !e.request.rowGroupCols?.some((e) => e.id === t.id)), (a || o) && !
|
|
10811
|
+
if (e.request.rowGroupCols?.length === 0 ? e.request.valueCols = [] : e.request.valueCols = e.request.valueCols?.filter((t) => !e.request.rowGroupCols?.some((e) => e.id === t.id)), (a || o) && !X.tableSearchFilterModelEmpty.value) if (f.enableAdvancedFilter) {
|
|
10818
10812
|
let t = e.request.filterModel;
|
|
10819
10813
|
t ? e.request.filterModel = {
|
|
10820
10814
|
filterType: "join",
|
|
@@ -10823,10 +10817,10 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10823
10817
|
} : e.request.filterModel = s;
|
|
10824
10818
|
} else {
|
|
10825
10819
|
let t = e.request.filterModel;
|
|
10826
|
-
e.request.filterModel = nu(
|
|
10820
|
+
e.request.filterModel = nu(U, t, s);
|
|
10827
10821
|
}
|
|
10828
10822
|
e.success = (e) => {
|
|
10829
|
-
if (
|
|
10823
|
+
if (K.value = !1, f.enableFocusView && ct.value.length > 0 && st.value && e.rowData) {
|
|
10830
10824
|
let n = Al(e.rowData, st.value, ct.value);
|
|
10831
10825
|
if (n) {
|
|
10832
10826
|
e.rowData = n, t(e);
|
|
@@ -10835,11 +10829,11 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10835
10829
|
}
|
|
10836
10830
|
t(e);
|
|
10837
10831
|
}, e.fail = () => {
|
|
10838
|
-
|
|
10832
|
+
K.value = !1, n();
|
|
10839
10833
|
}, f.serverSideRowHandler?.(e);
|
|
10840
10834
|
} } : null, ee = "filterValuesSetHandler" in f && f.filterValuesSetHandler ? async (e) => {
|
|
10841
10835
|
let t = [], n = { ...Ze.value };
|
|
10842
|
-
t = !
|
|
10836
|
+
t = !G.value && oe ? vu(n, e.colDef.field ?? e.colDef.colId ?? "") || [] : await rt(e.colDef, {
|
|
10843
10837
|
api: e.api,
|
|
10844
10838
|
filterModel: n,
|
|
10845
10839
|
useStaged: !1
|
|
@@ -10867,7 +10861,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10867
10861
|
component: Ul,
|
|
10868
10862
|
params: e
|
|
10869
10863
|
};
|
|
10870
|
-
if (!e.column?.getColDef().cellRenderer && f.displayRowNumber &&
|
|
10864
|
+
if (!e.column?.getColDef().cellRenderer && f.displayRowNumber && W.value.length === 0) {
|
|
10871
10865
|
let t = e.api.getAllDisplayedColumns() || [], n = e.column;
|
|
10872
10866
|
if (t.findIndex((e) => e === n) === 0) return {
|
|
10873
10867
|
component: wd,
|
|
@@ -10888,12 +10882,12 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10888
10882
|
let t = e.column?.getColId();
|
|
10889
10883
|
if (e.column && bt(e.column) && (t = ft.value?.getColId() || ""), !zt(t)) {
|
|
10890
10884
|
let n = e.api.getColumn(t)?.getColDef();
|
|
10891
|
-
n && (
|
|
10885
|
+
n && (se.value = n, v(() => {
|
|
10892
10886
|
zt(t);
|
|
10893
10887
|
}));
|
|
10894
10888
|
}
|
|
10895
10889
|
}
|
|
10896
|
-
},
|
|
10890
|
+
}, H = (e, t) => {
|
|
10897
10891
|
if (!e) return null;
|
|
10898
10892
|
let n = { ...e }, r = t, i = Il(e);
|
|
10899
10893
|
if (r.devOnly) if (f.devMode) n.hide = !0;
|
|
@@ -10907,39 +10901,39 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10907
10901
|
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 || "";
|
|
10908
10902
|
}
|
|
10909
10903
|
return r.isArrayField && !e.valueFormatter ? n.valueFormatter = (e) => kt(e, r.dataType) : r.dataType === Tl.Percent && !e.valueFormatter ? n.valueFormatter = (e) => Dt(e, r.valueDecimals || 0) : r.dataType === Tl.Currency && !e.valueFormatter ? n.valueFormatter = (e) => Et(e, r.valueDecimals || 0) : r.dataType === Tl.Integer && !e.valueFormatter ? n.valueFormatter = Ot : r.dataType === Tl.Tag && !e.cellRenderer && (n.cellRenderer = Sd), n;
|
|
10910
|
-
},
|
|
10904
|
+
}, U = f.colDefs?.map((e) => {
|
|
10911
10905
|
let t = { ...e };
|
|
10912
10906
|
F && ee && ru(e) && (t = iu(e, ee));
|
|
10913
10907
|
let n = e.context;
|
|
10914
|
-
return n && (t =
|
|
10915
|
-
}).filter((e) => e != null) || [],
|
|
10916
|
-
for (let e of
|
|
10917
|
-
let
|
|
10918
|
-
if (
|
|
10919
|
-
let e =
|
|
10908
|
+
return n && (t = H(t, n)), t;
|
|
10909
|
+
}).filter((e) => e != null) || [], ae = new Set(f.colDefs?.map((e) => e.field || e.colId).filter(Boolean) || []);
|
|
10910
|
+
for (let e of U) for (let t of Il(e)) ae.has(t) || console.warn(`aggregate field hierarchy references "${t}" on column "${e.field || e.colId}", but no colDef with that field exists.`);
|
|
10911
|
+
let oe = Xl(f.initialGridState, U, f.enableAdvancedFilter), se = O(null), W = O([]), G = m(Fc, O(!1)), K = O(!1), ce = r(() => {
|
|
10912
|
+
if (W.value.length > 0) {
|
|
10913
|
+
let e = W.value[0], t = U.find((t) => t.field === e), n = Ze.value, r = !n;
|
|
10920
10914
|
if (!r && wu(n) && (r = !n[e]), r && t?.context?.filterRequiredToGroup) return t.headerName;
|
|
10921
10915
|
}
|
|
10922
10916
|
return null;
|
|
10923
|
-
}),
|
|
10917
|
+
}), q = r(() => X.filterModelEmpty.value && f.requireFiltersToShowData ? !1 : ce.value === null), le = r(() => ce.value ? `Select at least one value for "${ce.value}" to view data.` : "Select a filter to view data."), J = N(null), be = O([]), X = f.filterStore || ku(), Me = m(Tc, null), Xe = Me || pl(null, f.allFieldsAreFocusable), Ze = X.filterModel, Qe = X.tableSearchFilterModel, $e = X.filterValueMap, et = X.filterValuesMap, nt = X.filterValueSelectedMetadataMap, rt = X.fetchFilterValues, it = X.filterStoreHandler, at = X.tableSearchHandler;
|
|
10924
10918
|
if (it.value = f.filterValuesSetHandler, it.value) {
|
|
10925
10919
|
let e = (e) => ({
|
|
10926
|
-
hasMore:
|
|
10927
|
-
totalCount:
|
|
10928
|
-
values:
|
|
10920
|
+
hasMore: X.filterHasMoreMap.value[e],
|
|
10921
|
+
totalCount: X.filterTotalCountMap.value[e],
|
|
10922
|
+
values: X.filterOptionsMap.value[e] ?? []
|
|
10929
10923
|
});
|
|
10930
|
-
|
|
10924
|
+
X.setFilterOptionsHandler(async (t) => {
|
|
10931
10925
|
let n = it.value;
|
|
10932
10926
|
return n ? await n({
|
|
10933
10927
|
...t,
|
|
10934
|
-
api:
|
|
10928
|
+
api: J.value ?? void 0,
|
|
10935
10929
|
colDef: t.colDef,
|
|
10936
10930
|
filterModel: t.filterModel
|
|
10937
10931
|
}) ?? e(t.field) : e(t.field);
|
|
10938
10932
|
});
|
|
10939
10933
|
}
|
|
10940
|
-
at.value = f.tableSearchHandler, $e.value = f.initialFilterValueMap || {}, et.value = Object.fromEntries(Object.entries(f.initialFilterValueMap || {}).map(([e, t]) => [e, t.filter((e) => e != null).map((e) => e.value)])), nt.value = f.initialFilterValueSelectedMetadataMap || {},
|
|
10941
|
-
|
|
10942
|
-
}),
|
|
10934
|
+
at.value = f.tableSearchHandler, $e.value = f.initialFilterValueMap || {}, et.value = Object.fromEntries(Object.entries(f.initialFilterValueMap || {}).map(([e, t]) => [e, t.filter((e) => e != null).map((e) => e.value)])), nt.value = f.initialFilterValueSelectedMetadataMap || {}, X.refreshFiltersInBackground.value = f.refreshFiltersInBackground ?? !1, X.stageFilterChangesUntilDropdownCloses.value = f.stageFilterChangesUntilDropdownCloses ?? !1, X.filterSearchMinLength.value = f.filterSearchMinLength, X.filterModelType.value = f.enableAdvancedFilter ? "advanced" : "regular", B(() => f.enableAdvancedFilter, (e) => {
|
|
10935
|
+
X.filterModelType.value = e ? "advanced" : "regular";
|
|
10936
|
+
}), ue([$e, nt], () => {
|
|
10943
10937
|
T("filter-metadata-changed", {
|
|
10944
10938
|
filterValueMap: $e.value,
|
|
10945
10939
|
filterValueSelectedMetadataMap: nt.value
|
|
@@ -10948,8 +10942,8 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10948
10942
|
deep: !0,
|
|
10949
10943
|
debounce: 250
|
|
10950
10944
|
});
|
|
10951
|
-
let ot = O(null), st = r(() => Xe?.computedFocusType.value || null), ct = r(() => Xe?.computedFocuses.value || []), lt = r(() =>
|
|
10952
|
-
D(wc,
|
|
10945
|
+
let ot = O(null), st = r(() => Xe?.computedFocusType.value || null), ct = r(() => Xe?.computedFocuses.value || []), lt = r(() => U.filter((e) => e.filter)), ut = r(() => U.filter((e) => e.enableRowGroup)), dt = r(() => U.filter((e) => e.aggFunc)), ft = O(null), pt = O({}), mt = O(1), ht = O(0);
|
|
10946
|
+
D(wc, X), D(Tc, Xe), D(Ec, be), D(Dc, J), D(Oc, ot), D(kc, se), D(Ac, lt), D(jc, ut), D(Mc, W), D(Nc, ft), D(Pc, pt), D(Fc, G), D(Ic, K), D(Lc, mt), D(Rc, ht), D(Yc, r(() => f.enableAdvancedFilter));
|
|
10953
10947
|
let gt = r(() => !f.enableFocusView && !f.rowData || f.enableFocusView && !ct.value.length && !st.value ? f.rowData : Al(f.rowData, st.value, ct.value));
|
|
10954
10948
|
B(() => ct.value, (e) => {
|
|
10955
10949
|
T("focus-update", {
|
|
@@ -10957,27 +10951,27 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10957
10951
|
focuses: e
|
|
10958
10952
|
});
|
|
10959
10953
|
}), B(k, (e) => {
|
|
10960
|
-
if (!
|
|
10961
|
-
let t =
|
|
10962
|
-
t.length > 0 &&
|
|
10954
|
+
if (!J.value) return;
|
|
10955
|
+
let t = U.filter((e) => e.context?.devOnly).map((e) => e.field).filter(Boolean);
|
|
10956
|
+
t.length > 0 && J.value.setColumnsVisible(t, e);
|
|
10963
10957
|
});
|
|
10964
10958
|
let _t = (e) => {
|
|
10965
|
-
|
|
10966
|
-
let t =
|
|
10967
|
-
if (f.hideAllRowGroupedColumns &&
|
|
10959
|
+
J.value = e.api;
|
|
10960
|
+
let t = W.value.find((e) => !U.find((t) => t.field === e)?.hide), n = !t && W.value.length > 0 ? U.find((e) => !e.hide && !e.rowGroup)?.field ?? null : null, r = f.leftPinnedColumnName ?? t ?? n, i = [];
|
|
10961
|
+
if (f.hideAllRowGroupedColumns && W.value.forEach((e) => i.push(e)), r) {
|
|
10968
10962
|
let t = e.api.getColumn(r);
|
|
10969
10963
|
ft.value = t, i.push(r), Ut(t?.getColDef());
|
|
10970
10964
|
}
|
|
10971
|
-
|
|
10965
|
+
oe ? Kt(oe) : Ze.value && At(Ze.value), Qe.value && jt(Qe.value), e.api.setColumnsVisible([...i], !1), ot.value = e.api.getAllGridColumns(), mt.value = e.api.paginationGetCurrentPage() + 1, ht.value = e.api.paginationGetTotalPages(), T("grid-ready", e);
|
|
10972
10966
|
}, vt = (e) => {
|
|
10973
|
-
if (
|
|
10967
|
+
if (J.value) {
|
|
10974
10968
|
let t = Tt();
|
|
10975
10969
|
pu(Ze.value, t) || (Ze.value = t, T("filter-changed", e));
|
|
10976
10970
|
}
|
|
10977
10971
|
}, yt = (e) => {
|
|
10978
|
-
|
|
10972
|
+
be.value = e.api?.getState()?.sort?.sortModel || [], G.value && T("sort-changed", e);
|
|
10979
10973
|
}, bt = (e) => e.getColId() && e.getColId().includes("ag-Grid-AutoColumn"), xt = O(!1), St = async (e) => {
|
|
10980
|
-
if (!
|
|
10974
|
+
if (!J.value) {
|
|
10981
10975
|
console.error("Grid API not available");
|
|
10982
10976
|
return;
|
|
10983
10977
|
}
|
|
@@ -10986,17 +10980,17 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
10986
10980
|
route: [],
|
|
10987
10981
|
purge: !0
|
|
10988
10982
|
};
|
|
10989
|
-
|
|
10983
|
+
J.value.refreshServerSide(t);
|
|
10990
10984
|
};
|
|
10991
10985
|
function Ct(e) {
|
|
10992
|
-
return e?.hydrate ?
|
|
10986
|
+
return e?.hydrate ? X.hydrateSelectedFilterMetadata(U) : nt.value;
|
|
10993
10987
|
}
|
|
10994
10988
|
let wt = async () => {
|
|
10995
|
-
if (xt.value = !0, !
|
|
10989
|
+
if (xt.value = !0, !J.value) return console.error("Grid API not available"), xt.value = !1, null;
|
|
10996
10990
|
try {
|
|
10997
|
-
let e = f.serverSideCsvHandler, t =
|
|
10991
|
+
let e = f.serverSideCsvHandler, t = J.value?.getState(), n = {
|
|
10998
10992
|
rowGroupCols: [],
|
|
10999
|
-
valueCols:
|
|
10993
|
+
valueCols: J.value?.getValueColumns().map((e) => ({
|
|
11000
10994
|
id: e.getId(),
|
|
11001
10995
|
field: e.getColDef().field,
|
|
11002
10996
|
aggFunc: typeof e.getColDef().aggFunc == "string" ? e.getColDef().aggFunc : void 0,
|
|
@@ -11014,7 +11008,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11014
11008
|
let e = {
|
|
11015
11009
|
request: n,
|
|
11016
11010
|
parentNode: {},
|
|
11017
|
-
api:
|
|
11011
|
+
api: J.value,
|
|
11018
11012
|
context: void 0,
|
|
11019
11013
|
success: () => {},
|
|
11020
11014
|
fail: () => {}
|
|
@@ -11023,13 +11017,13 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11023
11017
|
}
|
|
11024
11018
|
let r = f.serverSideRowHandler;
|
|
11025
11019
|
return r ? await new Promise((e, t) => {
|
|
11026
|
-
|
|
11020
|
+
J.value?.getState(), r({
|
|
11027
11021
|
request: n,
|
|
11028
11022
|
parentNode: {},
|
|
11029
|
-
api:
|
|
11023
|
+
api: J.value,
|
|
11030
11024
|
context: void 0,
|
|
11031
11025
|
success: (t) => {
|
|
11032
|
-
let n =
|
|
11026
|
+
let n = J.value?.getRowGroupColumns().map((e) => e.getColDef().field).filter((e) => !!e) || [], r = J.value?.getAllDisplayedColumns().map((e) => e.getColDef().field).filter((e) => !!e) || [], i = J.value?.getValueColumns().map((e) => e.getColDef().field).filter((e) => !!e) || [], a = Array.from(new Set([
|
|
11033
11027
|
...n,
|
|
11034
11028
|
...r,
|
|
11035
11029
|
...i
|
|
@@ -11046,35 +11040,35 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11046
11040
|
xt.value = !1, t("CSV export failed.");
|
|
11047
11041
|
}
|
|
11048
11042
|
}, !0);
|
|
11049
|
-
}) : (console.warn("Client-side export does not return CSV string"), xt.value = !1,
|
|
11043
|
+
}) : (console.warn("Client-side export does not return CSV string"), xt.value = !1, J.value.exportDataAsCsv(), null);
|
|
11050
11044
|
} catch (e) {
|
|
11051
11045
|
return console.error("CSV export failed", e), xt.value = !1, null;
|
|
11052
11046
|
}
|
|
11053
|
-
}, Tt = () =>
|
|
11054
|
-
if (!
|
|
11047
|
+
}, Tt = () => J.value ? f.enableAdvancedFilter ? J.value.getAdvancedFilterModel() : J.value.getFilterModel() : Ze.value, At = (e) => {
|
|
11048
|
+
if (!J.value) return !1;
|
|
11055
11049
|
if (f.enableAdvancedFilter) {
|
|
11056
11050
|
let t = e && wu(e) ? Yl(e) : e;
|
|
11057
|
-
|
|
11051
|
+
J.value.setAdvancedFilterModel(t);
|
|
11058
11052
|
} else {
|
|
11059
11053
|
if (e && !wu(e)) return console.warn("Attempting to set a non-regular filter model while advanced filtering is disabled. The filter model was not applied. Consider enabling advanced filtering for full functionality."), !1;
|
|
11060
|
-
|
|
11054
|
+
J.value.setFilterModel(e);
|
|
11061
11055
|
}
|
|
11062
11056
|
return !0;
|
|
11063
|
-
}, jt = (e) => (Qe.value = e,
|
|
11057
|
+
}, jt = (e) => (Qe.value = e, J.value ? (J.value.onFilterChanged(), F && J.value.refreshServerSide({ purge: !0 }), !0) : !1), Mt = {
|
|
11064
11058
|
getFilterModel: Tt,
|
|
11065
11059
|
refreshData: St,
|
|
11066
11060
|
setFilterModel: At,
|
|
11067
11061
|
setTableSearchFilterModel: jt
|
|
11068
11062
|
};
|
|
11069
|
-
|
|
11070
|
-
|
|
11063
|
+
X.registerFilterController(Mt), C(() => {
|
|
11064
|
+
X.unregisterFilterController(Mt);
|
|
11071
11065
|
}), t({
|
|
11072
11066
|
getCsvData: wt,
|
|
11073
11067
|
refreshData: St,
|
|
11074
11068
|
getFilterValueSelectedMetadataMap: Ct,
|
|
11075
11069
|
availableRowGroupColumns: ut,
|
|
11076
11070
|
availableAggFuncColumns: dt,
|
|
11077
|
-
rowGroupColumnFields:
|
|
11071
|
+
rowGroupColumnFields: W,
|
|
11078
11072
|
getPvFilterModel: Tt,
|
|
11079
11073
|
setPvFilterModel: At
|
|
11080
11074
|
});
|
|
@@ -11082,16 +11076,16 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11082
11076
|
v(() => {
|
|
11083
11077
|
let t = ft.value, n = e.api.getRowGroupColumns(), r = n.length > 0, i;
|
|
11084
11078
|
if (r && f.leftPinnedColumnName && (i = e.api.getColumn(f.leftPinnedColumnName || "")), r && !f.leftPinnedColumnName && (i = n.find((e) => !e.getColDef().hide), !i)) {
|
|
11085
|
-
let t =
|
|
11079
|
+
let t = U.find((e) => !e.hide && !e.rowGroup)?.field;
|
|
11086
11080
|
t && (i = e.api.getColumn(t));
|
|
11087
11081
|
}
|
|
11088
11082
|
i ? (ft.value = i, Ut(i.getColDef()), e.api.setColumnsVisible([i.getColId()], !1)) : (ft.value = null, Ut(null));
|
|
11089
11083
|
let a = t?.getColId();
|
|
11090
|
-
if ((!i || a !== i.getColId()) && (t?.getColDef()?.hide || e.api.setColumnsVisible([a || ""], !0)),
|
|
11091
|
-
let e =
|
|
11084
|
+
if ((!i || a !== i.getColId()) && (t?.getColDef()?.hide || e.api.setColumnsVisible([a || ""], !0)), W.value = [...n].map((e) => e.getColId()), f.enableFocusView && !Me) {
|
|
11085
|
+
let e = W.value.length > 0 ? W.value[0] : null;
|
|
11092
11086
|
Xe.setFocusType(e);
|
|
11093
11087
|
}
|
|
11094
|
-
|
|
11088
|
+
G.value && T("column-row-group-changed", e);
|
|
11095
11089
|
});
|
|
11096
11090
|
}, Pt = (e) => {
|
|
11097
11091
|
let t = e.column?.getColId() || "";
|
|
@@ -11102,7 +11096,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11102
11096
|
}, Ft = (e) => {
|
|
11103
11097
|
f.enableExpandOnRowClick && e.node.group && e.node.setExpanded(!e.node.expanded), T("row-clicked", e);
|
|
11104
11098
|
}, It = (e) => {
|
|
11105
|
-
e.finished && (ot.value = e.api.getAllGridColumns()),
|
|
11099
|
+
e.finished && (ot.value = e.api.getAllGridColumns()), G.value && T("column-moved", e);
|
|
11106
11100
|
}, Lt = (e) => {
|
|
11107
11101
|
e.api && (mt.value = e.api.paginationGetCurrentPage() + 1, ht.value = e.api.paginationGetTotalPages());
|
|
11108
11102
|
}, Rt = (e) => "allChildrenRowCount" in e && e.allChildrenRowCount || 0, zt = (e) => {
|
|
@@ -11129,7 +11123,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11129
11123
|
displayCount: f.displayGroupCount,
|
|
11130
11124
|
formattedValue: e.valueFormatted,
|
|
11131
11125
|
rowNode: e.node,
|
|
11132
|
-
api:
|
|
11126
|
+
api: J.value,
|
|
11133
11127
|
focusText: f.focusText,
|
|
11134
11128
|
cellParams: e
|
|
11135
11129
|
})
|
|
@@ -11170,23 +11164,23 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11170
11164
|
"rowUnGroup"
|
|
11171
11165
|
], n = e.column && bt(e.column) ? ft.value : e.column;
|
|
11172
11166
|
return !f.enableInlineFilters && n && n.getColDef().filter && t.splice(2, 0, ne), t.filter((t) => typeof t == "string" ? e.defaultItems.includes(t) : !0);
|
|
11173
|
-
},
|
|
11167
|
+
}, oe && (Ze.value = (f.enableAdvancedFilter ? oe.filter?.advancedFilterModel : oe.filter?.filterModel) || null, W.value = oe.rowGroup?.groupColIds || []);
|
|
11174
11168
|
});
|
|
11175
11169
|
let Kt = (e) => {
|
|
11176
|
-
let t =
|
|
11170
|
+
let t = J.value;
|
|
11177
11171
|
if (!t) return;
|
|
11178
11172
|
let n = e.filter?.filterModel || null, r = e.rowGroup?.groupColIds || null, i = e.columnVisibility || null;
|
|
11179
|
-
n && !pu(n, t.getFilterModel()) && t.setFilterModel(n), f.isTableGrouped && r && !tt(r,
|
|
11173
|
+
n && !pu(n, t.getFilterModel()) && t.setFilterModel(n), f.isTableGrouped && r && !tt(r, W.value) && t.setRowGroupColumns(r), i?.hiddenColIds && t.setColumnsVisible(i.hiddenColIds, !1);
|
|
11180
11174
|
};
|
|
11181
11175
|
B(() => f.initialGridState, () => {
|
|
11182
11176
|
if (f.initialGridState) {
|
|
11183
|
-
let e = Xl(f.initialGridState,
|
|
11177
|
+
let e = Xl(f.initialGridState, U, f.enableAdvancedFilter);
|
|
11184
11178
|
e && Kt(e);
|
|
11185
11179
|
}
|
|
11186
11180
|
}, { deep: !0 });
|
|
11187
11181
|
let qt = (e) => {
|
|
11188
|
-
|
|
11189
|
-
}, Jt = (e) => F ? f.isServerSideGroupOpenByDefault ? f.isServerSideGroupOpenByDefault(e) : e.rowNode.level ===
|
|
11182
|
+
G.value = !0, T("first-data-rendered", e);
|
|
11183
|
+
}, Jt = (e) => F ? f.isServerSideGroupOpenByDefault ? f.isServerSideGroupOpenByDefault(e) : e.rowNode.level === W.value.length - 2 : !1, Yt = r(() => {
|
|
11190
11184
|
if (!F) return f.groupDefaultExpanded;
|
|
11191
11185
|
}), Xt = O(null), Zt = O(null);
|
|
11192
11186
|
return (t, r) => (E(), o("div", {
|
|
@@ -11213,7 +11207,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11213
11207
|
content: V(() => [...r[11] ||= [l(" Dev Mode ", -1)]]),
|
|
11214
11208
|
_: 1
|
|
11215
11209
|
})) : a("", !0),
|
|
11216
|
-
|
|
11210
|
+
ie(s("div", kd, [s("div", Ad, [(E(), i(n, {
|
|
11217
11211
|
to: e.filterTeleportLocation,
|
|
11218
11212
|
disabled: !e.filterTeleportLocation
|
|
11219
11213
|
}, [lt.value.length > 0 && !f.enableInlineFilters ? (E(), i(sd, {
|
|
@@ -11242,7 +11236,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11242
11236
|
key: 1,
|
|
11243
11237
|
getCsvData: wt
|
|
11244
11238
|
})) : a("", !0)])])], 512), [[re, e.enableGroupBySelector || !e.filterTeleportLocation]]),
|
|
11245
|
-
|
|
11239
|
+
ie(s("div", {
|
|
11246
11240
|
ref_key: "advancedFilterParentElement",
|
|
11247
11241
|
ref: Zt,
|
|
11248
11242
|
class: y(["pv-stack-8 pv-text-body-sm", e.hideTable ? "pv-hide" : ""])
|
|
@@ -11253,7 +11247,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11253
11247
|
}, [s("div", Md, [e.enableTableSearch ? (E(), i(Td, {
|
|
11254
11248
|
key: 0,
|
|
11255
11249
|
placeholder: e.tableSearchPlaceholder,
|
|
11256
|
-
disabled: !
|
|
11250
|
+
disabled: !q.value,
|
|
11257
11251
|
"search-style": e.tableSearchStyle
|
|
11258
11252
|
}, null, 8, [
|
|
11259
11253
|
"placeholder",
|
|
@@ -11268,7 +11262,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11268
11262
|
"min-height": "0",
|
|
11269
11263
|
"overflow-x": "hidden"
|
|
11270
11264
|
}
|
|
11271
|
-
}, [u(I(
|
|
11265
|
+
}, [u(I(de), _({
|
|
11272
11266
|
ref: "gridRef",
|
|
11273
11267
|
class: ["pv-data-table", I(b)],
|
|
11274
11268
|
style: [{
|
|
@@ -11297,7 +11291,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11297
11291
|
onUndoStarted: r[10] ||= (e) => T("undo-started", e),
|
|
11298
11292
|
aggFuncs: Gt,
|
|
11299
11293
|
autoGroupColumnDef: Ht.value,
|
|
11300
|
-
columnDefs: I(
|
|
11294
|
+
columnDefs: I(U),
|
|
11301
11295
|
debug: e.debugMode,
|
|
11302
11296
|
defaultColDef: I(R),
|
|
11303
11297
|
getChildCount: Rt,
|
|
@@ -11306,7 +11300,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11306
11300
|
getRowStyle: Wt,
|
|
11307
11301
|
groupDefaultExpanded: Yt.value,
|
|
11308
11302
|
groupDisplayType: "singleColumn",
|
|
11309
|
-
initialState: I(
|
|
11303
|
+
initialState: I(oe) || void 0,
|
|
11310
11304
|
isGroupOpenByDefault: I(F) ? void 0 : f.isClientSideGroupOpenByDefault,
|
|
11311
11305
|
isServerSideGroupOpenByDefault: Jt,
|
|
11312
11306
|
includeHiddenColumnsInAdvancedFilter: !0,
|
|
@@ -11346,7 +11340,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11346
11340
|
undoRedoCellEditingLimit: e.undoRedoCellEditingLimit,
|
|
11347
11341
|
enableAdvancedFilter: e.enableAdvancedFilter,
|
|
11348
11342
|
advancedFilterParent: Zt.value
|
|
11349
|
-
}), null, 16, /* @__PURE__ */ "class.style.domLayout.autoGroupColumnDef.columnDefs.debug.defaultColDef.getContextMenuItems.getMainMenuItems.groupDefaultExpanded.initialState.isGroupOpenByDefault.loading.loadingCellRenderer.loadingCellRendererParams.maxConcurrentDatasourceRequests.maintainColumnOrder.popupParent.processCellForClipboard.processCellFromClipboard.processDataFromClipboard.rowData.rowHeight.rowModelType.rowSelection.serverSideInitialRowCount.theme.pagination.paginationPageSize.tooltip-show-delay.tooltip-hide-delay.cellSelection.copyHeadersToClipboard.suppressClipboardPaste.suppressCutToClipboard.undoRedoCellEditing.undoRedoCellEditingLimit.enableAdvancedFilter.advancedFilterParent".split(".")), !e.isLoading && !
|
|
11343
|
+
}), null, 16, /* @__PURE__ */ "class.style.domLayout.autoGroupColumnDef.columnDefs.debug.defaultColDef.getContextMenuItems.getMainMenuItems.groupDefaultExpanded.initialState.isGroupOpenByDefault.loading.loadingCellRenderer.loadingCellRendererParams.maxConcurrentDatasourceRequests.maintainColumnOrder.popupParent.processCellForClipboard.processCellFromClipboard.processDataFromClipboard.rowData.rowHeight.rowModelType.rowSelection.serverSideInitialRowCount.theme.pagination.paginationPageSize.tooltip-show-delay.tooltip-hide-delay.cellSelection.copyHeadersToClipboard.suppressClipboardPaste.suppressCutToClipboard.undoRedoCellEditing.undoRedoCellEditingLimit.enableAdvancedFilter.advancedFilterParent".split(".")), !e.isLoading && !q.value ? (E(), o("div", Nd, [s("p", Pd, P(le.value), 1)])) : a("", !0)], 2),
|
|
11350
11344
|
e.pagination ? (E(), i(bd, { key: 2 })) : a("", !0)
|
|
11351
11345
|
], 4));
|
|
11352
11346
|
}
|
|
@@ -11395,7 +11389,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11395
11389
|
id: e.field,
|
|
11396
11390
|
text: e.title,
|
|
11397
11391
|
context: { rightIcon: e.icon }
|
|
11398
|
-
}))), v = r(() => _.value.length > 0), b = O((i.tableConfigOptions?.tableOverlayOptions ?? []).map((e) => e.field));
|
|
11392
|
+
}))), v = r(() => _.value.length > 0), b = O((i.tableConfigOptions?.tableOverlayOptions ?? []).filter((e) => e.defaultSelected !== !1).map((e) => e.field));
|
|
11399
11393
|
B(b, (e) => {
|
|
11400
11394
|
c("table-overlay-change", e);
|
|
11401
11395
|
}, { immediate: !0 });
|
|
@@ -11406,7 +11400,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11406
11400
|
}, C = () => {
|
|
11407
11401
|
v.value && (h.value = !0, f.value = document.getElementById("table-config-overlay"), d());
|
|
11408
11402
|
};
|
|
11409
|
-
return (n, r) => (E(), o(t, null, [
|
|
11403
|
+
return (n, r) => (E(), o(t, null, [ie((E(), o("div", zd, [u(da, {
|
|
11410
11404
|
open: m.value,
|
|
11411
11405
|
label: "Table Configuration",
|
|
11412
11406
|
icon: "settings",
|
|
@@ -11449,7 +11443,7 @@ var Tl = /* @__PURE__ */ function(e) {
|
|
|
11449
11443
|
onHandleSelected: S
|
|
11450
11444
|
}, null, 8, ["text", "icon"])])])]),
|
|
11451
11445
|
_: 1
|
|
11452
|
-
}, 8, ["class"])])), [[I(
|
|
11446
|
+
}, 8, ["class"])])), [[I(J), [x, { ignore: [".pv-popover"] }]]]), u(Yo, {
|
|
11453
11447
|
ref_key: "nestedMenuPopoverRef",
|
|
11454
11448
|
ref: g,
|
|
11455
11449
|
class: y({ "pv-hide": !(m.value && h.value) }),
|
|
@@ -11798,7 +11792,7 @@ var df = {
|
|
|
11798
11792
|
let ne = m(zc, O("")), re = r(() => n.chartFilter && n.chartFilter.options ? n.chartFilter.options.map((e) => ({
|
|
11799
11793
|
label: e.label,
|
|
11800
11794
|
value: e.value
|
|
11801
|
-
})) : []),
|
|
11795
|
+
})) : []), H = r(() => {
|
|
11802
11796
|
if (b.value) return (T.value.length > 1 ? [
|
|
11803
11797
|
"bar_stacked",
|
|
11804
11798
|
"line",
|
|
@@ -11827,34 +11821,34 @@ var df = {
|
|
|
11827
11821
|
}
|
|
11828
11822
|
b.value = e[0];
|
|
11829
11823
|
});
|
|
11830
|
-
function
|
|
11824
|
+
function U(e) {
|
|
11831
11825
|
return !!(e.context && typeof e.context == "object" && "description" in e.context);
|
|
11832
11826
|
}
|
|
11833
|
-
let
|
|
11827
|
+
let ae = r(() => N.value.map((e) => ({
|
|
11834
11828
|
id: e.value,
|
|
11835
11829
|
text: e.label,
|
|
11836
11830
|
context: e.description ? { description: e.description } : void 0
|
|
11837
|
-
}))),
|
|
11831
|
+
}))), oe = r(() => ee.value.map((e) => ({
|
|
11838
11832
|
id: e.value,
|
|
11839
11833
|
text: e.label
|
|
11840
|
-
}))),
|
|
11834
|
+
}))), se = r(() => D.value.map((e) => ({
|
|
11841
11835
|
id: e.field || "",
|
|
11842
11836
|
text: e.headerName || e.field || "",
|
|
11843
11837
|
icon: El(e.context?.dataType || null) || "circle-chevron-down"
|
|
11844
|
-
}))),
|
|
11845
|
-
get: () => T.value.map((e) =>
|
|
11838
|
+
}))), W = r({
|
|
11839
|
+
get: () => T.value.map((e) => se.value.find((t) => t.id === e)).filter(Boolean),
|
|
11846
11840
|
set: (e) => {
|
|
11847
11841
|
T.value = e.map((e) => e.id);
|
|
11848
11842
|
}
|
|
11849
|
-
}),
|
|
11843
|
+
}), G = r(() => {
|
|
11850
11844
|
let e = [], t = {
|
|
11851
11845
|
value: "y-axis",
|
|
11852
11846
|
label: "Y Axis",
|
|
11853
11847
|
prefixLabel: "Y Axis",
|
|
11854
11848
|
icon: "chart-bar-decreasing",
|
|
11855
11849
|
allowDeselect: !1,
|
|
11856
|
-
availableOptions:
|
|
11857
|
-
currentOption:
|
|
11850
|
+
availableOptions: ae.value,
|
|
11851
|
+
currentOption: ae.value.find((e) => e.id === M.value),
|
|
11858
11852
|
updateSelectedOption: (e) => {
|
|
11859
11853
|
M && e !== M.value && (M.value = e);
|
|
11860
11854
|
}
|
|
@@ -11864,12 +11858,12 @@ var df = {
|
|
|
11864
11858
|
label: "X Axis",
|
|
11865
11859
|
icon: "align-end-horizontal",
|
|
11866
11860
|
allowDeselect: !1,
|
|
11867
|
-
availableOptions:
|
|
11861
|
+
availableOptions: se.value,
|
|
11868
11862
|
...i ? {
|
|
11869
|
-
activeOptions:
|
|
11863
|
+
activeOptions: W,
|
|
11870
11864
|
activeOptionLimit: n.rowGroupLimit
|
|
11871
11865
|
} : {
|
|
11872
|
-
currentOption:
|
|
11866
|
+
currentOption: se.value.find((e) => e.id === T.value[0]),
|
|
11873
11867
|
updateSelectedOption: (e) => {
|
|
11874
11868
|
T.value = e ? [e] : [];
|
|
11875
11869
|
}
|
|
@@ -11881,7 +11875,7 @@ var df = {
|
|
|
11881
11875
|
allowDeselect: !0,
|
|
11882
11876
|
availableOptions: w.value,
|
|
11883
11877
|
currentOption: w.value.find((e) => e.id === C.value?.id),
|
|
11884
|
-
disabled: !
|
|
11878
|
+
disabled: !H.value,
|
|
11885
11879
|
disabledReason: "Sorting is not available for this chart type",
|
|
11886
11880
|
updateSelectedOption: (e) => {
|
|
11887
11881
|
let t = w.value.find((t) => t.id === e);
|
|
@@ -11903,7 +11897,7 @@ var df = {
|
|
|
11903
11897
|
t && b && (b.value = t);
|
|
11904
11898
|
}
|
|
11905
11899
|
};
|
|
11906
|
-
if (
|
|
11900
|
+
if (ae.value.length > 1 && e.push(t), !r.secondaryYAxis?.hidden && oe.value.length > 0) {
|
|
11907
11901
|
let t = {
|
|
11908
11902
|
value: "secondary-y-axis",
|
|
11909
11903
|
label: "Metric Overlay",
|
|
@@ -11912,8 +11906,8 @@ var df = {
|
|
|
11912
11906
|
allowDeselect: !0,
|
|
11913
11907
|
disabled: j.value,
|
|
11914
11908
|
disabledReason: "Metric overlay is not available for this chart type.",
|
|
11915
|
-
availableOptions:
|
|
11916
|
-
currentOption:
|
|
11909
|
+
availableOptions: oe.value,
|
|
11910
|
+
currentOption: oe.value.find((e) => e.id === F?.value),
|
|
11917
11911
|
updateSelectedOption: (e) => {
|
|
11918
11912
|
F && (!e || F.value === e ? F.value = void 0 : F.value = e);
|
|
11919
11913
|
}
|
|
@@ -11941,31 +11935,31 @@ var df = {
|
|
|
11941
11935
|
n && e.push(n);
|
|
11942
11936
|
}
|
|
11943
11937
|
let c = i ? 2 : 1;
|
|
11944
|
-
return
|
|
11938
|
+
return se.value.length >= c && e.push(a), S.value.length > 1 && e.push(s), w.value.length > 0 && e.push(o), e.filter((e) => n.chartConfigOptions ? n.chartConfigOptions.includes(e.value) : !0);
|
|
11945
11939
|
});
|
|
11946
11940
|
B(v, (e) => {
|
|
11947
11941
|
e && (p.value = e);
|
|
11948
11942
|
});
|
|
11949
|
-
let
|
|
11950
|
-
let t =
|
|
11943
|
+
let K = r(() => _.value && G.value.find((e) => e.value === _.value) || null), ce = (e) => {
|
|
11944
|
+
let t = K.value;
|
|
11951
11945
|
return t ? t.activeOptionIds ? t.activeOptionIds.has(e.id) ? !0 : null : t.currentOption?.id === e.id ? !0 : null : null;
|
|
11952
|
-
},
|
|
11946
|
+
}, q = (e) => K.value?.isMultiSelect ? null : ce(e), le = (e) => K.value?.isMultiSelect ? {
|
|
11953
11947
|
variant: "checkbox",
|
|
11954
11948
|
renderer: mf
|
|
11955
|
-
} :
|
|
11949
|
+
} : U(e) ? { renderer: mf } : { variant: "icon" }, ue = (e) => {
|
|
11956
11950
|
_.value = e, f.value = document.getElementById(`pv-chart-config-${e}`), d();
|
|
11957
|
-
}, ue = () => {
|
|
11958
|
-
g.value = !1, _.value = void 0;
|
|
11959
11951
|
}, de = () => {
|
|
11952
|
+
g.value = !1, _.value = void 0;
|
|
11953
|
+
}, fe = () => {
|
|
11960
11954
|
_.value = void 0;
|
|
11961
11955
|
};
|
|
11962
|
-
return (n, r) => (E(), o(t, null, [s("div", hf, [s("div", null, [
|
|
11956
|
+
return (n, r) => (E(), o(t, null, [s("div", hf, [s("div", null, [ie((E(), o("div", { class: y(["pv-flex pv-space-between", e.useCombinedButton ? "pv-stack-8" : ""]) }, [s("div", gf, [e.useCombinedButton ? (E(), o(t, { key: 0 }, [u(da, {
|
|
11963
11957
|
open: g.value,
|
|
11964
11958
|
label: "Chart Configuration",
|
|
11965
11959
|
icon: "chart-area",
|
|
11966
11960
|
disabled: e.readOnly,
|
|
11967
11961
|
onClick: r[0] ||= (t) => e.readOnly ? null : g.value = !g.value,
|
|
11968
|
-
onHandleToggleDropdown:
|
|
11962
|
+
onHandleToggleDropdown: fe
|
|
11969
11963
|
}, null, 8, ["open", "disabled"]), u(Yo, {
|
|
11970
11964
|
class: y({ "pv-hide": !g.value }),
|
|
11971
11965
|
"css-custom-properties": {
|
|
@@ -11981,12 +11975,12 @@ var df = {
|
|
|
11981
11975
|
"padding-top": "4px",
|
|
11982
11976
|
"padding-bottom": "12px"
|
|
11983
11977
|
}
|
|
11984
|
-
}, " Chart Configuration ")], -1), s("ul", _f, [(E(!0), o(t, null, k(
|
|
11978
|
+
}, " Chart Configuration ")], -1), s("ul", _f, [(E(!0), o(t, null, k(G.value, (e) => (E(), o("li", {
|
|
11985
11979
|
id: `pv-chart-config-${e.value}`,
|
|
11986
11980
|
key: e.value,
|
|
11987
11981
|
"data-active": _.value === e.value ? !0 : null,
|
|
11988
|
-
onMouseenter: (t) => e.disabled ? null :
|
|
11989
|
-
onClick: (t) => e.disabled ? null :
|
|
11982
|
+
onMouseenter: (t) => e.disabled ? null : ue(e.value),
|
|
11983
|
+
onClick: (t) => e.disabled ? null : ue(e.value)
|
|
11990
11984
|
}, [u(I(Ti), {
|
|
11991
11985
|
disableInteractive: !0,
|
|
11992
11986
|
useTeleport: !0,
|
|
@@ -12015,7 +12009,7 @@ var df = {
|
|
|
12015
12009
|
key: "0"
|
|
12016
12010
|
} : void 0]), 1024)], 40, vf))), 128))])]),
|
|
12017
12011
|
_: 1
|
|
12018
|
-
}, 8, ["class"])], 64)) : a("", !0)])], 2)), [[I(
|
|
12012
|
+
}, 8, ["class"])], 64)) : a("", !0)])], 2)), [[I(J), [de, { ignore: [".pv-popover"] }]]]), s("div", {
|
|
12019
12013
|
class: "pv-flex pv-space-between",
|
|
12020
12014
|
style: x(e.chartFilter ? {} : { justifyContent: "flex-end" })
|
|
12021
12015
|
}, [e.chartFilter ? (E(), i(Ei, {
|
|
@@ -12023,7 +12017,7 @@ var df = {
|
|
|
12023
12017
|
options: re.value,
|
|
12024
12018
|
modelValue: I(ne),
|
|
12025
12019
|
"onUpdate:modelValue": r[1] ||= (e) => h(ne) ? ne.value = e : null
|
|
12026
|
-
}, null, 8, ["options", "modelValue"])) : a("", !0), e.useCombinedButton ? a("", !0) : (E(), o("div", bf, [(E(!0), o(t, null, k(
|
|
12020
|
+
}, null, 8, ["options", "modelValue"])) : a("", !0), e.useCombinedButton ? a("", !0) : (E(), o("div", bf, [(E(!0), o(t, null, k(G.value, (n) => (E(), o(t, { key: n.value }, [n.isMultiSelect && n.activeOptions && n.activeOptionIds ? (E(), i(ks, {
|
|
12027
12021
|
key: 0,
|
|
12028
12022
|
label: n.label,
|
|
12029
12023
|
prefixLabel: n.prefixLabel,
|
|
@@ -12071,37 +12065,37 @@ var df = {
|
|
|
12071
12065
|
},
|
|
12072
12066
|
isList: !0
|
|
12073
12067
|
}, {
|
|
12074
|
-
default: V(() => [
|
|
12068
|
+
default: V(() => [K.value ? (E(), o(t, { key: 0 }, [K.value.isSortableList ? (E(), o(t, { key: 0 }, [r[5] ||= s("p", {
|
|
12075
12069
|
class: "pv-text-tertiary pv-text-body-sm pv-stack-4",
|
|
12076
12070
|
style: {
|
|
12077
12071
|
"padding-left": "2px",
|
|
12078
12072
|
"padding-bottom": "6px"
|
|
12079
12073
|
}
|
|
12080
12074
|
}, " Viewing ", -1), u(nf, {
|
|
12081
|
-
modelValue:
|
|
12082
|
-
"onUpdate:modelValue": r[2] ||= (e) =>
|
|
12083
|
-
options:
|
|
12084
|
-
activeOptionLimit:
|
|
12075
|
+
modelValue: K.value.activeOptions.value,
|
|
12076
|
+
"onUpdate:modelValue": r[2] ||= (e) => K.value.activeOptions.value = e,
|
|
12077
|
+
options: K.value.availableOptions || [],
|
|
12078
|
+
activeOptionLimit: K.value.activeOptionLimit,
|
|
12085
12079
|
placeholderText: "Add to X Axis"
|
|
12086
12080
|
}, null, 8, [
|
|
12087
12081
|
"modelValue",
|
|
12088
12082
|
"options",
|
|
12089
12083
|
"activeOptionLimit"
|
|
12090
|
-
])], 64)) : (E(), o("ul", xf, [(E(!0), o(t, null, k(
|
|
12084
|
+
])], 64)) : (E(), o("ul", xf, [(E(!0), o(t, null, k(K.value.availableOptions, (e) => (E(), o("li", {
|
|
12091
12085
|
key: e.id,
|
|
12092
|
-
"data-active":
|
|
12086
|
+
"data-active": q(e)
|
|
12093
12087
|
}, [u(Ja, {
|
|
12094
12088
|
id: e.id,
|
|
12095
|
-
config:
|
|
12089
|
+
config: le(e),
|
|
12096
12090
|
text: e.text,
|
|
12097
12091
|
icon: e.icon,
|
|
12098
12092
|
context: e.context,
|
|
12099
12093
|
disabled: e.disabled,
|
|
12100
|
-
selectedIds:
|
|
12094
|
+
selectedIds: K.value.isMultiSelect ? [...I(L)] : [],
|
|
12101
12095
|
"onUpdate:selectedIds": r[3] ||= (e) => {
|
|
12102
|
-
|
|
12096
|
+
K.value?.updateSelectedOptions?.([...K.value?.availableOptions.filter((t) => e.includes(t.id))]);
|
|
12103
12097
|
},
|
|
12104
|
-
onHandleSelected: (t) =>
|
|
12098
|
+
onHandleSelected: (t) => K.value.updateSelectedOption?.(e.id),
|
|
12105
12099
|
"class-list": ["pv-chart-option pv-flex"]
|
|
12106
12100
|
}, null, 8, [
|
|
12107
12101
|
"id",
|
|
@@ -12337,7 +12331,7 @@ var Tf = { style: {
|
|
|
12337
12331
|
],
|
|
12338
12332
|
setup(e, { expose: n, emit: c }) {
|
|
12339
12333
|
let l = e, d = c, p = O(null), m = O(null), h = O(null), g = O(l.initialChartCollapsed ?? !1), b = "filter-panel-" + f()?.uid, x = O(!1), C = O(!1), T = O(0), k = r(() => m.value?.availableRowGroupColumns || []), j = O([]), N = r(() => j.value.length > 0 ? j.value[0] : ""), F = (e) => $(e).chartSeriesDisplayName || e.headerName || e.field || "", I = r(() => {
|
|
12340
|
-
let e =
|
|
12334
|
+
let e = me.value;
|
|
12341
12335
|
return e.yAxis.hidden && e.yAxis.defaultValue ? [{
|
|
12342
12336
|
label: "Count",
|
|
12343
12337
|
value: e.yAxis.defaultValue
|
|
@@ -12388,25 +12382,25 @@ var Tf = { style: {
|
|
|
12388
12382
|
D(Tc, z);
|
|
12389
12383
|
let { setFilterSelectedValues: te } = R, ne = O(!1);
|
|
12390
12384
|
D(Fc, ne);
|
|
12391
|
-
let re = O(l.isTableGrouped),
|
|
12385
|
+
let re = O(l.isTableGrouped), ie = (e) => {
|
|
12392
12386
|
d("table-overlay-change", e);
|
|
12393
|
-
},
|
|
12394
|
-
p.value = e.api, re.value || p.value?.setRowGroupColumns([]),
|
|
12395
|
-
},
|
|
12387
|
+
}, H = r(() => nt.value ? !1 : !!(l.emptyChartFilterRenderer && l.requireFiltersToShowData && R.filterModelEmpty.value)), U = r(() => z?.computedFocusType.value || null), ae = r(() => z?.computedFocuses.value || []), oe = (e) => {
|
|
12388
|
+
p.value = e.api, re.value || p.value?.setRowGroupColumns([]), ze(e.api), d("grid-ready", e);
|
|
12389
|
+
}, se = (e) => {
|
|
12396
12390
|
d("first-data-rendered", e);
|
|
12397
|
-
},
|
|
12391
|
+
}, W = (e) => {
|
|
12398
12392
|
let t = j.value, n = e.api.getRowGroupColumns().map((e) => e.getColId());
|
|
12399
12393
|
if (re.value && JSON.stringify(t) !== JSON.stringify(n)) {
|
|
12400
|
-
let t =
|
|
12401
|
-
if (n.length >
|
|
12402
|
-
let t = n.slice(0,
|
|
12394
|
+
let t = me.value;
|
|
12395
|
+
if (n.length > he.value) {
|
|
12396
|
+
let t = n.slice(0, he.value);
|
|
12403
12397
|
j.value = t, e.api.setRowGroupColumns(t);
|
|
12404
12398
|
} else j.value = n;
|
|
12405
|
-
t.yAxis.defaultValue && (
|
|
12399
|
+
t.yAxis.defaultValue && (Y.value = t.yAxis.defaultValue);
|
|
12406
12400
|
}
|
|
12407
12401
|
d("column-row-group-changed", e);
|
|
12408
|
-
},
|
|
12409
|
-
|
|
12402
|
+
}, G = async (e) => {
|
|
12403
|
+
ze(e.api), ne.value && d("filter-changed", e);
|
|
12410
12404
|
};
|
|
12411
12405
|
B(() => j.value, () => {
|
|
12412
12406
|
if (re.value) {
|
|
@@ -12419,18 +12413,18 @@ var Tf = { style: {
|
|
|
12419
12413
|
p?.value?.setRowGroupColumns([]);
|
|
12420
12414
|
});
|
|
12421
12415
|
if (!l.allFieldsAreFocusable) {
|
|
12422
|
-
let e =
|
|
12416
|
+
let e = me.value.supportsFocusView && N.value || null;
|
|
12423
12417
|
z.setFocusType(e);
|
|
12424
12418
|
}
|
|
12425
|
-
p.value &&
|
|
12419
|
+
p.value && ze(p.value);
|
|
12426
12420
|
});
|
|
12427
|
-
function
|
|
12421
|
+
function K(e, t, n = !0) {
|
|
12428
12422
|
return (r) => {
|
|
12429
|
-
if (r.data =
|
|
12430
|
-
let i = "", a =
|
|
12423
|
+
if (r.data = ve.value?.find((t) => t[e] === r.value), r.value === 123e-6) return "";
|
|
12424
|
+
let i = "", a = q(e);
|
|
12431
12425
|
if (l.truncateLabelValues && n && a && Pl(a) && !isNaN(Number(r.value))) {
|
|
12432
|
-
if (
|
|
12433
|
-
let e = r.datum?.[N.value], t =
|
|
12426
|
+
if (Ne.value) {
|
|
12427
|
+
let e = r.datum?.[N.value], t = ye.value?.find((t) => t[N.value] === e)?.[`${Y.value}_sort_total`] || Infinity;
|
|
12434
12428
|
if (r.value / t < .05) return "";
|
|
12435
12429
|
}
|
|
12436
12430
|
let { newValue: e, newSuffix: t } = kl(r.value, Tl.Percent === $(a).dataType, Ke.value);
|
|
@@ -12440,17 +12434,17 @@ var Tf = { style: {
|
|
|
12440
12434
|
return t && (o = t(r)), o + i;
|
|
12441
12435
|
};
|
|
12442
12436
|
}
|
|
12443
|
-
let
|
|
12437
|
+
let ce = (e, t = !1) => {
|
|
12444
12438
|
if (!e) return;
|
|
12445
|
-
let n =
|
|
12446
|
-
return n && typeof n.valueFormatter == "function" ?
|
|
12447
|
-
},
|
|
12448
|
-
let n =
|
|
12439
|
+
let n = q(e);
|
|
12440
|
+
return n && typeof n.valueFormatter == "function" ? K(e, n.valueFormatter, t) : K(e, null, t);
|
|
12441
|
+
}, q = (e) => !e || !p.value ? null : p.value?.getColumnDef(e), le = (e, t) => {
|
|
12442
|
+
let n = q(N.value);
|
|
12449
12443
|
return n && typeof n.valueFormatter == "function" ? `${n.valueFormatter({ value: e })} - ${n.valueFormatter({ value: t })}` : `${e} - ${t}`;
|
|
12450
|
-
},
|
|
12451
|
-
let e =
|
|
12444
|
+
}, ue = r(() => [...j.value.length > 1 ? mo : po, ho].filter((e) => l.enabledChartTypes?.includes(e.id))), J = O(void 0), de = O(void 0), fe = O(void 0), pe = !1, me = r(() => uf(J.value?.id || "")), he = r(() => Math.min(me.value.rowGroupLimit, l.rowGroupLimit)), ge = r(() => {
|
|
12445
|
+
let e = me.value.xAxis.filterColumns;
|
|
12452
12446
|
return e ? e(k.value) : k.value;
|
|
12453
|
-
}),
|
|
12447
|
+
}), _e = O([{
|
|
12454
12448
|
text: "Ascending",
|
|
12455
12449
|
id: "asc",
|
|
12456
12450
|
icon: "arrow-up-wide-narrow"
|
|
@@ -12458,46 +12452,46 @@ var Tf = { style: {
|
|
|
12458
12452
|
text: "Descending",
|
|
12459
12453
|
id: "desc",
|
|
12460
12454
|
icon: "arrow-down-narrow-wide"
|
|
12461
|
-
}]),
|
|
12462
|
-
D(Dc, p), D(zc,
|
|
12463
|
-
let
|
|
12464
|
-
|
|
12455
|
+
}]), ve = O([]), ye = O([]), Y = O(l.yKey), be = O(ee.value[0]?.value), xe = r(() => l.crosslineOverlayGroups ?? []), Se = O(new Set(xe.value.filter((e) => e.visible && !e.disabled).map((e) => e.id))), X = r(() => xe.value.filter((e) => Se.value.has(e.id)).flatMap((e) => e.overlays)), Ce = O(null), Z = O(_e.value.find((e) => e.id === l.initialSort || "")), we = O("");
|
|
12456
|
+
D(Dc, p), D(zc, we), D(jc, ge), D(Bc, j), D(Vc, ue), D(Hc, _e), D(Uc, J), D(Wc, Z), D(Gc, Y), D(Kc, I), D(qc, be), D(Jc, ee), D(Xc, Se), D(Zc, xe);
|
|
12457
|
+
let Te = (e) => {
|
|
12458
|
+
J.value = ue.value.find((t) => t.id === e) ?? ue.value[0];
|
|
12465
12459
|
};
|
|
12466
|
-
B(() =>
|
|
12467
|
-
let e =
|
|
12468
|
-
|
|
12469
|
-
}), B(() => l.chartType, (e) =>
|
|
12470
|
-
e !==
|
|
12471
|
-
}), B(
|
|
12460
|
+
B(() => ue.value, () => {
|
|
12461
|
+
let e = Pe.value, t = e !== pe, n = uf(J.value?.id || ""), r = ue.value.some((e) => e.id === J.value?.id);
|
|
12462
|
+
pe = e, !(r && (!t || !n.storeBeforeChange)) && Te((e ? fe?.value : de?.value) ?? l.chartType);
|
|
12463
|
+
}), B(() => l.chartType, (e) => Te(e)), B(() => l.yKey, (e) => {
|
|
12464
|
+
e !== Y.value && (Y.value = e);
|
|
12465
|
+
}), B(we, (e) => {
|
|
12472
12466
|
if (l.chartFilter && p.value) {
|
|
12473
12467
|
let t = l.chartFilter.colId, n = l.chartFilter.options.find((t) => t.value === e)?.filterValues || null;
|
|
12474
12468
|
n && n.length === 0 && (n = null), te(t, n || []);
|
|
12475
12469
|
let r = ql({
|
|
12476
12470
|
filterType: "set",
|
|
12477
12471
|
values: n
|
|
12478
|
-
},
|
|
12472
|
+
}, q(t));
|
|
12479
12473
|
p.value.setColumnFilterModel(t, r).then(() => {
|
|
12480
12474
|
p.value?.onFilterChanged();
|
|
12481
12475
|
});
|
|
12482
12476
|
}
|
|
12483
12477
|
});
|
|
12484
|
-
let
|
|
12485
|
-
let e = I.value.find((e) => e.value ===
|
|
12478
|
+
let Ee = r(() => {
|
|
12479
|
+
let e = I.value.find((e) => e.value === Y.value);
|
|
12486
12480
|
return e ? e.label : "";
|
|
12487
|
-
}),
|
|
12488
|
-
let e = ee.value.find((e) => e.value ===
|
|
12481
|
+
}), De = r(() => ee.value.find((e) => e.value === be.value)), Oe = r(() => {
|
|
12482
|
+
let e = ee.value.find((e) => e.value === be.value);
|
|
12489
12483
|
return e ? e.label : "";
|
|
12490
|
-
}),
|
|
12491
|
-
let e =
|
|
12492
|
-
if (
|
|
12484
|
+
}), ke = r(() => me.value.isHorizontal === !0), Ae = r(() => j.value.length > 1), je = r(() => !J.value || I.value.length === 0 ? [] : me.value.seriesFamily === "pie" ? Ie.value : Fe.value), Me = r(() => l.showSeriesLabels), Ne = r(() => J.value?.id.includes("stacked")), Pe = r(() => j.value.length > 1), Fe = r(() => {
|
|
12485
|
+
let e = Ne.value, t = me.value.agChartType, n = [], r = ce(Y.value, !0), i = ce(Ce.value?.fieldName, !0);
|
|
12486
|
+
if (Ae.value) Ce.value?.fieldValues.forEach((a) => {
|
|
12493
12487
|
let o = {
|
|
12494
12488
|
type: t,
|
|
12495
12489
|
xKey: N.value,
|
|
12496
|
-
yKey: bo(
|
|
12490
|
+
yKey: bo(Y.value, a),
|
|
12497
12491
|
yName: typeof i == "function" ? i({ value: a }) : a,
|
|
12498
12492
|
stacked: e,
|
|
12499
12493
|
label: {
|
|
12500
|
-
enabled:
|
|
12494
|
+
enabled: Me.value,
|
|
12501
12495
|
color: e ? "white" : "black",
|
|
12502
12496
|
fontFamily: "Inter",
|
|
12503
12497
|
padding: 5,
|
|
@@ -12512,10 +12506,10 @@ var Tf = { style: {
|
|
|
12512
12506
|
let e = {
|
|
12513
12507
|
type: t,
|
|
12514
12508
|
xKey: N.value,
|
|
12515
|
-
yKey:
|
|
12516
|
-
yName:
|
|
12509
|
+
yKey: Y.value,
|
|
12510
|
+
yName: Ee.value,
|
|
12517
12511
|
label: {
|
|
12518
|
-
enabled:
|
|
12512
|
+
enabled: Me.value,
|
|
12519
12513
|
color: "black",
|
|
12520
12514
|
fontFamily: "Inter",
|
|
12521
12515
|
padding: 5,
|
|
@@ -12529,7 +12523,7 @@ var Tf = { style: {
|
|
|
12529
12523
|
let a = {};
|
|
12530
12524
|
if (t === "bar") {
|
|
12531
12525
|
let e = a;
|
|
12532
|
-
e.direction =
|
|
12526
|
+
e.direction = ke.value ? "horizontal" : "vertical", a = e;
|
|
12533
12527
|
} else if (t === "line" || t === "area") {
|
|
12534
12528
|
let e = a;
|
|
12535
12529
|
e.connectMissingData = !0, a = e;
|
|
@@ -12537,39 +12531,39 @@ var Tf = { style: {
|
|
|
12537
12531
|
if (n = n.map((e) => ({
|
|
12538
12532
|
...e,
|
|
12539
12533
|
...a
|
|
12540
|
-
})),
|
|
12534
|
+
})), me.value.yAxis.defaultValue === "groupedRecordCount" && (n = n.map((e) => ({
|
|
12541
12535
|
...e,
|
|
12542
12536
|
tooltip: { renderer: (e) => {
|
|
12543
12537
|
let t = String(e.datum[e.xKey] ?? ""), n = e.datum.bucketMin, r = e.datum.bucketMax;
|
|
12544
|
-
return typeof n == "number" && typeof r == "number" && (t =
|
|
12538
|
+
return typeof n == "number" && typeof r == "number" && (t = le(n, r)), {
|
|
12545
12539
|
title: t,
|
|
12546
12540
|
content: `Count: ${e.datum[e.yKey]}`
|
|
12547
12541
|
};
|
|
12548
12542
|
} }
|
|
12549
|
-
}))),
|
|
12543
|
+
}))), be.value) {
|
|
12550
12544
|
let t;
|
|
12551
|
-
t = e ? `${
|
|
12552
|
-
let r =
|
|
12545
|
+
t = e ? `${be.value}_sort_total` : be.value;
|
|
12546
|
+
let r = q(N.value)?.context?.metadataDisplayFields?.[0] || N.value, i = wf(N.value, r, t, Oe.value, ke.value), a = {
|
|
12553
12547
|
type: "scatter",
|
|
12554
12548
|
id: "metric-overlay",
|
|
12555
12549
|
data: We.value,
|
|
12556
12550
|
...i,
|
|
12557
12551
|
label: { enabled: !1 }
|
|
12558
12552
|
};
|
|
12559
|
-
if (
|
|
12560
|
-
let e =
|
|
12561
|
-
a.tooltip = { renderer:
|
|
12553
|
+
if (De.value?.tooltipRenderer) {
|
|
12554
|
+
let e = De.value.tooltipRenderer;
|
|
12555
|
+
a.tooltip = { renderer: ke.value ? (n) => e({
|
|
12562
12556
|
...n,
|
|
12563
12557
|
xKey: N.value,
|
|
12564
12558
|
xName: r,
|
|
12565
12559
|
yKey: t,
|
|
12566
|
-
yName:
|
|
12560
|
+
yName: Oe.value
|
|
12567
12561
|
}) : e };
|
|
12568
12562
|
}
|
|
12569
12563
|
n = [...n, a];
|
|
12570
12564
|
}
|
|
12571
|
-
if (
|
|
12572
|
-
let e =
|
|
12565
|
+
if (J.value?.id === "histogram" && Q.value && Q.value.length > 0 && typeof Q.value[0]?.bucketMin == "number" && typeof Q.value[0]?.bucketMax == "number" && X.value.length > 0 && Q.value) {
|
|
12566
|
+
let e = Q.value.length, t = Number.isFinite(Ke.value) ? Ke.value : 0, r = {
|
|
12573
12567
|
type: "scatter",
|
|
12574
12568
|
xKey: "__dummy_x__",
|
|
12575
12569
|
yKey: "__dummy_y__",
|
|
@@ -12587,16 +12581,16 @@ var Tf = { style: {
|
|
|
12587
12581
|
type: "scatter",
|
|
12588
12582
|
xKey: "__dummy_x__",
|
|
12589
12583
|
yKey: "__dummy_y__",
|
|
12590
|
-
data:
|
|
12591
|
-
let t = it(e.value,
|
|
12584
|
+
data: X.value.flatMap((e) => {
|
|
12585
|
+
let t = it(e.value, Q.value || []);
|
|
12592
12586
|
if (t === null) return [];
|
|
12593
|
-
let n = Number.isFinite(Ke.value) ? Ke.value : 0, r =
|
|
12587
|
+
let n = Number.isFinite(Ke.value) ? Ke.value : 0, r = ce(j.value?.[0]), i = typeof r == "function" ? r({ value: e.value }) : e.value;
|
|
12594
12588
|
return Array.from({ length: 30 }, (r, a) => ({
|
|
12595
12589
|
value: i,
|
|
12596
12590
|
__dummy_x__: t,
|
|
12597
12591
|
__dummy_y__: n / 29 * a,
|
|
12598
12592
|
__dummy_overlay_label__: e.label,
|
|
12599
|
-
[
|
|
12593
|
+
[Y.value]: n
|
|
12600
12594
|
}));
|
|
12601
12595
|
}),
|
|
12602
12596
|
size: 15,
|
|
@@ -12623,41 +12617,41 @@ var Tf = { style: {
|
|
|
12623
12617
|
];
|
|
12624
12618
|
}
|
|
12625
12619
|
return n;
|
|
12626
|
-
}),
|
|
12620
|
+
}), Ie = r(() => I.value.length === 0 ? [] : [{
|
|
12627
12621
|
type: "pie",
|
|
12628
12622
|
legendItemKey: N.value,
|
|
12629
|
-
angleKey:
|
|
12623
|
+
angleKey: Y.value
|
|
12630
12624
|
}]);
|
|
12631
|
-
B(
|
|
12625
|
+
B(Y, (e, t) => {
|
|
12632
12626
|
d("chart-state-changed", {
|
|
12633
12627
|
api: p.value,
|
|
12634
12628
|
newState: { seriesField: e },
|
|
12635
12629
|
oldState: { seriesField: t }
|
|
12636
12630
|
});
|
|
12637
|
-
}), B(
|
|
12631
|
+
}), B(be, (e, t) => {
|
|
12638
12632
|
d("chart-state-changed", {
|
|
12639
12633
|
api: p.value,
|
|
12640
12634
|
newState: { secondarySeriesField: e },
|
|
12641
12635
|
oldState: { secondarySeriesField: t }
|
|
12642
12636
|
});
|
|
12643
|
-
}), B(
|
|
12644
|
-
e?.id && uf(e.id).storeBeforeChange && (
|
|
12637
|
+
}), B(J, (e, t) => {
|
|
12638
|
+
e?.id && uf(e.id).storeBeforeChange && (Pe.value ? fe.value = e.id : de.value = e.id);
|
|
12645
12639
|
let n = uf(e?.id || ""), r = uf(t?.id || "");
|
|
12646
|
-
n.xAxis.filterColumns !== r.xAxis.filterColumns && (j.value = []), n.yAxis.defaultValue ?
|
|
12647
|
-
l.yKey ?
|
|
12640
|
+
n.xAxis.filterColumns !== r.xAxis.filterColumns && (j.value = []), n.yAxis.defaultValue ? Y.value = n.yAxis.defaultValue : r.yAxis.defaultValue && !n.yAxis.defaultValue && v(() => {
|
|
12641
|
+
l.yKey ? Y.value = l.yKey : I.value.length > 0 && (Y.value = I.value[0].value);
|
|
12648
12642
|
}), d("chart-state-changed", {
|
|
12649
12643
|
api: p.value,
|
|
12650
12644
|
newState: { chartType: e?.id },
|
|
12651
12645
|
oldState: { chartType: t?.id }
|
|
12652
12646
|
});
|
|
12653
|
-
}), B(
|
|
12647
|
+
}), B(ge, (e) => {
|
|
12654
12648
|
if (e.length === 1 && j.value.length === 0) {
|
|
12655
12649
|
let t = e[0].field;
|
|
12656
12650
|
t && (j.value = [t]);
|
|
12657
12651
|
}
|
|
12658
12652
|
}), B(I, (e) => {
|
|
12659
|
-
e.length === 1 && !
|
|
12660
|
-
}), B(
|
|
12653
|
+
e.length === 1 && !Y.value && (Y.value = e[0].value);
|
|
12654
|
+
}), B(Z, (e, t) => {
|
|
12661
12655
|
d("chart-state-changed", {
|
|
12662
12656
|
api: p.value,
|
|
12663
12657
|
newState: { chartSort: e?.id },
|
|
@@ -12686,24 +12680,24 @@ var Tf = { style: {
|
|
|
12686
12680
|
z.setFocusType(e?.focusType), z.setFocuses(e?.focuses ?? []);
|
|
12687
12681
|
}
|
|
12688
12682
|
}, { deep: !0 });
|
|
12689
|
-
let
|
|
12690
|
-
|
|
12691
|
-
},
|
|
12683
|
+
let Le = () => {
|
|
12684
|
+
ve.value = [], ye.value = [], Ce.value = null;
|
|
12685
|
+
}, Re = (e, t) => {
|
|
12692
12686
|
if (!e || e.length === 0) {
|
|
12693
|
-
|
|
12687
|
+
Le();
|
|
12694
12688
|
return;
|
|
12695
12689
|
}
|
|
12696
12690
|
if (t) {
|
|
12697
|
-
let { stackedData: n, uniqueFieldValues: r } = So(e, N.value, t,
|
|
12698
|
-
|
|
12691
|
+
let { stackedData: n, uniqueFieldValues: r } = So(e, N.value, t, Be.value, L.value);
|
|
12692
|
+
ye.value = n, Ce.value = {
|
|
12699
12693
|
fieldName: t,
|
|
12700
12694
|
fieldValues: r
|
|
12701
12695
|
};
|
|
12702
|
-
} else
|
|
12703
|
-
|
|
12704
|
-
},
|
|
12696
|
+
} else ye.value = [], Ce.value = null;
|
|
12697
|
+
ve.value = e;
|
|
12698
|
+
}, ze = (e) => {
|
|
12705
12699
|
let t = ++T.value, n = j.value.length;
|
|
12706
|
-
if (
|
|
12700
|
+
if (Le(), C.value = !1, n === 0 || I.value.length === 0 || l.requireFiltersToShowData && R.filterModelEmpty.value) return;
|
|
12707
12701
|
if (l.serverSideChartHandler) {
|
|
12708
12702
|
let e = R.filterModel.value, n = p.value?.getColumnDefs() || [];
|
|
12709
12703
|
if (e === null && l.initialGridState) {
|
|
@@ -12711,13 +12705,13 @@ var Tf = { style: {
|
|
|
12711
12705
|
e = (l.enableAdvancedFilter ? t?.filter?.advancedFilterModel : t?.filter?.filterModel) || {};
|
|
12712
12706
|
}
|
|
12713
12707
|
e ||= {};
|
|
12714
|
-
let r = zl(Bl(j.value.map((e) => p.value?.getColumn(e)).filter((e) => e !== void 0)), n), i = new Set(n.filter((e) => $(e).chartOnSecondaryAxes === !0).map((e) => e.field).filter(Boolean)), a = p.value?.getValueColumns().filter((e) => e.getColId() ===
|
|
12708
|
+
let r = zl(Bl(j.value.map((e) => p.value?.getColumn(e)).filter((e) => e !== void 0)), n), i = new Set(n.filter((e) => $(e).chartOnSecondaryAxes === !0).map((e) => e.field).filter(Boolean)), a = p.value?.getValueColumns().filter((e) => e.getColId() === Y.value || i.has(e.getColId())), o = {
|
|
12715
12709
|
rowGroupCols: r || [],
|
|
12716
12710
|
valueCols: Bl(a || []),
|
|
12717
12711
|
filterModel: e
|
|
12718
12712
|
};
|
|
12719
12713
|
C.value = !0, l.serverSideChartHandler(o).then((e) => {
|
|
12720
|
-
t === T.value && (
|
|
12714
|
+
t === T.value && (Re(e.data, e.stackField), C.value = !1);
|
|
12721
12715
|
}).catch((e) => {
|
|
12722
12716
|
t === T.value && (console.error("Chart handler error:", e), C.value = !1);
|
|
12723
12717
|
});
|
|
@@ -12728,27 +12722,27 @@ var Tf = { style: {
|
|
|
12728
12722
|
if (e.forEachNodeAfterFilterAndSort((e) => {
|
|
12729
12723
|
if (e.group && e.level === 0) {
|
|
12730
12724
|
if (j.value.length > 1) {
|
|
12731
|
-
let { rowData: t, fieldValues: n } =
|
|
12725
|
+
let { rowData: t, fieldValues: n } = He(e, e.childrenAfterFilter?.filter((e) => e.level === 1 && e.aggData) || []);
|
|
12732
12726
|
a = a.union(n), i?.push(t);
|
|
12733
12727
|
}
|
|
12734
|
-
let t =
|
|
12728
|
+
let t = Ve(e);
|
|
12735
12729
|
r?.push(t);
|
|
12736
12730
|
}
|
|
12737
|
-
}),
|
|
12731
|
+
}), ve.value = r, j.value.length > 1 && i && i.length > 0) {
|
|
12738
12732
|
let e = j.value[1] || "";
|
|
12739
|
-
|
|
12733
|
+
ye.value = i, Ce.value = {
|
|
12740
12734
|
fieldName: e,
|
|
12741
12735
|
fieldValues: Array.from(a)
|
|
12742
12736
|
};
|
|
12743
|
-
} else
|
|
12744
|
-
},
|
|
12737
|
+
} else ye.value = [], Ce.value = null;
|
|
12738
|
+
}, Be = r(() => {
|
|
12745
12739
|
let e = I.value, t = ee.value;
|
|
12746
12740
|
return [...new Map([...t, ...e].map((e) => [e.value, e])).values()];
|
|
12747
|
-
}),
|
|
12741
|
+
}), Ve = (e) => {
|
|
12748
12742
|
let t = { [e.field]: e.key };
|
|
12749
|
-
for (let n of
|
|
12743
|
+
for (let n of Be.value) !e.aggData || !e.aggData[n.value] || (t[n.value] = e.aggData[n.value]?.value ?? e.aggData[n.value]);
|
|
12750
12744
|
return t;
|
|
12751
|
-
},
|
|
12745
|
+
}, He = (e, t) => {
|
|
12752
12746
|
let n = /* @__PURE__ */ new Set(), r = { [e.field]: e.key }, i = 0;
|
|
12753
12747
|
for (let a of I.value) t.forEach((t) => {
|
|
12754
12748
|
let o = t.key;
|
|
@@ -12765,18 +12759,18 @@ var Tf = { style: {
|
|
|
12765
12759
|
rowData: r,
|
|
12766
12760
|
fieldValues: n
|
|
12767
12761
|
};
|
|
12768
|
-
},
|
|
12769
|
-
let e =
|
|
12770
|
-
if (
|
|
12771
|
-
let n =
|
|
12762
|
+
}, Q = r(() => {
|
|
12763
|
+
let e = Ae.value ? ye.value : ve.value, t = null;
|
|
12764
|
+
if (Z.value && (t = Ae.value ? `${Y.value}${_o}` : Y.value), t && e && Z.value) {
|
|
12765
|
+
let n = Z.value?.id.includes("desc") ? -1 : 1;
|
|
12772
12766
|
e = [...e].sort((e, r) => ((e[t] || 0) - (r[t] || 0)) * n);
|
|
12773
12767
|
}
|
|
12774
12768
|
if (e && e.length === 1 && (e = [
|
|
12775
12769
|
{ [N.value]: "" },
|
|
12776
12770
|
e[0],
|
|
12777
12771
|
{ [N.value]: " " }
|
|
12778
|
-
]), l.enableFocusView && e &&
|
|
12779
|
-
let t = e?.filter((e) =>
|
|
12772
|
+
]), l.enableFocusView && e && ae.value.length > 0 && U.value) {
|
|
12773
|
+
let t = e?.filter((e) => ae.value.includes(e[N.value])), n = e?.filter((e) => !ae.value.includes(e[N.value]));
|
|
12780
12774
|
e = [
|
|
12781
12775
|
...t || [],
|
|
12782
12776
|
{ [N.value]: go },
|
|
@@ -12785,14 +12779,14 @@ var Tf = { style: {
|
|
|
12785
12779
|
}
|
|
12786
12780
|
return e;
|
|
12787
12781
|
}), Ue = new Set(["", " "]), We = r(() => {
|
|
12788
|
-
let e = (
|
|
12782
|
+
let e = (Q.value ?? []).filter((e) => {
|
|
12789
12783
|
let t = e?.[N.value];
|
|
12790
12784
|
return !Ue.has(String(t));
|
|
12791
|
-
}), t =
|
|
12792
|
-
if (!
|
|
12793
|
-
let n =
|
|
12785
|
+
}), t = be.value;
|
|
12786
|
+
if (!Ae.value || !t || !Ce.value) return e;
|
|
12787
|
+
let n = q(t);
|
|
12794
12788
|
if ((typeof n?.aggFunc == "string" ? n.aggFunc : "") === "sum") return e;
|
|
12795
|
-
let r = `${t}${_o}`, i =
|
|
12789
|
+
let r = `${t}${_o}`, i = Ce.value.fieldValues;
|
|
12796
12790
|
return e.map((e) => {
|
|
12797
12791
|
let n = e[r];
|
|
12798
12792
|
if (typeof n != "number") return e;
|
|
@@ -12803,18 +12797,18 @@ var Tf = { style: {
|
|
|
12803
12797
|
[r]: a > 0 ? n / a : null
|
|
12804
12798
|
};
|
|
12805
12799
|
});
|
|
12806
|
-
}), Ge = r(() =>
|
|
12800
|
+
}), Ge = r(() => Q.value?.length || 0), Ke = r(() => Co(Ae.value ? ye.value : Q.value, Y.value, Ae.value)), qe = r(() => be.value ? Co(Ae.value ? ye.value : Q.value, be.value, Ae.value) : -Infinity), Je = r(() => wo(Ae.value ? ye.value : Q.value, Y.value, Ae.value)), Ye = r(() => be.value ? wo(Ae.value ? ye.value : Q.value, be.value, Ae.value) : Infinity), Xe = r(() => Ce.value?.fieldValues?.length || 0), Ze = r(() => {
|
|
12807
12801
|
let e = .25 * Math.exp(-.12 * Ge.value);
|
|
12808
12802
|
return Math.min(Math.max(e, .05), .75);
|
|
12809
|
-
}), Qe = r(() => Xe.value > 5 ? .5 : 1), $e = r(() => Xe.value > 5 ? .25 : .1), et = r(() => !
|
|
12810
|
-
let e =
|
|
12803
|
+
}), Qe = r(() => Xe.value > 5 ? .5 : 1), $e = r(() => Xe.value > 5 ? .25 : .1), et = r(() => !Q.value || Q.value?.length === 0 ? !0 : Ke.value === -Infinity || Ae.value === !0 && Ke.value === 0), nt = r(() => !!(l.enableFocusView && U.value && ae.value.length === 0 && l.percentOfFocusViewYKey && Y.value && Y.value === l.percentOfFocusViewYKey)), rt = r(() => {
|
|
12804
|
+
let e = q(U.value || ""), t = e?.headerName || e?.field || "Compare Field";
|
|
12811
12805
|
return yo({
|
|
12812
12806
|
currentRowGroupColumnsLength: j.value.length,
|
|
12813
|
-
shouldShowFocusOverlayText: nt.value || l.focusRequired &&
|
|
12807
|
+
shouldShowFocusOverlayText: nt.value || l.focusRequired && ae.value.length === 0,
|
|
12814
12808
|
chartDataEmpty: et.value,
|
|
12815
12809
|
missingFocusText: l.missingFocusText,
|
|
12816
12810
|
displayGroupByName: t,
|
|
12817
|
-
yAxisName:
|
|
12811
|
+
yAxisName: Ee.value,
|
|
12818
12812
|
yAxisOptionCount: I.value.length
|
|
12819
12813
|
});
|
|
12820
12814
|
}), it = (e, t) => {
|
|
@@ -12827,22 +12821,22 @@ var Tf = { style: {
|
|
|
12827
12821
|
}
|
|
12828
12822
|
}
|
|
12829
12823
|
return null;
|
|
12830
|
-
}, at = r(() => nt.value ||
|
|
12824
|
+
}, at = r(() => nt.value || H.value || !l.isLoading && rt.value !== ""), ot = r(() => {
|
|
12831
12825
|
let e = {};
|
|
12832
|
-
e.overlays = { noData: { text: "" } }, e.data = at.value ? [] :
|
|
12826
|
+
e.overlays = { noData: { text: "" } }, e.data = at.value ? [] : Q.value, e.legend = {
|
|
12833
12827
|
toggleSeries: !1,
|
|
12834
12828
|
preventHidingAll: !0,
|
|
12835
12829
|
enabled: j.value.length > 1
|
|
12836
12830
|
};
|
|
12837
|
-
let t =
|
|
12838
|
-
if (!
|
|
12839
|
-
let e =
|
|
12840
|
-
return
|
|
12841
|
-
})(), r =
|
|
12831
|
+
let t = Ae.value ? Ce.value?.fieldValues.map((e) => bo(Y.value, e)) || [] : Y.value ? [Y.value] : [], n = (() => {
|
|
12832
|
+
if (!be.value) return [];
|
|
12833
|
+
let e = be.value;
|
|
12834
|
+
return Ne.value ? [`${e}${_o}`] : Ae.value ? Ce.value?.fieldValues.map((t) => bo(e, String(t))) || [] : [e];
|
|
12835
|
+
})(), r = me.value.xAxis.hideLabel === !0, i = J.value?.id === "histogram" && Q.value && Q.value.length > 0 && typeof Q.value[0]?.bucketMin == "number" && typeof Q.value[0]?.bucketMax == "number", a = [];
|
|
12842
12836
|
if (a.push({
|
|
12843
12837
|
type: "category",
|
|
12844
12838
|
keys: [N.value],
|
|
12845
|
-
position:
|
|
12839
|
+
position: ke.value ? "left" : "bottom",
|
|
12846
12840
|
crossLines: [{
|
|
12847
12841
|
type: "line",
|
|
12848
12842
|
value: go,
|
|
@@ -12859,9 +12853,9 @@ var Tf = { style: {
|
|
|
12859
12853
|
wrapping: "never",
|
|
12860
12854
|
formatter: r ? () => "" : (e) => {
|
|
12861
12855
|
if (e.value === "--SEPARATOR--") return "";
|
|
12862
|
-
let t = e.value, n =
|
|
12856
|
+
let t = e.value, n = ce(N.value);
|
|
12863
12857
|
typeof n == "function" && (t = n(e));
|
|
12864
|
-
let r = l.enableFocusView &&
|
|
12858
|
+
let r = l.enableFocusView && ae.value.includes(e.value) ? ` (${l.focusText})` : "";
|
|
12865
12859
|
if (typeof t == "string" && t.length + r.length > 50 && !e.context?.tooltip) {
|
|
12866
12860
|
let e = 50 - r.length - 3;
|
|
12867
12861
|
return t.substring(0, e) + "..." + r;
|
|
@@ -12872,12 +12866,12 @@ var Tf = { style: {
|
|
|
12872
12866
|
paddingInner: Ze.value,
|
|
12873
12867
|
paddingOuter: Qe.value,
|
|
12874
12868
|
groupPaddingInner: $e.value
|
|
12875
|
-
}), i &&
|
|
12876
|
-
let e =
|
|
12869
|
+
}), i && X.value.length > 0) {
|
|
12870
|
+
let e = Q.value?.length || 1;
|
|
12877
12871
|
a.push({
|
|
12878
12872
|
type: "number",
|
|
12879
12873
|
keys: ["__dummy_x__"],
|
|
12880
|
-
position:
|
|
12874
|
+
position: ke.value ? "left" : "bottom",
|
|
12881
12875
|
crosshair: { enabled: !1 },
|
|
12882
12876
|
min: -1,
|
|
12883
12877
|
max: e + 1,
|
|
@@ -12886,9 +12880,9 @@ var Tf = { style: {
|
|
|
12886
12880
|
tick: { enabled: !1 },
|
|
12887
12881
|
line: { enabled: !1 },
|
|
12888
12882
|
gridLine: { enabled: !1 },
|
|
12889
|
-
crossLines:
|
|
12890
|
-
if (!
|
|
12891
|
-
let t = it(e.value,
|
|
12883
|
+
crossLines: X.value.map((e) => {
|
|
12884
|
+
if (!Q.value) return null;
|
|
12885
|
+
let t = it(e.value, Q.value);
|
|
12892
12886
|
return t == null ? null : {
|
|
12893
12887
|
type: "line",
|
|
12894
12888
|
value: t,
|
|
@@ -12900,26 +12894,26 @@ var Tf = { style: {
|
|
|
12900
12894
|
}).filter((e) => e !== null)
|
|
12901
12895
|
});
|
|
12902
12896
|
}
|
|
12903
|
-
let o = !!
|
|
12897
|
+
let o = !!be.value, s = o ? De.value?.secondaryAxisMax : void 0, c = o && Number.isFinite(Je.value) && Je.value < 0, u = o && Number.isFinite(Ye.value) && Ye.value < 0, d = c || u, f = o ? vo(Ke.value, 5) : 0, p = o ? s ?? vo(qe.value, 5) : 0, m = o && !d && f > 0 && p > 0;
|
|
12904
12898
|
if (a.push({
|
|
12905
12899
|
type: "number",
|
|
12906
12900
|
keys: t,
|
|
12907
|
-
position:
|
|
12901
|
+
position: ke.value ? "bottom" : "left",
|
|
12908
12902
|
...m ? {
|
|
12909
12903
|
min: 0,
|
|
12910
12904
|
max: f,
|
|
12911
12905
|
nice: !1,
|
|
12912
12906
|
interval: { step: f / 5 }
|
|
12913
12907
|
} : {},
|
|
12914
|
-
label: { formatter:
|
|
12908
|
+
label: { formatter: ce(Y.value) },
|
|
12915
12909
|
title: {
|
|
12916
12910
|
enabled: !0,
|
|
12917
|
-
text:
|
|
12911
|
+
text: Ee.value
|
|
12918
12912
|
}
|
|
12919
12913
|
}), o && a.push({
|
|
12920
12914
|
type: "number",
|
|
12921
12915
|
keys: n,
|
|
12922
|
-
position:
|
|
12916
|
+
position: ke.value ? "top" : "right",
|
|
12923
12917
|
crosshair: { enabled: !1 },
|
|
12924
12918
|
...m ? {
|
|
12925
12919
|
min: 0,
|
|
@@ -12937,10 +12931,10 @@ var Tf = { style: {
|
|
|
12937
12931
|
label: { color: ft },
|
|
12938
12932
|
title: {
|
|
12939
12933
|
enabled: !0,
|
|
12940
|
-
text:
|
|
12934
|
+
text: Oe.value,
|
|
12941
12935
|
color: ft
|
|
12942
12936
|
}
|
|
12943
|
-
}), i &&
|
|
12937
|
+
}), i && X.value.length > 0) {
|
|
12944
12938
|
let e = Number.isFinite(Ke.value) ? Ke.value : 0;
|
|
12945
12939
|
a.push({
|
|
12946
12940
|
type: "number",
|
|
@@ -12956,8 +12950,8 @@ var Tf = { style: {
|
|
|
12956
12950
|
gridLine: { enabled: !1 }
|
|
12957
12951
|
});
|
|
12958
12952
|
}
|
|
12959
|
-
return e.axes = a, e.series =
|
|
12960
|
-
}), st = r(() => C.value || l.isLoading && (!
|
|
12953
|
+
return e.axes = a, e.series = je.value, e;
|
|
12954
|
+
}), st = r(() => C.value || l.isLoading && (!Q.value || Q.value.length === 0)), ct = r(() => nt.value || !H.value && !l.isLoading && rt.value !== ""), lt = (e) => {
|
|
12961
12955
|
g.value = e, d("chart-collapsed", e);
|
|
12962
12956
|
}, ut = (e) => {
|
|
12963
12957
|
p.value && (p.value.setRowGroupColumns(e ? j.value : []), re.value = e);
|
|
@@ -12968,7 +12962,7 @@ var Tf = { style: {
|
|
|
12968
12962
|
return n({
|
|
12969
12963
|
getChartImageDataURL: (e) => h.value?.getChartImageDataURL(e),
|
|
12970
12964
|
getCsvData: () => m.value?.getCsvData(),
|
|
12971
|
-
refreshData: (e) => (p.value &&
|
|
12965
|
+
refreshData: (e) => (p.value && ze(p.value), m.value?.refreshData(e)),
|
|
12972
12966
|
getFilterValueSelectedMetadataMap: dt,
|
|
12973
12967
|
getPvFilterModel: () => m.value?.getPvFilterModel(),
|
|
12974
12968
|
setPvFilterModel: (e) => m.value?.setPvFilterModel(e)
|
|
@@ -13010,9 +13004,9 @@ var Tf = { style: {
|
|
|
13010
13004
|
onClick: r[1] ||= (e) => lt(!g.value)
|
|
13011
13005
|
})], 2),
|
|
13012
13006
|
s("div", { class: y(e.hideChart || g.value ? "pv-hide" : "") }, [u(Cf, {
|
|
13013
|
-
enablePanel:
|
|
13007
|
+
enablePanel: Q.value != null && Q.value.length > 0,
|
|
13014
13008
|
chartFilter: e.chartFilter,
|
|
13015
|
-
rowGroupLimit:
|
|
13009
|
+
rowGroupLimit: he.value,
|
|
13016
13010
|
"use-combined-button": l.enableCombinedChartConfigPanel,
|
|
13017
13011
|
"chart-config-options": l.chartConfigPanelOptions,
|
|
13018
13012
|
"read-only": l.chartConfigPanelReadOnly
|
|
@@ -13033,7 +13027,7 @@ var Tf = { style: {
|
|
|
13033
13027
|
"isLoading",
|
|
13034
13028
|
"options",
|
|
13035
13029
|
"enableFocusView"
|
|
13036
|
-
]), s("div", kf, [
|
|
13030
|
+
]), s("div", kf, [H.value ? (E(), o("div", Af, [(E(), i(M(e.emptyChartFilterRenderer)))])) : ct.value ? (E(), o("p", jf, P(rt.value), 1)) : a("", !0)])])], 2)
|
|
13037
13031
|
])),
|
|
13038
13032
|
u(Fd, _({
|
|
13039
13033
|
ref_key: "pvDataTableRef",
|
|
@@ -13041,12 +13035,12 @@ var Tf = { style: {
|
|
|
13041
13035
|
}, n.$props, {
|
|
13042
13036
|
filterTeleportLocation: x.value ? `#${b}` : void 0,
|
|
13043
13037
|
pagination: e.pagination || !re.value,
|
|
13044
|
-
onColumnRowGroupChanged:
|
|
13045
|
-
onGridReady:
|
|
13046
|
-
onFilterChanged:
|
|
13038
|
+
onColumnRowGroupChanged: W,
|
|
13039
|
+
onGridReady: oe,
|
|
13040
|
+
onFilterChanged: G,
|
|
13047
13041
|
onSortChanged: r[3] ||= (e) => d("sort-changed", e),
|
|
13048
13042
|
onFilterOpened: r[4] ||= (e) => d("filter-opened", e),
|
|
13049
|
-
onFirstDataRendered:
|
|
13043
|
+
onFirstDataRendered: se,
|
|
13050
13044
|
onColumnMoved: r[5] ||= (e) => d("column-moved", e),
|
|
13051
13045
|
onColumnResized: r[6] ||= (e) => d("column-resized", e),
|
|
13052
13046
|
onHandleSettingsIcon: r[7] ||= (e) => d("handle-settings-icon", e),
|
|
@@ -13057,7 +13051,7 @@ var Tf = { style: {
|
|
|
13057
13051
|
groupedModeEnabled: re.value,
|
|
13058
13052
|
tableConfigOptions: l.tableConfigOptions,
|
|
13059
13053
|
onToggleGroup: ut,
|
|
13060
|
-
onTableOverlayChange:
|
|
13054
|
+
onTableOverlayChange: ie
|
|
13061
13055
|
}, null, 8, ["groupedModeEnabled", "tableConfigOptions"])) : (E(), i(An, {
|
|
13062
13056
|
key: 1,
|
|
13063
13057
|
leftIcon: re.value ? "ungroup" : "group",
|