@turquoisehealth/pit-viper 2.254.0 → 2.255.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_site/assets/css/pit-viper-a11y.css +962 -56
- package/_site/assets/css/pit-viper-consumer.css +959 -53
- package/_site/assets/css/pit-viper-v2-scoped.css +787 -30
- package/_site/assets/css/pit-viper-v2.css +962 -56
- package/_site/assets/css/pit-viper.css +958 -52
- package/package.json +1 -1
- package/pv-components/dist/stats/vue/ai/stats.html +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-accordion-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-box-plot-stats.html +4950 -0
- package/pv-components/dist/stats/web/pv-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-confirmation-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-counter-badge-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-date-time-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-drawer-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-empty-state-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-expandable-content-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-file-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-ghost-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-horizontal-scroller-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-hover-action-menu-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-insight-card-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-pagination-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-prompt-input-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-question-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-range-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-reasoning-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-sidebar-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-sidebar-v2-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-sortable-list-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-step-list-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-stepper-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-switch-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tab-list-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tabs-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-toast-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-toggle-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tool-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tree-stats.html +1 -1
- package/pv-components/dist/vue/ai/components/base/PvBoxPlot/PvBoxPlot.vue.d.ts +15 -0
- package/pv-components/dist/vue/ai/components/base/PvBoxPlot/helpers.d.ts +7 -0
- package/pv-components/dist/vue/ai/components/base/PvBoxPlot/types.d.ts +33 -0
- package/pv-components/dist/vue/ai/components/base/index.d.ts +2 -0
- package/pv-components/dist/vue/ai/pv-components-ai.mjs +47 -45
- package/pv-components/dist/vue/ai/pv-components-ai.mjs.map +1 -1
- package/pv-components/dist/vue/base/components/base/PvBoxPlot/PvBoxPlot.vue.d.ts +15 -0
- package/pv-components/dist/vue/base/components/base/PvBoxPlot/helpers.d.ts +7 -0
- package/pv-components/dist/vue/base/components/base/PvBoxPlot/types.d.ts +33 -0
- package/pv-components/dist/vue/base/components/base/index.d.ts +2 -0
- package/pv-components/dist/vue/base/pv-components-base.mjs +996 -672
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvBoxPlot/PvBoxPlot.vue.d.ts +15 -0
- package/pv-components/dist/vue/visualizations/components/base/PvBoxPlot/helpers.d.ts +7 -0
- package/pv-components/dist/vue/visualizations/components/base/PvBoxPlot/types.d.ts +33 -0
- package/pv-components/dist/vue/visualizations/components/base/index.d.ts +2 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +4 -1
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +180 -166
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/components/pv-accordion/pv-accordion.js +3 -3
- package/pv-components/dist/web/components/pv-box-plot/pv-box-plot.js +6621 -0
- package/pv-components/dist/web/components/pv-button/pv-button.js +2 -2
- package/pv-components/dist/web/components/pv-confirmation/pv-confirmation.js +376 -373
- package/pv-components/dist/web/components/pv-counter-badge/pv-counter-badge.js +2 -2
- package/pv-components/dist/web/components/pv-date-time/pv-date-time.js +2 -6
- package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +2 -2
- package/pv-components/dist/web/components/pv-empty-state/pv-empty-state.js +2 -2
- package/pv-components/dist/web/components/pv-expandable-content/pv-expandable-content.js +3 -3
- package/pv-components/dist/web/components/pv-file-input/pv-file-input.js +2 -2
- package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +8 -8
- package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +16 -10
- package/pv-components/dist/web/components/pv-ghost-input/pv-ghost-input.js +2 -2
- package/pv-components/dist/web/components/pv-horizontal-scroller/pv-horizontal-scroller.js +2 -2
- package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +3 -3
- package/pv-components/dist/web/components/pv-input/pv-input.js +0 -1
- package/pv-components/dist/web/components/pv-insight-card/pv-insight-card.js +3 -3
- package/pv-components/dist/web/components/pv-menu/pv-menu.js +121 -121
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +7 -7
- package/pv-components/dist/web/components/pv-pagination/pv-pagination.js +5 -5
- package/pv-components/dist/web/components/pv-prompt-input/pv-prompt-input.js +380 -380
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +11 -11
- package/pv-components/dist/web/components/pv-question/pv-question.js +254 -255
- package/pv-components/dist/web/components/pv-range/pv-range.js +2 -2
- package/pv-components/dist/web/components/pv-reasoning/pv-reasoning.js +252 -252
- package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +2 -2
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +6 -6
- package/pv-components/dist/web/components/pv-sidebar/pv-sidebar.js +3 -3
- package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +3 -3
- package/pv-components/dist/web/components/pv-sortable-list/pv-sortable-list.js +811 -806
- package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +880 -877
- package/pv-components/dist/web/components/pv-step-list/pv-step-list.js +2 -6
- package/pv-components/dist/web/components/pv-stepper/pv-stepper.js +2 -2
- package/pv-components/dist/web/components/pv-switch/pv-switch.js +2 -6
- package/pv-components/dist/web/components/pv-tab-list/pv-tab-list.js +3 -7
- package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +2 -2
- package/pv-components/dist/web/components/pv-toast/pv-toast.js +2 -2
- package/pv-components/dist/web/components/pv-toggle-button/pv-toggle-button.js +2 -2
- package/pv-components/dist/web/components/pv-tool/pv-tool.js +7 -7
- package/pv-components/dist/web/components/pv-tree/pv-tree.js +18 -18
- package/pv-components/dist/web/pv-components.iife.js +4 -4
- 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-badge-md[data-v-c578e86e]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-c578e86e]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-rounded[data-v-c578e86e]{border-radius:50%}.pv-split-button[data-v-3689aaf0]{--flex-gap:0}[data-v-3689aaf0] .pv-split-button__action{border-right:none;border-top-right-radius:0;border-bottom-right-radius:0}[data-v-3689aaf0] .pv-split-button__menu-trigger{border-left:none;border-top-left-radius:0;border-bottom-left-radius:0;position:relative}[data-v-3689aaf0] .pv-split-button__menu-content>*{justify-content:flex-start;width:100%}[data-v-3689aaf0] .pv-split-button__menu-trigger:before{content:"";background-color:var(--color-border,#e3e7ea);pointer-events:none;width:1px;height:50%;min-height:12px;position:absolute;top:50%;left:0;transform:translateY(-50%)translate(-150%)}[class*=pv-status]{&[data-v-f2cf1712]:before,&[data-v-f2cf1712]:after{margin-inline-end:0}}.pv-popover-list[data-v-fe6e9c6a]{font-size:14px}.pv-popover-pinned-sections[data-v-fe6e9c6a]{flex-direction:column;display:flex;overflow:hidden}.pv-popover-pinned-sections .pv-popover-list[data-v-fe6e9c6a]{overflow-y:auto}.pv-button-icon[aria-expanded=true][data-v-bb8eae3f]{background-color:var(--button-icon-pressed-background-color,#c7d8db)}.pv-select[data-v-bb8eae3f]{padding-top:4px;padding-bottom:4px}.pv-tab-list[data-v-b18beebf]{border:none}.pv-tab-list :where(li)[data-active][data-v-b18beebf]:after{content:"";background-color:var(--tab-list-indicator-color,#176f6f);width:100%;height:2px;display:block;position:absolute;bottom:0;left:0;right:0}summary[data-v-dfa0b416]{background-image:none;padding-right:2px}.pv-input-search[data-v-9e0c84d9]{display:block}.pv-text-secondary[data-v-557e720d]{color:var(--color-text-subdued,#4b595c)}.pv-select-button-trigger-content[data-v-da9865ad]{min-width:0}.pv-select-button-trigger[data-v-da9865ad]{height:1.5rem;padding-block:0}.pv-select-button-trigger.pv-button-large[data-v-da9865ad]{height:2rem}.pv-select-button-trigger-label[data-v-da9865ad]{flex:auto;min-width:0}.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:not(:disabled):hover:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:not(:disabled):focus-visible:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:not(:disabled):active:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:disabled:after{background-image:unset}.pv-action-button-reveal-on-hover{opacity:0;transition:opacity .2s}.pv-label:hover .pv-action-button-reveal-on-hover{opacity:1}.pv-menu-item-disabled[data-v-9130f2b2]{pointer-events:none;color:#7d898d;border-radius:4px}.pv-menu-item-disabled .pv-menu-item-action[data-v-9130f2b2]{pointer-events:auto;display:inline-flex}.pv-menu-item{&[data-v-9130f2b2]{cursor:pointer;border-radius:var(--popover-list-item-radius,4px);transition-property:background-color;transition-duration:.15s}&[data-v-9130f2b2]:hover,&[data-v-9130f2b2]:focus-visible{background-color:var(--popover-list-item-hover-background-color,#f5f5f5)}&[data-v-9130f2b2]:active{background-color:var(--popover-list-item-pressed-background-color,#ebebeb)}}.pv-radio[data-v-9130f2b2]:indeterminate{background-color:unset!important;border-color:var(--color-border,#e3e7ea)!important}.pv-menu-item-expand-chevron[data-v-9130f2b2]{flex-shrink:0;margin-left:auto;padding:4px}.pv-menu-item-disabled .pv-menu-item-expand-chevron[data-v-9130f2b2]{pointer-events:auto;color:inherit}.pv-menu-popover[data-v-951d1d02]{z-index:50}.pv-popover-list>li[data-v-951d1d02]:last-child>.pv-label{margin-block-end:0}[data-v-951d1d02] .pv-menu-nested:after{content:"";border-top:1.5px solid;border-right:1.5px solid;flex-shrink:0;width:.4rem;height:.4rem;margin-left:auto;margin-right:.2rem;transform:rotate(45deg)}.pv-text-tertiary[data-v-e1952fbc]{color:var(--color-text-quaternary,#89989b)}.pv-button-placeholder[data-v-e1952fbc]{width:24px;height:24px}.pv-sort-option[data-v-e1952fbc]{--flex-gap:4px;cursor:grab;min-height:24px}.pv-sort-option-locked[data-v-e1952fbc]{cursor:default}.pv-menu-item-disabled[data-v-e1952fbc]{pointer-events:none;color:var(--text-input-disabled-text-color,#7d898d)}.placeholder-zone[data-v-e1952fbc]{transition:background-color .2s}.pv-placeholder-dropzone[data-v-e1952fbc]{justify-content:center;align-items:center;padding:8px 4px;transition:all .2s;border-style:dashed!important;border-color:var(--color-border,#e3e7ea)!important}.placeholder-zone.placeholder-drag-over .pv-placeholder-dropzone[data-v-e1952fbc]{background:#f0f9f9;border-color:var(--color-border-brand,#16696d)!important}.sort-divider-container[data-v-e1952fbc]{display:flex}.sort-divider[data-v-e1952fbc]{border-top:1px solid var(--color-border,#e3e7ea);flex:1;margin:1rem 0;position:relative}.sort-divider[data-v-e1952fbc]:after{content:attr(data-label);background:var(--color-background-body,#fff);font-size:inherit;white-space:nowrap;padding:0 .5em;display:inline-block;position:absolute;top:50%;left:50%;transform:translate(-50%,-50%)}.dots-button[data-v-cfa4cb54]{color:var(--color-text-subdued,#4b595c);background-color:#0000}.input-icon-position{pointer-events:none;position:absolute;top:8px;left:12px}.pv-insight-button[data-v-c1185c07]{position:absolute;top:.5rem;right:.5rem}.expandable-content[data-v-fc5fc7e0]{border-radius:.5rem}.expandable-content .pv-line-clamp[data-v-fc5fc7e0]{transition:max-height .3s ease-in-out}.reorder-icon[data-v-1efb9068]{width:16px;min-width:16px;height:16px;min-height:16px;position:absolute;top:0;left:0;transform:translateY(25%)}.pv-tree-connector-middle[data-v-2a7afaff],.pv-tree-connector-end[data-v-2a7afaff]{width:16px;min-width:16px;height:16px;position:relative}.pv-tree-connector-middle[data-v-2a7afaff]:after,.pv-tree-connector-end[data-v-2a7afaff]:after{content:"";background:var(--tree-connector-color,#d2d8dc);width:8px;height:1px;position:absolute;top:50%;left:50%;transform:translateY(-50%)}.pv-tree-connector-end[data-v-2a7afaff]:before{content:"";background:var(--tree-connector-color,#d2d8dc);width:1px;height:14px;position:absolute;top:-6px;left:50%;transform:translate(-50%)}.pv-tree-connector-line[data-v-fb9813d5]{position:relative}.pv-tree-connector-line[data-v-fb9813d5]:before{content:"";left:calc(var(--tree-connector-left,8px) + 1px);background:var(--tree-connector-color,#d2d8dc);z-index:1;pointer-events:none;width:1px;position:absolute;top:0;bottom:0;transform:translate(-50%)}.pv-tree-drop-zone[data-v-f706f606],.pv-tree-drop-zone[data-v-26eb4678]{min-height:0}.pv-tree-empty-accordion[data-v-76195c4e]{padding-top:3px;padding-bottom:3px}.pv-tree-drop-zone[data-v-76195c4e]{min-height:0}[data-v-1a3f7071] .pv-tree-item{cursor:pointer;background-color:#0000;border:1px solid #0000;padding:3px 4px}[data-v-1a3f7071] .pv-tree-item-disabled{cursor:default!important}[data-v-1a3f7071] .pv-tree-item.pv-drop-indicator-top{border-top:1px solid var(--color-border,#121313)}[data-v-1a3f7071] .pv-tree-item.pv-drop-indicator-bottom{border-bottom:1px solid var(--color-border,#121313)}[data-v-1a3f7071] .pv-drop-indicator-parent{border:1px solid var(--color-border,#36c5ba)}[data-v-1a3f7071] .pv-tree-item-selected{background-color:var(--pv-color-selected,#e4f8f6)}[data-v-1a3f7071] .pv-tree:not(.pv-tree--disable-selection) .pv-tree-item-selected:hover,[data-v-1a3f7071] .pv-tree:not(.pv-tree--disable-selection) .pv-tree-item:hover{background-color:var(--pv-color-hover,#e8f2f4);border-radius:4px}[data-v-1a3f7071] .pv-tree:not(.pv-tree--disable-selection) .pv-tree-item-selected:active,[data-v-1a3f7071] .pv-tree:not(.pv-tree--disable-selection) .pv-tree-item:active{background-color:var(--pv-color-active,#c7d8db);border-radius:4px}.pv-filter-panel-option-row[data-v-d5f24abf]{--flex-align:center;--flex-gap:.5rem;cursor:pointer;min-width:0;padding-left:calc(var(--pv-filter-panel-option-row-depth) * 1.25rem)}.pv-filter-panel-option-row-content[data-v-d5f24abf]{--flex-align:stretch;--flex-gap:0;flex:auto;min-width:0}.pv-filter-panel-option-row-disabled[data-v-d5f24abf]{cursor:not-allowed;opacity:.6}.pv-filter-panel-option-row-line[data-v-d5f24abf]{--lines:1}.pv-filter-panel-option-row-right[data-v-d5f24abf]{text-align:right;flex:none}summary[data-v-ea25a679]{background-image:none;padding-right:2px}[data-v-ea25a679] .pv-input-search{background-color:#fff}.suggested-title-label[data-v-ea25a679]{text-underline-offset:2px;text-decoration:underline dotted}.pv-filter-panel-refresh-status[data-v-ea25a679]{margin-left:auto;display:inline-flex}.pv-filter-panel[data-v-59a9b1c6]{min-height:0;max-height:100dvh;overflow:hidden}.pv-filter-panel-actions[data-v-59a9b1c6],.pv-filter-panel-header[data-v-59a9b1c6],.pv-filter-panel-suggestion-tags[data-v-59a9b1c6]{--flex-gap:.5rem}.pv-filter-panel-body[data-v-59a9b1c6],.pv-filter-panel-filters-view[data-v-59a9b1c6]{--flex-align:stretch;--flex-gap:0}.pv-filter-panel-body[data-v-59a9b1c6]{scrollbar-color:var(--color-border,#c1c1c1) transparent;scrollbar-gutter:stable;scrollbar-width:thin;flex:auto;min-height:0;overflow-y:auto}.pv-filter-panel-body[data-v-59a9b1c6]::-webkit-scrollbar{width:8px}.pv-filter-panel-body[data-v-59a9b1c6]::-webkit-scrollbar-track{background:0 0}.pv-filter-panel-body[data-v-59a9b1c6]::-webkit-scrollbar-thumb{background:var(--color-border,#c1c1c1);border-radius:8px}.pv-filter-panel-body[data-v-59a9b1c6]::-webkit-scrollbar-thumb:hover{background:var(--color-text-subdued,#7c7c7c)}.pv-filter-panel-empty[data-v-59a9b1c6],.pv-filter-panel-footer[data-v-59a9b1c6],.pv-filter-panel-suggestions[data-v-59a9b1c6]{padding:12px}.pv-filter-panel-filter-list[data-v-59a9b1c6]{--flex-align:stretch;--flex-gap:8px;padding-block:8px}.pv-filter-panel-collapsed-filters-toggle[data-v-59a9b1c6]{align-self:flex-start}.pv-filter-panel-footer[data-v-59a9b1c6]{--flex-justify:flex-end;background:var(--color-background-body,#fff);z-index:1;flex:none;margin-top:auto;position:sticky;bottom:0}.pv-filter-panel-header[data-v-59a9b1c6]{--flex-align:center;padding:12px}.pv-filter-panel-mode-control[data-v-59a9b1c6]{flex:auto;min-width:0}.pv-filter-panel-modal-footer[data-v-59a9b1c6]{--flex-justify:flex-end}.pv-filter-panel-search[data-v-59a9b1c6]{padding:8px 12px}.pv-filter-panel-section-title[data-v-59a9b1c6]{margin:0}.pv-filter-panel-suggestions[data-v-59a9b1c6]{--flex-align:stretch}.pv-filter-panel-suggestion-tags[data-v-59a9b1c6]{--flex-wrap:wrap}.pv-filter-modal-rail[data-v-e3f66d03]{--flex-align:stretch;flex:0 0 180px;padding-inline-end:1rem;overflow-y:auto}.pv-filter-modal-pane[data-v-e3f66d03]{flex:auto;min-width:0;min-height:0;padding-inline-start:1rem}.pv-filter-modal-options[data-v-e3f66d03]{min-height:360px;max-height:360px;overflow-y:auto}.pv-filter-modal-pane-actions[data-v-e3f66d03]{margin-top:auto;padding-top:.5rem}.pv-hover-action-menu[data-v-6325cd25]{position:relative}.pv-hover-action-menu__actions[data-v-6325cd25]{z-index:1;display:none;position:absolute}.pv-hover-action-menu:hover .pv-hover-action-menu__actions[data-v-6325cd25],.pv-hover-action-menu:focus-within .pv-hover-action-menu__actions[data-v-6325cd25]{display:flex}.pv-hover-action-menu--top-right .pv-hover-action-menu__actions[data-v-6325cd25]{top:var(--pv-hover-action-menu-offset-block,8px);right:var(--pv-hover-action-menu-offset-inline,8px)}.pv-hover-action-menu--top-left .pv-hover-action-menu__actions[data-v-6325cd25]{top:var(--pv-hover-action-menu-offset-block,8px);left:var(--pv-hover-action-menu-offset-inline,8px)}.pv-hover-action-menu--bottom-right .pv-hover-action-menu__actions[data-v-6325cd25]{right:var(--pv-hover-action-menu-offset-inline,8px);bottom:var(--pv-hover-action-menu-offset-block,8px)}.pv-hover-action-menu--bottom-left .pv-hover-action-menu__actions[data-v-6325cd25]{bottom:var(--pv-hover-action-menu-offset-block,8px);left:var(--pv-hover-action-menu-offset-inline,8px)}.pv-hover-action-menu__button[data-v-6325cd25] .pv-icon{margin:0}.pv-hover-action-menu__button[data-v-6325cd25],.pv-hover-action-menu__button[data-v-6325cd25] button{opacity:.7}.pv-hover-action-menu__button[data-v-6325cd25]:hover:not(:disabled),.pv-hover-action-menu__button[data-v-6325cd25] button:hover:not(:disabled){opacity:1}.pv-query-builder-input-wrapper[data-v-62aa7767]{background:var(--color-background-accent,var(--secondary-lighten-8,#f7f8f8));border-radius:var(--corner-radius-M,4px);border:1px solid var(--color-border,var(--stroke-light,#e3e7ea));cursor:text;--button-small-icon-only-padding:.1875rem;align-items:center;width:100%;min-height:2rem;padding:.1875rem .25rem;font-size:.75rem;display:flex;position:relative}.pv-query-builder-input-small[data-v-62aa7767]{--button-small-icon-only-padding:.0625rem;min-height:1.5rem;padding-block:.0625rem}.pv-query-builder-input[data-v-62aa7767]{justify-content:start;overflow-x:hidden}.pv-query-builder-input-wrapper input[data-v-62aa7767]{background:0 0;border:none;outline:none;flex:1rem;min-width:1rem;font-size:.75rem}.pv-query-builder-group-label[data-v-62aa7767]{padding:.5rem .5rem .25rem;font-weight:500;display:block}.pv-query-builder-option-active[data-v-62aa7767]{background-color:var(--popover-list-item-hover-background-color,#f5f5f5);border-radius:var(--popover-list-item-radius,4px)}.pv-query-builder-input-wrapper[data-v-62aa7767]:focus-within{border-color:var(--text-input-focus-border-color,#36c5ba)}
|
|
1
|
+
(function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.pv-badge-md[data-v-3def68cb]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-3def68cb]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-rounded[data-v-3def68cb]{border-radius:50%}[class*=pv-status]{&[data-v-f2cf1712]:before,&[data-v-f2cf1712]:after{margin-inline-end:0}}.pv-popover-list[data-v-fe6e9c6a]{font-size:14px}.pv-popover-pinned-sections[data-v-fe6e9c6a]{flex-direction:column;display:flex;overflow:hidden}.pv-popover-pinned-sections .pv-popover-list[data-v-fe6e9c6a]{overflow-y:auto}.pv-button-icon[aria-expanded=true][data-v-bb8eae3f]{background-color:var(--button-icon-pressed-background-color,#c7d8db)}.pv-select[data-v-bb8eae3f]{padding-top:4px;padding-bottom:4px}summary[data-v-dfa0b416]{background-image:none;padding-right:2px}.pv-input-search[data-v-9e0c84d9]{display:block}.pv-select-button-trigger-content[data-v-da9865ad]{min-width:0}.pv-select-button-trigger[data-v-da9865ad]{height:1.5rem;padding-block:0}.pv-select-button-trigger.pv-button-large[data-v-da9865ad]{height:2rem}.pv-select-button-trigger-label[data-v-da9865ad]{flex:auto;min-width:0}.pv-action-button-reveal-on-hover{opacity:0;transition:opacity .2s}.pv-label:hover .pv-action-button-reveal-on-hover{opacity:1}.pv-menu-popover[data-v-951d1d02]{z-index:50}.pv-popover-list>li[data-v-951d1d02]:last-child>.pv-label{margin-block-end:0}[data-v-951d1d02] .pv-menu-nested:after{content:"";border-top:1.5px solid;border-right:1.5px solid;flex-shrink:0;width:.4rem;height:.4rem;margin-left:auto;margin-right:.2rem;transform:rotate(45deg)}.dots-button[data-v-868db7a2]{background-color:#0000}.input-icon-position{pointer-events:none;position:absolute;top:8px;left:12px}.pv-insight-button[data-v-c1185c07]{position:absolute;top:.5rem;right:.5rem}.expandable-content[data-v-fc5fc7e0]{border-radius:.5rem}.expandable-content .pv-line-clamp[data-v-fc5fc7e0]{transition:max-height .3s ease-in-out}.pv-filter-panel-option-row[data-v-d5f24abf]{--flex-align:center;--flex-gap:.5rem;cursor:pointer;min-width:0;padding-left:calc(var(--pv-filter-panel-option-row-depth) * 1.25rem)}.pv-filter-panel-option-row-content[data-v-d5f24abf]{--flex-align:stretch;--flex-gap:0;flex:auto;min-width:0}.pv-filter-panel-option-row-disabled[data-v-d5f24abf]{cursor:not-allowed;opacity:.6}.pv-filter-panel-option-row-line[data-v-d5f24abf]{--lines:1}.pv-filter-panel-option-row-right[data-v-d5f24abf]{text-align:right;flex:none}summary[data-v-0b991fa5]{background-image:none;padding-right:2px}[data-v-0b991fa5] .pv-input-search{background-color:#fff}.suggested-title-label[data-v-0b991fa5]{text-underline-offset:2px;text-decoration:underline dotted}.pv-filter-panel-refresh-status[data-v-0b991fa5]{margin-left:auto;display:inline-flex}.pv-filter-modal-rail[data-v-e3f66d03]{--flex-align:stretch;flex:0 0 180px;padding-inline-end:1rem;overflow-y:auto}.pv-filter-modal-pane[data-v-e3f66d03]{flex:auto;min-width:0;min-height:0;padding-inline-start:1rem}.pv-filter-modal-options[data-v-e3f66d03]{min-height:360px;max-height:360px;overflow-y:auto}.pv-filter-modal-pane-actions[data-v-e3f66d03]{margin-top:auto;padding-top:.5rem}.pv-hover-action-menu[data-v-6325cd25]{position:relative}.pv-hover-action-menu__actions[data-v-6325cd25]{z-index:1;display:none;position:absolute}.pv-hover-action-menu:hover .pv-hover-action-menu__actions[data-v-6325cd25],.pv-hover-action-menu:focus-within .pv-hover-action-menu__actions[data-v-6325cd25]{display:flex}.pv-hover-action-menu--top-right .pv-hover-action-menu__actions[data-v-6325cd25]{top:var(--pv-hover-action-menu-offset-block,8px);right:var(--pv-hover-action-menu-offset-inline,8px)}.pv-hover-action-menu--top-left .pv-hover-action-menu__actions[data-v-6325cd25]{top:var(--pv-hover-action-menu-offset-block,8px);left:var(--pv-hover-action-menu-offset-inline,8px)}.pv-hover-action-menu--bottom-right .pv-hover-action-menu__actions[data-v-6325cd25]{right:var(--pv-hover-action-menu-offset-inline,8px);bottom:var(--pv-hover-action-menu-offset-block,8px)}.pv-hover-action-menu--bottom-left .pv-hover-action-menu__actions[data-v-6325cd25]{bottom:var(--pv-hover-action-menu-offset-block,8px);left:var(--pv-hover-action-menu-offset-inline,8px)}.pv-hover-action-menu__button[data-v-6325cd25] .pv-icon{margin:0}.pv-hover-action-menu__button[data-v-6325cd25],.pv-hover-action-menu__button[data-v-6325cd25] button{opacity:.7}.pv-hover-action-menu__button[data-v-6325cd25]:hover:not(:disabled),.pv-hover-action-menu__button[data-v-6325cd25] button:hover:not(:disabled){opacity:1}
|
|
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, getCurrentScope as p, guardReactiveProps as m, inject as h, isRef as g, mergeModels as _, mergeProps as v, nextTick as y, normalizeClass as b, normalizeProps as x, normalizeStyle as S, onBeforeUnmount as C, onBeforeUpdate as w, onMounted as T, onScopeDispose as E, onUnmounted as D, onUpdated as O, openBlock as k, provide as A, ref as j, renderList as M, renderSlot as N, resolveComponent as P, resolveDynamicComponent as F, shallowReactive as I, shallowRef as L, toDisplayString as R, toHandlers as z, toValue as B, unref as V, useAttrs as ee, useId as te, useModel as H, useSlots as ne, useTemplateRef as U, vModelCheckbox as W, vModelDynamic as re, vModelRadio as ie, vModelText as ae, vShow as oe, watch as G, watchEffect as se, withCtx as K, withDirectives as q, withKeys as ce, withModifiers as J } from "vue";
|
|
4
4
|
import { onClickOutside as Y, onKeyStroke as le, useDebounceFn as ue, useElementBounding as de, useElementHover as fe, useElementSize as X, useMutationObserver as Z, useResizeObserver as pe, useToggle as me, useWindowSize as he, watchDebounced as ge } from "@vueuse/core";
|
|
@@ -118,7 +118,7 @@ var We = {
|
|
|
118
118
|
"pv-surface-brand-inverse pv-text-inverse": t.variant == "primary",
|
|
119
119
|
"pv-badge-secondary": t.variant == "secondary",
|
|
120
120
|
"pv-surface-lighten-5": t.variant == "tertiary",
|
|
121
|
-
"pv-text-
|
|
121
|
+
"pv-text-subdued": t.variant == "ghost" || t.variant == "tertiary",
|
|
122
122
|
"pv-surface": t.variant == "ghost",
|
|
123
123
|
"pv-rounded": t.rounded
|
|
124
124
|
}));
|
|
@@ -131,7 +131,7 @@ var We = {
|
|
|
131
131
|
let n = e.__vccOpts || e;
|
|
132
132
|
for (let [e, r] of t) n[e] = r;
|
|
133
133
|
return n;
|
|
134
|
-
}, Ye = /* @__PURE__ */ Je(qe, [["__scopeId", "data-v-
|
|
134
|
+
}, Ye = /* @__PURE__ */ Je(qe, [["__scopeId", "data-v-3def68cb"]]), Xe = ["disabled", "aria-label"], Ze = {
|
|
135
135
|
key: 2,
|
|
136
136
|
"data-testid": "pv-button-label"
|
|
137
137
|
}, $ = /* @__PURE__ */ d({
|
|
@@ -1646,14 +1646,17 @@ var ir = /* @__PURE__ */ new Set(), ar = (e, t) => {
|
|
|
1646
1646
|
"size"
|
|
1647
1647
|
]));
|
|
1648
1648
|
}
|
|
1649
|
-
}), Sr = {
|
|
1650
|
-
class: "pv-split-
|
|
1649
|
+
}), Sr = {
|
|
1650
|
+
class: "pv-split-button pv-flex",
|
|
1651
|
+
style: { "--flex-gap": "0" }
|
|
1652
|
+
}, Cr = {
|
|
1653
|
+
class: "pv-split-button-menu-content pv-surface pv-bordered pv-radius pv-inset-square-8 pv-flex-vertical",
|
|
1651
1654
|
style: {
|
|
1652
1655
|
"--flex-gap": "4px",
|
|
1653
1656
|
"--flex-align": "flex-start",
|
|
1654
1657
|
width: "100%"
|
|
1655
1658
|
}
|
|
1656
|
-
}, wr = /* @__PURE__ */
|
|
1659
|
+
}, wr = /* @__PURE__ */ d({
|
|
1657
1660
|
__name: "PvSplitButton",
|
|
1658
1661
|
props: {
|
|
1659
1662
|
label: {},
|
|
@@ -1673,7 +1676,7 @@ var ir = /* @__PURE__ */ new Set(), ar = (e, t) => {
|
|
|
1673
1676
|
setup(e) {
|
|
1674
1677
|
let t = j(!1);
|
|
1675
1678
|
return (n, r) => (k(), o("div", Sr, [u($, {
|
|
1676
|
-
class: "pv-split-
|
|
1679
|
+
class: "pv-split-button-action",
|
|
1677
1680
|
label: e.label,
|
|
1678
1681
|
variant: e.variant,
|
|
1679
1682
|
leftIcon: e.leftIcon,
|
|
@@ -1703,7 +1706,7 @@ var ir = /* @__PURE__ */ new Set(), ar = (e, t) => {
|
|
|
1703
1706
|
offset: e.offset
|
|
1704
1707
|
}, {
|
|
1705
1708
|
trigger: K(() => [u($, {
|
|
1706
|
-
class: "pv-split-
|
|
1709
|
+
class: "pv-split-button-menu-trigger",
|
|
1707
1710
|
size: e.size,
|
|
1708
1711
|
variant: e.variant,
|
|
1709
1712
|
disabled: e.disabled,
|
|
@@ -1716,7 +1719,7 @@ var ir = /* @__PURE__ */ new Set(), ar = (e, t) => {
|
|
|
1716
1719
|
"inverse",
|
|
1717
1720
|
"leftIcon"
|
|
1718
1721
|
])]),
|
|
1719
|
-
content: K(() => [s("div", Cr, [N(n.$slots, "menu-content"
|
|
1722
|
+
content: K(() => [s("div", Cr, [N(n.$slots, "menu-content")])]),
|
|
1720
1723
|
_: 3
|
|
1721
1724
|
}, 8, [
|
|
1722
1725
|
"modelValue",
|
|
@@ -1724,7 +1727,7 @@ var ir = /* @__PURE__ */ new Set(), ar = (e, t) => {
|
|
|
1724
1727
|
"offset"
|
|
1725
1728
|
])]));
|
|
1726
1729
|
}
|
|
1727
|
-
}),
|
|
1730
|
+
}), Tr = /* @__PURE__ */ d({
|
|
1728
1731
|
__name: "PvReleaseBadge",
|
|
1729
1732
|
props: {
|
|
1730
1733
|
variant: {},
|
|
@@ -2086,11 +2089,11 @@ var ir = /* @__PURE__ */ new Set(), ar = (e, t) => {
|
|
|
2086
2089
|
}
|
|
2087
2090
|
}), Rr = {
|
|
2088
2091
|
role: "list",
|
|
2089
|
-
class: "pv-tab-list"
|
|
2092
|
+
class: "pv-tab-list pv-tab-list-underline"
|
|
2090
2093
|
}, zr = ["onClick", "data-active"], Br = {
|
|
2091
2094
|
class: "pv-text-body-xs",
|
|
2092
2095
|
style: { "font-weight": "500" }
|
|
2093
|
-
}, Vr = /* @__PURE__ */
|
|
2096
|
+
}, Vr = /* @__PURE__ */ d({
|
|
2094
2097
|
__name: "PvTabList",
|
|
2095
2098
|
props: {
|
|
2096
2099
|
modelValue: {},
|
|
@@ -2108,7 +2111,7 @@ var ir = /* @__PURE__ */ new Set(), ar = (e, t) => {
|
|
|
2108
2111
|
"data-active": e.modelValue === t.value ? !0 : null
|
|
2109
2112
|
}, [s("button", Br, R(t.label), 1)], 8, zr))), 128))])]));
|
|
2110
2113
|
}
|
|
2111
|
-
}),
|
|
2114
|
+
}), Hr = {
|
|
2112
2115
|
class: "pv-flex",
|
|
2113
2116
|
"data-testid": "pv-company-logo"
|
|
2114
2117
|
}, Ur = ["src"], Wr = /* @__PURE__ */ d({
|
|
@@ -2591,7 +2594,7 @@ be.extend(Ce), be.extend(xe), be.extend(Se);
|
|
|
2591
2594
|
var Ti = () => ({
|
|
2592
2595
|
getCondensedDate: ({ date: e }) => be(e).format("MM/DD/YYYY"),
|
|
2593
2596
|
getTime: ({ date: e, timezone: t }) => t === void 0 ? be(e).format("h:mm A") : be(e).tz(t).format("h:mm A z")
|
|
2594
|
-
}), Ei = /* @__PURE__ */
|
|
2597
|
+
}), Ei = /* @__PURE__ */ d({
|
|
2595
2598
|
__name: "PvDateTime",
|
|
2596
2599
|
props: {
|
|
2597
2600
|
variants: { default: "condensed" },
|
|
@@ -2618,7 +2621,7 @@ var Ti = () => ({
|
|
|
2618
2621
|
}])
|
|
2619
2622
|
}, R(a.value), 3));
|
|
2620
2623
|
}
|
|
2621
|
-
}),
|
|
2624
|
+
}), Di = (e) => e === "left" || e === "right" ? "horizontal" : "vertical", Oi = (e, t) => {
|
|
2622
2625
|
if (e == null || e === "") return;
|
|
2623
2626
|
if (typeof e == "number") return Number.isFinite(e) ? e : void 0;
|
|
2624
2627
|
let n = e.trim();
|
|
@@ -4187,7 +4190,7 @@ var ao = {
|
|
|
4187
4190
|
"disabled",
|
|
4188
4191
|
"aria-label",
|
|
4189
4192
|
"id"
|
|
4190
|
-
], ho = /* @__PURE__ */
|
|
4193
|
+
], ho = /* @__PURE__ */ d({
|
|
4191
4194
|
__name: "PvSwitch",
|
|
4192
4195
|
props: /* @__PURE__ */ _({
|
|
4193
4196
|
size: { default: "md" },
|
|
@@ -4228,7 +4231,7 @@ var ao = {
|
|
|
4228
4231
|
id: V(t)
|
|
4229
4232
|
}, null, 8, mo), [[W, n.value]])], 10, fo));
|
|
4230
4233
|
}
|
|
4231
|
-
}),
|
|
4234
|
+
}), go = ["aria-label"], _o = /* @__PURE__ */ d({
|
|
4232
4235
|
__name: "PvMenuItemAction",
|
|
4233
4236
|
props: {
|
|
4234
4237
|
action: {},
|
|
@@ -4284,7 +4287,7 @@ var ao = {
|
|
|
4284
4287
|
], ko = {
|
|
4285
4288
|
key: 4,
|
|
4286
4289
|
class: "pv-menu-item-action"
|
|
4287
|
-
}, Ao = ["aria-label", "aria-expanded"], jo = /* @__PURE__ */
|
|
4290
|
+
}, Ao = ["aria-label", "aria-expanded"], jo = /* @__PURE__ */ d({
|
|
4288
4291
|
inheritAttrs: !1,
|
|
4289
4292
|
__name: "PvMenuItemVariant",
|
|
4290
4293
|
props: {
|
|
@@ -4443,7 +4446,7 @@ var ao = {
|
|
|
4443
4446
|
}, null, 8, ["name"])], 8, Ao)) : a("", !0)
|
|
4444
4447
|
], 16, Do));
|
|
4445
4448
|
}
|
|
4446
|
-
}),
|
|
4449
|
+
}), Mo = ["data-active"], No = { key: 0 }, Po = 4, Fo = /* @__PURE__ */ d({
|
|
4447
4450
|
inheritAttrs: !1,
|
|
4448
4451
|
__name: "PvMenuItem",
|
|
4449
4452
|
props: /* @__PURE__ */ _({
|
|
@@ -5576,11 +5579,14 @@ var ao = {
|
|
|
5576
5579
|
}
|
|
5577
5580
|
}), es = ["id"], ts = {
|
|
5578
5581
|
key: 0,
|
|
5579
|
-
class: "
|
|
5580
|
-
}, ns = ["data-label"], rs = ["onDrop"], is = {
|
|
5582
|
+
class: "pv-sortable-list-divider-container"
|
|
5583
|
+
}, ns = ["data-label"], rs = ["onDrop"], is = {
|
|
5584
|
+
class: "pv-full-width pv-bordered pv-radius-md pv-flex pv-sortable-list-placeholder-dropzone",
|
|
5585
|
+
style: { "--flex-justify": "center" }
|
|
5586
|
+
}, as = { class: "pv-text-body-sm pv-text-tertiary" }, os = { style: { "max-width": "220px" } }, ss = {
|
|
5581
5587
|
key: 1,
|
|
5582
|
-
class: "pv-button-placeholder"
|
|
5583
|
-
}, cs = "--divider--", ls = "placeholder-", us = /* @__PURE__ */
|
|
5588
|
+
class: "pv-sortable-list-button-placeholder"
|
|
5589
|
+
}, cs = "--divider--", ls = "placeholder-", us = /* @__PURE__ */ d({
|
|
5584
5590
|
__name: "PvSortableList",
|
|
5585
5591
|
props: /* @__PURE__ */ _({
|
|
5586
5592
|
options: { default: () => [] },
|
|
@@ -5662,11 +5668,11 @@ var ao = {
|
|
|
5662
5668
|
y &&= (y.destroy(), null);
|
|
5663
5669
|
});
|
|
5664
5670
|
let E = (e) => {
|
|
5665
|
-
e.preventDefault(), x && e.currentTarget.classList.add("placeholder-drag-over");
|
|
5671
|
+
e.preventDefault(), x && e.currentTarget.classList.add("pv-sortable-list-placeholder-drag-over");
|
|
5666
5672
|
}, O = (e) => {
|
|
5667
|
-
e.currentTarget.classList.remove("placeholder-drag-over");
|
|
5673
|
+
e.currentTarget.classList.remove("pv-sortable-list-placeholder-drag-over");
|
|
5668
5674
|
}, A = (e, t) => {
|
|
5669
|
-
if (e.preventDefault(), e.currentTarget.classList.remove("placeholder-drag-over"), x) {
|
|
5675
|
+
if (e.preventDefault(), e.currentTarget.classList.remove("pv-sortable-list-placeholder-drag-over"), x) {
|
|
5670
5676
|
let e = x.id, r = n.options.find((t) => t.id === e);
|
|
5671
5677
|
if (r && !j(r)) {
|
|
5672
5678
|
let e = [...c.value];
|
|
@@ -5684,8 +5690,8 @@ var ao = {
|
|
|
5684
5690
|
return j(e) && (l(e) ? t.backgroundColor = "var(--color-background-accent, #f7f8f8)" : (t.backgroundColor = "var(--color-background-highlight, #E4F8F6)", t.borderColor = "var(--color-border-brand, #16696D)")), t;
|
|
5685
5691
|
}, L = (e) => {
|
|
5686
5692
|
let t = {};
|
|
5687
|
-
return F(e) && (t.backgroundColor = "transparent"),
|
|
5688
|
-
};
|
|
5693
|
+
return F(e) && (t.backgroundColor = "transparent"), t;
|
|
5694
|
+
}, z = (e) => !j(e) && !F(e) ? "pv-text-tertiary" : "pv-text-brand";
|
|
5689
5695
|
return (e, r) => (k(), o("div", {
|
|
5690
5696
|
ref_key: "containerRef",
|
|
5691
5697
|
ref: v
|
|
@@ -5698,11 +5704,11 @@ var ao = {
|
|
|
5698
5704
|
id: e.id,
|
|
5699
5705
|
class: "pv-stack-4"
|
|
5700
5706
|
}, [e.id === cs ? (k(), o("div", ts, [s("div", {
|
|
5701
|
-
class: "
|
|
5707
|
+
class: "pv-sortable-list-divider pv-text-default pv-text-body-xs pv-text-tertiary",
|
|
5702
5708
|
"data-label": N.value ? `Maximum of ${n.activeOptionLimit}` : ""
|
|
5703
5709
|
}, null, 8, ns)])) : e.id.includes(ls) ? (k(), o("div", {
|
|
5704
5710
|
key: 1,
|
|
5705
|
-
class: "placeholder-zone",
|
|
5711
|
+
class: "pv-sortable-list-placeholder-zone",
|
|
5706
5712
|
onDragover: r[0] ||= (e) => E(e),
|
|
5707
5713
|
onDragleave: r[1] ||= (e) => O(e),
|
|
5708
5714
|
onDrop: (t) => A(t, parseInt(e.id.split("-")[1]) + 1)
|
|
@@ -5712,14 +5718,14 @@ var ao = {
|
|
|
5712
5718
|
style: S(I(e))
|
|
5713
5719
|
}, [s("div", { class: b(["pv-flex pv-full-width pv-sort-option", { "pv-sort-option-locked": l(e) }]) }, [
|
|
5714
5720
|
u(Q, {
|
|
5715
|
-
class:
|
|
5721
|
+
class: "pv-text-tertiary",
|
|
5716
5722
|
name: l(e) ? "lock" : "reorder"
|
|
5717
|
-
}, null, 8, ["
|
|
5723
|
+
}, null, 8, ["name"]),
|
|
5718
5724
|
e.icon ? (k(), i(Q, {
|
|
5719
5725
|
key: 0,
|
|
5720
|
-
class:
|
|
5726
|
+
class: "pv-text-tertiary",
|
|
5721
5727
|
name: e.icon
|
|
5722
|
-
}, null, 8, ["
|
|
5728
|
+
}, null, 8, ["name"])) : a("", !0),
|
|
5723
5729
|
s("span", { class: b(["pv-text-body-sm", { "pv-text-tertiary": l(e) }]) }, R(e.text), 3),
|
|
5724
5730
|
l(e) && d(e) ? (k(), i(dr, {
|
|
5725
5731
|
key: 1,
|
|
@@ -5741,15 +5747,17 @@ var ao = {
|
|
|
5741
5747
|
ariaLabel: j(e) ? `Remove ${e.text}` : `Add ${e.text}`,
|
|
5742
5748
|
variant: "ghost",
|
|
5743
5749
|
style: S(L(e)),
|
|
5750
|
+
class: b(z(e)),
|
|
5744
5751
|
onClick: (t) => P(e)
|
|
5745
5752
|
}, null, 8, [
|
|
5746
5753
|
"left-icon",
|
|
5747
5754
|
"ariaLabel",
|
|
5748
5755
|
"style",
|
|
5756
|
+
"class",
|
|
5749
5757
|
"onClick"
|
|
5750
5758
|
])) : (k(), o("div", ss))], 6))], 8, es))), 128))], 512)], 512));
|
|
5751
5759
|
}
|
|
5752
|
-
}),
|
|
5760
|
+
}), ds = {
|
|
5753
5761
|
short: 5,
|
|
5754
5762
|
long: 7
|
|
5755
5763
|
}, fs = ({ variant: e = "long" } = {}) => ({ getPaginations: ({ currentPage: t, pages: n }) => {
|
|
@@ -5781,7 +5789,7 @@ var ao = {
|
|
|
5781
5789
|
}), r;
|
|
5782
5790
|
} }), ps = ["data-style"], ms = ["data-testid", "aria-current"], hs = {
|
|
5783
5791
|
key: 0,
|
|
5784
|
-
class: "dots-button",
|
|
5792
|
+
class: "dots-button pv-button-secondary pv-text-subdued",
|
|
5785
5793
|
disabled: ""
|
|
5786
5794
|
}, gs = ["onClick"], _s = /* @__PURE__ */ Je(/* @__PURE__ */ d({
|
|
5787
5795
|
__name: "PvPagination",
|
|
@@ -5832,7 +5840,7 @@ var ao = {
|
|
|
5832
5840
|
}, null, 8, ["disabled"])])
|
|
5833
5841
|
], 8, ps));
|
|
5834
5842
|
}
|
|
5835
|
-
}), [["__scopeId", "data-v-
|
|
5843
|
+
}), [["__scopeId", "data-v-868db7a2"]]), vs = ["for"], ys = [
|
|
5836
5844
|
"checked",
|
|
5837
5845
|
"type",
|
|
5838
5846
|
"value",
|
|
@@ -6356,7 +6364,6 @@ var ao = {
|
|
|
6356
6364
|
e.lowerLabel ? (k(), o("p", {
|
|
6357
6365
|
key: 1,
|
|
6358
6366
|
"data-testid": "pv-input-lower-label",
|
|
6359
|
-
style: { "margin-left": "12px" },
|
|
6360
6367
|
class: b(["pv-text-body-xs", {
|
|
6361
6368
|
"pv-text-red": e.error,
|
|
6362
6369
|
"pv-text-subdued": !e.error
|
|
@@ -6675,15 +6682,15 @@ var ao = {
|
|
|
6675
6682
|
title: e.label
|
|
6676
6683
|
}, R(e.label), 9, Ic)]));
|
|
6677
6684
|
}
|
|
6678
|
-
}), Rc = /* @__PURE__ */
|
|
6685
|
+
}), Rc = /* @__PURE__ */ d({
|
|
6679
6686
|
__name: "PvTreeReorderIcon",
|
|
6680
6687
|
setup(e) {
|
|
6681
6688
|
return (e, t) => (k(), i(Q, {
|
|
6682
6689
|
name: "reorder",
|
|
6683
|
-
class: "reorder-icon pv-text-tertiary"
|
|
6690
|
+
class: "pv-tree-reorder-icon pv-text-tertiary"
|
|
6684
6691
|
}));
|
|
6685
6692
|
}
|
|
6686
|
-
}),
|
|
6693
|
+
}), zc = /* @__PURE__ */ d({
|
|
6687
6694
|
__name: "PvButtonTreeItem",
|
|
6688
6695
|
props: {
|
|
6689
6696
|
selected: { type: Boolean },
|
|
@@ -6760,19 +6767,19 @@ var ao = {
|
|
|
6760
6767
|
onClick: s
|
|
6761
6768
|
}, null, 8, ["checked"])), N(t.$slots, "default")], 10, Bc));
|
|
6762
6769
|
}
|
|
6763
|
-
}), Hc = /* @__PURE__ */
|
|
6770
|
+
}), Hc = /* @__PURE__ */ d({
|
|
6764
6771
|
__name: "PvTreeConnector",
|
|
6765
6772
|
props: { isLast: { type: Boolean } },
|
|
6766
6773
|
setup(e) {
|
|
6767
6774
|
return (t, n) => (k(), o("div", { class: b(e.isLast ? "pv-tree-connector-end" : "pv-tree-connector-middle") }, null, 2));
|
|
6768
6775
|
}
|
|
6769
|
-
}),
|
|
6776
|
+
}), Uc = () => ({
|
|
6770
6777
|
indentPadding: (e, t = 0) => `${(e + t) * 24}px`,
|
|
6771
6778
|
connectorOffset: (e) => `${e * 24 + 8}px`,
|
|
6772
6779
|
showsConnector: (e, t) => !!(t && e[t]?.showNestedTree),
|
|
6773
6780
|
showsChildConnectors: (e, t) => !!e[t]?.showNestedTree,
|
|
6774
6781
|
childLevel: ({ level: e, showNestedTree: t, childrenShowNestedTree: n, additionalNestingLevel: r = 0 }) => e + (n && !t ? 0 : 1) + r
|
|
6775
|
-
}), Wc = /* @__PURE__ */
|
|
6782
|
+
}), Wc = /* @__PURE__ */ d({
|
|
6776
6783
|
__name: "PvTreeConnectorGroup",
|
|
6777
6784
|
props: {
|
|
6778
6785
|
active: { type: Boolean },
|
|
@@ -6783,9 +6790,9 @@ var ao = {
|
|
|
6783
6790
|
return (t, n) => (k(), o("div", {
|
|
6784
6791
|
class: b({ "pv-tree-connector-line": e.active }),
|
|
6785
6792
|
style: S(i.value)
|
|
6786
|
-
}, [N(t.$slots, "default"
|
|
6793
|
+
}, [N(t.$slots, "default")], 6));
|
|
6787
6794
|
}
|
|
6788
|
-
}),
|
|
6795
|
+
}), Gc = () => {
|
|
6789
6796
|
let e = j(null);
|
|
6790
6797
|
return {
|
|
6791
6798
|
hoveredId: e,
|
|
@@ -6878,7 +6885,7 @@ var ao = {
|
|
|
6878
6885
|
"pv-drop-indicator-parent": n?.parentId === t.node_id
|
|
6879
6886
|
};
|
|
6880
6887
|
} };
|
|
6881
|
-
}, $c = { class: "pv-flex pv-full-width" }, el = ["data-parent-id"], tl = /* @__PURE__ */
|
|
6888
|
+
}, $c = { class: "pv-flex pv-full-width" }, el = ["data-parent-id"], tl = /* @__PURE__ */ d({
|
|
6882
6889
|
__name: "PvSimpleNestedTreeItem",
|
|
6883
6890
|
props: {
|
|
6884
6891
|
option: {},
|
|
@@ -7012,7 +7019,7 @@ var ao = {
|
|
|
7012
7019
|
}, 8, ["active", "level"]);
|
|
7013
7020
|
};
|
|
7014
7021
|
}
|
|
7015
|
-
}),
|
|
7022
|
+
}), nl = ["data-parent-id"], rl = /* @__PURE__ */ d({
|
|
7016
7023
|
__name: "PvSimpleNestedTree",
|
|
7017
7024
|
props: {
|
|
7018
7025
|
option: {},
|
|
@@ -7150,7 +7157,7 @@ var ao = {
|
|
|
7150
7157
|
_: 1
|
|
7151
7158
|
}, 8, ["active", "level"]));
|
|
7152
7159
|
}
|
|
7153
|
-
}),
|
|
7160
|
+
}), il = ["data-parent-id"], al = { key: 2 }, ol = ["data-parent-id"], sl = /* @__PURE__ */ d({
|
|
7154
7161
|
__name: "PvTreeItem",
|
|
7155
7162
|
props: {
|
|
7156
7163
|
option: {},
|
|
@@ -7450,7 +7457,7 @@ var ao = {
|
|
|
7450
7457
|
}, 8, ["active", "level"]);
|
|
7451
7458
|
};
|
|
7452
7459
|
}
|
|
7453
|
-
}),
|
|
7460
|
+
}), cl = (e) => {
|
|
7454
7461
|
let t = [], n = !1;
|
|
7455
7462
|
function r(e) {
|
|
7456
7463
|
let t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = [];
|
|
@@ -7493,7 +7500,7 @@ var ao = {
|
|
|
7493
7500
|
newChildren: r
|
|
7494
7501
|
}), n || (n = !0, y(i));
|
|
7495
7502
|
} };
|
|
7496
|
-
}, ll = /* @__PURE__ */
|
|
7503
|
+
}, ll = /* @__PURE__ */ d({
|
|
7497
7504
|
__name: "PvTree",
|
|
7498
7505
|
props: /* @__PURE__ */ _({
|
|
7499
7506
|
settings: {},
|
|
@@ -7553,7 +7560,7 @@ var ao = {
|
|
|
7553
7560
|
return (n, r) => (k(), o("div", null, [s("div", {
|
|
7554
7561
|
ref_key: "treeRef",
|
|
7555
7562
|
ref: d,
|
|
7556
|
-
class: b(["pv-tree", { "pv-tree
|
|
7563
|
+
class: b(["pv-tree", { "pv-tree-disable-selection": e.disableSelection }])
|
|
7557
7564
|
}, [(k(!0), o(t, null, M(a.value, (t, n) => (k(), o("div", { key: t.node_id }, [u(sl, {
|
|
7558
7565
|
"is-last-root-item": n === a.value.length - 1,
|
|
7559
7566
|
"is-parent-path-open": !0,
|
|
@@ -7579,7 +7586,7 @@ var ao = {
|
|
|
7579
7586
|
"onUpdate:children"
|
|
7580
7587
|
])]))), 128))], 2)]));
|
|
7581
7588
|
}
|
|
7582
|
-
}),
|
|
7589
|
+
}), ul = /* @__PURE__ */ d({
|
|
7583
7590
|
__name: "PvTreeGroup",
|
|
7584
7591
|
setup(e) {
|
|
7585
7592
|
return Yc(), (e, t) => N(e.$slots, "default");
|
|
@@ -7667,10 +7674,321 @@ var ao = {
|
|
|
7667
7674
|
style: S(c(e, t))
|
|
7668
7675
|
}, null, 6))), 128))], 4));
|
|
7669
7676
|
}
|
|
7670
|
-
}), gl =
|
|
7677
|
+
}), gl = [
|
|
7678
|
+
1,
|
|
7679
|
+
1.5,
|
|
7680
|
+
2,
|
|
7681
|
+
3,
|
|
7682
|
+
4,
|
|
7683
|
+
5,
|
|
7684
|
+
6,
|
|
7685
|
+
8,
|
|
7686
|
+
10
|
|
7687
|
+
], _l = (e) => {
|
|
7688
|
+
let t = 10 ** Math.floor(Math.log10(e));
|
|
7689
|
+
return (gl.find((n) => e / t <= n) ?? 10) * t;
|
|
7690
|
+
}, vl = (e) => e > 0 ? _l(e) : 100, yl = (e) => e > 0 ? _l(e / 5) : 10, bl = (e) => {
|
|
7691
|
+
let t = yl(e), n = [];
|
|
7692
|
+
for (let r = 0; r * t <= e + 1e-6; r++) n.push(Number((r * t).toPrecision(12)));
|
|
7693
|
+
return n;
|
|
7694
|
+
}, xl = new Intl.NumberFormat("en-US", {
|
|
7695
|
+
style: "currency",
|
|
7696
|
+
currency: "USD",
|
|
7697
|
+
maximumFractionDigits: 0
|
|
7698
|
+
}), Sl = (e) => xl.format(e), Cl = [
|
|
7699
|
+
"width",
|
|
7700
|
+
"height",
|
|
7701
|
+
"aria-label"
|
|
7702
|
+
], wl = [
|
|
7703
|
+
"x1",
|
|
7704
|
+
"y1",
|
|
7705
|
+
"x2",
|
|
7706
|
+
"y2"
|
|
7707
|
+
], Tl = [
|
|
7708
|
+
"x1",
|
|
7709
|
+
"y1",
|
|
7710
|
+
"x2",
|
|
7711
|
+
"y2"
|
|
7712
|
+
], El = ["x", "y"], Dl = [
|
|
7713
|
+
"x1",
|
|
7714
|
+
"y1",
|
|
7715
|
+
"x2",
|
|
7716
|
+
"y2"
|
|
7717
|
+
], Ol = [
|
|
7718
|
+
"x1",
|
|
7719
|
+
"y1",
|
|
7720
|
+
"x2",
|
|
7721
|
+
"y2"
|
|
7722
|
+
], kl = [
|
|
7723
|
+
"x",
|
|
7724
|
+
"y",
|
|
7725
|
+
"width",
|
|
7726
|
+
"height"
|
|
7727
|
+
], Al = [
|
|
7728
|
+
"x1",
|
|
7729
|
+
"y1",
|
|
7730
|
+
"x2",
|
|
7731
|
+
"y2"
|
|
7732
|
+
], jl = {
|
|
7733
|
+
key: 0,
|
|
7734
|
+
"font-size": "10",
|
|
7735
|
+
"data-testid": "pv-box-plot-labels"
|
|
7736
|
+
}, Ml = [
|
|
7737
|
+
"x",
|
|
7738
|
+
"y",
|
|
7739
|
+
"font-weight"
|
|
7740
|
+
], Nl = ["x", "y"], Pl = {
|
|
7741
|
+
key: 1,
|
|
7742
|
+
"data-testid": "pv-box-plot-median-callout"
|
|
7743
|
+
}, Fl = [
|
|
7744
|
+
"x1",
|
|
7745
|
+
"y1",
|
|
7746
|
+
"x2",
|
|
7747
|
+
"y2"
|
|
7748
|
+
], Il = ["x", "y"], Ll = ["cx", "cy"], Rl = [
|
|
7749
|
+
"x1",
|
|
7750
|
+
"y1",
|
|
7751
|
+
"x2",
|
|
7752
|
+
"y2"
|
|
7753
|
+
], zl = ["x", "y"], Bl = {
|
|
7754
|
+
key: 2,
|
|
7755
|
+
"data-testid": "pv-box-plot-highlight"
|
|
7756
|
+
}, Vl = [
|
|
7757
|
+
"x1",
|
|
7758
|
+
"y1",
|
|
7759
|
+
"x2",
|
|
7760
|
+
"y2"
|
|
7761
|
+
], Hl = ["cx", "cy"], Ul = "var(--color-text-brand, #16696D)", Wl = "var(--color-text-tertiary, #6E8081)", Gl = "var(--color-border, #E3E7EA)", Kl = "var(--color-data-viz-3, #FF7A4E)", ql = "#02363D", Jl = "#B0E8E4", Yl = "#D2D8DC", Xl = 520, Zl = 7, Ql = 8, $l = 44, eu = 8, tu = 12, nu = /* @__PURE__ */ d({
|
|
7762
|
+
__name: "PvBoxPlot",
|
|
7763
|
+
props: {
|
|
7764
|
+
ariaLabel: { default: void 0 },
|
|
7765
|
+
height: { default: 180 },
|
|
7766
|
+
highlight: { default: null },
|
|
7767
|
+
hideLabels: {
|
|
7768
|
+
type: Boolean,
|
|
7769
|
+
default: !1
|
|
7770
|
+
},
|
|
7771
|
+
markers: { default: () => [] },
|
|
7772
|
+
stats: { default: null },
|
|
7773
|
+
valueFormatter: {
|
|
7774
|
+
type: Function,
|
|
7775
|
+
default: Sl
|
|
7776
|
+
},
|
|
7777
|
+
xMax: { default: null }
|
|
7778
|
+
},
|
|
7779
|
+
setup(e) {
|
|
7780
|
+
let n = e, i = {
|
|
7781
|
+
left: 40,
|
|
7782
|
+
right: 40,
|
|
7783
|
+
top: 44,
|
|
7784
|
+
bottom: 36
|
|
7785
|
+
}, c = U("container"), { width: l } = X(c), u = r(() => l.value || Xl), d = r(() => {
|
|
7786
|
+
let e = n.stats;
|
|
7787
|
+
if (!e) return null;
|
|
7788
|
+
let t = u.value - i.left - i.right, r = n.height - i.top - i.bottom, a = Math.max(e.p90, ...n.markers.map((e) => e.value), n.highlight ?? 0), o = n.xMax && n.xMax > 0 ? n.xMax : vl(a * 1.05), s = (e) => i.left + Math.min(Math.max(e, 0), o) / o * t, c = i.top + r / 2, l = Math.min($l, Math.max(r - eu, tu));
|
|
7789
|
+
return {
|
|
7790
|
+
x: s,
|
|
7791
|
+
cy: c,
|
|
7792
|
+
boxTop: c - l / 2,
|
|
7793
|
+
boxBottom: c + l / 2,
|
|
7794
|
+
axisY: i.top + r,
|
|
7795
|
+
axisStart: i.left,
|
|
7796
|
+
axisEnd: i.left + t,
|
|
7797
|
+
calloutY: i.top - 8,
|
|
7798
|
+
ticks: bl(o).map((e) => ({
|
|
7799
|
+
value: e,
|
|
7800
|
+
x: s(e)
|
|
7801
|
+
})),
|
|
7802
|
+
stats: e
|
|
7803
|
+
};
|
|
7804
|
+
}), f = r(() => {
|
|
7805
|
+
let e = d.value;
|
|
7806
|
+
return e ? [
|
|
7807
|
+
"p10",
|
|
7808
|
+
"p25",
|
|
7809
|
+
"p50",
|
|
7810
|
+
"p75",
|
|
7811
|
+
"p90"
|
|
7812
|
+
].map((t) => ({
|
|
7813
|
+
key: t,
|
|
7814
|
+
x: e.x(e.stats[t])
|
|
7815
|
+
})) : [];
|
|
7816
|
+
}), p = (e) => `${e.label} ${n.valueFormatter(e.value)}`, m = r(() => {
|
|
7817
|
+
let e = d.value;
|
|
7818
|
+
return e ? n.markers.filter((e) => e.label).map((t) => ({
|
|
7819
|
+
...t,
|
|
7820
|
+
x: e.x(t.value),
|
|
7821
|
+
color: t.color ?? Kl
|
|
7822
|
+
})) : [];
|
|
7823
|
+
}), h = r(() => n.stats ? `Median ${n.valueFormatter(n.stats.p50)}` : ""), g = r(() => {
|
|
7824
|
+
let e = d.value;
|
|
7825
|
+
if (!e || n.hideLabels) return !1;
|
|
7826
|
+
let t = e.x(e.stats.p50);
|
|
7827
|
+
return m.value.every((e) => {
|
|
7828
|
+
let n = h.value.length + p(e).length;
|
|
7829
|
+
return Math.abs(e.x - t) >= n * Zl / 2 + Ql;
|
|
7830
|
+
});
|
|
7831
|
+
}), _ = r(() => {
|
|
7832
|
+
if (n.ariaLabel) return n.ariaLabel;
|
|
7833
|
+
let e = n.stats;
|
|
7834
|
+
if (!e) return "";
|
|
7835
|
+
let t = n.valueFormatter, r = [`P10 ${t(e.p10)} to P90 ${t(e.p90)}, median ${t(e.p50)}`];
|
|
7836
|
+
for (let e of n.markers) r.push(`${e.label ?? "Marker"} ${t(e.value)}`);
|
|
7837
|
+
return r.join("; ");
|
|
7838
|
+
});
|
|
7839
|
+
return (n, r) => (k(), o("div", {
|
|
7840
|
+
ref_key: "container",
|
|
7841
|
+
ref: c
|
|
7842
|
+
}, [d.value ? (k(), o("svg", {
|
|
7843
|
+
key: 0,
|
|
7844
|
+
width: u.value,
|
|
7845
|
+
height: e.height,
|
|
7846
|
+
role: "img",
|
|
7847
|
+
"aria-label": _.value,
|
|
7848
|
+
display: "block",
|
|
7849
|
+
overflow: "visible"
|
|
7850
|
+
}, [
|
|
7851
|
+
s("line", {
|
|
7852
|
+
x1: d.value.axisStart,
|
|
7853
|
+
y1: d.value.axisY,
|
|
7854
|
+
x2: d.value.axisEnd,
|
|
7855
|
+
y2: d.value.axisY,
|
|
7856
|
+
style: S({ stroke: Gl })
|
|
7857
|
+
}, null, 12, wl),
|
|
7858
|
+
(k(!0), o(t, null, M(d.value.ticks, (t) => (k(), o("g", {
|
|
7859
|
+
key: t.value,
|
|
7860
|
+
"data-testid": "pv-box-plot-tick"
|
|
7861
|
+
}, [s("line", {
|
|
7862
|
+
x1: t.x,
|
|
7863
|
+
y1: d.value.axisY,
|
|
7864
|
+
x2: t.x,
|
|
7865
|
+
y2: d.value.axisY + 4,
|
|
7866
|
+
stroke: Yl
|
|
7867
|
+
}, null, 8, Tl), s("text", {
|
|
7868
|
+
x: t.x,
|
|
7869
|
+
y: d.value.axisY + 16,
|
|
7870
|
+
"font-size": "10",
|
|
7871
|
+
style: S({ fill: Wl }),
|
|
7872
|
+
"text-anchor": "middle"
|
|
7873
|
+
}, R(e.valueFormatter(t.value)), 13, El)]))), 128)),
|
|
7874
|
+
s("line", {
|
|
7875
|
+
x1: d.value.x(d.value.stats.p10),
|
|
7876
|
+
y1: d.value.cy,
|
|
7877
|
+
x2: d.value.x(d.value.stats.p90),
|
|
7878
|
+
y2: d.value.cy,
|
|
7879
|
+
style: S({ stroke: Ul }),
|
|
7880
|
+
"data-testid": "pv-box-plot-whisker"
|
|
7881
|
+
}, null, 12, Dl),
|
|
7882
|
+
(k(), o(t, null, M(["p10", "p90"], (e) => s("line", {
|
|
7883
|
+
key: e,
|
|
7884
|
+
x1: d.value.x(d.value.stats[e]),
|
|
7885
|
+
y1: d.value.cy - 8,
|
|
7886
|
+
x2: d.value.x(d.value.stats[e]),
|
|
7887
|
+
y2: d.value.cy + 8,
|
|
7888
|
+
style: S({ stroke: Ul }),
|
|
7889
|
+
"stroke-width": "1.5"
|
|
7890
|
+
}, null, 12, Ol)), 64)),
|
|
7891
|
+
s("rect", {
|
|
7892
|
+
x: d.value.x(d.value.stats.p25),
|
|
7893
|
+
y: d.value.boxTop,
|
|
7894
|
+
width: d.value.x(d.value.stats.p75) - d.value.x(d.value.stats.p25),
|
|
7895
|
+
height: d.value.boxBottom - d.value.boxTop,
|
|
7896
|
+
fill: Jl,
|
|
7897
|
+
"fill-opacity": "0.55",
|
|
7898
|
+
style: S({ stroke: Ul }),
|
|
7899
|
+
rx: "2",
|
|
7900
|
+
"data-testid": "pv-box-plot-box"
|
|
7901
|
+
}, null, 12, kl),
|
|
7902
|
+
s("line", {
|
|
7903
|
+
x1: d.value.x(d.value.stats.p50),
|
|
7904
|
+
y1: d.value.boxTop,
|
|
7905
|
+
x2: d.value.x(d.value.stats.p50),
|
|
7906
|
+
y2: d.value.boxBottom,
|
|
7907
|
+
stroke: ql,
|
|
7908
|
+
"stroke-width": "2.5",
|
|
7909
|
+
"data-testid": "pv-box-plot-median"
|
|
7910
|
+
}, null, 8, Al),
|
|
7911
|
+
e.hideLabels ? a("", !0) : (k(), o("g", jl, [(k(!0), o(t, null, M(f.value, (e) => (k(), o("text", {
|
|
7912
|
+
key: e.key,
|
|
7913
|
+
x: e.x,
|
|
7914
|
+
y: d.value.boxBottom + 14,
|
|
7915
|
+
"text-anchor": "middle",
|
|
7916
|
+
style: S({ fill: e.key === "p50" ? ql : Ul }),
|
|
7917
|
+
"font-weight": e.key === "p50" ? 600 : void 0
|
|
7918
|
+
}, R(e.key), 13, Ml))), 128)), (k(), o(t, null, M(["p10", "p90"], (t) => s("text", {
|
|
7919
|
+
key: `${t}-value`,
|
|
7920
|
+
x: d.value.x(d.value.stats[t]),
|
|
7921
|
+
y: d.value.boxTop - 10,
|
|
7922
|
+
"text-anchor": "middle",
|
|
7923
|
+
style: S({ fill: Ul })
|
|
7924
|
+
}, R(e.valueFormatter(d.value.stats[t])), 13, Nl)), 64))])),
|
|
7925
|
+
g.value ? (k(), o("g", Pl, [s("line", {
|
|
7926
|
+
x1: d.value.x(d.value.stats.p50),
|
|
7927
|
+
y1: d.value.boxTop,
|
|
7928
|
+
x2: d.value.x(d.value.stats.p50),
|
|
7929
|
+
y2: d.value.calloutY + 4,
|
|
7930
|
+
stroke: ql,
|
|
7931
|
+
"stroke-dasharray": "2 2",
|
|
7932
|
+
"stroke-opacity": "0.5"
|
|
7933
|
+
}, null, 8, Fl), s("text", {
|
|
7934
|
+
x: d.value.x(d.value.stats.p50),
|
|
7935
|
+
y: d.value.calloutY,
|
|
7936
|
+
"text-anchor": "middle",
|
|
7937
|
+
fill: ql,
|
|
7938
|
+
"font-size": "12",
|
|
7939
|
+
"font-weight": "700"
|
|
7940
|
+
}, R(h.value), 9, Il)])) : a("", !0),
|
|
7941
|
+
(k(!0), o(t, null, M(e.markers, (e, t) => (k(), o("circle", {
|
|
7942
|
+
key: `marker-${t}`,
|
|
7943
|
+
cx: d.value.x(e.value),
|
|
7944
|
+
cy: d.value.cy,
|
|
7945
|
+
r: "7",
|
|
7946
|
+
style: S({ fill: e.color ?? Kl }),
|
|
7947
|
+
stroke: "#fff",
|
|
7948
|
+
"stroke-width": "2",
|
|
7949
|
+
"data-testid": "pv-box-plot-marker"
|
|
7950
|
+
}, null, 12, Ll))), 128)),
|
|
7951
|
+
(k(!0), o(t, null, M(m.value, (e, t) => (k(), o("g", {
|
|
7952
|
+
key: `marker-label-${t}`,
|
|
7953
|
+
"data-testid": "pv-box-plot-marker-label"
|
|
7954
|
+
}, [s("line", {
|
|
7955
|
+
x1: e.x,
|
|
7956
|
+
y1: d.value.cy - 9,
|
|
7957
|
+
x2: e.x,
|
|
7958
|
+
y2: d.value.calloutY + 4,
|
|
7959
|
+
style: S({ stroke: e.color }),
|
|
7960
|
+
"stroke-dasharray": "2 2",
|
|
7961
|
+
"stroke-opacity": "0.6"
|
|
7962
|
+
}, null, 12, Rl), s("text", {
|
|
7963
|
+
x: e.x,
|
|
7964
|
+
y: d.value.calloutY,
|
|
7965
|
+
"text-anchor": "middle",
|
|
7966
|
+
style: S({ fill: e.color }),
|
|
7967
|
+
"font-size": "12",
|
|
7968
|
+
"font-weight": "700"
|
|
7969
|
+
}, R(p(e)), 13, zl)]))), 128)),
|
|
7970
|
+
e.highlight == null ? a("", !0) : (k(), o("g", Bl, [s("line", {
|
|
7971
|
+
x1: d.value.x(e.highlight),
|
|
7972
|
+
y1: d.value.boxTop - 4,
|
|
7973
|
+
x2: d.value.x(e.highlight),
|
|
7974
|
+
y2: d.value.boxBottom + 4,
|
|
7975
|
+
style: S({ stroke: Kl }),
|
|
7976
|
+
"stroke-width": "2",
|
|
7977
|
+
"stroke-dasharray": "3 2"
|
|
7978
|
+
}, null, 12, Vl), s("circle", {
|
|
7979
|
+
cx: d.value.x(e.highlight),
|
|
7980
|
+
cy: d.value.cy,
|
|
7981
|
+
r: "4",
|
|
7982
|
+
style: S({ fill: Kl }),
|
|
7983
|
+
stroke: "#fff",
|
|
7984
|
+
"stroke-width": "1.5"
|
|
7985
|
+
}, null, 12, Hl)]))
|
|
7986
|
+
], 8, Cl)) : a("", !0)], 512));
|
|
7987
|
+
}
|
|
7988
|
+
}), ru = {
|
|
7671
7989
|
key: 0,
|
|
7672
7990
|
class: "pv-range-single-slider"
|
|
7673
|
-
},
|
|
7991
|
+
}, iu = [
|
|
7674
7992
|
"id",
|
|
7675
7993
|
"aria-label",
|
|
7676
7994
|
"aria-valuetext",
|
|
@@ -7679,11 +7997,11 @@ var ao = {
|
|
|
7679
7997
|
"min",
|
|
7680
7998
|
"step",
|
|
7681
7999
|
"value"
|
|
7682
|
-
],
|
|
8000
|
+
], au = ["aria-label"], ou = {
|
|
7683
8001
|
key: 0,
|
|
7684
8002
|
class: "pv-space-between pv-text-body-xs pv-text-subdued",
|
|
7685
8003
|
style: { "line-height": "1" }
|
|
7686
|
-
},
|
|
8004
|
+
}, su = [
|
|
7687
8005
|
"aria-label",
|
|
7688
8006
|
"aria-valuetext",
|
|
7689
8007
|
"disabled",
|
|
@@ -7691,7 +8009,7 @@ var ao = {
|
|
|
7691
8009
|
"min",
|
|
7692
8010
|
"step",
|
|
7693
8011
|
"value"
|
|
7694
|
-
],
|
|
8012
|
+
], cu = [
|
|
7695
8013
|
"aria-label",
|
|
7696
8014
|
"aria-valuetext",
|
|
7697
8015
|
"disabled",
|
|
@@ -7699,7 +8017,7 @@ var ao = {
|
|
|
7699
8017
|
"min",
|
|
7700
8018
|
"step",
|
|
7701
8019
|
"value"
|
|
7702
|
-
],
|
|
8020
|
+
], lu = {
|
|
7703
8021
|
key: 1,
|
|
7704
8022
|
class: "pv-flex",
|
|
7705
8023
|
style: {
|
|
@@ -7707,15 +8025,15 @@ var ao = {
|
|
|
7707
8025
|
"--flex-gap": "0.75rem",
|
|
7708
8026
|
"--flex-wrap": "wrap"
|
|
7709
8027
|
}
|
|
7710
|
-
},
|
|
8028
|
+
}, uu = { class: "pv-text-body-sm" }, du = [
|
|
7711
8029
|
"disabled",
|
|
7712
8030
|
"step",
|
|
7713
8031
|
"value"
|
|
7714
|
-
],
|
|
8032
|
+
], fu = { class: "pv-text-body-sm" }, pu = [
|
|
7715
8033
|
"disabled",
|
|
7716
8034
|
"step",
|
|
7717
8035
|
"value"
|
|
7718
|
-
],
|
|
8036
|
+
], mu = 0, hu = 100, gu = 1e4, _u = "4.6875rem", vu = .01, yu = /* @__PURE__ */ d({
|
|
7719
8037
|
inheritAttrs: !1,
|
|
7720
8038
|
__name: "PvRange",
|
|
7721
8039
|
props: /* @__PURE__ */ _({
|
|
@@ -7807,7 +8125,7 @@ var ao = {
|
|
|
7807
8125
|
let r = se(t), i = Math.log(t.min + r), a = Math.log(t.max + r);
|
|
7808
8126
|
return Math.exp(i + n * (a - i)) - r;
|
|
7809
8127
|
}, J = (e, t) => Math.max(0, Math.min(100, K(e, t) * 100)), Y = r(() => {
|
|
7810
|
-
let e = E(t.min) ??
|
|
8128
|
+
let e = E(t.min) ?? mu, n = E(t.max) ?? hu;
|
|
7811
8129
|
return e > n ? {
|
|
7812
8130
|
max: e,
|
|
7813
8131
|
min: n
|
|
@@ -7830,7 +8148,7 @@ var ao = {
|
|
|
7830
8148
|
}
|
|
7831
8149
|
return t.split(".")[1]?.length ?? 0;
|
|
7832
8150
|
}, Z = r(() => {
|
|
7833
|
-
let e = E(t.min), n = E(t.max), r = E(c.value?.min), i = E(c.value?.max), a = e ?? Math.min(
|
|
8151
|
+
let e = E(t.min), n = E(t.max), r = E(c.value?.min), i = E(c.value?.max), a = e ?? Math.min(mu, r ?? mu, i ?? mu), o = n ?? Math.max(hu, r ?? hu, i ?? hu);
|
|
7834
8152
|
return a > o && ([a, o] = [o, a]), a === o && (o = a + (B.value > 0 ? B.value : 1)), {
|
|
7835
8153
|
max: o,
|
|
7836
8154
|
min: a
|
|
@@ -7871,14 +8189,14 @@ var ao = {
|
|
|
7871
8189
|
"--range-track-color": oe.value,
|
|
7872
8190
|
"--value-max": `${De.value}%`,
|
|
7873
8191
|
"--value-min": `${Ee.value}%`
|
|
7874
|
-
})), ke = r(() => ({ left: `${Ee.value}%` })), Ae = r(() => ({ left: `${De.value}%` })), je = r(() => E(c.value?.min) !== null || E(c.value?.max) !== null), Me = (e, t) => I.value ? Math.round(K(e, t) *
|
|
8192
|
+
})), ke = r(() => ({ left: `${Ee.value}%` })), Ae = r(() => ({ left: `${De.value}%` })), je = r(() => E(c.value?.min) !== null || E(c.value?.max) !== null), Me = (e, t) => I.value ? Math.round(K(e, t) * gu) : e, Ne = (e, t) => I.value ? q(e / gu, t) : e, Pe = r(() => I.value ? 0 : Z.value.min), Fe = r(() => I.value ? gu : Z.value.max), Ie = r(() => Me(Te.value.min, Z.value)), Le = r(() => Me(Te.value.max, Z.value)), Re = r(() => I.value ? 0 : Y.value.min), ze = r(() => I.value ? gu : Y.value.max), Be = r(() => Me(le.value, Y.value)), Ve = r(() => Math.max(P(Z.value.min).length, P(Z.value.max).length, 3)), He = r(() => {
|
|
7875
8193
|
let e = t.inputIcon ? "3.25rem" : "2rem";
|
|
7876
8194
|
return {
|
|
7877
8195
|
"--flex-align": "stretch",
|
|
7878
8196
|
"--flex-gap": "0",
|
|
7879
|
-
"--pv-range-input-width": `max(${
|
|
8197
|
+
"--pv-range-input-width": `max(${_u}, calc(${Ve.value}ch + ${e}))`
|
|
7880
8198
|
};
|
|
7881
|
-
}), Ue = () => E(t.min) !== null || Z.value.min ===
|
|
8199
|
+
}), Ue = () => E(t.min) !== null || Z.value.min === mu, We = () => E(t.max) !== null || Z.value.max === hu, Ge = (e, t) => {
|
|
7882
8200
|
c.value = {
|
|
7883
8201
|
max: t >= Z.value.max && We() ? null : t,
|
|
7884
8202
|
min: e <= Z.value.min && Ue() ? null : e
|
|
@@ -7925,7 +8243,7 @@ var ao = {
|
|
|
7925
8243
|
let a = e.key === "ArrowRight" || e.key === "ArrowUp" || e.key === "PageUp", o = e.key === "ArrowLeft" || e.key === "ArrowDown" || e.key === "PageDown";
|
|
7926
8244
|
if (!a && !o) return;
|
|
7927
8245
|
e.preventDefault();
|
|
7928
|
-
let s = a ? 1 : -1, c = e.key === "PageUp" || e.key === "PageDown" ? 10 : 1, l = xe(q(K(i, r) + s *
|
|
8246
|
+
let s = a ? 1 : -1, c = e.key === "PageUp" || e.key === "PageDown" ? 10 : 1, l = xe(q(K(i, r) + s * vu * c, r), a ? "up" : "down");
|
|
7929
8247
|
l === i && (l = i + s * _e(i, ne.value)), Xe(n), Je(n, l, !1);
|
|
7930
8248
|
}, ct = () => {
|
|
7931
8249
|
g.value !== "min" && (m.value = P(Te.value.min)), g.value !== "max" && (p.value = P(Te.value.max));
|
|
@@ -7970,7 +8288,7 @@ var ao = {
|
|
|
7970
8288
|
};
|
|
7971
8289
|
return G([Te, Z], ct, { immediate: !0 }), C(() => {
|
|
7972
8290
|
_t(), Qe();
|
|
7973
|
-
}), (n, r) => e.mode === "single" ? (k(), o("div",
|
|
8291
|
+
}), (n, r) => e.mode === "single" ? (k(), o("div", ru, [e.showValueTooltips && _.value ? (k(), o("span", {
|
|
7974
8292
|
key: 0,
|
|
7975
8293
|
class: "pv-range-tooltip",
|
|
7976
8294
|
style: S(fe.value)
|
|
@@ -7989,7 +8307,7 @@ var ao = {
|
|
|
7989
8307
|
onInput: it,
|
|
7990
8308
|
onPointerdown: rt,
|
|
7991
8309
|
onPointerup: $e
|
|
7992
|
-
}), null, 16,
|
|
8310
|
+
}), null, 16, iu)])) : (k(), o("div", v({ key: 1 }, V(l), {
|
|
7993
8311
|
class: "pv-flex-vertical",
|
|
7994
8312
|
"data-testid": "pv-range-dual",
|
|
7995
8313
|
role: "group",
|
|
@@ -7999,7 +8317,7 @@ var ao = {
|
|
|
7999
8317
|
"--flex-gap": "0"
|
|
8000
8318
|
}
|
|
8001
8319
|
}), [
|
|
8002
|
-
e.showBoundLabels ? (k(), o("div",
|
|
8320
|
+
e.showBoundLabels ? (k(), o("div", ou, [s("span", null, R(F(Z.value.min)), 1), s("span", null, R(F(Z.value.max)), 1)])) : a("", !0),
|
|
8003
8321
|
s("div", {
|
|
8004
8322
|
ref_key: "sliderRef",
|
|
8005
8323
|
ref: y,
|
|
@@ -8034,7 +8352,7 @@ var ao = {
|
|
|
8034
8352
|
onKeydown: r[0] ||= (e) => st(e, "min"),
|
|
8035
8353
|
onPointerdown: r[1] ||= (e) => Xe("min"),
|
|
8036
8354
|
onPointerup: Ye
|
|
8037
|
-
}, null, 40,
|
|
8355
|
+
}, null, 40, su),
|
|
8038
8356
|
s("input", {
|
|
8039
8357
|
class: "pv-range pv-range-dual-native pv-range-dual-native-max",
|
|
8040
8358
|
type: "range",
|
|
@@ -8051,14 +8369,14 @@ var ao = {
|
|
|
8051
8369
|
onKeydown: r[2] ||= (e) => st(e, "max"),
|
|
8052
8370
|
onPointerdown: r[3] ||= (e) => Xe("max"),
|
|
8053
8371
|
onPointerup: Ye
|
|
8054
|
-
}, null, 40,
|
|
8372
|
+
}, null, 40, cu)
|
|
8055
8373
|
], 38),
|
|
8056
|
-
e.showInputs ? (k(), o("div",
|
|
8374
|
+
e.showInputs ? (k(), o("div", lu, [
|
|
8057
8375
|
s("label", {
|
|
8058
8376
|
class: "pv-flex-vertical pv-range-input-label",
|
|
8059
8377
|
for: f,
|
|
8060
8378
|
style: S(He.value)
|
|
8061
|
-
}, [s("span",
|
|
8379
|
+
}, [s("span", uu, R(e.minLabel), 1), s("span", { class: b(["pv-range-input-field", { "pv-range-input-field-with-icon": e.inputIcon }]) }, [e.inputIcon ? (k(), i(Q, {
|
|
8062
8380
|
key: 0,
|
|
8063
8381
|
class: "pv-range-input-icon",
|
|
8064
8382
|
name: e.inputIcon
|
|
@@ -8075,12 +8393,12 @@ var ao = {
|
|
|
8075
8393
|
onFocus: r[5] ||= (e) => ft("min"),
|
|
8076
8394
|
onInput: ut,
|
|
8077
8395
|
onKeydown: r[6] ||= ce((e) => mt(e, "min"), ["enter"])
|
|
8078
|
-
}, null, 40,
|
|
8396
|
+
}, null, 40, du)], 2)], 4),
|
|
8079
8397
|
s("label", {
|
|
8080
8398
|
class: "pv-flex-vertical pv-range-input-label",
|
|
8081
8399
|
for: d,
|
|
8082
8400
|
style: S(He.value)
|
|
8083
|
-
}, [s("span",
|
|
8401
|
+
}, [s("span", fu, R(e.maxLabel), 1), s("span", { class: b(["pv-range-input-field", { "pv-range-input-field-with-icon": e.inputIcon }]) }, [e.inputIcon ? (k(), i(Q, {
|
|
8084
8402
|
key: 0,
|
|
8085
8403
|
class: "pv-range-input-icon",
|
|
8086
8404
|
name: e.inputIcon
|
|
@@ -8097,7 +8415,7 @@ var ao = {
|
|
|
8097
8415
|
onFocus: r[8] ||= (e) => ft("max"),
|
|
8098
8416
|
onInput: dt,
|
|
8099
8417
|
onKeydown: r[9] ||= ce((e) => mt(e, "max"), ["enter"])
|
|
8100
|
-
}, null, 40,
|
|
8418
|
+
}, null, 40, pu)], 2)], 4),
|
|
8101
8419
|
e.showClear && je.value ? (k(), i($, {
|
|
8102
8420
|
key: 0,
|
|
8103
8421
|
class: "pv-text-brand",
|
|
@@ -8114,26 +8432,26 @@ var ao = {
|
|
|
8114
8432
|
variant: "ghost",
|
|
8115
8433
|
onClick: Ze
|
|
8116
8434
|
}, null, 8, ["disabled"])) : a("", !0)
|
|
8117
|
-
], 16,
|
|
8435
|
+
], 16, au));
|
|
8118
8436
|
}
|
|
8119
|
-
}),
|
|
8437
|
+
}), bu = [
|
|
8120
8438
|
"aria-label",
|
|
8121
8439
|
"checked",
|
|
8122
8440
|
"disabled",
|
|
8123
8441
|
"name"
|
|
8124
|
-
],
|
|
8442
|
+
], xu = {
|
|
8125
8443
|
key: 3,
|
|
8126
8444
|
class: "pv-filter-panel-option-row-content pv-flex-vertical"
|
|
8127
|
-
},
|
|
8445
|
+
}, Su = { class: "pv-filter-panel-option-row-line pv-line-clamp pv-text-body-sm" }, Cu = {
|
|
8128
8446
|
key: 0,
|
|
8129
8447
|
class: "pv-filter-panel-option-row-line pv-line-clamp pv-text-body-xs pv-text-subdued"
|
|
8130
|
-
},
|
|
8448
|
+
}, wu = {
|
|
8131
8449
|
key: 1,
|
|
8132
8450
|
class: "pv-filter-panel-option-row-line pv-line-clamp pv-text-body-xs pv-text-subdued"
|
|
8133
|
-
},
|
|
8451
|
+
}, Tu = {
|
|
8134
8452
|
key: 4,
|
|
8135
8453
|
class: "pv-filter-panel-option-row-right pv-text-body-xs pv-text-subdued"
|
|
8136
|
-
},
|
|
8454
|
+
}, Eu = /* @__PURE__ */ Je(/* @__PURE__ */ d({
|
|
8137
8455
|
__name: "PvFilterPanelOptionRow",
|
|
8138
8456
|
props: {
|
|
8139
8457
|
ariaLabel: {},
|
|
@@ -8206,7 +8524,7 @@ var ao = {
|
|
|
8206
8524
|
disabled: e.disabled,
|
|
8207
8525
|
name: e.name,
|
|
8208
8526
|
onChange: g
|
|
8209
|
-
}, null, 40,
|
|
8527
|
+
}, null, 40, bu)) : (k(), i(Ks, {
|
|
8210
8528
|
key: 1,
|
|
8211
8529
|
ariaLabel: e.ariaLabel || e.label,
|
|
8212
8530
|
disabled: e.disabled,
|
|
@@ -8219,12 +8537,12 @@ var ao = {
|
|
|
8219
8537
|
"indeterminate",
|
|
8220
8538
|
"modelValue"
|
|
8221
8539
|
])),
|
|
8222
|
-
e.renderer ? (k(), i(F(e.renderer), x(v({ key: 2 }, m.value)), null, 16)) : (k(), o("span",
|
|
8223
|
-
s("span",
|
|
8224
|
-
e.subduedText ? (k(), o("span",
|
|
8225
|
-
e.subText ? (k(), o("span",
|
|
8540
|
+
e.renderer ? (k(), i(F(e.renderer), x(v({ key: 2 }, m.value)), null, 16)) : (k(), o("span", xu, [
|
|
8541
|
+
s("span", Su, R(e.label), 1),
|
|
8542
|
+
e.subduedText ? (k(), o("span", Cu, R(e.subduedText), 1)) : a("", !0),
|
|
8543
|
+
e.subText ? (k(), o("span", wu, R(e.subText), 1)) : a("", !0)
|
|
8226
8544
|
])),
|
|
8227
|
-
f.value ? (k(), o("span",
|
|
8545
|
+
f.value ? (k(), o("span", Tu, [N(t.$slots, "result-count", {}, () => [l("(" + R(e.resultCount) + ")", 1)], !0)])) : a("", !0),
|
|
8228
8546
|
e.showFocusAction ? (k(), i($, {
|
|
8229
8547
|
key: 5,
|
|
8230
8548
|
ariaLabel: e.isFocused ? `Remove ${e.focusText}` : `Select as ${e.focusText}`,
|
|
@@ -8240,26 +8558,26 @@ var ao = {
|
|
|
8240
8558
|
])) : a("", !0)
|
|
8241
8559
|
], 6));
|
|
8242
8560
|
}
|
|
8243
|
-
}), [["__scopeId", "data-v-d5f24abf"]]),
|
|
8561
|
+
}), [["__scopeId", "data-v-d5f24abf"]]), Du = [
|
|
8244
8562
|
"totalCount",
|
|
8245
8563
|
"total_count",
|
|
8246
8564
|
"resultCount",
|
|
8247
8565
|
"result_count",
|
|
8248
8566
|
"row_count",
|
|
8249
8567
|
"count"
|
|
8250
|
-
],
|
|
8568
|
+
], Ou = new Intl.NumberFormat("en-US", {
|
|
8251
8569
|
maximumFractionDigits: 1,
|
|
8252
8570
|
notation: "compact"
|
|
8253
|
-
}),
|
|
8254
|
-
if (typeof e == "number" && Number.isFinite(e)) return
|
|
8571
|
+
}), ku = (e) => typeof e == "object" && !!e, Au = (e) => {
|
|
8572
|
+
if (typeof e == "number" && Number.isFinite(e)) return Ou.format(e);
|
|
8255
8573
|
if (typeof e == "string") {
|
|
8256
8574
|
let t = e.trim();
|
|
8257
8575
|
if (!t) return;
|
|
8258
8576
|
let n = Number(t);
|
|
8259
|
-
return Number.isFinite(n) ?
|
|
8577
|
+
return Number.isFinite(n) ? Ou.format(n) : e;
|
|
8260
8578
|
}
|
|
8261
|
-
},
|
|
8262
|
-
let n =
|
|
8579
|
+
}, ju = (e, t) => t ?? (e === "currency" || e === "integer" || e === "percent" ? 0 : 2), Mu = (e, t = {}) => {
|
|
8580
|
+
let n = ju(t.dataType, t.valueDecimals);
|
|
8263
8581
|
if (t.dataType === "currency") return new Intl.NumberFormat("en-US", {
|
|
8264
8582
|
currency: "USD",
|
|
8265
8583
|
maximumFractionDigits: n,
|
|
@@ -8271,11 +8589,11 @@ var ao = {
|
|
|
8271
8589
|
minimumFractionDigits: n
|
|
8272
8590
|
}).format(e);
|
|
8273
8591
|
return t.dataType === "percent" ? `${r}%` : r;
|
|
8274
|
-
},
|
|
8592
|
+
}, Nu = (e, t, n = {}) => e !== null && t !== null ? `${Mu(e, n)}–${Mu(t, n)}` : e === null ? t === null ? "" : `≤ ${Mu(t, n)}` : `${Mu(e, n)}+`, Pu = (e, t) => {
|
|
8275
8593
|
let n = typeof t?.context?.filterValueFormatter == "function" ? t.context.filterValueFormatter : typeof t?.valueFormatter == "function" ? t.valueFormatter : null;
|
|
8276
8594
|
if (!n) return null;
|
|
8277
8595
|
try {
|
|
8278
|
-
let t = e.rawValue !== null && e.rawValue !== void 0 ? e.rawValue :
|
|
8596
|
+
let t = e.rawValue !== null && e.rawValue !== void 0 ? e.rawValue : ku(e.metadata) && e.metadata.rawValue !== null && e.metadata.rawValue !== void 0 ? e.metadata.rawValue : e.value;
|
|
8279
8597
|
return n({
|
|
8280
8598
|
context: e.metadata,
|
|
8281
8599
|
value: t
|
|
@@ -8283,24 +8601,24 @@ var ao = {
|
|
|
8283
8601
|
} catch {
|
|
8284
8602
|
return null;
|
|
8285
8603
|
}
|
|
8286
|
-
},
|
|
8604
|
+
}, Fu = (e, t) => {
|
|
8287
8605
|
let n = e.metadata;
|
|
8288
|
-
if (!
|
|
8606
|
+
if (!ku(n)) return null;
|
|
8289
8607
|
for (let e of t?.context?.metadataDisplayFields ?? []) {
|
|
8290
8608
|
let t = n[e];
|
|
8291
8609
|
if (t != null && String(t).trim()) return String(t);
|
|
8292
8610
|
}
|
|
8293
8611
|
return null;
|
|
8294
|
-
},
|
|
8295
|
-
let t =
|
|
8612
|
+
}, Iu = (e, t) => e.label || Fu(e, t) || Pu(e, t) || e.value, Lu = (e) => {
|
|
8613
|
+
let t = Au(e?.resultCount);
|
|
8296
8614
|
if (t !== void 0) return t;
|
|
8297
8615
|
let n = e?.metadata;
|
|
8298
|
-
if (
|
|
8299
|
-
let t =
|
|
8616
|
+
if (ku(n)) for (let e of Du) {
|
|
8617
|
+
let t = Au(n[e]);
|
|
8300
8618
|
if (t !== void 0) return t;
|
|
8301
8619
|
}
|
|
8302
|
-
return
|
|
8303
|
-
},
|
|
8620
|
+
return Au(e?.totalChildCount);
|
|
8621
|
+
}, Ru = "__pv_filter_panel_scoped_value__", zu = (e) => typeof e == "object" && !!e, Bu = (e) => {
|
|
8304
8622
|
try {
|
|
8305
8623
|
let t = JSON.parse(decodeURIComponent(e));
|
|
8306
8624
|
return Array.isArray(t) ? t.flatMap((e) => {
|
|
@@ -8314,7 +8632,7 @@ var ao = {
|
|
|
8314
8632
|
} catch {
|
|
8315
8633
|
return [];
|
|
8316
8634
|
}
|
|
8317
|
-
},
|
|
8635
|
+
}, Vu = (e) => {
|
|
8318
8636
|
if (!e.startsWith("__")) return null;
|
|
8319
8637
|
let t = e.slice(2).split("__");
|
|
8320
8638
|
if (t.length < 2 || !t[0] || !t[1]) return null;
|
|
@@ -8327,76 +8645,76 @@ var ao = {
|
|
|
8327
8645
|
pairs: n,
|
|
8328
8646
|
value: n[0].value
|
|
8329
8647
|
};
|
|
8330
|
-
},
|
|
8648
|
+
}, Hu = (e) => {
|
|
8331
8649
|
if (e == null) return null;
|
|
8332
|
-
if (!e.startsWith(
|
|
8650
|
+
if (!e.startsWith(Ru)) return Vu(e) ?? {
|
|
8333
8651
|
pairs: [],
|
|
8334
8652
|
value: e
|
|
8335
8653
|
};
|
|
8336
|
-
let t =
|
|
8654
|
+
let t = Bu(e.slice(32));
|
|
8337
8655
|
return {
|
|
8338
8656
|
field: t[0]?.field,
|
|
8339
8657
|
pairs: t,
|
|
8340
8658
|
value: t[0]?.value ?? e
|
|
8341
8659
|
};
|
|
8342
|
-
},
|
|
8660
|
+
}, Uu = (e, t) => `${Ru}${encodeURIComponent(JSON.stringify([[e, t]]))}`, Wu = (e) => e ? e.rawValue !== null && e.rawValue !== void 0 ? String(e.rawValue) : zu(e.metadata) && e.metadata.rawValue !== null && e.metadata.rawValue !== void 0 ? String(e.metadata.rawValue) : e.matchedValue !== null && e.matchedValue !== void 0 ? String(e.matchedValue) : Hu(e.value)?.value ?? e.value : null, Gu = (e, t) => e?.field ? e.field : e?.colField ? e.colField : Hu(e?.value)?.field ?? t, Ku = (e) => e.flatMap((e) => [e, ...e.children?.length ? Ku(e.children) : []]), qu = (e, t, n, r) => Gu(e, r) === t && Wu(e) === n, Ju = (e) => {
|
|
8343
8661
|
let t = e;
|
|
8344
8662
|
return t?.filterType === "join" && Array.isArray(t.conditions);
|
|
8345
|
-
},
|
|
8663
|
+
}, Yu = (e) => {
|
|
8346
8664
|
let t = e;
|
|
8347
|
-
return
|
|
8665
|
+
return Ju(e) ? {
|
|
8348
8666
|
...t,
|
|
8349
|
-
conditions: (t.conditions ?? []).map(
|
|
8667
|
+
conditions: (t.conditions ?? []).map(Yu)
|
|
8350
8668
|
} : { ...t };
|
|
8351
|
-
},
|
|
8669
|
+
}, Xu = (e, t) => {
|
|
8352
8670
|
if (!e) return null;
|
|
8353
8671
|
let n = t instanceof Set ? t : new Set(t);
|
|
8354
|
-
if (!n.size) return
|
|
8355
|
-
if (!
|
|
8672
|
+
if (!n.size) return Yu(e);
|
|
8673
|
+
if (!Ju(e)) {
|
|
8356
8674
|
let t = e;
|
|
8357
|
-
return typeof t.colId == "string" && n.has(t.colId) ? null :
|
|
8675
|
+
return typeof t.colId == "string" && n.has(t.colId) ? null : Yu(e);
|
|
8358
8676
|
}
|
|
8359
|
-
let r = e, i = (r.conditions ?? []).map((e) =>
|
|
8677
|
+
let r = e, i = (r.conditions ?? []).map((e) => Xu(e, n)).filter((e) => !!e);
|
|
8360
8678
|
return i.length ? i.length === 1 ? i[0] : {
|
|
8361
8679
|
...r,
|
|
8362
8680
|
conditions: i
|
|
8363
8681
|
} : null;
|
|
8364
|
-
},
|
|
8682
|
+
}, Zu = (e) => e ? [e.field, ...(e.children ?? []).flatMap(Zu)] : [], Qu = (e) => e ? e.children?.length ? e.children.flatMap(Qu) : [e.field] : [], $u = (e) => {
|
|
8365
8683
|
let t = e?.context ?? {};
|
|
8366
|
-
return t.aggregateFieldHierarchy ?
|
|
8367
|
-
},
|
|
8684
|
+
return t.aggregateFieldHierarchy ? Zu(t.aggregateFieldHierarchy) : t.aggregateFields ?? [];
|
|
8685
|
+
}, ed = (e) => {
|
|
8368
8686
|
let t = e?.context ?? {};
|
|
8369
8687
|
return t.aggregateFieldHierarchy ? t.aggregateFieldHierarchy.field : t.aggregateFields?.[t.aggregateFields.length - 1];
|
|
8370
|
-
},
|
|
8688
|
+
}, td = (e) => $u(e).length > 0, nd = (e, t) => {
|
|
8371
8689
|
for (let n of e ?? []) {
|
|
8372
8690
|
if (!n) continue;
|
|
8373
8691
|
if (n.value === t) return n;
|
|
8374
|
-
let e =
|
|
8692
|
+
let e = nd(n.children, t);
|
|
8375
8693
|
if (e) return e;
|
|
8376
8694
|
}
|
|
8377
|
-
},
|
|
8695
|
+
}, rd = (e, t, n = []) => {
|
|
8378
8696
|
for (let r of e ?? []) {
|
|
8379
8697
|
if (!r) continue;
|
|
8380
8698
|
let e = [...n, r];
|
|
8381
8699
|
if (r.value === t) return e;
|
|
8382
|
-
let i =
|
|
8700
|
+
let i = rd(r.children, t, e);
|
|
8383
8701
|
if (i) return i;
|
|
8384
8702
|
}
|
|
8385
|
-
},
|
|
8386
|
-
let n =
|
|
8703
|
+
}, id = (e, t) => {
|
|
8704
|
+
let n = nd(t, e), r = n ? Gu(n, "") : void 0, i = n ? Wu(n) : null;
|
|
8387
8705
|
if (r && i !== null) return {
|
|
8388
8706
|
field: r,
|
|
8389
8707
|
value: i
|
|
8390
8708
|
};
|
|
8391
|
-
let a =
|
|
8709
|
+
let a = Hu(e);
|
|
8392
8710
|
return {
|
|
8393
8711
|
field: a?.field,
|
|
8394
8712
|
value: a?.value ?? e
|
|
8395
8713
|
};
|
|
8396
|
-
},
|
|
8714
|
+
}, ad = (e, t, n) => {
|
|
8397
8715
|
let r = (e) => {
|
|
8398
8716
|
if (!e) return;
|
|
8399
|
-
let i =
|
|
8717
|
+
let i = Gu(e, ""), a = Wu(e);
|
|
8400
8718
|
if (i === t && a === n) return e.value;
|
|
8401
8719
|
for (let t of e.children ?? []) {
|
|
8402
8720
|
let e = r(t);
|
|
@@ -8408,9 +8726,9 @@ var ao = {
|
|
|
8408
8726
|
if (e) return e;
|
|
8409
8727
|
}
|
|
8410
8728
|
return `__${t}__${n}`;
|
|
8411
|
-
},
|
|
8729
|
+
}, od = (e) => (e ?? []).flatMap((e) => [...e.state === "deselected" ? [e] : [], ...od(e.children)]), sd = (e, t) => {
|
|
8412
8730
|
if (e.state !== "selected") return null;
|
|
8413
|
-
let { field: n, value: r } =
|
|
8731
|
+
let { field: n, value: r } = id(e.id, t);
|
|
8414
8732
|
if (!n) return null;
|
|
8415
8733
|
let i = [{
|
|
8416
8734
|
colId: n,
|
|
@@ -8418,8 +8736,8 @@ var ao = {
|
|
|
8418
8736
|
filterType: "text",
|
|
8419
8737
|
type: "equals"
|
|
8420
8738
|
}];
|
|
8421
|
-
for (let n of
|
|
8422
|
-
let e =
|
|
8739
|
+
for (let n of od(e.children)) {
|
|
8740
|
+
let e = id(n.id, t);
|
|
8423
8741
|
e.field && i.push({
|
|
8424
8742
|
colId: e.field,
|
|
8425
8743
|
filter: e.value,
|
|
@@ -8432,10 +8750,10 @@ var ao = {
|
|
|
8432
8750
|
filterType: "join",
|
|
8433
8751
|
type: "AND"
|
|
8434
8752
|
};
|
|
8435
|
-
},
|
|
8436
|
-
let t =
|
|
8753
|
+
}, cd = (e) => {
|
|
8754
|
+
let t = $u(e.colDef), n = Xu(e.baseModel, t);
|
|
8437
8755
|
if (!t.length) return n;
|
|
8438
|
-
let r = e.state.map((t) =>
|
|
8756
|
+
let r = e.state.map((t) => sd(t, e.options)).filter((e) => !!e);
|
|
8439
8757
|
if (!r.length) return n;
|
|
8440
8758
|
let i = r.length === 1 ? r[0] : {
|
|
8441
8759
|
conditions: r,
|
|
@@ -8447,17 +8765,17 @@ var ao = {
|
|
|
8447
8765
|
filterType: "join",
|
|
8448
8766
|
type: "AND"
|
|
8449
8767
|
} : i;
|
|
8450
|
-
},
|
|
8768
|
+
}, ld = (e, t, n) => {
|
|
8451
8769
|
if (!e) return [];
|
|
8452
8770
|
let r = e;
|
|
8453
|
-
if (
|
|
8771
|
+
if (Ju(e)) {
|
|
8454
8772
|
let e = r.conditions ?? [];
|
|
8455
8773
|
if (r.type === "AND") {
|
|
8456
8774
|
let r = e.find((e) => {
|
|
8457
8775
|
let r = e;
|
|
8458
8776
|
return r.filterType !== "join" && typeof r.colId == "string" && t.has(r.colId) && r.type === "equals" && !n.has(r.colId);
|
|
8459
8777
|
});
|
|
8460
|
-
return e.flatMap((e) =>
|
|
8778
|
+
return e.flatMap((e) => ld(e, t, n).map((e) => ({
|
|
8461
8779
|
...e,
|
|
8462
8780
|
parentEquals: e.parentEquals || (r?.colId ? {
|
|
8463
8781
|
colId: r.colId,
|
|
@@ -8465,20 +8783,20 @@ var ao = {
|
|
|
8465
8783
|
} : void 0)
|
|
8466
8784
|
})));
|
|
8467
8785
|
}
|
|
8468
|
-
return e.flatMap((e) =>
|
|
8786
|
+
return e.flatMap((e) => ld(e, t, n));
|
|
8469
8787
|
}
|
|
8470
8788
|
return r.colId && t.has(r.colId) ? [{
|
|
8471
8789
|
colId: r.colId,
|
|
8472
8790
|
filter: r.filter == null ? void 0 : String(r.filter),
|
|
8473
8791
|
type: r.type
|
|
8474
8792
|
}] : [];
|
|
8475
|
-
},
|
|
8476
|
-
let t =
|
|
8793
|
+
}, ud = (e) => {
|
|
8794
|
+
let t = $u(e.colDef);
|
|
8477
8795
|
if (!t.length) return [];
|
|
8478
|
-
let n = new Set(
|
|
8796
|
+
let n = new Set(Qu(e.colDef.context?.aggregateFieldHierarchy)), r = ed(e.colDef), i = ld(e.model, new Set(t), n), a = /* @__PURE__ */ new Map();
|
|
8479
8797
|
for (let t of i) {
|
|
8480
8798
|
if (!t.filter) continue;
|
|
8481
|
-
let n =
|
|
8799
|
+
let n = ad(e.options, t.colId, String(t.filter));
|
|
8482
8800
|
if (t.type === "equals") {
|
|
8483
8801
|
let e = a.get(n);
|
|
8484
8802
|
a.set(n, {
|
|
@@ -8489,7 +8807,7 @@ var ao = {
|
|
|
8489
8807
|
continue;
|
|
8490
8808
|
}
|
|
8491
8809
|
if (t.type === "notEqual" && t.parentEquals?.filter && r) {
|
|
8492
|
-
let r =
|
|
8810
|
+
let r = ad(e.options, t.parentEquals.colId, String(t.parentEquals.filter)), i = a.get(r) ?? {
|
|
8493
8811
|
children: [],
|
|
8494
8812
|
id: r,
|
|
8495
8813
|
state: "selected"
|
|
@@ -8501,155 +8819,155 @@ var ao = {
|
|
|
8501
8819
|
}
|
|
8502
8820
|
}
|
|
8503
8821
|
return [...a.values()];
|
|
8504
|
-
},
|
|
8505
|
-
let t = /* @__PURE__ */ new Map(), n =
|
|
8822
|
+
}, dd = (e) => {
|
|
8823
|
+
let t = /* @__PURE__ */ new Map(), n = $u(e.colDef);
|
|
8506
8824
|
if (!n.length) return t;
|
|
8507
|
-
let r =
|
|
8825
|
+
let r = ld(e.model, new Set(n), new Set(Qu(e.colDef.context?.aggregateFieldHierarchy)));
|
|
8508
8826
|
for (let e of r) {
|
|
8509
8827
|
if (e.type !== "equals" || !e.filter) continue;
|
|
8510
8828
|
let n = t.get(e.colId) ?? [];
|
|
8511
8829
|
n.includes(e.filter) || n.push(e.filter), t.set(e.colId, n);
|
|
8512
8830
|
}
|
|
8513
8831
|
return t;
|
|
8514
|
-
},
|
|
8832
|
+
}, fd = (e) => e.map((e) => ({
|
|
8515
8833
|
...e,
|
|
8516
8834
|
children: e.children?.map((e) => ({
|
|
8517
8835
|
...e,
|
|
8518
|
-
children: e.children ?
|
|
8836
|
+
children: e.children ? fd(e.children) : void 0
|
|
8519
8837
|
}))
|
|
8520
|
-
})),
|
|
8838
|
+
})), pd = (e, t) => e.flatMap((e) => {
|
|
8521
8839
|
if (e.id === t) return [];
|
|
8522
|
-
let n = e.children ?
|
|
8840
|
+
let n = e.children ? pd(e.children, t) : void 0;
|
|
8523
8841
|
return [{
|
|
8524
8842
|
...e,
|
|
8525
8843
|
children: n?.length ? n : void 0
|
|
8526
8844
|
}];
|
|
8527
|
-
}),
|
|
8845
|
+
}), md = (e, t) => {
|
|
8528
8846
|
for (let n of e) {
|
|
8529
8847
|
if (n.id === t) return n;
|
|
8530
|
-
let e = n.children ?
|
|
8848
|
+
let e = n.children ? md(n.children, t) : void 0;
|
|
8531
8849
|
if (e) return e;
|
|
8532
8850
|
}
|
|
8533
|
-
},
|
|
8534
|
-
let r = (
|
|
8851
|
+
}, hd = (e) => !!e.children?.length || (e.totalChildCount ?? 0) > 0, gd = (e, t) => [...pd(e, t.id), t], _d = (e) => (e.children ?? []).flatMap((e) => [e.value, ..._d(e)]), vd = (e, t) => _d(t).reduce((e, t) => pd(e, t), e), yd = (e, t) => [t.value, ..._d(t)].reduce((e, t) => pd(e, t), e), bd = (e, t, n) => {
|
|
8852
|
+
let r = (rd(n, t.value) ?? []).slice(0, -1).reverse();
|
|
8535
8853
|
for (let t of r) {
|
|
8536
|
-
let n =
|
|
8854
|
+
let n = md(e, t.value);
|
|
8537
8855
|
if (n?.state === "selected") return n;
|
|
8538
8856
|
}
|
|
8539
|
-
},
|
|
8540
|
-
let t =
|
|
8857
|
+
}, xd = (e) => {
|
|
8858
|
+
let t = fd(e.state), n = bd(t, e.option, e.options);
|
|
8541
8859
|
if (n) {
|
|
8542
8860
|
let r = n.children ?? [];
|
|
8543
|
-
return n.children = e.checked ?
|
|
8861
|
+
return n.children = e.checked ? yd(r, e.option) : [...yd(r, e.option), {
|
|
8544
8862
|
id: e.option.value,
|
|
8545
8863
|
state: "deselected"
|
|
8546
8864
|
}], n.children.length || delete n.children, t;
|
|
8547
8865
|
}
|
|
8548
|
-
return
|
|
8866
|
+
return hd(e.option) ? e.checked ? gd(vd(t, e.option), {
|
|
8549
8867
|
id: e.option.value,
|
|
8550
8868
|
state: "selected"
|
|
8551
|
-
}) :
|
|
8869
|
+
}) : pd(t, e.option.value) : e.checked ? gd(t, {
|
|
8552
8870
|
id: e.option.value,
|
|
8553
8871
|
state: "selected"
|
|
8554
|
-
}) :
|
|
8555
|
-
},
|
|
8872
|
+
}) : pd(t, e.option.value);
|
|
8873
|
+
}, Sd = (e) => {
|
|
8556
8874
|
let t = /* @__PURE__ */ new Map(), n = (e) => {
|
|
8557
8875
|
for (let r of e ?? []) t.set(r.id, r), n(r.children);
|
|
8558
8876
|
};
|
|
8559
8877
|
return n(e), t;
|
|
8560
|
-
},
|
|
8561
|
-
let t =
|
|
8878
|
+
}, Cd = (e) => {
|
|
8879
|
+
let t = Sd(e.state), n = /* @__PURE__ */ new Map(), r = (e, i) => {
|
|
8562
8880
|
let a = t.get(e.value), o = a?.state === "selected" || i && a?.state !== "deselected", s = (e.children ?? []).map((e) => r(e, o)), c = s.some((e) => e.selected || e.indeterminate), l = s.some((e) => !e.selected || e.indeterminate), u = {
|
|
8563
|
-
indeterminate:
|
|
8881
|
+
indeterminate: od(a?.children).length > 0 || !o && c || o && l,
|
|
8564
8882
|
selected: o
|
|
8565
8883
|
};
|
|
8566
8884
|
return n.set(e.value, u), u;
|
|
8567
8885
|
};
|
|
8568
8886
|
for (let t of e.options ?? []) t && r(t, !1);
|
|
8569
8887
|
return n;
|
|
8570
|
-
},
|
|
8888
|
+
}, wd = (e) => Cd(e).get(e.option.value) ?? Cd({
|
|
8571
8889
|
options: [e.option],
|
|
8572
8890
|
state: e.state
|
|
8573
8891
|
}).get(e.option.value) ?? {
|
|
8574
8892
|
indeterminate: !1,
|
|
8575
8893
|
selected: !1
|
|
8576
|
-
},
|
|
8894
|
+
}, Td = (e) => e.state.flatMap((t) => {
|
|
8577
8895
|
if (t.state !== "selected") return [];
|
|
8578
|
-
let n =
|
|
8896
|
+
let n = nd(e.options, t.id);
|
|
8579
8897
|
if (n) return [n];
|
|
8580
|
-
let { field: r, value: i } =
|
|
8898
|
+
let { field: r, value: i } = id(t.id, e.options);
|
|
8581
8899
|
return [{
|
|
8582
8900
|
colField: r,
|
|
8583
8901
|
label: i,
|
|
8584
8902
|
metadata: { rawValue: i },
|
|
8585
|
-
value: r ?
|
|
8903
|
+
value: r ? Uu(r, i) : t.id
|
|
8586
8904
|
}];
|
|
8587
|
-
}),
|
|
8905
|
+
}), Ed = (e) => e.filter((e) => e.state === "selected").length, Dd = ["open"], Od = {
|
|
8588
8906
|
class: "pv-flex pv-text-body-md",
|
|
8589
8907
|
style: {
|
|
8590
8908
|
"--flex-align": "center",
|
|
8591
8909
|
"--flex-gap": "0.5rem"
|
|
8592
8910
|
}
|
|
8593
|
-
},
|
|
8911
|
+
}, kd = {
|
|
8594
8912
|
key: 1,
|
|
8595
8913
|
class: "pv-filter-panel-refresh-status",
|
|
8596
8914
|
"data-testid": "pv-filter-panel-refresh-status",
|
|
8597
8915
|
role: "status"
|
|
8598
|
-
},
|
|
8916
|
+
}, Ad = { class: "pv-visually-hidden" }, jd = ["aria-busy"], Md = {
|
|
8599
8917
|
key: 0,
|
|
8600
8918
|
class: "pv-flex-vertical",
|
|
8601
8919
|
style: {
|
|
8602
8920
|
"--flex-align": "stretch",
|
|
8603
8921
|
"--flex-gap": "0.5rem"
|
|
8604
8922
|
}
|
|
8605
|
-
},
|
|
8923
|
+
}, Nd = {
|
|
8606
8924
|
key: 0,
|
|
8607
8925
|
class: "pv-flex",
|
|
8608
8926
|
style: {
|
|
8609
8927
|
"--flex-gap": "0.5rem",
|
|
8610
8928
|
"--flex-wrap": "wrap"
|
|
8611
8929
|
}
|
|
8612
|
-
},
|
|
8930
|
+
}, Pd = {
|
|
8613
8931
|
key: 1,
|
|
8614
8932
|
class: "pv-flex",
|
|
8615
8933
|
style: { "--flex-justify": "flex-end" }
|
|
8616
|
-
},
|
|
8934
|
+
}, Fd = {
|
|
8617
8935
|
key: 2,
|
|
8618
8936
|
class: "pv-flex-vertical",
|
|
8619
8937
|
style: {
|
|
8620
8938
|
"--flex-align": "stretch",
|
|
8621
8939
|
"--flex-gap": "0.5rem"
|
|
8622
8940
|
}
|
|
8623
|
-
},
|
|
8941
|
+
}, Id = {
|
|
8624
8942
|
key: 3,
|
|
8625
8943
|
class: "pv-flex pv-text-body-xs pv-text-subdued"
|
|
8626
|
-
},
|
|
8944
|
+
}, Ld = { key: 0 }, Rd = {
|
|
8627
8945
|
key: 1,
|
|
8628
8946
|
class: "pv-text-body-xs pv-text-subdued",
|
|
8629
8947
|
style: { margin: "0" }
|
|
8630
|
-
},
|
|
8948
|
+
}, zd = {
|
|
8631
8949
|
key: 1,
|
|
8632
8950
|
class: "pv-text-body-xs pv-text-subdued",
|
|
8633
8951
|
style: { margin: "0" }
|
|
8634
|
-
},
|
|
8952
|
+
}, Bd = {
|
|
8635
8953
|
key: 2,
|
|
8636
8954
|
class: "pv-flex-vertical",
|
|
8637
8955
|
style: {
|
|
8638
8956
|
"--flex-align": "stretch",
|
|
8639
8957
|
"--flex-gap": "0.5rem"
|
|
8640
8958
|
}
|
|
8641
|
-
},
|
|
8959
|
+
}, Vd = { key: 0 }, Hd = {
|
|
8642
8960
|
class: "pv-text-title-sm pv-text-subdued suggested-title-label",
|
|
8643
8961
|
style: { margin: "0" }
|
|
8644
|
-
},
|
|
8962
|
+
}, Ud = {
|
|
8645
8963
|
key: 1,
|
|
8646
8964
|
class: "pv-text-title-sm pv-text-subdued",
|
|
8647
8965
|
style: { margin: "0" }
|
|
8648
|
-
},
|
|
8966
|
+
}, Wd = {
|
|
8649
8967
|
key: 2,
|
|
8650
8968
|
class: "pv-text-body-xs pv-text-subdued",
|
|
8651
8969
|
style: { margin: "0" }
|
|
8652
|
-
},
|
|
8970
|
+
}, Gd = {
|
|
8653
8971
|
key: 3,
|
|
8654
8972
|
class: "pv-flex-vertical",
|
|
8655
8973
|
"data-testid": "pv-filter-panel-boolean-control",
|
|
@@ -8657,14 +8975,14 @@ var ao = {
|
|
|
8657
8975
|
"--flex-align": "stretch",
|
|
8658
8976
|
"--flex-gap": "0.5rem"
|
|
8659
8977
|
}
|
|
8660
|
-
},
|
|
8978
|
+
}, Kd = {
|
|
8661
8979
|
class: "pv-flex",
|
|
8662
8980
|
style: {
|
|
8663
8981
|
"--flex-align": "center",
|
|
8664
8982
|
"--flex-gap": "0.5rem",
|
|
8665
8983
|
"--flex-wrap": "wrap"
|
|
8666
8984
|
}
|
|
8667
|
-
},
|
|
8985
|
+
}, qd = {
|
|
8668
8986
|
key: 4,
|
|
8669
8987
|
class: "pv-flex",
|
|
8670
8988
|
"data-testid": "pv-filter-panel-exists-control",
|
|
@@ -8673,7 +8991,7 @@ var ao = {
|
|
|
8673
8991
|
"--flex-gap": "0.5rem",
|
|
8674
8992
|
cursor: "pointer"
|
|
8675
8993
|
}
|
|
8676
|
-
},
|
|
8994
|
+
}, Jd = { class: "pv-text-body-sm" }, Yd = 5, Xd = 500, Zd = /* @__PURE__ */ Je(/* @__PURE__ */ d({
|
|
8677
8995
|
__name: "PvFilterPanelAccordion",
|
|
8678
8996
|
props: {
|
|
8679
8997
|
disableWhileLoading: {
|
|
@@ -8691,7 +9009,7 @@ var ao = {
|
|
|
8691
9009
|
"search-change"
|
|
8692
9010
|
],
|
|
8693
9011
|
setup(e, { emit: n }) {
|
|
8694
|
-
let c = e, d = n, f = j(null), p = j({}), m = j(0), h = te(), g = j(c.filter.searchQuery ?? ""), _ = j(
|
|
9012
|
+
let c = e, d = n, f = j(null), p = j({}), m = j(0), h = te(), g = j(c.filter.searchQuery ?? ""), _ = j(Yd), y = r(() => c.filter.existsLabel ?? `Has ${c.filter.label}`), b = r(() => c.filter.valueLabels?.false ?? "No"), C = r(() => c.filter.options ?? []), w = r(() => [...c.filter.knownOptions ?? [], ...C.value]), T = r(() => c.filter.type ?? "value"), E = r(() => T.value === "value"), D = r(() => E.value && c.filter.isAggregate === !0), O = r(() => c.filter.aggregateSelectionState ?? []), A = r(() => g.value.trim().toLowerCase()), N = r(() => c.filter.selectedValues ?? []), P = r(() => new Set(N.value)), I = r(() => c.filter.valueLabels?.true ?? "Yes"), L = r(() => c.filter.filterOptionsSortDescription || "Suggested"), z = r(() => c.filter.disabled === !0 || c.disableWhileLoading && c.filter.isLoading === !0), B = r(() => {
|
|
8695
9013
|
let e = c.filter.valueLabels, t = typeof e?.true == "string", n = typeof e?.false == "string";
|
|
8696
9014
|
return t && !n ? [{
|
|
8697
9015
|
label: I.value,
|
|
@@ -8716,7 +9034,7 @@ var ao = {
|
|
|
8716
9034
|
e.matchedValue,
|
|
8717
9035
|
e.matchedField
|
|
8718
9036
|
].concat(t.flatMap((e) => e == null ? [] : [String(e)])).filter((e) => !!e).join(" ").toLowerCase();
|
|
8719
|
-
}, H = r(() => T.value === "range" ? c.filter.rangeValue?.min !== null && c.filter.rangeValue?.min !== void 0 || c.filter.rangeValue?.max !== null && c.filter.rangeValue?.max !== void 0 ? 1 : void 0 : T.value === "boolean" ? c.filter.booleanValue !== null && c.filter.booleanValue !== void 0 ? 1 : void 0 : T.value === "exists" ? c.filter.existsValue ? 1 : void 0 : D.value ?
|
|
9037
|
+
}, H = r(() => T.value === "range" ? c.filter.rangeValue?.min !== null && c.filter.rangeValue?.min !== void 0 || c.filter.rangeValue?.max !== null && c.filter.rangeValue?.max !== void 0 ? 1 : void 0 : T.value === "boolean" ? c.filter.booleanValue !== null && c.filter.booleanValue !== void 0 ? 1 : void 0 : T.value === "exists" ? c.filter.existsValue ? 1 : void 0 : D.value ? Ed(O.value) || void 0 : N.value.length || void 0), ne = (e) => e.totalChildCount === null || e.totalChildCount === void 0 ? !1 : e.totalChildCount > (e.children?.length ?? 0), U = (e, t = 0) => e.flatMap((e) => [
|
|
8720
9038
|
{
|
|
8721
9039
|
depth: t,
|
|
8722
9040
|
kind: "option",
|
|
@@ -8741,16 +9059,16 @@ var ao = {
|
|
|
8741
9059
|
ie.value = D.value || c.filter.singleSelect ? [] : [...N.value];
|
|
8742
9060
|
};
|
|
8743
9061
|
J();
|
|
8744
|
-
let Y = r(() => D.value || c.filter.singleSelect ? W.value : W.value.filter((e) => e.kind === "child-load-more" || !ae.value.has(e.option.value))), le = r(() => Y.value.length > _.value), ue = r(() => le.value || c.filter.hasMore), de = r(() => Y.value.slice(0, _.value)), fe = r(() => D.value ?
|
|
9062
|
+
let Y = r(() => D.value || c.filter.singleSelect ? W.value : W.value.filter((e) => e.kind === "child-load-more" || !ae.value.has(e.option.value))), le = r(() => Y.value.length > _.value), ue = r(() => le.value || c.filter.hasMore), de = r(() => Y.value.slice(0, _.value)), fe = r(() => D.value ? Cd({
|
|
8745
9063
|
options: w.value,
|
|
8746
9064
|
state: O.value
|
|
8747
|
-
}) : /* @__PURE__ */ new Map()), X = (e) =>
|
|
9065
|
+
}) : /* @__PURE__ */ new Map()), X = (e) => Iu(e, c.filter.colDef), Z = (e) => Lu(e), pe = (e) => D.value ? fe.value.get(e.value) ?? {
|
|
8748
9066
|
indeterminate: !1,
|
|
8749
9067
|
selected: !1
|
|
8750
9068
|
} : {
|
|
8751
9069
|
indeterminate: !1,
|
|
8752
9070
|
selected: P.value.has(e.value)
|
|
8753
|
-
}, me = (e) => pe(e).selected, he = (e) => pe(e).indeterminate, _e = (e) =>
|
|
9071
|
+
}, me = (e) => pe(e).selected, he = (e) => pe(e).indeterminate, _e = (e) => Wu(e) ?? e.value, ve = (e) => Gu(e, c.filter.key), ye = (e) => {
|
|
8754
9072
|
let t = ve(e), n = _e(e);
|
|
8755
9073
|
return c.filter.focusedValuesByField?.[t]?.includes(n) || t === c.filter.key && c.filter.focusedValues?.includes(e.value) || !1;
|
|
8756
9074
|
}, be = (e) => ({
|
|
@@ -8779,7 +9097,7 @@ var ao = {
|
|
|
8779
9097
|
rowsLoading: c.filter.isLoading
|
|
8780
9098
|
}
|
|
8781
9099
|
})), we = () => {
|
|
8782
|
-
z.value || (le.value ? _.value +=
|
|
9100
|
+
z.value || (le.value ? _.value += Yd : c.filter.hasMore && d("load-more", g.value.trim()));
|
|
8783
9101
|
}, Te = (e) => {
|
|
8784
9102
|
z.value || d("load-more", g.value.trim(), e.value);
|
|
8785
9103
|
}, Ee = (e) => {
|
|
@@ -8805,7 +9123,7 @@ var ao = {
|
|
|
8805
9123
|
if (D.value) {
|
|
8806
9124
|
d("filter-change", {
|
|
8807
9125
|
type: "aggregate-selection",
|
|
8808
|
-
value:
|
|
9126
|
+
value: xd({
|
|
8809
9127
|
checked: t,
|
|
8810
9128
|
option: e,
|
|
8811
9129
|
options: w.value,
|
|
@@ -8833,17 +9151,23 @@ var ao = {
|
|
|
8833
9151
|
z.value || d("handle-settings-icon", c.filter.key, c.filter.colDef);
|
|
8834
9152
|
};
|
|
8835
9153
|
G([g, () => c.filter.key], () => {
|
|
8836
|
-
_.value =
|
|
9154
|
+
_.value = Yd;
|
|
8837
9155
|
});
|
|
8838
9156
|
let Pe = () => {
|
|
8839
|
-
let e =
|
|
9157
|
+
let e = Ku(w.value), t = { ...p.value }, n = new Map(Object.entries(t));
|
|
8840
9158
|
for (let t of e) n.delete(t.value), n.set(t.value, t);
|
|
8841
|
-
p.value = Object.fromEntries([...n.entries()].slice(Math.max(0, n.size -
|
|
9159
|
+
p.value = Object.fromEntries([...n.entries()].slice(Math.max(0, n.size - Xd)));
|
|
8842
9160
|
};
|
|
8843
|
-
|
|
9161
|
+
G(w, () => {
|
|
8844
9162
|
c.filter.isOpen && Pe();
|
|
8845
|
-
}, { immediate: !0 })
|
|
9163
|
+
}, { immediate: !0 });
|
|
9164
|
+
let Fe = () => {
|
|
8846
9165
|
!c.filter.isOpen || !f.value || (m.value = Math.max(m.value, f.value.offsetHeight));
|
|
9166
|
+
};
|
|
9167
|
+
return G(() => c.filter.isLoading === !0, (e) => {
|
|
9168
|
+
e ? Fe() : m.value = 0;
|
|
9169
|
+
}), G(C, () => {
|
|
9170
|
+
c.filter.isLoading && Fe();
|
|
8847
9171
|
}), G(() => c.filter.isOpen, (e) => {
|
|
8848
9172
|
e ? (Pe(), J()) : (p.value = {}, m.value = 0);
|
|
8849
9173
|
}), se(() => {
|
|
@@ -8865,7 +9189,7 @@ var ao = {
|
|
|
8865
9189
|
"data-testid": "pv-filter-panel-accordion",
|
|
8866
9190
|
open: e.filter.isOpen,
|
|
8867
9191
|
onToggle: Ee
|
|
8868
|
-
}, [s("summary",
|
|
9192
|
+
}, [s("summary", Od, [
|
|
8869
9193
|
u(Q, {
|
|
8870
9194
|
"aria-hidden": "true",
|
|
8871
9195
|
class: "pv-text-subdued",
|
|
@@ -8878,19 +9202,19 @@ var ao = {
|
|
|
8878
9202
|
size: "sm",
|
|
8879
9203
|
variant: "secondary"
|
|
8880
9204
|
}, null, 8, ["value"])) : a("", !0),
|
|
8881
|
-
ce.value ? (k(), o("span",
|
|
9205
|
+
ce.value ? (k(), o("span", kd, [u(ze, { size: "sm" }), s("span", Ad, R(e.filter.loadingText || `Updating ${e.filter.label} options`), 1)])) : a("", !0)
|
|
8882
9206
|
]), s("div", {
|
|
8883
9207
|
ref_key: "filterContent",
|
|
8884
9208
|
ref: f,
|
|
8885
|
-
class: "pv-flex-vertical pv-
|
|
9209
|
+
class: "pv-flex-vertical pv-inset-inline-24",
|
|
8886
9210
|
"aria-busy": e.filter.isLoading || void 0,
|
|
8887
9211
|
style: S({
|
|
8888
9212
|
"--flex-align": "stretch",
|
|
8889
9213
|
minHeight: m.value ? `${m.value}px` : void 0
|
|
8890
9214
|
})
|
|
8891
9215
|
}, [E.value ? (k(), o(t, { key: 0 }, [
|
|
8892
|
-
e.filter.filterGroupOptions?.length || e.filter.displayPreferencesIcon || e.filter.filterHeaderRenderer ? (k(), o("div",
|
|
8893
|
-
e.filter.filterGroupOptions?.length ? (k(), o("div",
|
|
9216
|
+
e.filter.filterGroupOptions?.length || e.filter.displayPreferencesIcon || e.filter.filterHeaderRenderer ? (k(), o("div", Md, [
|
|
9217
|
+
e.filter.filterGroupOptions?.length ? (k(), o("div", Nd, [(k(!0), o(t, null, M(e.filter.filterGroupOptions, (e) => (k(), i($, {
|
|
8894
9218
|
key: e.field,
|
|
8895
9219
|
disabled: z.value,
|
|
8896
9220
|
label: e.label,
|
|
@@ -8903,7 +9227,7 @@ var ao = {
|
|
|
8903
9227
|
"variant",
|
|
8904
9228
|
"onClick"
|
|
8905
9229
|
]))), 128))])) : a("", !0),
|
|
8906
|
-
e.filter.displayPreferencesIcon ? (k(), o("div",
|
|
9230
|
+
e.filter.displayPreferencesIcon ? (k(), o("div", Pd, [u($, {
|
|
8907
9231
|
ariaLabel: "Open preferences",
|
|
8908
9232
|
disabled: z.value,
|
|
8909
9233
|
leftIcon: "sliders-horizontal",
|
|
@@ -8925,7 +9249,7 @@ var ao = {
|
|
|
8925
9249
|
"disabled",
|
|
8926
9250
|
"placeholder"
|
|
8927
9251
|
])),
|
|
8928
|
-
oe.value.length ? (k(), o("div",
|
|
9252
|
+
oe.value.length ? (k(), o("div", Fd, [(k(!0), o(t, null, M(oe.value, (t) => (k(), i(Eu, {
|
|
8929
9253
|
key: t.value,
|
|
8930
9254
|
control: e.filter.singleSelect ? "radio" : "checkbox",
|
|
8931
9255
|
disabled: z.value || t.isSelectable === !1,
|
|
@@ -8963,10 +9287,10 @@ var ao = {
|
|
|
8963
9287
|
"onFocusValue",
|
|
8964
9288
|
"onToggleValue"
|
|
8965
9289
|
]))), 128))])) : a("", !0),
|
|
8966
|
-
e.filter.isLoading && !q.value ? (k(), o("div",
|
|
8967
|
-
!A.value && !C.value.length && !oe.value.length && !ue.value ? (k(), o(t, { key: 0 }, [e.filter.emptyResultsRenderer ? (k(), i(F(e.filter.emptyResultsRenderer), v({ key: 0 }, Ce.value, { "empty-reason": "no-values" }), null, 16)) : (k(), o("p",
|
|
8968
|
-
Y.value.length || ue.value ? (k(), o("div",
|
|
8969
|
-
Y.value.length && !e.filter.hideOptionsSortDescription ? (k(), o("div",
|
|
9290
|
+
e.filter.isLoading && !q.value ? (k(), o("div", Id, [u(ze, { size: "sm" }), e.filter.loadingText ? (k(), o("span", Ld, R(e.filter.loadingText), 1)) : a("", !0)])) : (k(), o(t, { key: 4 }, [
|
|
9291
|
+
!A.value && !C.value.length && !oe.value.length && !ue.value ? (k(), o(t, { key: 0 }, [e.filter.emptyResultsRenderer ? (k(), i(F(e.filter.emptyResultsRenderer), v({ key: 0 }, Ce.value, { "empty-reason": "no-values" }), null, 16)) : (k(), o("p", Rd, "No values available."))], 64)) : !W.value.length && !oe.value.length && !ue.value ? (k(), o(t, { key: 1 }, [e.filter.emptyResultsRenderer ? (k(), i(F(e.filter.emptyResultsRenderer), v({ key: 0 }, Ce.value, { "empty-reason": "no-matches" }), null, 16)) : (k(), o("p", zd, "No matching values."))], 64)) : a("", !0),
|
|
9292
|
+
Y.value.length || ue.value ? (k(), o("div", Bd, [
|
|
9293
|
+
Y.value.length && !e.filter.hideOptionsSortDescription ? (k(), o("div", Vd, [e.filter.filterOptionsSortTooltip ? (k(), i(dr, {
|
|
8970
9294
|
key: 0,
|
|
8971
9295
|
variant: "dark",
|
|
8972
9296
|
disableInteractive: !0,
|
|
@@ -8975,11 +9299,11 @@ var ao = {
|
|
|
8975
9299
|
"use-teleport": !0,
|
|
8976
9300
|
style: { "--max-width": "200px" }
|
|
8977
9301
|
}, {
|
|
8978
|
-
trigger: K(() => [s("p",
|
|
9302
|
+
trigger: K(() => [s("p", Hd, R(L.value), 1)]),
|
|
8979
9303
|
content: K(() => [l(R(e.filter.filterOptionsSortTooltip), 1)]),
|
|
8980
9304
|
_: 1
|
|
8981
|
-
})) : (k(), o("p",
|
|
8982
|
-
(k(!0), o(t, null, M(de.value, (n) => (k(), o(t, { key: n.kind === "option" ? n.option.value : `${n.parent.value}-children-more` }, [n.kind === "option" ? (k(), i(
|
|
9305
|
+
})) : (k(), o("p", Ud, R(L.value), 1))])) : a("", !0),
|
|
9306
|
+
(k(!0), o(t, null, M(de.value, (n) => (k(), o(t, { key: n.kind === "option" ? n.option.value : `${n.parent.value}-children-more` }, [n.kind === "option" ? (k(), i(Eu, {
|
|
8983
9307
|
key: 0,
|
|
8984
9308
|
control: e.filter.singleSelect ? "radio" : "checkbox",
|
|
8985
9309
|
depth: n.depth,
|
|
@@ -9046,7 +9370,7 @@ var ao = {
|
|
|
9046
9370
|
])) : a("", !0),
|
|
9047
9371
|
e.filter.filterFooterRenderer ? (k(), i(F(e.filter.filterFooterRenderer), x(v({ key: 3 }, Ce.value)), null, 16)) : a("", !0)
|
|
9048
9372
|
], 64))
|
|
9049
|
-
], 64)) : T.value === "range" && e.filter.rangeMin !== null && e.filter.rangeMax !== null ? (k(), i(
|
|
9373
|
+
], 64)) : T.value === "range" && e.filter.rangeMin !== null && e.filter.rangeMax !== null ? (k(), i(yu, {
|
|
9050
9374
|
key: 1,
|
|
9051
9375
|
mode: "dual",
|
|
9052
9376
|
rangeValue: e.filter.rangeValue,
|
|
@@ -9073,7 +9397,7 @@ var ao = {
|
|
|
9073
9397
|
"slider-step",
|
|
9074
9398
|
"step",
|
|
9075
9399
|
"value-decimals"
|
|
9076
|
-
])) : T.value === "range" ? (k(), o("p",
|
|
9400
|
+
])) : T.value === "range" ? (k(), o("p", Wd, " Range filters require minimum and maximum bounds. ")) : T.value === "boolean" ? (k(), o("div", Gd, [s("div", Kd, [(k(!0), o(t, null, M(B.value, (t) => (k(), i($, {
|
|
9077
9401
|
key: String(t.value),
|
|
9078
9402
|
disabled: z.value,
|
|
9079
9403
|
label: t.label,
|
|
@@ -9091,43 +9415,43 @@ var ao = {
|
|
|
9091
9415
|
label: "Clear",
|
|
9092
9416
|
variant: "ghost",
|
|
9093
9417
|
onClick: r[1] ||= (e) => De(null)
|
|
9094
|
-
}, null, 8, ["disabled"])) : a("", !0)])) : T.value === "exists" ? (k(), o("label",
|
|
9418
|
+
}, null, 8, ["disabled"])) : a("", !0)])) : T.value === "exists" ? (k(), o("label", qd, [u(Ks, {
|
|
9095
9419
|
disabled: z.value,
|
|
9096
9420
|
modelValue: e.filter.existsValue ?? !1,
|
|
9097
9421
|
"onUpdate:modelValue": Oe
|
|
9098
|
-
}, null, 8, ["disabled", "modelValue"]), s("span",
|
|
9422
|
+
}, null, 8, ["disabled", "modelValue"]), s("span", Jd, R(y.value), 1)])) : a("", !0)], 12, jd)], 40, Dd));
|
|
9099
9423
|
}
|
|
9100
|
-
}), [["__scopeId", "data-v-
|
|
9424
|
+
}), [["__scopeId", "data-v-0b991fa5"]]), Qd = {
|
|
9101
9425
|
class: "pv-flex-vertical pv-inset-square-8",
|
|
9102
9426
|
"data-testid": "pv-filter-panel-applied-section",
|
|
9103
9427
|
style: {
|
|
9104
9428
|
"--flex-align": "stretch",
|
|
9105
9429
|
"--flex-gap": "1rem"
|
|
9106
9430
|
}
|
|
9107
|
-
},
|
|
9431
|
+
}, $d = {
|
|
9108
9432
|
key: 0,
|
|
9109
9433
|
class: "pv-flex-vertical",
|
|
9110
9434
|
style: {
|
|
9111
9435
|
"--flex-align": "stretch",
|
|
9112
9436
|
"--flex-gap": "1rem"
|
|
9113
9437
|
}
|
|
9114
|
-
},
|
|
9438
|
+
}, ef = { class: "pv-text-title-md" }, tf = {
|
|
9115
9439
|
class: "pv-flex",
|
|
9116
9440
|
style: {
|
|
9117
9441
|
"--flex-gap": "0.375rem",
|
|
9118
9442
|
"--flex-wrap": "wrap"
|
|
9119
9443
|
}
|
|
9120
|
-
},
|
|
9444
|
+
}, nf = { class: "pv-text-title-md" }, rf = {
|
|
9121
9445
|
class: "pv-flex",
|
|
9122
9446
|
style: {
|
|
9123
9447
|
"--flex-gap": "0.375rem",
|
|
9124
9448
|
"--flex-wrap": "wrap"
|
|
9125
9449
|
}
|
|
9126
|
-
},
|
|
9450
|
+
}, af = {
|
|
9127
9451
|
key: 1,
|
|
9128
9452
|
class: "pv-text-body-sm pv-text-subdued",
|
|
9129
9453
|
style: { margin: "0" }
|
|
9130
|
-
},
|
|
9454
|
+
}, of = /* @__PURE__ */ d({
|
|
9131
9455
|
__name: "PvFilterPanelAppliedFiltersSection",
|
|
9132
9456
|
props: {
|
|
9133
9457
|
appliedCount: { default: 0 },
|
|
@@ -9143,7 +9467,7 @@ var ao = {
|
|
|
9143
9467
|
let a = e, c = n, l = r(() => a.externalFilters.filter((e) => e.values.length > 0)), u = r(() => a.appliedCount > 0 || l.value.length > 0), d = (e) => !a.readOnly && e.removable !== !1, f = (e, t) => {
|
|
9144
9468
|
c("remove-filter", t.field ?? e, t.value, t.type);
|
|
9145
9469
|
};
|
|
9146
|
-
return (n, r) => (k(), o("section",
|
|
9470
|
+
return (n, r) => (k(), o("section", Qd, [u.value ? (k(), o("div", $d, [(k(!0), o(t, null, M(l.value, (e) => (k(), o("div", {
|
|
9147
9471
|
key: `external-${e.key}`,
|
|
9148
9472
|
class: "pv-flex-vertical pv-border-bottom",
|
|
9149
9473
|
"data-testid": "pv-filter-panel-external-filter-group",
|
|
@@ -9152,7 +9476,7 @@ var ao = {
|
|
|
9152
9476
|
"--flex-gap": "12px",
|
|
9153
9477
|
"padding-bottom": "12px"
|
|
9154
9478
|
}
|
|
9155
|
-
}, [s("span",
|
|
9479
|
+
}, [s("span", ef, R(e.label), 1), s("div", tf, [(k(!0), o(t, null, M(e.values, (t) => (k(), i(Dr, {
|
|
9156
9480
|
key: `${e.key}-${t.value}`,
|
|
9157
9481
|
label: t.label,
|
|
9158
9482
|
showClear: d(e),
|
|
@@ -9169,7 +9493,7 @@ var ao = {
|
|
|
9169
9493
|
"--flex-gap": "12px",
|
|
9170
9494
|
"padding-bottom": "12px"
|
|
9171
9495
|
}
|
|
9172
|
-
}, [s("span",
|
|
9496
|
+
}, [s("span", nf, R(n.label), 1), s("div", rf, [(k(!0), o(t, null, M(n.values, (t) => (k(), i(Dr, {
|
|
9173
9497
|
key: `${t.field ?? n.key}-${t.type ?? "value"}-${t.value}`,
|
|
9174
9498
|
label: t.label,
|
|
9175
9499
|
showClear: !e.readOnly,
|
|
@@ -9178,9 +9502,9 @@ var ao = {
|
|
|
9178
9502
|
"label",
|
|
9179
9503
|
"showClear",
|
|
9180
9504
|
"onHandleClose"
|
|
9181
|
-
]))), 128))])]))), 128))])) : (k(), o("p",
|
|
9505
|
+
]))), 128))])]))), 128))])) : (k(), o("p", af, "No filters applied yet."))]));
|
|
9182
9506
|
}
|
|
9183
|
-
}),
|
|
9507
|
+
}), sf = { class: "pv-horizontal-scroller" }, cf = ["aria-label"], lf = 1, uf = /* @__PURE__ */ d({
|
|
9184
9508
|
__name: "PvHorizontalScroller",
|
|
9185
9509
|
props: {
|
|
9186
9510
|
ariaLabel: { default: "Scrollable content" },
|
|
@@ -9204,7 +9528,7 @@ var ao = {
|
|
|
9204
9528
|
let e = u.value;
|
|
9205
9529
|
if (!e) return;
|
|
9206
9530
|
let t = Math.max(0, e.scrollWidth - e.clientWidth);
|
|
9207
|
-
n.value = e.scrollLeft >
|
|
9531
|
+
n.value = e.scrollLeft > lf, c.value = e.scrollLeft < t - lf;
|
|
9208
9532
|
}, h = () => {
|
|
9209
9533
|
d && (d.disconnect(), u.value && d.observe(u.value), l.value && d.observe(l.value));
|
|
9210
9534
|
}, g = () => {
|
|
@@ -9224,7 +9548,7 @@ var ao = {
|
|
|
9224
9548
|
h(), g();
|
|
9225
9549
|
}), C(() => {
|
|
9226
9550
|
u.value?.removeEventListener("scroll", m), d?.disconnect(), f && window.removeEventListener("resize", m);
|
|
9227
|
-
}), (t, r) => (k(), o("div",
|
|
9551
|
+
}), (t, r) => (k(), o("div", sf, [
|
|
9228
9552
|
s("div", {
|
|
9229
9553
|
ref_key: "scrollContainer",
|
|
9230
9554
|
ref: u,
|
|
@@ -9235,7 +9559,7 @@ var ao = {
|
|
|
9235
9559
|
ref_key: "contentContainer",
|
|
9236
9560
|
ref: l,
|
|
9237
9561
|
class: "pv-horizontal-scroller-content"
|
|
9238
|
-
}, [N(t.$slots, "default")], 512)], 10,
|
|
9562
|
+
}, [N(t.$slots, "default")], 512)], 10, cf),
|
|
9239
9563
|
s("div", { class: b(["pv-horizontal-scroller-control pv-horizontal-scroller-control-left", {
|
|
9240
9564
|
"pv-horizontal-scroller-control-hidden": !n.value,
|
|
9241
9565
|
"pv-horizontal-scroller-control-left-fade": e.showFades
|
|
@@ -9268,18 +9592,18 @@ var ao = {
|
|
|
9268
9592
|
])) : a("", !0)], 2)
|
|
9269
9593
|
]));
|
|
9270
9594
|
}
|
|
9271
|
-
}),
|
|
9595
|
+
}), df = {
|
|
9272
9596
|
key: 0,
|
|
9273
9597
|
class: "pv-border-bottom",
|
|
9274
9598
|
"data-testid": "pv-filter-panel-category-row"
|
|
9275
|
-
},
|
|
9599
|
+
}, ff = {
|
|
9276
9600
|
class: "pv-flex",
|
|
9277
9601
|
style: {
|
|
9278
9602
|
"--flex-align": "center",
|
|
9279
9603
|
"--flex-gap": "8px",
|
|
9280
9604
|
padding: "8px 12px"
|
|
9281
9605
|
}
|
|
9282
|
-
},
|
|
9606
|
+
}, pf = /* @__PURE__ */ d({
|
|
9283
9607
|
__name: "PvFilterPanelCategoryButtonRow",
|
|
9284
9608
|
props: /* @__PURE__ */ _({
|
|
9285
9609
|
allCategoriesLabel: { default: "All" },
|
|
@@ -9301,7 +9625,7 @@ var ao = {
|
|
|
9301
9625
|
}, f = (e) => c.value === e ? "secondary" : "ghost";
|
|
9302
9626
|
return G(l, (e) => {
|
|
9303
9627
|
c.value !== null && !e.includes(c.value) && (c.value = null);
|
|
9304
|
-
}, { immediate: !0 }), (n, r) => l.value.length ? (k(), o("div",
|
|
9628
|
+
}, { immediate: !0 }), (n, r) => l.value.length ? (k(), o("div", df, [u(uf, {
|
|
9305
9629
|
ariaLabel: "Filter categories",
|
|
9306
9630
|
buttonSize: "lg",
|
|
9307
9631
|
buttonVariant: "ghost",
|
|
@@ -9310,7 +9634,7 @@ var ao = {
|
|
|
9310
9634
|
rightAriaLabel: "Scroll filter categories right",
|
|
9311
9635
|
showFades: ""
|
|
9312
9636
|
}, {
|
|
9313
|
-
default: K(() => [s("div",
|
|
9637
|
+
default: K(() => [s("div", ff, [u($, {
|
|
9314
9638
|
label: e.allCategoriesLabel,
|
|
9315
9639
|
variant: f(null),
|
|
9316
9640
|
onClick: r[0] ||= (e) => d(null)
|
|
@@ -9327,17 +9651,17 @@ var ao = {
|
|
|
9327
9651
|
_: 1
|
|
9328
9652
|
})])) : a("", !0);
|
|
9329
9653
|
}
|
|
9330
|
-
}),
|
|
9654
|
+
}), mf = (e, t, n) => {
|
|
9331
9655
|
let r = [e, ...t ?? []].filter((e) => !!e);
|
|
9332
9656
|
if (r.length <= 1) return "Search";
|
|
9333
9657
|
let i = /* @__PURE__ */ new Set(), a = r.flatMap((e) => i.has(e) ? [] : (i.add(e), [n(e) || e]));
|
|
9334
9658
|
return a.length ? `Search ${a.join(", ")}` : "Search";
|
|
9335
|
-
},
|
|
9336
|
-
if (!r ||
|
|
9659
|
+
}, hf = (e) => String(e ?? "").trim().replace(/\s+/g, " ").toLocaleLowerCase(), gf = ({ fallbackSubText: e, getDisplayName: t, matchedField: n, matchedValue: r, primaryText: i, showPrefix: a = !0 }) => {
|
|
9660
|
+
if (!r || hf(i) === hf(r)) return e;
|
|
9337
9661
|
if (!a || !n) return r;
|
|
9338
9662
|
let o = t(n);
|
|
9339
9663
|
return o ? `${o}: ${r}` : r;
|
|
9340
|
-
},
|
|
9664
|
+
}, _f = () => ({
|
|
9341
9665
|
booleanValue: null,
|
|
9342
9666
|
existsValue: !1,
|
|
9343
9667
|
rangeValue: {
|
|
@@ -9345,15 +9669,15 @@ var ao = {
|
|
|
9345
9669
|
min: null
|
|
9346
9670
|
},
|
|
9347
9671
|
values: []
|
|
9348
|
-
}),
|
|
9349
|
-
conditions: e.conditions.map(
|
|
9672
|
+
}), vf = (e) => typeof e == "object" && !!e && !Array.isArray(e), yf = (e) => vf(e) && typeof e.colId == "string" && typeof e.filterType == "string" && typeof e.type == "string", bf = (e) => vf(e) && e.filterType === "join" && Array.isArray(e.conditions), xf = (e) => e, Sf = (e) => bf(e) ? {
|
|
9673
|
+
conditions: e.conditions.map(Sf),
|
|
9350
9674
|
filterType: "join",
|
|
9351
9675
|
type: e.type
|
|
9352
|
-
} : { ...e },
|
|
9353
|
-
if (!
|
|
9354
|
-
if (
|
|
9676
|
+
} : { ...e }, Cf = (e) => {
|
|
9677
|
+
if (!vf(e)) return null;
|
|
9678
|
+
if (bf(e)) {
|
|
9355
9679
|
let t = e.conditions.flatMap((e) => {
|
|
9356
|
-
let t =
|
|
9680
|
+
let t = Cf(e);
|
|
9357
9681
|
return t ? [t] : [];
|
|
9358
9682
|
});
|
|
9359
9683
|
return t.length ? {
|
|
@@ -9362,43 +9686,43 @@ var ao = {
|
|
|
9362
9686
|
type: e.type === "OR" ? "OR" : "AND"
|
|
9363
9687
|
} : null;
|
|
9364
9688
|
}
|
|
9365
|
-
return
|
|
9366
|
-
},
|
|
9689
|
+
return yf(e) ? { ...e } : null;
|
|
9690
|
+
}, wf = (e) => typeof e == "number" && Number.isFinite(e) ? e : null, Tf = (e) => vf(e) && !bf(e) && !yf(e), Ef = (e) => e?.filterType === "multi" && Array.isArray(e.filterModels), Df = {
|
|
9367
9691
|
number: "agNumberColumnFilter",
|
|
9368
9692
|
set: "agSetColumnFilter",
|
|
9369
9693
|
text: "agTextColumnFilter"
|
|
9370
|
-
},
|
|
9694
|
+
}, Of = (e) => {
|
|
9371
9695
|
if (e?.filter !== "agMultiColumnFilter") return [];
|
|
9372
9696
|
let t = e.filterParams;
|
|
9373
9697
|
return Array.isArray(t?.filters) ? t.filters : [];
|
|
9374
|
-
},
|
|
9375
|
-
let n =
|
|
9376
|
-
return r ? n.findIndex((e) =>
|
|
9377
|
-
},
|
|
9378
|
-
let n =
|
|
9698
|
+
}, kf = (e, t) => {
|
|
9699
|
+
let n = Of(e), r = t.filterType ? Df[t.filterType] : void 0;
|
|
9700
|
+
return r ? n.findIndex((e) => vf(e) && e.filter === r) : -1;
|
|
9701
|
+
}, Af = (e, t) => {
|
|
9702
|
+
let n = Of(e);
|
|
9379
9703
|
if (!n.length) return null;
|
|
9380
|
-
let r = Array(n.length).fill(null), i =
|
|
9704
|
+
let r = Array(n.length).fill(null), i = kf(e, t);
|
|
9381
9705
|
return i < 0 ? null : (r[i] = t, {
|
|
9382
9706
|
filterModels: r,
|
|
9383
9707
|
filterType: "multi"
|
|
9384
9708
|
});
|
|
9385
|
-
},
|
|
9386
|
-
if (!
|
|
9709
|
+
}, jf = (e, t) => {
|
|
9710
|
+
if (!Tf(e)) return null;
|
|
9387
9711
|
let n = e[t];
|
|
9388
|
-
return
|
|
9389
|
-
},
|
|
9712
|
+
return vf(n) ? n : null;
|
|
9713
|
+
}, Mf = (e) => e ? Ef(e) ? e.filterModels.filter((e) => vf(e)) : [e] : [], Nf = (e) => Tf(e) ? { ...e } : {}, Pf = (e) => Ef(e) ? {
|
|
9390
9714
|
...e,
|
|
9391
9715
|
filterModels: e.filterModels.map((e) => e && { ...e })
|
|
9392
|
-
} : { ...e },
|
|
9393
|
-
let n =
|
|
9716
|
+
} : { ...e }, Ff = (e, t) => {
|
|
9717
|
+
let n = Nf(e);
|
|
9394
9718
|
return delete n[t], Object.keys(n).length ? n : null;
|
|
9395
|
-
},
|
|
9719
|
+
}, If = /* @__PURE__ */ new Set(), Lf = (e, t) => {
|
|
9396
9720
|
let n = `${e}:${t ?? "unknown"}`;
|
|
9397
|
-
|
|
9398
|
-
},
|
|
9399
|
-
let a =
|
|
9400
|
-
if (
|
|
9401
|
-
let o =
|
|
9721
|
+
If.has(n) || (console.warn(`PvFilterPanel: overwriting an occupied regular multi-filter slot for "${e}" because the target slot was occupied or no empty slot was available.`), If.add(n));
|
|
9722
|
+
}, Rf = (e, t, n, r, i) => {
|
|
9723
|
+
let a = jf(e, t);
|
|
9724
|
+
if (Ef(a) && r) {
|
|
9725
|
+
let o = Nf(e), s = Pf(a), c = [...s.filterModels ?? []], l = c.flatMap((e, t) => e && r(e) ? [t] : []);
|
|
9402
9726
|
if (!n) {
|
|
9403
9727
|
for (let e of l) c[e] = null;
|
|
9404
9728
|
return c.some(Boolean) ? o[t] = {
|
|
@@ -9411,15 +9735,15 @@ var ao = {
|
|
|
9411
9735
|
c[e] = n;
|
|
9412
9736
|
for (let e of t) c[e] = null;
|
|
9413
9737
|
} else {
|
|
9414
|
-
let e =
|
|
9738
|
+
let e = kf(i, n), r = c.findIndex((e) => !e), a = Of(i).length > 0;
|
|
9415
9739
|
if (e >= 0) {
|
|
9416
9740
|
for (; c.length <= e;) c.push(null);
|
|
9417
|
-
c[e] &&
|
|
9741
|
+
c[e] && Lf(t, n.filterType), c[e] = n;
|
|
9418
9742
|
} else if (r >= 0) c[r] = n;
|
|
9419
9743
|
else if (!a) c.push(n);
|
|
9420
9744
|
else {
|
|
9421
9745
|
let e = Math.max(0, c.length - 1);
|
|
9422
|
-
|
|
9746
|
+
Lf(t, n.filterType), c[e] = n;
|
|
9423
9747
|
}
|
|
9424
9748
|
}
|
|
9425
9749
|
return o[t] = {
|
|
@@ -9427,54 +9751,54 @@ var ao = {
|
|
|
9427
9751
|
filterModels: c
|
|
9428
9752
|
}, o;
|
|
9429
9753
|
}
|
|
9430
|
-
if (!n) return
|
|
9431
|
-
let o =
|
|
9432
|
-
return o[t] =
|
|
9433
|
-
},
|
|
9754
|
+
if (!n) return Ff(e, t);
|
|
9755
|
+
let o = Nf(e);
|
|
9756
|
+
return o[t] = Af(i, n) ?? n, o;
|
|
9757
|
+
}, zf = (e, t) => {
|
|
9434
9758
|
if (e) {
|
|
9435
|
-
if (
|
|
9436
|
-
e.conditions.forEach((e) =>
|
|
9759
|
+
if (bf(e)) {
|
|
9760
|
+
e.conditions.forEach((e) => zf(e, t));
|
|
9437
9761
|
return;
|
|
9438
9762
|
}
|
|
9439
9763
|
t(e);
|
|
9440
9764
|
}
|
|
9441
|
-
},
|
|
9442
|
-
if (!
|
|
9765
|
+
}, Bf = (e, t) => bf(e) ? e.conditions.length > 0 && e.conditions.every((e) => Bf(e, t)) : e.colId === t, Vf = (e) => {
|
|
9766
|
+
if (!bf(e)) return e.colId;
|
|
9443
9767
|
let t = /* @__PURE__ */ new Set();
|
|
9444
|
-
return
|
|
9445
|
-
},
|
|
9446
|
-
if (!e ||
|
|
9447
|
-
if (!
|
|
9448
|
-
let n = e.conditions.flatMap((e) =>
|
|
9768
|
+
return zf(e, (e) => t.add(e.colId)), t.size === 1 ? [...t][0] : null;
|
|
9769
|
+
}, Hf = (e, t) => {
|
|
9770
|
+
if (!e || Bf(e, t)) return null;
|
|
9771
|
+
if (!bf(e) || e.type !== "AND") return Sf(e);
|
|
9772
|
+
let n = e.conditions.flatMap((e) => Bf(e, t) ? [] : [Sf(e)]);
|
|
9449
9773
|
return n.length ? n.length === 1 ? n[0] : {
|
|
9450
9774
|
conditions: n,
|
|
9451
9775
|
filterType: e.filterType,
|
|
9452
9776
|
type: e.type
|
|
9453
9777
|
} : null;
|
|
9454
|
-
},
|
|
9455
|
-
let r =
|
|
9456
|
-
return n ? r ?
|
|
9778
|
+
}, Uf = (e, t, n) => {
|
|
9779
|
+
let r = Hf(Cf(e), t);
|
|
9780
|
+
return n ? r ? bf(r) && r.type === "AND" ? xf({
|
|
9457
9781
|
...r,
|
|
9458
9782
|
conditions: [...r.conditions, n]
|
|
9459
|
-
}) :
|
|
9783
|
+
}) : xf({
|
|
9460
9784
|
conditions: [r, n],
|
|
9461
9785
|
filterType: "join",
|
|
9462
9786
|
type: "AND"
|
|
9463
|
-
}) :
|
|
9464
|
-
},
|
|
9787
|
+
}) : xf(n) : xf(r);
|
|
9788
|
+
}, Wf = (e, t) => {
|
|
9465
9789
|
e.includes(t) || e.push(t);
|
|
9466
|
-
},
|
|
9790
|
+
}, Gf = (e) => {
|
|
9467
9791
|
if (e.filterType !== "text" || e.type !== "equals" || e.filter === void 0) return !1;
|
|
9468
9792
|
let t = String(e.filter);
|
|
9469
9793
|
return t === "true" || t === "false";
|
|
9470
|
-
},
|
|
9794
|
+
}, Kf = (e) => e.filterType === "boolean" || Gf(e), qf = (e, t) => {
|
|
9471
9795
|
if (e.filterType === "set" && Array.isArray(e.values)) {
|
|
9472
|
-
e.values.forEach((e) =>
|
|
9796
|
+
e.values.forEach((e) => Wf(t.values, String(e)));
|
|
9473
9797
|
return;
|
|
9474
9798
|
}
|
|
9475
9799
|
if (e.filterType === "text" && e.type === "equals" && e.filter !== void 0) {
|
|
9476
9800
|
let n = String(e.filter);
|
|
9477
|
-
n === "true" ? t.booleanValue = !0 : n === "false" && (t.booleanValue = !1),
|
|
9801
|
+
n === "true" ? t.booleanValue = !0 : n === "false" && (t.booleanValue = !1), Wf(t.values, n);
|
|
9478
9802
|
return;
|
|
9479
9803
|
}
|
|
9480
9804
|
if (e.filterType === "boolean") {
|
|
@@ -9498,7 +9822,7 @@ var ao = {
|
|
|
9498
9822
|
...t.rangeValue,
|
|
9499
9823
|
max: e.filter
|
|
9500
9824
|
}));
|
|
9501
|
-
},
|
|
9825
|
+
}, Jf = (e, t) => {
|
|
9502
9826
|
if (e.type === "notBlank") {
|
|
9503
9827
|
t.existsValue = !0;
|
|
9504
9828
|
return;
|
|
@@ -9508,12 +9832,12 @@ var ao = {
|
|
|
9508
9832
|
return;
|
|
9509
9833
|
}
|
|
9510
9834
|
if (e.filterType === "set" && Array.isArray(e.values)) {
|
|
9511
|
-
e.values.forEach((e) =>
|
|
9835
|
+
e.values.forEach((e) => Wf(t.values, String(e)));
|
|
9512
9836
|
return;
|
|
9513
9837
|
}
|
|
9514
9838
|
if (e.filterType === "text" && e.type === "equals" && e.filter !== void 0) {
|
|
9515
9839
|
let n = String(e.filter);
|
|
9516
|
-
n === "true" ? t.booleanValue = !0 : n === "false" && (t.booleanValue = !1),
|
|
9840
|
+
n === "true" ? t.booleanValue = !0 : n === "false" && (t.booleanValue = !1), Wf(t.values, n);
|
|
9517
9841
|
return;
|
|
9518
9842
|
}
|
|
9519
9843
|
e.filterType !== "number" || typeof e.filter != "number" || (e.type === "equals" && (t.rangeValue = {
|
|
@@ -9526,29 +9850,29 @@ var ao = {
|
|
|
9526
9850
|
...t.rangeValue,
|
|
9527
9851
|
max: e.filter
|
|
9528
9852
|
}));
|
|
9529
|
-
},
|
|
9853
|
+
}, Yf = (e, t = "advanced") => {
|
|
9530
9854
|
let n = /* @__PURE__ */ new Map();
|
|
9531
9855
|
if (t === "regular") {
|
|
9532
|
-
if (!
|
|
9856
|
+
if (!Tf(e)) return n;
|
|
9533
9857
|
for (let [t, r] of Object.entries(e)) {
|
|
9534
|
-
let e =
|
|
9535
|
-
|
|
9858
|
+
let e = _f();
|
|
9859
|
+
Mf(r).forEach((t) => qf(t, e)), (e.values.length || e.booleanValue !== null || e.existsValue || e.rangeValue.min !== null || e.rangeValue.max !== null) && n.set(t, e);
|
|
9536
9860
|
}
|
|
9537
9861
|
return n;
|
|
9538
9862
|
}
|
|
9539
|
-
let r =
|
|
9863
|
+
let r = Cf(e);
|
|
9540
9864
|
if (!r) return n;
|
|
9541
|
-
let i =
|
|
9865
|
+
let i = bf(r) && r.type === "AND" ? r.conditions : [r];
|
|
9542
9866
|
for (let e of i) {
|
|
9543
|
-
let t =
|
|
9867
|
+
let t = Vf(e);
|
|
9544
9868
|
if (!t) continue;
|
|
9545
|
-
let r = n.get(t) ??
|
|
9546
|
-
|
|
9547
|
-
e.colId === t &&
|
|
9869
|
+
let r = n.get(t) ?? _f();
|
|
9870
|
+
zf(e, (e) => {
|
|
9871
|
+
e.colId === t && Jf(e, r);
|
|
9548
9872
|
}), (r.values.length || r.booleanValue !== null || r.existsValue || r.rangeValue.min !== null || r.rangeValue.max !== null) && n.set(t, r);
|
|
9549
9873
|
}
|
|
9550
9874
|
return n;
|
|
9551
|
-
},
|
|
9875
|
+
}, Xf = (e, t = "advanced") => t === "regular" ? Tf(e) && Object.keys(e).length > 0 : Cf(e) !== null, Zf = (e) => e === "currency" || e === "formula" || e === "integer" || e === "number" || e === "percent" ? "number" : e === "date" ? "date" : "text", Qf = (e, t, n = "advanced") => n === "regular" ? Ff(e, t) : xf(Hf(Cf(e), t)), $f = (e, t, n, r = "advanced", i = "boolean", a) => n === null ? r === "regular" ? Rf(e, t, null, Kf, a) : Qf(e, t, r) : r === "regular" ? Rf(e, t, i === "text" ? {
|
|
9552
9876
|
filter: String(n),
|
|
9553
9877
|
filterType: "text",
|
|
9554
9878
|
type: "equals"
|
|
@@ -9556,30 +9880,30 @@ var ao = {
|
|
|
9556
9880
|
filter: n,
|
|
9557
9881
|
filterType: "boolean",
|
|
9558
9882
|
type: n ? "true" : "false"
|
|
9559
|
-
},
|
|
9883
|
+
}, Kf, a) : i === "text" ? Uf(e, t, {
|
|
9560
9884
|
colId: t,
|
|
9561
9885
|
filter: String(n),
|
|
9562
9886
|
filterType: "text",
|
|
9563
9887
|
type: "equals"
|
|
9564
|
-
}) :
|
|
9888
|
+
}) : Uf(e, t, {
|
|
9565
9889
|
colId: t,
|
|
9566
9890
|
filterType: "boolean",
|
|
9567
9891
|
type: n ? "true" : "false"
|
|
9568
|
-
}),
|
|
9892
|
+
}), ep = (e, t, n, r = "text", i = "advanced", a) => n ? i === "regular" ? Rf(e, t, {
|
|
9569
9893
|
filterType: r,
|
|
9570
9894
|
type: "notBlank"
|
|
9571
|
-
}, (e) => e.filterType === r && e.type === "notBlank", a) :
|
|
9895
|
+
}, (e) => e.filterType === r && e.type === "notBlank", a) : Uf(e, t, {
|
|
9572
9896
|
colId: t,
|
|
9573
9897
|
filterType: r,
|
|
9574
9898
|
type: "notBlank"
|
|
9575
|
-
}) : i === "regular" ?
|
|
9576
|
-
let o =
|
|
9577
|
-
if (i === "regular") return o === null && s === null ?
|
|
9899
|
+
}) : i === "regular" ? Rf(e, t, null, (e) => e.filterType === r && e.type === "notBlank", a) : Qf(e, t, i), tp = (e, t, n, r, i = "advanced", a) => {
|
|
9900
|
+
let o = wf(n), s = wf(r);
|
|
9901
|
+
if (i === "regular") return o === null && s === null ? Rf(e, t, null, (e) => e.filterType === "number", a) : o !== null && s !== null ? Rf(e, t, {
|
|
9578
9902
|
filter: o,
|
|
9579
9903
|
filterTo: s,
|
|
9580
9904
|
filterType: "number",
|
|
9581
9905
|
type: "inRange"
|
|
9582
|
-
}, (e) => e.filterType === "number", a) :
|
|
9906
|
+
}, (e) => e.filterType === "number", a) : Rf(e, t, {
|
|
9583
9907
|
filter: o ?? s,
|
|
9584
9908
|
filterType: "number",
|
|
9585
9909
|
type: o === null ? "lessThanOrEqual" : "greaterThanOrEqual"
|
|
@@ -9595,29 +9919,29 @@ var ao = {
|
|
|
9595
9919
|
filter: s,
|
|
9596
9920
|
filterType: "number",
|
|
9597
9921
|
type: "lessThanOrEqual"
|
|
9598
|
-
}), c.length ?
|
|
9922
|
+
}), c.length ? Uf(e, t, c.length === 1 ? c[0] : {
|
|
9599
9923
|
conditions: c,
|
|
9600
9924
|
filterType: "join",
|
|
9601
9925
|
type: "AND"
|
|
9602
|
-
}) :
|
|
9603
|
-
},
|
|
9926
|
+
}) : Qf(e, t);
|
|
9927
|
+
}, np = (e, t, n, r = "advanced", i) => {
|
|
9604
9928
|
let a = Array.from(new Set(n));
|
|
9605
|
-
if (r === "regular") return a.length ?
|
|
9929
|
+
if (r === "regular") return a.length ? Rf(e, t, {
|
|
9606
9930
|
filterType: "set",
|
|
9607
9931
|
values: a
|
|
9608
|
-
}, (e) => e.filterType === "set", i) :
|
|
9932
|
+
}, (e) => e.filterType === "set", i) : Rf(e, t, null, (e) => e.filterType === "set", i);
|
|
9609
9933
|
let o = a.map((e) => ({
|
|
9610
9934
|
colId: t,
|
|
9611
9935
|
filter: e,
|
|
9612
9936
|
filterType: "text",
|
|
9613
9937
|
type: "equals"
|
|
9614
9938
|
}));
|
|
9615
|
-
return o.length ?
|
|
9939
|
+
return o.length ? Uf(e, t, o.length === 1 ? o[0] : {
|
|
9616
9940
|
conditions: o,
|
|
9617
9941
|
filterType: "join",
|
|
9618
9942
|
type: "OR"
|
|
9619
|
-
}) :
|
|
9620
|
-
},
|
|
9943
|
+
}) : Qf(e, t);
|
|
9944
|
+
}, rp = Symbol("PvFilterStore"), ip = (e) => e ? Array.isArray(e) ? { values: e } : e : { values: [] }, ap = (e, t) => t ?? e, op = (e) => Object.fromEntries(Object.entries(e).map(([e, t]) => [e, [...t]])), sp = (e) => {
|
|
9621
9945
|
let t = /* @__PURE__ */ new Map();
|
|
9622
9946
|
for (let n of e) {
|
|
9623
9947
|
if (!n) continue;
|
|
@@ -9629,34 +9953,34 @@ var ao = {
|
|
|
9629
9953
|
t.set(n.value, {
|
|
9630
9954
|
...e,
|
|
9631
9955
|
...n,
|
|
9632
|
-
children:
|
|
9633
|
-
totalChildCount:
|
|
9956
|
+
children: sp([...e.children ?? [], ...n.children ?? []]),
|
|
9957
|
+
totalChildCount: ap(e.totalChildCount, n.totalChildCount)
|
|
9634
9958
|
});
|
|
9635
9959
|
}
|
|
9636
9960
|
return [...t.values()];
|
|
9637
|
-
},
|
|
9961
|
+
}, cp = (e, t) => {
|
|
9638
9962
|
for (let n of e ?? []) {
|
|
9639
9963
|
if (!n) continue;
|
|
9640
9964
|
if (n.value === t) return n;
|
|
9641
|
-
let e =
|
|
9965
|
+
let e = cp(n.children, t);
|
|
9642
9966
|
if (e) return e;
|
|
9643
9967
|
}
|
|
9644
|
-
},
|
|
9968
|
+
}, lp = (e, t, n) => {
|
|
9645
9969
|
if (!e || t === null) return !1;
|
|
9646
9970
|
if (e.value === t) return !0;
|
|
9647
|
-
let r =
|
|
9648
|
-
return r !== null && r === t ||
|
|
9649
|
-
},
|
|
9650
|
-
let r =
|
|
9971
|
+
let r = Wu(e);
|
|
9972
|
+
return r !== null && r === t || qu(e, e.colField ?? n, t, n) ? !0 : e.children?.some((e) => lp(e, t, n)) ?? !1;
|
|
9973
|
+
}, up = (e, t, n) => {
|
|
9974
|
+
let r = cp(n, t) ?? null, i = r?.children ?? n.filter(Boolean);
|
|
9651
9975
|
return e.map((e) => e && (e.value === t ? {
|
|
9652
9976
|
...e,
|
|
9653
|
-
children:
|
|
9654
|
-
totalChildCount:
|
|
9977
|
+
children: sp([...e.children ?? [], ...i]),
|
|
9978
|
+
totalChildCount: ap(e.totalChildCount, r?.totalChildCount)
|
|
9655
9979
|
} : e.children?.length ? {
|
|
9656
9980
|
...e,
|
|
9657
|
-
children:
|
|
9981
|
+
children: up(e.children, t, n).filter((e) => !!e)
|
|
9658
9982
|
} : e));
|
|
9659
|
-
},
|
|
9983
|
+
}, dp = (e, t) => `${e}::${t}`, fp = () => {
|
|
9660
9984
|
let e = j(null), t = j(null), n = j(), r = j({}), i = j({}), a = j({}), o = j({}), s = j({}), c = j({}), l = j({}), u = j({}), d = j({}), f = j({}), p = j({}), m = j({}), h = j({}), g = j({}), _ = j({}), v = j(), y = j({}), b = (e) => {
|
|
9661
9985
|
v.value = e;
|
|
9662
9986
|
}, x = (e) => r.value[e] ?? [], S = (e, t) => {
|
|
@@ -9665,11 +9989,11 @@ var ao = {
|
|
|
9665
9989
|
let r = n ? o : i;
|
|
9666
9990
|
r.value[e] = t;
|
|
9667
9991
|
}, T = () => {
|
|
9668
|
-
o.value =
|
|
9992
|
+
o.value = op(i.value), s.value = op(a.value);
|
|
9669
9993
|
}, E = () => {
|
|
9670
9994
|
o.value = {}, s.value = {};
|
|
9671
9995
|
}, D = () => {
|
|
9672
|
-
i.value =
|
|
9996
|
+
i.value = op(o.value), a.value = op(s.value), E();
|
|
9673
9997
|
}, O = (e, t) => {
|
|
9674
9998
|
c.value[e] = t;
|
|
9675
9999
|
}, k = (e, t) => {
|
|
@@ -9693,7 +10017,7 @@ var ao = {
|
|
|
9693
10017
|
if (!o) return [];
|
|
9694
10018
|
let s = n.query ?? c.value[n.field] ?? void 0;
|
|
9695
10019
|
c.value[n.field] = s;
|
|
9696
|
-
let u = n.parentId ?
|
|
10020
|
+
let u = n.parentId ? cp(r.value[n.field], n.parentId) : void 0, d = n.offset ?? (n.parentId ? u?.children?.length ?? 0 : n.reason === "load-more" ? (r.value[n.field] ?? []).filter(Boolean).length : 0), y = n.reason === "load-more" || n.reason === "child-load-more", b = M(n.field, y), x = n.parentId ? dp(n.field, n.parentId) : n.field, S = (g.value[x] ?? 0) + 1;
|
|
9697
10021
|
g.value[x] = S;
|
|
9698
10022
|
try {
|
|
9699
10023
|
let c = await o({
|
|
@@ -9705,17 +10029,17 @@ var ao = {
|
|
|
9705
10029
|
selectedValues: n.selectedValues ?? i.value[n.field] ?? []
|
|
9706
10030
|
});
|
|
9707
10031
|
if (g.value[x] !== S) return [];
|
|
9708
|
-
let u =
|
|
10032
|
+
let u = ip(c);
|
|
9709
10033
|
if (n.parentId) {
|
|
9710
|
-
let e =
|
|
10034
|
+
let e = dp(n.field, n.parentId);
|
|
9711
10035
|
m.value[e] = u.hasMore, h.value[e] = u.totalCount;
|
|
9712
10036
|
} else f.value[n.field] = u.hasMore, p.value[n.field] = u.totalCount;
|
|
9713
10037
|
let v = a.value[n.field] ?? [], b;
|
|
9714
|
-
b = n.parentId ?
|
|
10038
|
+
b = n.parentId ? up(r.value[n.field] ?? [], n.parentId, u.values) : y ? sp([...r.value[n.field] ?? [], ...u.values]) : u.values;
|
|
9715
10039
|
for (let e of v) {
|
|
9716
10040
|
if (!e) continue;
|
|
9717
|
-
let t =
|
|
9718
|
-
b.some((e) =>
|
|
10041
|
+
let t = Wu(e) ?? e.value;
|
|
10042
|
+
b.some((e) => lp(e, t, n.field)) || b.push(e);
|
|
9719
10043
|
}
|
|
9720
10044
|
return r.value[n.field] = b, _.value[n.field] = !1, b.filter((e) => !!e).map((e) => e.value);
|
|
9721
10045
|
} finally {
|
|
@@ -9750,20 +10074,20 @@ var ao = {
|
|
|
9750
10074
|
stagedFilterSelectedMetadataMap: s,
|
|
9751
10075
|
stagedFilterSelectedValueMap: o
|
|
9752
10076
|
};
|
|
9753
|
-
},
|
|
9754
|
-
A(
|
|
9755
|
-
},
|
|
10077
|
+
}, pp = (e) => {
|
|
10078
|
+
A(rp, e);
|
|
10079
|
+
}, mp = () => h(rp, null), hp = () => mp() ?? fp(), gp = "__range__", _p = "__boolean__", vp = "__exists__", yp = new Set([
|
|
9756
10080
|
"value",
|
|
9757
10081
|
"range",
|
|
9758
10082
|
"boolean",
|
|
9759
10083
|
"exists"
|
|
9760
10084
|
]);
|
|
9761
|
-
function
|
|
10085
|
+
function bp(e, t, n) {
|
|
9762
10086
|
f();
|
|
9763
|
-
let i = j(t.value), a =
|
|
10087
|
+
let i = j(t.value), a = fp(), o = mp(), s = /* @__PURE__ */ new Set(), c = /* @__PURE__ */ new Set(), l = I(/* @__PURE__ */ new Map()), u = r(() => !!(e.filterStore ?? o)), d = r(() => !u.value && !!e.filterOptionsHandler), p = r(() => e.filterStore ?? o ?? a), m = r(() => p.value === a), h = r(() => u.value || d.value), g = r(() => e.filterModelType ?? p.value?.filterModelType.value), _ = r(() => g.value ?? "advanced"), v = r(() => {
|
|
9764
10088
|
let n = p.value;
|
|
9765
10089
|
return n ? e.staged ? n.stagedFilterModel.value : n.filterModel.value : e.staged ? i.value : t.value;
|
|
9766
|
-
}), y = r(() =>
|
|
10090
|
+
}), y = r(() => Yf(v.value, _.value)), b = (e, t) => {
|
|
9767
10091
|
let n = e.applyFilterModel;
|
|
9768
10092
|
if (typeof n == "function") {
|
|
9769
10093
|
n(t);
|
|
@@ -9854,7 +10178,7 @@ function Nf(e, t, n) {
|
|
|
9854
10178
|
});
|
|
9855
10179
|
let D = (e) => e.context ?? {}, O = (e) => e.colId || e.field || "", k = (e) => typeof e == "number" && Number.isFinite(e) ? e : null, A = (e) => {
|
|
9856
10180
|
let t = D(e), n = t.filterPanelType;
|
|
9857
|
-
if (n &&
|
|
10181
|
+
if (n && yp.has(n)) return n;
|
|
9858
10182
|
if (t.filterPanelRange) return "range";
|
|
9859
10183
|
if (t.dataType === "boolean") return "boolean";
|
|
9860
10184
|
if (e.filter) return "value";
|
|
@@ -9894,30 +10218,30 @@ function Nf(e, t, n) {
|
|
|
9894
10218
|
...r,
|
|
9895
10219
|
...i
|
|
9896
10220
|
].filter(Boolean)));
|
|
9897
|
-
}, re = (e) => _.value === "advanced" &&
|
|
10221
|
+
}, re = (e) => _.value === "advanced" && td(e), ie = (e, t) => re(e) ? dd({
|
|
9898
10222
|
colDef: e,
|
|
9899
10223
|
model: v.value,
|
|
9900
10224
|
options: t
|
|
9901
10225
|
}) : new Map(W(e).map((e) => [e, y.value.get(e)?.values ?? []])), ae = (e, t, n, r) => {
|
|
9902
10226
|
let i = /* @__PURE__ */ new Set();
|
|
9903
|
-
for (let t of
|
|
10227
|
+
for (let t of Ku(r)) for (let [r, a] of n) for (let n of a) qu(t, r, n, e) && i.add(`${r}:${n}`);
|
|
9904
10228
|
return [...n.entries()].flatMap(([t, n]) => n.flatMap((n) => i.has(`${t}:${n}`) ? [] : [{
|
|
9905
10229
|
colField: t === e ? void 0 : t,
|
|
9906
10230
|
label: n,
|
|
9907
10231
|
metadata: { rawValue: n },
|
|
9908
|
-
value: t === e ? n :
|
|
10232
|
+
value: t === e ? n : Uu(t, n)
|
|
9909
10233
|
}]));
|
|
9910
10234
|
}, oe = (e, t, n) => {
|
|
9911
10235
|
let r = /* @__PURE__ */ new Set();
|
|
9912
|
-
for (let i of
|
|
9913
|
-
let n =
|
|
10236
|
+
for (let i of Ku(n)) {
|
|
10237
|
+
let n = Gu(i, e), a = Wu(i);
|
|
9914
10238
|
a !== null && t.get(n)?.includes(a) && r.add(i.value);
|
|
9915
10239
|
}
|
|
9916
10240
|
return Array.from(r);
|
|
9917
10241
|
}, K = (t) => Object.fromEntries(W(t).map((t) => [t, e.focusedValues[t] ?? []])), q = (t) => e.colDefs.find((e) => O(e) === t || e.field === t || e.colId === t), ce = (e) => q(e)?.headerName ?? e, J = (e) => {
|
|
9918
10242
|
let t = D(e);
|
|
9919
|
-
return typeof t.filterPanelSearchPlaceholder == "string" ? t.filterPanelSearchPlaceholder :
|
|
9920
|
-
}, Y = (e, t) =>
|
|
10243
|
+
return typeof t.filterPanelSearchPlaceholder == "string" ? t.filterPanelSearchPlaceholder : mf(O(e), t.queryColIds, ce);
|
|
10244
|
+
}, Y = (e, t) => gf({
|
|
9921
10245
|
fallbackSubText: e.subText,
|
|
9922
10246
|
getDisplayName: ce,
|
|
9923
10247
|
matchedField: e.matchedField,
|
|
@@ -9935,7 +10259,7 @@ function Nf(e, t, n) {
|
|
|
9935
10259
|
isActive: y.value.get(e)?.booleanValue === !0,
|
|
9936
10260
|
label: q(e)?.headerName ?? e
|
|
9937
10261
|
}));
|
|
9938
|
-
}, de = (e) => X.value.find((t) => t.key === e) ?? X.value.find((t) => W(t.colDef).includes(e)), fe = (e, t, n) =>
|
|
10262
|
+
}, de = (e) => X.value.find((t) => t.key === e) ?? X.value.find((t) => W(t.colDef).includes(e)), fe = (e, t, n) => Ku(de(e)?.knownOptions ?? []).find((r) => r.value === n || qu(r, t, n, e)), X = r(() => e.colDefs.filter(F).map((t) => {
|
|
9939
10263
|
let n = O(t), r = D(t), i = M(t), a = le(L(n), t), o = le(H(n), t), s = {
|
|
9940
10264
|
category: N(t),
|
|
9941
10265
|
clientFiltering: r.filterOptionsClientFiltering !== !1,
|
|
@@ -9998,7 +10322,7 @@ function Nf(e, t, n) {
|
|
|
9998
10322
|
...s,
|
|
9999
10323
|
existsValue: y.value.get(n)?.existsValue ?? !1
|
|
10000
10324
|
};
|
|
10001
|
-
let c = o, u = e.controlledValues[n] ?? [], d = s.controlled ? new Map([[n, u]]) : ie(t, c), f = ae(n, t, d, c), p = [...c, ...f], m = re(t) ?
|
|
10325
|
+
let c = o, u = e.controlledValues[n] ?? [], d = s.controlled ? new Map([[n, u]]) : ie(t, c), f = ae(n, t, d, c), p = [...c, ...f], m = re(t) ? ud({
|
|
10002
10326
|
colDef: t,
|
|
10003
10327
|
model: v.value,
|
|
10004
10328
|
options: p
|
|
@@ -10018,19 +10342,19 @@ function Nf(e, t, n) {
|
|
|
10018
10342
|
label: e.label,
|
|
10019
10343
|
values: t
|
|
10020
10344
|
}] : [];
|
|
10021
|
-
})), pe = r(() => Z.value.reduce((e, t) => e + t.values.length, 0)), me = r(() =>
|
|
10345
|
+
})), pe = r(() => Z.value.reduce((e, t) => e + t.values.length, 0)), me = r(() => Xf(v.value, _.value)), he = r(() => me.value || pe.value > 0), ge = (e) => {
|
|
10022
10346
|
let t = de(e.field);
|
|
10023
10347
|
if (!t || t.type !== e.filter.type) return !0;
|
|
10024
10348
|
if (e.filter.type === "value") {
|
|
10025
10349
|
if (t.isAggregate && e.option) {
|
|
10026
|
-
let { selected: n } =
|
|
10350
|
+
let { selected: n } = wd({
|
|
10027
10351
|
option: e.option,
|
|
10028
10352
|
options: t.knownOptions ?? [],
|
|
10029
10353
|
state: t.aggregateSelectionState ?? []
|
|
10030
10354
|
});
|
|
10031
10355
|
return e.filter.checked ? n : !n;
|
|
10032
10356
|
}
|
|
10033
|
-
let n = new Set(t.selectedValues ?? []), r = e.option?.value ?? e.filter.value, i = e.option ?
|
|
10357
|
+
let n = new Set(t.selectedValues ?? []), r = e.option?.value ?? e.filter.value, i = e.option ? Wu(e.option) : e.filter.value, a = n.has(r) || i !== null && n.has(i);
|
|
10034
10358
|
return e.filter.checked ? a : !a;
|
|
10035
10359
|
}
|
|
10036
10360
|
return e.filter.type === "range" ? t.rangeValue?.min === e.filter.value.min && t.rangeValue?.max === e.filter.value.max : e.filter.type === "boolean" ? t.booleanValue === e.filter.value : (t.existsValue ?? !1) === e.filter.value;
|
|
@@ -10044,14 +10368,14 @@ function Nf(e, t, n) {
|
|
|
10044
10368
|
a.setFilterSelectedValues(n, r, e.staged);
|
|
10045
10369
|
let o = e.staged ? a.stagedFilterSelectedMetadataMap : a.filterSelectedMetadataMap, s = o.value[t] ?? [], c = new Set(r), l = s.filter((e) => {
|
|
10046
10370
|
if (!e) return !1;
|
|
10047
|
-
let r =
|
|
10371
|
+
let r = Gu(e, t), i = Wu(e) ?? e.value;
|
|
10048
10372
|
return r !== n || c.has(i);
|
|
10049
10373
|
});
|
|
10050
10374
|
if (i) {
|
|
10051
|
-
let e =
|
|
10375
|
+
let e = Wu(i) ?? i.value, n = Gu(i, t);
|
|
10052
10376
|
l.some((r) => {
|
|
10053
|
-
let i =
|
|
10054
|
-
return
|
|
10377
|
+
let i = Wu(r) ?? r.value;
|
|
10378
|
+
return Gu(r, t) === n && i === e;
|
|
10055
10379
|
}) || l.push(i);
|
|
10056
10380
|
}
|
|
10057
10381
|
o.value[t] = l;
|
|
@@ -10061,7 +10385,7 @@ function Nf(e, t, n) {
|
|
|
10061
10385
|
let i = n.flatMap((e) => e.state === "selected" ? [e.id] : []);
|
|
10062
10386
|
r.setFilterSelectedValues(t.key, i, e.staged);
|
|
10063
10387
|
let a = e.staged ? r.stagedFilterSelectedMetadataMap : r.filterSelectedMetadataMap;
|
|
10064
|
-
a.value[t.key] =
|
|
10388
|
+
a.value[t.key] = Td({
|
|
10065
10389
|
options: t.knownOptions ?? [],
|
|
10066
10390
|
state: n
|
|
10067
10391
|
});
|
|
@@ -10090,48 +10414,48 @@ function Nf(e, t, n) {
|
|
|
10090
10414
|
return t === null ? [] : [{
|
|
10091
10415
|
label: e.valueLabels?.[String(t)] ?? (t ? "Yes" : "No"),
|
|
10092
10416
|
type: "boolean",
|
|
10093
|
-
value:
|
|
10417
|
+
value: _p
|
|
10094
10418
|
}];
|
|
10095
10419
|
}, we = (e) => e.existsValue ? [{
|
|
10096
10420
|
label: e.existsLabel ?? `Has ${e.label}`,
|
|
10097
10421
|
type: "exists",
|
|
10098
|
-
value:
|
|
10422
|
+
value: vp
|
|
10099
10423
|
}] : [], Te = (e) => {
|
|
10100
10424
|
let t = e.rangeValue ?? {
|
|
10101
10425
|
max: null,
|
|
10102
10426
|
min: null
|
|
10103
10427
|
};
|
|
10104
10428
|
return t.min === null && t.max === null ? [] : [{
|
|
10105
|
-
label:
|
|
10429
|
+
label: Nu(t.min, t.max, {
|
|
10106
10430
|
dataType: e.dataType,
|
|
10107
10431
|
valueDecimals: e.valueDecimals
|
|
10108
10432
|
}),
|
|
10109
10433
|
type: "range",
|
|
10110
|
-
value:
|
|
10434
|
+
value: gp
|
|
10111
10435
|
}];
|
|
10112
10436
|
}, Ee = (e, t, n) => {
|
|
10113
10437
|
let r = n.get(t) ?? null;
|
|
10114
10438
|
return {
|
|
10115
|
-
field: r ?
|
|
10116
|
-
label: r ?
|
|
10117
|
-
resultCount:
|
|
10439
|
+
field: r ? Gu(r, e.key) : void 0,
|
|
10440
|
+
label: r ? Iu(r, e.colDef) : t,
|
|
10441
|
+
resultCount: Lu(r),
|
|
10118
10442
|
subText: r?.subText,
|
|
10119
10443
|
subduedText: r?.subduedText,
|
|
10120
10444
|
type: "value",
|
|
10121
|
-
value: r ?
|
|
10445
|
+
value: r ? Wu(r) ?? r.value : t
|
|
10122
10446
|
};
|
|
10123
10447
|
}, De = (e) => (e.filterGroupOptions ?? []).flatMap((e) => e.isActive ? [{
|
|
10124
10448
|
field: e.field,
|
|
10125
10449
|
label: e.label,
|
|
10126
10450
|
type: "boolean",
|
|
10127
|
-
value:
|
|
10128
|
-
}] : []), ke = (e) =>
|
|
10451
|
+
value: _p
|
|
10452
|
+
}] : []), ke = (e) => Td({
|
|
10129
10453
|
options: e.knownOptions ?? [],
|
|
10130
10454
|
state: e.aggregateSelectionState ?? []
|
|
10131
10455
|
}).map((t) => ({
|
|
10132
10456
|
field: e.key,
|
|
10133
|
-
label:
|
|
10134
|
-
resultCount:
|
|
10457
|
+
label: Iu(t, e.colDef),
|
|
10458
|
+
resultCount: Lu(t),
|
|
10135
10459
|
subText: t.subText,
|
|
10136
10460
|
subduedText: t.subduedText,
|
|
10137
10461
|
type: "value",
|
|
@@ -10142,7 +10466,7 @@ function Nf(e, t, n) {
|
|
|
10142
10466
|
if (e.type === "boolean") return Ce(e);
|
|
10143
10467
|
if (e.type === "exists") return we(e);
|
|
10144
10468
|
if (e.isAggregate) return [...ke(e), ...De(e)];
|
|
10145
|
-
let t = new Map(
|
|
10469
|
+
let t = new Map(Ku(e.knownOptions ?? []).map((e) => [e.value, e]));
|
|
10146
10470
|
return [...(e.selectedValues ?? []).map((n) => Ee(e, n, t)), ...De(e)];
|
|
10147
10471
|
}, je = () => {
|
|
10148
10472
|
Ve(), Se(null, "clear-all");
|
|
@@ -10154,9 +10478,9 @@ function Nf(e, t, n) {
|
|
|
10154
10478
|
Ve();
|
|
10155
10479
|
let e = p.value;
|
|
10156
10480
|
e && (e.stagedFilterModel.value = e.filterModel.value, e.initStagedFilterSelections()), i.value = t.value, n("cancel");
|
|
10157
|
-
}, Pe = (e) =>
|
|
10481
|
+
}, Pe = (e) => Zf(de(e)?.dataType), Fe = (e, t, n = "value-toggle") => {
|
|
10158
10482
|
let r = de(e);
|
|
10159
|
-
r?.isAggregate && (be(r, t), Se(
|
|
10483
|
+
r?.isAggregate && (be(r, t), Se(cd({
|
|
10160
10484
|
baseModel: v.value,
|
|
10161
10485
|
colDef: r.colDef,
|
|
10162
10486
|
options: r.knownOptions ?? [],
|
|
@@ -10171,7 +10495,7 @@ function Nf(e, t, n) {
|
|
|
10171
10495
|
if (t.type === "value") {
|
|
10172
10496
|
let r = de(e), i = fe(e, n, t.value);
|
|
10173
10497
|
if (r?.isAggregate && i) {
|
|
10174
|
-
Fe(e,
|
|
10498
|
+
Fe(e, xd({
|
|
10175
10499
|
checked: t.checked,
|
|
10176
10500
|
option: i,
|
|
10177
10501
|
options: r.knownOptions ?? [],
|
|
@@ -10187,10 +10511,10 @@ function Nf(e, t, n) {
|
|
|
10187
10511
|
return;
|
|
10188
10512
|
}
|
|
10189
10513
|
if (t.type === "boolean") {
|
|
10190
|
-
Se(
|
|
10514
|
+
Se($f(v.value, n, t.value, _.value, t.field ? "text" : "boolean", r), "boolean-change", n, "boolean");
|
|
10191
10515
|
return;
|
|
10192
10516
|
}
|
|
10193
|
-
Se(
|
|
10517
|
+
Se(ep(v.value, n, t.value, Pe(n), _.value, r), "exists-change", n, "exists");
|
|
10194
10518
|
}, Le = (e, t, n, r) => {
|
|
10195
10519
|
let i = p.value;
|
|
10196
10520
|
return !i || e.type !== "value" ? !1 : n !== "open" || r ? !0 : i.filterLoadingMap.value[e.key] ? !1 : i.filterStaleMap.value[e.key] || !(i.filterOptionsMap.value[e.key] ?? []).length ? !0 : (i.filterSearchQueries.value[e.key] ?? "") !== t;
|
|
@@ -10210,7 +10534,7 @@ function Nf(e, t, n) {
|
|
|
10210
10534
|
}, ze = (e, t, r) => {
|
|
10211
10535
|
n("load-more", e.key, e.colDef, t, r), Re(e, t, r ? "child-load-more" : "load-more", r);
|
|
10212
10536
|
}, Be = (e, t, n) => {
|
|
10213
|
-
Se(
|
|
10537
|
+
Se(tp(v.value, e, t.min, t.max, _.value, n), "range-change", e, "range");
|
|
10214
10538
|
}, Ve = () => {
|
|
10215
10539
|
for (let { timer: e } of l.values()) window.clearTimeout(e);
|
|
10216
10540
|
l.clear();
|
|
@@ -10250,7 +10574,7 @@ function Nf(e, t, n) {
|
|
|
10250
10574
|
n("controlled-change", t, l, s.colDef);
|
|
10251
10575
|
return;
|
|
10252
10576
|
}
|
|
10253
|
-
ye(t, r, l, a ? o : void 0), Se(
|
|
10577
|
+
ye(t, r, l, a ? o : void 0), Se(np(v.value, r, l, _.value, q(r) ?? s?.colDef), "value-toggle", r, "value");
|
|
10254
10578
|
};
|
|
10255
10579
|
return {
|
|
10256
10580
|
resolvedFilters: X,
|
|
@@ -10275,8 +10599,8 @@ function Nf(e, t, n) {
|
|
|
10275
10599
|
handleSearchChange: We,
|
|
10276
10600
|
handleSuggestionClick: (e) => {
|
|
10277
10601
|
if (e.filter.type === "value" && e.option) {
|
|
10278
|
-
let t = de(e.field), n =
|
|
10279
|
-
t?.isAggregate ? Fe(e.field,
|
|
10602
|
+
let t = de(e.field), n = Gu(e.option, e.field), r = Wu(e.option) ?? e.filter.value;
|
|
10603
|
+
t?.isAggregate ? Fe(e.field, xd({
|
|
10280
10604
|
checked: e.filter.checked,
|
|
10281
10605
|
option: e.option,
|
|
10282
10606
|
options: t.knownOptions ?? [],
|
|
@@ -10287,21 +10611,21 @@ function Nf(e, t, n) {
|
|
|
10287
10611
|
},
|
|
10288
10612
|
removeAppliedFilter: (e, t, n) => {
|
|
10289
10613
|
let r = n ?? de(e)?.type ?? "value";
|
|
10290
|
-
if (r === "range" || !n && t ===
|
|
10291
|
-
Se(
|
|
10614
|
+
if (r === "range" || !n && t === gp) {
|
|
10615
|
+
Se(tp(v.value, e, null, null, _.value, q(e) ?? de(e)?.colDef), "remove-filter", e, "range");
|
|
10292
10616
|
return;
|
|
10293
10617
|
}
|
|
10294
|
-
if (r === "boolean" || !n && t ===
|
|
10295
|
-
Se(
|
|
10618
|
+
if (r === "boolean" || !n && t === _p) {
|
|
10619
|
+
Se($f(v.value, e, null, _.value, "boolean", q(e) ?? de(e)?.colDef), "remove-filter", e, "boolean");
|
|
10296
10620
|
return;
|
|
10297
10621
|
}
|
|
10298
|
-
if (r === "exists" || !n && t ===
|
|
10299
|
-
Se(
|
|
10622
|
+
if (r === "exists" || !n && t === vp) {
|
|
10623
|
+
Se(ep(v.value, e, !1, "text", _.value, q(e) ?? de(e)?.colDef), "remove-filter", e, "exists");
|
|
10300
10624
|
return;
|
|
10301
10625
|
}
|
|
10302
10626
|
let i = de(e);
|
|
10303
10627
|
if (r === "value" && i?.isAggregate) {
|
|
10304
|
-
let e =
|
|
10628
|
+
let e = nd(i.knownOptions ?? [], t), n = i.aggregateSelectionState ?? [], r = e ? xd({
|
|
10305
10629
|
checked: !1,
|
|
10306
10630
|
option: e,
|
|
10307
10631
|
options: i.knownOptions ?? [],
|
|
@@ -10311,7 +10635,7 @@ function Nf(e, t, n) {
|
|
|
10311
10635
|
return;
|
|
10312
10636
|
}
|
|
10313
10637
|
let a = (y.value.get(e)?.values ?? []).filter((e) => e !== t);
|
|
10314
|
-
ye(de(e)?.key ?? e, e, a), Se(
|
|
10638
|
+
ye(de(e)?.key ?? e, e, a), Se(np(v.value, e, a, _.value, q(e) ?? de(e)?.colDef), "remove-filter", e, "value");
|
|
10315
10639
|
},
|
|
10316
10640
|
setFacetSelections: Q,
|
|
10317
10641
|
usesHandlerFacets: Ke
|
|
@@ -10319,32 +10643,32 @@ function Nf(e, t, n) {
|
|
|
10319
10643
|
}
|
|
10320
10644
|
//#endregion
|
|
10321
10645
|
//#region src/components/base/PvFilterPanel/PvFilterPanel.vue?vue&type=script&setup=true&lang.ts
|
|
10322
|
-
var
|
|
10646
|
+
var xp = ["aria-label"], Sp = { class: "pv-filter-panel-header pv-flex pv-border-bottom" }, Cp = { class: "pv-filter-panel-body pv-flex-vertical" }, wp = {
|
|
10323
10647
|
class: "pv-filter-panel-filters-view pv-flex-vertical",
|
|
10324
10648
|
"data-testid": "pv-filter-panel-filters-view"
|
|
10325
|
-
},
|
|
10649
|
+
}, Tp = {
|
|
10326
10650
|
key: 0,
|
|
10327
10651
|
"aria-label": "Filter suggestions",
|
|
10328
10652
|
class: "pv-filter-panel-suggestions pv-flex-vertical pv-border-bottom",
|
|
10329
10653
|
"data-testid": "pv-filter-panel-suggestions"
|
|
10330
|
-
},
|
|
10654
|
+
}, Ep = { class: "pv-filter-panel-suggestion-tags pv-flex" }, Dp = {
|
|
10331
10655
|
key: 1,
|
|
10332
10656
|
class: "pv-filter-panel-search pv-border-bottom",
|
|
10333
10657
|
"data-testid": "pv-filter-panel-search"
|
|
10334
|
-
},
|
|
10658
|
+
}, Op = {
|
|
10335
10659
|
key: 2,
|
|
10336
10660
|
class: "pv-filter-panel-empty pv-text-body-sm pv-text-subdued"
|
|
10337
|
-
},
|
|
10661
|
+
}, kp = {
|
|
10338
10662
|
key: 3,
|
|
10339
10663
|
class: "pv-filter-panel-empty pv-text-body-sm pv-text-subdued"
|
|
10340
|
-
},
|
|
10664
|
+
}, Ap = {
|
|
10341
10665
|
key: 4,
|
|
10342
10666
|
class: "pv-filter-panel-filter-list pv-flex-vertical pv-inset-inline",
|
|
10343
10667
|
style: { "--inset-size": "8px" }
|
|
10344
|
-
},
|
|
10668
|
+
}, jp = {
|
|
10345
10669
|
key: 0,
|
|
10346
10670
|
class: "pv-filter-panel-footer pv-flex pv-border-top"
|
|
10347
|
-
},
|
|
10671
|
+
}, Mp = { class: "pv-filter-panel-actions pv-flex" }, Np = { class: "pv-text-body-sm" }, Pp = { class: "pv-filter-panel-modal-footer pv-flex" }, Fp = /* @__PURE__ */ d({
|
|
10348
10672
|
__name: "PvFilterPanel",
|
|
10349
10673
|
props: /* @__PURE__ */ _({
|
|
10350
10674
|
allCategoriesLabel: { default: "All" },
|
|
@@ -10435,7 +10759,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10435
10759
|
"suggestion-click"
|
|
10436
10760
|
], ["update:filterModel", "update:isCollapsed"]),
|
|
10437
10761
|
setup(e, { emit: n }) {
|
|
10438
|
-
let c = e, l = H(e, "filterModel"), d = H(e, "isCollapsed"), f = n, { resolvedFilters: p, appliedGroups: m, appliedCount: h, showClearAll: g, visibleSuggestions: _, activateFilter: v, applyStagedFilters: y, cancelStagedFilters: b, clearAllFilters: x, getSuggestionKey: C, handleControlChange: w, handleLoadMore: T, handleSearchChange: E, handleSuggestionClick: D, removeAppliedFilter: O } =
|
|
10762
|
+
let c = e, l = H(e, "filterModel"), d = H(e, "isCollapsed"), f = n, { resolvedFilters: p, appliedGroups: m, appliedCount: h, showClearAll: g, visibleSuggestions: _, activateFilter: v, applyStagedFilters: y, cancelStagedFilters: b, clearAllFilters: x, getSuggestionKey: C, handleControlChange: w, handleLoadMore: T, handleSearchChange: E, handleSuggestionClick: D, removeAppliedFilter: O } = bp(c, l, f), A = j("filters"), P = j({}), F = j(null), I = j(!1), L = j(!1), z = j(""), B = r(() => c.enableFilterSearch ? z.value.trim().toLowerCase() : ""), ee = r(() => B.value.length > 0), te = (e) => e.label.toLowerCase().includes(B.value);
|
|
10439
10763
|
G(ee, (e) => {
|
|
10440
10764
|
e && (F.value = null);
|
|
10441
10765
|
}), G(F, (e) => {
|
|
@@ -10477,7 +10801,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10477
10801
|
"aria-label": e.ariaLabel,
|
|
10478
10802
|
style: S(he.value)
|
|
10479
10803
|
}, [
|
|
10480
|
-
s("div",
|
|
10804
|
+
s("div", Sp, [u(Lr, {
|
|
10481
10805
|
modelValue: A.value,
|
|
10482
10806
|
options: me.value,
|
|
10483
10807
|
class: "pv-filter-panel-mode-control",
|
|
@@ -10491,8 +10815,8 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10491
10815
|
variant: "secondary",
|
|
10492
10816
|
onClick: r[0] ||= (e) => d.value = !0
|
|
10493
10817
|
}))]),
|
|
10494
|
-
s("div",
|
|
10495
|
-
!e.readOnly && V(_).length ? (k(), o("section",
|
|
10818
|
+
s("div", Cp, [q(s("div", wp, [
|
|
10819
|
+
!e.readOnly && V(_).length ? (k(), o("section", Tp, [r[8] ||= s("p", { class: "pv-filter-panel-section-title pv-text-title-sm pv-text-subdued" }, "Suggestions", -1), s("div", Ep, [(k(!0), o(t, null, M(V(_), (e) => (k(), i(ui, {
|
|
10496
10820
|
key: V(C)(e),
|
|
10497
10821
|
icon: e.icon,
|
|
10498
10822
|
"icon-classes": e.iconClasses,
|
|
@@ -10504,8 +10828,8 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10504
10828
|
"label",
|
|
10505
10829
|
"onHandleClick"
|
|
10506
10830
|
]))), 128))])])) : a("", !0),
|
|
10507
|
-
N(n.$slots, "suggestions"
|
|
10508
|
-
u(
|
|
10831
|
+
N(n.$slots, "suggestions"),
|
|
10832
|
+
u(pf, {
|
|
10509
10833
|
modelValue: F.value,
|
|
10510
10834
|
"onUpdate:modelValue": r[1] ||= (e) => F.value = e,
|
|
10511
10835
|
"all-categories-label": e.allCategoriesLabel,
|
|
@@ -10517,12 +10841,12 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10517
10841
|
"category-order",
|
|
10518
10842
|
"filters"
|
|
10519
10843
|
]),
|
|
10520
|
-
e.enableFilterSearch && V(p).length ? (k(), o("div",
|
|
10844
|
+
e.enableFilterSearch && V(p).length ? (k(), o("div", Dp, [u(_i, {
|
|
10521
10845
|
modelValue: z.value,
|
|
10522
10846
|
"onUpdate:modelValue": r[2] ||= (e) => z.value = e,
|
|
10523
10847
|
placeholder: e.filterSearchPlaceholder
|
|
10524
10848
|
}, null, 8, ["modelValue", "placeholder"])])) : a("", !0),
|
|
10525
|
-
V(p).length ? U.value.length ? (k(), o("div",
|
|
10849
|
+
V(p).length ? U.value.length ? (k(), o("div", Ap, [(k(!0), o(t, null, M(pe.value, (t) => (k(), i(Zd, {
|
|
10526
10850
|
key: t.key,
|
|
10527
10851
|
"disable-while-loading": e.disableWhileLoading,
|
|
10528
10852
|
filter: t,
|
|
@@ -10545,8 +10869,8 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10545
10869
|
label: ce.value,
|
|
10546
10870
|
variant: "ghost",
|
|
10547
10871
|
onClick: r[5] ||= (e) => I.value = !I.value
|
|
10548
|
-
}, null, 8, ["label"])) : a("", !0)])) : (k(), o("div",
|
|
10549
|
-
], 512), [[oe, A.value === "filters"]]), q(u(
|
|
10872
|
+
}, null, 8, ["label"])) : a("", !0)])) : (k(), o("div", kp, R(se.value), 1)) : (k(), o("div", Op, " No filters available. "))
|
|
10873
|
+
], 512), [[oe, A.value === "filters"]]), q(u(of, {
|
|
10550
10874
|
"applied-count": V(h),
|
|
10551
10875
|
"applied-groups": V(m),
|
|
10552
10876
|
"external-filters": Y.value,
|
|
@@ -10560,7 +10884,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10560
10884
|
"read-only",
|
|
10561
10885
|
"onRemoveFilter"
|
|
10562
10886
|
]), [[oe, A.value === "applied"]])]),
|
|
10563
|
-
Z.value ? (k(), o("div",
|
|
10887
|
+
Z.value ? (k(), o("div", jp, [s("div", Mp, [X.value && !e.readOnly ? (k(), i($, {
|
|
10564
10888
|
key: 0,
|
|
10565
10889
|
class: "pv-text-brand",
|
|
10566
10890
|
label: e.clearAllLabel,
|
|
@@ -10575,14 +10899,14 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10575
10899
|
variant: "primary",
|
|
10576
10900
|
onClick: V(y)
|
|
10577
10901
|
}, null, 8, ["label", "onClick"])], 64)) : a("", !0)])])) : a("", !0)
|
|
10578
|
-
], 12,
|
|
10902
|
+
], 12, xp)), u(Xr, {
|
|
10579
10903
|
modelValue: L.value,
|
|
10580
10904
|
"onUpdate:modelValue": r[7] ||= (e) => L.value = e,
|
|
10581
10905
|
header: e.clearAllHeader,
|
|
10582
10906
|
style: { "--max-width": "440px" }
|
|
10583
10907
|
}, {
|
|
10584
|
-
body: K(() => [s("p",
|
|
10585
|
-
footer: K(() => [s("div",
|
|
10908
|
+
body: K(() => [s("p", Np, R(e.clearAllBody), 1)]),
|
|
10909
|
+
footer: K(() => [s("div", Pp, [u($, {
|
|
10586
10910
|
label: e.cancelLabel,
|
|
10587
10911
|
variant: "ghost",
|
|
10588
10912
|
onClick: ve
|
|
@@ -10594,16 +10918,16 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10594
10918
|
_: 1
|
|
10595
10919
|
}, 8, ["modelValue", "header"])], 64));
|
|
10596
10920
|
}
|
|
10597
|
-
}),
|
|
10921
|
+
}), Ip = ["for"], Lp = [
|
|
10598
10922
|
"id",
|
|
10599
10923
|
"type",
|
|
10600
10924
|
"value",
|
|
10601
10925
|
"name",
|
|
10602
10926
|
"disabled"
|
|
10603
|
-
],
|
|
10927
|
+
], Rp = { key: 0 }, zp = {
|
|
10604
10928
|
class: "pv-inset-square",
|
|
10605
10929
|
style: { "--inset-size": "0px 2px" }
|
|
10606
|
-
},
|
|
10930
|
+
}, Bp = /* @__PURE__ */ d({
|
|
10607
10931
|
__name: "PvFilterModalSelectItem",
|
|
10608
10932
|
props: /* @__PURE__ */ _({
|
|
10609
10933
|
rounded: { type: Boolean },
|
|
@@ -10625,7 +10949,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10625
10949
|
setup(e) {
|
|
10626
10950
|
let t = e, n = H(e, "modelValue"), i = r(() => t.id ? t.id : `${t.label}-${Math.random()}`);
|
|
10627
10951
|
return (t, r) => (k(), o("label", {
|
|
10628
|
-
class: "pv-toggle-ghost",
|
|
10952
|
+
class: "pv-toggle-ghost pv-text-default",
|
|
10629
10953
|
for: i.value
|
|
10630
10954
|
}, [
|
|
10631
10955
|
q(s("input", {
|
|
@@ -10636,55 +10960,55 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10636
10960
|
value: e.value,
|
|
10637
10961
|
name: e.name,
|
|
10638
10962
|
disabled: e.disabled
|
|
10639
|
-
}, null, 8,
|
|
10640
|
-
e.label ? (k(), o("span",
|
|
10641
|
-
s("span",
|
|
10642
|
-
], 8,
|
|
10963
|
+
}, null, 8, Lp), [[re, n.value]]),
|
|
10964
|
+
e.label ? (k(), o("span", Rp, R(e.label), 1)) : a("", !0),
|
|
10965
|
+
s("span", zp, R(e.rightCounterBadge), 1)
|
|
10966
|
+
], 8, Ip));
|
|
10643
10967
|
}
|
|
10644
|
-
}),
|
|
10968
|
+
}), Vp = ["aria-label"], Hp = {
|
|
10645
10969
|
class: "pv-filter-modal pv-flex",
|
|
10646
10970
|
style: {
|
|
10647
10971
|
"--flex-align": "stretch",
|
|
10648
10972
|
"--flex-gap": "0"
|
|
10649
10973
|
}
|
|
10650
|
-
},
|
|
10974
|
+
}, Up = {
|
|
10651
10975
|
class: "pv-filter-modal-rail pv-flex-vertical pv-border-right",
|
|
10652
10976
|
"aria-label": "Filter categories",
|
|
10653
10977
|
style: { "--flex-gap": "0.25rem" }
|
|
10654
|
-
},
|
|
10978
|
+
}, Wp = {
|
|
10655
10979
|
class: "pv-filter-modal-pane pv-flex-vertical",
|
|
10656
10980
|
style: {
|
|
10657
10981
|
"--flex-align": "stretch",
|
|
10658
10982
|
"--flex-gap": "0.75rem"
|
|
10659
10983
|
}
|
|
10660
|
-
},
|
|
10984
|
+
}, Gp = {
|
|
10661
10985
|
key: 0,
|
|
10662
10986
|
class: "pv-flex",
|
|
10663
10987
|
style: {
|
|
10664
10988
|
"--flex-gap": "0.5rem",
|
|
10665
10989
|
"flex-wrap": "wrap"
|
|
10666
10990
|
}
|
|
10667
|
-
},
|
|
10991
|
+
}, Kp = {
|
|
10668
10992
|
key: 1,
|
|
10669
10993
|
class: "pv-inset-square-8"
|
|
10670
|
-
},
|
|
10994
|
+
}, qp = {
|
|
10671
10995
|
class: "pv-filter-modal-options pv-flex-vertical",
|
|
10672
10996
|
style: {
|
|
10673
10997
|
"--flex-align": "stretch",
|
|
10674
10998
|
"--flex-gap": "0.75rem"
|
|
10675
10999
|
}
|
|
10676
|
-
},
|
|
11000
|
+
}, Jp = {
|
|
10677
11001
|
key: 1,
|
|
10678
11002
|
class: "pv-text-body-sm pv-text-subdued pv-stack-8",
|
|
10679
11003
|
style: { "font-weight": "500" }
|
|
10680
|
-
},
|
|
11004
|
+
}, Yp = {
|
|
10681
11005
|
key: 0,
|
|
10682
11006
|
class: "pv-text-body-xs pv-text-subdued",
|
|
10683
11007
|
style: { margin: "0" }
|
|
10684
|
-
},
|
|
11008
|
+
}, Xp = {
|
|
10685
11009
|
key: 3,
|
|
10686
11010
|
class: "pv-filter-modal-pane-actions pv-space-between pv-border-top"
|
|
10687
|
-
},
|
|
11011
|
+
}, Zp = {
|
|
10688
11012
|
key: 0,
|
|
10689
11013
|
class: "pv-flex pv-border-top",
|
|
10690
11014
|
style: {
|
|
@@ -10693,7 +11017,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10693
11017
|
"margin-top": "0.75rem",
|
|
10694
11018
|
"padding-top": "0.75rem"
|
|
10695
11019
|
}
|
|
10696
|
-
},
|
|
11020
|
+
}, Qp = /* @__PURE__ */ Je(/* @__PURE__ */ d({
|
|
10697
11021
|
__name: "PvFilterModal",
|
|
10698
11022
|
props: /* @__PURE__ */ _({
|
|
10699
11023
|
header: { default: "Filters" },
|
|
@@ -10779,7 +11103,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10779
11103
|
"suggestion-click"
|
|
10780
11104
|
], ["update:filterModel", "update:visible"]),
|
|
10781
11105
|
setup(e, { emit: n }) {
|
|
10782
|
-
let c = e, l = H(e, "filterModel"), d = H(e, "visible"), f = n, { resolvedFilters: p, activateFilter: m, applyStagedFilters: h, cancelStagedFilters: g, handleControlChange: _, handleFacetChange: v, setFacetSelections: y, usesHandlerFacets: x } =
|
|
11106
|
+
let c = e, l = H(e, "filterModel"), d = H(e, "visible"), f = n, { resolvedFilters: p, activateFilter: m, applyStagedFilters: h, cancelStagedFilters: g, handleControlChange: _, handleFacetChange: v, setFacetSelections: y, usesHandlerFacets: x } = bp(c, l, f), w = j(null), T = te(), E = j(""), D = r(() => p.value.filter((e) => e.type === "value")), O = r(() => {
|
|
10783
11107
|
let e = D.value;
|
|
10784
11108
|
return e.find((e) => e.key === w.value) ?? e[0] ?? null;
|
|
10785
11109
|
}), A = r(() => O.value?.isAggregate === !0), P = r(() => O.value?.aggregateSelectionState ?? []), I = r(() => new Set(O.value?.selectedValues ?? [])), L = r(() => E.value.trim().toLowerCase()), z = (e) => {
|
|
@@ -10796,7 +11120,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10796
11120
|
let e = O.value;
|
|
10797
11121
|
if (!e) return {};
|
|
10798
11122
|
let t = {};
|
|
10799
|
-
for (let n of
|
|
11123
|
+
for (let n of Ku([...e.knownOptions ?? [], ...e.options ?? []])) t[n.value] = n;
|
|
10800
11124
|
return t;
|
|
10801
11125
|
}), ee = r(() => O.value?.colDef.context?.filterPanel ?? {}), ne = j(Object.fromEntries(D.value.flatMap((e) => {
|
|
10802
11126
|
let t = e.colDef.context?.filterPanel, n = Object.fromEntries(Object.entries(t ?? {}).flatMap(([e, t]) => t.initial?.length ? [[e, t.initial]] : []));
|
|
@@ -10862,22 +11186,22 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10862
11186
|
options: [...i.filter((e) => Y.value.has(e.value)), ...i.filter((e) => !Y.value.has(e.value))]
|
|
10863
11187
|
};
|
|
10864
11188
|
});
|
|
10865
|
-
}), fe = r(() => A.value && O.value ?
|
|
11189
|
+
}), fe = r(() => A.value && O.value ? Cd({
|
|
10866
11190
|
options: O.value.knownOptions ?? [],
|
|
10867
11191
|
state: P.value
|
|
10868
|
-
}) : /* @__PURE__ */ new Map()), X = (e) => e.isAggregate ?
|
|
11192
|
+
}) : /* @__PURE__ */ new Map()), X = (e) => e.isAggregate ? Ed(e.aggregateSelectionState ?? []) || void 0 : e.selectedValues?.length || void 0, Z = (e) => A.value ? fe.value.get(e.value) ?? {
|
|
10869
11193
|
indeterminate: !1,
|
|
10870
11194
|
selected: !1
|
|
10871
11195
|
} : {
|
|
10872
11196
|
indeterminate: !1,
|
|
10873
11197
|
selected: I.value.has(e.value)
|
|
10874
|
-
}, pe = (e) => O.value ?
|
|
11198
|
+
}, pe = (e) => O.value ? Iu(e, O.value.colDef) : e.label || e.value, me = (e) => Wu(e) ?? e.value, he = (e) => Gu(e, O.value?.key ?? ""), _e = (e, t) => {
|
|
10875
11199
|
let n = O.value;
|
|
10876
11200
|
if (n) {
|
|
10877
11201
|
if (n.isAggregate) {
|
|
10878
11202
|
_(n.key, {
|
|
10879
11203
|
type: "aggregate-selection",
|
|
10880
|
-
value:
|
|
11204
|
+
value: xd({
|
|
10881
11205
|
checked: t,
|
|
10882
11206
|
option: e,
|
|
10883
11207
|
options: n.knownOptions ?? [],
|
|
@@ -10897,7 +11221,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10897
11221
|
for (let e of q.value) Z(e).selected || _e(e, !0);
|
|
10898
11222
|
}, ye = () => {
|
|
10899
11223
|
if (A.value) {
|
|
10900
|
-
for (let e of
|
|
11224
|
+
for (let e of Ku(O.value?.knownOptions ?? [])) Z(e).selected && _e(e, !1);
|
|
10901
11225
|
return;
|
|
10902
11226
|
}
|
|
10903
11227
|
for (let e of ce.value) _e(e, !1);
|
|
@@ -10944,7 +11268,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10944
11268
|
width: e.maxWidth,
|
|
10945
11269
|
maxWidth: e.maxWidth
|
|
10946
11270
|
})
|
|
10947
|
-
}, [s("div",
|
|
11271
|
+
}, [s("div", Hp, [s("nav", Up, [(k(!0), o(t, null, M(D.value, (e) => (k(), i(Bp, {
|
|
10948
11272
|
key: e.key,
|
|
10949
11273
|
modelValue: xe.value,
|
|
10950
11274
|
"onUpdate:modelValue": r[0] ||= (e) => xe.value = e,
|
|
@@ -10958,7 +11282,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10958
11282
|
"label",
|
|
10959
11283
|
"right-counter-badge",
|
|
10960
11284
|
"value"
|
|
10961
|
-
]))), 128))]), s("div",
|
|
11285
|
+
]))), 128))]), s("div", Wp, [
|
|
10962
11286
|
u(_i, {
|
|
10963
11287
|
modelValue: E.value,
|
|
10964
11288
|
"onUpdate:modelValue": r[1] ||= (e) => E.value = e,
|
|
@@ -10970,7 +11294,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10970
11294
|
"disabled",
|
|
10971
11295
|
"placeholder"
|
|
10972
11296
|
]),
|
|
10973
|
-
Object.keys(ee.value).length ? (k(), o("div",
|
|
11297
|
+
Object.keys(ee.value).length ? (k(), o("div", Gp, [(k(!0), o(t, null, M(ee.value, (e, t) => (k(), i(Xo, {
|
|
10974
11298
|
key: `facet-${t}`,
|
|
10975
11299
|
disabled: O.value?.disabled,
|
|
10976
11300
|
label: e.headerName || V(ke)(t),
|
|
@@ -10985,8 +11309,8 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
10985
11309
|
"options",
|
|
10986
11310
|
"onUpdate:modelValue"
|
|
10987
11311
|
]))), 128))])) : a("", !0),
|
|
10988
|
-
O.value?.isLoading ? (k(), o("div",
|
|
10989
|
-
s("div",
|
|
11312
|
+
O.value?.isLoading ? (k(), o("div", Kp, [u(ze, { size: "sm" })])) : O.value ? (k(), o(t, { key: 2 }, [
|
|
11313
|
+
s("div", qp, [(k(!0), o(t, null, M(de.value, (e) => (k(), o("div", {
|
|
10990
11314
|
key: `section-${e.key}`,
|
|
10991
11315
|
class: "pv-flex-vertical",
|
|
10992
11316
|
style: {
|
|
@@ -11007,17 +11331,17 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11007
11331
|
"field",
|
|
11008
11332
|
"options",
|
|
11009
11333
|
"section"
|
|
11010
|
-
])) : e.label ? (k(), o("p",
|
|
11334
|
+
])) : e.label ? (k(), o("p", Jp, R(e.label), 1)) : a("", !0), (k(!0), o(t, null, M(e.options, (e) => (k(), o("div", {
|
|
11011
11335
|
key: `option-${e.value}`,
|
|
11012
11336
|
class: b(["pv-inset-square-8 pv-radius", { "pv-surface-highlight": Z(e).selected }])
|
|
11013
|
-
}, [u(
|
|
11337
|
+
}, [u(Eu, {
|
|
11014
11338
|
control: O.value.singleSelect ? "radio" : "checkbox",
|
|
11015
11339
|
disabled: O.value.disabled || e.isSelectable === !1,
|
|
11016
11340
|
indeterminate: Z(e).indeterminate,
|
|
11017
11341
|
label: pe(e),
|
|
11018
11342
|
name: V(T),
|
|
11019
11343
|
"query-text": E.value,
|
|
11020
|
-
"result-count": V(
|
|
11344
|
+
"result-count": V(Lu)(e),
|
|
11021
11345
|
selected: Z(e).selected,
|
|
11022
11346
|
"sub-text": e.subText,
|
|
11023
11347
|
"subdued-text": e.subduedText,
|
|
@@ -11037,7 +11361,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11037
11361
|
"value",
|
|
11038
11362
|
"onToggleValue"
|
|
11039
11363
|
])], 2))), 128))]))), 128))]),
|
|
11040
|
-
q.value.length ? a("", !0) : (k(), o("p",
|
|
11364
|
+
q.value.length ? a("", !0) : (k(), o("p", Yp, " No matching values. ")),
|
|
11041
11365
|
O.value.hasMore ? (k(), i($, {
|
|
11042
11366
|
key: 1,
|
|
11043
11367
|
class: "pv-text-brand",
|
|
@@ -11048,7 +11372,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11048
11372
|
onClick: be
|
|
11049
11373
|
}, null, 8, ["disabled"])) : a("", !0)
|
|
11050
11374
|
], 64)) : a("", !0),
|
|
11051
|
-
O.value && !e.readOnly ? (k(), o("div",
|
|
11375
|
+
O.value && !e.readOnly ? (k(), o("div", Xp, [O.value.singleSelect ? a("", !0) : (k(), i($, {
|
|
11052
11376
|
key: 0,
|
|
11053
11377
|
disabled: O.value.disabled,
|
|
11054
11378
|
label: e.selectAllLabel,
|
|
@@ -11060,7 +11384,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11060
11384
|
variant: "ghost",
|
|
11061
11385
|
onClick: ye
|
|
11062
11386
|
}, null, 8, ["disabled", "label"])])) : a("", !0)
|
|
11063
|
-
])]), e.staged ? (k(), o("div",
|
|
11387
|
+
])]), e.staged ? (k(), o("div", Zp, [u($, {
|
|
11064
11388
|
label: e.cancelLabel,
|
|
11065
11389
|
variant: "ghost",
|
|
11066
11390
|
onClick: V(g)
|
|
@@ -11068,14 +11392,14 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11068
11392
|
label: e.applyLabel,
|
|
11069
11393
|
variant: "primary",
|
|
11070
11394
|
onClick: V(h)
|
|
11071
|
-
}, null, 8, ["label", "onClick"])])) : a("", !0)], 12,
|
|
11395
|
+
}, null, 8, ["label", "onClick"])])) : a("", !0)], 12, Vp)]),
|
|
11072
11396
|
_: 3
|
|
11073
11397
|
}, 8, ["modelValue"]));
|
|
11074
11398
|
}
|
|
11075
|
-
}), [["__scopeId", "data-v-e3f66d03"]]),
|
|
11399
|
+
}), [["__scopeId", "data-v-e3f66d03"]]), $p = ["tabindex"], em = {
|
|
11076
11400
|
key: 0,
|
|
11077
11401
|
class: "pv-hover-action-menu__actions"
|
|
11078
|
-
},
|
|
11402
|
+
}, tm = { class: "pv-hover-action-menu__action-group" }, nm = /* @__PURE__ */ Je(/* @__PURE__ */ d({
|
|
11079
11403
|
__name: "PvHoverActionMenu",
|
|
11080
11404
|
props: {
|
|
11081
11405
|
disabled: {
|
|
@@ -11098,12 +11422,12 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11098
11422
|
class: b(["pv-hover-action-menu", d.value]),
|
|
11099
11423
|
tabindex: e.options.length ? 0 : void 0,
|
|
11100
11424
|
"data-testid": "pv-hover-action-menu"
|
|
11101
|
-
}, [N(n.$slots, "default", {}, void 0, !0), e.options.length ? (k(), o("div",
|
|
11425
|
+
}, [N(n.$slots, "default", {}, void 0, !0), e.options.length ? (k(), o("div", em, [u(Pc, {
|
|
11102
11426
|
variant: e.variant,
|
|
11103
11427
|
"data-testid": "pv-hover-action-menu-actions",
|
|
11104
11428
|
onClick: r[0] ||= J(() => {}, ["stop"])
|
|
11105
11429
|
}, {
|
|
11106
|
-
default: K(() => [s("div",
|
|
11430
|
+
default: K(() => [s("div", tm, [(k(!0), o(t, null, M(e.options, (t) => (k(), i(dr, {
|
|
11107
11431
|
key: t.id,
|
|
11108
11432
|
variant: "dark",
|
|
11109
11433
|
position: "top-center",
|
|
@@ -11131,9 +11455,9 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11131
11455
|
_: 2
|
|
11132
11456
|
}, 1032, ["description"]))), 128))])]),
|
|
11133
11457
|
_: 1
|
|
11134
|
-
}, 8, ["variant"])])) : a("", !0)], 10,
|
|
11458
|
+
}, 8, ["variant"])])) : a("", !0)], 10, $p));
|
|
11135
11459
|
}
|
|
11136
|
-
}), [["__scopeId", "data-v-6325cd25"]]),
|
|
11460
|
+
}), [["__scopeId", "data-v-6325cd25"]]), rm = () => {
|
|
11137
11461
|
let e = (e, n) => {
|
|
11138
11462
|
let i = e || { queryTerms: [] }, a = n.queryTerm || {};
|
|
11139
11463
|
return t(n) && !r(e, n) && i.queryTerms.push(a), i;
|
|
@@ -11146,7 +11470,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11146
11470
|
queryTerms: e.queryTerms.filter((e) => !n(e, t.queryTerm || {}))
|
|
11147
11471
|
} : null
|
|
11148
11472
|
};
|
|
11149
|
-
},
|
|
11473
|
+
}, im = /* @__PURE__ */ d({
|
|
11150
11474
|
__name: "QueryFormatter",
|
|
11151
11475
|
props: /* @__PURE__ */ _({ queryTermDisplayLimit: { default: 3 } }, {
|
|
11152
11476
|
modelValue: { required: !0 },
|
|
@@ -11160,7 +11484,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11160
11484
|
}),
|
|
11161
11485
|
emits: ["update:modelValue", "update:wrap-content"],
|
|
11162
11486
|
setup(e) {
|
|
11163
|
-
let n = e, s = H(e, "modelValue"), c = H(e, "wrap-content"), { removeQueryOption: l } =
|
|
11487
|
+
let n = e, s = H(e, "modelValue"), c = H(e, "wrap-content"), { removeQueryOption: l } = rm(), u = r(() => {
|
|
11164
11488
|
let e = s.value?.queryTerms || [];
|
|
11165
11489
|
return c.value ? e : e.slice(0, n.queryTermDisplayLimit);
|
|
11166
11490
|
}), d = r(() => (s.value?.queryTerms.length || 0) - u.value.length), f = (e) => {
|
|
@@ -11191,27 +11515,27 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11191
11515
|
onHandleClick: n[0] ||= (e) => c.value = !0
|
|
11192
11516
|
}, null, 8, ["label"])) : a("", !0)], 64));
|
|
11193
11517
|
}
|
|
11194
|
-
}),
|
|
11518
|
+
}), am = [
|
|
11195
11519
|
"aria-expanded",
|
|
11196
11520
|
"aria-activedescendant",
|
|
11197
11521
|
"disabled",
|
|
11198
11522
|
"placeholder",
|
|
11199
11523
|
"data-invalid"
|
|
11200
|
-
],
|
|
11524
|
+
], om = {
|
|
11201
11525
|
key: 2,
|
|
11202
11526
|
class: "pv-text-red pv-text-body-xs"
|
|
11203
|
-
},
|
|
11527
|
+
}, sm = ["id"], cm = [
|
|
11204
11528
|
"id",
|
|
11205
11529
|
"aria-selected",
|
|
11206
11530
|
"aria-describedby",
|
|
11207
11531
|
"onMouseenter"
|
|
11208
|
-
],
|
|
11532
|
+
], lm = {
|
|
11209
11533
|
key: 1,
|
|
11210
11534
|
role: "presentation"
|
|
11211
|
-
},
|
|
11535
|
+
}, um = {
|
|
11212
11536
|
key: 1,
|
|
11213
11537
|
class: "pv-text-center"
|
|
11214
|
-
},
|
|
11538
|
+
}, dm = /* @__PURE__ */ d({
|
|
11215
11539
|
__name: "PvQueryBuilderInput",
|
|
11216
11540
|
props: /* @__PURE__ */ _({
|
|
11217
11541
|
placeholder: { default: "Search" },
|
|
@@ -11264,7 +11588,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11264
11588
|
width: "100%",
|
|
11265
11589
|
maxWidth: "100%",
|
|
11266
11590
|
"--popover-list-item-hover-background-color": "var(--surface-card-hover, #ece8e2)"
|
|
11267
|
-
}, f = U("search-input"), p = H(e, "searchText"), m = H(e, "query"), h = H(e, "options"), { addQueryOption: g, containsQueryOption: _, removeQueryOption: x } =
|
|
11591
|
+
}, f = U("search-input"), p = H(e, "searchText"), m = H(e, "query"), h = H(e, "options"), { addQueryOption: g, containsQueryOption: _, removeQueryOption: x } = rm(), C = j(!1), w = j(!1), T = j(!1), E = ne(), D = r(() => !!(E.header || E.footer || E.empty)), O = te(), A = `${O}-options`, P = (e) => `${O}-option-${e}`, F = (e) => `${O}-group-${e}`, I = r(() => ie.value.length > 0 || n.optionsLoading || D.value), L = r(() => m.value === null ? n.placeholder : ""), z = j(null), B = r(() => z.value !== null && z.value !== "" && !w.value), ee = () => {
|
|
11268
11592
|
m.value = null, p.value = "", z.value = null, T.value = !1;
|
|
11269
11593
|
};
|
|
11270
11594
|
le("Enter", (e) => {
|
|
@@ -11388,7 +11712,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11388
11712
|
"--inset-size": "4px",
|
|
11389
11713
|
"--flex-gap": "4px"
|
|
11390
11714
|
}, e.enableWrapQueryTerms || T.value ? "flex-wrap: wrap;" : "flex-wrap: nowrap; justify-content: flex-end;"])
|
|
11391
|
-
}, [u(
|
|
11715
|
+
}, [u(im, {
|
|
11392
11716
|
modelValue: m.value,
|
|
11393
11717
|
"onUpdate:modelValue": r[0] ||= (e) => m.value = e,
|
|
11394
11718
|
"wrap-content": T.value,
|
|
@@ -11414,7 +11738,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11414
11738
|
style: S(p.value ? "min-width: 8rem;" : void 0),
|
|
11415
11739
|
onFocus: ge,
|
|
11416
11740
|
onBlur: ge
|
|
11417
|
-
}, null, 44,
|
|
11741
|
+
}, null, 44, am), [[ae, p.value]])], 4),
|
|
11418
11742
|
m.value && !e.hideClearButton ? (k(), i($, {
|
|
11419
11743
|
key: 1,
|
|
11420
11744
|
variant: "ghost",
|
|
@@ -11422,7 +11746,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11422
11746
|
size: "md",
|
|
11423
11747
|
onClick: ee
|
|
11424
11748
|
})) : a("", !0),
|
|
11425
|
-
B.value ? (k(), o("p",
|
|
11749
|
+
B.value ? (k(), o("p", om, R(z.value), 1)) : a("", !0),
|
|
11426
11750
|
I.value ? q((k(), i(jr, {
|
|
11427
11751
|
key: 3,
|
|
11428
11752
|
class: "pv-scrollbar-visible",
|
|
@@ -11432,12 +11756,12 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11432
11756
|
listId: A,
|
|
11433
11757
|
listRole: "listbox"
|
|
11434
11758
|
}, c({
|
|
11435
|
-
default: K(() => [e.optionsLoading ? (k(), o("div",
|
|
11759
|
+
default: K(() => [e.optionsLoading ? (k(), o("div", um, [u(ze, { variant: "dark" })])) : (k(), o(t, { key: 0 }, [ie.value.length > 0 ? (k(!0), o(t, { key: 0 }, M(se.value, ([e, n], r) => (k(), o(t, { key: e }, [e ? (k(), o("li", {
|
|
11436
11760
|
key: 0,
|
|
11437
11761
|
id: F(r),
|
|
11438
11762
|
role: "presentation",
|
|
11439
11763
|
class: "pv-query-builder-group-label pv-text-body-xs pv-text-subdued"
|
|
11440
|
-
}, R(e), 9,
|
|
11764
|
+
}, R(e), 9, sm)) : a("", !0), (k(!0), o(t, null, M(n, (t) => (k(), o("li", {
|
|
11441
11765
|
key: `${e}-${t.id}`,
|
|
11442
11766
|
id: P(J.value.get(t) ?? -1),
|
|
11443
11767
|
role: "option",
|
|
@@ -11449,41 +11773,41 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11449
11773
|
config: l,
|
|
11450
11774
|
queryText: p.value,
|
|
11451
11775
|
onHandleSelected: (e) => me(t)
|
|
11452
|
-
}), null, 16, ["queryText", "onHandleSelected"])], 42,
|
|
11776
|
+
}), null, 16, ["queryText", "onHandleSelected"])], 42, cm))), 128))], 64))), 128)) : n.$slots.empty ? (k(), o("li", lm, [N(n.$slots, "empty")])) : a("", !0)], 64))]),
|
|
11453
11777
|
_: 2
|
|
11454
11778
|
}, [n.$slots.header ? {
|
|
11455
11779
|
name: "header",
|
|
11456
|
-
fn: K(() => [N(n.$slots, "header"
|
|
11780
|
+
fn: K(() => [N(n.$slots, "header")]),
|
|
11457
11781
|
key: "0"
|
|
11458
11782
|
} : void 0, n.$slots.footer ? {
|
|
11459
11783
|
name: "footer",
|
|
11460
|
-
fn: K(() => [N(n.$slots, "footer"
|
|
11784
|
+
fn: K(() => [N(n.$slots, "footer")]),
|
|
11461
11785
|
key: "1"
|
|
11462
11786
|
} : void 0]), 1536)), [[oe, C.value]]) : a("", !0)
|
|
11463
11787
|
], 34)), [[V(ve), pe]]);
|
|
11464
11788
|
}
|
|
11465
|
-
}),
|
|
11789
|
+
}), fm = (e) => !!(e.active || e.children?.some(fm)), pm = {
|
|
11466
11790
|
class: "pv-popover",
|
|
11467
11791
|
style: {
|
|
11468
11792
|
"--position": "static",
|
|
11469
11793
|
"--height": "350px"
|
|
11470
11794
|
}
|
|
11471
|
-
},
|
|
11795
|
+
}, mm = {
|
|
11472
11796
|
role: "list",
|
|
11473
11797
|
class: "pv-popover-list"
|
|
11474
|
-
},
|
|
11798
|
+
}, hm = ["data-active"], gm = [
|
|
11475
11799
|
"href",
|
|
11476
11800
|
"role",
|
|
11477
11801
|
"tabindex",
|
|
11478
11802
|
"data-active",
|
|
11479
11803
|
"aria-expanded"
|
|
11480
|
-
],
|
|
11804
|
+
], _m = {
|
|
11481
11805
|
key: 0,
|
|
11482
11806
|
class: "pv-tag-purple pv-tag-sm"
|
|
11483
|
-
},
|
|
11807
|
+
}, vm = ["href"], ym = {
|
|
11484
11808
|
key: 0,
|
|
11485
11809
|
class: "pv-tag-purple pv-tag-sm"
|
|
11486
|
-
},
|
|
11810
|
+
}, bm = /* @__PURE__ */ d({
|
|
11487
11811
|
name: "PvSidebarNavFlyout",
|
|
11488
11812
|
__name: "PvSidebarNavFlyout",
|
|
11489
11813
|
props: {
|
|
@@ -11494,7 +11818,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11494
11818
|
let n = j({});
|
|
11495
11819
|
return (r, c) => {
|
|
11496
11820
|
let l = P("PvSidebarNavFlyout", !0);
|
|
11497
|
-
return k(), o("div",
|
|
11821
|
+
return k(), o("div", pm, [s("ul", mm, [(k(!0), o(t, null, M(e.items, (t) => (k(), o("li", {
|
|
11498
11822
|
key: t.value,
|
|
11499
11823
|
"data-active": !t.children?.length && t.active || void 0
|
|
11500
11824
|
}, [t.children?.length ? (k(), i(lr, {
|
|
@@ -11512,18 +11836,18 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11512
11836
|
trigger: K(() => [s("a", v({ href: t.url }, { ref_for: !0 }, t.linkAttrs, {
|
|
11513
11837
|
role: t.url ? void 0 : "button",
|
|
11514
11838
|
tabindex: t.url ? void 0 : 0,
|
|
11515
|
-
"data-active": V(
|
|
11839
|
+
"data-active": V(fm)(t) || void 0,
|
|
11516
11840
|
"aria-haspopup": "true",
|
|
11517
11841
|
"aria-expanded": !!n.value[t.value],
|
|
11518
11842
|
style: { "flex-wrap": "wrap" }
|
|
11519
11843
|
}), [
|
|
11520
11844
|
s("span", { class: b(["pv-truncate pv-flex-item", { "pv-link-external": t.external }]) }, R(t.label), 3),
|
|
11521
|
-
t.badge ? (k(), o("span",
|
|
11845
|
+
t.badge ? (k(), o("span", _m, R(t.badge.toUpperCase()), 1)) : a("", !0),
|
|
11522
11846
|
u(Q, {
|
|
11523
11847
|
name: "chevron-right",
|
|
11524
11848
|
class: "pv-icon-16"
|
|
11525
11849
|
})
|
|
11526
|
-
], 16,
|
|
11850
|
+
], 16, gm)]),
|
|
11527
11851
|
content: K(() => [u(l, {
|
|
11528
11852
|
items: t.children,
|
|
11529
11853
|
disabled: e.disabled
|
|
@@ -11536,118 +11860,118 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11536
11860
|
])) : (k(), o("a", v({
|
|
11537
11861
|
key: 1,
|
|
11538
11862
|
href: t.url
|
|
11539
|
-
}, { ref_for: !0 }, t.linkAttrs, { style: { "flex-wrap": "wrap" } }), [s("span", { class: b(["pv-truncate pv-flex-item", { "pv-link-external": t.external }]) }, R(t.label), 3), t.badge ? (k(), o("span",
|
|
11863
|
+
}, { ref_for: !0 }, t.linkAttrs, { style: { "flex-wrap": "wrap" } }), [s("span", { class: b(["pv-truncate pv-flex-item", { "pv-link-external": t.external }]) }, R(t.label), 3), t.badge ? (k(), o("span", ym, R(t.badge.toUpperCase()), 1)) : a("", !0)], 16, vm))], 8, hm))), 128))])]);
|
|
11540
11864
|
};
|
|
11541
11865
|
}
|
|
11542
|
-
}),
|
|
11866
|
+
}), xm = {
|
|
11543
11867
|
key: 0,
|
|
11544
11868
|
class: "sidebar-additional-header"
|
|
11545
|
-
},
|
|
11869
|
+
}, Sm = { class: "sidebar-header-content pv-full-width" }, Cm = {
|
|
11546
11870
|
key: 0,
|
|
11547
11871
|
class: "pv-sidebar-nav-header"
|
|
11548
|
-
},
|
|
11872
|
+
}, wm = ["aria-label", "aria-expanded"], Tm = {
|
|
11549
11873
|
class: "pv-flex",
|
|
11550
11874
|
style: { "min-width": "0" }
|
|
11551
|
-
},
|
|
11875
|
+
}, Em = {
|
|
11552
11876
|
class: "pv-avatar-xs",
|
|
11553
11877
|
style: {
|
|
11554
11878
|
"border-radius": "4px",
|
|
11555
11879
|
"flex-shrink": "0"
|
|
11556
11880
|
}
|
|
11557
|
-
},
|
|
11881
|
+
}, Dm = ["src"], Om = { key: 1 }, km = ["title"], Am = {
|
|
11558
11882
|
class: "pv-popover",
|
|
11559
11883
|
style: {
|
|
11560
11884
|
width: "fit-content",
|
|
11561
11885
|
"max-width": "280px",
|
|
11562
11886
|
"margin-top": "4px"
|
|
11563
11887
|
}
|
|
11564
|
-
},
|
|
11888
|
+
}, jm = {
|
|
11565
11889
|
role: "list",
|
|
11566
11890
|
class: "pv-popover-list pv-flow",
|
|
11567
11891
|
style: { "--flow-size": "0.25rem" },
|
|
11568
11892
|
"data-testid": "pv-sidebar-org-list"
|
|
11569
|
-
},
|
|
11893
|
+
}, Mm = ["data-active"], Nm = ["href", "data-org-value"], Pm = {
|
|
11570
11894
|
class: "pv-avatar-xs",
|
|
11571
11895
|
style: { "border-radius": "4px" }
|
|
11572
|
-
},
|
|
11896
|
+
}, Fm = ["src"], Im = { key: 1 }, Lm = ["title"], Rm = ["data-active"], zm = ["href", "data-org-value"], Bm = ["title"], Vm = { class: "pv-sidebar-nav" }, Hm = { key: 0 }, Um = {
|
|
11573
11897
|
key: 1,
|
|
11574
11898
|
role: "list",
|
|
11575
11899
|
class: "pv-full-width pv-flow",
|
|
11576
11900
|
style: { "--flow-size": "0.25rem" }
|
|
11577
|
-
},
|
|
11901
|
+
}, Wm = {
|
|
11578
11902
|
key: 0,
|
|
11579
11903
|
class: "pv-sidebar-nav-separator",
|
|
11580
11904
|
"aria-hidden": "true"
|
|
11581
|
-
},
|
|
11905
|
+
}, Gm = {
|
|
11582
11906
|
class: "pv-flex pv-space-between pv-full-width",
|
|
11583
11907
|
"data-sidebar-expanded-content": "",
|
|
11584
11908
|
style: { "flex-wrap": "wrap" }
|
|
11585
|
-
},
|
|
11909
|
+
}, Km = {
|
|
11586
11910
|
key: 0,
|
|
11587
11911
|
class: "pv-tag-purple pv-tag-sm"
|
|
11588
|
-
},
|
|
11912
|
+
}, qm = ["onClick", "onKeydown"], Jm = [
|
|
11589
11913
|
"href",
|
|
11590
11914
|
"aria-current",
|
|
11591
11915
|
"title"
|
|
11592
|
-
],
|
|
11916
|
+
], Ym = {
|
|
11593
11917
|
class: "pv-flex pv-space-between pv-full-width",
|
|
11594
11918
|
"data-sidebar-expanded-content": "",
|
|
11595
11919
|
style: { "flex-wrap": "wrap" }
|
|
11596
|
-
},
|
|
11920
|
+
}, Xm = {
|
|
11597
11921
|
key: 0,
|
|
11598
11922
|
class: "pv-tag-purple pv-tag-sm"
|
|
11599
|
-
},
|
|
11923
|
+
}, Zm = {
|
|
11600
11924
|
class: "pv-popover",
|
|
11601
11925
|
style: { "--position": "static" }
|
|
11602
|
-
},
|
|
11926
|
+
}, Qm = {
|
|
11603
11927
|
role: "list",
|
|
11604
11928
|
class: "pv-popover-list"
|
|
11605
|
-
},
|
|
11929
|
+
}, $m = ["data-active"], eh = ["href"], th = {
|
|
11606
11930
|
key: 0,
|
|
11607
11931
|
class: "pv-tag-purple pv-tag-sm"
|
|
11608
|
-
},
|
|
11932
|
+
}, nh = ["onClick", "onAuxclick"], rh = { "data-sidebar-expanded-content": "" }, ih = { class: "pv-sidebar-nav-nested" }, ah = [
|
|
11609
11933
|
"href",
|
|
11610
11934
|
"role",
|
|
11611
11935
|
"tabindex",
|
|
11612
11936
|
"aria-current",
|
|
11613
11937
|
"aria-expanded",
|
|
11614
11938
|
"title"
|
|
11615
|
-
],
|
|
11939
|
+
], oh = {
|
|
11616
11940
|
class: "pv-flex pv-space-between pv-full-width",
|
|
11617
11941
|
style: { "flex-wrap": "wrap" }
|
|
11618
|
-
},
|
|
11942
|
+
}, sh = {
|
|
11619
11943
|
key: 0,
|
|
11620
11944
|
class: "pv-tag-purple pv-tag-sm"
|
|
11621
|
-
},
|
|
11945
|
+
}, ch = [
|
|
11622
11946
|
"href",
|
|
11623
11947
|
"aria-current",
|
|
11624
11948
|
"title"
|
|
11625
|
-
],
|
|
11949
|
+
], lh = {
|
|
11626
11950
|
class: "pv-flex pv-space-between pv-full-width",
|
|
11627
11951
|
style: { "flex-wrap": "wrap" }
|
|
11628
|
-
},
|
|
11952
|
+
}, uh = {
|
|
11629
11953
|
key: 0,
|
|
11630
11954
|
class: "pv-tag-purple pv-tag-sm"
|
|
11631
|
-
},
|
|
11955
|
+
}, dh = {
|
|
11632
11956
|
class: "pv-sidebar-nav-footer pv-sticky",
|
|
11633
11957
|
style: { "--bottom": "0" }
|
|
11634
|
-
},
|
|
11958
|
+
}, fh = ["aria-expanded"], ph = { class: "pv-popover pv-text-default pv-text-body-md" }, mh = [
|
|
11635
11959
|
"aria-label",
|
|
11636
11960
|
"aria-expanded",
|
|
11637
11961
|
"title"
|
|
11638
|
-
],
|
|
11962
|
+
], hh = {
|
|
11639
11963
|
class: "pv-avatar-xs",
|
|
11640
11964
|
style: {
|
|
11641
11965
|
"border-radius": "50%",
|
|
11642
11966
|
"flex-shrink": "0"
|
|
11643
11967
|
}
|
|
11644
|
-
},
|
|
11968
|
+
}, gh = ["src"], _h = { key: 1 }, vh = {
|
|
11645
11969
|
class: "pv-truncate",
|
|
11646
11970
|
"data-sidebar-expanded-content": ""
|
|
11647
|
-
},
|
|
11971
|
+
}, yh = {
|
|
11648
11972
|
class: "pv-popover pv-text-default pv-text-body-md",
|
|
11649
11973
|
style: { "--height": "750px" }
|
|
11650
|
-
},
|
|
11974
|
+
}, bh = { class: "content-panel" }, xh = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])", Sh = /* @__PURE__ */ d({
|
|
11651
11975
|
__name: "PvSidebar",
|
|
11652
11976
|
props: /* @__PURE__ */ _({
|
|
11653
11977
|
disableOrgProfileHover: { type: Boolean },
|
|
@@ -11672,11 +11996,11 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11672
11996
|
})), B, ee = (e) => e.hoverPanelSlot ? p ? (I.value, nr(p, e.hoverPanelSlot)) : !!x[e.hoverPanelSlot] : !1, te = (e, t, n) => {
|
|
11673
11997
|
n instanceof HTMLElement ? e.set(t, n) : e.delete(t);
|
|
11674
11998
|
}, U = (e) => {
|
|
11675
|
-
let t = A.get(e), n = t?.querySelector(
|
|
11999
|
+
let t = A.get(e), n = t?.querySelector(xh);
|
|
11676
12000
|
if (n) return n;
|
|
11677
12001
|
for (let e of t?.querySelectorAll("slot") ?? []) for (let t of e.assignedElements({ flatten: !0 })) {
|
|
11678
|
-
if (t.matches(
|
|
11679
|
-
let e = t.querySelector(
|
|
12002
|
+
if (t.matches(xh)) return t;
|
|
12003
|
+
let e = t.querySelector(xh);
|
|
11680
12004
|
if (e) return e;
|
|
11681
12005
|
}
|
|
11682
12006
|
}, W = (e, t) => {
|
|
@@ -11711,12 +12035,12 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11711
12035
|
}, se = r(() => (c.organizations && oe(c.organizations)) ?? c.organizations?.[0]), q = j((() => {
|
|
11712
12036
|
let e = {};
|
|
11713
12037
|
return c.navItems?.forEach((t) => {
|
|
11714
|
-
|
|
12038
|
+
fm(t) && (e[t.value] = !0);
|
|
11715
12039
|
}), e;
|
|
11716
12040
|
})());
|
|
11717
12041
|
G(() => c.navItems, (e) => {
|
|
11718
12042
|
e?.forEach((e) => {
|
|
11719
|
-
|
|
12043
|
+
fm(e) && (q.value[e.value] = !0);
|
|
11720
12044
|
});
|
|
11721
12045
|
});
|
|
11722
12046
|
let J = H(e, "modelValue"), Y = j(!1), le = n, ue = j(!1), fe = j(!1), X = j(!1), Z = j({}), pe = () => {
|
|
@@ -11735,7 +12059,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11735
12059
|
J.value = !J.value, le("change", { collapsed: J.value });
|
|
11736
12060
|
}, he = (e) => {
|
|
11737
12061
|
e.target === e.currentTarget && e.propertyName === "grid-template-columns" && (Y.value = !1);
|
|
11738
|
-
}, ge = (e) => e.some(
|
|
12062
|
+
}, ge = (e) => e.some(fm), _e = (e, t) => {
|
|
11739
12063
|
if (t.url) {
|
|
11740
12064
|
if (e.ctrlKey || e.metaKey || e.shiftKey || e.button === 1) {
|
|
11741
12065
|
window.open(t.url, "_blank", "noopener");
|
|
@@ -11757,7 +12081,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11757
12081
|
ref_key: "sidebarPanel",
|
|
11758
12082
|
ref: E,
|
|
11759
12083
|
class: "sidebar-panel"
|
|
11760
|
-
}, [s("div", null, [V(h) ? (k(), o("div",
|
|
12084
|
+
}, [s("div", null, [V(h) ? (k(), o("div", xm, [N(n.$slots, "sidebar-additional-header")])) : a("", !0), s("div", { class: b(["sidebar-header", [{ "pv-border-bottom": J.value }]]) }, [s("div", Sm, [e.organizations && e.organizations.length ? (k(), o("div", Cm, [u(lr, {
|
|
11761
12085
|
modelValue: fe.value,
|
|
11762
12086
|
"onUpdate:modelValue": r[0] ||= (e) => fe.value = e,
|
|
11763
12087
|
position: J.value ? "right-top" : "bottom-left",
|
|
@@ -11783,19 +12107,19 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11783
12107
|
"data-testid": "pv-sidebar-org-switcher",
|
|
11784
12108
|
"aria-label": `Switch organization: ${se.value?.label}`,
|
|
11785
12109
|
"aria-expanded": fe.value
|
|
11786
|
-
}, [s("div",
|
|
12110
|
+
}, [s("div", Tm, [s("span", Em, [se.value?.avatarUrl ? (k(), o("img", {
|
|
11787
12111
|
key: 0,
|
|
11788
12112
|
src: se.value.avatarUrl,
|
|
11789
12113
|
alt: "Organization Avatar"
|
|
11790
|
-
}, null, 8,
|
|
12114
|
+
}, null, 8, Dm)) : (k(), o("span", Om, R(se.value?.label?.slice(0, 1)), 1))]), s("span", {
|
|
11791
12115
|
class: "pv-text-title-lg pv-truncate",
|
|
11792
12116
|
"data-sidebar-expanded-content": "",
|
|
11793
12117
|
title: se.value?.label
|
|
11794
|
-
}, R(se.value?.label), 9,
|
|
12118
|
+
}, R(se.value?.label), 9, km)]), u(Q, {
|
|
11795
12119
|
name: "chevron-down",
|
|
11796
12120
|
class: "pv-icon-16",
|
|
11797
12121
|
"data-sidebar-expanded-content": ""
|
|
11798
|
-
})], 8,
|
|
12122
|
+
})], 8, wm)]),
|
|
11799
12123
|
_: 1
|
|
11800
12124
|
}, 8, [
|
|
11801
12125
|
"description",
|
|
@@ -11803,19 +12127,19 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11803
12127
|
"use-teleport",
|
|
11804
12128
|
"teleport-location"
|
|
11805
12129
|
])]),
|
|
11806
|
-
content: K(() => [s("div",
|
|
12130
|
+
content: K(() => [s("div", Am, [s("ul", jm, [(k(!0), o(t, null, M(e.organizations, (e) => (k(), o(t, { key: e.value }, [s("li", { "data-active": e.active || void 0 }, [s("a", {
|
|
11807
12131
|
class: "pv-flex",
|
|
11808
12132
|
href: e.url,
|
|
11809
12133
|
"data-testid": "pv-sidebar-org-option",
|
|
11810
12134
|
"data-org-value": e.value
|
|
11811
|
-
}, [s("div",
|
|
12135
|
+
}, [s("div", Pm, [e.avatarUrl ? (k(), o("img", {
|
|
11812
12136
|
key: 0,
|
|
11813
12137
|
src: e.avatarUrl,
|
|
11814
12138
|
alt: "Organization Avatar"
|
|
11815
|
-
}, null, 8,
|
|
12139
|
+
}, null, 8, Fm)) : (k(), o("span", Im, R(e.label.slice(0, 1)), 1))]), s("span", {
|
|
11816
12140
|
class: "pv-truncate pv-flex-item",
|
|
11817
12141
|
title: e.label
|
|
11818
|
-
}, R(e.label), 9,
|
|
12142
|
+
}, R(e.label), 9, Lm)], 8, Nm)], 8, Mm), (k(!0), o(t, null, M(e.entities, (e) => (k(), o("li", {
|
|
11819
12143
|
key: e.value,
|
|
11820
12144
|
style: { "padding-left": "0.5rem" },
|
|
11821
12145
|
"data-active": e.active || void 0
|
|
@@ -11828,7 +12152,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11828
12152
|
}, [u(Q, { name: "corner-down-right" }), s("span", {
|
|
11829
12153
|
class: "pv-truncate",
|
|
11830
12154
|
title: e.label
|
|
11831
|
-
}, R(e.label), 9,
|
|
12155
|
+
}, R(e.label), 9, Bm)], 8, zm)], 8, Rm))), 128))], 64))), 128))])])]),
|
|
11832
12156
|
_: 1
|
|
11833
12157
|
}, 8, [
|
|
11834
12158
|
"modelValue",
|
|
@@ -11850,9 +12174,9 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11850
12174
|
}, null, 8, ["left-icon", "aria-label"])]),
|
|
11851
12175
|
content: K(() => [l(R(J.value ? "Expand navigation" : "Collapse navigation"), 1)]),
|
|
11852
12176
|
_: 1
|
|
11853
|
-
}))], 2)]), s("div",
|
|
11854
|
-
V(m) ? (k(), o("div",
|
|
11855
|
-
e.navItems && e.navItems.length ? (k(), o("ul",
|
|
12177
|
+
}))], 2)]), s("div", Vm, [
|
|
12178
|
+
V(m) ? (k(), o("div", Hm, [N(n.$slots, "sidebar-additional-content")])) : a("", !0),
|
|
12179
|
+
e.navItems && e.navItems.length ? (k(), o("ul", Um, [(k(!0), o(t, null, M(e.navItems, (e) => (k(), o(t, { key: e.value }, [e.separatorAtTop ? (k(), o("li", Wm)) : a("", !0), s("li", null, [ee(e) ? (k(), i(lr, {
|
|
11856
12180
|
key: 0,
|
|
11857
12181
|
modelValue: D.value[e.value],
|
|
11858
12182
|
"onUpdate:modelValue": (t) => D.value[e.value] = t,
|
|
@@ -11882,7 +12206,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11882
12206
|
key: 0,
|
|
11883
12207
|
name: e.icon,
|
|
11884
12208
|
class: "pv-nav-icon"
|
|
11885
|
-
}, null, 8, ["name"])) : a("", !0), s("span",
|
|
12209
|
+
}, null, 8, ["name"])) : a("", !0), s("span", Gm, [s("span", { class: b(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, R(e.label), 3), e.badge ? (k(), o("span", Km, R(e.badge.toUpperCase()), 1)) : a("", !0)])]),
|
|
11886
12210
|
_: 2
|
|
11887
12211
|
}, 1040, [
|
|
11888
12212
|
"href",
|
|
@@ -11899,7 +12223,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11899
12223
|
class: "pv-sidebar-hover-panel",
|
|
11900
12224
|
onClick: (t) => ie(t, e.value),
|
|
11901
12225
|
onKeydown: (t) => ae(t, e.value)
|
|
11902
|
-
}, [N(n.$slots, e.hoverPanelSlot)], 40,
|
|
12226
|
+
}, [N(n.$slots, e.hoverPanelSlot)], 40, qm)]),
|
|
11903
12227
|
_: 2
|
|
11904
12228
|
}, 1032, [
|
|
11905
12229
|
"modelValue",
|
|
@@ -11928,8 +12252,8 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11928
12252
|
key: 0,
|
|
11929
12253
|
name: e.icon,
|
|
11930
12254
|
class: "pv-nav-icon"
|
|
11931
|
-
}, null, 8, ["name"])) : a("", !0), s("span",
|
|
11932
|
-
content: K(() => [s("div",
|
|
12255
|
+
}, null, 8, ["name"])) : a("", !0), s("span", Ym, [s("span", { class: b(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, R(e.label), 3), e.badge ? (k(), o("span", Xm, R(e.badge.toUpperCase()), 1)) : a("", !0)])], 16, Jm)]),
|
|
12256
|
+
content: K(() => [s("div", Zm, [s("ul", Qm, [s("li", { "data-active": e.active || void 0 }, [s("a", v({ href: e.url }, { ref_for: !0 }, e.linkAttrs, { style: { "flex-wrap": "wrap" } }), [s("span", { class: b(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, R(e.label), 3), e.badge ? (k(), o("span", th, R(e.badge.toUpperCase()), 1)) : a("", !0)], 16, eh)], 8, $m)])])]),
|
|
11933
12257
|
_: 2
|
|
11934
12258
|
}, 1032, [
|
|
11935
12259
|
"use-teleport",
|
|
@@ -11949,7 +12273,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11949
12273
|
trigger: K(() => [u(fi, {
|
|
11950
12274
|
modelValue: q.value[e.value],
|
|
11951
12275
|
"onUpdate:modelValue": (t) => q.value[e.value] = t,
|
|
11952
|
-
"default-open": V(
|
|
12276
|
+
"default-open": V(fm)(e),
|
|
11953
12277
|
"summary-attrs": { "aria-current": ge(e.children) && J.value ? "page" : void 0 },
|
|
11954
12278
|
"enable-trigger-slot": "",
|
|
11955
12279
|
"enable-trigger-full-width": ""
|
|
@@ -11962,8 +12286,8 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11962
12286
|
key: 0,
|
|
11963
12287
|
name: e.icon,
|
|
11964
12288
|
class: "pv-nav-icon"
|
|
11965
|
-
}, null, 8, ["name"])) : a("", !0), s("span",
|
|
11966
|
-
default: K(() => [s("div",
|
|
12289
|
+
}, null, 8, ["name"])) : a("", !0), s("span", rh, R(e.label), 1)], 40, nh)]),
|
|
12290
|
+
default: K(() => [s("div", ih, [(k(!0), o(t, null, M(e.children, (e) => (k(), o(t, { key: e.value }, [e.children?.length ? (k(), i(lr, {
|
|
11967
12291
|
key: 0,
|
|
11968
12292
|
modelValue: Z.value[e.value],
|
|
11969
12293
|
"onUpdate:modelValue": (t) => Z.value[e.value] = t,
|
|
@@ -11980,15 +12304,15 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
11980
12304
|
trigger: K(() => [s("a", v({ href: e.url }, { ref_for: !0 }, e.linkAttrs, {
|
|
11981
12305
|
role: e.url ? void 0 : "button",
|
|
11982
12306
|
tabindex: e.url ? void 0 : 0,
|
|
11983
|
-
"aria-current": V(
|
|
12307
|
+
"aria-current": V(fm)(e) ? "page" : void 0,
|
|
11984
12308
|
"aria-haspopup": "true",
|
|
11985
12309
|
"aria-expanded": !!Z.value[e.value],
|
|
11986
12310
|
title: e.label
|
|
11987
|
-
}), [s("span",
|
|
12311
|
+
}), [s("span", oh, [s("span", { class: b(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, R(e.label), 3), e.badge ? (k(), o("span", sh, R(e.badge.toUpperCase()), 1)) : a("", !0)]), u(Q, {
|
|
11988
12312
|
name: "chevron-right",
|
|
11989
12313
|
class: "pv-icon-16"
|
|
11990
|
-
})], 16,
|
|
11991
|
-
content: K(() => [u(
|
|
12314
|
+
})], 16, ah)]),
|
|
12315
|
+
content: K(() => [u(bm, {
|
|
11992
12316
|
items: e.children,
|
|
11993
12317
|
disabled: J.value
|
|
11994
12318
|
}, null, 8, ["items", "disabled"])]),
|
|
@@ -12005,7 +12329,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12005
12329
|
}, { ref_for: !0 }, e.linkAttrs, {
|
|
12006
12330
|
"aria-current": e.active ? "page" : void 0,
|
|
12007
12331
|
title: e.label
|
|
12008
|
-
}), [s("span",
|
|
12332
|
+
}), [s("span", lh, [s("span", { class: b(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, R(e.label), 3), e.badge ? (k(), o("span", uh, R(e.badge.toUpperCase()), 1)) : a("", !0)])], 16, ch))], 64))), 128))])]),
|
|
12009
12333
|
_: 2
|
|
12010
12334
|
}, 1032, [
|
|
12011
12335
|
"modelValue",
|
|
@@ -12013,7 +12337,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12013
12337
|
"default-open",
|
|
12014
12338
|
"summary-attrs"
|
|
12015
12339
|
])]),
|
|
12016
|
-
content: K(() => [u(
|
|
12340
|
+
content: K(() => [u(bm, {
|
|
12017
12341
|
items: e.children,
|
|
12018
12342
|
disabled: !J.value
|
|
12019
12343
|
}, null, 8, ["items", "disabled"])]),
|
|
@@ -12023,7 +12347,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12023
12347
|
"teleport-location",
|
|
12024
12348
|
"disabled"
|
|
12025
12349
|
]))])], 64))), 128))])) : a("", !0),
|
|
12026
|
-
s("div",
|
|
12350
|
+
s("div", dh, [V(g) ? (k(), i(lr, {
|
|
12027
12351
|
key: 0,
|
|
12028
12352
|
modelValue: ue.value,
|
|
12029
12353
|
"onUpdate:modelValue": r[1] ||= (e) => ue.value = e,
|
|
@@ -12045,8 +12369,8 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12045
12369
|
}, [u(Q, {
|
|
12046
12370
|
name: "help-circle",
|
|
12047
12371
|
class: "pv-icon-20 pv-nav-icon"
|
|
12048
|
-
}), r[3] ||= s("span", { "data-sidebar-expanded-content": "" }, "Help", -1)], 8,
|
|
12049
|
-
content: K(() => [s("div",
|
|
12372
|
+
}), r[3] ||= s("span", { "data-sidebar-expanded-content": "" }, "Help", -1)], 8, fh)]),
|
|
12373
|
+
content: K(() => [s("div", ph, [N(n.$slots, "sidebar-help-content")])]),
|
|
12050
12374
|
_: 3
|
|
12051
12375
|
}, 8, [
|
|
12052
12376
|
"modelValue",
|
|
@@ -12071,12 +12395,12 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12071
12395
|
"aria-label": e.profile.name,
|
|
12072
12396
|
"aria-expanded": X.value,
|
|
12073
12397
|
title: e.profile.name
|
|
12074
|
-
}, [s("span",
|
|
12398
|
+
}, [s("span", hh, [e.profile.avatarUrl ? (k(), o("img", {
|
|
12075
12399
|
key: 0,
|
|
12076
12400
|
src: e.profile.avatarUrl,
|
|
12077
12401
|
alt: ""
|
|
12078
|
-
}, null, 8,
|
|
12079
|
-
content: K(() => [s("div",
|
|
12402
|
+
}, null, 8, gh)) : (k(), o("span", _h, R(e.profile.name.slice(0, 1)), 1))]), s("span", vh, R(e.profile.name), 1)], 8, mh)]),
|
|
12403
|
+
content: K(() => [s("div", yh, [N(n.$slots, "sidebar-profile-content")])]),
|
|
12080
12404
|
_: 3
|
|
12081
12405
|
}, 8, [
|
|
12082
12406
|
"modelValue",
|
|
@@ -12085,7 +12409,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12085
12409
|
"teleport-location"
|
|
12086
12410
|
])) : a("", !0)])
|
|
12087
12411
|
])], 512),
|
|
12088
|
-
s("div",
|
|
12412
|
+
s("div", bh, [N(n.$slots, "default")]),
|
|
12089
12413
|
s("div", {
|
|
12090
12414
|
ref_key: "popoverTeleportTarget",
|
|
12091
12415
|
ref: w,
|
|
@@ -12093,28 +12417,28 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12093
12417
|
}, null, 512)
|
|
12094
12418
|
], 38));
|
|
12095
12419
|
}
|
|
12096
|
-
}),
|
|
12420
|
+
}), Ch = (e) => !!(e.active || e.children?.some(Ch)), wh = {
|
|
12097
12421
|
class: "pv-popover",
|
|
12098
12422
|
style: {
|
|
12099
12423
|
"--position": "static",
|
|
12100
12424
|
"--height": "350px"
|
|
12101
12425
|
}
|
|
12102
|
-
},
|
|
12426
|
+
}, Th = {
|
|
12103
12427
|
role: "list",
|
|
12104
12428
|
class: "pv-popover-list"
|
|
12105
|
-
},
|
|
12429
|
+
}, Eh = ["data-active"], Dh = [
|
|
12106
12430
|
"href",
|
|
12107
12431
|
"role",
|
|
12108
12432
|
"tabindex",
|
|
12109
12433
|
"data-active",
|
|
12110
12434
|
"aria-expanded"
|
|
12111
|
-
],
|
|
12435
|
+
], Oh = {
|
|
12112
12436
|
key: 0,
|
|
12113
12437
|
class: "pv-tag-purple pv-tag-sm"
|
|
12114
|
-
},
|
|
12438
|
+
}, kh = ["href"], Ah = {
|
|
12115
12439
|
key: 0,
|
|
12116
12440
|
class: "pv-tag-purple pv-tag-sm"
|
|
12117
|
-
},
|
|
12441
|
+
}, jh = /* @__PURE__ */ d({
|
|
12118
12442
|
name: "PvSidebarV2NavFlyout",
|
|
12119
12443
|
__name: "PvSidebarV2NavFlyout",
|
|
12120
12444
|
props: {
|
|
@@ -12125,7 +12449,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12125
12449
|
let n = j({});
|
|
12126
12450
|
return (r, c) => {
|
|
12127
12451
|
let l = P("PvSidebarV2NavFlyout", !0);
|
|
12128
|
-
return k(), o("div",
|
|
12452
|
+
return k(), o("div", wh, [s("ul", Th, [(k(!0), o(t, null, M(e.items, (t) => (k(), o("li", {
|
|
12129
12453
|
key: t.value,
|
|
12130
12454
|
"data-active": !t.children?.length && t.active || void 0
|
|
12131
12455
|
}, [t.children?.length ? (k(), i(lr, {
|
|
@@ -12143,18 +12467,18 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12143
12467
|
trigger: K(() => [s("a", v({ href: t.url }, { ref_for: !0 }, t.linkAttrs, {
|
|
12144
12468
|
role: t.url ? void 0 : "button",
|
|
12145
12469
|
tabindex: t.url ? void 0 : 0,
|
|
12146
|
-
"data-active": V(
|
|
12470
|
+
"data-active": V(Ch)(t) || void 0,
|
|
12147
12471
|
"aria-haspopup": "true",
|
|
12148
12472
|
"aria-expanded": !!n.value[t.value],
|
|
12149
12473
|
style: { "flex-wrap": "wrap" }
|
|
12150
12474
|
}), [
|
|
12151
12475
|
s("span", { class: b(["pv-truncate pv-flex-item", { "pv-link-external": t.external }]) }, R(t.label), 3),
|
|
12152
|
-
t.badge ? (k(), o("span",
|
|
12476
|
+
t.badge ? (k(), o("span", Oh, R(t.badge.toUpperCase()), 1)) : a("", !0),
|
|
12153
12477
|
u(Q, {
|
|
12154
12478
|
name: "chevron-right",
|
|
12155
12479
|
class: "pv-icon-16"
|
|
12156
12480
|
})
|
|
12157
|
-
], 16,
|
|
12481
|
+
], 16, Dh)]),
|
|
12158
12482
|
content: K(() => [u(l, {
|
|
12159
12483
|
items: t.children,
|
|
12160
12484
|
disabled: e.disabled
|
|
@@ -12167,118 +12491,118 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12167
12491
|
])) : (k(), o("a", v({
|
|
12168
12492
|
key: 1,
|
|
12169
12493
|
href: t.url
|
|
12170
|
-
}, { ref_for: !0 }, t.linkAttrs, { style: { "flex-wrap": "wrap" } }), [s("span", { class: b(["pv-truncate pv-flex-item", { "pv-link-external": t.external }]) }, R(t.label), 3), t.badge ? (k(), o("span",
|
|
12494
|
+
}, { ref_for: !0 }, t.linkAttrs, { style: { "flex-wrap": "wrap" } }), [s("span", { class: b(["pv-truncate pv-flex-item", { "pv-link-external": t.external }]) }, R(t.label), 3), t.badge ? (k(), o("span", Ah, R(t.badge.toUpperCase()), 1)) : a("", !0)], 16, kh))], 8, Eh))), 128))])]);
|
|
12171
12495
|
};
|
|
12172
12496
|
}
|
|
12173
|
-
}),
|
|
12497
|
+
}), Mh = {
|
|
12174
12498
|
key: 0,
|
|
12175
12499
|
class: "sidebar-additional-header"
|
|
12176
|
-
},
|
|
12500
|
+
}, Nh = { class: "sidebar-header-content pv-full-width" }, Ph = {
|
|
12177
12501
|
key: 0,
|
|
12178
12502
|
class: "pv-sidebar-nav-header"
|
|
12179
|
-
},
|
|
12503
|
+
}, Fh = ["aria-label", "aria-expanded"], Ih = {
|
|
12180
12504
|
class: "pv-flex",
|
|
12181
12505
|
style: { "min-width": "0" }
|
|
12182
|
-
},
|
|
12506
|
+
}, Lh = {
|
|
12183
12507
|
class: "pv-avatar-xs",
|
|
12184
12508
|
style: {
|
|
12185
12509
|
"border-radius": "4px",
|
|
12186
12510
|
"flex-shrink": "0"
|
|
12187
12511
|
}
|
|
12188
|
-
},
|
|
12512
|
+
}, Rh = ["src"], zh = { key: 1 }, Bh = ["title"], Vh = {
|
|
12189
12513
|
class: "pv-popover",
|
|
12190
12514
|
style: {
|
|
12191
12515
|
width: "fit-content",
|
|
12192
12516
|
"max-width": "280px",
|
|
12193
12517
|
"margin-top": "4px"
|
|
12194
12518
|
}
|
|
12195
|
-
},
|
|
12519
|
+
}, Hh = {
|
|
12196
12520
|
role: "list",
|
|
12197
12521
|
class: "pv-popover-list pv-flow",
|
|
12198
12522
|
style: { "--flow-size": "0.25rem" },
|
|
12199
12523
|
"data-testid": "pv-sidebar-org-list"
|
|
12200
|
-
},
|
|
12524
|
+
}, Uh = ["data-active"], Wh = ["href", "data-org-value"], Gh = {
|
|
12201
12525
|
class: "pv-avatar-xs",
|
|
12202
12526
|
style: { "border-radius": "4px" }
|
|
12203
|
-
},
|
|
12527
|
+
}, Kh = ["src"], qh = { key: 1 }, Jh = ["title"], Yh = ["data-active"], Xh = ["href", "data-org-value"], Zh = ["title"], Qh = { class: "pv-sidebar-nav" }, $h = { key: 0 }, eg = {
|
|
12204
12528
|
key: 1,
|
|
12205
12529
|
role: "list",
|
|
12206
12530
|
class: "pv-full-width pv-flow",
|
|
12207
12531
|
style: { "--flow-size": "0.25rem" }
|
|
12208
|
-
},
|
|
12532
|
+
}, tg = {
|
|
12209
12533
|
key: 0,
|
|
12210
12534
|
class: "pv-sidebar-nav-separator",
|
|
12211
12535
|
"aria-hidden": "true"
|
|
12212
|
-
},
|
|
12536
|
+
}, ng = {
|
|
12213
12537
|
class: "pv-flex pv-space-between pv-full-width",
|
|
12214
12538
|
"data-sidebar-expanded-content": "",
|
|
12215
12539
|
style: { "flex-wrap": "wrap" }
|
|
12216
|
-
},
|
|
12540
|
+
}, rg = {
|
|
12217
12541
|
key: 0,
|
|
12218
12542
|
class: "pv-tag-purple pv-tag-sm"
|
|
12219
|
-
},
|
|
12543
|
+
}, ig = ["onClick", "onKeydown"], ag = [
|
|
12220
12544
|
"href",
|
|
12221
12545
|
"aria-current",
|
|
12222
12546
|
"title"
|
|
12223
|
-
],
|
|
12547
|
+
], og = {
|
|
12224
12548
|
class: "pv-flex pv-space-between pv-full-width",
|
|
12225
12549
|
"data-sidebar-expanded-content": "",
|
|
12226
12550
|
style: { "flex-wrap": "wrap" }
|
|
12227
|
-
},
|
|
12551
|
+
}, sg = {
|
|
12228
12552
|
key: 0,
|
|
12229
12553
|
class: "pv-tag-purple pv-tag-sm"
|
|
12230
|
-
},
|
|
12554
|
+
}, cg = {
|
|
12231
12555
|
class: "pv-popover",
|
|
12232
12556
|
style: { "--position": "static" }
|
|
12233
|
-
},
|
|
12557
|
+
}, lg = {
|
|
12234
12558
|
role: "list",
|
|
12235
12559
|
class: "pv-popover-list"
|
|
12236
|
-
},
|
|
12560
|
+
}, ug = ["data-active"], dg = ["href"], fg = {
|
|
12237
12561
|
key: 0,
|
|
12238
12562
|
class: "pv-tag-purple pv-tag-sm"
|
|
12239
|
-
},
|
|
12563
|
+
}, pg = ["onClick", "onAuxclick"], mg = { "data-sidebar-expanded-content": "" }, hg = { class: "pv-sidebar-nav-nested" }, gg = [
|
|
12240
12564
|
"href",
|
|
12241
12565
|
"role",
|
|
12242
12566
|
"tabindex",
|
|
12243
12567
|
"aria-current",
|
|
12244
12568
|
"aria-expanded",
|
|
12245
12569
|
"title"
|
|
12246
|
-
],
|
|
12570
|
+
], _g = {
|
|
12247
12571
|
class: "pv-flex pv-space-between pv-full-width",
|
|
12248
12572
|
style: { "flex-wrap": "wrap" }
|
|
12249
|
-
},
|
|
12573
|
+
}, vg = {
|
|
12250
12574
|
key: 0,
|
|
12251
12575
|
class: "pv-tag-purple pv-tag-sm"
|
|
12252
|
-
},
|
|
12576
|
+
}, yg = [
|
|
12253
12577
|
"href",
|
|
12254
12578
|
"aria-current",
|
|
12255
12579
|
"title"
|
|
12256
|
-
],
|
|
12580
|
+
], bg = {
|
|
12257
12581
|
class: "pv-flex pv-space-between pv-full-width",
|
|
12258
12582
|
style: { "flex-wrap": "wrap" }
|
|
12259
|
-
},
|
|
12583
|
+
}, xg = {
|
|
12260
12584
|
key: 0,
|
|
12261
12585
|
class: "pv-tag-purple pv-tag-sm"
|
|
12262
|
-
},
|
|
12586
|
+
}, Sg = {
|
|
12263
12587
|
class: "pv-sidebar-nav-footer pv-sticky",
|
|
12264
12588
|
style: { "--bottom": "0" }
|
|
12265
|
-
},
|
|
12589
|
+
}, Cg = ["aria-expanded"], wg = { class: "pv-popover pv-text-default pv-text-body-md" }, Tg = [
|
|
12266
12590
|
"aria-label",
|
|
12267
12591
|
"aria-expanded",
|
|
12268
12592
|
"title"
|
|
12269
|
-
],
|
|
12593
|
+
], Eg = {
|
|
12270
12594
|
class: "pv-avatar-xs",
|
|
12271
12595
|
style: {
|
|
12272
12596
|
"border-radius": "50%",
|
|
12273
12597
|
"flex-shrink": "0"
|
|
12274
12598
|
}
|
|
12275
|
-
},
|
|
12599
|
+
}, Dg = ["src"], Og = { key: 1 }, kg = {
|
|
12276
12600
|
class: "pv-truncate",
|
|
12277
12601
|
"data-sidebar-expanded-content": ""
|
|
12278
|
-
},
|
|
12602
|
+
}, Ag = {
|
|
12279
12603
|
class: "pv-popover pv-text-default pv-text-body-md",
|
|
12280
12604
|
style: { "--height": "750px" }
|
|
12281
|
-
},
|
|
12605
|
+
}, jg = { class: "content-panel" }, Mg = "a[href], button:not([disabled]), input:not([disabled]), select:not([disabled]), textarea:not([disabled]), [tabindex]:not([tabindex=\"-1\"])", Ng = /* @__PURE__ */ d({
|
|
12282
12606
|
__name: "PvSidebarV2",
|
|
12283
12607
|
props: /* @__PURE__ */ _({
|
|
12284
12608
|
disableOrgProfileHover: { type: Boolean },
|
|
@@ -12303,11 +12627,11 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12303
12627
|
})), B, ee = (e) => e.hoverPanelSlot ? p ? (I.value, nr(p, e.hoverPanelSlot)) : !!x[e.hoverPanelSlot] : !1, te = (e, t, n) => {
|
|
12304
12628
|
n instanceof HTMLElement ? e.set(t, n) : e.delete(t);
|
|
12305
12629
|
}, U = (e) => {
|
|
12306
|
-
let t = A.get(e), n = t?.querySelector(
|
|
12630
|
+
let t = A.get(e), n = t?.querySelector(Mg);
|
|
12307
12631
|
if (n) return n;
|
|
12308
12632
|
for (let e of t?.querySelectorAll("slot") ?? []) for (let t of e.assignedElements({ flatten: !0 })) {
|
|
12309
|
-
if (t.matches(
|
|
12310
|
-
let e = t.querySelector(
|
|
12633
|
+
if (t.matches(Mg)) return t;
|
|
12634
|
+
let e = t.querySelector(Mg);
|
|
12311
12635
|
if (e) return e;
|
|
12312
12636
|
}
|
|
12313
12637
|
}, W = (e, t) => {
|
|
@@ -12342,12 +12666,12 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12342
12666
|
}, se = r(() => (c.organizations && oe(c.organizations)) ?? c.organizations?.[0]), q = j((() => {
|
|
12343
12667
|
let e = {};
|
|
12344
12668
|
return c.navItems?.forEach((t) => {
|
|
12345
|
-
|
|
12669
|
+
Ch(t) && (e[t.value] = !0);
|
|
12346
12670
|
}), e;
|
|
12347
12671
|
})());
|
|
12348
12672
|
G(() => c.navItems, (e) => {
|
|
12349
12673
|
e?.forEach((e) => {
|
|
12350
|
-
|
|
12674
|
+
Ch(e) && (q.value[e.value] = !0);
|
|
12351
12675
|
});
|
|
12352
12676
|
});
|
|
12353
12677
|
let J = H(e, "modelValue"), Y = j(!1), le = n, ue = j(!1), fe = j(!1), X = j(!1), Z = j({}), pe = () => {
|
|
@@ -12366,7 +12690,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12366
12690
|
J.value = !J.value, le("change", { collapsed: J.value });
|
|
12367
12691
|
}, he = (e) => {
|
|
12368
12692
|
e.target === e.currentTarget && e.propertyName === "grid-template-columns" && (Y.value = !1);
|
|
12369
|
-
}, ge = (e) => e.some(
|
|
12693
|
+
}, ge = (e) => e.some(Ch), _e = (e, t) => {
|
|
12370
12694
|
if (t.url) {
|
|
12371
12695
|
if (e.ctrlKey || e.metaKey || e.shiftKey || e.button === 1) {
|
|
12372
12696
|
window.open(t.url, "_blank", "noopener");
|
|
@@ -12388,7 +12712,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12388
12712
|
ref_key: "sidebarPanel",
|
|
12389
12713
|
ref: E,
|
|
12390
12714
|
class: "sidebar-panel"
|
|
12391
|
-
}, [s("div", null, [V(h) ? (k(), o("div",
|
|
12715
|
+
}, [s("div", null, [V(h) ? (k(), o("div", Mh, [N(n.$slots, "sidebar-additional-header")])) : a("", !0), s("div", { class: b(["sidebar-header", [{ "pv-border-bottom": J.value }]]) }, [s("div", Nh, [e.organizations && e.organizations.length ? (k(), o("div", Ph, [u(lr, {
|
|
12392
12716
|
modelValue: fe.value,
|
|
12393
12717
|
"onUpdate:modelValue": r[0] ||= (e) => fe.value = e,
|
|
12394
12718
|
position: J.value ? "right-top" : "bottom-left",
|
|
@@ -12414,19 +12738,19 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12414
12738
|
"data-testid": "pv-sidebar-org-switcher",
|
|
12415
12739
|
"aria-label": `Switch organization: ${se.value?.label}`,
|
|
12416
12740
|
"aria-expanded": fe.value
|
|
12417
|
-
}, [s("div",
|
|
12741
|
+
}, [s("div", Ih, [s("span", Lh, [se.value?.avatarUrl ? (k(), o("img", {
|
|
12418
12742
|
key: 0,
|
|
12419
12743
|
src: se.value.avatarUrl,
|
|
12420
12744
|
alt: "Organization Avatar"
|
|
12421
|
-
}, null, 8,
|
|
12745
|
+
}, null, 8, Rh)) : (k(), o("span", zh, R(se.value?.label?.slice(0, 1)), 1))]), s("span", {
|
|
12422
12746
|
class: "pv-text-title-lg pv-truncate",
|
|
12423
12747
|
"data-sidebar-expanded-content": "",
|
|
12424
12748
|
title: se.value?.label
|
|
12425
|
-
}, R(se.value?.label), 9,
|
|
12749
|
+
}, R(se.value?.label), 9, Bh)]), u(Q, {
|
|
12426
12750
|
name: "chevron-down",
|
|
12427
12751
|
class: "pv-icon-16",
|
|
12428
12752
|
"data-sidebar-expanded-content": ""
|
|
12429
|
-
})], 8,
|
|
12753
|
+
})], 8, Fh)]),
|
|
12430
12754
|
_: 1
|
|
12431
12755
|
}, 8, [
|
|
12432
12756
|
"description",
|
|
@@ -12434,19 +12758,19 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12434
12758
|
"use-teleport",
|
|
12435
12759
|
"teleport-location"
|
|
12436
12760
|
])]),
|
|
12437
|
-
content: K(() => [s("div",
|
|
12761
|
+
content: K(() => [s("div", Vh, [s("ul", Hh, [(k(!0), o(t, null, M(e.organizations, (e) => (k(), o(t, { key: e.value }, [s("li", { "data-active": e.active || void 0 }, [s("a", {
|
|
12438
12762
|
class: "pv-flex",
|
|
12439
12763
|
href: e.url,
|
|
12440
12764
|
"data-testid": "pv-sidebar-org-option",
|
|
12441
12765
|
"data-org-value": e.value
|
|
12442
|
-
}, [s("div",
|
|
12766
|
+
}, [s("div", Gh, [e.avatarUrl ? (k(), o("img", {
|
|
12443
12767
|
key: 0,
|
|
12444
12768
|
src: e.avatarUrl,
|
|
12445
12769
|
alt: "Organization Avatar"
|
|
12446
|
-
}, null, 8,
|
|
12770
|
+
}, null, 8, Kh)) : (k(), o("span", qh, R(e.label.slice(0, 1)), 1))]), s("span", {
|
|
12447
12771
|
class: "pv-truncate pv-flex-item",
|
|
12448
12772
|
title: e.label
|
|
12449
|
-
}, R(e.label), 9,
|
|
12773
|
+
}, R(e.label), 9, Jh)], 8, Wh)], 8, Uh), (k(!0), o(t, null, M(e.entities, (e) => (k(), o("li", {
|
|
12450
12774
|
key: e.value,
|
|
12451
12775
|
style: { "padding-left": "0.5rem" },
|
|
12452
12776
|
"data-active": e.active || void 0
|
|
@@ -12459,7 +12783,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12459
12783
|
}, [u(Q, { name: "corner-down-right" }), s("span", {
|
|
12460
12784
|
class: "pv-truncate",
|
|
12461
12785
|
title: e.label
|
|
12462
|
-
}, R(e.label), 9,
|
|
12786
|
+
}, R(e.label), 9, Zh)], 8, Xh)], 8, Yh))), 128))], 64))), 128))])])]),
|
|
12463
12787
|
_: 1
|
|
12464
12788
|
}, 8, [
|
|
12465
12789
|
"modelValue",
|
|
@@ -12481,9 +12805,9 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12481
12805
|
}, null, 8, ["left-icon", "aria-label"])]),
|
|
12482
12806
|
content: K(() => [l(R(J.value ? "Expand navigation" : "Collapse navigation"), 1)]),
|
|
12483
12807
|
_: 1
|
|
12484
|
-
}))], 2)]), s("div",
|
|
12485
|
-
V(m) ? (k(), o("div",
|
|
12486
|
-
e.navItems && e.navItems.length ? (k(), o("ul",
|
|
12808
|
+
}))], 2)]), s("div", Qh, [
|
|
12809
|
+
V(m) ? (k(), o("div", $h, [N(n.$slots, "sidebar-additional-content")])) : a("", !0),
|
|
12810
|
+
e.navItems && e.navItems.length ? (k(), o("ul", eg, [(k(!0), o(t, null, M(e.navItems, (e) => (k(), o(t, { key: e.value }, [e.separatorAtTop ? (k(), o("li", tg)) : a("", !0), s("li", null, [ee(e) ? (k(), i(lr, {
|
|
12487
12811
|
key: 0,
|
|
12488
12812
|
modelValue: D.value[e.value],
|
|
12489
12813
|
"onUpdate:modelValue": (t) => D.value[e.value] = t,
|
|
@@ -12513,7 +12837,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12513
12837
|
key: 0,
|
|
12514
12838
|
name: e.icon,
|
|
12515
12839
|
class: "pv-nav-icon"
|
|
12516
|
-
}, null, 8, ["name"])) : a("", !0), s("span",
|
|
12840
|
+
}, null, 8, ["name"])) : a("", !0), s("span", ng, [s("span", { class: b(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, R(e.label), 3), e.badge ? (k(), o("span", rg, R(e.badge.toUpperCase()), 1)) : a("", !0)])]),
|
|
12517
12841
|
_: 2
|
|
12518
12842
|
}, 1040, [
|
|
12519
12843
|
"href",
|
|
@@ -12530,7 +12854,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12530
12854
|
class: "pv-sidebar-hover-panel",
|
|
12531
12855
|
onClick: (t) => ie(t, e.value),
|
|
12532
12856
|
onKeydown: (t) => ae(t, e.value)
|
|
12533
|
-
}, [N(n.$slots, e.hoverPanelSlot)], 40,
|
|
12857
|
+
}, [N(n.$slots, e.hoverPanelSlot)], 40, ig)]),
|
|
12534
12858
|
_: 2
|
|
12535
12859
|
}, 1032, [
|
|
12536
12860
|
"modelValue",
|
|
@@ -12559,8 +12883,8 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12559
12883
|
key: 0,
|
|
12560
12884
|
name: e.icon,
|
|
12561
12885
|
class: "pv-nav-icon"
|
|
12562
|
-
}, null, 8, ["name"])) : a("", !0), s("span",
|
|
12563
|
-
content: K(() => [s("div",
|
|
12886
|
+
}, null, 8, ["name"])) : a("", !0), s("span", og, [s("span", { class: b(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, R(e.label), 3), e.badge ? (k(), o("span", sg, R(e.badge.toUpperCase()), 1)) : a("", !0)])], 16, ag)]),
|
|
12887
|
+
content: K(() => [s("div", cg, [s("ul", lg, [s("li", { "data-active": e.active || void 0 }, [s("a", v({ href: e.url }, { ref_for: !0 }, e.linkAttrs, { style: { "flex-wrap": "wrap" } }), [s("span", { class: b(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, R(e.label), 3), e.badge ? (k(), o("span", fg, R(e.badge.toUpperCase()), 1)) : a("", !0)], 16, dg)], 8, ug)])])]),
|
|
12564
12888
|
_: 2
|
|
12565
12889
|
}, 1032, [
|
|
12566
12890
|
"use-teleport",
|
|
@@ -12580,7 +12904,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12580
12904
|
trigger: K(() => [u(fi, {
|
|
12581
12905
|
modelValue: q.value[e.value],
|
|
12582
12906
|
"onUpdate:modelValue": (t) => q.value[e.value] = t,
|
|
12583
|
-
"default-open": V(
|
|
12907
|
+
"default-open": V(Ch)(e),
|
|
12584
12908
|
"summary-attrs": { "aria-current": ge(e.children) && J.value ? "page" : void 0 },
|
|
12585
12909
|
"enable-trigger-slot": "",
|
|
12586
12910
|
"enable-trigger-full-width": ""
|
|
@@ -12593,8 +12917,8 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12593
12917
|
key: 0,
|
|
12594
12918
|
name: e.icon,
|
|
12595
12919
|
class: "pv-nav-icon"
|
|
12596
|
-
}, null, 8, ["name"])) : a("", !0), s("span",
|
|
12597
|
-
default: K(() => [s("div",
|
|
12920
|
+
}, null, 8, ["name"])) : a("", !0), s("span", mg, R(e.label), 1)], 40, pg)]),
|
|
12921
|
+
default: K(() => [s("div", hg, [(k(!0), o(t, null, M(e.children, (e) => (k(), o(t, { key: e.value }, [e.children?.length ? (k(), i(lr, {
|
|
12598
12922
|
key: 0,
|
|
12599
12923
|
modelValue: Z.value[e.value],
|
|
12600
12924
|
"onUpdate:modelValue": (t) => Z.value[e.value] = t,
|
|
@@ -12611,15 +12935,15 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12611
12935
|
trigger: K(() => [s("a", v({ href: e.url }, { ref_for: !0 }, e.linkAttrs, {
|
|
12612
12936
|
role: e.url ? void 0 : "button",
|
|
12613
12937
|
tabindex: e.url ? void 0 : 0,
|
|
12614
|
-
"aria-current": V(
|
|
12938
|
+
"aria-current": V(Ch)(e) ? "page" : void 0,
|
|
12615
12939
|
"aria-haspopup": "true",
|
|
12616
12940
|
"aria-expanded": !!Z.value[e.value],
|
|
12617
12941
|
title: e.label
|
|
12618
|
-
}), [s("span",
|
|
12942
|
+
}), [s("span", _g, [s("span", { class: b(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, R(e.label), 3), e.badge ? (k(), o("span", vg, R(e.badge.toUpperCase()), 1)) : a("", !0)]), u(Q, {
|
|
12619
12943
|
name: "chevron-right",
|
|
12620
12944
|
class: "pv-icon-16"
|
|
12621
|
-
})], 16,
|
|
12622
|
-
content: K(() => [u(
|
|
12945
|
+
})], 16, gg)]),
|
|
12946
|
+
content: K(() => [u(jh, {
|
|
12623
12947
|
items: e.children,
|
|
12624
12948
|
disabled: J.value
|
|
12625
12949
|
}, null, 8, ["items", "disabled"])]),
|
|
@@ -12636,7 +12960,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12636
12960
|
}, { ref_for: !0 }, e.linkAttrs, {
|
|
12637
12961
|
"aria-current": e.active ? "page" : void 0,
|
|
12638
12962
|
title: e.label
|
|
12639
|
-
}), [s("span",
|
|
12963
|
+
}), [s("span", bg, [s("span", { class: b(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, R(e.label), 3), e.badge ? (k(), o("span", xg, R(e.badge.toUpperCase()), 1)) : a("", !0)])], 16, yg))], 64))), 128))])]),
|
|
12640
12964
|
_: 2
|
|
12641
12965
|
}, 1032, [
|
|
12642
12966
|
"modelValue",
|
|
@@ -12644,7 +12968,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12644
12968
|
"default-open",
|
|
12645
12969
|
"summary-attrs"
|
|
12646
12970
|
])]),
|
|
12647
|
-
content: K(() => [u(
|
|
12971
|
+
content: K(() => [u(jh, {
|
|
12648
12972
|
items: e.children,
|
|
12649
12973
|
disabled: !J.value
|
|
12650
12974
|
}, null, 8, ["items", "disabled"])]),
|
|
@@ -12654,7 +12978,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12654
12978
|
"teleport-location",
|
|
12655
12979
|
"disabled"
|
|
12656
12980
|
]))])], 64))), 128))])) : a("", !0),
|
|
12657
|
-
s("div",
|
|
12981
|
+
s("div", Sg, [V(g) ? (k(), i(lr, {
|
|
12658
12982
|
key: 0,
|
|
12659
12983
|
modelValue: ue.value,
|
|
12660
12984
|
"onUpdate:modelValue": r[1] ||= (e) => ue.value = e,
|
|
@@ -12676,8 +13000,8 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12676
13000
|
}, [u(Q, {
|
|
12677
13001
|
name: "help-circle",
|
|
12678
13002
|
class: "pv-icon-20 pv-nav-icon"
|
|
12679
|
-
}), r[3] ||= s("span", { "data-sidebar-expanded-content": "" }, "Help", -1)], 8,
|
|
12680
|
-
content: K(() => [s("div",
|
|
13003
|
+
}), r[3] ||= s("span", { "data-sidebar-expanded-content": "" }, "Help", -1)], 8, Cg)]),
|
|
13004
|
+
content: K(() => [s("div", wg, [N(n.$slots, "sidebar-help-content")])]),
|
|
12681
13005
|
_: 3
|
|
12682
13006
|
}, 8, [
|
|
12683
13007
|
"modelValue",
|
|
@@ -12702,12 +13026,12 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12702
13026
|
"aria-label": e.profile.name,
|
|
12703
13027
|
"aria-expanded": X.value,
|
|
12704
13028
|
title: e.profile.name
|
|
12705
|
-
}, [s("span",
|
|
13029
|
+
}, [s("span", Eg, [e.profile.avatarUrl ? (k(), o("img", {
|
|
12706
13030
|
key: 0,
|
|
12707
13031
|
src: e.profile.avatarUrl,
|
|
12708
13032
|
alt: ""
|
|
12709
|
-
}, null, 8,
|
|
12710
|
-
content: K(() => [s("div",
|
|
13033
|
+
}, null, 8, Dg)) : (k(), o("span", Og, R(e.profile.name.slice(0, 1)), 1))]), s("span", kg, R(e.profile.name), 1)], 8, Tg)]),
|
|
13034
|
+
content: K(() => [s("div", Ag, [N(n.$slots, "sidebar-profile-content")])]),
|
|
12711
13035
|
_: 3
|
|
12712
13036
|
}, 8, [
|
|
12713
13037
|
"modelValue",
|
|
@@ -12716,7 +13040,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12716
13040
|
"teleport-location"
|
|
12717
13041
|
])) : a("", !0)])
|
|
12718
13042
|
])], 512),
|
|
12719
|
-
s("div",
|
|
13043
|
+
s("div", jg, [N(n.$slots, "default")]),
|
|
12720
13044
|
s("div", {
|
|
12721
13045
|
ref_key: "popoverTeleportTarget",
|
|
12722
13046
|
ref: w,
|
|
@@ -12724,11 +13048,11 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12724
13048
|
}, null, 512)
|
|
12725
13049
|
], 38));
|
|
12726
13050
|
}
|
|
12727
|
-
}),
|
|
13051
|
+
}), Pg = {
|
|
12728
13052
|
class: "pv-toc",
|
|
12729
13053
|
role: "list",
|
|
12730
13054
|
style: { "min-width": "160px" }
|
|
12731
|
-
},
|
|
13055
|
+
}, Fg = ["aria-current"], Ig = ["href", "onClick"], Lg = /* @__PURE__ */ d({
|
|
12732
13056
|
__name: "PvTableOfContents",
|
|
12733
13057
|
props: /* @__PURE__ */ _({ items: {} }, {
|
|
12734
13058
|
modelValue: { required: !1 },
|
|
@@ -12739,7 +13063,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12739
13063
|
let r = H(e, "modelValue"), c = n, u = (e, t) => {
|
|
12740
13064
|
t.href || e.preventDefault(), r.value = t.id, c("handle-select", t);
|
|
12741
13065
|
};
|
|
12742
|
-
return (n, c) => (k(), o("ul",
|
|
13066
|
+
return (n, c) => (k(), o("ul", Pg, [(k(!0), o(t, null, M(e.items, (e) => (k(), o("li", {
|
|
12743
13067
|
key: e.id,
|
|
12744
13068
|
"aria-current": r.value === e.id ? "true" : void 0
|
|
12745
13069
|
}, [s("a", {
|
|
@@ -12748,9 +13072,9 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12748
13072
|
}, [e.icon ? (k(), i(Q, {
|
|
12749
13073
|
key: 0,
|
|
12750
13074
|
name: e.icon
|
|
12751
|
-
}, null, 8, ["name"])) : a("", !0), l(" " + R(e.label), 1)], 8,
|
|
13075
|
+
}, null, 8, ["name"])) : a("", !0), l(" " + R(e.label), 1)], 8, Ig)], 8, Fg))), 128))]));
|
|
12752
13076
|
}
|
|
12753
|
-
}),
|
|
13077
|
+
}), Rg = ["data-clickable", "onClick"], zg = ["data-clickable", "onClick"], Bg = ["data-clickable", "onClick"], Vg = /* @__PURE__ */ d({
|
|
12754
13078
|
__name: "PvStepper",
|
|
12755
13079
|
props: {
|
|
12756
13080
|
variant: { default: "dots" },
|
|
@@ -12832,12 +13156,12 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12832
13156
|
variant: r === e.active ? "primary" : "tertiary",
|
|
12833
13157
|
value: r + 1,
|
|
12834
13158
|
rounded: ""
|
|
12835
|
-
}, null, 8, ["variant", "value"])) : a("", !0), s("span", null, R(t.label), 1)], 14,
|
|
13159
|
+
}, null, 8, ["variant", "value"])) : a("", !0), s("span", null, R(t.label), 1)], 14, Rg))), 128)) : e.variant === "dots" ? (k(!0), o(t, { key: 1 }, M(e.count, (t, r) => (k(), o("div", {
|
|
12836
13160
|
key: r,
|
|
12837
13161
|
"data-clickable": e.clickable,
|
|
12838
13162
|
class: b(r === e.active ? "pv-stepper-active" : "pv-stepper-inactive"),
|
|
12839
13163
|
onClick: (t) => e.clickable && n.$emit("update:active", r)
|
|
12840
|
-
}, null, 10,
|
|
13164
|
+
}, null, 10, zg))), 128)) : (k(!0), o(t, { key: 2 }, M(e.items, (t, r) => (k(), o("div", {
|
|
12841
13165
|
key: r,
|
|
12842
13166
|
class: b(["pv-flex pv-full-width", [{ "pv-flex-item": r === c.value - 1 }]]),
|
|
12843
13167
|
style: { "--flex-gap": "0.25rem" }
|
|
@@ -12852,30 +13176,30 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12852
13176
|
}, [u(Q, {
|
|
12853
13177
|
name: p[t.variant ?? "current"],
|
|
12854
13178
|
class: b(f[t.variant ?? "current"].icon)
|
|
12855
|
-
}, null, 8, ["name", "class"]), s("span", { class: b(["pv-text-body-md", f[t.variant ?? "current"].text]) }, R(t.label), 3)], 12,
|
|
13179
|
+
}, null, 8, ["name", "class"]), s("span", { class: b(["pv-text-body-md", f[t.variant ?? "current"].text]) }, R(t.label), 3)], 12, Bg), r < c.value - 1 ? (k(), o("div", {
|
|
12856
13180
|
key: 0,
|
|
12857
13181
|
class: b(["pv-stepper-progress-divider", m[t.variant ?? "current"]])
|
|
12858
13182
|
}, null, 2)) : a("", !0)], 2))), 128))], 4));
|
|
12859
13183
|
}
|
|
12860
|
-
}),
|
|
13184
|
+
}), Hg = {
|
|
12861
13185
|
class: "pv-flex-vertical pv-flow",
|
|
12862
13186
|
style: {
|
|
12863
13187
|
"--flow-size": "1.5rem",
|
|
12864
13188
|
"--flex-gap": "0"
|
|
12865
13189
|
}
|
|
12866
|
-
},
|
|
13190
|
+
}, Ug = ["src", "alt"], Wg = {
|
|
12867
13191
|
class: "pv-flex-vertical",
|
|
12868
13192
|
style: { "max-width": "450px" }
|
|
12869
|
-
},
|
|
13193
|
+
}, Gg = {
|
|
12870
13194
|
key: 0,
|
|
12871
13195
|
class: "pv-heading-2"
|
|
12872
|
-
},
|
|
13196
|
+
}, Kg = {
|
|
12873
13197
|
key: 1,
|
|
12874
13198
|
class: "pv-text-body-md pv-text-subdued pv-text-center"
|
|
12875
|
-
},
|
|
13199
|
+
}, qg = {
|
|
12876
13200
|
key: 1,
|
|
12877
13201
|
class: "pv-flex-vertical"
|
|
12878
|
-
},
|
|
13202
|
+
}, Jg = /* @__PURE__ */ d({
|
|
12879
13203
|
__name: "PvEmptyState",
|
|
12880
13204
|
props: {
|
|
12881
13205
|
alt: {},
|
|
@@ -12887,14 +13211,14 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12887
13211
|
},
|
|
12888
13212
|
emits: ["handle-primary-click", "handle-secondary-click"],
|
|
12889
13213
|
setup(e) {
|
|
12890
|
-
return (t, n) => (k(), o("div",
|
|
13214
|
+
return (t, n) => (k(), o("div", Hg, [
|
|
12891
13215
|
e.src ? (k(), o("img", {
|
|
12892
13216
|
key: 0,
|
|
12893
13217
|
src: e.src,
|
|
12894
13218
|
alt: e.alt ?? ""
|
|
12895
|
-
}, null, 8,
|
|
12896
|
-
s("div",
|
|
12897
|
-
e.primaryLabel || e.secondaryLabel ? (k(), o("div",
|
|
13219
|
+
}, null, 8, Ug)) : a("", !0),
|
|
13220
|
+
s("div", Wg, [e.header ? (k(), o("h2", Gg, R(e.header), 1)) : a("", !0), e.description ? (k(), o("span", Kg, R(e.description), 1)) : a("", !0)]),
|
|
13221
|
+
e.primaryLabel || e.secondaryLabel ? (k(), o("div", qg, [e.primaryLabel ? (k(), i($, {
|
|
12898
13222
|
key: 0,
|
|
12899
13223
|
variant: "primary",
|
|
12900
13224
|
size: "xl",
|
|
@@ -12909,7 +13233,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12909
13233
|
}, null, 8, ["label"])) : a("", !0)])) : a("", !0)
|
|
12910
13234
|
]));
|
|
12911
13235
|
}
|
|
12912
|
-
}),
|
|
13236
|
+
}), Yg = { theme: {
|
|
12913
13237
|
preset: je,
|
|
12914
13238
|
options: {
|
|
12915
13239
|
darkModeSelector: "none",
|
|
@@ -12918,9 +13242,9 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12918
13242
|
order: "pit-viper-v2, primevue"
|
|
12919
13243
|
}
|
|
12920
13244
|
}
|
|
12921
|
-
} },
|
|
12922
|
-
e.use(Ae,
|
|
12923
|
-
},
|
|
13245
|
+
} }, Xg = (e) => {
|
|
13246
|
+
e.use(Ae, Yg);
|
|
13247
|
+
}, Zg = ({ alignment: e, useTeleport: t = !0, popoverCssProperties: n } = {}) => {
|
|
12924
13248
|
let i = j(null), a = j(null), o = j(null), s = j(null), c = (e) => {
|
|
12925
13249
|
let t = e.parentElement;
|
|
12926
13250
|
for (; t && t !== document.body;) {
|
|
@@ -12971,13 +13295,13 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12971
13295
|
o.value && (i.value = o.value.getBoundingClientRect()), s.value?.popoverRoot && (a.value = s.value.popoverRoot.getBoundingClientRect());
|
|
12972
13296
|
}
|
|
12973
13297
|
};
|
|
12974
|
-
},
|
|
12975
|
-
let e = h(
|
|
13298
|
+
}, Qg = Symbol.for("pv.rum-context"), $g = () => {
|
|
13299
|
+
let e = h(Qg, void 0);
|
|
12976
13300
|
return () => {
|
|
12977
13301
|
let t = e?.value;
|
|
12978
13302
|
return typeof t == "string" ? { consumer: t } : t ?? {};
|
|
12979
13303
|
};
|
|
12980
|
-
},
|
|
13304
|
+
}, e_ = (e, t = {}, n = {}) => {
|
|
12981
13305
|
try {
|
|
12982
13306
|
if (n.enabled === !1 || typeof window > "u" || !window.DD_RUM?.addAction) return;
|
|
12983
13307
|
let r = n.consumer == null ? t : {
|
|
@@ -12986,7 +13310,7 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12986
13310
|
};
|
|
12987
13311
|
window.DD_RUM.addAction(e, r);
|
|
12988
13312
|
} catch {}
|
|
12989
|
-
},
|
|
13313
|
+
}, t_ = (e) => {
|
|
12990
13314
|
queueMicrotask(() => {
|
|
12991
13315
|
try {
|
|
12992
13316
|
e();
|
|
@@ -12994,6 +13318,6 @@ var Pf = ["aria-label"], Ff = { class: "pv-filter-panel-header pv-flex pv-border
|
|
|
12994
13318
|
});
|
|
12995
13319
|
};
|
|
12996
13320
|
//#endregion
|
|
12997
|
-
export { fi as PvAccordion, Pc as PvActionBar, pr as PvActionButton, gr as PvAiButton, Ua as PvAvatar, Bs as PvAvatarGroup, ni as PvBanner, Ra as PvBreadcrumbs, $ as PvButton, xr as PvButtonWithTooltip, Cc as PvCard, Ks as PvCheckbox, Ls as PvCompanyLabel, Wr as PvCompanyLogo, si as PvCompanyTag, ba as PvContextFeedback, Xi as PvContextSurface, Vi as PvContextSurfaceKey, Ye as PvCounterBadge, wi as PvDatePicker, Ei as PvDateTime, hl as PvDistributionBar, Bi as PvDrawer, Pr as PvDropdown, oi as PvEmptyErrorState,
|
|
13321
|
+
export { fi as PvAccordion, Pc as PvActionBar, pr as PvActionButton, gr as PvAiButton, Ua as PvAvatar, Bs as PvAvatarGroup, ni as PvBanner, nu as PvBoxPlot, Ra as PvBreadcrumbs, $ as PvButton, xr as PvButtonWithTooltip, Cc as PvCard, Ks as PvCheckbox, Ls as PvCompanyLabel, Wr as PvCompanyLogo, si as PvCompanyTag, ba as PvContextFeedback, Xi as PvContextSurface, Vi as PvContextSurfaceKey, Ye as PvCounterBadge, wi as PvDatePicker, Ei as PvDateTime, hl as PvDistributionBar, Bi as PvDrawer, Pr as PvDropdown, oi as PvEmptyErrorState, Jg as PvEmptyState, Mc as PvExpandableContent, uc as PvFileInput, Qp as PvFilterModal, Fp as PvFilterPanel, Ca as PvGhostInput, Fs as PvHeader, uf as PvHorizontalScroller, nm as PvHoverActionMenu, Q as PvIcon, rc as PvInput, jc as PvInsightCard, Uo as PvMenu, Fo as PvMenuItem, Xr as PvModal, Xo as PvMultiSelectButton, _s as PvPagination, Or as PvPill, jr as PvPopover, Ir as PvPopoverMenu, lr as PvPopoverV2, ml as PvProgressBar, dm as PvQueryBuilderInput, Xs as PvRadioGroup, yu as PvRange, pc as PvRating, Tr as PvReleaseBadge, ji as PvResizeHandle, _i as PvSearchInput, Lr as PvSegmentedControl, $o as PvSelectButton, Ja as PvSelectButtonTrigger, bs as PvSelectableCard, Ts as PvSidePanel, Sh as PvSidebar, Ng as PvSidebarV2, Qs as PvSkeleton, us as PvSortableList, na as PvSpinesEntityFields, ze as PvSpinner, wr as PvSplitButton, As as PvSplitPane, Zs as PvSprite, Vg as PvStepper, ui as PvSuggestionTag, ho as PvSwitch, Vr as PvTabList, Lg as PvTableOfContents, Pa as PvTabs, Dr as PvTag, oa as PvTextArea, pa as PvToast, ua as PvToggleButton, Ws as PvToggleGroup, yr as PvTooltip, dr as PvTooltipV2, ll as PvTree, ul as PvTreeGroup, wc as PvWidget, Qg as RumContextKey, vo as SelectedItemsKey, e_ as addRumAction, fp as createPvFilterStore, t_ as deferRumTask, pp as providePvFilterStore, Di as pvResizeAxisFor, Oi as resolvePvResizeSize, Ti as useDateTime, Zg as useMenuPosition, mp as useOptionalPvFilterStore, Xg as usePvComponents, hp as usePvFilterStore, Ai as useResizable, $g as useRumContext, rr as useSlotPresence };
|
|
12998
13322
|
|
|
12999
13323
|
//# sourceMappingURL=pv-components-base.mjs.map
|