@turquoisehealth/pit-viper 2.206.0 → 2.206.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_site/assets/css/pit-viper-a11y.css +24 -0
- package/_site/assets/css/pit-viper-consumer.css +24 -0
- package/_site/assets/css/pit-viper-v2-scoped.css +21 -0
- package/_site/assets/css/pit-viper-v2.css +43 -0
- package/_site/assets/css/pit-viper.css +24 -0
- 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-avatar-group-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-dropdown-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-header-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/components/base/PvAvatarGroup/PvAvatarGroup.vue.d.ts +3 -1
- package/pv-components/dist/vue/base/components/base/PvAvatarGroup/types.d.ts +2 -0
- package/pv-components/dist/vue/base/components/base/PvDropdown/PvDropdown.vue.d.ts +2 -0
- package/pv-components/dist/vue/base/pv-components-base.mjs +977 -957
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/base/types.d.ts +1 -0
- package/pv-components/dist/vue/visualizations/components/base/PvAvatarGroup/PvAvatarGroup.vue.d.ts +3 -1
- package/pv-components/dist/vue/visualizations/components/base/PvAvatarGroup/types.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/base/PvDropdown/PvDropdown.vue.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +185 -168
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/types.d.ts +1 -0
- package/pv-components/dist/web/components/pv-avatar-group/pv-avatar-group.js +31 -25
- package/pv-components/dist/web/components/pv-dropdown/pv-dropdown.js +167 -163
- package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +1 -1
- package/pv-components/dist/web/components/pv-header/pv-header.js +2 -2
- package/pv-components/dist/web/components/pv-menu/pv-menu.js +5 -2
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +9 -11
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +102 -87
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +5 -2
- package/pv-components/dist/web/pv-components.iife.js +14 -14
- package/pv-components/dist/web/pv-components.iife.js.map +1 -1
|
@@ -1,4 +1,4 @@
|
|
|
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-6a07eeec]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-6a07eeec]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-surface-lighten-5[data-v-6a07eeec]{background-color:#e0e5e4}.pv-text-secondary[data-v-6a07eeec]{color:#4b595c}.pv-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-1681e679]{box-sizing:border-box;width:100%;min-width:0;min-height:0}.pv-data-widget--constrained[data-v-1681e679]{flex-direction:column;display:flex;overflow:hidden}.pv-data-widget--constrained .pv-data-widget__body[data-v-1681e679]{flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden}.pv-data-widget__table-container[data-v-1681e679]{min-height:0}.pv-data-widget__below-table[data-v-1681e679]{margin-top:16px}.pv-data-widget--constrained .pv-data-widget__table-container[data-v-1681e679]{flex:auto}.pv-data-widget--constrained .pv-data-widget__below-table[data-v-1681e679]{flex:none}.pv-data-widget__chart-scroll[data-v-1681e679]{width:100%;min-height:0;overflow:hidden}.pv-data-widget--constrained .pv-data-widget__chart-scroll[data-v-1681e679]{flex:auto}.pv-data-widget__chart-scroll--enabled[data-v-1681e679]{overflow:auto}.pv-data-widget__chart-content[data-v-1681e679]{min-height:100%}.pv-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-f876eb87]:hover{color:#16696d}.suggested-title-label[data-v-f876eb87]:hover{color:#0d5256;text-decoration:underline}.pv-details-no-carat>summary[data-v-91375005]{cursor:default;background-image:none}.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.pv-data-table-group-last-child,.pv-data-table-grouped-card .ag-row:not(.ag-row-group-contracted):not(.ag-row-group-expanded).ag-row-last{border-radius:0 0 4px 4px}.pv-data-table-grouped-card .ag-row-group-contracted:after{content:"";pointer-events:none;border:1px solid #e0e0e0;border-radius:4px;position:absolute;inset:5px 0}.pv-data-table-grouped-card .ag-row-group-expanded:after{content:"";pointer-events:none;border:1px solid #e0e0e0;border-radius:4px 4px 0 0;position:absolute;inset:5px 0 0}.pv-data-table-grouped-card .ag-row-group-contracted:hover,.pv-data-table-grouped-card .ag-row-group-expanded:hover{background:linear-gradient(#fff 5px,#eef0f0 5px calc(100% - 5px),#fff calc(100% - 5px))!important}.pv-data-table-grouped-card .ag-row-group-expanded:hover{background:linear-gradient(#fff 5px,#eef0f0 5px)!important}.pv-data-table-grouped-card .ag-row:not(.ag-row-group-contracted):not(.ag-row-group-expanded):hover{background-color:#f7f8f8!important}.pv-data-table-grouped-card .ag-group-value{height:100%}.pv-text-tertiary[data-v-34615cd0]{color:#89989b}.pv-button-placeholder[data-v-34615cd0]{width:24px;height:24px}.pv-sort-option[data-v-34615cd0]{--flex-gap:4px;cursor:grab;min-height:24px}.pv-menu-item-disabled[data-v-34615cd0]{pointer-events:none;color:#7d898d}.placeholder-zone[data-v-34615cd0]{transition:background-color .2s}.pv-placeholder-dropzone[data-v-34615cd0]{justify-content:center;align-items:center;padding:8px 4px;transition:all .2s;border-style:dashed!important;border-color:#e3e7ea!important}.placeholder-zone.placeholder-drag-over .pv-placeholder-dropzone[data-v-34615cd0]{background:#f0f9f9;border-color:#16696d!important}.sort-divider-container[data-v-34615cd0]{display:flex}.sort-divider[data-v-34615cd0]{border-top:1px solid #e3e7ea;flex:1;margin:1rem 0;position:relative}.sort-divider[data-v-34615cd0]:after{content:attr(data-label);font-size:inherit;white-space:nowrap;background:#fff;padding:0 .5em;display:inline-block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.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-data-table-with-chart__chart-scroll{width:100%;min-height:0}.pv-data-table-with-chart__chart-scroll--enabled{overflow:auto}.pv-data-table-with-chart__chart-content{min-height:100%}.pv-chart-overlay{pointer-events:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ag-charts-tooltip{background-color:#fffffff2}.ag-charts-floating-toolbar{display:none!important}
|
|
1
|
+
(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.pv-scatter-overlay[data-v-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-6a07eeec]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-6a07eeec]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-surface-lighten-5[data-v-6a07eeec]{background-color:#e0e5e4}.pv-text-secondary[data-v-6a07eeec]{color:#4b595c}.pv-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-1681e679]{box-sizing:border-box;width:100%;min-width:0;min-height:0}.pv-data-widget--constrained[data-v-1681e679]{flex-direction:column;display:flex;overflow:hidden}.pv-data-widget--constrained .pv-data-widget__body[data-v-1681e679]{flex-direction:column;flex:auto;min-height:0;display:flex;overflow:hidden}.pv-data-widget__table-container[data-v-1681e679]{min-height:0}.pv-data-widget__below-table[data-v-1681e679]{margin-top:16px}.pv-data-widget--constrained .pv-data-widget__table-container[data-v-1681e679]{flex:auto}.pv-data-widget--constrained .pv-data-widget__below-table[data-v-1681e679]{flex:none}.pv-data-widget__chart-scroll[data-v-1681e679]{width:100%;min-height:0;overflow:hidden}.pv-data-widget--constrained .pv-data-widget__chart-scroll[data-v-1681e679]{flex:auto}.pv-data-widget__chart-scroll--enabled[data-v-1681e679]{overflow:auto}.pv-data-widget__chart-content[data-v-1681e679]{min-height:100%}.pv-popover-list[data-v-c6181252]{font-size:14px}.pv-icon-button[data-v-aefd2b6b]{background-color:#0000;border:none}.pv-icon-button[data-v-aefd2b6b]:hover{cursor:pointer;color:#176f6f}.pv-select[data-v-aefd2b6b]{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-e2a82095]{background:var(--secondary-lighten-8,#f7f8f8);border-radius:var(--corner-radius-L,8px);border:1px solid var(--stroke-light,#e3e7ea);cursor:text;align-items:center;width:100%;min-height:2.25rem;padding:.25rem;font-size:.75rem;display:flex;position:relative}.pv-query-builder-input[data-v-e2a82095]{justify-content:start;overflow-x:hidden}.pv-query-builder-input-wrapper input[data-v-e2a82095]{background:0 0;border:none;outline:none;flex:1rem;min-width:1rem;font-size:.75rem}.pv-query-builder-input-wrapper[data-v-e2a82095]: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-f876eb87]:hover{color:#16696d}.suggested-title-label[data-v-f876eb87]:hover{color:#0d5256;text-decoration:underline}.pv-details-no-carat>summary[data-v-91375005]{cursor:default;background-image:none}.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.pv-data-table-group-last-child,.pv-data-table-grouped-card .ag-row:not(.ag-row-group-contracted):not(.ag-row-group-expanded).ag-row-last{border-radius:0 0 4px 4px}.pv-data-table-grouped-card .ag-row-group-contracted:after{content:"";pointer-events:none;border:1px solid #e0e0e0;border-radius:4px;position:absolute;inset:5px 0}.pv-data-table-grouped-card .ag-row-group-expanded:after{content:"";pointer-events:none;border:1px solid #e0e0e0;border-radius:4px 4px 0 0;position:absolute;inset:5px 0 0}.pv-data-table-grouped-card .ag-row-group-contracted:hover,.pv-data-table-grouped-card .ag-row-group-expanded:hover{background:linear-gradient(#fff 5px,#eef0f0 5px calc(100% - 5px),#fff calc(100% - 5px))!important}.pv-data-table-grouped-card .ag-row-group-expanded:hover{background:linear-gradient(#fff 5px,#eef0f0 5px)!important}.pv-data-table-grouped-card .ag-row:not(.ag-row-group-contracted):not(.ag-row-group-expanded):hover{background-color:#f7f8f8!important}.pv-data-table-grouped-card .ag-group-value{height:100%}.pv-text-tertiary[data-v-34615cd0]{color:#89989b}.pv-button-placeholder[data-v-34615cd0]{width:24px;height:24px}.pv-sort-option[data-v-34615cd0]{--flex-gap:4px;cursor:grab;min-height:24px}.pv-menu-item-disabled[data-v-34615cd0]{pointer-events:none;color:#7d898d}.placeholder-zone[data-v-34615cd0]{transition:background-color .2s}.pv-placeholder-dropzone[data-v-34615cd0]{justify-content:center;align-items:center;padding:8px 4px;transition:all .2s;border-style:dashed!important;border-color:#e3e7ea!important}.placeholder-zone.placeholder-drag-over .pv-placeholder-dropzone[data-v-34615cd0]{background:#f0f9f9;border-color:#16696d!important}.sort-divider-container[data-v-34615cd0]{display:flex}.sort-divider[data-v-34615cd0]{border-top:1px solid #e3e7ea;flex:1;margin:1rem 0;position:relative}.sort-divider[data-v-34615cd0]:after{content:attr(data-label);font-size:inherit;white-space:nowrap;background:#fff;padding:0 .5em;display:inline-block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}[data-v-138e426e] .pv-menu-nested:after{content:"›"}[data-v-138e426e] .pv-menu-nested-active{background-color:var(--popover-list-selected-item-background-color,#e4f8f6)}.pv-tooltip a[data-v-138e426e]{color:inherit}.pv-chart-option[data-v-138e426e]{min-width:150px;max-width:225px}.pv-data-table-with-chart__chart-scroll{width:100%;min-height:0}.pv-data-table-with-chart__chart-scroll--enabled{overflow:auto}.pv-data-table-with-chart__chart-content{min-height:100%}.pv-chart-overlay{pointer-events:none;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.ag-charts-tooltip{background-color:#fffffff2}.ag-charts-floating-toolbar{display:none!important}
|
|
2
2
|
/*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();import * as e from "vue";
|
|
3
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 B, vModelText as te, vShow as ne, watch as V, withCtx as H, withDirectives as re, withModifiers as U } from "vue";
|
|
4
4
|
import { AgCharts as W } from "ag-charts-vue3";
|
|
@@ -5004,6 +5004,7 @@ var Sa = {
|
|
|
5004
5004
|
secondaryText: {},
|
|
5005
5005
|
subduedText: {},
|
|
5006
5006
|
icon: {},
|
|
5007
|
+
hoverTitle: {},
|
|
5007
5008
|
companyName: {},
|
|
5008
5009
|
avatar: {},
|
|
5009
5010
|
groupingLabel: {},
|
|
@@ -5057,7 +5058,7 @@ var Sa = {
|
|
|
5057
5058
|
}, null, 8, ["name"])) : a("", !0),
|
|
5058
5059
|
s("div", Sa, [s("span", {
|
|
5059
5060
|
class: "pv-text-body-md pv-full-width pv-truncate",
|
|
5060
|
-
title: e.text
|
|
5061
|
+
title: e.hoverTitle ?? e.text
|
|
5061
5062
|
}, [s("span", {
|
|
5062
5063
|
ref_key: "mainText",
|
|
5063
5064
|
ref: c
|
|
@@ -5075,7 +5076,7 @@ var Sa = {
|
|
|
5075
5076
|
"pv-truncate",
|
|
5076
5077
|
{ "pv-text-subdued": !e.disabled }
|
|
5077
5078
|
]),
|
|
5078
|
-
title: u.value
|
|
5079
|
+
title: e.hoverTitle ?? u.value
|
|
5079
5080
|
}, P(u.value), 11, wa)) : a("", !0)]),
|
|
5080
5081
|
e.secondaryText && typeof e.secondaryText == "number" ? (E(), i(Dn, {
|
|
5081
5082
|
key: 3,
|
|
@@ -5225,6 +5226,7 @@ var Sa = {
|
|
|
5225
5226
|
secondaryText: {},
|
|
5226
5227
|
subduedText: {},
|
|
5227
5228
|
icon: {},
|
|
5229
|
+
hoverTitle: {},
|
|
5228
5230
|
companyName: {},
|
|
5229
5231
|
avatar: {},
|
|
5230
5232
|
groupingLabel: {},
|
|
@@ -5361,6 +5363,7 @@ var Sa = {
|
|
|
5361
5363
|
secondaryText: {},
|
|
5362
5364
|
subduedText: {},
|
|
5363
5365
|
icon: {},
|
|
5366
|
+
hoverTitle: {},
|
|
5364
5367
|
companyName: {},
|
|
5365
5368
|
avatar: {},
|
|
5366
5369
|
groupingLabel: {},
|
|
@@ -6706,7 +6709,8 @@ var Sa = {
|
|
|
6706
6709
|
type: Boolean,
|
|
6707
6710
|
default: !1
|
|
6708
6711
|
},
|
|
6709
|
-
teleportLocation: { default: "body" }
|
|
6712
|
+
teleportLocation: { default: "body" },
|
|
6713
|
+
triggerCssProperties: {}
|
|
6710
6714
|
},
|
|
6711
6715
|
emits: [
|
|
6712
6716
|
"dropdown-open",
|
|
@@ -6716,20 +6720,20 @@ var Sa = {
|
|
|
6716
6720
|
setup(e, { expose: t, emit: c }) {
|
|
6717
6721
|
let d = e, f = c, p = O(d.defaultOpen), m = O(null), h = O(null), g = O(null), _ = O(null), b = () => {
|
|
6718
6722
|
m.value && (g.value = m.value.getBoundingClientRect()), h.value?.popoverRoot && (_.value = h.value.popoverRoot.getBoundingClientRect());
|
|
6719
|
-
},
|
|
6723
|
+
}, S = r(() => ({ "pv-hide": !p.value })), C = () => {
|
|
6720
6724
|
p.value = !p.value;
|
|
6721
|
-
},
|
|
6725
|
+
}, w = () => {
|
|
6722
6726
|
p.value = !1;
|
|
6723
6727
|
};
|
|
6724
|
-
t({ closeDropdown:
|
|
6728
|
+
t({ closeDropdown: w }), V(p, (e) => {
|
|
6725
6729
|
e ? v(() => {
|
|
6726
6730
|
b(), f("dropdown-open");
|
|
6727
6731
|
}) : f("dropdown-closed");
|
|
6728
6732
|
});
|
|
6729
|
-
let
|
|
6733
|
+
let T = r(() => !g.value || !_.value ? 0 : d.alignment === "right" || d.alignment === "top right" ? g.value.left + g.value.width - _.value.width : g.value.left), D = r(() => !g.value || !_.value ? 0 : d.alignment === "top" || d.alignment === "top right" ? g.value.top - _.value.height : g.value.top + window.scrollY + g.value.height), k = r(() => d.useTeleport ? {
|
|
6730
6734
|
position: "absolute",
|
|
6731
|
-
left: `${
|
|
6732
|
-
top: `${
|
|
6735
|
+
left: `${T.value}px`,
|
|
6736
|
+
top: `${D.value}px`,
|
|
6733
6737
|
zIndex: 10,
|
|
6734
6738
|
...d.popoverCssProperties
|
|
6735
6739
|
} : d.popoverCssProperties);
|
|
@@ -6740,17 +6744,20 @@ var Sa = {
|
|
|
6740
6744
|
"pv-select": !e.icon,
|
|
6741
6745
|
"pv-icon-button": e.icon
|
|
6742
6746
|
}),
|
|
6743
|
-
style: {
|
|
6744
|
-
|
|
6747
|
+
style: x({
|
|
6748
|
+
width: "auto",
|
|
6749
|
+
...e.triggerCssProperties
|
|
6750
|
+
}),
|
|
6751
|
+
onClick: C,
|
|
6745
6752
|
disabled: e.disabled
|
|
6746
|
-
}, [A(t.$slots, "trigger", {}, () => [r[1] ||= l("Open", -1)], !0)],
|
|
6753
|
+
}, [A(t.$slots, "trigger", {}, () => [r[1] ||= l("Open", -1)], !0)], 14, _s), (E(), i(n, {
|
|
6747
6754
|
to: e.teleportLocation,
|
|
6748
6755
|
disabled: !e.useTeleport
|
|
6749
6756
|
}, [u(hs, {
|
|
6750
6757
|
ref_key: "popoverRef",
|
|
6751
6758
|
ref: h,
|
|
6752
|
-
class: y(
|
|
6753
|
-
"css-custom-properties":
|
|
6759
|
+
class: y(S.value),
|
|
6760
|
+
"css-custom-properties": k.value,
|
|
6754
6761
|
alignment: e.alignment,
|
|
6755
6762
|
isList: e.isList,
|
|
6756
6763
|
isSortable: e.isSortable,
|
|
@@ -6764,9 +6771,9 @@ var Sa = {
|
|
|
6764
6771
|
"alignment",
|
|
6765
6772
|
"isList",
|
|
6766
6773
|
"isSortable"
|
|
6767
|
-
])], 8, ["to", "disabled"]))])), [[I(de),
|
|
6774
|
+
])], 8, ["to", "disabled"]))])), [[I(de), w]]);
|
|
6768
6775
|
}
|
|
6769
|
-
}), [["__scopeId", "data-v-
|
|
6776
|
+
}), [["__scopeId", "data-v-aefd2b6b"]]), bs = ["data-style"], xs = /* @__PURE__ */ d({
|
|
6770
6777
|
__name: "PvTag",
|
|
6771
6778
|
props: {
|
|
6772
6779
|
size: { default: "md" },
|
|
@@ -7266,7 +7273,7 @@ var Ms = {
|
|
|
7266
7273
|
immediate: !0
|
|
7267
7274
|
}), V(M, (e) => {
|
|
7268
7275
|
e ? (U(), v(() => {
|
|
7269
|
-
c.overlayTrigger && !c.disableSearchInput && j.value?.input?.focus(), g("dropdown-open");
|
|
7276
|
+
c.overlayTrigger && !c.disableSearchInput && !c.readOnly && j.value?.input?.focus(), g("dropdown-open");
|
|
7270
7277
|
})) : (U(), g("dropdown-closed"));
|
|
7271
7278
|
});
|
|
7272
7279
|
let ce = r(() => {
|
|
@@ -7360,18 +7367,13 @@ var Ms = {
|
|
|
7360
7367
|
...e.popoverCssProperties
|
|
7361
7368
|
})
|
|
7362
7369
|
}, [
|
|
7363
|
-
e.disableSearchInput
|
|
7370
|
+
!e.disableSearchInput && !e.readOnly ? (E(), o("div", Us, [u(qi, {
|
|
7364
7371
|
ref: "searchInputRef",
|
|
7365
7372
|
"model-value": B.value,
|
|
7366
7373
|
"onUpdate:modelValue": r[1] ||= (e) => B.value = e,
|
|
7367
7374
|
class: "pv-stack-4",
|
|
7368
|
-
placeholder: e.searchPlaceholder
|
|
7369
|
-
|
|
7370
|
-
}, null, 8, [
|
|
7371
|
-
"model-value",
|
|
7372
|
-
"placeholder",
|
|
7373
|
-
"disabled"
|
|
7374
|
-
])])),
|
|
7375
|
+
placeholder: e.searchPlaceholder
|
|
7376
|
+
}, null, 8, ["model-value", "placeholder"])])) : a("", !0),
|
|
7375
7377
|
n.$slots.header || I(_e) ? (E(), o("div", Ws, [A(n.$slots, "header", b(p(me.value)))])) : a("", !0),
|
|
7376
7378
|
ce.value.length > 0 ? (E(), o(t, { key: 2 }, [pe.value ? (E(!0), o(t, { key: 0 }, k(J.value, ([t, i], s) => (E(), o("div", { key: t }, [
|
|
7377
7379
|
n.$slots[t] ? A(n.$slots, t, { key: 0 }) : t === "other" ? a("", !0) : (E(), o("span", Gs, P(t), 1)),
|
|
@@ -7808,6 +7810,7 @@ var Xs = "__pv_filter_panel_scoped_value__", Zs = (e) => typeof e == "object" &&
|
|
|
7808
7810
|
secondaryText: {},
|
|
7809
7811
|
subduedText: {},
|
|
7810
7812
|
icon: {},
|
|
7813
|
+
hoverTitle: {},
|
|
7811
7814
|
companyName: {},
|
|
7812
7815
|
avatar: {},
|
|
7813
7816
|
groupingLabel: {},
|
|
@@ -7955,19 +7958,29 @@ var Xs = "__pv_filter_panel_scoped_value__", Zs = (e) => typeof e == "object" &&
|
|
|
7955
7958
|
"update:options"
|
|
7956
7959
|
],
|
|
7957
7960
|
setup(e) {
|
|
7958
|
-
let n = e, c = { renderer: Rc }, l = z("search-input"), d = L(e, "searchText"), f = L(e, "query"), p = L(e, "options"), { addQueryOption: m, containsQueryOption: h } = jc(),
|
|
7959
|
-
f.value = null, d.value = "",
|
|
7961
|
+
let n = e, c = { renderer: Rc }, l = z("search-input"), d = L(e, "searchText"), f = L(e, "query"), p = L(e, "options"), { addQueryOption: m, containsQueryOption: h, removeQueryOption: g } = jc(), v = O(!1), b = O(!1), S = O(!1), C = r(() => f.value === null ? n.placeholder : ""), w = O(null), T = r(() => w.value !== null && w.value !== "" && !b.value), D = () => {
|
|
7962
|
+
f.value = null, d.value = "", w.value = null, S.value = !1;
|
|
7960
7963
|
};
|
|
7961
7964
|
n.enableCustomOptionsInput && ae("Enter", () => {
|
|
7962
|
-
d.value.trim() &&
|
|
7965
|
+
d.value.trim() && A();
|
|
7966
|
+
}, { target: l }), ae("Backspace", () => {
|
|
7967
|
+
if (d.value !== "") return;
|
|
7968
|
+
let e = f.value?.queryTerms;
|
|
7969
|
+
if (!e || e.length === 0) return;
|
|
7970
|
+
let t = e[e.length - 1];
|
|
7971
|
+
g(f.value, {
|
|
7972
|
+
id: t.queryText || "",
|
|
7973
|
+
text: t.queryText || "",
|
|
7974
|
+
queryTerm: t
|
|
7975
|
+
}), f.value?.queryTerms.length === 0 && (f.value = null);
|
|
7963
7976
|
}, { target: l });
|
|
7964
|
-
let
|
|
7977
|
+
let A = () => {
|
|
7965
7978
|
d.value.trim() && (f.value = m(f.value, {
|
|
7966
7979
|
id: d.value.trim(),
|
|
7967
7980
|
text: d.value,
|
|
7968
7981
|
queryTerm: { queryText: d.value }
|
|
7969
|
-
}),
|
|
7970
|
-
},
|
|
7982
|
+
}), R());
|
|
7983
|
+
}, j = r(() => {
|
|
7971
7984
|
if (!p.value || p.value.length === 0) return [];
|
|
7972
7985
|
let e = p.value;
|
|
7973
7986
|
return n.processor === "field-only" && (e = p.value.filter((e) => e.queryTerm?.queryField)), f.value && (e = e.filter((e) => !h(f.value, e))), e.map((e) => ({
|
|
@@ -7980,15 +7993,15 @@ var Xs = "__pv_filter_panel_scoped_value__", Zs = (e) => typeof e == "object" &&
|
|
|
7980
7993
|
}));
|
|
7981
7994
|
});
|
|
7982
7995
|
V([
|
|
7983
|
-
|
|
7996
|
+
j,
|
|
7984
7997
|
d,
|
|
7985
7998
|
() => n.optionsLoading
|
|
7986
7999
|
], ([e, t, n]) => {
|
|
7987
|
-
t && t.length > 0 && (e.length > 0 || n) ?
|
|
8000
|
+
t && t.length > 0 && (e.length > 0 || n) ? v.value = !0 : (!t || t.length === 0) && (v.value = !1);
|
|
7988
8001
|
}, { immediate: !0 });
|
|
7989
|
-
let
|
|
7990
|
-
n.enableCustomOptionsInput &&
|
|
7991
|
-
},
|
|
8002
|
+
let M = () => {
|
|
8003
|
+
n.enableCustomOptionsInput && A(), v.value = !1, b.value = !1, S.value = !1;
|
|
8004
|
+
}, N = (e) => {
|
|
7992
8005
|
try {
|
|
7993
8006
|
let t = {
|
|
7994
8007
|
id: e.id,
|
|
@@ -7996,28 +8009,28 @@ var Xs = "__pv_filter_panel_scoped_value__", Zs = (e) => typeof e == "object" &&
|
|
|
7996
8009
|
queryTerm: e.context,
|
|
7997
8010
|
icon: e.icon
|
|
7998
8011
|
};
|
|
7999
|
-
f.value = m(f.value, t),
|
|
8012
|
+
f.value = m(f.value, t), R();
|
|
8000
8013
|
} catch (e) {
|
|
8001
8014
|
console.error("Error adding query option:", e);
|
|
8002
8015
|
} finally {
|
|
8003
|
-
|
|
8016
|
+
v.value = !1, b.value = !1;
|
|
8004
8017
|
}
|
|
8005
8018
|
};
|
|
8006
|
-
function
|
|
8019
|
+
function F(e) {
|
|
8007
8020
|
let t = e.target;
|
|
8008
8021
|
t.isContentEditable || t.closest("[contenteditable=\"true\"]") || t.tagName === "BUTTON" || t.tagName === "SVG" || t.closest("button") || l.value?.focus();
|
|
8009
8022
|
}
|
|
8010
|
-
function
|
|
8011
|
-
e.type === "focus" ? (
|
|
8023
|
+
function ee(e) {
|
|
8024
|
+
e.type === "focus" ? (b.value = !0, v.value = !0) : e.type;
|
|
8012
8025
|
}
|
|
8013
|
-
let
|
|
8026
|
+
let R = () => {
|
|
8014
8027
|
d.value = "";
|
|
8015
8028
|
};
|
|
8016
8029
|
return (n, r) => re((E(), o("div", {
|
|
8017
8030
|
ref: "query-builder-input",
|
|
8018
8031
|
class: "pv-relative pv-query-builder-input-wrapper",
|
|
8019
|
-
onFocus:
|
|
8020
|
-
onClick:
|
|
8032
|
+
onFocus: ee,
|
|
8033
|
+
onClick: F
|
|
8021
8034
|
}, [
|
|
8022
8035
|
e.hideSearchIcon ? a("", !0) : (E(), i(En, {
|
|
8023
8036
|
key: 0,
|
|
@@ -8028,12 +8041,12 @@ var Xs = "__pv_filter_panel_scoped_value__", Zs = (e) => typeof e == "object" &&
|
|
|
8028
8041
|
style: x([{
|
|
8029
8042
|
"--inset-size": "4px",
|
|
8030
8043
|
"--flex-gap": "4px"
|
|
8031
|
-
}, e.enableWrapQueryTerms ||
|
|
8044
|
+
}, e.enableWrapQueryTerms || S.value ? "flex-wrap: wrap;" : "flex-wrap: nowrap; justify-content: flex-end;"])
|
|
8032
8045
|
}, [u(zc, {
|
|
8033
8046
|
modelValue: f.value,
|
|
8034
8047
|
"onUpdate:modelValue": r[0] ||= (e) => f.value = e,
|
|
8035
|
-
"wrap-content":
|
|
8036
|
-
"onUpdate:wrapContent": r[1] ||= (e) =>
|
|
8048
|
+
"wrap-content": S.value,
|
|
8049
|
+
"onUpdate:wrapContent": r[1] ||= (e) => S.value = e,
|
|
8037
8050
|
"query-term-display-limit": e.queryTermDisplayLimit
|
|
8038
8051
|
}, null, 8, [
|
|
8039
8052
|
"modelValue",
|
|
@@ -8045,40 +8058,41 @@ var Xs = "__pv_filter_panel_scoped_value__", Zs = (e) => typeof e == "object" &&
|
|
|
8045
8058
|
"data-testid": "pv-search-input",
|
|
8046
8059
|
type: "text",
|
|
8047
8060
|
disabled: e.disabled,
|
|
8048
|
-
placeholder:
|
|
8049
|
-
"data-invalid":
|
|
8050
|
-
|
|
8051
|
-
|
|
8052
|
-
|
|
8061
|
+
placeholder: C.value,
|
|
8062
|
+
"data-invalid": T.value ? "true" : void 0,
|
|
8063
|
+
style: x(d.value ? "min-width: 8rem;" : void 0),
|
|
8064
|
+
onFocus: ee,
|
|
8065
|
+
onBlur: ee
|
|
8066
|
+
}, null, 44, Bc), [[te, d.value]])], 4),
|
|
8053
8067
|
f.value && !e.hideClearButton ? (E(), i(An, {
|
|
8054
8068
|
key: 1,
|
|
8055
8069
|
variant: "ghost",
|
|
8056
8070
|
leftIcon: "close",
|
|
8057
8071
|
size: "md",
|
|
8058
|
-
onClick:
|
|
8072
|
+
onClick: D
|
|
8059
8073
|
})) : a("", !0),
|
|
8060
|
-
|
|
8061
|
-
|
|
8074
|
+
T.value ? (E(), o("p", Vc, P(w.value), 1)) : a("", !0),
|
|
8075
|
+
j.value.length > 0 || e.optionsLoading ? (E(), i(hs, {
|
|
8062
8076
|
key: 3,
|
|
8063
|
-
class: y({ "pv-hide": !
|
|
8077
|
+
class: y({ "pv-hide": !v.value }),
|
|
8064
8078
|
"css-custom-properties": {
|
|
8065
8079
|
width: "100%",
|
|
8066
8080
|
maxWidth: "100%"
|
|
8067
8081
|
},
|
|
8068
8082
|
isList: !0
|
|
8069
8083
|
}, {
|
|
8070
|
-
default: H(() => [e.optionsLoading ? (E(), o("div", Hc, [u(St, { variant: "dark" })])) : (E(!0), o(t, { key: 0 }, k(
|
|
8084
|
+
default: H(() => [e.optionsLoading ? (E(), o("div", Hc, [u(St, { variant: "dark" })])) : (E(!0), o(t, { key: 0 }, k(j.value, (e, t) => (E(), i(Ja, _({
|
|
8071
8085
|
key: `${t}-${e.searchText}`,
|
|
8072
8086
|
ref_for: !0
|
|
8073
8087
|
}, e, {
|
|
8074
|
-
onHandleSelected: (t) =>
|
|
8088
|
+
onHandleSelected: (t) => N(e),
|
|
8075
8089
|
config: c
|
|
8076
8090
|
}), null, 16, ["onHandleSelected"]))), 128))]),
|
|
8077
8091
|
_: 1
|
|
8078
8092
|
}, 8, ["class"])) : a("", !0)
|
|
8079
|
-
], 32)), [[I(de),
|
|
8093
|
+
], 32)), [[I(de), M]]);
|
|
8080
8094
|
}
|
|
8081
|
-
}), [["__scopeId", "data-v-
|
|
8095
|
+
}), [["__scopeId", "data-v-e2a82095"]]), Wc = Symbol("FilterStoreKey"), Gc = Symbol("FocusStoreKey"), Kc = Symbol("SortStateKey"), qc = Symbol("GridApiKey"), Jc = Symbol("ColumnDisplayOrderKey"), Yc = Symbol("currentlyActiveFilterKey"), Xc = Symbol("AvailableFilterColumnsKey"), Zc = Symbol("AvailableRowGroupColumnsKey"), Qc = Symbol("RowGroupColumnFieldsKey"), $c = Symbol("GroupColumnCellValueColumnKey"), el = Symbol("ExpandedRowsKey"), tl = Symbol("FirstDataRenderedKey"), nl = Symbol("RowsLoadingKey"), rl = Symbol("CurrentPageKey"), il = Symbol("TotalPageKey"), al = Symbol("ActiveChartFilterOptionKey"), ol = Symbol("RowGroupColumnsKey"), sl = Symbol("ChartTypeKey"), cl = Symbol("SortTypesKey"), ll = Symbol("ActiveChartKey"), ul = Symbol("ActiveSortKey"), dl = Symbol("ActiveSeriesKey"), fl = Symbol("AvailableSeriesKey"), pl = Symbol("ActiveSecondarySeriesKey"), ml = Symbol("AvailableSecondarySeriesKey"), hl = Symbol("EnableAdvancedFilterKey"), gl = Symbol("ActiveCrosslineOverlayGroupsKey"), _l = Symbol("AvailableCrosslineOverlayGroupsKey"), vl = {
|
|
8082
8096
|
class: "pv-flex",
|
|
8083
8097
|
style: { "--flex-wrap": "nowrap" }
|
|
8084
8098
|
}, yl = ["id"], bl = {
|
|
@@ -9157,13 +9171,14 @@ var ql = { style: { "line-height": "20px" } }, Jl = { class: "pv-text-subdued pv
|
|
|
9157
9171
|
let u, d, p;
|
|
9158
9172
|
if (r) {
|
|
9159
9173
|
let e = (e) => {
|
|
9160
|
-
let t = e.matchedValue ?? e.menuOption?.searchText, n = We(e.value, e) || "";
|
|
9174
|
+
let t = e.matchedValue ?? e.menuOption?.searchText, n = We(e.value, e) || "", r = Je(e, e.subText, n);
|
|
9161
9175
|
return {
|
|
9162
9176
|
...e.menuOption,
|
|
9163
9177
|
id: e.value,
|
|
9164
9178
|
text: n,
|
|
9165
9179
|
searchText: t,
|
|
9166
|
-
subText:
|
|
9180
|
+
subText: r,
|
|
9181
|
+
hoverTitle: e.menuOption?.hoverTitle ?? (r ? `${n}: ${r}` : void 0),
|
|
9167
9182
|
subduedText: e.subduedText,
|
|
9168
9183
|
disabled: e.menuOption?.disabled ?? Ke(e.value),
|
|
9169
9184
|
context: e,
|
|
@@ -9195,6 +9210,7 @@ var ql = { style: { "line-height": "20px" } }, Jl = { class: "pv-text-subdued pv
|
|
|
9195
9210
|
searchText: s,
|
|
9196
9211
|
subduedText: n?.subduedText,
|
|
9197
9212
|
subText: a || void 0,
|
|
9213
|
+
hoverTitle: n?.menuOption?.hoverTitle ?? (a ? `${o}: ${a}` : void 0),
|
|
9198
9214
|
groupingLabel: i || "",
|
|
9199
9215
|
disabled: n?.menuOption?.disabled ?? (r ? !1 : Ke(e)),
|
|
9200
9216
|
context: n || { value: e || "" },
|
|
@@ -10502,7 +10518,7 @@ var ql = { style: { "line-height": "20px" } }, Jl = { class: "pv-text-subdued pv
|
|
|
10502
10518
|
});
|
|
10503
10519
|
return (e, t) => (E(), o("div", null, [s("p", null, [n.value ? (E(), o("span", kd, P(n.value), 1)) : a("", !0), l(" " + P(i.value), 1)])]));
|
|
10504
10520
|
}
|
|
10505
|
-
}), [["__scopeId", "data-v-686928ce"]]), jd = /* @__PURE__ */ d({
|
|
10521
|
+
}), [["__scopeId", "data-v-686928ce"]]), jd = 4, Md = /* @__PURE__ */ d({
|
|
10506
10522
|
__name: "TableSearch",
|
|
10507
10523
|
props: {
|
|
10508
10524
|
placeholder: {},
|
|
@@ -10560,7 +10576,8 @@ var ql = { style: { "line-height": "20px" } }, Jl = { class: "pv-text-subdued pv
|
|
|
10560
10576
|
"onUpdate:query": s[1] ||= (e) => n.value = e,
|
|
10561
10577
|
options: a.value,
|
|
10562
10578
|
"onUpdate:options": s[2] ||= (e) => a.value = e,
|
|
10563
|
-
"options-loading": o.value
|
|
10579
|
+
"options-loading": o.value,
|
|
10580
|
+
"query-term-display-limit": jd
|
|
10564
10581
|
}, null, 8, [
|
|
10565
10582
|
"placeholder",
|
|
10566
10583
|
"search-text",
|
|
@@ -10574,28 +10591,28 @@ var ql = { style: { "line-height": "20px" } }, Jl = { class: "pv-text-subdued pv
|
|
|
10574
10591
|
"onUpdate:modelValue": s[3] ||= (e) => r.value = e
|
|
10575
10592
|
}, null, 8, ["placeholder", "modelValue"]));
|
|
10576
10593
|
}
|
|
10577
|
-
}),
|
|
10594
|
+
}), Nd = {
|
|
10578
10595
|
style: {
|
|
10579
10596
|
"background-color": "white",
|
|
10580
10597
|
"max-width": "300px"
|
|
10581
10598
|
},
|
|
10582
10599
|
class: "pv-inset-square-8 pv-bordered-md pv-text-md"
|
|
10583
|
-
},
|
|
10600
|
+
}, Pd = { style: { color: "black" } }, Fd = /* @__PURE__ */ d({
|
|
10584
10601
|
__name: "TableTooltip",
|
|
10585
10602
|
props: { params: {} },
|
|
10586
10603
|
setup(e) {
|
|
10587
|
-
return (t, n) => (E(), o("div",
|
|
10604
|
+
return (t, n) => (E(), o("div", Nd, [s("p", Pd, P(e.params.value), 1)]));
|
|
10588
10605
|
}
|
|
10589
|
-
}),
|
|
10606
|
+
}), Id = { class: "pv-stack-16" }, Ld = { class: "pv-flex pv-space-between" }, Rd = {
|
|
10590
10607
|
class: "pv-flex",
|
|
10591
10608
|
style: { "--flex-gap": "8px" }
|
|
10592
|
-
},
|
|
10609
|
+
}, zd = { class: "pv-flex" }, Bd = {
|
|
10593
10610
|
key: 0,
|
|
10594
10611
|
class: "pv-table-overlay"
|
|
10595
|
-
},
|
|
10612
|
+
}, Vd = {
|
|
10596
10613
|
class: "pv-text-body-xs pv-text-center",
|
|
10597
10614
|
style: { "padding-top": "16px" }
|
|
10598
|
-
},
|
|
10615
|
+
}, Hd = /* @__PURE__ */ d({
|
|
10599
10616
|
__name: "PvDataTable",
|
|
10600
10617
|
props: {
|
|
10601
10618
|
allFieldsAreFocusable: {
|
|
@@ -10945,7 +10962,7 @@ var ql = { style: { "line-height": "20px" } }, Jl = { class: "pv-text-subdued pv
|
|
|
10945
10962
|
flex: 1,
|
|
10946
10963
|
headerComponent: f.enableInlineFilters ? void 0 : gd,
|
|
10947
10964
|
cellDataType: !1,
|
|
10948
|
-
tooltipComponent:
|
|
10965
|
+
tooltipComponent: Fd,
|
|
10949
10966
|
cellClass: (e) => St(e.column) ? "" : ko(e.column?.getColDef()) ? "pv-text-right" : "",
|
|
10950
10967
|
cellRendererSelector: (e) => {
|
|
10951
10968
|
if (z(e)) return e.column?.getColDef().cellRenderer ? void 0 : {
|
|
@@ -11277,11 +11294,11 @@ var ql = { style: { "line-height": "20px" } }, Jl = { class: "pv-text-subdued pv
|
|
|
11277
11294
|
}, Zt = (e) => L ? f.isServerSideGroupOpenByDefault ? f.isServerSideGroupOpenByDefault(e) : e.rowNode.level === K.value.length - 2 : !1, Qt = r(() => {
|
|
11278
11295
|
if (!L) return f.groupDefaultExpanded;
|
|
11279
11296
|
}), $t = O(null), en = O(null), tn = r(() => [f.tableSearchInline ? {
|
|
11280
|
-
width: "
|
|
11297
|
+
width: "360px",
|
|
11281
11298
|
maxWidth: "100%",
|
|
11282
11299
|
minWidth: 0
|
|
11283
11300
|
} : {
|
|
11284
|
-
width: "
|
|
11301
|
+
width: "40%",
|
|
11285
11302
|
maxWidth: "50%"
|
|
11286
11303
|
}, f.customCssProperties?.tableSearchWrapper]), nn = r(() => ({
|
|
11287
11304
|
placeholder: f.tableSearchPlaceholder,
|
|
@@ -11312,10 +11329,10 @@ var ql = { style: { "line-height": "20px" } }, Jl = { class: "pv-text-subdued pv
|
|
|
11312
11329
|
content: H(() => [...r[11] ||= [l(" Dev Mode ", -1)]]),
|
|
11313
11330
|
_: 1
|
|
11314
11331
|
})) : a("", !0),
|
|
11315
|
-
re(s("div",
|
|
11332
|
+
re(s("div", Id, [s("div", Ld, [s("div", Rd, [e.enableTableSearch && e.tableSearchInline ? (E(), o("div", {
|
|
11316
11333
|
key: 0,
|
|
11317
11334
|
style: x(tn.value)
|
|
11318
|
-
}, [u(
|
|
11335
|
+
}, [u(Md, b(p(nn.value)), null, 16)], 4)) : a("", !0), (E(), i(n, {
|
|
11319
11336
|
to: e.filterTeleportLocation,
|
|
11320
11337
|
disabled: !e.filterTeleportLocation
|
|
11321
11338
|
}, [dt.value.length > 0 && !f.enableInlineFilters ? (E(), i(pd, {
|
|
@@ -11338,7 +11355,7 @@ var ql = { style: { "line-height": "20px" } }, Jl = { class: "pv-text-subdued pv
|
|
|
11338
11355
|
"max-horizontal-filters",
|
|
11339
11356
|
"read-only",
|
|
11340
11357
|
"disable-unselected-filters"
|
|
11341
|
-
])) : a("", !0)], 8, ["to", "disabled"]))]), s("div",
|
|
11358
|
+
])) : a("", !0)], 8, ["to", "disabled"]))]), s("div", zd, [e.enableGroupBySelector && e.rowGroupLimit !== 0 ? (E(), i(Tl, {
|
|
11342
11359
|
key: 0,
|
|
11343
11360
|
rowGroupLimit: e.rowGroupLimit,
|
|
11344
11361
|
enableFocusView: e.enableFocusView
|
|
@@ -11357,7 +11374,7 @@ var ql = { style: { "line-height": "20px" } }, Jl = { class: "pv-text-subdued pv
|
|
|
11357
11374
|
}, [e.enableTableSearch && !e.tableSearchInline ? (E(), o("div", {
|
|
11358
11375
|
key: 0,
|
|
11359
11376
|
style: x(tn.value)
|
|
11360
|
-
}, [u(
|
|
11377
|
+
}, [u(Md, b(p(nn.value)), null, 16)], 4)) : a("", !0), A(t.$slots, "top-slot")], 2)) : a("", !0),
|
|
11361
11378
|
s("div", {
|
|
11362
11379
|
class: y(["pv-relative pv-stack-8", e.hideTable ? "pv-hide" : ""]),
|
|
11363
11380
|
style: {
|
|
@@ -11445,14 +11462,14 @@ var ql = { style: { "line-height": "20px" } }, Jl = { class: "pv-text-subdued pv
|
|
|
11445
11462
|
undoRedoCellEditingLimit: e.undoRedoCellEditingLimit,
|
|
11446
11463
|
enableAdvancedFilter: e.enableAdvancedFilter,
|
|
11447
11464
|
advancedFilterParent: en.value
|
|
11448
|
-
}), 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 && !de.value ? (E(), o("div",
|
|
11465
|
+
}), 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 && !de.value ? (E(), o("div", Bd, [s("p", Vd, P(xe.value), 1)])) : a("", !0)], 2),
|
|
11449
11466
|
e.pagination ? (E(), i(Ed, { key: 2 })) : a("", !0)
|
|
11450
11467
|
], 4));
|
|
11451
11468
|
}
|
|
11452
|
-
}),
|
|
11469
|
+
}), Ud = {
|
|
11453
11470
|
class: "pv-flex",
|
|
11454
11471
|
style: { "white-space": "nowrap" }
|
|
11455
|
-
},
|
|
11472
|
+
}, Wd = { class: "pv-text-body-md" }, Gd = /* @__PURE__ */ d({
|
|
11456
11473
|
inheritAttrs: !1,
|
|
11457
11474
|
__name: "PvTableOverlayMenuItemRenderer",
|
|
11458
11475
|
props: {
|
|
@@ -11461,16 +11478,16 @@ var ql = { style: { "line-height": "20px" } }, Jl = { class: "pv-text-subdued pv
|
|
|
11461
11478
|
context: {}
|
|
11462
11479
|
},
|
|
11463
11480
|
setup(e) {
|
|
11464
|
-
return (t, n) => (E(), o("div",
|
|
11481
|
+
return (t, n) => (E(), o("div", Ud, [s("span", Wd, P(e.text), 1), e.context?.rightIcon ? (E(), i(En, {
|
|
11465
11482
|
key: 0,
|
|
11466
11483
|
name: e.context.rightIcon,
|
|
11467
11484
|
class: "pv-text-subdued"
|
|
11468
11485
|
}, null, 8, ["name"])) : a("", !0)]));
|
|
11469
11486
|
}
|
|
11470
|
-
}),
|
|
11487
|
+
}), Kd = { class: "pv-relative" }, qd = {
|
|
11471
11488
|
role: "list",
|
|
11472
11489
|
class: "pv-relative"
|
|
11473
|
-
},
|
|
11490
|
+
}, Jd = ["data-active"], Yd = { style: { cursor: "pointer" } }, Xd = { role: "list" }, Zd = /* @__PURE__ */ d({
|
|
11474
11491
|
__name: "PvTableOptionsPanel",
|
|
11475
11492
|
props: {
|
|
11476
11493
|
groupedModeEnabled: { type: Boolean },
|
|
@@ -11505,7 +11522,7 @@ var ql = { style: { "line-height": "20px" } }, Jl = { class: "pv-text-subdued pv
|
|
|
11505
11522
|
}, C = () => {
|
|
11506
11523
|
v.value && (h.value = !0, f.value = document.getElementById("table-config-overlay"), d());
|
|
11507
11524
|
};
|
|
11508
|
-
return (n, r) => (E(), o(t, null, [re((E(), o("div",
|
|
11525
|
+
return (n, r) => (E(), o(t, null, [re((E(), o("div", Kd, [u(da, {
|
|
11509
11526
|
open: m.value,
|
|
11510
11527
|
label: "Table Configuration",
|
|
11511
11528
|
icon: "settings",
|
|
@@ -11526,7 +11543,7 @@ var ql = { style: { "line-height": "20px" } }, Jl = { class: "pv-text-subdued pv
|
|
|
11526
11543
|
"padding-top": "4px",
|
|
11527
11544
|
"padding-bottom": "12px"
|
|
11528
11545
|
}
|
|
11529
|
-
}, " Table Configuration ")], -1), s("ul",
|
|
11546
|
+
}, " Table Configuration ")], -1), s("ul", qd, [v.value ? (E(), o("li", {
|
|
11530
11547
|
key: 0,
|
|
11531
11548
|
id: "table-config-overlay",
|
|
11532
11549
|
"data-active": h.value ? !0 : null,
|
|
@@ -11539,7 +11556,7 @@ var ql = { style: { "line-height": "20px" } }, Jl = { class: "pv-text-subdued pv
|
|
|
11539
11556
|
text: "Table Overlay",
|
|
11540
11557
|
icon: "layers-2",
|
|
11541
11558
|
"class-list": ["pv-menu-nested", h.value ? "pv-menu-nested-active" : ""]
|
|
11542
|
-
}, null, 8, ["class-list"])], 40,
|
|
11559
|
+
}, null, 8, ["class-list"])], 40, Jd)) : a("", !0), s("li", Yd, [u(Ja, {
|
|
11543
11560
|
config: { variant: "icon" },
|
|
11544
11561
|
id: "table-config-group-toggle",
|
|
11545
11562
|
class: "pv-text-subdued",
|
|
@@ -11559,11 +11576,11 @@ var ql = { style: { "line-height": "20px" } }, Jl = { class: "pv-text-subdued pv
|
|
|
11559
11576
|
},
|
|
11560
11577
|
isList: !0
|
|
11561
11578
|
}, {
|
|
11562
|
-
default: H(() => [s("ul",
|
|
11579
|
+
default: H(() => [s("ul", Xd, [(E(!0), o(t, null, k(_.value, (e) => (E(), o("li", { key: e.id }, [u(Ja, {
|
|
11563
11580
|
id: e.id,
|
|
11564
11581
|
config: {
|
|
11565
11582
|
variant: "checkbox",
|
|
11566
|
-
renderer:
|
|
11583
|
+
renderer: Gd
|
|
11567
11584
|
},
|
|
11568
11585
|
text: e.text,
|
|
11569
11586
|
context: e.context,
|
|
@@ -11580,13 +11597,13 @@ var ql = { style: { "line-height": "20px" } }, Jl = { class: "pv-text-subdued pv
|
|
|
11580
11597
|
_: 1
|
|
11581
11598
|
}, 8, ["class", "css-custom-properties"])], 64));
|
|
11582
11599
|
}
|
|
11583
|
-
}),
|
|
11600
|
+
}), Qd = ["id"], $d = {
|
|
11584
11601
|
key: 0,
|
|
11585
11602
|
class: "sort-divider-container"
|
|
11586
|
-
},
|
|
11603
|
+
}, ef = ["data-label"], tf = ["onDrop"], nf = { class: "pv-full-width pv-bordered pv-radius-md pv-flex pv-center pv-placeholder-dropzone" }, rf = { class: "pv-text-body-sm pv-text-tertiary" }, af = { class: "pv-flex pv-full-width pv-sort-option" }, of = { class: "pv-text-body-sm" }, sf = {
|
|
11587
11604
|
key: 1,
|
|
11588
11605
|
class: "pv-button-placeholder"
|
|
11589
|
-
},
|
|
11606
|
+
}, cf = "--divider--", lf = "placeholder-", uf = /* @__PURE__ */ Xt(/* @__PURE__ */ d({
|
|
11590
11607
|
__name: "PvSortableList",
|
|
11591
11608
|
props: /* @__PURE__ */ g({
|
|
11592
11609
|
options: { default: () => [] },
|
|
@@ -11606,11 +11623,11 @@ var ql = { style: { "line-height": "20px" } }, Jl = { class: "pv-text-subdued pv
|
|
|
11606
11623
|
emits: ["update:modelValue"],
|
|
11607
11624
|
setup(e) {
|
|
11608
11625
|
let n = e, c = L(e, "modelValue"), l = {
|
|
11609
|
-
id:
|
|
11626
|
+
id: cf,
|
|
11610
11627
|
text: "",
|
|
11611
11628
|
disabled: !0
|
|
11612
11629
|
}, d = r(() => n.activeOptionLimit ? Math.max(0, n.activeOptionLimit - c.value.length) : 0), f = r(() => !n.showPlaceholders || d.value === 0 ? [] : Array.from({ length: d.value }, (e, t) => ({
|
|
11613
|
-
id: `${
|
|
11630
|
+
id: `${lf}${t}`,
|
|
11614
11631
|
text: "",
|
|
11615
11632
|
disabled: !0,
|
|
11616
11633
|
isPlaceholder: !0
|
|
@@ -11624,20 +11641,20 @@ var ql = { style: { "line-height": "20px" } }, Jl = { class: "pv-text-subdued pv
|
|
|
11624
11641
|
];
|
|
11625
11642
|
}), m = z("sortableListRef"), h = z("containerRef"), g = null, _ = null, v = () => {
|
|
11626
11643
|
if (!m.value) return;
|
|
11627
|
-
let e = Array.from(m.value.children).map((e) => e.id), t = e.findIndex((e) => e ===
|
|
11644
|
+
let e = Array.from(m.value.children).map((e) => e.id), t = e.findIndex((e) => e === cf);
|
|
11628
11645
|
t !== -1 && (e = e.slice(0, t)), e = e.filter((e) => !e.startsWith("placeholder-")), c.value = e.map((e) => n.options.find((t) => t.id === e) || null).filter(Boolean).slice(0, n.activeOptionLimit || Infinity);
|
|
11629
11646
|
};
|
|
11630
11647
|
w(() => {
|
|
11631
11648
|
m.value && (g = new nt(m.value, {
|
|
11632
11649
|
animation: 200,
|
|
11633
|
-
filter: `#${
|
|
11650
|
+
filter: `#${cf}, [id^="placeholder-"]`,
|
|
11634
11651
|
dragoverBubble: !0,
|
|
11635
11652
|
onStart: (e) => {
|
|
11636
11653
|
_ = e.item;
|
|
11637
11654
|
},
|
|
11638
11655
|
onMove: (e) => {
|
|
11639
11656
|
let t = e.related;
|
|
11640
|
-
if (t?.id ===
|
|
11657
|
+
if (t?.id === cf || t?.id?.startsWith("placeholder-")) return !1;
|
|
11641
11658
|
let r = n.options.find((t) => t.id === e.dragged.id);
|
|
11642
11659
|
return r && D(r);
|
|
11643
11660
|
},
|
|
@@ -11685,20 +11702,20 @@ var ql = { style: { "line-height": "20px" } }, Jl = { class: "pv-text-subdued pv
|
|
|
11685
11702
|
key: e.id,
|
|
11686
11703
|
id: e.id,
|
|
11687
11704
|
class: "pv-stack-4"
|
|
11688
|
-
}, [e.id ===
|
|
11705
|
+
}, [e.id === cf ? (E(), o("div", $d, [s("div", {
|
|
11689
11706
|
class: "sort-divider pv-text-default pv-text-body-xs pv-text-tertiary",
|
|
11690
11707
|
"data-label": O.value ? `Maximum of ${n.activeOptionLimit}` : ""
|
|
11691
|
-
}, null, 8,
|
|
11708
|
+
}, null, 8, ef)])) : e.id.includes(lf) ? (E(), o("div", {
|
|
11692
11709
|
key: 1,
|
|
11693
11710
|
class: "placeholder-zone",
|
|
11694
11711
|
onDragover: r[0] ||= (e) => b(e),
|
|
11695
11712
|
onDragleave: r[1] ||= (e) => S(e),
|
|
11696
11713
|
onDrop: (t) => C(t, parseInt(e.id.split("-")[1]) + 1)
|
|
11697
|
-
}, [s("div",
|
|
11714
|
+
}, [s("div", nf, [s("span", rf, P(n.placeholderText), 1)])], 40, tf)) : (E(), o("div", {
|
|
11698
11715
|
key: 2,
|
|
11699
11716
|
class: y(["pv-full-width pv-bordered pv-radius-md pv-flex pv-space-between", !D(e) && O.value ? "pv-menu-item-disabled" : ""]),
|
|
11700
11717
|
style: x(M(e))
|
|
11701
|
-
}, [s("div",
|
|
11718
|
+
}, [s("div", af, [
|
|
11702
11719
|
u(En, {
|
|
11703
11720
|
class: y(D(e) ? "pv-text-brand" : "pv-text-tertiary"),
|
|
11704
11721
|
name: "reorder"
|
|
@@ -11708,8 +11725,8 @@ var ql = { style: { "line-height": "20px" } }, Jl = { class: "pv-text-subdued pv
|
|
|
11708
11725
|
class: y(D(e) ? "pv-text-brand" : "pv-text-tertiary"),
|
|
11709
11726
|
name: e.icon
|
|
11710
11727
|
}, null, 8, ["class", "name"])) : a("", !0),
|
|
11711
|
-
s("span",
|
|
11712
|
-
]), j(e) ? (E(), o("div",
|
|
11728
|
+
s("span", of, P(e.text), 1)
|
|
11729
|
+
]), j(e) ? (E(), o("div", sf)) : (E(), i(An, {
|
|
11713
11730
|
key: 0,
|
|
11714
11731
|
"left-icon": D(e) ? "remove-circle" : "add-circle",
|
|
11715
11732
|
ariaLabel: D(e) ? `Remove ${e.text}` : `Add ${e.text}`,
|
|
@@ -11721,16 +11738,16 @@ var ql = { style: { "line-height": "20px" } }, Jl = { class: "pv-text-subdued pv
|
|
|
11721
11738
|
"ariaLabel",
|
|
11722
11739
|
"style",
|
|
11723
11740
|
"onClick"
|
|
11724
|
-
]))], 6))], 8,
|
|
11741
|
+
]))], 6))], 8, Qd))), 128))], 512)], 512));
|
|
11725
11742
|
}
|
|
11726
|
-
}), [["__scopeId", "data-v-34615cd0"]]),
|
|
11743
|
+
}), [["__scopeId", "data-v-34615cd0"]]), df = (e) => e.field === "state" || $(e).dataType === bo.Location, ff = (e) => e, pf = (e, t, n) => {
|
|
11727
11744
|
if (!n || t.length === 0) return e;
|
|
11728
11745
|
let r = new Set(n(t).map((e) => e.field));
|
|
11729
11746
|
return e.filter((e) => r.has(e));
|
|
11730
|
-
},
|
|
11747
|
+
}, mf = (e) => e.filter((e) => !ko(e)), hf = (e) => e.filter((e) => ko(e)), gf = {
|
|
11731
11748
|
xAxis: {
|
|
11732
11749
|
selectMode: "sortable",
|
|
11733
|
-
filterColumns:
|
|
11750
|
+
filterColumns: mf
|
|
11734
11751
|
},
|
|
11735
11752
|
yAxis: {},
|
|
11736
11753
|
secondaryYAxis: {},
|
|
@@ -11739,16 +11756,16 @@ var ql = { style: { "line-height": "20px" } }, Jl = { class: "pv-text-subdued pv
|
|
|
11739
11756
|
rowGroupLimit: 2,
|
|
11740
11757
|
supportsFocusView: !0,
|
|
11741
11758
|
storeBeforeChange: !0
|
|
11742
|
-
},
|
|
11759
|
+
}, _f = [
|
|
11743
11760
|
{
|
|
11744
|
-
...
|
|
11761
|
+
...gf,
|
|
11745
11762
|
id: "column",
|
|
11746
11763
|
text: "Column",
|
|
11747
11764
|
icon: "chart-column",
|
|
11748
11765
|
agChartType: "bar"
|
|
11749
11766
|
},
|
|
11750
11767
|
{
|
|
11751
|
-
...
|
|
11768
|
+
...gf,
|
|
11752
11769
|
id: "bar",
|
|
11753
11770
|
text: "Bar",
|
|
11754
11771
|
icon: "chart-bar",
|
|
@@ -11756,28 +11773,28 @@ var ql = { style: { "line-height": "20px" } }, Jl = { class: "pv-text-subdued pv
|
|
|
11756
11773
|
isHorizontal: !0
|
|
11757
11774
|
},
|
|
11758
11775
|
{
|
|
11759
|
-
...
|
|
11776
|
+
...gf,
|
|
11760
11777
|
id: "line",
|
|
11761
11778
|
text: "Line",
|
|
11762
11779
|
icon: "chart-line",
|
|
11763
11780
|
agChartType: "line"
|
|
11764
11781
|
},
|
|
11765
11782
|
{
|
|
11766
|
-
...
|
|
11783
|
+
...gf,
|
|
11767
11784
|
id: "area",
|
|
11768
11785
|
text: "Area",
|
|
11769
11786
|
icon: "chart-area",
|
|
11770
11787
|
agChartType: "area"
|
|
11771
11788
|
},
|
|
11772
11789
|
{
|
|
11773
|
-
...
|
|
11790
|
+
...gf,
|
|
11774
11791
|
id: "column_stacked",
|
|
11775
11792
|
text: "Stacked Column",
|
|
11776
11793
|
icon: "chart-column-stacked",
|
|
11777
11794
|
agChartType: "bar"
|
|
11778
11795
|
},
|
|
11779
11796
|
{
|
|
11780
|
-
...
|
|
11797
|
+
...gf,
|
|
11781
11798
|
id: "bar_stacked",
|
|
11782
11799
|
text: "Stacked Bar",
|
|
11783
11800
|
icon: "chart-bar-stacked",
|
|
@@ -11785,7 +11802,7 @@ var ql = { style: { "line-height": "20px" } }, Jl = { class: "pv-text-subdued pv
|
|
|
11785
11802
|
isHorizontal: !0
|
|
11786
11803
|
},
|
|
11787
11804
|
{
|
|
11788
|
-
...
|
|
11805
|
+
...gf,
|
|
11789
11806
|
id: "pie",
|
|
11790
11807
|
text: "Pie",
|
|
11791
11808
|
icon: "chart-pie",
|
|
@@ -11799,7 +11816,7 @@ var ql = { style: { "line-height": "20px" } }, Jl = { class: "pv-text-subdued pv
|
|
|
11799
11816
|
icon: "chart-column",
|
|
11800
11817
|
xAxis: {
|
|
11801
11818
|
selectMode: "single",
|
|
11802
|
-
filterColumns:
|
|
11819
|
+
filterColumns: hf,
|
|
11803
11820
|
hideLabel: !0
|
|
11804
11821
|
},
|
|
11805
11822
|
yAxis: {
|
|
@@ -11820,7 +11837,7 @@ var ql = { style: { "line-height": "20px" } }, Jl = { class: "pv-text-subdued pv
|
|
|
11820
11837
|
icon: "map",
|
|
11821
11838
|
xAxis: {
|
|
11822
11839
|
selectMode: "single",
|
|
11823
|
-
filterColumns:
|
|
11840
|
+
filterColumns: mf,
|
|
11824
11841
|
hideLabel: !0
|
|
11825
11842
|
},
|
|
11826
11843
|
yAxis: {},
|
|
@@ -11832,16 +11849,16 @@ var ql = { style: { "line-height": "20px" } }, Jl = { class: "pv-text-subdued pv
|
|
|
11832
11849
|
supportsFocusView: !1,
|
|
11833
11850
|
storeBeforeChange: !1
|
|
11834
11851
|
}
|
|
11835
|
-
],
|
|
11836
|
-
function
|
|
11837
|
-
return
|
|
11852
|
+
], vf = new Map(_f.map((e) => [e.id, e])), yf = vf.get("column");
|
|
11853
|
+
function bf(e) {
|
|
11854
|
+
return vf.get(e) || yf;
|
|
11838
11855
|
}
|
|
11839
11856
|
//#endregion
|
|
11840
11857
|
//#region src/components/charts/PvDataTableWithChart/table-chart-components/PvChartOptionMenuItemRenderer.vue?vue&type=script&setup=true&lang.ts
|
|
11841
|
-
var
|
|
11858
|
+
var xf = {
|
|
11842
11859
|
class: "pv-full-width pv-flex",
|
|
11843
11860
|
style: { "--flex-gap": "8px" }
|
|
11844
|
-
},
|
|
11861
|
+
}, Sf = ["title"], Cf = { style: { "max-width": "220px" } }, wf = /* @__PURE__ */ d({
|
|
11845
11862
|
inheritAttrs: !1,
|
|
11846
11863
|
__name: "PvChartOptionMenuItemRenderer",
|
|
11847
11864
|
props: {
|
|
@@ -11849,10 +11866,10 @@ var bf = {
|
|
|
11849
11866
|
context: {}
|
|
11850
11867
|
},
|
|
11851
11868
|
setup(e) {
|
|
11852
|
-
return (t, n) => (E(), o("div",
|
|
11869
|
+
return (t, n) => (E(), o("div", xf, [s("span", {
|
|
11853
11870
|
class: "pv-text-body-md pv-truncate",
|
|
11854
11871
|
title: e.text
|
|
11855
|
-
}, P(e.text), 9,
|
|
11872
|
+
}, P(e.text), 9, Sf), e.context?.description ? (E(), i(I(Ti), {
|
|
11856
11873
|
key: 0,
|
|
11857
11874
|
variant: "dark",
|
|
11858
11875
|
position: "center-right",
|
|
@@ -11866,25 +11883,25 @@ var bf = {
|
|
|
11866
11883
|
name: "info-circle",
|
|
11867
11884
|
class: "pv-text-subdued"
|
|
11868
11885
|
})]),
|
|
11869
|
-
content: H(() => [s("div",
|
|
11886
|
+
content: H(() => [s("div", Cf, P(e.context.description), 1)]),
|
|
11870
11887
|
_: 1
|
|
11871
11888
|
})) : a("", !0)]));
|
|
11872
11889
|
}
|
|
11873
|
-
}),
|
|
11890
|
+
}), Tf = { class: "pv-stack-16 pv-chart-options-panel" }, Ef = { class: "pv-flex pv-relative" }, Df = {
|
|
11874
11891
|
role: "list",
|
|
11875
11892
|
class: "pv-relative"
|
|
11876
|
-
},
|
|
11893
|
+
}, Of = [
|
|
11877
11894
|
"id",
|
|
11878
11895
|
"data-active",
|
|
11879
11896
|
"onMouseenter",
|
|
11880
11897
|
"onClick"
|
|
11881
|
-
],
|
|
11898
|
+
], kf = { style: { "max-width": "100px" } }, Af = {
|
|
11882
11899
|
key: 1,
|
|
11883
11900
|
class: "pv-flex"
|
|
11884
|
-
},
|
|
11901
|
+
}, jf = {
|
|
11885
11902
|
key: 1,
|
|
11886
11903
|
role: "list"
|
|
11887
|
-
},
|
|
11904
|
+
}, Mf = ["data-active"], Nf = /* @__PURE__ */ Xt(/* @__PURE__ */ d({
|
|
11888
11905
|
__name: "PvChartOptionsPanel",
|
|
11889
11906
|
props: {
|
|
11890
11907
|
enablePanel: { type: Boolean },
|
|
@@ -11902,7 +11919,7 @@ var bf = {
|
|
|
11902
11919
|
maxHeight: "900px"
|
|
11903
11920
|
},
|
|
11904
11921
|
useTeleport: !0
|
|
11905
|
-
}), g = O(!1), _ = O(void 0), v = O(null), b = m(ll, O(void 0)), S = m(sl, O([])), C = m(ul, O(void 0)), w = m(cl, O([])), T = m(ol, O([])), D = m(Zc, O([])), A = r(() =>
|
|
11922
|
+
}), g = O(!1), _ = O(void 0), v = O(null), b = m(ll, O(void 0)), S = m(sl, O([])), C = m(ul, O(void 0)), w = m(cl, O([])), T = m(ol, O([])), D = m(Zc, O([])), A = r(() => bf(b.value?.id || "")), j = r(() => {
|
|
11906
11923
|
let e = b.value?.id ?? "";
|
|
11907
11924
|
return T.value.length > 1 && !e.endsWith("_stacked");
|
|
11908
11925
|
}), M = m(dl, O("")), N = m(fl, O([])), F = m(pl, O(void 0)), ee = m(ml, O([])), L = m(gl, O(/* @__PURE__ */ new Set())), R = m(_l, O([])), z = r(() => R.value.filter((e) => L.value.has(e.id)).map((e) => ({
|
|
@@ -12072,15 +12089,15 @@ var bf = {
|
|
|
12072
12089
|
return t ? t.activeOptionIds ? t.activeOptionIds.has(e.id) ? !0 : null : t.currentOption?.id === e.id ? !0 : null : null;
|
|
12073
12090
|
}, le = (e) => K.value?.isMultiSelect ? null : ce(e), q = (e) => K.value?.isMultiSelect ? {
|
|
12074
12091
|
variant: "checkbox",
|
|
12075
|
-
renderer:
|
|
12076
|
-
} : W(e) ? { renderer:
|
|
12092
|
+
renderer: wf
|
|
12093
|
+
} : W(e) ? { renderer: wf } : { variant: "icon" }, ue = (e) => {
|
|
12077
12094
|
_.value = e, f.value = document.getElementById(`pv-chart-config-${e}`), d();
|
|
12078
12095
|
}, fe = () => {
|
|
12079
12096
|
g.value = !1, _.value = void 0;
|
|
12080
12097
|
}, J = () => {
|
|
12081
12098
|
_.value = void 0;
|
|
12082
12099
|
};
|
|
12083
|
-
return (n, r) => (E(), o(t, null, [s("div",
|
|
12100
|
+
return (n, r) => (E(), o(t, null, [s("div", Tf, [s("div", null, [re((E(), o("div", { class: y(["pv-flex pv-space-between", e.useCombinedButton ? "pv-stack-8" : ""]) }, [s("div", Ef, [e.useCombinedButton ? (E(), o(t, { key: 0 }, [u(da, {
|
|
12084
12101
|
open: g.value,
|
|
12085
12102
|
label: "Chart Configuration",
|
|
12086
12103
|
icon: "chart-area",
|
|
@@ -12102,7 +12119,7 @@ var bf = {
|
|
|
12102
12119
|
"padding-top": "4px",
|
|
12103
12120
|
"padding-bottom": "12px"
|
|
12104
12121
|
}
|
|
12105
|
-
}, " Chart Configuration ")], -1), s("ul",
|
|
12122
|
+
}, " Chart Configuration ")], -1), s("ul", Df, [(E(!0), o(t, null, k(se.value, (e) => (E(), o("li", {
|
|
12106
12123
|
id: `pv-chart-config-${e.value}`,
|
|
12107
12124
|
key: e.value,
|
|
12108
12125
|
"data-active": _.value === e.value ? !0 : null,
|
|
@@ -12132,9 +12149,9 @@ var bf = {
|
|
|
12132
12149
|
_: 2
|
|
12133
12150
|
}, [e.disabled && e.disabledReason ? {
|
|
12134
12151
|
name: "content",
|
|
12135
|
-
fn: H(() => [s("div",
|
|
12152
|
+
fn: H(() => [s("div", kf, P(e.disabledReason), 1)]),
|
|
12136
12153
|
key: "0"
|
|
12137
|
-
} : void 0]), 1024)], 40,
|
|
12154
|
+
} : void 0]), 1024)], 40, Of))), 128))])]),
|
|
12138
12155
|
_: 1
|
|
12139
12156
|
}, 8, ["class"])], 64)) : a("", !0)])], 2)), [[I(de), [fe, { ignore: [".pv-popover"] }]]]), s("div", {
|
|
12140
12157
|
class: "pv-flex pv-space-between",
|
|
@@ -12144,7 +12161,7 @@ var bf = {
|
|
|
12144
12161
|
options: ne.value,
|
|
12145
12162
|
modelValue: I(te),
|
|
12146
12163
|
"onUpdate:modelValue": r[1] ||= (e) => h(te) ? te.value = e : null
|
|
12147
|
-
}, null, 8, ["options", "modelValue"])) : a("", !0), e.useCombinedButton ? a("", !0) : (E(), o("div",
|
|
12164
|
+
}, null, 8, ["options", "modelValue"])) : a("", !0), e.useCombinedButton ? a("", !0) : (E(), o("div", Af, [(E(!0), o(t, null, k(se.value, (n) => (E(), o(t, { key: n.value }, [n.isMultiSelect && n.activeOptions && n.activeOptionIds ? (E(), i(Ys, {
|
|
12148
12165
|
key: 0,
|
|
12149
12166
|
label: n.label,
|
|
12150
12167
|
prefixLabel: n.prefixLabel,
|
|
@@ -12154,7 +12171,7 @@ var bf = {
|
|
|
12154
12171
|
disableSearchInput: !0,
|
|
12155
12172
|
disabled: n.disabled || e.readOnly,
|
|
12156
12173
|
optionsVariant: "checkbox",
|
|
12157
|
-
optionsRenderer:
|
|
12174
|
+
optionsRenderer: wf
|
|
12158
12175
|
}, null, 8, [
|
|
12159
12176
|
"label",
|
|
12160
12177
|
"prefixLabel",
|
|
@@ -12198,7 +12215,7 @@ var bf = {
|
|
|
12198
12215
|
"padding-left": "2px",
|
|
12199
12216
|
"padding-bottom": "6px"
|
|
12200
12217
|
}
|
|
12201
|
-
}, " Viewing ", -1), u(
|
|
12218
|
+
}, " Viewing ", -1), u(uf, {
|
|
12202
12219
|
modelValue: K.value.activeOptions.value,
|
|
12203
12220
|
"onUpdate:modelValue": r[2] ||= (e) => K.value.activeOptions.value = e,
|
|
12204
12221
|
options: K.value.availableOptions || [],
|
|
@@ -12208,7 +12225,7 @@ var bf = {
|
|
|
12208
12225
|
"modelValue",
|
|
12209
12226
|
"options",
|
|
12210
12227
|
"activeOptionLimit"
|
|
12211
|
-
])], 64)) : (E(), o("ul",
|
|
12228
|
+
])], 64)) : (E(), o("ul", jf, [(E(!0), o(t, null, k(K.value.availableOptions, (e) => (E(), o("li", {
|
|
12212
12229
|
key: e.id,
|
|
12213
12230
|
"data-active": le(e)
|
|
12214
12231
|
}, [u(Ja, {
|
|
@@ -12233,14 +12250,14 @@ var bf = {
|
|
|
12233
12250
|
"disabled",
|
|
12234
12251
|
"selectedIds",
|
|
12235
12252
|
"onHandleSelected"
|
|
12236
|
-
])], 8,
|
|
12253
|
+
])], 8, Mf))), 128))]))], 64)) : a("", !0)]),
|
|
12237
12254
|
_: 1
|
|
12238
12255
|
}, 8, ["class", "css-custom-properties"])], 64));
|
|
12239
12256
|
}
|
|
12240
|
-
}), [["__scopeId", "data-v-
|
|
12257
|
+
}), [["__scopeId", "data-v-138e426e"]]);
|
|
12241
12258
|
//#endregion
|
|
12242
12259
|
//#region src/components/charts/PvDataTableWithChart/scatterAxisUtils.ts
|
|
12243
|
-
function
|
|
12260
|
+
function Pf(e, t, n, r, i) {
|
|
12244
12261
|
return i ? {
|
|
12245
12262
|
xKey: n,
|
|
12246
12263
|
xName: r,
|
|
@@ -12255,19 +12272,19 @@ function Nf(e, t, n, r, i) {
|
|
|
12255
12272
|
}
|
|
12256
12273
|
//#endregion
|
|
12257
12274
|
//#region src/components/charts/PvDataTableWithChart/PvDataTableWithChart.vue?vue&type=script&setup=true&lang.ts
|
|
12258
|
-
var
|
|
12275
|
+
var Ff = { style: {
|
|
12259
12276
|
height: "100%",
|
|
12260
12277
|
width: "100%"
|
|
12261
|
-
} },
|
|
12278
|
+
} }, If = {
|
|
12262
12279
|
key: 0,
|
|
12263
12280
|
class: "pv-bordered pv-radius-lg pv-inset-square-12 pv-stack-16"
|
|
12264
|
-
},
|
|
12281
|
+
}, Lf = { class: "pv-flex" }, Rf = { class: "pv-relative pv-margin-auto" }, zf = {
|
|
12265
12282
|
key: 2,
|
|
12266
12283
|
class: "pv-chart-overlay pv-flex pv-align-center"
|
|
12267
|
-
},
|
|
12284
|
+
}, Bf = { key: 0 }, Vf = {
|
|
12268
12285
|
key: 1,
|
|
12269
12286
|
class: "pv-text-body-xs"
|
|
12270
|
-
},
|
|
12287
|
+
}, Hf = /* @__PURE__ */ d({
|
|
12271
12288
|
__name: "PvDataTableWithChart",
|
|
12272
12289
|
props: {
|
|
12273
12290
|
allFieldsAreFocusable: { type: Boolean },
|
|
@@ -12470,7 +12487,7 @@ var Pf = { style: {
|
|
|
12470
12487
|
if (!e) return !1;
|
|
12471
12488
|
if (e === "state") return !0;
|
|
12472
12489
|
let t = j.value.find((t) => t.field === e);
|
|
12473
|
-
return !!(t &&
|
|
12490
|
+
return !!(t && df(t));
|
|
12474
12491
|
}), ee = (e) => $(e).chartSeriesDisplayName || e.headerName || e.field || "", L = r(() => {
|
|
12475
12492
|
let e = ge.value;
|
|
12476
12493
|
return e.yAxis.hidden && e.yAxis.defaultValue ? [{
|
|
@@ -12581,8 +12598,8 @@ var Pf = { style: {
|
|
|
12581
12598
|
return n && typeof n.valueFormatter == "function" ? `${n.valueFormatter({ value: e })} - ${n.valueFormatter({ value: t })}` : `${e} - ${t}`;
|
|
12582
12599
|
}, fe = r(() => {
|
|
12583
12600
|
let e = [...N.value.length > 1 ? mo : po, ho];
|
|
12584
|
-
return
|
|
12585
|
-
}), J = O(void 0), pe = O(void 0), me = O(void 0), he = !1, ge = r(() =>
|
|
12601
|
+
return ff(I.value) && e.push(go), e.filter((e) => l.enabledChartTypes?.includes(e.id));
|
|
12602
|
+
}), J = O(void 0), pe = O(void 0), me = O(void 0), he = !1, ge = r(() => bf(J.value?.id || "")), _e = r(() => Math.min(ge.value.rowGroupLimit, l.rowGroupLimit)), ve = r(() => {
|
|
12586
12603
|
let e = ge.value.xAxis.filterColumns;
|
|
12587
12604
|
return e ? e(j.value) : j.value;
|
|
12588
12605
|
}), ye = O([{
|
|
@@ -12599,13 +12616,13 @@ var Pf = { style: {
|
|
|
12599
12616
|
J.value = fe.value.find((t) => t.id === e) ?? fe.value[0];
|
|
12600
12617
|
}, Oe = (e) => {
|
|
12601
12618
|
let t = N.value.length, n = (e) => {
|
|
12602
|
-
let n =
|
|
12619
|
+
let n = bf(e.id);
|
|
12603
12620
|
return t <= Math.min(n.rowGroupLimit, l.rowGroupLimit);
|
|
12604
12621
|
}, r = fe.value.find((t) => t.id === e);
|
|
12605
12622
|
return r && n(r) ? r.id : fe.value.find(n)?.id ?? fe.value[0]?.id;
|
|
12606
12623
|
};
|
|
12607
12624
|
V(() => fe.value, () => {
|
|
12608
|
-
let e = Le.value, t = e !== he, n =
|
|
12625
|
+
let e = Le.value, t = e !== he, n = bf(J.value?.id || ""), r = fe.value.some((e) => e.id === J.value?.id), i = N.value.length > Math.min(n.rowGroupLimit, l.rowGroupLimit);
|
|
12609
12626
|
if (he = e, r && !i && (!t || !n.storeBeforeChange)) return;
|
|
12610
12627
|
let a = Oe((e ? me?.value : pe?.value) ?? l.chartType);
|
|
12611
12628
|
a && Z(a);
|
|
@@ -12692,7 +12709,7 @@ var Pf = { style: {
|
|
|
12692
12709
|
}))), Se.value) {
|
|
12693
12710
|
let t;
|
|
12694
12711
|
t = e ? `${Se.value}_sort_total` : Se.value;
|
|
12695
|
-
let r = ue(F.value)?.context?.metadataDisplayFields?.[0] || F.value, i =
|
|
12712
|
+
let r = ue(F.value)?.context?.metadataDisplayFields?.[0] || F.value, i = Pf(F.value, r, t, je.value, Me.value), a = {
|
|
12696
12713
|
type: "scatter",
|
|
12697
12714
|
id: "metric-overlay",
|
|
12698
12715
|
data: $e.value,
|
|
@@ -12784,8 +12801,8 @@ var Pf = { style: {
|
|
|
12784
12801
|
oldState: { secondarySeriesField: t }
|
|
12785
12802
|
});
|
|
12786
12803
|
}), V(J, (e, t) => {
|
|
12787
|
-
e?.id &&
|
|
12788
|
-
let n =
|
|
12804
|
+
e?.id && bf(e.id).storeBeforeChange && (Le.value ? me.value = e.id : pe.value = e.id);
|
|
12805
|
+
let n = bf(e?.id || ""), r = bf(t?.id || ""), i = (n.xAxis.filterColumns === r.xAxis.filterColumns ? N.value : pf(N.value, j.value, n.xAxis.filterColumns)).slice(0, Math.min(n.rowGroupLimit, l.rowGroupLimit));
|
|
12789
12806
|
tt(i, N.value) || (N.value = i), n.yAxis.defaultValue ? Y.value = n.yAxis.defaultValue : r.yAxis.defaultValue && !n.yAxis.defaultValue && v(() => {
|
|
12790
12807
|
l.yKey ? Y.value = l.yKey : L.value.length > 0 && (Y.value = L.value[0].value);
|
|
12791
12808
|
}), d("chart-state-changed", {
|
|
@@ -13162,12 +13179,12 @@ var Pf = { style: {
|
|
|
13162
13179
|
}
|
|
13163
13180
|
}), w(async () => {
|
|
13164
13181
|
await v(), C.value = l.filterPanelAboveChart;
|
|
13165
|
-
}), (n, r) => (E(), o("div",
|
|
13182
|
+
}), (n, r) => (E(), o("div", Ff, [
|
|
13166
13183
|
s("div", {
|
|
13167
13184
|
class: "pv-stack-16",
|
|
13168
13185
|
id: b
|
|
13169
13186
|
}),
|
|
13170
|
-
e.hideChart ? a("", !0) : (E(), o("div",
|
|
13187
|
+
e.hideChart ? a("", !0) : (E(), o("div", If, [
|
|
13171
13188
|
u(An, {
|
|
13172
13189
|
rightIcon: "chevrons-down-up",
|
|
13173
13190
|
label: "Collapse",
|
|
@@ -13179,7 +13196,7 @@ var Pf = { style: {
|
|
|
13179
13196
|
onClick: r[0] ||= (e) => St(!g.value),
|
|
13180
13197
|
class: y(e.hideChart || g.value ? "pv-hide" : "")
|
|
13181
13198
|
}, null, 8, ["class"]),
|
|
13182
|
-
s("div", { class: y(e.hideChart || !g.value ? "pv-hide" : "pv-space-between") }, [s("div",
|
|
13199
|
+
s("div", { class: y(e.hideChart || !g.value ? "pv-hide" : "pv-space-between") }, [s("div", Lf, [u(En, {
|
|
13183
13200
|
name: "chart-line",
|
|
13184
13201
|
size: 20,
|
|
13185
13202
|
class: "pv-text-subdued"
|
|
@@ -13192,7 +13209,7 @@ var Pf = { style: {
|
|
|
13192
13209
|
variant: "secondary",
|
|
13193
13210
|
onClick: r[1] ||= (e) => St(!g.value)
|
|
13194
13211
|
})], 2),
|
|
13195
|
-
s("div", { class: y(e.hideChart || g.value ? "pv-hide" : "") }, [u(
|
|
13212
|
+
s("div", { class: y(e.hideChart || g.value ? "pv-hide" : "") }, [u(Nf, {
|
|
13196
13213
|
enablePanel: Q.value != null && Q.value.length > 0,
|
|
13197
13214
|
chartFilter: e.chartFilter,
|
|
13198
13215
|
rowGroupLimit: _e.value,
|
|
@@ -13206,7 +13223,7 @@ var Pf = { style: {
|
|
|
13206
13223
|
"use-combined-button",
|
|
13207
13224
|
"chart-config-options",
|
|
13208
13225
|
"read-only"
|
|
13209
|
-
]), s("div",
|
|
13226
|
+
]), s("div", Rf, [Je.value ? (E(), i(ro, {
|
|
13210
13227
|
key: 0,
|
|
13211
13228
|
selectedRegion: qe.value,
|
|
13212
13229
|
"onUpdate:selectedRegion": r[2] ||= (e) => qe.value = e,
|
|
@@ -13246,9 +13263,9 @@ var Pf = { style: {
|
|
|
13246
13263
|
"options",
|
|
13247
13264
|
"enableFocusView",
|
|
13248
13265
|
"minHeight"
|
|
13249
|
-
])], 4)], 6)), Je.value ? a("", !0) : (E(), o("div",
|
|
13266
|
+
])], 4)], 6)), Je.value ? a("", !0) : (E(), o("div", zf, [ie.value ? (E(), o("div", Bf, [(E(), i(M(e.emptyChartFilterRenderer)))])) : xt.value ? (E(), o("p", Vf, P(gt.value), 1)) : a("", !0)]))])], 2)
|
|
13250
13267
|
])),
|
|
13251
|
-
u(
|
|
13268
|
+
u(Hd, _({
|
|
13252
13269
|
ref_key: "pvDataTableRef",
|
|
13253
13270
|
ref: m
|
|
13254
13271
|
}, n.$props, {
|
|
@@ -13265,7 +13282,7 @@ var Pf = { style: {
|
|
|
13265
13282
|
onHandleSettingsIcon: r[8] ||= (e) => d("handle-settings-icon", e),
|
|
13266
13283
|
onFocusUpdate: r[9] ||= (e) => d("focus-update", e)
|
|
13267
13284
|
}), {
|
|
13268
|
-
"top-slot": H(() => [e.enableGroupingToggle ? (E(), o(t, { key: 0 }, [e.tableConfigOptions ? (E(), i(
|
|
13285
|
+
"top-slot": H(() => [e.enableGroupingToggle ? (E(), o(t, { key: 0 }, [e.tableConfigOptions ? (E(), i(Zd, {
|
|
13269
13286
|
key: 0,
|
|
13270
13287
|
groupedModeEnabled: U.value,
|
|
13271
13288
|
tableConfigOptions: l.tableConfigOptions,
|
|
@@ -13283,7 +13300,7 @@ var Pf = { style: {
|
|
|
13283
13300
|
}, 16, ["filterTeleportLocation", "pagination"])
|
|
13284
13301
|
]));
|
|
13285
13302
|
}
|
|
13286
|
-
}),
|
|
13303
|
+
}), Uf = "Unable to load data", Wf = (e, t = {}) => {
|
|
13287
13304
|
let n = O([]), i = O(!1), a = O(), o = 0, s = async () => {
|
|
13288
13305
|
let t = ++o;
|
|
13289
13306
|
i.value = !0;
|
|
@@ -13313,6 +13330,6 @@ var Pf = { style: {
|
|
|
13313
13330
|
};
|
|
13314
13331
|
};
|
|
13315
13332
|
//#endregion
|
|
13316
|
-
export {
|
|
13333
|
+
export { Uf as DEFAULT_DATA_WIDGET_ERROR_TEXT, yt as PitViperAGChartsMonochromeTheme, vt as PitViperAGChartsMonochromeThemeName, xt as PitViperAGChartsMulticolorTheme, bt as PitViperAGChartsMulticolorThemeName, Zt as PvChart, _n as PvChartWidget, Hd as PvDataTable, Hf as PvDataTableWithChart, ps as PvDataWidget, ro as PvMapChart, ft as SCATTER_MARKER_STROKE, eu as constructAdvancedFilterCondition, tu as convertFilterModelToAdvanced, Nu as createPvDataTableFilterStore, Ou as excludeValueFromSetFilter, su as filterModelContainsColId, yu as filterModelsEqual, wu as getSelectedValues, Su as getSelectedValuesFromAdvancedFilterModel, pu as getSelectedValuesFromFilterModel, Cu as getSelectedValuesFromFilterModelByColId, mu as isAdvancedFilterModel, gu as isFilterModelEmpty, bu as mergeAdvancedFilterCondition, cu as mergeFilterModels, Pu as providePvDataTableFilterStore, Tu as removeColumnFilter, xu as removeColumnFromAdvancedFilter, Du as updateMultiOrSetFilter, Eu as updateSetFilter, Iu as usePvDataTableFilterStore, Wf as usePvDataWidgetData };
|
|
13317
13334
|
|
|
13318
13335
|
//# sourceMappingURL=pv-components-visualizations.mjs.map
|