@turquoisehealth/pit-viper 2.240.1 → 2.240.2

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (23) hide show
  1. package/_site/assets/css/pit-viper-a11y.css +26 -11
  2. package/_site/assets/css/pit-viper-consumer.css +26 -11
  3. package/_site/assets/css/pit-viper-v2-scoped.css +23 -11
  4. package/_site/assets/css/pit-viper-v2.css +27 -12
  5. package/_site/assets/css/pit-viper.css +26 -11
  6. package/package.json +1 -1
  7. package/pv-components/dist/stats/vue/ai/stats.html +1 -1
  8. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  9. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  10. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  11. package/pv-components/dist/stats/web/pv-reasoning-stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-step-list-stats.html +1 -1
  13. package/pv-components/dist/vue/ai/pv-components-ai.mjs +33 -35
  14. package/pv-components/dist/vue/ai/pv-components-ai.mjs.map +1 -1
  15. package/pv-components/dist/vue/base/pv-components-base.mjs +550 -546
  16. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  17. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +46 -42
  18. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  19. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +1041 -1037
  20. package/pv-components/dist/web/components/pv-reasoning/pv-reasoning.js +522 -524
  21. package/pv-components/dist/web/components/pv-step-list/pv-step-list.js +372 -369
  22. package/pv-components/dist/web/pv-components.iife.js +36 -36
  23. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -1,7 +1,7 @@
1
- (function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.pv-badge-md[data-v-013a5d76]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-013a5d76]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-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-7b85ebe3]{font-size:14px}.pv-popover-pinned-sections[data-v-7b85ebe3]{flex-direction:column;display:flex;overflow:hidden}.pv-popover-pinned-sections .pv-popover-list[data-v-7b85ebe3]{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-a64056ef]{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-f14f755f]{z-index:50}.pv-popover-list>li[data-v-f14f755f]:last-child>.pv-label{margin-block-end:0}[data-v-f14f755f] .pv-menu-nested:after{content:"";border-top:1.5px solid;border-right:1.5px solid;flex-shrink:0;width:.4rem;height:.4rem;margin-left:auto;margin-right:.2rem;transform:rotate(45deg)}.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],.pv-tree-drop-zone[data-v-eb5f5907]{min-height:0}[data-v-2896bb8b] .pv-tree-item{cursor:pointer;background-color:#0000;border:1px solid #0000;padding:3px 4px}[data-v-2896bb8b] .pv-tree-item-disabled{cursor:default!important}[data-v-2896bb8b] .pv-tree-item.pv-drop-indicator-top{border-top:1px solid var(--color-border,#121313)}[data-v-2896bb8b] .pv-tree-item.pv-drop-indicator-bottom{border-bottom:1px solid var(--color-border,#121313)}[data-v-2896bb8b] .pv-drop-indicator-parent{border:1px solid var(--color-border,#36c5ba)}[data-v-2896bb8b] .pv-tree-item-selected{background-color:var(--pv-color-selected,#e4f8f6)}[data-v-2896bb8b] .pv-tree:not(.pv-tree--disable-selection) .pv-tree-item-selected:hover,[data-v-2896bb8b] .pv-tree:not(.pv-tree--disable-selection) .pv-tree-item:hover{background-color:var(--pv-color-hover,#e8f2f4);border-radius:4px}[data-v-2896bb8b] .pv-tree:not(.pv-tree--disable-selection) .pv-tree-item-selected:active,[data-v-2896bb8b] .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-073616dc]{background-image:none;padding-right:2px}[data-v-073616dc] .pv-input-search{background-color:#fff}.suggested-title-label[data-v-073616dc]{text-underline-offset:2px;text-decoration:underline dotted}.pv-filter-panel-refresh-status[data-v-073616dc]{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-6772fde2]{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-6772fde2]{--button-small-icon-only-padding:.0625rem;min-height:1.5rem;padding-block:.0625rem}.pv-query-builder-input[data-v-6772fde2]{justify-content:start;overflow-x:hidden}.pv-query-builder-input-wrapper input[data-v-6772fde2]{background:0 0;border:none;outline:none;flex:1rem;min-width:1rem;font-size:.75rem}.pv-query-builder-group-label[data-v-6772fde2]{padding:.5rem .5rem .25rem;font-weight:500;display:block}.pv-query-builder-option-active[data-v-6772fde2]{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-6772fde2]: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-013a5d76]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-013a5d76]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-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-7b85ebe3]{font-size:14px}.pv-popover-pinned-sections[data-v-7b85ebe3]{flex-direction:column;display:flex;overflow:hidden}.pv-popover-pinned-sections .pv-popover-list[data-v-7b85ebe3]{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-a64056ef]{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-f14f755f]{z-index:50}.pv-popover-list>li[data-v-f14f755f]:last-child>.pv-label{margin-block-end:0}[data-v-f14f755f] .pv-menu-nested:after{content:"";border-top:1.5px solid;border-right:1.5px solid;flex-shrink:0;width:.4rem;height:.4rem;margin-left:auto;margin-right:.2rem;transform:rotate(45deg)}.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],.pv-tree-drop-zone[data-v-eb5f5907]{min-height:0}[data-v-2896bb8b] .pv-tree-item{cursor:pointer;background-color:#0000;border:1px solid #0000;padding:3px 4px}[data-v-2896bb8b] .pv-tree-item-disabled{cursor:default!important}[data-v-2896bb8b] .pv-tree-item.pv-drop-indicator-top{border-top:1px solid var(--color-border,#121313)}[data-v-2896bb8b] .pv-tree-item.pv-drop-indicator-bottom{border-bottom:1px solid var(--color-border,#121313)}[data-v-2896bb8b] .pv-drop-indicator-parent{border:1px solid var(--color-border,#36c5ba)}[data-v-2896bb8b] .pv-tree-item-selected{background-color:var(--pv-color-selected,#e4f8f6)}[data-v-2896bb8b] .pv-tree:not(.pv-tree--disable-selection) .pv-tree-item-selected:hover,[data-v-2896bb8b] .pv-tree:not(.pv-tree--disable-selection) .pv-tree-item:hover{background-color:var(--pv-color-hover,#e8f2f4);border-radius:4px}[data-v-2896bb8b] .pv-tree:not(.pv-tree--disable-selection) .pv-tree-item-selected:active,[data-v-2896bb8b] .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-073616dc]{background-image:none;padding-right:2px}[data-v-073616dc] .pv-input-search{background-color:#fff}.suggested-title-label[data-v-073616dc]{text-underline-offset:2px;text-decoration:underline dotted}.pv-filter-panel-refresh-status[data-v-073616dc]{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-fb2cc737]{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-fb2cc737]{--button-small-icon-only-padding:.0625rem;min-height:1.5rem;padding-block:.0625rem}.pv-query-builder-input[data-v-fb2cc737]{justify-content:start;overflow-x:hidden}.pv-query-builder-input-wrapper input[data-v-fb2cc737]{background:0 0;border:none;outline:none;flex:1rem;min-width:1rem;font-size:.75rem}.pv-query-builder-group-label[data-v-fb2cc737]{padding:.5rem .5rem .25rem;font-weight:500;display:block}.pv-query-builder-option-active[data-v-fb2cc737]{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-fb2cc737]:focus-within{border-color:var(--text-input-focus-border-color,#36c5ba)}
2
2
  /*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();import * as e from "vue";
3
- import { Fragment as t, Teleport as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createSlots as c, createTextVNode as l, createVNode as u, defineComponent as d, getCurrentInstance as f, guardReactiveProps as p, inject as m, isRef as h, mergeModels as g, mergeProps as _, nextTick as v, normalizeClass as y, normalizeProps as b, normalizeStyle as x, onBeforeUnmount as S, onBeforeUpdate as C, onMounted as w, onUnmounted as T, onUpdated as E, openBlock as D, provide as O, ref as k, renderList as A, renderSlot as j, resolveComponent as M, resolveDynamicComponent as N, shallowReactive as P, shallowRef as F, toDisplayString as I, unref as L, useAttrs as R, useId as z, useModel as B, useSlots as V, useTemplateRef as ee, vModelCheckbox as te, vModelDynamic as H, vModelRadio as U, vModelText as W, vShow as ne, watch as G, watchEffect as re, withCtx as K, withDirectives as ie, withKeys as ae, withModifiers as q } from "vue";
4
- import { onClickOutside as oe, onKeyStroke as J, useDebounceFn as se, useElementBounding as ce, useElementHover as Y, useMutationObserver as X, useResizeObserver as le, useToggle as ue, watchDebounced as de } from "@vueuse/core";
3
+ import { Fragment as t, Teleport as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createSlots as c, createTextVNode as l, createVNode as u, defineComponent as d, getCurrentInstance as f, guardReactiveProps as p, inject as m, isRef as h, mergeModels as g, mergeProps as _, nextTick as v, normalizeClass as y, normalizeProps as b, normalizeStyle as x, onBeforeUnmount as S, onBeforeUpdate as C, onMounted as w, onUnmounted as T, onUpdated as E, openBlock as D, provide as O, ref as k, renderList as A, renderSlot as j, resolveComponent as M, resolveDynamicComponent as N, shallowReactive as P, shallowRef as F, toDisplayString as I, unref as L, useAttrs as R, useId as z, useModel as B, useSlots as V, useTemplateRef as H, vModelCheckbox as ee, vModelDynamic as U, vModelRadio as W, vModelText as G, vShow as te, watch as K, watchEffect as ne, withCtx as q, withDirectives as J, withKeys as re, withModifiers as ie } from "vue";
4
+ import { onClickOutside as ae, onKeyStroke as Y, useDebounceFn as oe, useElementBounding as se, useElementHover as ce, useMutationObserver as X, useResizeObserver as le, useToggle as ue, watchDebounced as de } from "@vueuse/core";
5
5
  import { useSortable as fe } from "@vueuse/integrations/useSortable.mjs";
6
6
  import { vOnClickOutside as Z } from "@vueuse/components";
7
7
  import pe from "primevue/datepicker";
@@ -1127,7 +1127,7 @@ function Xn(e, t = {}) {
1127
1127
  characterData: !0
1128
1128
  }));
1129
1129
  };
1130
- return w(v), S(g), G(() => L(n), () => {
1130
+ return w(v), S(g), K(() => L(n), () => {
1131
1131
  c.value && v();
1132
1132
  }), {
1133
1133
  present: r(() => c.value ? p.value : f.value),
@@ -1201,9 +1201,9 @@ var Zn = /* @__PURE__ */ new Set(), Qn = (e, t) => !!t.root.value && !!e.root.va
1201
1201
  "position-try-fallbacks: flip-block",
1202
1202
  "position-visibility: anchors-visible",
1203
1203
  `anchor-scope: ${tr}`
1204
- ].every((e) => CSS.supports(e)), g = k(!1), _ = k(null), y = k(null), b = k(null), S = k(null), C = Y(y), E = Y(S), O = k(!1), A = k(!1), M = k(!1), N = $n({
1204
+ ].every((e) => CSS.supports(e)), g = k(!1), _ = k(null), y = k(null), b = k(null), S = k(null), C = ce(y), E = ce(S), O = k(!1), A = k(!1), M = k(!1), N = $n({
1205
1205
  root: _,
1206
- close: () => t.disableClickOutsideToClose ? !1 : (q(), !0)
1206
+ close: () => t.disableClickOutsideToClose ? !1 : (ie(), !0)
1207
1207
  }), P = {
1208
1208
  "top-center": "top",
1209
1209
  "bottom-center": "bottom",
@@ -1268,7 +1268,7 @@ var Zn = /* @__PURE__ */ new Set(), Qn = (e, t) => !!t.root.value && !!e.root.va
1268
1268
  "position-try-fallbacks": t.disableAutoPlacement ? void 0 : "flip-block, flip-inline, flip-block flip-inline",
1269
1269
  [e.margin]: `${t.offset ?? 0}px`
1270
1270
  };
1271
- }), ee = () => {}, te = () => ({});
1271
+ }), H = () => {}, ee = () => ({});
1272
1272
  if (!h) {
1273
1273
  let e = [];
1274
1274
  t.disableAutoPlacement || e.push(jn({ fallbackStrategy: "initialPlacement" })), t.offset && e.push(kn(t.offset));
@@ -1277,41 +1277,41 @@ var Zn = /* @__PURE__ */ new Set(), Qn = (e, t) => !!t.root.value && !!e.root.va
1277
1277
  strategy: t.positioningStrategy,
1278
1278
  middleware: e
1279
1279
  });
1280
- ee = n.update, te = () => n.floatingStyles.value;
1281
- let i = ce(b), a = se(() => {
1282
- c.value && ee();
1280
+ H = n.update, ee = () => n.floatingStyles.value;
1281
+ let i = se(b), a = oe(() => {
1282
+ c.value && H();
1283
1283
  }, 5);
1284
- G([
1284
+ K([
1285
1285
  i.top,
1286
1286
  i.left,
1287
1287
  i.width,
1288
1288
  i.height
1289
- ], a), oe(_, () => {
1290
- t.disableClickOutsideToClose || ae(!1);
1289
+ ], a), ae(_, () => {
1290
+ t.disableClickOutsideToClose || re(!1);
1291
1291
  }, { ignore: r(() => [
1292
1292
  S.value,
1293
1293
  ".p-datepicker-panel",
1294
1294
  ...t.ignoreClickOutsideClasses?.map((e) => `.${e}`) ?? []
1295
1295
  ]) });
1296
1296
  }
1297
- let H = r(() => ({
1298
- ...te(),
1297
+ let U = r(() => ({
1298
+ ...ee(),
1299
1299
  zIndex: t.zIndex
1300
- })), U, W, re = () => {
1301
- U && clearTimeout(U), U = void 0;
1302
- }, K = () => {
1300
+ })), W, G, ne = () => {
1303
1301
  W && clearTimeout(W), W = void 0;
1304
- }, ae = (e) => {
1305
- re(), K(), !(e && (t.disabled || !m.value)) && (e && t.delay > 0 && (t.showOnHover || !h) ? U = setTimeout(() => {
1306
- c.value = !0, U = void 0;
1307
- }, t.delay) : c.value = e);
1308
1302
  }, q = () => {
1309
- re(), K(), c.value = !1;
1310
- }, J = () => {
1303
+ G && clearTimeout(G), G = void 0;
1304
+ }, re = (e) => {
1305
+ ne(), q(), !(e && (t.disabled || !m.value)) && (e && t.delay > 0 && (t.showOnHover || !h) ? W = setTimeout(() => {
1306
+ c.value = !0, W = void 0;
1307
+ }, t.delay) : c.value = e);
1308
+ }, ie = () => {
1309
+ ne(), q(), c.value = !1;
1310
+ }, Y = () => {
1311
1311
  let e = S.value;
1312
1312
  !e || !g.value || !m.value || (c.value ? e.showPopover() : e.hidePopover());
1313
1313
  }, X = r(() => !!c.value && (E.value || A.value)), le = r(() => !t.showOnHover || M.value ? !1 : t.disableInteractive ? C.value || O.value : C.value || O.value || X.value);
1314
- G([
1314
+ K([
1315
1315
  C,
1316
1316
  O,
1317
1317
  A
@@ -1327,48 +1327,48 @@ var Zn = /* @__PURE__ */ new Set(), Qn = (e, t) => !!t.root.value && !!e.root.va
1327
1327
  }, Z = () => {
1328
1328
  if (t.showOnHover) {
1329
1329
  if (t.disableClickOutsideToClose) return;
1330
- if (!c.value && !U && t.enableClickToggle) {
1331
- M.value = !1, ae(!0);
1330
+ if (!c.value && !W && t.enableClickToggle) {
1331
+ M.value = !1, re(!0);
1332
1332
  return;
1333
1333
  }
1334
- M.value = !0, q();
1334
+ M.value = !0, ie();
1335
1335
  return;
1336
1336
  }
1337
- ae(U ? !1 : !c.value);
1337
+ re(W ? !1 : !c.value);
1338
1338
  }, pe = (e) => {
1339
1339
  let t = e.newState === "open";
1340
1340
  c.value !== t && (c.value = t);
1341
1341
  }, me = (e) => {
1342
- h && I.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), ae(!1));
1342
+ h && I.value === "manual" && e.key === "Escape" && c.value && (e.preventDefault(), e.stopPropagation(), re(!1));
1343
1343
  };
1344
- return G(c, async (e) => {
1344
+ return K(c, async (e) => {
1345
1345
  if (t.showOnHover && t.enableGroupSync && N(!!e), !h) {
1346
- e && ee();
1346
+ e && H();
1347
1347
  return;
1348
1348
  }
1349
- await v(), J();
1350
- }), G(le, (e) => {
1349
+ await v(), Y();
1350
+ }), K(le, (e) => {
1351
1351
  if (t.showOnHover) {
1352
1352
  if (e) {
1353
- ae(!0);
1353
+ re(!0);
1354
1354
  return;
1355
1355
  }
1356
- re(), t.closeDelay > 0 ? (K(), W = setTimeout(() => {
1357
- W = void 0, le.value || ae(!1);
1358
- }, t.closeDelay)) : ae(!1);
1356
+ ne(), t.closeDelay > 0 ? (q(), G = setTimeout(() => {
1357
+ G = void 0, le.value || re(!1);
1358
+ }, t.closeDelay)) : re(!1);
1359
1359
  }
1360
- }), G(m, (e) => {
1361
- e ? h && c.value && v(J) : q();
1360
+ }), K(m, (e) => {
1361
+ e ? h && c.value && v(Y) : ie();
1362
1362
  }), w(() => {
1363
- b.value = y.value, g.value = !0, c.value && v(() => h ? J() : ee());
1363
+ b.value = y.value, g.value = !0, c.value && v(() => h ? Y() : H());
1364
1364
  }), T(() => {
1365
- re(), K();
1366
- }), G(() => t.disabled, (e) => {
1365
+ ne(), q();
1366
+ }), K(() => t.disabled, (e) => {
1367
1367
  if (!e) {
1368
- le.value && ae(!0);
1368
+ le.value && re(!0);
1369
1369
  return;
1370
1370
  }
1371
- O.value &&= !1, A.value &&= !1, ae(!1);
1371
+ O.value &&= !1, A.value &&= !1, re(!1);
1372
1372
  }), (r, l) => (D(), o("div", {
1373
1373
  ref_key: "root",
1374
1374
  ref: _,
@@ -1395,14 +1395,14 @@ var Zn = /* @__PURE__ */ new Set(), Qn = (e, t) => !!t.root.value && !!e.root.va
1395
1395
  key: 1,
1396
1396
  to: e.teleportLocation,
1397
1397
  disabled: !t.useTeleport || e.disabled
1398
- }, [ie(s("div", {
1398
+ }, [J(s("div", {
1399
1399
  ref_key: "floating",
1400
1400
  ref: S,
1401
1401
  class: "pv-floating",
1402
- style: x(H.value),
1402
+ style: x(U.value),
1403
1403
  onFocusin: de,
1404
1404
  onFocusout: fe
1405
- }, [j(r.$slots, "content")], 36), [[ne, c.value]])], 8, ["to", "disabled"])) : a("", !0)], 36));
1405
+ }, [j(r.$slots, "content")], 36), [[te, c.value]])], 8, ["to", "disabled"])) : a("", !0)], 36));
1406
1406
  }
1407
1407
  }), rr = ["data-variant"], ir = /* @__PURE__ */ d({
1408
1408
  __name: "PvTooltipV2",
@@ -1438,11 +1438,11 @@ var Zn = /* @__PURE__ */ new Set(), Qn = (e, t) => !!t.root.value && !!e.root.va
1438
1438
  setup(e) {
1439
1439
  let t = e, n = f(), a = typeof HTMLElement < "u" && n && "ce" in n && n.ce instanceof HTMLElement ? n.ce : void 0, { hasVueSlot: o, hasNativeSlot: u } = Xn("content", { host: a }), d = r(() => a ? u.value : o.value), m = r(() => !!t.description || d.value);
1440
1440
  return (t, n) => (D(), i(nr, b(p(t.$props)), c({
1441
- trigger: K(() => [j(t.$slots, "trigger", {}, () => [s("p", null, I(e.label), 1)])]),
1441
+ trigger: q(() => [j(t.$slots, "trigger", {}, () => [s("p", null, I(e.label), 1)])]),
1442
1442
  _: 2
1443
1443
  }, [m.value ? {
1444
1444
  name: "content",
1445
- fn: K(() => [s("div", {
1445
+ fn: q(() => [s("div", {
1446
1446
  class: y(["pv-tooltip-v2-content", { "pv-tooltip-v2-content-small": e.size === "sm" }]),
1447
1447
  role: "tooltip",
1448
1448
  "data-variant": e.variant
@@ -1481,13 +1481,13 @@ var Zn = /* @__PURE__ */ new Set(), Qn = (e, t) => !!t.root.value && !!e.root.va
1481
1481
  "disable-interactive": !0,
1482
1482
  "use-teleport": !0
1483
1483
  }, c({
1484
- trigger: K(() => [s("button", {
1484
+ trigger: q(() => [s("button", {
1485
1485
  type: "button",
1486
1486
  class: y(["pv-button-link-tertiary", { "pv-action-button-reveal-on-hover": !e.alwaysShow }]),
1487
1487
  style: { "--button-icon-only-padding": "0px" },
1488
1488
  "aria-label": e.tooltipText,
1489
1489
  disabled: e.disabled,
1490
- onClick: q(o, ["stop"])
1490
+ onClick: ie(o, ["stop"])
1491
1491
  }, [u(Q, {
1492
1492
  name: e.icon,
1493
1493
  size: a[e.size]
@@ -1495,7 +1495,7 @@ var Zn = /* @__PURE__ */ new Set(), Qn = (e, t) => !!t.root.value && !!e.root.va
1495
1495
  _: 2
1496
1496
  }, [e.tooltipText ? {
1497
1497
  name: "content",
1498
- fn: K(() => [l(I(e.tooltipText), 1)]),
1498
+ fn: q(() => [l(I(e.tooltipText), 1)]),
1499
1499
  key: "0"
1500
1500
  } : void 0]), 1032, ["position"]));
1501
1501
  }
@@ -1548,7 +1548,7 @@ var Zn = /* @__PURE__ */ new Set(), Qn = (e, t) => !!t.root.value && !!e.root.va
1548
1548
  delay: { default: 0 }
1549
1549
  },
1550
1550
  setup(e) {
1551
- let t = e, n = ee("rootRef"), { present: i } = Xn("tooltip-content", { host: r(() => {
1551
+ let t = e, n = H("rootRef"), { present: i } = Xn("tooltip-content", { host: r(() => {
1552
1552
  let e = n.value?.getRootNode();
1553
1553
  return e instanceof ShadowRoot ? e.host : null;
1554
1554
  }) }), s = r(() => t.delay > 0), c = k(!1), l = k(!1), u, d = () => {
@@ -1580,12 +1580,12 @@ var Zn = /* @__PURE__ */ new Set(), Qn = (e, t) => !!t.root.value && !!e.root.va
1580
1580
  onMouseleave: m,
1581
1581
  onFocusin: h,
1582
1582
  onFocusout: g
1583
- }, [j(t.$slots, "label"), L(i) ? ie((D(), o("div", {
1583
+ }, [j(t.$slots, "label"), L(i) ? J((D(), o("div", {
1584
1584
  key: 0,
1585
1585
  role: "tooltip",
1586
1586
  id: e.ariaLabelledBy,
1587
1587
  "data-testid": "pv-tooltip-content"
1588
- }, [j(t.$slots, "tooltip-content")], 8, dr)), [[ne, f.value]]) : a("", !0)], 42, ur));
1588
+ }, [j(t.$slots, "tooltip-content")], 8, dr)), [[te, f.value]]) : a("", !0)], 42, ur));
1589
1589
  }
1590
1590
  }), pr = { class: "pv-text-body-sm" }, mr = /* @__PURE__ */ d({
1591
1591
  __name: "PvButtonWithTooltip",
@@ -1626,8 +1626,8 @@ var Zn = /* @__PURE__ */ new Set(), Qn = (e, t) => !!t.root.value && !!e.root.va
1626
1626
  delay: e.delay,
1627
1627
  size: n.value
1628
1628
  }, {
1629
- "tooltip-content": K(() => [s("p", pr, I(e.tooltipText), 1)]),
1630
- label: K(() => [u($, b(p(a.value)), null, 16)]),
1629
+ "tooltip-content": q(() => [s("p", pr, I(e.tooltipText), 1)]),
1630
+ label: q(() => [u($, b(p(a.value)), null, 16)]),
1631
1631
  _: 1
1632
1632
  }, 8, [
1633
1633
  "variant",
@@ -1692,7 +1692,7 @@ var Zn = /* @__PURE__ */ new Set(), Qn = (e, t) => !!t.root.value && !!e.root.va
1692
1692
  position: e.position,
1693
1693
  offset: e.offset
1694
1694
  }, {
1695
- trigger: K(() => [u($, {
1695
+ trigger: q(() => [u($, {
1696
1696
  class: "pv-split-button__menu-trigger",
1697
1697
  size: e.size,
1698
1698
  variant: e.variant,
@@ -1706,7 +1706,7 @@ var Zn = /* @__PURE__ */ new Set(), Qn = (e, t) => !!t.root.value && !!e.root.va
1706
1706
  "inverse",
1707
1707
  "leftIcon"
1708
1708
  ])]),
1709
- content: K(() => [s("div", gr, [j(n.$slots, "menu-content", {}, void 0, !0)])]),
1709
+ content: q(() => [s("div", gr, [j(n.$slots, "menu-content", {}, void 0, !0)])]),
1710
1710
  _: 3
1711
1711
  }, 8, [
1712
1712
  "modelValue",
@@ -1788,7 +1788,7 @@ var Zn = /* @__PURE__ */ new Set(), Qn = (e, t) => !!t.root.value && !!e.root.va
1788
1788
  size: 12,
1789
1789
  name: "close",
1790
1790
  "data-dd-action-name": e.rumRemoveActionName,
1791
- onClick: r[0] ||= q((n) => t.$emit("handle-close", e.label), ["stop"])
1791
+ onClick: r[0] ||= ie((n) => t.$emit("handle-close", e.label), ["stop"])
1792
1792
  }, null, 8, ["data-dd-action-name"])) : a("", !0)
1793
1793
  ], 14, yr));
1794
1794
  }
@@ -1870,7 +1870,7 @@ var Zn = /* @__PURE__ */ new Set(), Qn = (e, t) => !!t.root.value && !!e.root.va
1870
1870
  },
1871
1871
  emits: ["list-order-updated"],
1872
1872
  setup(e, { expose: n, emit: i }) {
1873
- let a = k(null), c = ee("popoverList"), l = e, u = i;
1873
+ let a = k(null), c = H("popoverList"), l = e, u = i;
1874
1874
  l.isSortable && l.isList && fe(c, [], {
1875
1875
  animation: 150,
1876
1876
  onUpdate: () => {
@@ -1951,7 +1951,7 @@ var Zn = /* @__PURE__ */ new Set(), Qn = (e, t) => !!t.root.value && !!e.root.va
1951
1951
  }, E = (e) => {
1952
1952
  p.value && (e.stopPropagation(), p.value = !1, h.value?.focus());
1953
1953
  };
1954
- t({ closeDropdown: T }), G(p, (e) => {
1954
+ t({ closeDropdown: T }), K(p, (e) => {
1955
1955
  e ? v(() => {
1956
1956
  S(), f("dropdown-open");
1957
1957
  }) : f("dropdown-closed");
@@ -1963,10 +1963,10 @@ var Zn = /* @__PURE__ */ new Set(), Qn = (e, t) => !!t.root.value && !!e.root.va
1963
1963
  zIndex: 10,
1964
1964
  ...d.popoverCssProperties
1965
1965
  } : d.popoverCssProperties);
1966
- return (t, r) => ie((D(), o("div", {
1966
+ return (t, r) => J((D(), o("div", {
1967
1967
  class: "pv-relative",
1968
1968
  style: { width: "fit-content" },
1969
- onKeydown: ae(E, ["esc"])
1969
+ onKeydown: re(E, ["esc"])
1970
1970
  }, [s("button", {
1971
1971
  ref_key: "triggerRef",
1972
1972
  ref: h,
@@ -1999,7 +1999,7 @@ var Zn = /* @__PURE__ */ new Set(), Qn = (e, t) => !!t.root.value && !!e.root.va
1999
1999
  isSortable: e.isSortable,
2000
2000
  onListOrderUpdated: r[0] ||= (e) => t.$emit("list-order-updated", e)
2001
2001
  }, {
2002
- default: K(() => [j(t.$slots, "default", {}, () => [e.isLoading ? (D(), o("span", Er, "Loading...")) : a("", !0)], !0)]),
2002
+ default: q(() => [j(t.$slots, "default", {}, () => [e.isLoading ? (D(), o("span", Er, "Loading...")) : a("", !0)], !0)]),
2003
2003
  _: 3
2004
2004
  }, 8, [
2005
2005
  "id",
@@ -2022,7 +2022,7 @@ var Zn = /* @__PURE__ */ new Set(), Qn = (e, t) => !!t.root.value && !!e.root.va
2022
2022
  alignment: e.alignment,
2023
2023
  "css-custom-properties": e.cssCustomProperties
2024
2024
  }, {
2025
- default: K(() => [j(t.$slots, "content")]),
2025
+ default: q(() => [j(t.$slots, "content")]),
2026
2026
  _: 3
2027
2027
  }, 8, ["alignment", "css-custom-properties"])]));
2028
2028
  }
@@ -2046,7 +2046,7 @@ var Zn = /* @__PURE__ */ new Set(), Qn = (e, t) => !!t.root.value && !!e.root.va
2046
2046
  position: "bottom-right",
2047
2047
  style: { width: "100%" }
2048
2048
  }, c({
2049
- trigger: K(() => [u($, {
2049
+ trigger: q(() => [u($, {
2050
2050
  class: y(["pv-full-width", { "pv-disabled": e.disabled }]),
2051
2051
  variant: "ghost",
2052
2052
  label: e.label,
@@ -2069,7 +2069,7 @@ var Zn = /* @__PURE__ */ new Set(), Qn = (e, t) => !!t.root.value && !!e.root.va
2069
2069
  _: 2
2070
2070
  }, [e.disabledReason ? {
2071
2071
  name: "content",
2072
- fn: K(() => [l(I(e.disabledReason), 1)]),
2072
+ fn: q(() => [l(I(e.disabledReason), 1)]),
2073
2073
  key: "0"
2074
2074
  } : void 0]), 1024))), 128))], 2));
2075
2075
  }
@@ -2113,7 +2113,7 @@ var Zn = /* @__PURE__ */ new Set(), Qn = (e, t) => !!t.root.value && !!e.root.va
2113
2113
  "pv-icon": n.value,
2114
2114
  [`pv-company-${t.size}`]: t.size && !n.value
2115
2115
  })), c = r(() => ({ width: i.value })), l = r(() => `${t.name.toLowerCase().replace(/[^a-z\s]/g, "").trim().replace(/\s+/g, "_")}.svg`), u = r(() => t.srcPathOverride ? t.srcPathOverride : `${t.basePath}/${l.value}`);
2116
- return G(u, () => {
2116
+ return K(u, () => {
2117
2117
  n.value = !0;
2118
2118
  }), (e, t) => (D(), o("div", Fr, [n.value ? (D(), o("div", {
2119
2119
  key: 0,
@@ -2163,8 +2163,8 @@ var Zn = /* @__PURE__ */ new Set(), Qn = (e, t) => !!t.root.value && !!e.root.va
2163
2163
  }),
2164
2164
  emits: ["update:modelValue"],
2165
2165
  setup(e) {
2166
- let t = e, n = r(() => t.position === "center" ? "position: fixed; inset-block: 0; height: fit-content; margin-block: auto" : void 0), i = ee("dialog"), c = B(e, "modelValue");
2167
- G(() => c.value, () => {
2166
+ let t = e, n = r(() => t.position === "center" ? "position: fixed; inset-block: 0; height: fit-content; margin-block: auto" : void 0), i = H("dialog"), c = B(e, "modelValue");
2167
+ K(() => c.value, () => {
2168
2168
  c.value ? i.value?.showModal() : i.value?.close();
2169
2169
  });
2170
2170
  let l = () => {
@@ -2315,7 +2315,7 @@ var Zn = /* @__PURE__ */ new Set(), Qn = (e, t) => !!t.root.value && !!e.root.va
2315
2315
  "data-testid": "pv-company-tag-close-icon",
2316
2316
  size: 12,
2317
2317
  name: "close",
2318
- onClick: r[0] ||= q((n) => t.$emit("handle-close", e.companyName), ["stop"])
2318
+ onClick: r[0] ||= ie((n) => t.$emit("handle-close", e.companyName), ["stop"])
2319
2319
  })) : a("", !0)
2320
2320
  ], 2));
2321
2321
  }
@@ -2445,18 +2445,18 @@ var Zn = /* @__PURE__ */ new Set(), Qn = (e, t) => !!t.root.value && !!e.root.va
2445
2445
  }),
2446
2446
  emits: ["update:modelValue"],
2447
2447
  setup(e, { expose: t }) {
2448
- let n = e, i = ee("search-input"), c = B(e, "modelValue"), l = r(() => ({
2448
+ let n = e, i = H("search-input"), c = B(e, "modelValue"), l = r(() => ({
2449
2449
  "pv-input-search": !0,
2450
2450
  "pv-full-width": !0,
2451
2451
  "pv-input-padded-end": !0,
2452
2452
  "pv-input-small": n.size === "lg"
2453
2453
  }));
2454
2454
  return w(() => {
2455
- n.displayShortcut && J(li, (e) => {
2455
+ n.displayShortcut && Y(li, (e) => {
2456
2456
  let t = e.target, n = t instanceof HTMLInputElement || t instanceof HTMLTextAreaElement || (t?.isContentEditable ?? !1), r = document.activeElement === i.value;
2457
2457
  (!n || r) && (r || (e.preventDefault(), i.value?.focus()));
2458
2458
  });
2459
- }), t({ input: i }), (t, n) => (D(), o("div", oi, [ie(s("input", {
2459
+ }), t({ input: i }), (t, n) => (D(), o("div", oi, [J(s("input", {
2460
2460
  ref: "search-input",
2461
2461
  "onUpdate:modelValue": n[0] ||= (e) => c.value = e,
2462
2462
  "data-testid": "pv-search-input",
@@ -2464,7 +2464,7 @@ var Zn = /* @__PURE__ */ new Set(), Qn = (e, t) => !!t.root.value && !!e.root.va
2464
2464
  disabled: e.disabled,
2465
2465
  class: y(l.value),
2466
2466
  placeholder: e.placeholder
2467
- }, null, 10, si), [[W, c.value]]), e.displayShortcut ? (D(), o("kbd", ci, I(li))) : a("", !0)]));
2467
+ }, null, 10, si), [[G, c.value]]), e.displayShortcut ? (D(), o("kbd", ci, I(li))) : a("", !0)]));
2468
2468
  }
2469
2469
  }), [["__scopeId", "data-v-9e0c84d9"]]), di = /^\d{4}-\d{2}-\d{2}$/;
2470
2470
  function fi(e) {
@@ -2547,7 +2547,7 @@ var _i = /* @__PURE__ */ d({
2547
2547
  maxDate: s.value,
2548
2548
  disabledDates: c.value
2549
2549
  }), {
2550
- inputicon: K((e) => [u(Q, {
2550
+ inputicon: q((e) => [u(Q, {
2551
2551
  name: "calendar",
2552
2552
  onClick: e.clickCallback
2553
2553
  }, null, 8, ["onClick"])]),
@@ -2639,18 +2639,18 @@ var vi = () => ({
2639
2639
  }),
2640
2640
  emits: /* @__PURE__ */ g(["click-outside"], ["update:searchInput", "update:modelValue"]),
2641
2641
  setup(e, { emit: n }) {
2642
- let r = e, i = n, c = ee("sidePanel"), l = B(e, "searchInput"), d = B(e, "modelValue"), f = () => {
2642
+ let r = e, i = n, c = H("sidePanel"), l = B(e, "searchInput"), d = B(e, "modelValue"), f = () => {
2643
2643
  c?.value?.removeAttribute("open"), d.value = !1;
2644
2644
  }, p = () => {
2645
- c.value && oe(c.value, () => {
2645
+ c.value && ae(c.value, () => {
2646
2646
  d.value && (i("click-outside"), f());
2647
2647
  }, { ignore: [".pv-click-outside-ignore"] });
2648
2648
  };
2649
2649
  return w(() => {
2650
2650
  d.value && c?.value?.setAttribute("open", "true"), r.closeOnClickOutside && p();
2651
- }), G(() => d.value, () => {
2651
+ }), K(() => d.value, () => {
2652
2652
  d.value ? c?.value?.setAttribute("open", "true") : c?.value?.removeAttribute("open");
2653
- }), J("Escape", () => {
2653
+ }), Y("Escape", () => {
2654
2654
  c.value && d.value && f();
2655
2655
  }), (n, i) => (D(), o("div", {
2656
2656
  class: "pv-drawer pv-surface",
@@ -2963,7 +2963,7 @@ var vi = () => ({
2963
2963
  key: 0,
2964
2964
  description: e.hiddenValues.join(", ")
2965
2965
  }, {
2966
- trigger: K(() => [u(br, {
2966
+ trigger: q(() => [u(br, {
2967
2967
  label: `+${e.hiddenValues.length} more`,
2968
2968
  size: "sm"
2969
2969
  }, null, 8, ["label"])]),
@@ -3002,7 +3002,7 @@ var vi = () => ({
3002
3002
  class: "pv-label",
3003
3003
  for: e.id
3004
3004
  }, [j(n.$slots, "label")], 8, Hi)) : a("", !0),
3005
- ie(s("textarea", _(n.$attrs, {
3005
+ J(s("textarea", _(n.$attrs, {
3006
3006
  "onUpdate:modelValue": r[0] ||= (e) => t.value = e,
3007
3007
  class: ["pv-textarea", { "pv-surface-accent": e.variant === "grey" }],
3008
3008
  rows: e.rows,
@@ -3010,7 +3010,7 @@ var vi = () => ({
3010
3010
  placeholder: e.placeholder,
3011
3011
  id: e.id,
3012
3012
  "data-invalid": e.error ? !0 : void 0
3013
- }), null, 16, Ui), [[W, t.value]]),
3013
+ }), null, 16, Ui), [[G, t.value]]),
3014
3014
  e.lowerLabel ? (D(), o("p", {
3015
3015
  key: 1,
3016
3016
  style: { "margin-left": "12px" },
@@ -3069,7 +3069,7 @@ var vi = () => ({
3069
3069
  class: y(d.value),
3070
3070
  for: f.value
3071
3071
  }, [
3072
- ie(s("input", {
3072
+ J(s("input", {
3073
3073
  "onUpdate:modelValue": r[0] ||= (e) => n.value = e,
3074
3074
  class: "pv-hide",
3075
3075
  id: f.value,
@@ -3077,7 +3077,7 @@ var vi = () => ({
3077
3077
  value: e.value,
3078
3078
  name: e.name,
3079
3079
  disabled: e.disabled
3080
- }, null, 8, Ki), [[H, n.value]]),
3080
+ }, null, 8, Ki), [[U, n.value]]),
3081
3081
  e.leftIcon ? (D(), i(Q, {
3082
3082
  key: 0,
3083
3083
  name: e.leftIcon
@@ -3270,7 +3270,7 @@ var vi = () => ({
3270
3270
  onClickOutside: f,
3271
3271
  style: { width: "320px" }
3272
3272
  }, {
3273
- header: K(() => [s("div", ua, [u(br, { label: L(Ai)[e.item.variant] }, null, 8, ["label"]), u($, {
3273
+ header: q(() => [s("div", ua, [u(br, { label: L(Ai)[e.item.variant] }, null, 8, ["label"]), u($, {
3274
3274
  "left-icon": "close",
3275
3275
  "aria-label": "Close",
3276
3276
  variant: "ghost",
@@ -3279,7 +3279,7 @@ var vi = () => ({
3279
3279
  key: 0,
3280
3280
  label: d.value
3281
3281
  }, null, 8, ["label"])) : (D(), o("h2", da, I(d.value), 1))]),
3282
- footer: K(() => [u(na, {
3282
+ footer: q(() => [u(na, {
3283
3283
  item: e.item,
3284
3284
  "on-submit-feedback": e.onSubmitFeedback,
3285
3285
  "success-message": e.feedbackSuccessMessage,
@@ -3290,7 +3290,7 @@ var vi = () => ({
3290
3290
  "success-message",
3291
3291
  "error-message"
3292
3292
  ])]),
3293
- default: K(() => [s("div", fa, [u(Bi, {
3293
+ default: q(() => [s("div", fa, [u(Bi, {
3294
3294
  item: e.item,
3295
3295
  onLabelClick: n[0] ||= (e) => a("label-click", e)
3296
3296
  }, null, 8, ["item"])])]),
@@ -3574,11 +3574,11 @@ var vi = () => ({
3574
3574
  variant: "dark",
3575
3575
  "tooltip-position": "top-left"
3576
3576
  }, {
3577
- label: K(() => [u(Q, {
3577
+ label: q(() => [u(Q, {
3578
3578
  name: "close",
3579
- onClick: r[0] ||= q((e) => n.$emit("handle-clear"), ["stop"])
3579
+ onClick: r[0] ||= ie((e) => n.$emit("handle-clear"), ["stop"])
3580
3580
  })]),
3581
- "tooltip-content": K(() => [...r[1] ||= [l(" Clear Selections ", -1)]]),
3581
+ "tooltip-content": q(() => [...r[1] ||= [l(" Clear Selections ", -1)]]),
3582
3582
  _: 1
3583
3583
  })) : a("", !0)
3584
3584
  ], 10, Ta));
@@ -3701,7 +3701,7 @@ var Ba = {
3701
3701
  };
3702
3702
  return w(() => {
3703
3703
  g();
3704
- }), G(() => [
3704
+ }), K(() => [
3705
3705
  n.queryText,
3706
3706
  n.text,
3707
3707
  n.subText
@@ -3781,13 +3781,13 @@ var Ba = {
3781
3781
  disableInteractive: !0,
3782
3782
  style: { "pointer-events": "auto" }
3783
3783
  }, {
3784
- trigger: K(() => [u(Q, {
3784
+ trigger: q(() => [u(Q, {
3785
3785
  size: 12,
3786
3786
  name: "info-circle",
3787
3787
  class: "pv-text-subdued",
3788
- onClick: r[0] ||= q(() => {}, ["stop", "prevent"])
3788
+ onClick: r[0] ||= ie(() => {}, ["stop", "prevent"])
3789
3789
  })]),
3790
- content: K(() => [s("div", Ua, I(e.description), 1)]),
3790
+ content: q(() => [s("div", Ua, I(e.description), 1)]),
3791
3791
  _: 1
3792
3792
  })) : e.secondaryText && typeof e.secondaryText == "number" ? (D(), i(He, {
3793
3793
  key: 6,
@@ -3832,14 +3832,14 @@ var Ba = {
3832
3832
  "pv-input-xsmall": e.size === "sm",
3833
3833
  "pv-switch-hide-check": e.hideCheckIcon
3834
3834
  }])
3835
- }, [e.label ? (D(), o("span", qa, I(e.label), 1)) : a("", !0), ie(s("input", {
3835
+ }, [e.label ? (D(), o("span", qa, I(e.label), 1)) : a("", !0), J(s("input", {
3836
3836
  "onUpdate:modelValue": i[0] ||= (e) => n.value = e,
3837
3837
  disabled: e.disabled,
3838
3838
  "aria-label": e.ariaLabel,
3839
3839
  type: "checkbox",
3840
3840
  role: "switch",
3841
3841
  id: L(t)
3842
- }, null, 8, Ja), [[te, n.value]])], 10, Ka));
3842
+ }, null, 8, Ja), [[ee, n.value]])], 10, Ka));
3843
3843
  }
3844
3844
  }), [["__scopeId", "data-v-73e6d2b2"]]), Xa = ["aria-label"], Za = /* @__PURE__ */ d({
3845
3845
  __name: "PvMenuItemAction",
@@ -3873,16 +3873,16 @@ var Ba = {
3873
3873
  "disable-interactive": !0,
3874
3874
  "use-teleport": !0
3875
3875
  }, c({
3876
- trigger: K(() => [s("span", {
3876
+ trigger: q(() => [s("span", {
3877
3877
  class: y(["pv-text-brand", { "pv-action-button-reveal-on-hover": !f.value }]),
3878
3878
  role: "img",
3879
3879
  "aria-label": o.value,
3880
- onClick: t[0] ||= q(() => {}, ["stop"])
3880
+ onClick: t[0] ||= ie(() => {}, ["stop"])
3881
3881
  }, [u(Q, { name: n.value }, null, 8, ["name"])], 10, Xa)]),
3882
3882
  _: 2
3883
3883
  }, [o.value ? {
3884
3884
  name: "content",
3885
- fn: K(() => [l(I(o.value), 1)]),
3885
+ fn: q(() => [l(I(o.value), 1)]),
3886
3886
  key: "0"
3887
3887
  } : void 0]), 1024));
3888
3888
  }
@@ -3937,7 +3937,7 @@ var Ba = {
3937
3937
  },
3938
3938
  emits: ["handle-selected", "toggle-expanded"],
3939
3939
  setup(e, { emit: t }) {
3940
- let n = e, c = ee("inputRef"), l = m(Qa, void 0), d = m($a, k(!1)), p = m(no, void 0), h = m(ro, void 0), g = m(eo, r(() => !1)), b = r(() => {
3940
+ let n = e, c = H("inputRef"), l = m(Qa, void 0), d = m($a, k(!1)), p = m(no, void 0), h = m(ro, void 0), g = m(eo, r(() => !1)), b = r(() => {
3941
3941
  if (!d.value || !Pa(n)) return [];
3942
3942
  let e = n.children ? Fa(n.children) : [];
3943
3943
  if (p?.value) {
@@ -4047,7 +4047,7 @@ var Ba = {
4047
4047
  class: "pv-button-ghost pv-menu-item-expand-chevron",
4048
4048
  "aria-label": n.text ? `Toggle children for ${n.text}` : "Toggle children",
4049
4049
  "aria-expanded": e.expanded,
4050
- onClick: r[1] ||= q((e) => F("toggle-expanded"), ["prevent", "stop"])
4050
+ onClick: r[1] ||= ie((e) => F("toggle-expanded"), ["prevent", "stop"])
4051
4051
  }, [u(Q, {
4052
4052
  name: e.chevronIcon ?? "chevron-right",
4053
4053
  size: 12
@@ -4111,11 +4111,11 @@ var Ba = {
4111
4111
  ]);
4112
4112
  return Object.fromEntries(Object.entries(p).filter(([t]) => e.has(t)));
4113
4113
  }), g = m(ro, void 0), v = m(io, void 0), b = k(i.defaultExpanded ?? !1);
4114
- G(() => i.defaultExpanded, (e) => {
4114
+ K(() => i.defaultExpanded, (e) => {
4115
4115
  e && (b.value = !0);
4116
4116
  });
4117
4117
  let S = k(!1), C = k(!1), w = k(i.children ?? []), T = k(/* @__PURE__ */ new Set());
4118
- G(() => i.children, (e) => {
4118
+ K(() => i.children, (e) => {
4119
4119
  if (!e) {
4120
4120
  w.value = [];
4121
4121
  return;
@@ -4131,7 +4131,7 @@ var Ba = {
4131
4131
  }), N = r(() => Pa({
4132
4132
  ...i,
4133
4133
  children: w.value
4134
- }) && i.level < ho), P = r(() => N.value ? l.value ? b.value : !0 : !1), F = r(() => b.value ? "chevron-down" : "chevron-right"), I = (e) => s && Array.isArray(s.value) ? s.value.some((t) => t.id === e.id) : c.value.includes(e.id), z = n, V = r(() => C.value || i.totalChildCount == null ? !1 : i.totalChildCount > w.value.length), ee = async () => {
4134
+ }) && i.level < ho), P = r(() => N.value ? l.value ? b.value : !0 : !1), F = r(() => b.value ? "chevron-down" : "chevron-right"), I = (e) => s && Array.isArray(s.value) ? s.value.some((t) => t.id === e.id) : c.value.includes(e.id), z = n, V = r(() => C.value || i.totalChildCount == null ? !1 : i.totalChildCount > w.value.length), H = async () => {
4135
4135
  if (S.value) return;
4136
4136
  if (!i.handleSeeMore) {
4137
4137
  z("see-more", {
@@ -4166,7 +4166,7 @@ var Ba = {
4166
4166
  } finally {
4167
4167
  S.value = !1;
4168
4168
  }
4169
- }, te = (e) => {
4169
+ }, ee = (e) => {
4170
4170
  if (l.value && N.value && e.option.id === i.id && !d.value) {
4171
4171
  E();
4172
4172
  return;
@@ -4176,7 +4176,7 @@ var Ba = {
4176
4176
  t > -1 ? c.value = [...c.value.slice(0, t), ...c.value.slice(t + 1)] : c.value = [...c.value, e.option.id];
4177
4177
  }
4178
4178
  z("handle-selected", e);
4179
- }, H = (e) => {
4179
+ }, U = (e) => {
4180
4180
  z("handle-selected", e);
4181
4181
  };
4182
4182
  return (n, r) => {
@@ -4192,7 +4192,7 @@ var Ba = {
4192
4192
  showChevron: L(l) && N.value,
4193
4193
  chevronIcon: F.value,
4194
4194
  expanded: b.value,
4195
- onHandleSelected: te,
4195
+ onHandleSelected: ee,
4196
4196
  onToggleExpanded: E,
4197
4197
  selected: I(i)
4198
4198
  }), null, 16, [
@@ -4220,7 +4220,7 @@ var Ba = {
4220
4220
  queryText: e.queryText,
4221
4221
  highlightSearchText: e.highlightSearchText,
4222
4222
  level: e.level + 1,
4223
- onHandleSelected: H,
4223
+ onHandleSelected: U,
4224
4224
  onSeeMore: r[1] ||= (e) => z("see-more", e)
4225
4225
  }), null, 16, [
4226
4226
  "disabled",
@@ -4235,7 +4235,7 @@ var Ba = {
4235
4235
  label: "See more",
4236
4236
  loading: S.value,
4237
4237
  "data-testid": "pv-menu-item-see-more",
4238
- onClick: ee
4238
+ onClick: H
4239
4239
  }, null, 8, ["loading"])])) : a("", !0)], 4)) : a("", !0)], 64);
4240
4240
  };
4241
4241
  }
@@ -4288,60 +4288,60 @@ var Ba = {
4288
4288
  let e = p.value;
4289
4289
  E(), e && v(() => Se(e));
4290
4290
  }, N = [...m(to, []), h];
4291
- O(to, N), oe(g, (e) => {
4291
+ O(to, N), ae(g, (e) => {
4292
4292
  (e.target instanceof Element ? e.target.closest("[data-pv-menu-ancestors]")?.dataset.pvMenuAncestors?.split(" ") : void 0)?.includes(h) || E();
4293
4293
  }, { ignore: [S] });
4294
4294
  let P = F(f.value);
4295
- G(f, (e) => {
4295
+ K(f, (e) => {
4296
4296
  P.value = e;
4297
4297
  });
4298
4298
  let I, R = (e) => {
4299
4299
  I = e, f.value = e;
4300
4300
  };
4301
- G(P, (e) => {
4301
+ K(P, (e) => {
4302
4302
  e !== I && e !== f.value && R(e);
4303
4303
  }), O(Qa, P), O(eo, r(() => l.childrenDisplay === "popover"));
4304
4304
  let V = r(() => l.childrenDisplay === "inline" && !!l.enableCascadeSelection);
4305
4305
  O($a, V);
4306
- let ee = m(no, void 0), te = m(ao, k(!1)), H = m(ro, void 0), U = m(io, void 0), W = r(() => l.singleSelect || l.config?.variant === "radio"), re = r(() => l.options.find((e) => e.id === p.value && e.children?.length)), ae = (e, t, n = !1, r = !0) => {
4306
+ let H = m(no, void 0), ee = m(ao, k(!1)), U = m(ro, void 0), W = m(io, void 0), G = r(() => l.singleSelect || l.config?.variant === "radio"), ne = r(() => l.options.find((e) => e.id === p.value && e.children?.length)), re = (e, t, n = !1, r = !0) => {
4307
4307
  let i = !r || p.value !== e.id;
4308
4308
  p.value = i ? e.id : void 0, i && (C.value = t, v(() => {
4309
4309
  T(), n && be(b.value ?? document.getElementById(h), 0);
4310
4310
  }));
4311
- }, q = (e, t = !1) => {
4311
+ }, ie = (e, t = !1) => {
4312
4312
  if (l.readOnly) return;
4313
4313
  let n = (!t && l.childrenDisplay === "popover" ? l.options.find((t) => t.id === e.option.id) : void 0) ?? e.option;
4314
4314
  if (l.childrenDisplay === "popover" && !t && n.children?.length) {
4315
4315
  let t = e.event.currentTarget?.closest("li");
4316
- t && ae(n, t);
4316
+ t && re(n, t);
4317
4317
  return;
4318
4318
  }
4319
4319
  let r;
4320
4320
  if (V.value && Pa(n)) {
4321
4321
  let e;
4322
- if (te.value && ee?.value) {
4323
- let t = ee.value.get(n.id);
4322
+ if (ee.value && H?.value) {
4323
+ let t = H.value.get(n.id);
4324
4324
  e = Ia(t?.children ? Fa(t.children) : [], n.children ? Fa(n.children) : []);
4325
4325
  } else e = n.children ? Fa(n.children) : [];
4326
- let t = e.map((e) => e.id), i = P.value, a = (H?.value?.has(n.id) ?? !1) || t.some((e) => i.some((t) => t.id === e));
4327
- if (r = a ? i.filter((e) => !t.includes(e.id)) : [...i, ...e], H?.value) {
4328
- let e = new Set(H.value);
4329
- a ? e.delete(n.id) : e.add(n.id), H.value = e;
4326
+ let t = e.map((e) => e.id), i = P.value, a = (U?.value?.has(n.id) ?? !1) || t.some((e) => i.some((t) => t.id === e));
4327
+ if (r = a ? i.filter((e) => !t.includes(e.id)) : [...i, ...e], U?.value) {
4328
+ let e = new Set(U.value);
4329
+ a ? e.delete(n.id) : e.add(n.id), U.value = e;
4330
4330
  }
4331
- if (U?.value?.has(n.id)) {
4332
- let e = new Map(U.value);
4333
- e.delete(n.id), U.value = e;
4331
+ if (W?.value?.has(n.id)) {
4332
+ let e = new Map(W.value);
4333
+ e.delete(n.id), W.value = e;
4334
4334
  }
4335
- } else if (W.value) r = P.value.length === 1 && P.value[0].id === n.id ? l.disableDeselect ? P.value : [] : [n];
4335
+ } else if (G.value) r = P.value.length === 1 && P.value[0].id === n.id ? l.disableDeselect ? P.value : [] : [n];
4336
4336
  else {
4337
4337
  let e = P.value.findIndex((e) => e.id === n.id);
4338
- if (r = e > -1 ? [...P.value.slice(0, e), ...P.value.slice(e + 1)] : [...P.value, n], V.value && H?.value && U?.value) {
4338
+ if (r = e > -1 ? [...P.value.slice(0, e), ...P.value.slice(e + 1)] : [...P.value, n], V.value && U?.value && W?.value) {
4339
4339
  let t = e > -1;
4340
- for (let e of H.value) {
4341
- let r = ee?.value?.get(e)?.children ?? l.options.find((t) => t.id === e)?.children;
4340
+ for (let e of U.value) {
4341
+ let r = H?.value?.get(e)?.children ?? l.options.find((t) => t.id === e)?.children;
4342
4342
  if (!r || !(Fa(r).some((e) => e.id === n.id) || l.options.find((t) => t.id === e)?.children?.some((e) => e.id === n.id))) continue;
4343
- let i = new Map(U.value), a = new Set(i.get(e) ?? []);
4344
- t ? a.add(n.id) : a.delete(n.id), a.size > 0 ? i.set(e, a) : i.delete(e), U.value = i;
4343
+ let i = new Map(W.value), a = new Set(i.get(e) ?? []);
4344
+ t ? a.add(n.id) : a.delete(n.id), a.size > 0 ? i.set(e, a) : i.delete(e), W.value = i;
4345
4345
  break;
4346
4346
  }
4347
4347
  }
@@ -4350,23 +4350,23 @@ var Ba = {
4350
4350
  ...e,
4351
4351
  option: n
4352
4352
  } : e);
4353
- }, J = (e) => {
4354
- let t = re.value;
4353
+ }, Y = (e) => {
4354
+ let t = ne.value;
4355
4355
  if (!t) return;
4356
4356
  let n = t.children?.find((t) => t.id === e.option.id) ?? e.option;
4357
- q({
4357
+ ie({
4358
4358
  ...e,
4359
4359
  option: n
4360
4360
  }, !0), p.value = void 0, v(() => Se(t.id));
4361
- }, se = r(() => new Set(P.value.map((e) => e.id))), ce = (e) => {
4361
+ }, oe = r(() => new Set(P.value.map((e) => e.id))), se = (e) => {
4362
4362
  for (let t of e) {
4363
- if (se.value.has(t.id)) return t;
4364
- let e = t.children?.length ? ce(t.children) : void 0;
4363
+ if (oe.value.has(t.id)) return t;
4364
+ let e = t.children?.length ? se(t.children) : void 0;
4365
4365
  if (e) return e;
4366
4366
  }
4367
- }, Y = (e) => {
4367
+ }, ce = (e) => {
4368
4368
  if (l.childrenDisplay !== "popover" || !e.children?.length) return e;
4369
- let t = ce(e.children);
4369
+ let t = se(e.children);
4370
4370
  return {
4371
4371
  ...e,
4372
4372
  children: void 0,
@@ -4378,14 +4378,14 @@ var Ba = {
4378
4378
  ...e,
4379
4379
  children: void 0,
4380
4380
  totalChildCount: void 0
4381
- }), le = (e) => l.childrenDisplay === "popover" ? e.config ?? l.config : l.config, ue = (e) => se.value.has(e.id) || V.value && H?.value?.has(e.id) || (V.value || l.childrenDisplay === "popover") && e.children?.length && ce(e.children) ? !0 : null, de = (e) => {
4381
+ }), le = (e) => l.childrenDisplay === "popover" ? e.config ?? l.config : l.config, ue = (e) => oe.value.has(e.id) || V.value && U?.value?.has(e.id) || (V.value || l.childrenDisplay === "popover") && e.children?.length && se(e.children) ? !0 : null, de = (e) => {
4382
4382
  let t = e.config?.variant ?? l.config?.variant;
4383
- return W.value || t === "radio" ? "menuitemradio" : t === "checkbox" ? "menuitemcheckbox" : "menuitem";
4384
- }, fe = (e) => de(e) === "menuitem" ? void 0 : !!ue(e), Z = (e) => e.children?.length && !l.highlightParentItems ? null : de(e) !== "menuitemcheckbox" && ue(e) || p.value === e.id ? !0 : null, pe = (e) => de(e) !== "menuitemcheckbox" && se.value.has(e.id) ? !0 : null, me = (e, t) => !!(!t || se.value.has(e.id) || H?.value?.has(e.id) || e.children?.length && ce(e.children)), he = k(), ge = k(), _e = r(() => {
4383
+ return G.value || t === "radio" ? "menuitemradio" : t === "checkbox" ? "menuitemcheckbox" : "menuitem";
4384
+ }, fe = (e) => de(e) === "menuitem" ? void 0 : !!ue(e), Z = (e) => e.children?.length && !l.highlightParentItems ? null : de(e) !== "menuitemcheckbox" && ue(e) || p.value === e.id ? !0 : null, pe = (e) => de(e) !== "menuitemcheckbox" && oe.value.has(e.id) ? !0 : null, me = (e, t) => !!(!t || oe.value.has(e.id) || U?.value?.has(e.id) || e.children?.length && se(e.children)), he = k(), ge = k(), _e = r(() => {
4385
4385
  let e = l.options.filter((e) => !l.readOnly && !e.disabled && me(e, l.isLoading)).map((e) => e.id);
4386
4386
  return l.hasMoreOptions && !l.isSeeMoreLoading && e.push(Co), he.value && e.includes(he.value) ? he.value : e[0];
4387
4387
  }), ve = r(() => {
4388
- let e = re.value?.children?.filter((e) => !l.readOnly && !e.disabled) ?? [];
4388
+ let e = ne.value?.children?.filter((e) => !l.readOnly && !e.disabled) ?? [];
4389
4389
  return e.some((e) => e.id === ge.value) ? ge.value : e[0]?.id;
4390
4390
  }), ye = (e) => {
4391
4391
  let t = Array.from(e?.querySelectorAll("li[role='none'] > [role^='menuitem']:not([aria-disabled='true'])") ?? []).filter((e) => !e.hidden && e.style.display !== "none");
@@ -4399,7 +4399,7 @@ var Ba = {
4399
4399
  }, Se = (e) => {
4400
4400
  ye(g.value).find((t) => t.dataset.optionId === e)?.focus();
4401
4401
  };
4402
- G(p, (e) => {
4402
+ K(p, (e) => {
4403
4403
  ge.value = void 0, e && v(() => {
4404
4404
  let t = Array.from(g.value?.children ?? []).find((t) => t.dataset.optionId === e);
4405
4405
  t && (C.value = t, T());
@@ -4417,11 +4417,11 @@ var Ba = {
4417
4417
  if (!(e.target !== e.currentTarget || Ce(e, g.value))) switch (e.key) {
4418
4418
  case "ArrowRight":
4419
4419
  if (!t.children?.length) break;
4420
- e.preventDefault(), ae(t, e.currentTarget, !0, !1);
4420
+ e.preventDefault(), re(t, e.currentTarget, !0, !1);
4421
4421
  break;
4422
4422
  case "Enter":
4423
4423
  case " ":
4424
- e.preventDefault(), t.children?.length ? ae(t, e.currentTarget, !0, !1) : q({
4424
+ e.preventDefault(), t.children?.length ? re(t, e.currentTarget, !0, !1) : ie({
4425
4425
  event: e,
4426
4426
  option: t
4427
4427
  });
@@ -4456,7 +4456,7 @@ var Ba = {
4456
4456
  }
4457
4457
  case "Enter":
4458
4458
  case " ":
4459
- e.preventDefault(), J({
4459
+ e.preventDefault(), Y({
4460
4460
  event: e,
4461
4461
  option: t
4462
4462
  });
@@ -4471,14 +4471,14 @@ var Ba = {
4471
4471
  ref: g,
4472
4472
  role: e.childrenDisplay === "popover" ? "menu" : "list",
4473
4473
  class: "pv-popover-list"
4474
- }, r.$attrs), [(D(!0), o(t, null, A(e.options, (t) => ie((D(), o("li", {
4474
+ }, r.$attrs), [(D(!0), o(t, null, A(e.options, (t) => J((D(), o("li", {
4475
4475
  key: t.id,
4476
4476
  "data-active": Z(t),
4477
4477
  "data-option-id": t.id,
4478
4478
  "data-testid": e.itemTestId,
4479
4479
  class: y(e.itemClass),
4480
4480
  role: e.childrenDisplay === "popover" ? "none" : void 0
4481
- }, [u(go, _({ ref_for: !0 }, Y(t), {
4481
+ }, [u(go, _({ ref_for: !0 }, ce(t), {
4482
4482
  "aria-checked": e.childrenDisplay === "popover" ? fe(t) : void 0,
4483
4483
  "aria-controls": e.childrenDisplay === "popover" && t.children?.length ? L(h) : void 0,
4484
4484
  "aria-disabled": e.childrenDisplay === "popover" && (l.readOnly || t.disabled) ? "true" : void 0,
@@ -4495,7 +4495,7 @@ var Ba = {
4495
4495
  tabindex: e.childrenDisplay === "popover" ? _e.value === t.id ? 0 : -1 : void 0,
4496
4496
  onFocus: (e) => he.value = t.id,
4497
4497
  onKeydown: (n) => e.childrenDisplay === "popover" ? we(n, t) : void 0,
4498
- onHandleSelected: q,
4498
+ onHandleSelected: ie,
4499
4499
  onSeeMore: c[0] ||= (e) => d("see-more", e)
4500
4500
  }), null, 16, [
4501
4501
  "aria-checked",
@@ -4514,7 +4514,7 @@ var Ba = {
4514
4514
  "tabindex",
4515
4515
  "onFocus",
4516
4516
  "onKeydown"
4517
- ])], 10, vo)), [[ne, me(t, e.isLoading)]])), 128)), e.hasMoreOptions ? (D(), o("li", {
4517
+ ])], 10, vo)), [[te, me(t, e.isLoading)]])), 128)), e.hasMoreOptions ? (D(), o("li", {
4518
4518
  key: 0,
4519
4519
  role: e.childrenDisplay === "popover" ? "none" : void 0
4520
4520
  }, [u($, {
@@ -4534,7 +4534,7 @@ var Ba = {
4534
4534
  "disabled",
4535
4535
  "role",
4536
4536
  "tabindex"
4537
- ])], 8, yo)) : a("", !0)], 16, _o), e.childrenDisplay === "popover" && re.value ? (D(), i(n, {
4537
+ ])], 8, yo)) : a("", !0)], 16, _o), e.childrenDisplay === "popover" && ne.value ? (D(), i(n, {
4538
4538
  key: 0,
4539
4539
  to: "body"
4540
4540
  }, [s("div", {
@@ -4551,18 +4551,18 @@ var Ba = {
4551
4551
  maxWidth: "calc(100vw - 16px)"
4552
4552
  }
4553
4553
  }, {
4554
- default: K(() => [j(r.$slots, "popover", {
4555
- option: re.value,
4554
+ default: q(() => [j(r.$slots, "popover", {
4555
+ option: ne.value,
4556
4556
  popoverId: L(h),
4557
4557
  close: M
4558
4558
  }, () => [s("ul", {
4559
4559
  id: L(h),
4560
4560
  ref_key: "nestedMenuRef",
4561
4561
  ref: b,
4562
- "aria-label": `${re.value.text} options`,
4562
+ "aria-label": `${ne.value.text} options`,
4563
4563
  class: "pv-popover-list",
4564
4564
  role: "menu"
4565
- }, [(D(!0), o(t, null, A(re.value.children, (t) => (D(), o("li", {
4565
+ }, [(D(!0), o(t, null, A(ne.value.children, (t) => (D(), o("li", {
4566
4566
  key: t.id,
4567
4567
  "data-active": pe(t),
4568
4568
  "data-option-id": t.id,
@@ -4582,7 +4582,7 @@ var Ba = {
4582
4582
  tabindex: ve.value === t.id ? 0 : -1,
4583
4583
  onFocus: (e) => ge.value = t.id,
4584
4584
  onKeydown: (e) => Ee(e, t),
4585
- onHandleSelected: J,
4585
+ onHandleSelected: Y,
4586
4586
  onSeeMore: c[4] ||= (e) => d("see-more", e)
4587
4587
  }), null, 16, [
4588
4588
  "aria-checked",
@@ -4751,7 +4751,7 @@ var Ba = {
4751
4751
  state: "deselected"
4752
4752
  }))), t.push(r);
4753
4753
  }
4754
- for (let n of W.value) e.has(n.id) || t.push({
4754
+ for (let n of G.value) e.has(n.id) || t.push({
4755
4755
  id: n.id,
4756
4756
  state: "selected"
4757
4757
  });
@@ -4759,18 +4759,18 @@ var Ba = {
4759
4759
  }, C = r(() => c.hasMoreOptions == null ? c.totalOptionCount == null ? !1 : c.totalOptionCount > c.options.length : c.hasMoreOptions), w = r(() => {
4760
4760
  let e = c.additionalCounter ?? 0;
4761
4761
  if (c.enableCascadeSelection && c.countSelectedParents && R.value?.length) return Ra(R.value) + e;
4762
- if (!c.countSelectedParents || !c.enableCascadeSelection) return W.value.length + e;
4763
- let t = new Set(W.value.map((e) => e.id));
4762
+ if (!c.countSelectedParents || !c.enableCascadeSelection) return G.value.length + e;
4763
+ let t = new Set(G.value.map((e) => e.id));
4764
4764
  return La(c.options, t) + e;
4765
- }), T = r(() => W.value.length > 0 ? !0 : c.enableCascadeSelection && R.value?.length ? R.value.some((e) => e.state === "selected") : !1), E = (e) => {
4765
+ }), T = r(() => G.value.length > 0 ? !0 : c.enableCascadeSelection && R.value?.length ? R.value.some((e) => e.state === "selected") : !1), E = (e) => {
4766
4766
  g("see-more", e ?? {});
4767
- }, k = ee("searchInputRef"), [M, N] = ue(c.defaultOpen), P = B(e, "modelValue"), R = B(e, "selectionState"), z = B(e, "searchInput"), V = r(() => c.menuActionsVariant === "cancel-confirm"), te = (e) => {
4768
- W.value = e, V.value || (P.value = e, R.value = S());
4769
- }, H = () => {
4770
- V.value && (P.value = W.value, R.value = S());
4767
+ }, k = H("searchInputRef"), [M, N] = ue(c.defaultOpen), P = B(e, "modelValue"), R = B(e, "selectionState"), z = B(e, "searchInput"), V = r(() => c.menuActionsVariant === "cancel-confirm"), ee = (e) => {
4768
+ G.value = e, V.value || (P.value = e, R.value = S());
4771
4769
  }, U = () => {
4772
- V.value && (W.value = P.value);
4773
- }, W = F(P.value), ne = (e) => d.value.get(e), re = (e) => {
4770
+ V.value && (P.value = G.value, R.value = S());
4771
+ }, W = () => {
4772
+ V.value && (G.value = P.value);
4773
+ }, G = F(P.value), te = (e) => d.value.get(e), ne = (e) => {
4774
4774
  if (!c.enableCascadeSelection || !e) return;
4775
4775
  let t = /* @__PURE__ */ new Set(), n = /* @__PURE__ */ new Map(), r = [], i = /* @__PURE__ */ new Set(), a = (e, t) => {
4776
4776
  i.has(t) || (i.add(t), r.push(e ?? {
@@ -4786,55 +4786,55 @@ var Ba = {
4786
4786
  for (let t of i) e.has(t.id) || a(t, t.id);
4787
4787
  continue;
4788
4788
  }
4789
- a(ne(r.id), r.id);
4789
+ a(te(r.id), r.id);
4790
4790
  }
4791
- f.value = t, m.value = n, W.value = r;
4792
- }, ie = r({
4793
- get: () => W.value,
4791
+ f.value = t, m.value = n, G.value = r;
4792
+ }, J = r({
4793
+ get: () => G.value,
4794
4794
  set: (e) => {
4795
- te(e);
4795
+ ee(e);
4796
4796
  }
4797
- }), ae = () => {
4797
+ }), re = () => {
4798
4798
  z.value = "", M.value = !1;
4799
- }, q = r(() => {
4799
+ }, ie = r(() => {
4800
4800
  let e = c.size === "lg" ? 24 : 30;
4801
4801
  return c.overlayTrigger ? -e : void 0;
4802
4802
  });
4803
- G(() => P.value, (e) => {
4803
+ K(() => P.value, (e) => {
4804
4804
  if (c.enableCascadeSelection && R.value?.length && e.length === 0) {
4805
- re(R.value);
4805
+ ne(R.value);
4806
4806
  return;
4807
4807
  }
4808
- W.value = e;
4809
- }), G(() => [R.value, c.options], () => {
4810
- re(R.value);
4808
+ G.value = e;
4809
+ }), K(() => [R.value, c.options], () => {
4810
+ ne(R.value);
4811
4811
  }, {
4812
4812
  deep: !0,
4813
4813
  immediate: !0
4814
- }), G(M, (e) => {
4815
- e ? (U(), v(() => {
4814
+ }), K(M, (e) => {
4815
+ e ? (W(), v(() => {
4816
4816
  c.overlayTrigger && !c.disableSearchInput && k.value?.input?.focus(), g("dropdown-open");
4817
- })) : (U(), g("dropdown-closed"));
4817
+ })) : (W(), g("dropdown-closed"));
4818
4818
  });
4819
- let oe = r(() => {
4819
+ let ae = r(() => {
4820
4820
  if (z.value === "") return c.options;
4821
4821
  let e = z.value.toLocaleLowerCase();
4822
4822
  return c.enableCascadeSelection ? za(c.options, e, !c.hideParentOnChildQueryMatch) : c.options.filter((t) => t.text.toLocaleLowerCase().includes(e) || t.searchText?.toLocaleLowerCase().includes(e));
4823
- }), se = () => {
4823
+ }), oe = () => {
4824
4824
  if (c.enableCascadeSelection) {
4825
4825
  let e = /* @__PURE__ */ new Set(), t = (n) => {
4826
4826
  for (let r of n) Pa(r) && (e.add(r.id), r.children?.length && t(r.children));
4827
4827
  };
4828
- t(oe.value), f.value = e, m.value = /* @__PURE__ */ new Map();
4828
+ t(ae.value), f.value = e, m.value = /* @__PURE__ */ new Map();
4829
4829
  }
4830
- let e = c.enableCascadeSelection ? Fa(oe.value) : oe.value;
4831
- g("select-all", e.length), te(e);
4830
+ let e = c.enableCascadeSelection ? Fa(ae.value) : ae.value;
4831
+ g("select-all", e.length), ee(e);
4832
+ }, se = () => {
4833
+ g("clear-all", G.value.length), f.value = /* @__PURE__ */ new Set(), m.value = /* @__PURE__ */ new Map(), ee([]);
4832
4834
  }, ce = () => {
4833
- g("clear-all", W.value.length), f.value = /* @__PURE__ */ new Set(), m.value = /* @__PURE__ */ new Map(), te([]);
4834
- }, Y = () => {
4835
- U(), ae();
4835
+ W(), re();
4836
4836
  }, X = () => {
4837
- H(), ae();
4837
+ U(), re();
4838
4838
  }, le = r(() => {
4839
4839
  if (!c.groupings) return;
4840
4840
  let e = /* @__PURE__ */ new Map();
@@ -4854,17 +4854,17 @@ var Ba = {
4854
4854
  slotContext: c.slotContext,
4855
4855
  isOpen: M.value,
4856
4856
  isLoading: c.isLoading
4857
- })), Z = r(() => c.rumActionName ? c.rumActionName : c.rumFilterName ? `Open ${c.rumFilterName} filter` : void 0), pe = r(() => c.rumFilterName ? `Search ${c.rumFilterName} options` : void 0), me = ee("popoverContentRef"), he = r(() => {
4857
+ })), Z = r(() => c.rumActionName ? c.rumActionName : c.rumFilterName ? `Open ${c.rumFilterName} filter` : void 0), pe = r(() => c.rumFilterName ? `Search ${c.rumFilterName} options` : void 0), me = H("popoverContentRef"), he = r(() => {
4858
4858
  let e = me.value?.getRootNode();
4859
4859
  return e instanceof ShadowRoot ? e.host : null;
4860
4860
  }), { present: ge } = Xn("header", { host: he }), { present: _e } = Xn("no-results", { host: he }), { present: ve } = Xn("footer", { host: he });
4861
- return J("Escape", () => {
4862
- M.value && ae();
4861
+ return Y("Escape", () => {
4862
+ M.value && re();
4863
4863
  }), (n, r) => (D(), i(nr, _({
4864
4864
  modelValue: L(M),
4865
4865
  "onUpdate:modelValue": r[4] ||= (e) => h(M) ? M.value = e : null
4866
- }, e.popoverProperties, { offset: q.value }), {
4867
- trigger: K(() => [u(ka, {
4866
+ }, e.popoverProperties, { offset: ie.value }), {
4867
+ trigger: q(() => [u(ka, {
4868
4868
  ref: "select-button-trigger-ref",
4869
4869
  variant: e.variant,
4870
4870
  size: e.size,
@@ -4879,9 +4879,9 @@ var Ba = {
4879
4879
  open: L(M),
4880
4880
  "counter-value": w.value,
4881
4881
  "counter-style": e.counterStyle,
4882
- "selected-items": W.value,
4882
+ "selected-items": G.value,
4883
4883
  "data-dd-action-name": Z.value,
4884
- onHandleClear: ce,
4884
+ onHandleClear: se,
4885
4885
  onHandleToggleDropdown: r[0] ||= (e) => L(N)()
4886
4886
  }, null, 8, [
4887
4887
  "variant",
@@ -4900,7 +4900,7 @@ var Ba = {
4900
4900
  "selected-items",
4901
4901
  "data-dd-action-name"
4902
4902
  ])]),
4903
- content: K(() => [s("div", {
4903
+ content: q(() => [s("div", {
4904
4904
  ref_key: "popoverContentRef",
4905
4905
  ref: me,
4906
4906
  class: "pv-popover",
@@ -4922,11 +4922,11 @@ var Ba = {
4922
4922
  placeholder: e.searchPlaceholder
4923
4923
  }, null, 8, ["model-value", "placeholder"])], 8, To)),
4924
4924
  n.$slots.header || L(ge) ? (D(), o("div", Eo, [j(n.$slots, "header", b(p(fe.value)))])) : a("", !0),
4925
- oe.value.length > 0 ? (D(), o(t, { key: 2 }, [de.value ? (D(!0), o(t, { key: 0 }, A(le.value, ([t, i], s) => (D(), o("div", { key: t }, [
4925
+ ae.value.length > 0 ? (D(), o(t, { key: 2 }, [de.value ? (D(!0), o(t, { key: 0 }, A(le.value, ([t, i], s) => (D(), o("div", { key: t }, [
4926
4926
  n.$slots[t] ? j(n.$slots, t, { key: 0 }) : t === "other" ? a("", !0) : (D(), o("span", Do, I(t), 1)),
4927
4927
  u(wo, {
4928
- selectedItems: ie.value,
4929
- "onUpdate:selectedItems": r[2] ||= (e) => ie.value = e,
4928
+ selectedItems: J.value,
4929
+ "onUpdate:selectedItems": r[2] ||= (e) => J.value = e,
4930
4930
  options: i,
4931
4931
  config: l.value,
4932
4932
  singleSelect: e.singleSelect,
@@ -4953,9 +4953,9 @@ var Ba = {
4953
4953
  le.value && s !== le.value.length - 1 ? (D(), o("div", Oo)) : a("", !0)
4954
4954
  ]))), 128)) : (D(), i(wo, {
4955
4955
  key: 1,
4956
- selectedItems: ie.value,
4957
- "onUpdate:selectedItems": r[3] ||= (e) => ie.value = e,
4958
- options: oe.value,
4956
+ selectedItems: J.value,
4957
+ "onUpdate:selectedItems": r[3] ||= (e) => J.value = e,
4958
+ options: ae.value,
4959
4959
  config: l.value,
4960
4960
  singleSelect: e.singleSelect,
4961
4961
  queryText: e.highlightSearchText ? z.value : null,
@@ -4976,15 +4976,15 @@ var Ba = {
4976
4976
  "isSeeMoreLoading",
4977
4977
  "hasMoreOptions"
4978
4978
  ]))], 64)) : a("", !0),
4979
- e.isLoading ? (D(), o("div", ko, [u(Me, { variant: "dark" }), e.loadingText ? (D(), o("span", Ao, I(e.loadingText), 1)) : a("", !0)])) : oe.value.length === 0 ? (D(), o(t, { key: 4 }, [L(_e) ? j(n.$slots, "no-results", b(_({ key: 0 }, fe.value))) : (D(), i(Na, { key: 1 }))], 64)) : a("", !0),
4979
+ e.isLoading ? (D(), o("div", ko, [u(Me, { variant: "dark" }), e.loadingText ? (D(), o("span", Ao, I(e.loadingText), 1)) : a("", !0)])) : ae.value.length === 0 ? (D(), o(t, { key: 4 }, [L(_e) ? j(n.$slots, "no-results", b(_({ key: 0 }, fe.value))) : (D(), i(Na, { key: 1 }))], 64)) : a("", !0),
4980
4980
  s("div", jo, [L(ve) ? j(n.$slots, "footer", b(_({ key: 0 }, fe.value))) : a("", !0), e.menuActionsVariant ? (D(), i(xa, {
4981
4981
  key: 1,
4982
4982
  variant: e.menuActionsVariant,
4983
4983
  disabled: e.isLoading,
4984
4984
  rumFilterName: e.rumFilterName,
4985
- onHandleClearAll: ce,
4986
- onHandleSelectAll: se,
4987
- onHandleCancel: Y,
4985
+ onHandleClearAll: se,
4986
+ onHandleSelectAll: oe,
4987
+ onHandleCancel: ce,
4988
4988
  onHandleConfirm: X
4989
4989
  }, null, 8, [
4990
4990
  "variant",
@@ -5059,7 +5059,7 @@ var Ba = {
5059
5059
  counterBadgeVariant: n.counterBadgeVariant,
5060
5060
  size: n.size
5061
5061
  })), d = t, [f] = ue(n.defaultOpen), p = B(e, "modelValue"), m = B(e, "searchInput");
5062
- G(f, (e) => {
5062
+ K(f, (e) => {
5063
5063
  d(e ? "dropdown-open" : "dropdown-closed");
5064
5064
  });
5065
5065
  let g = r(() => !n.staticLabel && p.value && p.value.text ? p.value.text : n.label), v = r(() => p.value?.icon || n.icon), y = r(() => {
@@ -5092,13 +5092,13 @@ var Ba = {
5092
5092
  }, E = () => {
5093
5093
  f.value = !1, m.value = "";
5094
5094
  };
5095
- return J("Escape", () => {
5095
+ return Y("Escape", () => {
5096
5096
  f.value && E();
5097
5097
  }), (t, n) => (D(), i(nr, _({
5098
5098
  modelValue: L(f),
5099
5099
  "onUpdate:modelValue": n[2] ||= (e) => h(f) ? f.value = e : null
5100
5100
  }, c.value), {
5101
- trigger: K(() => [u(ka, {
5101
+ trigger: q(() => [u(ka, {
5102
5102
  class: "pv-full-width",
5103
5103
  ref: "select-button-trigger-ref",
5104
5104
  variant: e.variant,
@@ -5142,7 +5142,7 @@ var Ba = {
5142
5142
  "renderer",
5143
5143
  "selectedOption"
5144
5144
  ])]),
5145
- content: K(() => [s("div", {
5145
+ content: q(() => [s("div", {
5146
5146
  class: "pv-popover",
5147
5147
  "data-test-id": "pv-popover",
5148
5148
  style: x([e.popoverCssProperties, { position: "unset" }])
@@ -5323,7 +5323,7 @@ var Ba = {
5323
5323
  }),
5324
5324
  emits: ["update:modelValue"],
5325
5325
  setup(e) {
5326
- let t = ee("inputRef"), n = {
5326
+ let t = H("inputRef"), n = {
5327
5327
  h1: "ghost-input-h1",
5328
5328
  h2: "ghost-input-h2",
5329
5329
  h3: "ghost-input-h3",
@@ -5346,7 +5346,7 @@ var Ba = {
5346
5346
  };
5347
5347
  w(() => {
5348
5348
  l.value && l.value.length > 0 ? f(l.value) : c.placeholder ? f(c.placeholder) : u.value = 240;
5349
- }), G(() => l.value, () => {
5349
+ }), K(() => l.value, () => {
5350
5350
  l.value && l.value.length > 0 ? f(l.value) : c.placeholder ? f(c.placeholder) : u.value = 240;
5351
5351
  });
5352
5352
  let f = (e) => {
@@ -5362,7 +5362,7 @@ var Ba = {
5362
5362
  "data-style": r[e.variant]
5363
5363
  }, [
5364
5364
  j(f.$slots, "action"),
5365
- ie(s("input", _({
5365
+ J(s("input", _({
5366
5366
  ref_key: "inputRef",
5367
5367
  ref: t
5368
5368
  }, c, {
@@ -5372,7 +5372,7 @@ var Ba = {
5372
5372
  placeholder: e.placeholder,
5373
5373
  disabled: e.disabled,
5374
5374
  name: n[e.variant]
5375
- }), null, 16, Zo), [[W, l.value]]),
5375
+ }), null, 16, Zo), [[G, l.value]]),
5376
5376
  e.showEditIcon ? (D(), i($, {
5377
5377
  key: 0,
5378
5378
  "left-icon": "edit",
@@ -5400,7 +5400,7 @@ var Ba = {
5400
5400
  title: {}
5401
5401
  },
5402
5402
  setup(e) {
5403
- let t = ee("rootRef"), { present: n } = Xn("right", { host: r(() => {
5403
+ let t = H("rootRef"), { present: n } = Xn("right", { host: r(() => {
5404
5404
  let e = t.value?.getRootNode();
5405
5405
  return e instanceof ShadowRoot ? e.host : null;
5406
5406
  }) });
@@ -5413,7 +5413,7 @@ var Ba = {
5413
5413
  "background-color": "#fdfdfc"
5414
5414
  }
5415
5415
  }, {
5416
- default: K(() => [e.title ? (D(), o("span", $o, I(e.title), 1)) : (D(), o("div", {
5416
+ default: q(() => [e.title ? (D(), o("span", $o, I(e.title), 1)) : (D(), o("div", {
5417
5417
  key: 1,
5418
5418
  id: e.headerTitleId,
5419
5419
  class: "pv-flex"
@@ -5499,7 +5499,7 @@ var Ba = {
5499
5499
  key: t.value,
5500
5500
  description: e.hideLabels ? t.label : ""
5501
5501
  }, {
5502
- trigger: K(() => [s("label", { class: y(["pv-label pv-label-hover pv-flex pv-toggle-small", { "pv-disabled": e.disabled || t.disabled }]) }, [
5502
+ trigger: q(() => [s("label", { class: y(["pv-label pv-label-hover pv-flex pv-toggle-small", { "pv-disabled": e.disabled || t.disabled }]) }, [
5503
5503
  s("input", {
5504
5504
  type: "radio",
5505
5505
  name: c.value,
@@ -5535,7 +5535,7 @@ var Ba = {
5535
5535
  emits: ["update:modelValue"],
5536
5536
  setup(e) {
5537
5537
  let t = B(e, "modelValue");
5538
- return (n, r) => ie((D(), o("input", {
5538
+ return (n, r) => J((D(), o("input", {
5539
5539
  "onUpdate:modelValue": r[0] ||= (e) => t.value = e,
5540
5540
  class: "pv-checkbox",
5541
5541
  type: "checkbox",
@@ -5543,7 +5543,7 @@ var Ba = {
5543
5543
  "aria-label": e.ariaLabel,
5544
5544
  disabled: e.disabled,
5545
5545
  indeterminate: e.indeterminate
5546
- }, null, 8, ds)), [[te, t.value]]);
5546
+ }, null, 8, ds)), [[ee, t.value]]);
5547
5547
  }
5548
5548
  }), ps = ["aria-label", "aria-labelledby"], ms = ["id"], hs = [
5549
5549
  "name",
@@ -5586,14 +5586,14 @@ var Ba = {
5586
5586
  }, [(D(!0), o(t, null, A(e.options, (t) => (D(), o("label", {
5587
5587
  key: String(t.value),
5588
5588
  class: "pv-label pv-flex"
5589
- }, [ie(s("input", {
5589
+ }, [J(s("input", {
5590
5590
  "onUpdate:modelValue": r[0] ||= (e) => i.value = e,
5591
5591
  class: "pv-radio",
5592
5592
  type: "radio",
5593
5593
  name: d.value,
5594
5594
  value: t.value,
5595
5595
  disabled: e.disabled || t.disabled
5596
- }, null, 8, hs), [[U, i.value]]), l(" " + I(t.label), 1)]))), 128))], 6)], 8, ps));
5596
+ }, null, 8, hs), [[W, i.value]]), l(" " + I(t.label), 1)]))), 128))], 6)], 8, ps));
5597
5597
  }
5598
5598
  }), _s = /* @__PURE__ */ d({
5599
5599
  __name: "PvSprite",
@@ -5686,7 +5686,7 @@ var Ba = {
5686
5686
  key: 0,
5687
5687
  class: "pv-absolute input-icon-position",
5688
5688
  name: e.inputIcon
5689
- }, null, 8, ["name"])) : a("", !0), ie(s("input", _(n.$attrs, {
5689
+ }, null, 8, ["name"])) : a("", !0), J(s("input", _(n.$attrs, {
5690
5690
  "onUpdate:modelValue": r[0] ||= (e) => c.value = e,
5691
5691
  "data-testid": "pv-input",
5692
5692
  class: ["pv-input-text", {
@@ -5700,7 +5700,7 @@ var Ba = {
5700
5700
  id: e.id,
5701
5701
  "data-invalid": e.error ? !0 : void 0,
5702
5702
  step: e.step
5703
- }), null, 16, Ss), [[H, c.value]])])], 2),
5703
+ }), null, 16, Ss), [[U, c.value]])])], 2),
5704
5704
  e.lowerLabel ? (D(), o("p", {
5705
5705
  key: 1,
5706
5706
  "data-testid": "pv-input-lower-label",
@@ -5845,7 +5845,7 @@ var Ba = {
5845
5845
  style: x(c.value ? { "--flex-align": "flex-start" } : void 0),
5846
5846
  "data-testid": "pv-card"
5847
5847
  }, {
5848
- default: K(() => [c.value ? (D(), o(t, { key: 0 }, [
5848
+ default: q(() => [c.value ? (D(), o(t, { key: 0 }, [
5849
5849
  e.headerAction ? (D(), o("div", Ps, [s("div", Fs, [j(n.$slots, "header")]), s("div", Is, [j(n.$slots, "header-action")])])) : a("", !0),
5850
5850
  e.descriptionAction ? (D(), o("div", Ls, [s("div", Rs, [j(n.$slots, "description")]), s("div", zs, [j(n.$slots, "description-action")])])) : a("", !0),
5851
5851
  e.footerAction ? (D(), o("div", Bs, [s("div", Vs, [j(n.$slots, "footer")]), s("div", Hs, [j(n.$slots, "footer-action")])])) : a("", !0)
@@ -5862,7 +5862,7 @@ var Ba = {
5862
5862
  __name: "PvWidget",
5863
5863
  setup(e) {
5864
5864
  return (e, t) => (D(), i(Us, { class: "pv-inset-square-16" }, {
5865
- default: K(() => [j(e.$slots, "default")]),
5865
+ default: q(() => [j(e.$slots, "default")]),
5866
5866
  _: 3
5867
5867
  }));
5868
5868
  }
@@ -5911,7 +5911,7 @@ var Ba = {
5911
5911
  onClick: r[1] ||= (e) => t.$emit("click"),
5912
5912
  class: "pv-relative"
5913
5913
  }, {
5914
- default: K(() => [s("div", Gs, [
5914
+ default: q(() => [s("div", Gs, [
5915
5915
  n.value ? (D(), o("div", Ks, [e.icon ? (D(), i(Q, {
5916
5916
  key: 0,
5917
5917
  style: { color: "#218c88" },
@@ -5928,7 +5928,7 @@ var Ba = {
5928
5928
  variant: "ghost",
5929
5929
  size: "md",
5930
5930
  class: "pv-insight-button",
5931
- onClick: r[0] ||= q((e) => t.$emit("icon-click"), ["stop"])
5931
+ onClick: r[0] ||= ie((e) => t.$emit("icon-click"), ["stop"])
5932
5932
  })) : a("", !0)]),
5933
5933
  _: 1
5934
5934
  }, 8, ["interactive"]));
@@ -5961,7 +5961,7 @@ var Ba = {
5961
5961
  };
5962
5962
  w(() => {
5963
5963
  f(), document.fonts?.ready.then(f);
5964
- }), G(() => n.lines, f), le(c, f), X(c, f, {
5964
+ }), K(() => n.lines, f), le(c, f), X(c, f, {
5965
5965
  characterData: !0,
5966
5966
  childList: !0,
5967
5967
  subtree: !0
@@ -6097,7 +6097,7 @@ var Ba = {
6097
6097
  ]),
6098
6098
  onClick: o
6099
6099
  }, {
6100
- default: K(() => [j(t.$slots, "default")]),
6100
+ default: q(() => [j(t.$slots, "default")]),
6101
6101
  _: 3
6102
6102
  }, 8, ["class"]));
6103
6103
  }
@@ -6285,7 +6285,7 @@ var Ba = {
6285
6285
  active: I.value,
6286
6286
  level: e.level
6287
6287
  }, {
6288
- default: K(() => [(D(), i(N(j.value), {
6288
+ default: q(() => [(D(), i(N(j.value), {
6289
6289
  class: y({ ...L(p)(e.option) }),
6290
6290
  option: e.option,
6291
6291
  selected: A(e.option.node_id),
@@ -6299,9 +6299,9 @@ var Ba = {
6299
6299
  onHandleSelected: n[0] ||= (e) => t.$emit("handle-tree-select", e),
6300
6300
  onMouseenter: n[1] ||= (t) => L(h)(e.option.node_id),
6301
6301
  onMouseleave: n[2] ||= (e) => L(g)(),
6302
- onContextmenu: n[3] ||= q((t) => e.settings[e.option.field]?.rendererParams?.onContextMenu?.(t, e.option), ["stop"])
6302
+ onContextmenu: n[3] ||= ie((t) => e.settings[e.option.field]?.rendererParams?.onContextMenu?.(t, e.option), ["stop"])
6303
6303
  }, {
6304
- default: K(() => [ie(u(oc, null, null, 512), [[ne, L(m) === e.option.node_id && L(_)(e.isDraggable, e.settings, e.option)]]), s("div", bc, [P.value ? (D(), i(lc, {
6304
+ default: q(() => [J(u(oc, null, null, 512), [[te, L(m) === e.option.node_id && L(_)(e.isDraggable, e.settings, e.option)]]), s("div", bc, [P.value ? (D(), i(lc, {
6305
6305
  key: 0,
6306
6306
  "is-last": F.value
6307
6307
  }, null, 8, ["is-last"])) : a("", !0), e.settings[e.option.field]?.renderer ? (D(), i(N(e.settings[e.option.field]?.renderer), {
@@ -6342,7 +6342,7 @@ var Ba = {
6342
6342
  onEnd: L(f),
6343
6343
  onAdd: L(f)
6344
6344
  }, {
6345
- item: K(({ element: i, index: a }) => [u(r, {
6345
+ item: q(({ element: i, index: a }) => [u(r, {
6346
6346
  "is-parent-path-open": e.isParentPathOpen,
6347
6347
  option: i,
6348
6348
  settings: e.settings,
@@ -6420,7 +6420,7 @@ var Ba = {
6420
6420
  active: B.value,
6421
6421
  level: e.level
6422
6422
  }, {
6423
- default: K(() => [(D(), i(N(F(e.option)), {
6423
+ default: q(() => [(D(), i(N(F(e.option)), {
6424
6424
  option: e.option,
6425
6425
  selected: P(e.option.node_id),
6426
6426
  "disable-selection": e.disableSelection,
@@ -6434,10 +6434,10 @@ var Ba = {
6434
6434
  onHandleSelected: n[0] ||= (e) => t.$emit("handle-tree-select", e),
6435
6435
  onMouseenter: n[1] ||= (t) => L(l)(e.option.node_id),
6436
6436
  onMouseleave: n[2] ||= (e) => L(d)(),
6437
- onContextmenu: n[3] ||= q((t) => e.settings[e.option.field]?.rendererParams?.onContextMenu?.(t, e.option), ["stop"])
6437
+ onContextmenu: n[3] ||= ie((t) => e.settings[e.option.field]?.rendererParams?.onContextMenu?.(t, e.option), ["stop"])
6438
6438
  }, {
6439
- default: K(() => [
6440
- ie(u(oc, null, null, 512), [[ne, L(c) === e.option.node_id && L(p)(e.isDraggable, e.settings, e.option)]]),
6439
+ default: q(() => [
6440
+ J(u(oc, null, null, 512), [[te, L(c) === e.option.node_id && L(p)(e.isDraggable, e.settings, e.option)]]),
6441
6441
  j.value ? (D(), i(lc, {
6442
6442
  key: 0,
6443
6443
  "is-last": z.value
@@ -6481,7 +6481,7 @@ var Ba = {
6481
6481
  onEnd: L(S),
6482
6482
  onAdd: L(S)
6483
6483
  }, {
6484
- item: K(({ element: r, index: i }) => [u(Sc, {
6484
+ item: q(({ element: r, index: i }) => [u(Sc, {
6485
6485
  "is-parent-path-open": e.isParentPathOpen,
6486
6486
  option: r,
6487
6487
  settings: e.settings,
@@ -6545,7 +6545,7 @@ var Ba = {
6545
6545
  emits: ["handle-tree-select", "update:children"],
6546
6546
  setup(e, { emit: t }) {
6547
6547
  let n = e, c = t, l = k(n.treeOpen ?? n.settings[n.option.field]?.defaultExpanded ?? !1);
6548
- G(() => n.treeOpen, (e) => {
6548
+ K(() => n.treeOpen, (e) => {
6549
6549
  e !== void 0 && (l.value = e);
6550
6550
  });
6551
6551
  let { getDragGroupConfig: d, getDragAndDropDisabled: f, canItemBeDragged: p, handleMoveCallback: m, childrenDraggable: h, canAcceptDrop: g } = vc(), { hoveredId: _, handleMouseEnter: v, handleMouseLeave: b } = fc(), { isDragging: S, draggingGroupName: C, onDragStart: w, onDragEnd: T } = _c(), { dragAndDropIndicatorClasses: E } = yc(), { indentPadding: O, showsConnector: A } = uc(), j = () => {
@@ -6561,14 +6561,14 @@ var Ba = {
6561
6561
  newChildren: e
6562
6562
  });
6563
6563
  }
6564
- }), z = r(() => !!(n.option.children?.length && n.settings[n.option.field]?.accordion)), B = r(() => A(n.settings, n.parentField)), V = r(() => n.index === void 0 || n.totalSiblings === void 0 ? !0 : n.index === n.totalSiblings - 1), ee = r(() => B.value && !V.value), te = r(() => n.isParentPathOpen ?? !0 ? z.value && n.level === 0 ? l.value : !0 : !1);
6564
+ }), z = r(() => !!(n.option.children?.length && n.settings[n.option.field]?.accordion)), B = r(() => A(n.settings, n.parentField)), V = r(() => n.index === void 0 || n.totalSiblings === void 0 ? !0 : n.index === n.totalSiblings - 1), H = r(() => B.value && !V.value), ee = r(() => n.isParentPathOpen ?? !0 ? z.value && n.level === 0 ? l.value : !0 : !1);
6565
6565
  return (t, n) => {
6566
6566
  let r = M("PvTreeItem", !0);
6567
6567
  return D(), i(dc, {
6568
- active: ee.value,
6568
+ active: H.value,
6569
6569
  level: e.level
6570
6570
  }, {
6571
- default: K(() => [e.option.children && e.option.children.length > 0 && e.settings && e.settings[e.option.field]?.accordion ? (D(), i(ai, {
6571
+ default: q(() => [e.option.children && e.option.children.length > 0 && e.settings && e.settings[e.option.field]?.accordion ? (D(), i(ai, {
6572
6572
  key: 0,
6573
6573
  modelValue: l.value,
6574
6574
  "onUpdate:modelValue": n[3] ||= (e) => l.value = e,
@@ -6582,7 +6582,7 @@ var Ba = {
6582
6582
  enableTriggerFullWidth: "",
6583
6583
  summaryStyles: {
6584
6584
  ...P(e.level),
6585
- ...e.settings[e.option.field]?.rendererParams?.onProvideCssStyles?.(e.option, { isVisible: te.value }) ?? {},
6585
+ ...e.settings[e.option.field]?.rendererParams?.onProvideCssStyles?.(e.option, { isVisible: ee.value }) ?? {},
6586
6586
  "justify-content": "flex-start"
6587
6587
  },
6588
6588
  summaryClasses: {
@@ -6593,10 +6593,10 @@ var Ba = {
6593
6593
  "chevron-variant": "horizontal",
6594
6594
  onSummaryMouseenter: n[4] ||= (t) => L(v)(e.option.node_id),
6595
6595
  onSummaryMouseleave: n[5] ||= (e) => L(b)(),
6596
- onContextmenu: n[6] ||= q((t) => e.settings[e.option.field]?.rendererParams?.onContextMenu?.(t, e.option), ["stop"])
6596
+ onContextmenu: n[6] ||= ie((t) => e.settings[e.option.field]?.rendererParams?.onContextMenu?.(t, e.option), ["stop"])
6597
6597
  }, {
6598
- trigger: K(() => [
6599
- ie(u(oc, null, null, 512), [[ne, L(_) === e.option.node_id && L(p)(e.isDraggable, e.settings, e.option) && e.level > 0]]),
6598
+ trigger: q(() => [
6599
+ J(u(oc, null, null, 512), [[te, L(_) === e.option.node_id && L(p)(e.isDraggable, e.settings, e.option) && e.level > 0]]),
6600
6600
  B.value ? (D(), i(lc, {
6601
6601
  key: 0,
6602
6602
  "is-last": V.value
@@ -6618,7 +6618,7 @@ var Ba = {
6618
6618
  icon: e.settings[e.option.field]?.icon
6619
6619
  }, null, 8, ["label", "icon"]))
6620
6620
  ]),
6621
- default: K(() => [s("div", { "data-parent-id": e.option.node_id }, [u(L(ye), {
6621
+ default: q(() => [s("div", { "data-parent-id": e.option.node_id }, [u(L(ye), {
6622
6622
  modelValue: R.value,
6623
6623
  "onUpdate:modelValue": n[2] ||= (e) => R.value = e,
6624
6624
  "parent-id": e.option.node_id,
@@ -6631,7 +6631,7 @@ var Ba = {
6631
6631
  onEnd: L(T),
6632
6632
  onAdd: L(T)
6633
6633
  }, {
6634
- item: K(({ element: i, index: a }) => [u(r, {
6634
+ item: q(({ element: i, index: a }) => [u(r, {
6635
6635
  "is-parent-path-open": e.isParentPathOpen && l.value,
6636
6636
  "selected-options": e.selectedOptions,
6637
6637
  option: i,
@@ -6712,15 +6712,15 @@ var Ba = {
6712
6712
  icon: e.settings[e.option.field]?.icon,
6713
6713
  style: x({
6714
6714
  ...P(e.level),
6715
- ...e.settings[e.option.field]?.rendererParams?.onProvideCssStyles?.(e.option, { isVisible: te.value }) ?? {}
6715
+ ...e.settings[e.option.field]?.rendererParams?.onProvideCssStyles?.(e.option, { isVisible: ee.value }) ?? {}
6716
6716
  }),
6717
6717
  onHandleSelected: n[9] ||= (e) => t.$emit("handle-tree-select", e),
6718
6718
  onMouseenter: n[10] ||= (t) => L(v)(e.option.node_id),
6719
6719
  onMouseleave: n[11] ||= (e) => L(b)(),
6720
- onContextmenu: n[12] ||= q((t) => e.settings[e.option.field]?.rendererParams?.onContextMenu?.(t, e.option), ["stop"])
6720
+ onContextmenu: n[12] ||= ie((t) => e.settings[e.option.field]?.rendererParams?.onContextMenu?.(t, e.option), ["stop"])
6721
6721
  }, {
6722
- default: K(() => [
6723
- ie(u(oc, null, null, 512), [[ne, L(_) === e.option.node_id && L(p)(e.isDraggable, e.settings, e.option) && e.level > 0]]),
6722
+ default: q(() => [
6723
+ J(u(oc, null, null, 512), [[te, L(_) === e.option.node_id && L(p)(e.isDraggable, e.settings, e.option) && e.level > 0]]),
6724
6724
  B.value ? (D(), i(lc, {
6725
6725
  key: 0,
6726
6726
  "is-last": V.value
@@ -6762,7 +6762,7 @@ var Ba = {
6762
6762
  onEnd: L(T),
6763
6763
  onAdd: L(T)
6764
6764
  }, {
6765
- item: K(({ element: i, index: a }) => [u(r, {
6765
+ item: q(({ element: i, index: a }) => [u(r, {
6766
6766
  "is-parent-path-open": e.isParentPathOpen,
6767
6767
  "selected-options": e.selectedOptions,
6768
6768
  option: i,
@@ -7105,19 +7105,19 @@ var Ba = {
7105
7105
  })), N = (e) => M.value.format(e), P = (e) => N(e), F = (e) => {
7106
7106
  let n = N(e);
7107
7107
  return t.dataType === "currency" ? `$${n}` : t.dataType === "percent" ? `${n}%` : n;
7108
- }, V = r(() => t.scale === "log"), ee = r(() => E(t.step)), te = r(() => E(t.sliderStep)), H = r(() => ee.value !== null && ee.value > 0 ? ee.value : 0), U = r(() => te.value !== null && te.value > 0 ? Math.max(te.value, H.value) : H.value), W = r(() => H.value > 0 ? String(H.value) : "any"), ne = r(() => V.value ? "1" : U.value > 0 ? String(U.value) : "any"), re = r(() => ee.value === null ? 1 : ee.value > 0 ? ee.value : 0), K = r(() => te.value !== null && te.value > 0 ? Math.max(te.value, re.value) : re.value), ie = r(() => V.value ? "1" : K.value > 0 ? String(K.value) : "any"), q = r(() => t.color === "multiple" ? "var(--color-data-viz-3, #ff7a4e)" : "var(--color-border, #e3e7ea)"), oe = (e) => e.min > 0 ? 0 : 1 - e.min, J = (e, t) => {
7108
+ }, V = r(() => t.scale === "log"), H = r(() => E(t.step)), ee = r(() => E(t.sliderStep)), U = r(() => H.value !== null && H.value > 0 ? H.value : 0), W = r(() => ee.value !== null && ee.value > 0 ? Math.max(ee.value, U.value) : U.value), G = r(() => U.value > 0 ? String(U.value) : "any"), te = r(() => V.value ? "1" : W.value > 0 ? String(W.value) : "any"), ne = r(() => H.value === null ? 1 : H.value > 0 ? H.value : 0), q = r(() => ee.value !== null && ee.value > 0 ? Math.max(ee.value, ne.value) : ne.value), J = r(() => V.value ? "1" : q.value > 0 ? String(q.value) : "any"), ie = r(() => t.color === "multiple" ? "var(--color-data-viz-3, #ff7a4e)" : "var(--color-border, #e3e7ea)"), ae = (e) => e.min > 0 ? 0 : 1 - e.min, Y = (e, t) => {
7109
7109
  if (t.max === t.min) return 0;
7110
7110
  if (!V.value) return (e - t.min) / (t.max - t.min);
7111
- let n = oe(t), r = Math.log(t.min + n), i = Math.log(t.max + n);
7111
+ let n = ae(t), r = Math.log(t.min + n), i = Math.log(t.max + n);
7112
7112
  if (i === r) return 0;
7113
7113
  let a = Math.max(t.min, Math.min(t.max, e));
7114
7114
  return (Math.log(a + n) - r) / (i - r);
7115
- }, se = (e, t) => {
7115
+ }, oe = (e, t) => {
7116
7116
  let n = Math.max(0, Math.min(1, e));
7117
7117
  if (!V.value) return t.min + n * (t.max - t.min);
7118
- let r = oe(t), i = Math.log(t.min + r), a = Math.log(t.max + r);
7118
+ let r = ae(t), i = Math.log(t.min + r), a = Math.log(t.max + r);
7119
7119
  return Math.exp(i + n * (a - i)) - r;
7120
- }, ce = (e, t) => Math.max(0, Math.min(100, J(e, t) * 100)), Y = r(() => {
7120
+ }, se = (e, t) => Math.max(0, Math.min(100, Y(e, t) * 100)), ce = r(() => {
7121
7121
  let e = E(t.min) ?? Xc, n = E(t.max) ?? Zc;
7122
7122
  return e > n ? {
7123
7123
  max: e,
@@ -7129,8 +7129,8 @@ var Ba = {
7129
7129
  max: n,
7130
7130
  min: e
7131
7131
  };
7132
- }), X = r(() => E(n.value) ?? Y.value.min), le = r(() => ce(X.value, Y.value)), ue = r(() => ({
7133
- "--range-track-color": q.value,
7132
+ }), X = r(() => E(n.value) ?? ce.value.min), le = r(() => se(X.value, ce.value)), ue = r(() => ({
7133
+ "--range-track-color": ie.value,
7134
7134
  "--value": `${le.value}%`
7135
7135
  })), de = r(() => ({ left: `${le.value}%` })), fe = (e) => {
7136
7136
  if (!Number.isFinite(e)) return 0;
@@ -7142,13 +7142,13 @@ var Ba = {
7142
7142
  return t.split(".")[1]?.length ?? 0;
7143
7143
  }, Z = r(() => {
7144
7144
  let e = E(t.min), n = E(t.max), r = E(c.value?.min), i = E(c.value?.max), a = e ?? Math.min(Xc, r ?? Xc, i ?? Xc), o = n ?? Math.max(Zc, r ?? Zc, i ?? Zc);
7145
- return a > o && ([a, o] = [o, a]), a === o && (o = a + (H.value > 0 ? H.value : 1)), {
7145
+ return a > o && ([a, o] = [o, a]), a === o && (o = a + (U.value > 0 ? U.value : 1)), {
7146
7146
  max: o,
7147
7147
  min: a
7148
7148
  };
7149
7149
  }), pe = (e) => Math.max(Z.value.min, Math.min(Z.value.max, e)), me = r(() => {
7150
7150
  let e = Math.max(fe(Z.value.min), fe(Z.value.max));
7151
- return H.value <= 0 ? Math.max(6, e) : Math.max(e, fe(H.value));
7151
+ return U.value <= 0 ? Math.max(6, e) : Math.max(e, fe(U.value));
7152
7152
  }), he = (e) => {
7153
7153
  let t = Math.min(20, me.value);
7154
7154
  return pe(Number(e.toFixed(t)));
@@ -7159,14 +7159,14 @@ var Ba = {
7159
7159
  if (t.allowMinMaxEqual) return 0;
7160
7160
  let e = Z.value.max - Z.value.min;
7161
7161
  if (e <= 0) return 0;
7162
- let n = Math.max(e / 1e6, 10 ** -me.value), r = H.value > 0 ? H.value : n;
7162
+ let n = Math.max(e / 1e6, 10 ** -me.value), r = U.value > 0 ? U.value : n;
7163
7163
  return Math.min(r, e);
7164
7164
  }), ye = (e, t, n = "nearest") => {
7165
7165
  let r = pe(e);
7166
7166
  if (t <= 0) return he(r);
7167
7167
  let i = V.value ? 0 : Z.value.min, a = (r - i) / t;
7168
7168
  return he((n === "down" ? Math.floor(a) : n === "up" ? Math.ceil(a) : Math.round(a)) * t + i);
7169
- }, be = (e, t = "nearest") => ye(e, _e(e, H.value), t), xe = (e, t = "nearest") => be(ye(e, _e(e, U.value), t), t), Se = (e) => ye(e, H.value), Ce = (e, t, n = !0) => {
7169
+ }, be = (e, t = "nearest") => ye(e, _e(e, U.value), t), xe = (e, t = "nearest") => be(ye(e, _e(e, W.value), t), t), Se = (e) => ye(e, U.value), Ce = (e, t, n = !0) => {
7170
7170
  let r = Math.max(Z.value.min, t - ve.value), i = Math.min(e, r);
7171
7171
  return n ? be(i, "down") : he(i);
7172
7172
  }, we = (e, t, n = !0) => {
@@ -7178,11 +7178,11 @@ var Ba = {
7178
7178
  max: Math.max(n, r),
7179
7179
  min: Math.min(n, r)
7180
7180
  };
7181
- }), Ee = r(() => ce(Te.value.min, Z.value)), De = r(() => ce(Te.value.max, Z.value)), Oe = r(() => ({
7182
- "--range-track-color": q.value,
7181
+ }), Ee = r(() => se(Te.value.min, Z.value)), De = r(() => se(Te.value.max, Z.value)), Oe = r(() => ({
7182
+ "--range-track-color": ie.value,
7183
7183
  "--value-max": `${De.value}%`,
7184
7184
  "--value-min": `${Ee.value}%`
7185
- })), 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) => V.value ? Math.round(J(e, t) * Qc) : e, Ne = (e, t) => V.value ? se(e / Qc, t) : e, Pe = r(() => V.value ? 0 : Z.value.min), Fe = r(() => V.value ? Qc : Z.value.max), Ie = r(() => Me(Te.value.min, Z.value)), Le = r(() => Me(Te.value.max, Z.value)), Re = r(() => V.value ? 0 : Y.value.min), ze = r(() => V.value ? Qc : Y.value.max), Be = r(() => Me(X.value, Y.value)), Ve = r(() => Math.max(P(Z.value.min).length, P(Z.value.max).length, 3)), He = r(() => {
7185
+ })), 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) => V.value ? Math.round(Y(e, t) * Qc) : e, Ne = (e, t) => V.value ? oe(e / Qc, t) : e, Pe = r(() => V.value ? 0 : Z.value.min), Fe = r(() => V.value ? Qc : Z.value.max), Ie = r(() => Me(Te.value.min, Z.value)), Le = r(() => Me(Te.value.max, Z.value)), Re = r(() => V.value ? 0 : ce.value.min), ze = r(() => V.value ? Qc : ce.value.max), Be = r(() => Me(X.value, ce.value)), Ve = r(() => Math.max(P(Z.value.min).length, P(Z.value.max).length, 3)), He = r(() => {
7186
7186
  let e = t.inputIcon ? "3.25rem" : "2rem";
7187
7187
  return {
7188
7188
  "--flex-align": "stretch",
@@ -7214,14 +7214,14 @@ var Ba = {
7214
7214
  }, $e = () => {
7215
7215
  v.value = !1, Qe();
7216
7216
  }, et = (e, t) => {
7217
- let n = Math.max(Y.value.min, Math.min(Y.value.max, e));
7217
+ let n = Math.max(ce.value.min, Math.min(ce.value.max, e));
7218
7218
  if (t <= 0) return n;
7219
- let r = V.value ? 0 : Y.value.min, i = (n - r) / t, a = Number((Math.round(i) * t + r).toFixed(20));
7220
- return Math.max(Y.value.min, Math.min(Y.value.max, a));
7221
- }, tt = (e) => et(e, _e(e, re.value)), nt = (e) => tt(et(e, _e(e, K.value))), rt = () => {
7219
+ let r = V.value ? 0 : ce.value.min, i = (n - r) / t, a = Number((Math.round(i) * t + r).toFixed(20));
7220
+ return Math.max(ce.value.min, Math.min(ce.value.max, a));
7221
+ }, tt = (e) => et(e, _e(e, ne.value)), nt = (e) => tt(et(e, _e(e, q.value))), rt = () => {
7222
7222
  t.disabled || (v.value = !0, Qe(), window.addEventListener("pointerup", $e), w = () => window.removeEventListener("pointerup", $e));
7223
7223
  }, it = (e) => {
7224
- n.value = nt(Ne(Number(e.target.value), Y.value));
7224
+ n.value = nt(Ne(Number(e.target.value), ce.value));
7225
7225
  }, at = (e) => {
7226
7226
  Xe("min"), Ke(xe(Ne(Number(e.target.value), Z.value)));
7227
7227
  }, ot = (e) => {
@@ -7236,8 +7236,8 @@ var Ba = {
7236
7236
  let a = e.key === "ArrowRight" || e.key === "ArrowUp" || e.key === "PageUp", o = e.key === "ArrowLeft" || e.key === "ArrowDown" || e.key === "PageDown";
7237
7237
  if (!a && !o) return;
7238
7238
  e.preventDefault();
7239
- let s = a ? 1 : -1, c = e.key === "PageUp" || e.key === "PageDown" ? 10 : 1, l = xe(se(J(i, r) + s * el * c, r), a ? "up" : "down");
7240
- l === i && (l = i + s * _e(i, U.value)), Xe(n), Je(n, l, !1);
7239
+ let s = a ? 1 : -1, c = e.key === "PageUp" || e.key === "PageDown" ? 10 : 1, l = xe(oe(Y(i, r) + s * el * c, r), a ? "up" : "down");
7240
+ l === i && (l = i + s * _e(i, W.value)), Xe(n), Je(n, l, !1);
7241
7241
  }, ct = () => {
7242
7242
  g.value !== "min" && (m.value = P(Te.value.min)), g.value !== "max" && (p.value = P(Te.value.max));
7243
7243
  }, lt = (e) => {
@@ -7255,7 +7255,7 @@ var Ba = {
7255
7255
  e.preventDefault(), lt(t), e.target.blur();
7256
7256
  }, ht = (e) => {
7257
7257
  let t = b.value?.getBoundingClientRect();
7258
- return !t || t.width <= 0 ? null : xe(se(Math.max(0, Math.min(1, (e - t.left) / t.width)), Z.value));
7258
+ return !t || t.width <= 0 ? null : xe(oe(Math.max(0, Math.min(1, (e - t.left) / t.width)), Z.value));
7259
7259
  }, gt = (e) => {
7260
7260
  let n = ht(e);
7261
7261
  if (n === null) return;
@@ -7279,7 +7279,7 @@ var Ba = {
7279
7279
  window.removeEventListener("pointermove", r), window.removeEventListener("pointerup", vt);
7280
7280
  }, e.preventDefault();
7281
7281
  };
7282
- return G([Te, Z], ct, { immediate: !0 }), S(() => {
7282
+ return K([Te, Z], ct, { immediate: !0 }), S(() => {
7283
7283
  _t(), Qe();
7284
7284
  }), (n, r) => e.mode === "single" ? (D(), o("div", zc, [e.showValueTooltips && v.value ? (D(), o("span", {
7285
7285
  key: 0,
@@ -7292,7 +7292,7 @@ var Ba = {
7292
7292
  disabled: e.disabled,
7293
7293
  max: ze.value,
7294
7294
  min: Re.value,
7295
- step: ie.value,
7295
+ step: J.value,
7296
7296
  style: ue.value,
7297
7297
  type: "range",
7298
7298
  value: Be.value,
@@ -7337,7 +7337,7 @@ var Ba = {
7337
7337
  disabled: e.disabled,
7338
7338
  max: Fe.value,
7339
7339
  min: Pe.value,
7340
- step: ne.value,
7340
+ step: te.value,
7341
7341
  value: Ie.value,
7342
7342
  onBlur: Ye,
7343
7343
  onChange: Ye,
@@ -7354,7 +7354,7 @@ var Ba = {
7354
7354
  disabled: e.disabled,
7355
7355
  max: Fe.value,
7356
7356
  min: Pe.value,
7357
- step: ne.value,
7357
+ step: te.value,
7358
7358
  value: Le.value,
7359
7359
  onBlur: Ye,
7360
7360
  onChange: Ye,
@@ -7379,13 +7379,13 @@ var Ba = {
7379
7379
  disabled: e.disabled,
7380
7380
  inputmode: "decimal",
7381
7381
  placeholder: "Min",
7382
- step: W.value,
7382
+ step: G.value,
7383
7383
  type: "text",
7384
7384
  value: m.value,
7385
7385
  onBlur: r[4] ||= (e) => pt("min"),
7386
7386
  onFocus: r[5] ||= (e) => ft("min"),
7387
7387
  onInput: ut,
7388
- onKeydown: r[6] ||= ae((e) => mt(e, "min"), ["enter"])
7388
+ onKeydown: r[6] ||= re((e) => mt(e, "min"), ["enter"])
7389
7389
  }, null, 40, qc)], 2)], 4),
7390
7390
  s("label", {
7391
7391
  class: "pv-flex-vertical pv-range-input-label",
@@ -7401,13 +7401,13 @@ var Ba = {
7401
7401
  disabled: e.disabled,
7402
7402
  inputmode: "decimal",
7403
7403
  placeholder: "Max",
7404
- step: W.value,
7404
+ step: G.value,
7405
7405
  type: "text",
7406
7406
  value: p.value,
7407
7407
  onBlur: r[7] ||= (e) => pt("max"),
7408
7408
  onFocus: r[8] ||= (e) => ft("max"),
7409
7409
  onInput: dt,
7410
- onKeydown: r[9] ||= ae((e) => mt(e, "max"), ["enter"])
7410
+ onKeydown: r[9] ||= re((e) => mt(e, "max"), ["enter"])
7411
7411
  }, null, 40, Yc)], 2)], 4),
7412
7412
  e.showClear && je.value ? (D(), i($, {
7413
7413
  key: 0,
@@ -7543,7 +7543,7 @@ var Ba = {
7543
7543
  leftIcon: "focus",
7544
7544
  size: "md",
7545
7545
  variant: e.isFocused ? "primary" : "ghost",
7546
- onClick: q(v, ["stop", "prevent"])
7546
+ onClick: ie(v, ["stop", "prevent"])
7547
7547
  }, null, 8, [
7548
7548
  "ariaLabel",
7549
7549
  "disabled",
@@ -8002,7 +8002,7 @@ var Ba = {
8002
8002
  "search-change"
8003
8003
  ],
8004
8004
  setup(e, { emit: n }) {
8005
- let c = e, d = n, f = k(null), p = k({}), m = k(0), h = z(), g = k(c.filter.searchQuery ?? ""), v = k(ju), y = r(() => c.filter.existsLabel ?? `Has ${c.filter.label}`), S = 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"), O = r(() => E.value && c.filter.isAggregate === !0), j = r(() => c.filter.aggregateSelectionState ?? []), M = r(() => g.value.trim().toLowerCase()), P = r(() => c.filter.selectedValues ?? []), F = r(() => new Set(P.value)), R = r(() => c.filter.valueLabels?.true ?? "Yes"), B = r(() => c.filter.filterOptionsSortDescription || "Suggested"), V = r(() => c.filter.disabled === !0 || c.disableWhileLoading && c.filter.isLoading === !0), ee = r(() => {
8005
+ let c = e, d = n, f = k(null), p = k({}), m = k(0), h = z(), g = k(c.filter.searchQuery ?? ""), v = k(ju), y = r(() => c.filter.existsLabel ?? `Has ${c.filter.label}`), S = 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"), O = r(() => E.value && c.filter.isAggregate === !0), j = r(() => c.filter.aggregateSelectionState ?? []), M = r(() => g.value.trim().toLowerCase()), P = r(() => c.filter.selectedValues ?? []), F = r(() => new Set(P.value)), R = r(() => c.filter.valueLabels?.true ?? "Yes"), B = r(() => c.filter.filterOptionsSortDescription || "Suggested"), V = r(() => c.filter.disabled === !0 || c.disableWhileLoading && c.filter.isLoading === !0), H = r(() => {
8006
8006
  let e = c.filter.valueLabels, t = typeof e?.true == "string", n = typeof e?.false == "string";
8007
8007
  return t && !n ? [{
8008
8008
  label: R.value,
@@ -8017,7 +8017,7 @@ var Ba = {
8017
8017
  label: S.value,
8018
8018
  value: !1
8019
8019
  }];
8020
- }), te = (e) => {
8020
+ }), ee = (e) => {
8021
8021
  let t = typeof e.metadata == "object" && e.metadata !== null ? Object.values(e.metadata) : [];
8022
8022
  return [
8023
8023
  e.value,
@@ -8027,32 +8027,32 @@ var Ba = {
8027
8027
  e.matchedValue,
8028
8028
  e.matchedField
8029
8029
  ].concat(t.flatMap((e) => e == null ? [] : [String(e)])).filter((e) => !!e).join(" ").toLowerCase();
8030
- }, 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 : O.value ? cu(j.value) || void 0 : P.value.length || void 0), U = (e) => e.totalChildCount === null || e.totalChildCount === void 0 ? !1 : e.totalChildCount > (e.children?.length ?? 0), W = (e, t = 0) => e.flatMap((e) => [
8030
+ }, U = 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 : O.value ? cu(j.value) || void 0 : P.value.length || void 0), W = (e) => e.totalChildCount === null || e.totalChildCount === void 0 ? !1 : e.totalChildCount > (e.children?.length ?? 0), G = (e, t = 0) => e.flatMap((e) => [
8031
8031
  {
8032
8032
  depth: t,
8033
8033
  kind: "option",
8034
8034
  option: e
8035
8035
  },
8036
- ...e.children?.length ? W(e.children, t + 1) : [],
8037
- ...U(e) ? [{
8036
+ ...e.children?.length ? G(e.children, t + 1) : [],
8037
+ ...W(e) ? [{
8038
8038
  depth: t + 1,
8039
8039
  kind: "child-load-more",
8040
8040
  parent: e
8041
8041
  }] : []
8042
- ]), ne = r(() => {
8043
- let e = W(C.value), t = M.value;
8044
- return t ? e.filter((e) => e.kind === "option" && te(e.option).includes(t)) : e;
8045
- }), ie = r(() => O.value || c.filter.singleSelect ? [] : P.value.map((e) => p.value[e] ?? {
8042
+ ]), te = r(() => {
8043
+ let e = G(C.value), t = M.value;
8044
+ return t ? e.filter((e) => e.kind === "option" && ee(e.option).includes(t)) : e;
8045
+ }), J = r(() => O.value || c.filter.singleSelect ? [] : P.value.map((e) => p.value[e] ?? {
8046
8046
  label: e,
8047
8047
  value: e
8048
- })), ae = k([]), q = r(() => new Set(ae.value)), oe = r(() => ae.value.map((e) => p.value[e] ?? {
8048
+ })), re = k([]), ie = r(() => new Set(re.value)), ae = r(() => re.value.map((e) => p.value[e] ?? {
8049
8049
  label: e,
8050
8050
  value: e
8051
- })), J = r(() => C.value.length > 0 || oe.value.length > 0), se = r(() => E.value && c.filter.isOpen && c.filter.isLoading === !0 && J.value), ce = () => {
8052
- ae.value = O.value || c.filter.singleSelect ? [] : [...P.value];
8051
+ })), Y = r(() => C.value.length > 0 || ae.value.length > 0), oe = r(() => E.value && c.filter.isOpen && c.filter.isLoading === !0 && Y.value), se = () => {
8052
+ re.value = O.value || c.filter.singleSelect ? [] : [...P.value];
8053
8053
  };
8054
- ce();
8055
- let Y = r(() => O.value || c.filter.singleSelect ? ne.value : ne.value.filter((e) => e.kind === "child-load-more" || !q.value.has(e.option.value))), X = r(() => Y.value.length > v.value), le = r(() => X.value || c.filter.hasMore), ue = r(() => Y.value.slice(0, v.value)), fe = r(() => O.value ? au({
8054
+ se();
8055
+ let ce = r(() => O.value || c.filter.singleSelect ? te.value : te.value.filter((e) => e.kind === "child-load-more" || !ie.value.has(e.option.value))), X = r(() => ce.value.length > v.value), le = r(() => X.value || c.filter.hasMore), ue = r(() => ce.value.slice(0, v.value)), fe = r(() => O.value ? au({
8056
8056
  options: w.value,
8057
8057
  state: j.value
8058
8058
  }) : /* @__PURE__ */ new Map()), Z = (e) => vl(e, c.filter.colDef), pe = (e) => yl(e), me = (e) => O.value ? fe.value.get(e.value) ?? {
@@ -8070,13 +8070,13 @@ var Ba = {
8070
8070
  context: e,
8071
8071
  disabled: V.value || e.isSelectable === !1 || e.menuOption?.disabled,
8072
8072
  id: e.value,
8073
- searchText: te(e),
8073
+ searchText: ee(e),
8074
8074
  secondaryText: pe(e),
8075
8075
  subText: e.subText,
8076
8076
  subduedText: e.subduedText,
8077
8077
  text: Z(e),
8078
8078
  totalChildCount: e.totalChildCount
8079
- }), xe = r(() => C.value.map(be)), Se = r(() => ie.value.map(be)), Ce = r(() => ({
8079
+ }), xe = r(() => C.value.map(be)), Se = r(() => J.value.map(be)), Ce = r(() => ({
8080
8080
  colDef: c.filter.colDef,
8081
8081
  disabled: V.value,
8082
8082
  filter: c.filter,
@@ -8143,7 +8143,7 @@ var Ba = {
8143
8143
  }, Pe = () => {
8144
8144
  V.value || d("handle-settings-icon", c.filter.key, c.filter.colDef);
8145
8145
  };
8146
- G([g, () => c.filter.key], () => {
8146
+ K([g, () => c.filter.key], () => {
8147
8147
  v.value = ju;
8148
8148
  });
8149
8149
  let Fe = () => {
@@ -8151,17 +8151,17 @@ var Ba = {
8151
8151
  for (let t of e) n.delete(t.value), n.set(t.value, t);
8152
8152
  p.value = Object.fromEntries([...n.entries()].slice(Math.max(0, n.size - Mu)));
8153
8153
  };
8154
- return G(w, () => {
8154
+ return K(w, () => {
8155
8155
  c.filter.isOpen && Fe();
8156
- }, { immediate: !0 }), G(C, () => {
8156
+ }, { immediate: !0 }), K(C, () => {
8157
8157
  !c.filter.isOpen || !f.value || (m.value = Math.max(m.value, f.value.offsetHeight));
8158
- }), G(() => c.filter.isOpen, (e) => {
8159
- e ? (Fe(), ce()) : (p.value = {}, m.value = 0);
8160
- }), re(() => {
8158
+ }), K(() => c.filter.isOpen, (e) => {
8159
+ e ? (Fe(), se()) : (p.value = {}, m.value = 0);
8160
+ }), ne(() => {
8161
8161
  if (!c.filter.isOpen || O.value || c.filter.singleSelect) return;
8162
- let e = new Set(ue.value.flatMap((e) => e.kind === "option" ? [e.option.value] : [])), t = P.value.filter((t) => !q.value.has(t) && !e.has(t));
8163
- t.length && (ae.value = [...ae.value, ...t]);
8164
- }), G(() => c.filter.searchQuery, (e) => {
8162
+ let e = new Set(ue.value.flatMap((e) => e.kind === "option" ? [e.option.value] : [])), t = P.value.filter((t) => !ie.value.has(t) && !e.has(t));
8163
+ t.length && (re.value = [...re.value, ...t]);
8164
+ }), K(() => c.filter.searchQuery, (e) => {
8165
8165
  let t = e ?? "";
8166
8166
  t !== g.value && (g.value = t);
8167
8167
  }), de(g, (e) => {
@@ -8183,13 +8183,13 @@ var Ba = {
8183
8183
  name: e.filter.isOpen ? "chevron-down" : "chevron-right"
8184
8184
  }, null, 8, ["name"]),
8185
8185
  s("span", null, I(e.filter.label), 1),
8186
- H.value ? (D(), i(He, {
8186
+ U.value ? (D(), i(He, {
8187
8187
  key: 0,
8188
- value: H.value,
8188
+ value: U.value,
8189
8189
  size: "sm",
8190
8190
  variant: "secondary"
8191
8191
  }, null, 8, ["value"])) : a("", !0),
8192
- se.value ? (D(), o("span", du, [u(Me, { size: "sm" }), s("span", fu, I(e.filter.loadingText || `Updating ${e.filter.label} options`), 1)])) : a("", !0)
8192
+ oe.value ? (D(), o("span", du, [u(Me, { size: "sm" }), s("span", fu, I(e.filter.loadingText || `Updating ${e.filter.label} options`), 1)])) : a("", !0)
8193
8193
  ]), s("div", {
8194
8194
  ref_key: "filterContent",
8195
8195
  ref: f,
@@ -8236,7 +8236,7 @@ var Ba = {
8236
8236
  "disabled",
8237
8237
  "placeholder"
8238
8238
  ])),
8239
- oe.value.length ? (D(), o("div", _u, [(D(!0), o(t, null, A(oe.value, (t) => (D(), i(cl, {
8239
+ ae.value.length ? (D(), o("div", _u, [(D(!0), o(t, null, A(ae.value, (t) => (D(), i(cl, {
8240
8240
  key: t.value,
8241
8241
  control: e.filter.singleSelect ? "radio" : "checkbox",
8242
8242
  disabled: V.value || t.isSelectable === !1,
@@ -8274,10 +8274,10 @@ var Ba = {
8274
8274
  "onFocusValue",
8275
8275
  "onToggleValue"
8276
8276
  ]))), 128))])) : a("", !0),
8277
- e.filter.isLoading && !J.value ? (D(), o("div", vu, [u(Me, { size: "sm" }), e.filter.loadingText ? (D(), o("span", yu, I(e.filter.loadingText), 1)) : a("", !0)])) : (D(), o(t, { key: 4 }, [
8278
- !C.value.length && !oe.value.length && !le.value ? (D(), o(t, { key: 0 }, [e.filter.emptyResultsRenderer ? (D(), i(N(e.filter.emptyResultsRenderer), _({ key: 0 }, Ce.value, { "empty-reason": "no-values" }), null, 16)) : (D(), o("p", bu, "No values available."))], 64)) : !ne.value.length && !oe.value.length && !le.value ? (D(), o(t, { key: 1 }, [e.filter.emptyResultsRenderer ? (D(), i(N(e.filter.emptyResultsRenderer), _({ key: 0 }, Ce.value, { "empty-reason": "no-matches" }), null, 16)) : (D(), o("p", xu, "No matching values."))], 64)) : a("", !0),
8279
- Y.value.length || le.value ? (D(), o("div", Su, [
8280
- Y.value.length && !e.filter.hideOptionsSortDescription ? (D(), o("div", Cu, [e.filter.filterOptionsSortTooltip ? (D(), i(ir, {
8277
+ e.filter.isLoading && !Y.value ? (D(), o("div", vu, [u(Me, { size: "sm" }), e.filter.loadingText ? (D(), o("span", yu, I(e.filter.loadingText), 1)) : a("", !0)])) : (D(), o(t, { key: 4 }, [
8278
+ !C.value.length && !ae.value.length && !le.value ? (D(), o(t, { key: 0 }, [e.filter.emptyResultsRenderer ? (D(), i(N(e.filter.emptyResultsRenderer), _({ key: 0 }, Ce.value, { "empty-reason": "no-values" }), null, 16)) : (D(), o("p", bu, "No values available."))], 64)) : !te.value.length && !ae.value.length && !le.value ? (D(), o(t, { key: 1 }, [e.filter.emptyResultsRenderer ? (D(), i(N(e.filter.emptyResultsRenderer), _({ key: 0 }, Ce.value, { "empty-reason": "no-matches" }), null, 16)) : (D(), o("p", xu, "No matching values."))], 64)) : a("", !0),
8279
+ ce.value.length || le.value ? (D(), o("div", Su, [
8280
+ ce.value.length && !e.filter.hideOptionsSortDescription ? (D(), o("div", Cu, [e.filter.filterOptionsSortTooltip ? (D(), i(ir, {
8281
8281
  key: 0,
8282
8282
  variant: "dark",
8283
8283
  disableInteractive: !0,
@@ -8286,8 +8286,8 @@ var Ba = {
8286
8286
  "use-teleport": !0,
8287
8287
  style: { "--max-width": "200px" }
8288
8288
  }, {
8289
- trigger: K(() => [s("p", wu, I(B.value), 1)]),
8290
- content: K(() => [l(I(e.filter.filterOptionsSortTooltip), 1)]),
8289
+ trigger: q(() => [s("p", wu, I(B.value), 1)]),
8290
+ content: q(() => [l(I(e.filter.filterOptionsSortTooltip), 1)]),
8291
8291
  _: 1
8292
8292
  })) : (D(), o("p", Tu, I(B.value), 1))])) : a("", !0),
8293
8293
  (D(!0), o(t, null, A(ue.value, (n) => (D(), o(t, { key: n.kind === "option" ? n.option.value : `${n.parent.value}-children-more` }, [n.kind === "option" ? (D(), i(cl, {
@@ -8384,7 +8384,7 @@ var Ba = {
8384
8384
  "slider-step",
8385
8385
  "step",
8386
8386
  "value-decimals"
8387
- ])) : T.value === "range" ? (D(), o("p", Eu, " Range filters require minimum and maximum bounds. ")) : T.value === "boolean" ? (D(), o("div", Du, [s("div", Ou, [(D(!0), o(t, null, A(ee.value, (t) => (D(), i($, {
8387
+ ])) : T.value === "range" ? (D(), o("p", Eu, " Range filters require minimum and maximum bounds. ")) : T.value === "boolean" ? (D(), o("div", Du, [s("div", Ou, [(D(!0), o(t, null, A(H.value, (t) => (D(), i($, {
8388
8388
  key: String(t.value),
8389
8389
  disabled: V.value,
8390
8390
  label: t.label,
@@ -8610,7 +8610,7 @@ var Ba = {
8610
8610
  }), d = (e) => {
8611
8611
  c.value = e;
8612
8612
  }, f = (e) => c.value === e ? "secondary" : "ghost";
8613
- return G(l, (e) => {
8613
+ return K(l, (e) => {
8614
8614
  c.value !== null && !e.includes(c.value) && (c.value = null);
8615
8615
  }, { immediate: !0 }), (n, r) => l.value.length ? (D(), o("div", Ku, [u(Gu, {
8616
8616
  ariaLabel: "Filter categories",
@@ -8621,7 +8621,7 @@ var Ba = {
8621
8621
  rightAriaLabel: "Scroll filter categories right",
8622
8622
  showFades: ""
8623
8623
  }, {
8624
- default: K(() => [s("div", qu, [u($, {
8624
+ default: q(() => [s("div", qu, [u($, {
8625
8625
  label: e.allCategoriesLabel,
8626
8626
  variant: f(null),
8627
8627
  onClick: r[0] ||= (e) => d(null)
@@ -9088,9 +9088,9 @@ function tf(e, t, n) {
9088
9088
  }
9089
9089
  b(t, n);
9090
9090
  };
9091
- G(() => e.filterOptionsHandler, (e) => {
9091
+ K(() => e.filterOptionsHandler, (e) => {
9092
9092
  a.setFilterOptionsHandler(e);
9093
- }, { immediate: !0 }), G([
9093
+ }, { immediate: !0 }), K([
9094
9094
  () => e.filterOptions,
9095
9095
  m,
9096
9096
  () => e.filterOptionsHandler
@@ -9099,7 +9099,7 @@ function tf(e, t, n) {
9099
9099
  }, {
9100
9100
  deep: !0,
9101
9101
  immediate: !0
9102
- }), G([
9102
+ }), K([
9103
9103
  () => e.filterHasMoreMap,
9104
9104
  m,
9105
9105
  () => e.filterOptionsHandler
@@ -9108,7 +9108,7 @@ function tf(e, t, n) {
9108
9108
  }, {
9109
9109
  deep: !0,
9110
9110
  immediate: !0
9111
- }), G([
9111
+ }), K([
9112
9112
  () => e.filterLoadingMap,
9113
9113
  m,
9114
9114
  () => e.filterOptionsHandler
@@ -9117,7 +9117,7 @@ function tf(e, t, n) {
9117
9117
  }, {
9118
9118
  deep: !0,
9119
9119
  immediate: !0
9120
- }), G([
9120
+ }), K([
9121
9121
  () => e.filterLoadingMoreMap,
9122
9122
  m,
9123
9123
  () => e.filterOptionsHandler
@@ -9126,7 +9126,7 @@ function tf(e, t, n) {
9126
9126
  }, {
9127
9127
  deep: !0,
9128
9128
  immediate: !0
9129
- }), G([
9129
+ }), K([
9130
9130
  () => e.filterSearchQueries,
9131
9131
  m,
9132
9132
  () => e.filterOptionsHandler
@@ -9135,7 +9135,7 @@ function tf(e, t, n) {
9135
9135
  }, {
9136
9136
  deep: !0,
9137
9137
  immediate: !0
9138
- }), G([
9138
+ }), K([
9139
9139
  t,
9140
9140
  m,
9141
9141
  () => e.staged
@@ -9144,7 +9144,7 @@ function tf(e, t, n) {
9144
9144
  }, {
9145
9145
  deep: !0,
9146
9146
  immediate: !0
9147
- }), G([() => e.staged, p], ([e]) => {
9147
+ }), K([() => e.staged, p], ([e]) => {
9148
9148
  if (e) {
9149
9149
  i.value = t.value;
9150
9150
  let e = p.value;
@@ -9160,7 +9160,7 @@ function tf(e, t, n) {
9160
9160
  let t = T(e);
9161
9161
  _.value === "advanced" && !t && w("regular-model-in-advanced-mode", "PvFilterPanel: produced a regular FilterModel while filterModelType is \"advanced\"."), _.value === "regular" && t && w("advanced-model-in-regular-mode", "PvFilterPanel: produced an AdvancedFilterModel while filterModelType is \"regular\".");
9162
9162
  };
9163
- re(() => {
9163
+ ne(() => {
9164
9164
  C("filterModel", !!((e.filterStore || o) && t.value !== null)), C("filterOptions", Object.keys(e.filterOptions).length > 0), C("filterLoadingMap", Object.keys(e.filterLoadingMap).length > 0), C("filterLoadingMoreMap", Object.keys(e.filterLoadingMoreMap).length > 0), C("filterHasMoreMap", Object.keys(e.filterHasMoreMap).length > 0), C("filterSearchQueries", Object.keys(e.filterSearchQueries).length > 0), C("filterOptionsHandler", !!(e.filterStore && e.filterOptionsHandler)), (e.filterStore || o) && v.value;
9165
9165
  });
9166
9166
  let D = (e) => e.context ?? {}, O = (e) => e.colId || e.field || "", A = (e) => typeof e == "number" && Number.isFinite(e) ? e : null, j = (e) => {
@@ -9174,42 +9174,42 @@ function tf(e, t, n) {
9174
9174
  return typeof t != "object" || !t || Array.isArray(t) ? null : Object.fromEntries(Object.entries(t).flatMap(([e, t]) => typeof t == "string" ? [[e, t]] : []));
9175
9175
  }, I = (t) => {
9176
9176
  let n = D(t), r = O(t);
9177
- return !r || n.filterPanelHidden === !0 || n.devOnly && !e.devMode || e.autoHideRelatedFilterFields !== !1 && n.filterPanelHidden !== !1 && W.value.has(r) ? !1 : !!j(t);
9177
+ return !r || n.filterPanelHidden === !0 || n.devOnly && !e.devMode || e.autoHideRelatedFilterFields !== !1 && n.filterPanelHidden !== !1 && G.value.has(r) ? !1 : !!j(t);
9178
9178
  }, L = (e) => (p.value.filterOptionsMap.value[e] ?? []).filter((e) => !!e), R = (t) => {
9179
9179
  let n = p.value;
9180
9180
  return ((e.staged ? n.stagedFilterSelectedMetadataMap : n.filterSelectedMetadataMap).value[t] ?? []).filter((e) => !!e);
9181
- }, z = (e) => p.value.filterHasMoreMap.value[e] ?? !1, B = (e) => p.value.filterLoadingMap.value[e] ?? !1, V = (e) => p.value.filterLoadingMoreMap.value[e] ?? !1, ee = (e) => p.value.filterSearchQueries.value[e] ?? "", te = (t) => e.filterSuggestions.flatMap((e) => e.field !== t || e.filter.type !== "value" ? [] : [e.option ?? {
9181
+ }, z = (e) => p.value.filterHasMoreMap.value[e] ?? !1, B = (e) => p.value.filterLoadingMap.value[e] ?? !1, V = (e) => p.value.filterLoadingMoreMap.value[e] ?? !1, H = (e) => p.value.filterSearchQueries.value[e] ?? "", ee = (t) => e.filterSuggestions.flatMap((e) => e.field !== t || e.filter.type !== "value" ? [] : [e.option ?? {
9182
9182
  label: e.label,
9183
9183
  value: e.filter.value
9184
- }]), H = (e) => [
9185
- ...te(e),
9184
+ }]), U = (e) => [
9185
+ ...ee(e),
9186
9186
  ...L(e),
9187
9187
  ...R(e)
9188
- ], U = (e) => {
9188
+ ], W = (e) => {
9189
9189
  if (typeof e != "object" || !e || !("field" in e)) return [];
9190
- let t = e, n = typeof t.field == "string" ? t.field : null, r = Array.isArray(t.children) ? t.children.flatMap(U) : [];
9190
+ let t = e, n = typeof t.field == "string" ? t.field : null, r = Array.isArray(t.children) ? t.children.flatMap(W) : [];
9191
9191
  return n ? [n, ...r] : r;
9192
- }, W = r(() => {
9192
+ }, G = r(() => {
9193
9193
  let t = /* @__PURE__ */ new Set();
9194
9194
  for (let n of e.colDefs) {
9195
9195
  let e = D(n);
9196
9196
  for (let n of Array.isArray(e.aggregateFields) ? e.aggregateFields : []) n && t.add(n);
9197
- for (let n of U(e.aggregateFieldHierarchy)) n && t.add(n);
9197
+ for (let n of W(e.aggregateFieldHierarchy)) n && t.add(n);
9198
9198
  for (let n of e.filterGroup?.fields ?? []) n && t.add(n);
9199
9199
  }
9200
9200
  return t;
9201
- }), ne = (e) => {
9202
- let t = O(e), n = D(e), r = Array.isArray(n.aggregateFields) ? n.aggregateFields.filter(Boolean) : [], i = U(n.aggregateFieldHierarchy);
9201
+ }), te = (e) => {
9202
+ let t = O(e), n = D(e), r = Array.isArray(n.aggregateFields) ? n.aggregateFields.filter(Boolean) : [], i = W(n.aggregateFieldHierarchy);
9203
9203
  return Array.from(new Set([
9204
9204
  t,
9205
9205
  ...r,
9206
9206
  ...i
9207
9207
  ].filter(Boolean)));
9208
- }, K = (e) => _.value === "advanced" && Ll(e), ie = (e, t) => K(e) ? ql({
9208
+ }, q = (e) => _.value === "advanced" && Ll(e), J = (e, t) => q(e) ? ql({
9209
9209
  colDef: e,
9210
9210
  model: v.value,
9211
9211
  options: t
9212
- }) : new Map(ne(e).map((e) => [e, y.value.get(e)?.values ?? []])), ae = (e, t, n, r) => {
9212
+ }) : new Map(te(e).map((e) => [e, y.value.get(e)?.values ?? []])), re = (e, t, n, r) => {
9213
9213
  let i = /* @__PURE__ */ new Set();
9214
9214
  for (let t of Ol(r)) for (let [r, a] of n) for (let n of a) kl(t, r, n, e) && i.add(`${r}:${n}`);
9215
9215
  return [...n.entries()].flatMap(([t, n]) => n.flatMap((n) => i.has(`${t}:${n}`) ? [] : [{
@@ -9218,19 +9218,19 @@ function tf(e, t, n) {
9218
9218
  metadata: { rawValue: n },
9219
9219
  value: t === e ? n : Tl(t, n)
9220
9220
  }]));
9221
- }, q = (e, t, n) => {
9221
+ }, ie = (e, t, n) => {
9222
9222
  let r = /* @__PURE__ */ new Set();
9223
9223
  for (let i of Ol(n)) {
9224
9224
  let n = Dl(i, e), a = El(i);
9225
9225
  a !== null && t.get(n)?.includes(a) && r.add(i.value);
9226
9226
  }
9227
9227
  return Array.from(r);
9228
- }, oe = (t) => Object.fromEntries(ne(t).map((t) => [t, e.focusedValues[t] ?? []])), J = (t) => e.colDefs.find((e) => O(e) === t || e.field === t || e.colId === t), se = (e) => J(e)?.headerName ?? e, ce = (e) => {
9228
+ }, ae = (t) => Object.fromEntries(te(t).map((t) => [t, e.focusedValues[t] ?? []])), Y = (t) => e.colDefs.find((e) => O(e) === t || e.field === t || e.colId === t), oe = (e) => Y(e)?.headerName ?? e, se = (e) => {
9229
9229
  let t = D(e);
9230
- return typeof t.filterPanelSearchPlaceholder == "string" ? t.filterPanelSearchPlaceholder : Yu(O(e), t.queryColIds, se);
9231
- }, Y = (e, t) => Zu({
9230
+ return typeof t.filterPanelSearchPlaceholder == "string" ? t.filterPanelSearchPlaceholder : Yu(O(e), t.queryColIds, oe);
9231
+ }, ce = (e, t) => Zu({
9232
9232
  fallbackSubText: e.subText,
9233
- getDisplayName: se,
9233
+ getDisplayName: oe,
9234
9234
  matchedField: e.matchedField,
9235
9235
  matchedValue: e.matchedValue,
9236
9236
  primaryText: e.label,
@@ -9238,16 +9238,16 @@ function tf(e, t, n) {
9238
9238
  }), X = (e, t) => e.map((e) => ({
9239
9239
  ...e,
9240
9240
  children: e.children?.length ? X(e.children, t) : e.children,
9241
- subText: Y(e, t)
9241
+ subText: ce(e, t)
9242
9242
  })), le = (e) => {
9243
9243
  let t = D(e).filterGroup;
9244
9244
  if (t?.fields.length) return t.fields.map((e) => ({
9245
9245
  field: e,
9246
9246
  isActive: y.value.get(e)?.booleanValue === !0,
9247
- label: J(e)?.headerName ?? e
9247
+ label: Y(e)?.headerName ?? e
9248
9248
  }));
9249
- }, ue = (e) => fe.value.find((t) => t.key === e) ?? fe.value.find((t) => ne(t.colDef).includes(e)), de = (e, t, n) => Ol(ue(e)?.knownOptions ?? []).find((r) => r.value === n || kl(r, t, n, e)), fe = r(() => e.colDefs.filter(I).map((t) => {
9250
- let n = O(t), r = D(t), i = M(t), a = X(L(n), t), o = X(H(n), t), s = {
9249
+ }, ue = (e) => fe.value.find((t) => t.key === e) ?? fe.value.find((t) => te(t.colDef).includes(e)), de = (e, t, n) => Ol(ue(e)?.knownOptions ?? []).find((r) => r.value === n || kl(r, t, n, e)), fe = r(() => e.colDefs.filter(I).map((t) => {
9250
+ let n = O(t), r = D(t), i = M(t), a = X(L(n), t), o = X(U(n), t), s = {
9251
9251
  category: N(t),
9252
9252
  colDef: t,
9253
9253
  controlled: r.filterPanelControlled === !0,
@@ -9269,10 +9269,10 @@ function tf(e, t, n) {
9269
9269
  hideOptionsSortDescription: r.filterPanelHideOptionsSortDescription,
9270
9270
  hideSearch: r.filterPanelHideSearch,
9271
9271
  focusedValues: e.focusedValues[n] ?? [],
9272
- focusedValuesByField: oe(t),
9272
+ focusedValuesByField: ae(t),
9273
9273
  hasMore: z(n),
9274
- isAggregate: K(t),
9275
- isFocusable: e.enableFocusView && (!e.focusableFields.length || ne(t).some((t) => e.focusableFields.includes(t))),
9274
+ isAggregate: q(t),
9275
+ isFocusable: e.enableFocusView && (!e.focusableFields.length || te(t).some((t) => e.focusableFields.includes(t))),
9276
9276
  isLoading: B(n),
9277
9277
  isLoadingMore: V(n),
9278
9278
  isOpen: !1,
@@ -9286,8 +9286,8 @@ function tf(e, t, n) {
9286
9286
  rangeScale: r.filterPanelRange?.scale,
9287
9287
  rangeSliderStep: A(r.filterPanelRange?.sliderStep),
9288
9288
  rangeStep: A(r.filterPanelRange?.step),
9289
- searchPlaceholder: ce(t),
9290
- searchQuery: ee(n) ?? "",
9289
+ searchPlaceholder: se(t),
9290
+ searchQuery: H(n) ?? "",
9291
9291
  singleSelect: r.filterPanelSingleSelect === !0,
9292
9292
  type: i,
9293
9293
  valueDecimals: r.valueDecimals ?? null,
@@ -9308,7 +9308,7 @@ function tf(e, t, n) {
9308
9308
  ...s,
9309
9309
  existsValue: y.value.get(n)?.existsValue ?? !1
9310
9310
  };
9311
- 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 = K(t) ? Kl({
9311
+ let c = o, u = e.controlledValues[n] ?? [], d = s.controlled ? new Map([[n, u]]) : J(t, c), f = re(n, t, d, c), p = [...c, ...f], m = q(t) ? Kl({
9312
9312
  colDef: t,
9313
9313
  model: v.value,
9314
9314
  options: p
@@ -9318,7 +9318,7 @@ function tf(e, t, n) {
9318
9318
  aggregateSelectionState: m,
9319
9319
  knownOptions: p,
9320
9320
  options: a,
9321
- selectedValues: s.controlled ? u : m ? m.flatMap((e) => e.state === "selected" ? [e.id] : []) : q(n, d, p)
9321
+ selectedValues: s.controlled ? u : m ? m.flatMap((e) => e.state === "selected" ? [e.id] : []) : ie(n, d, p)
9322
9322
  };
9323
9323
  })), Z = r(() => fe.value.flatMap((e) => {
9324
9324
  if (e.controlled) return [];
@@ -9381,9 +9381,9 @@ function tf(e, t, n) {
9381
9381
  if (e) {
9382
9382
  n.add(e);
9383
9383
  let t = ue(e);
9384
- t && (n.add(t.key), ne(t.colDef).forEach((e) => n.add(e)));
9384
+ t && (n.add(t.key), te(t.colDef).forEach((e) => n.add(e)));
9385
9385
  }
9386
- for (let r of fe.value) r.type === "value" && (e && (n.has(r.key) || ne(r.colDef).some((e) => n.has(e))) || (t.filterStaleMap.value[r.key] = !0));
9386
+ for (let r of fe.value) r.type === "value" && (e && (n.has(r.key) || te(r.colDef).some((e) => n.has(e))) || (t.filterStaleMap.value[r.key] = !0));
9387
9387
  }, Ce = (r, a, s, c) => {
9388
9388
  E(r);
9389
9389
  let l = v.value, u = p.value;
@@ -9477,7 +9477,7 @@ function tf(e, t, n) {
9477
9477
  Fe(e, t.value);
9478
9478
  return;
9479
9479
  }
9480
- let n = t.field ?? e, r = J(n) ?? ue(e)?.colDef;
9480
+ let n = t.field ?? e, r = Y(n) ?? ue(e)?.colDef;
9481
9481
  if (t.type === "value") {
9482
9482
  let r = ue(e), i = de(e, n, t.value);
9483
9483
  if (r?.isAggregate && i) {
@@ -9507,7 +9507,7 @@ function tf(e, t, n) {
9507
9507
  }, Re = (e, t, n, r) => {
9508
9508
  let i = p.value;
9509
9509
  if (!Le(e, t, n, r) || !i) return;
9510
- let a = Array.from(new Set([...ie(e.colDef, e.knownOptions ?? []).values()].flat()));
9510
+ let a = Array.from(new Set([...J(e.colDef, e.knownOptions ?? []).values()].flat()));
9511
9511
  i.fetchFilterOptions({
9512
9512
  colDef: e.colDef,
9513
9513
  field: e.key,
@@ -9560,7 +9560,7 @@ function tf(e, t, n) {
9560
9560
  n("controlled-change", t, l, s.colDef);
9561
9561
  return;
9562
9562
  }
9563
- ye(t, r, l, a ? o : void 0), Ce(Ld(v.value, r, l, _.value, J(r) ?? s?.colDef), "value-toggle", r, "value");
9563
+ ye(t, r, l, a ? o : void 0), Ce(Ld(v.value, r, l, _.value, Y(r) ?? s?.colDef), "value-toggle", r, "value");
9564
9564
  };
9565
9565
  return {
9566
9566
  resolvedFilters: fe,
@@ -9573,7 +9573,7 @@ function tf(e, t, n) {
9573
9573
  activeFilterModel: v,
9574
9574
  effectiveFilterStore: p,
9575
9575
  findResolvedFilter: ue,
9576
- getRepresentedFields: ne,
9576
+ getRepresentedFields: te,
9577
9577
  activateFilter: We,
9578
9578
  applyStagedFilters: Me,
9579
9579
  cancelStagedFilters: Ne,
@@ -9598,15 +9598,15 @@ function tf(e, t, n) {
9598
9598
  removeAppliedFilter: (e, t, n) => {
9599
9599
  let r = n ?? ue(e)?.type ?? "value";
9600
9600
  if (r === "range" || !n && t === Zd) {
9601
- Ce(Id(v.value, e, null, null, _.value, J(e) ?? ue(e)?.colDef), "remove-filter", e, "range");
9601
+ Ce(Id(v.value, e, null, null, _.value, Y(e) ?? ue(e)?.colDef), "remove-filter", e, "range");
9602
9602
  return;
9603
9603
  }
9604
9604
  if (r === "boolean" || !n && t === Qd) {
9605
- Ce(Pd(v.value, e, null, _.value, "boolean", J(e) ?? ue(e)?.colDef), "remove-filter", e, "boolean");
9605
+ Ce(Pd(v.value, e, null, _.value, "boolean", Y(e) ?? ue(e)?.colDef), "remove-filter", e, "boolean");
9606
9606
  return;
9607
9607
  }
9608
9608
  if (r === "exists" || !n && t === $d) {
9609
- Ce(Fd(v.value, e, !1, "text", _.value, J(e) ?? ue(e)?.colDef), "remove-filter", e, "exists");
9609
+ Ce(Fd(v.value, e, !1, "text", _.value, Y(e) ?? ue(e)?.colDef), "remove-filter", e, "exists");
9610
9610
  return;
9611
9611
  }
9612
9612
  let i = ue(e);
@@ -9621,7 +9621,7 @@ function tf(e, t, n) {
9621
9621
  return;
9622
9622
  }
9623
9623
  let a = (y.value.get(e)?.values ?? []).filter((e) => e !== t);
9624
- ye(ue(e)?.key ?? e, e, a), Ce(Ld(v.value, e, a, _.value, J(e) ?? ue(e)?.colDef), "remove-filter", e, "value");
9624
+ ye(ue(e)?.key ?? e, e, a), Ce(Ld(v.value, e, a, _.value, Y(e) ?? ue(e)?.colDef), "remove-filter", e, "value");
9625
9625
  },
9626
9626
  setFacetSelections: Ge,
9627
9627
  usesHandlerFacets: $
@@ -9745,13 +9745,13 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
9745
9745
  "suggestion-click"
9746
9746
  ], ["update:filterModel", "update:isCollapsed"]),
9747
9747
  setup(e, { emit: n }) {
9748
- let c = e, l = B(e, "filterModel"), d = B(e, "isCollapsed"), f = n, { resolvedFilters: p, appliedGroups: m, appliedCount: h, showClearAll: g, visibleSuggestions: _, activateFilter: v, applyStagedFilters: y, cancelStagedFilters: b, clearAllFilters: S, getSuggestionKey: C, handleControlChange: w, handleLoadMore: T, handleSearchChange: E, handleSuggestionClick: O, removeAppliedFilter: M } = tf(c, l, f), N = k("filters"), P = k({}), F = k(null), R = k(!1), z = k(!1), V = k(""), ee = r(() => c.enableFilterSearch ? V.value.trim().toLowerCase() : ""), te = r(() => ee.value.length > 0), H = (e) => e.label.toLowerCase().includes(ee.value);
9749
- G(te, (e) => {
9748
+ let c = e, l = B(e, "filterModel"), d = B(e, "isCollapsed"), f = n, { resolvedFilters: p, appliedGroups: m, appliedCount: h, showClearAll: g, visibleSuggestions: _, activateFilter: v, applyStagedFilters: y, cancelStagedFilters: b, clearAllFilters: S, getSuggestionKey: C, handleControlChange: w, handleLoadMore: T, handleSearchChange: E, handleSuggestionClick: O, removeAppliedFilter: M } = tf(c, l, f), N = k("filters"), P = k({}), F = k(null), R = k(!1), z = k(!1), V = k(""), H = r(() => c.enableFilterSearch ? V.value.trim().toLowerCase() : ""), ee = r(() => H.value.length > 0), U = (e) => e.label.toLowerCase().includes(H.value);
9749
+ K(ee, (e) => {
9750
9750
  e && (F.value = null);
9751
- }), G(F, (e) => {
9751
+ }), K(F, (e) => {
9752
9752
  e !== null && (V.value = "");
9753
9753
  });
9754
- let U = (e) => e.colDef.context?.filterCollapsedByDefault === !0, W = r(() => te.value ? p.value.filter(H) : F.value === null ? p.value : p.value.filter((e) => e.category === F.value)), re = r(() => W.value.filter((e) => !U(e))), ae = r(() => W.value.filter(U)), q = r(() => F.value !== null), oe = r(() => q.value || te.value || R.value ? [...re.value, ...ae.value] : re.value), J = r(() => te.value ? "No filters match your search." : "No filters in this category."), se = r(() => `${R.value ? "Hide" : "Show"} ${c.collapsedFilterDisplayLabel}`), ce = r(() => N.value === "filters" && !q.value && !te.value && ae.value.length > 0), Y = r(() => c.externalFilters.filter((e) => e.values.length > 0)), X = r(() => Y.value.filter((e) => e.removable !== !1)), le = r(() => Y.value.reduce((e, t) => e + t.values.length, 0)), ue = r(() => X.value.reduce((e, t) => e + t.values.length, 0)), de = r(() => h.value + le.value), fe = r(() => g.value || ue.value > 0), Z = r(() => !c.readOnly && (fe.value || c.staged)), pe = r(() => oe.value.map((e) => ({
9754
+ let W = (e) => e.colDef.context?.filterCollapsedByDefault === !0, G = r(() => ee.value ? p.value.filter(U) : F.value === null ? p.value : p.value.filter((e) => e.category === F.value)), ne = r(() => G.value.filter((e) => !W(e))), re = r(() => G.value.filter(W)), ie = r(() => F.value !== null), ae = r(() => ie.value || ee.value || R.value ? [...ne.value, ...re.value] : ne.value), Y = r(() => ee.value ? "No filters match your search." : "No filters in this category."), oe = r(() => `${R.value ? "Hide" : "Show"} ${c.collapsedFilterDisplayLabel}`), se = r(() => N.value === "filters" && !ie.value && !ee.value && re.value.length > 0), ce = r(() => c.externalFilters.filter((e) => e.values.length > 0)), X = r(() => ce.value.filter((e) => e.removable !== !1)), le = r(() => ce.value.reduce((e, t) => e + t.values.length, 0)), ue = r(() => X.value.reduce((e, t) => e + t.values.length, 0)), de = r(() => h.value + le.value), fe = r(() => g.value || ue.value > 0), Z = r(() => !c.readOnly && (fe.value || c.staged)), pe = r(() => ae.value.map((e) => ({
9755
9755
  ...e,
9756
9756
  isOpen: P.value[e.key] ?? e.isOpen ?? !1
9757
9757
  }))), me = r(() => [{
@@ -9801,7 +9801,7 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
9801
9801
  variant: "secondary",
9802
9802
  onClick: r[0] ||= (e) => d.value = !0
9803
9803
  }))]),
9804
- s("div", af, [ie(s("div", of, [
9804
+ s("div", af, [J(s("div", of, [
9805
9805
  !e.readOnly && L(_).length ? (D(), o("section", sf, [r[8] ||= s("p", { class: "pv-filter-panel-section-title pv-text-title-sm pv-text-subdued" }, "Suggestions", -1), s("div", cf, [(D(!0), o(t, null, A(L(_), (e) => (D(), i(ri, {
9806
9806
  key: L(C)(e),
9807
9807
  icon: e.icon,
@@ -9832,7 +9832,7 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
9832
9832
  "onUpdate:modelValue": r[2] ||= (e) => V.value = e,
9833
9833
  placeholder: e.filterSearchPlaceholder
9834
9834
  }, null, 8, ["modelValue", "placeholder"])])) : a("", !0),
9835
- L(p).length ? W.value.length ? (D(), o("div", ff, [(D(!0), o(t, null, A(pe.value, (t) => (D(), i(Nu, {
9835
+ L(p).length ? G.value.length ? (D(), o("div", ff, [(D(!0), o(t, null, A(pe.value, (t) => (D(), i(Nu, {
9836
9836
  key: t.key,
9837
9837
  "disable-while-loading": e.disableWhileLoading,
9838
9838
  filter: t,
@@ -9849,17 +9849,17 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
9849
9849
  "onLoadMore",
9850
9850
  "onOpenChange",
9851
9851
  "onSearchChange"
9852
- ]))), 128)), ce.value ? (D(), i($, {
9852
+ ]))), 128)), se.value ? (D(), i($, {
9853
9853
  key: 0,
9854
9854
  class: "pv-filter-panel-collapsed-filters-toggle pv-text-brand",
9855
- label: se.value,
9855
+ label: oe.value,
9856
9856
  variant: "ghost",
9857
9857
  onClick: r[5] ||= (e) => R.value = !R.value
9858
- }, null, 8, ["label"])) : a("", !0)])) : (D(), o("div", df, I(J.value), 1)) : (D(), o("div", uf, " No filters available. "))
9859
- ], 512), [[ne, N.value === "filters"]]), ie(u(Vu, {
9858
+ }, null, 8, ["label"])) : a("", !0)])) : (D(), o("div", df, I(Y.value), 1)) : (D(), o("div", uf, " No filters available. "))
9859
+ ], 512), [[te, N.value === "filters"]]), J(u(Vu, {
9860
9860
  "applied-count": L(h),
9861
9861
  "applied-groups": L(m),
9862
- "external-filters": Y.value,
9862
+ "external-filters": ce.value,
9863
9863
  "read-only": e.readOnly,
9864
9864
  onRemoveExternalFilter: r[6] ||= (e, t) => f("remove-external-filter", e, t),
9865
9865
  onRemoveFilter: L(M)
@@ -9869,7 +9869,7 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
9869
9869
  "external-filters",
9870
9870
  "read-only",
9871
9871
  "onRemoveFilter"
9872
- ]), [[ne, N.value === "applied"]])]),
9872
+ ]), [[te, N.value === "applied"]])]),
9873
9873
  Z.value ? (D(), o("div", pf, [s("div", mf, [fe.value && !e.readOnly ? (D(), i($, {
9874
9874
  key: 0,
9875
9875
  class: "pv-text-brand",
@@ -9891,8 +9891,8 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
9891
9891
  header: e.clearAllHeader,
9892
9892
  style: { "--max-width": "440px" }
9893
9893
  }, {
9894
- body: K(() => [s("p", hf, I(e.clearAllBody), 1)]),
9895
- footer: K(() => [s("div", gf, [u($, {
9894
+ body: q(() => [s("p", hf, I(e.clearAllBody), 1)]),
9895
+ footer: q(() => [s("div", gf, [u($, {
9896
9896
  label: e.cancelLabel,
9897
9897
  variant: "ghost",
9898
9898
  onClick: ve
@@ -9938,7 +9938,7 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
9938
9938
  class: "pv-toggle-ghost",
9939
9939
  for: i.value
9940
9940
  }, [
9941
- ie(s("input", {
9941
+ J(s("input", {
9942
9942
  "onUpdate:modelValue": r[0] ||= (e) => n.value = e,
9943
9943
  class: "pv-hide",
9944
9944
  id: i.value,
@@ -9946,7 +9946,7 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
9946
9946
  value: e.value,
9947
9947
  name: e.name,
9948
9948
  disabled: e.disabled
9949
- }, null, 8, yf), [[H, n.value]]),
9949
+ }, null, 8, yf), [[U, n.value]]),
9950
9950
  e.label ? (D(), o("span", bf, I(e.label), 1)) : a("", !0),
9951
9951
  s("span", xf, I(e.rightCounterBadge), 1)
9952
9952
  ], 8, vf));
@@ -10092,7 +10092,7 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
10092
10092
  let c = e, l = B(e, "filterModel"), d = B(e, "visible"), f = n, { resolvedFilters: p, activateFilter: m, applyStagedFilters: h, cancelStagedFilters: g, handleControlChange: _, handleFacetChange: v, setFacetSelections: b, usesHandlerFacets: C } = tf(c, l, f), w = k(null), T = z(), E = k(""), O = r(() => p.value.filter((e) => e.type === "value")), M = r(() => {
10093
10093
  let e = O.value;
10094
10094
  return e.find((e) => e.key === w.value) ?? e[0] ?? null;
10095
- }), P = r(() => M.value?.isAggregate === !0), F = r(() => M.value?.aggregateSelectionState ?? []), R = r(() => new Set(M.value?.selectedValues ?? [])), V = r(() => E.value.trim().toLowerCase()), ee = (e) => {
10095
+ }), P = r(() => M.value?.isAggregate === !0), F = r(() => M.value?.aggregateSelectionState ?? []), R = r(() => new Set(M.value?.selectedValues ?? [])), V = r(() => E.value.trim().toLowerCase()), H = (e) => {
10096
10096
  let t = typeof e.metadata == "object" && e.metadata !== null ? Object.values(e.metadata) : [];
10097
10097
  return [
10098
10098
  e.value,
@@ -10102,57 +10102,57 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
10102
10102
  e.matchedValue,
10103
10103
  e.matchedField
10104
10104
  ].concat(t.flatMap((e) => e == null ? [] : [String(e)])).filter((e) => !!e).join(" ").toLowerCase();
10105
- }, te = r(() => {
10105
+ }, ee = r(() => {
10106
10106
  let e = M.value;
10107
10107
  if (!e) return {};
10108
10108
  let t = {};
10109
10109
  for (let n of Ol([...e.knownOptions ?? [], ...e.options ?? []])) t[n.value] = n;
10110
10110
  return t;
10111
- }), H = r(() => M.value?.colDef.context?.filterPanel ?? {}), U = k(Object.fromEntries(O.value.flatMap((e) => {
10111
+ }), U = r(() => M.value?.colDef.context?.filterPanel ?? {}), W = k(Object.fromEntries(O.value.flatMap((e) => {
10112
10112
  let t = e.colDef.context?.filterPanel, n = Object.fromEntries(Object.entries(t ?? {}).flatMap(([e, t]) => t.initial?.length ? [[e, t.initial]] : []));
10113
10113
  return Object.keys(n).length ? [[e.key, n]] : [];
10114
10114
  })));
10115
- for (let [e, t] of Object.entries(U.value)) b(e, t);
10115
+ for (let [e, t] of Object.entries(W.value)) b(e, t);
10116
10116
  S(() => {
10117
- for (let e of Object.keys(U.value)) b(e, {});
10117
+ for (let e of Object.keys(W.value)) b(e, {});
10118
10118
  });
10119
- let W = (e) => {
10119
+ let G = (e) => {
10120
10120
  let t = M.value?.key;
10121
- return t && U.value[t]?.[e] || [];
10122
- }, ne = () => {
10121
+ return t && W.value[t]?.[e] || [];
10122
+ }, te = () => {
10123
10123
  let e = M.value?.key;
10124
10124
  if (!e) return {};
10125
- let t = U.value[e] ?? {};
10126
- return Object.fromEntries(Object.keys(H.value).filter((e) => t[e]?.length).map((e) => [e, t[e]]));
10127
- }, re = (e) => e.map((e) => ({
10125
+ let t = W.value[e] ?? {};
10126
+ return Object.fromEntries(Object.keys(U.value).filter((e) => t[e]?.length).map((e) => [e, t[e]]));
10127
+ }, ne = (e) => e.map((e) => ({
10128
10128
  id: e,
10129
10129
  text: e
10130
- })), ie = (e, t) => {
10131
- let n = new Set(W(e));
10132
- return re(t).filter((e) => n.has(e.id));
10133
- }, ae = (e, t) => {
10130
+ })), J = (e, t) => {
10131
+ let n = new Set(G(e));
10132
+ return ne(t).filter((e) => n.has(e.id));
10133
+ }, re = (e, t) => {
10134
10134
  let n = M.value;
10135
- n && (U.value[n.key] = {
10136
- ...U.value[n.key],
10135
+ n && (W.value[n.key] = {
10136
+ ...W.value[n.key],
10137
10137
  [e]: t.map((e) => e.id)
10138
10138
  });
10139
- }, q = r(() => Object.keys(H.value).map((e) => [e, new Set(W(e))]).filter(([, e]) => e.size > 0)), oe = (e) => q.value.every(([t, n]) => {
10139
+ }, ie = r(() => Object.keys(U.value).map((e) => [e, new Set(G(e))]).filter(([, e]) => e.size > 0)), ae = (e) => ie.value.every(([t, n]) => {
10140
10140
  let r = e.metadata?.filters?.[t];
10141
10141
  return r === void 0 ? C.value : (Array.isArray(r) ? r : [r]).some((e) => n.has(String(e)));
10142
- }), J = r(() => {
10143
- let e = (M.value?.options ?? []).filter(oe), t = V.value;
10144
- return t ? e.filter((e) => ee(e).includes(t)) : e;
10145
- }), se = r(() => P.value || M.value?.singleSelect ? [] : (M.value?.selectedValues ?? []).map((e) => te.value[e] ?? {
10142
+ }), Y = r(() => {
10143
+ let e = (M.value?.options ?? []).filter(ae), t = V.value;
10144
+ return t ? e.filter((e) => H(e).includes(t)) : e;
10145
+ }), oe = r(() => P.value || M.value?.singleSelect ? [] : (M.value?.selectedValues ?? []).map((e) => ee.value[e] ?? {
10146
10146
  label: e,
10147
10147
  value: e
10148
- })), ce = k([]), Y = r(() => new Set(ce.value)), X = () => {
10149
- ce.value = P.value || M.value?.singleSelect ? [] : [...M.value?.selectedValues ?? []];
10148
+ })), se = k([]), ce = r(() => new Set(se.value)), X = () => {
10149
+ se.value = P.value || M.value?.singleSelect ? [] : [...M.value?.selectedValues ?? []];
10150
10150
  };
10151
10151
  X();
10152
- let le = r(() => P.value || M.value?.singleSelect ? J.value : [...(M.value?.selectedValues ?? []).filter((e) => !J.value.some((t) => t.value === e)).map((e) => te.value[e] ?? {
10152
+ let le = r(() => P.value || M.value?.singleSelect ? Y.value : [...(M.value?.selectedValues ?? []).filter((e) => !Y.value.some((t) => t.value === e)).map((e) => ee.value[e] ?? {
10153
10153
  label: e,
10154
10154
  value: e
10155
- }), ...J.value]), ue = r(() => {
10155
+ }), ...Y.value]), ue = r(() => {
10156
10156
  let e = /* @__PURE__ */ new Map();
10157
10157
  for (let t of le.value) {
10158
10158
  let n = t.section ?? "";
@@ -10169,7 +10169,7 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
10169
10169
  key: t,
10170
10170
  label: r?.label ?? t,
10171
10171
  section: r,
10172
- options: [...i.filter((e) => Y.value.has(e.value)), ...i.filter((e) => !Y.value.has(e.value))]
10172
+ options: [...i.filter((e) => ce.value.has(e.value)), ...i.filter((e) => !ce.value.has(e.value))]
10173
10173
  };
10174
10174
  });
10175
10175
  }), fe = r(() => P.value && M.value ? au({
@@ -10204,13 +10204,13 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
10204
10204
  });
10205
10205
  }
10206
10206
  }, ve = () => {
10207
- for (let e of J.value) pe(e).selected || _e(e, !0);
10207
+ for (let e of Y.value) pe(e).selected || _e(e, !0);
10208
10208
  }, ye = () => {
10209
10209
  if (P.value) {
10210
10210
  for (let e of Ol(M.value?.knownOptions ?? [])) pe(e).selected && _e(e, !1);
10211
10211
  return;
10212
10212
  }
10213
- for (let e of se.value) _e(e, !1);
10213
+ for (let e of oe.value) _e(e, !1);
10214
10214
  }, be = () => {
10215
10215
  M.value && f("load-more", M.value.key, M.value.colDef, E.value.trim());
10216
10216
  }, xe = r({
@@ -10219,13 +10219,13 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
10219
10219
  w.value = e;
10220
10220
  }
10221
10221
  });
10222
- return G(() => M.value?.key, (e) => {
10222
+ return K(() => M.value?.key, (e) => {
10223
10223
  E.value = M.value?.searchQuery ?? "", X(), e && d.value && M.value && m(M.value);
10224
- }), G(d, (e) => {
10224
+ }), K(d, (e) => {
10225
10225
  e && (X(), M.value && m(M.value));
10226
- }), de([() => M.value?.key, U], () => {
10226
+ }), de([() => M.value?.key, W], () => {
10227
10227
  let e = M.value;
10228
- e && v(e, ne(), E.value.trim());
10228
+ e && v(e, te(), E.value.trim());
10229
10229
  }, {
10230
10230
  debounce: 300,
10231
10231
  deep: !0,
@@ -10245,8 +10245,8 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
10245
10245
  offset: 8,
10246
10246
  "z-index": 1e3
10247
10247
  }, {
10248
- trigger: K(() => [j(n.$slots, "trigger", {}, void 0, !0)]),
10249
- content: K(() => [s("div", {
10248
+ trigger: q(() => [j(n.$slots, "trigger", {}, void 0, !0)]),
10249
+ content: q(() => [s("div", {
10250
10250
  class: "pv-surface pv-bordered pv-radius-lg pv-inset-square-12",
10251
10251
  role: "dialog",
10252
10252
  "aria-label": e.ariaLabel,
@@ -10280,14 +10280,14 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
10280
10280
  "disabled",
10281
10281
  "placeholder"
10282
10282
  ]),
10283
- Object.keys(H.value).length ? (D(), o("div", Df, [(D(!0), o(t, null, A(H.value, (e, t) => (D(), i(Mo, {
10283
+ Object.keys(U.value).length ? (D(), o("div", Df, [(D(!0), o(t, null, A(U.value, (e, t) => (D(), i(Mo, {
10284
10284
  key: `facet-${t}`,
10285
10285
  disabled: M.value?.disabled,
10286
10286
  label: e.headerName || L(Se)(t),
10287
- "model-value": ie(t, e.values),
10288
- options: re(e.values),
10287
+ "model-value": J(t, e.values),
10288
+ options: ne(e.values),
10289
10289
  variant: "secondary",
10290
- "onUpdate:modelValue": (e) => ae(t, e)
10290
+ "onUpdate:modelValue": (e) => re(t, e)
10291
10291
  }, null, 8, [
10292
10292
  "disabled",
10293
10293
  "label",
@@ -10347,7 +10347,7 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
10347
10347
  "value",
10348
10348
  "onToggleValue"
10349
10349
  ])], 2))), 128))]))), 128))]),
10350
- J.value.length ? a("", !0) : (D(), o("p", jf, " No matching values. ")),
10350
+ Y.value.length ? a("", !0) : (D(), o("p", jf, " No matching values. ")),
10351
10351
  M.value.hasMore ? (D(), i($, {
10352
10352
  key: 1,
10353
10353
  class: "pv-text-brand",
@@ -10411,15 +10411,15 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
10411
10411
  }, [j(n.$slots, "default", {}, void 0, !0), e.options.length ? (D(), o("div", If, [u(nc, {
10412
10412
  variant: e.variant,
10413
10413
  "data-testid": "pv-hover-action-menu-actions",
10414
- onClick: r[0] ||= q(() => {}, ["stop"])
10414
+ onClick: r[0] ||= ie(() => {}, ["stop"])
10415
10415
  }, {
10416
- default: K(() => [s("div", Lf, [(D(!0), o(t, null, A(e.options, (t) => (D(), i(ir, {
10416
+ default: q(() => [s("div", Lf, [(D(!0), o(t, null, A(e.options, (t) => (D(), i(ir, {
10417
10417
  key: t.id,
10418
10418
  variant: "dark",
10419
10419
  position: "top-center",
10420
10420
  description: t.icon ? t.text : void 0
10421
10421
  }, {
10422
- trigger: K(() => [u($, {
10422
+ trigger: q(() => [u($, {
10423
10423
  variant: "ghost",
10424
10424
  size: "md",
10425
10425
  leftIcon: t.icon,
@@ -10579,21 +10579,21 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
10579
10579
  width: "100%",
10580
10580
  maxWidth: "100%",
10581
10581
  "--popover-list-item-hover-background-color": "var(--surface-card-hover, #ece8e2)"
10582
- }, f = ee("search-input"), p = B(e, "searchText"), m = B(e, "query"), h = B(e, "options"), { addQueryOption: g, containsQueryOption: b, removeQueryOption: S } = zf(), C = k(!1), w = k(!1), T = k(!1), E = V(), O = r(() => !!(E.header || E.footer || E.empty)), M = z(), N = `${M}-options`, P = (e) => `${M}-option-${e}`, F = (e) => `${M}-group-${e}`, R = r(() => q.value.length > 0 || n.optionsLoading || O.value), te = r(() => m.value === null ? n.placeholder : ""), H = k(null), U = r(() => H.value !== null && H.value !== "" && !w.value), re = () => {
10583
- m.value = null, p.value = "", H.value = null, T.value = !1;
10582
+ }, f = H("search-input"), p = B(e, "searchText"), m = B(e, "query"), h = B(e, "options"), { addQueryOption: g, containsQueryOption: b, removeQueryOption: S } = zf(), C = k(!1), w = k(!1), T = k(!1), E = V(), O = r(() => !!(E.header || E.footer || E.empty)), M = z(), N = `${M}-options`, P = (e) => `${M}-option-${e}`, F = (e) => `${M}-group-${e}`, R = r(() => ae.value.length > 0 || n.optionsLoading || O.value), ee = r(() => m.value === null ? n.placeholder : ""), U = k(null), W = r(() => U.value !== null && U.value !== "" && !w.value), ne = () => {
10583
+ m.value = null, p.value = "", U.value = null, T.value = !1;
10584
10584
  };
10585
- J("Enter", (e) => {
10586
- let t = X.value;
10585
+ Y("Enter", (e) => {
10586
+ let t = le.value;
10587
10587
  if (t) {
10588
- e.preventDefault(), me(t);
10588
+ e.preventDefault(), he(t);
10589
10589
  return;
10590
10590
  }
10591
- n.enableCustomOptionsInput && p.value.trim() && ae();
10592
- }, { target: f }), J(["ArrowDown", "ArrowUp"], (e) => {
10593
- se.value.length !== 0 && (e.preventDefault(), C.value = !0, de(e.key === "ArrowDown" ? 1 : -1));
10594
- }, { target: f }), J("Escape", () => {
10595
- C.value && (C.value = !1, Y.value = -1);
10596
- }, { target: f }), J("Backspace", () => {
10591
+ n.enableCustomOptionsInput && p.value.trim() && re();
10592
+ }, { target: f }), Y(["ArrowDown", "ArrowUp"], (e) => {
10593
+ se.value.length !== 0 && (e.preventDefault(), C.value = !0, fe(e.key === "ArrowDown" ? 1 : -1));
10594
+ }, { target: f }), Y("Escape", () => {
10595
+ C.value && (C.value = !1, X.value = -1);
10596
+ }, { target: f }), Y("Backspace", () => {
10597
10597
  if (p.value !== "") return;
10598
10598
  let e = m.value?.queryTerms;
10599
10599
  if (!e || e.length === 0) return;
@@ -10604,61 +10604,65 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
10604
10604
  queryTerm: t
10605
10605
  }), m.value?.queryTerms.length === 0 && (m.value = null);
10606
10606
  }, { target: f });
10607
- let ae = () => {
10607
+ let re = () => {
10608
10608
  p.value.trim() && (m.value = g(m.value, {
10609
10609
  id: p.value.trim(),
10610
10610
  text: p.value,
10611
10611
  queryTerm: { queryText: p.value }
10612
- }), _e());
10613
- }, q = r(() => {
10612
+ }), ve());
10613
+ }, ie = (e) => {
10614
+ let t = e?.queryDisplayField || e?.queryField;
10615
+ if (t) return e?.exactMatch ? t : `Search in ${t}`;
10616
+ }, ae = r(() => {
10614
10617
  if (!h.value || h.value.length === 0) return [];
10615
10618
  let e = h.value;
10616
10619
  return n.processor === "field-only" && (e = h.value.filter((e) => e.queryTerm?.queryField)), m.value && (e = e.filter((e) => !b(m.value, e))), e.map((e) => ({
10617
10620
  ...e,
10621
+ subText: e.subText ?? ie(e.queryTerm),
10618
10622
  searchText: p.value,
10619
10623
  context: e.queryTerm
10620
10624
  }));
10621
10625
  }), oe = r(() => {
10622
10626
  let e = /* @__PURE__ */ new Map();
10623
- for (let t of q.value) {
10627
+ for (let t of ae.value) {
10624
10628
  let n = t.groupingLabel ?? "", r = e.get(n);
10625
10629
  r ? r.push(t) : e.set(n, [t]);
10626
10630
  }
10627
10631
  return Array.from(e.entries());
10628
- }), se = r(() => oe.value.flatMap(([, e]) => e)), ce = r(() => new Map(se.value.map((e, t) => [e, t]))), Y = k(-1), X = r(() => {
10632
+ }), se = r(() => oe.value.flatMap(([, e]) => e)), ce = r(() => new Map(se.value.map((e, t) => [e, t]))), X = k(-1), le = r(() => {
10629
10633
  if (!C.value) return null;
10630
- let e = se.value[Y.value] ?? null;
10634
+ let e = se.value[X.value] ?? null;
10631
10635
  return e?.disabled ? null : e;
10632
- }), le = r(() => X.value ? P(Y.value) : void 0), ue = (e) => {
10636
+ }), ue = r(() => le.value ? P(X.value) : void 0), de = (e) => {
10633
10637
  v(() => {
10634
10638
  document.getElementById(P(e))?.scrollIntoView?.({ block: "nearest" });
10635
10639
  });
10636
- }, de = (e) => {
10640
+ }, fe = (e) => {
10637
10641
  let t = se.value, n = t.length;
10638
10642
  if (n === 0) return;
10639
- let r = Y.value === -1 ? e > 0 ? -1 : 0 : Y.value;
10643
+ let r = X.value === -1 ? e > 0 ? -1 : 0 : X.value;
10640
10644
  for (let i = 1; i <= n; i++) {
10641
10645
  let a = ((r + e * i) % n + n) % n;
10642
10646
  if (!t[a].disabled) {
10643
- Y.value = a, ue(a);
10647
+ X.value = a, de(a);
10644
10648
  return;
10645
10649
  }
10646
10650
  }
10647
- }, fe = (e) => {
10648
- e.disabled || (Y.value = ce.value.get(e) ?? -1);
10651
+ }, pe = (e) => {
10652
+ e.disabled || (X.value = ce.value.get(e) ?? -1);
10649
10653
  };
10650
- G([se, p], () => {
10651
- Y.value = -1;
10652
- }), G([
10653
- q,
10654
+ K([se, p], () => {
10655
+ X.value = -1;
10656
+ }), K([
10657
+ ae,
10654
10658
  p,
10655
10659
  () => n.optionsLoading
10656
10660
  ], ([e, t, n]) => {
10657
10661
  t && t.length > 0 && (e.length > 0 || n || O.value) ? C.value = !0 : (!t || t.length === 0) && (C.value = !1);
10658
10662
  }, { immediate: !0 });
10659
- let pe = () => {
10660
- n.enableCustomOptionsInput && ae(), Y.value = -1, C.value = !1, w.value = !1, T.value = !1;
10661
- }, me = (e) => {
10663
+ let me = () => {
10664
+ n.enableCustomOptionsInput && re(), X.value = -1, C.value = !1, w.value = !1, T.value = !1;
10665
+ }, he = (e) => {
10662
10666
  try {
10663
10667
  let t = {
10664
10668
  id: e.id,
@@ -10666,28 +10670,28 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
10666
10670
  queryTerm: e.context,
10667
10671
  icon: e.icon
10668
10672
  };
10669
- m.value = g(m.value, t), _e();
10673
+ m.value = g(m.value, t), ve();
10670
10674
  } catch (e) {
10671
10675
  console.error("Error adding query option:", e);
10672
10676
  } finally {
10673
10677
  C.value = !1, w.value = !1;
10674
10678
  }
10675
10679
  };
10676
- function he(e) {
10680
+ function ge(e) {
10677
10681
  let t = e.target;
10678
10682
  t.isContentEditable || t.closest("[contenteditable=\"true\"]") || t.tagName === "BUTTON" || t.tagName === "SVG" || t.closest("button") || f.value?.focus();
10679
10683
  }
10680
- function ge(e) {
10684
+ function _e(e) {
10681
10685
  e.type === "focus" && (w.value = !0, C.value = !0);
10682
10686
  }
10683
- let _e = () => {
10687
+ let ve = () => {
10684
10688
  p.value = "";
10685
10689
  };
10686
- return (n, r) => ie((D(), o("div", {
10690
+ return (n, r) => J((D(), o("div", {
10687
10691
  ref: "query-builder-input",
10688
10692
  class: y(["pv-relative pv-query-builder-input-wrapper", { "pv-query-builder-input-small": e.size === "lg" }]),
10689
- onFocus: ge,
10690
- onClick: he
10693
+ onFocus: _e,
10694
+ onClick: ge
10691
10695
  }, [
10692
10696
  e.hideSearchIcon ? a("", !0) : (D(), i(Q, {
10693
10697
  key: 0,
@@ -10709,7 +10713,7 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
10709
10713
  "modelValue",
10710
10714
  "wrap-content",
10711
10715
  "query-term-display-limit"
10712
- ]), ie(s("input", {
10716
+ ]), J(s("input", {
10713
10717
  "onUpdate:modelValue": r[2] ||= (e) => p.value = e,
10714
10718
  ref: "search-input",
10715
10719
  "data-testid": "pv-search-input",
@@ -10718,30 +10722,30 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
10718
10722
  "aria-autocomplete": "list",
10719
10723
  "aria-expanded": R.value && C.value,
10720
10724
  "aria-controls": N,
10721
- "aria-activedescendant": le.value,
10725
+ "aria-activedescendant": ue.value,
10722
10726
  disabled: e.disabled,
10723
- placeholder: te.value,
10724
- "data-invalid": U.value ? "true" : void 0,
10727
+ placeholder: ee.value,
10728
+ "data-invalid": W.value ? "true" : void 0,
10725
10729
  style: x(p.value ? "min-width: 8rem;" : void 0),
10726
- onFocus: ge,
10727
- onBlur: ge
10728
- }, null, 44, Vf), [[W, p.value]])], 4),
10730
+ onFocus: _e,
10731
+ onBlur: _e
10732
+ }, null, 44, Vf), [[G, p.value]])], 4),
10729
10733
  m.value && !e.hideClearButton ? (D(), i($, {
10730
10734
  key: 1,
10731
10735
  variant: "ghost",
10732
10736
  leftIcon: "close",
10733
10737
  size: "md",
10734
- onClick: re
10738
+ onClick: ne
10735
10739
  })) : a("", !0),
10736
- U.value ? (D(), o("p", Hf, I(H.value), 1)) : a("", !0),
10737
- R.value ? ie((D(), i(wr, {
10740
+ W.value ? (D(), o("p", Hf, I(U.value), 1)) : a("", !0),
10741
+ R.value ? J((D(), i(wr, {
10738
10742
  key: 3,
10739
10743
  "css-custom-properties": d,
10740
10744
  isList: !0,
10741
10745
  listId: N,
10742
10746
  listRole: "listbox"
10743
10747
  }, c({
10744
- default: K(() => [e.optionsLoading ? (D(), o("div", Kf, [u(Me, { variant: "dark" })])) : (D(), o(t, { key: 0 }, [q.value.length > 0 ? (D(!0), o(t, { key: 0 }, A(oe.value, ([e, n], r) => (D(), o(t, { key: e }, [e ? (D(), o("li", {
10748
+ default: q(() => [e.optionsLoading ? (D(), o("div", Kf, [u(Me, { variant: "dark" })])) : (D(), o(t, { key: 0 }, [ae.value.length > 0 ? (D(!0), o(t, { key: 0 }, A(oe.value, ([e, n], r) => (D(), o(t, { key: e }, [e ? (D(), o("li", {
10745
10749
  key: 0,
10746
10750
  id: F(r),
10747
10751
  role: "presentation",
@@ -10750,28 +10754,28 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
10750
10754
  key: `${e}-${t.id}`,
10751
10755
  id: P(ce.value.get(t) ?? -1),
10752
10756
  role: "option",
10753
- "aria-selected": t === X.value,
10757
+ "aria-selected": t === le.value,
10754
10758
  "aria-describedby": e ? F(r) : void 0,
10755
- class: y({ "pv-query-builder-option-active": t === X.value }),
10756
- onMouseenter: (e) => fe(t)
10759
+ class: y({ "pv-query-builder-option-active": t === le.value }),
10760
+ onMouseenter: (e) => pe(t)
10757
10761
  }, [u(go, _({ ref_for: !0 }, t, {
10758
10762
  config: l,
10759
10763
  queryText: p.value,
10760
- onHandleSelected: (e) => me(t)
10764
+ onHandleSelected: (e) => he(t)
10761
10765
  }), null, 16, ["queryText", "onHandleSelected"])], 42, Wf))), 128))], 64))), 128)) : n.$slots.empty ? (D(), o("li", Gf, [j(n.$slots, "empty", {}, void 0, !0)])) : a("", !0)], 64))]),
10762
10766
  _: 2
10763
10767
  }, [n.$slots.header ? {
10764
10768
  name: "header",
10765
- fn: K(() => [j(n.$slots, "header", {}, void 0, !0)]),
10769
+ fn: q(() => [j(n.$slots, "header", {}, void 0, !0)]),
10766
10770
  key: "0"
10767
10771
  } : void 0, n.$slots.footer ? {
10768
10772
  name: "footer",
10769
- fn: K(() => [j(n.$slots, "footer", {}, void 0, !0)]),
10773
+ fn: q(() => [j(n.$slots, "footer", {}, void 0, !0)]),
10770
10774
  key: "1"
10771
- } : void 0]), 1536)), [[ne, C.value]]) : a("", !0)
10772
- ], 34)), [[L(Z), pe]]);
10775
+ } : void 0]), 1536)), [[te, C.value]]) : a("", !0)
10776
+ ], 34)), [[L(Z), me]]);
10773
10777
  }
10774
- }), [["__scopeId", "data-v-6772fde2"]]), Jf = { class: "sidebar-header-content" }, Yf = { class: "content-panel" }, Xf = 300, Zf = /* @__PURE__ */ d({
10778
+ }), [["__scopeId", "data-v-fb2cc737"]]), Jf = { class: "sidebar-header-content" }, Yf = { class: "content-panel" }, Xf = 300, Zf = /* @__PURE__ */ d({
10775
10779
  __name: "PvSidebar",
10776
10780
  props: /* @__PURE__ */ g({
10777
10781
  disableToggle: { type: Boolean },
@@ -10787,7 +10791,7 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
10787
10791
  emits: /* @__PURE__ */ g(["change"], ["update:modelValue"]),
10788
10792
  setup(e, { emit: t }) {
10789
10793
  let n = e, r = B(e, "modelValue"), c = t, l = k(!1), u = null, d = f(), p = () => d?.proxy?.$el ?? null;
10790
- G(r, () => {
10794
+ K(r, () => {
10791
10795
  l.value = !1;
10792
10796
  });
10793
10797
  let m = () => {
@@ -10946,13 +10950,13 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
10946
10950
  }),
10947
10951
  emits: /* @__PURE__ */ g(["change"], ["update:modelValue"]),
10948
10952
  setup(e, { emit: n }) {
10949
- let c = e, d = f(), p = typeof HTMLElement < "u" && d && "ce" in d && d.ce instanceof HTMLElement ? d.ce : void 0, { present: m } = Xn("sidebar-additional-content", { host: p }), { present: h } = Xn("sidebar-additional-header", { host: p }), { present: g } = Xn("sidebar-help-content", { host: p }), { present: b } = Xn("sidebar-profile-content", { host: p }), C = V(), T = k(null), E = k(null), O = k({}), M = k(), P = /* @__PURE__ */ new Map(), F = /* @__PURE__ */ new Map(), R = k(0), z = ce(E), ee = r(() => ({
10953
+ let c = e, d = f(), p = typeof HTMLElement < "u" && d && "ce" in d && d.ce instanceof HTMLElement ? d.ce : void 0, { present: m } = Xn("sidebar-additional-content", { host: p }), { present: h } = Xn("sidebar-additional-header", { host: p }), { present: g } = Xn("sidebar-help-content", { host: p }), { present: b } = Xn("sidebar-profile-content", { host: p }), C = V(), T = k(null), E = k(null), O = k({}), M = k(), P = /* @__PURE__ */ new Map(), F = /* @__PURE__ */ new Map(), R = k(0), z = se(E), H = r(() => ({
10950
10954
  "--pv-sidebar-hover-panel-height": `${z.height.value}px`,
10951
10955
  "--pv-sidebar-hover-panel-left": `${z.right.value}px`,
10952
10956
  "--pv-sidebar-hover-panel-top": `${z.top.value}px`
10953
- })), te, H = (e) => e.hoverPanelSlot ? p ? (R.value, Yn(p, e.hoverPanelSlot)) : !!C[e.hoverPanelSlot] : !1, U = (e, t, n) => {
10957
+ })), ee, U = (e) => e.hoverPanelSlot ? p ? (R.value, Yn(p, e.hoverPanelSlot)) : !!C[e.hoverPanelSlot] : !1, W = (e, t, n) => {
10954
10958
  n instanceof HTMLElement ? e.set(t, n) : e.delete(t);
10955
- }, W = (e) => {
10959
+ }, G = (e) => {
10956
10960
  let t = P.get(e), n = t?.querySelector($p);
10957
10961
  if (n) return n;
10958
10962
  for (let e of t?.querySelectorAll("slot") ?? []) for (let t of e.assignedElements({ flatten: !0 })) {
@@ -10960,56 +10964,56 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
10960
10964
  let e = t.querySelector($p);
10961
10965
  if (e) return e;
10962
10966
  }
10963
- }, ne = (e, t) => {
10967
+ }, te = (e, t) => {
10964
10968
  if (e.shiftKey) return;
10965
- let n = W(t);
10969
+ let n = G(t);
10966
10970
  n && (e.preventDefault(), O.value[t] = !0, v(() => n.focus()));
10967
- }, re = (e) => {
10971
+ }, ne = (e) => {
10968
10972
  M.value = e, O.value[e] = !1, v(() => {
10969
10973
  F.get(e)?.focus({ preventScroll: !0 }), v(() => M.value = void 0);
10970
10974
  });
10975
+ }, J = (e, t) => {
10976
+ e.composedPath().some((e) => e instanceof Element && e.hasAttribute("data-sidebar-nav-panel-close")) && ne(t);
10971
10977
  }, ie = (e, t) => {
10972
- e.composedPath().some((e) => e instanceof Element && e.hasAttribute("data-sidebar-nav-panel-close")) && re(t);
10973
- }, q = (e, t) => {
10974
- e.key === "Escape" && (e.preventDefault(), e.stopPropagation(), re(t));
10978
+ e.key === "Escape" && (e.preventDefault(), e.stopPropagation(), ne(t));
10975
10979
  };
10976
10980
  w(() => {
10977
- p && (te = new MutationObserver((e) => {
10981
+ p && (ee = new MutationObserver((e) => {
10978
10982
  e.some((e) => e.target === p || e.type === "attributes" && e.target.parentNode === p) && (R.value += 1);
10979
- }), te.observe(p, {
10983
+ }), ee.observe(p, {
10980
10984
  attributes: !0,
10981
10985
  attributeFilter: ["slot"],
10982
10986
  childList: !0,
10983
10987
  subtree: !0
10984
10988
  }));
10985
- }), S(() => te?.disconnect());
10986
- let oe = (e) => {
10989
+ }), S(() => ee?.disconnect());
10990
+ let ae = (e) => {
10987
10991
  for (let t of e) {
10988
10992
  if (t.active) return t;
10989
- let e = t.entities && oe(t.entities);
10993
+ let e = t.entities && ae(t.entities);
10990
10994
  if (e) return e;
10991
10995
  }
10992
- }, J = r(() => (c.organizations && oe(c.organizations)) ?? c.organizations?.[0]), se = (e) => !!(e.active || e.children?.some((e) => e.active)), Y = k((() => {
10996
+ }, Y = r(() => (c.organizations && ae(c.organizations)) ?? c.organizations?.[0]), oe = (e) => !!(e.active || e.children?.some((e) => e.active)), ce = k((() => {
10993
10997
  let e = {};
10994
10998
  return c.navItems?.forEach((t) => {
10995
- se(t) && (e[t.value] = !0);
10999
+ oe(t) && (e[t.value] = !0);
10996
11000
  }), e;
10997
11001
  })());
10998
- G(() => c.navItems, (e) => {
11002
+ K(() => c.navItems, (e) => {
10999
11003
  e?.forEach((e) => {
11000
- se(e) && (Y.value[e.value] = !0);
11004
+ oe(e) && (ce.value[e.value] = !0);
11001
11005
  });
11002
11006
  });
11003
11007
  let X = B(e, "modelValue"), le = k(!1), ue = n, de = k(!1), fe = k(!1), Z = k(!1), pe = () => {
11004
11008
  de.value = !1, O.value = {}, fe.value = !1, Z.value = !1;
11005
11009
  };
11006
- G(de, (e) => {
11010
+ K(de, (e) => {
11007
11011
  e && (O.value = {}, fe.value = !1, Z.value = !1);
11008
- }), G(fe, (e) => {
11012
+ }), K(fe, (e) => {
11009
11013
  e && (de.value = !1, O.value = {}, Z.value = !1);
11010
- }), G(Z, (e) => {
11014
+ }), K(Z, (e) => {
11011
11015
  e && (de.value = !1, O.value = {}, fe.value = !1);
11012
- }), G(X, () => {
11016
+ }), K(X, () => {
11013
11017
  pe(), le.value = !0;
11014
11018
  });
11015
11019
  let me = () => {
@@ -11031,7 +11035,7 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
11031
11035
  "is-expanded": !X.value,
11032
11036
  "is-transitioning": le.value
11033
11037
  }]]),
11034
- style: x(ee.value),
11038
+ style: x(H.value),
11035
11039
  onTransitionend: he
11036
11040
  }, [
11037
11041
  s("div", {
@@ -11049,26 +11053,26 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
11049
11053
  "teleport-location": T.value ?? "body",
11050
11054
  "css-custom-properties": { width: "100%" }
11051
11055
  }, {
11052
- trigger: K(() => [s("button", {
11056
+ trigger: q(() => [s("button", {
11053
11057
  type: "button",
11054
11058
  class: "pv-nav-list-item pv-full-width pv-space-between",
11055
11059
  "data-testid": "pv-sidebar-org-switcher",
11056
- "aria-label": `Switch organization: ${J.value?.label}`,
11060
+ "aria-label": `Switch organization: ${Y.value?.label}`,
11057
11061
  "aria-expanded": fe.value
11058
- }, [s("div", np, [s("span", rp, [J.value?.avatarUrl ? (D(), o("img", {
11062
+ }, [s("div", np, [s("span", rp, [Y.value?.avatarUrl ? (D(), o("img", {
11059
11063
  key: 0,
11060
- src: J.value.avatarUrl,
11064
+ src: Y.value.avatarUrl,
11061
11065
  alt: "Organization Avatar"
11062
- }, null, 8, ip)) : (D(), o("span", ap, I(J.value?.label?.slice(0, 1)), 1))]), s("span", {
11066
+ }, null, 8, ip)) : (D(), o("span", ap, I(Y.value?.label?.slice(0, 1)), 1))]), s("span", {
11063
11067
  class: "pv-text-title-lg pv-truncate",
11064
11068
  "data-sidebar-expanded-content": "",
11065
- title: J.value?.label
11066
- }, I(J.value?.label), 9, op)]), u(Q, {
11069
+ title: Y.value?.label
11070
+ }, I(Y.value?.label), 9, op)]), u(Q, {
11067
11071
  name: "chevron-down",
11068
11072
  class: "pv-icon-16",
11069
11073
  "data-sidebar-expanded-content": ""
11070
11074
  })], 8, tp)]),
11071
- content: K(() => [s("div", sp, [s("ul", cp, [(D(!0), o(t, null, A(e.organizations, (e) => (D(), o(t, { key: e.value }, [s("li", { "data-active": e.active || void 0 }, [s("a", {
11075
+ content: q(() => [s("div", sp, [s("ul", cp, [(D(!0), o(t, null, A(e.organizations, (e) => (D(), o(t, { key: e.value }, [s("li", { "data-active": e.active || void 0 }, [s("a", {
11072
11076
  class: "pv-flex",
11073
11077
  href: e.url,
11074
11078
  "data-testid": "pv-sidebar-org-option",
@@ -11107,18 +11111,18 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
11107
11111
  position: "center-right",
11108
11112
  delay: 1e3
11109
11113
  }, {
11110
- trigger: K(() => [u($, {
11114
+ trigger: q(() => [u($, {
11111
11115
  class: "sidebar-toggle",
11112
11116
  "left-icon": X.value ? "panel-left-open" : "panel-left-close",
11113
11117
  "aria-label": X.value ? "Open sidebar" : "Close sidebar",
11114
11118
  variant: "ghost",
11115
11119
  onClick: me
11116
11120
  }, null, 8, ["left-icon", "aria-label"])]),
11117
- content: K(() => [l(I(X.value ? "Expand navigation" : "Collapse navigation"), 1)]),
11121
+ content: q(() => [l(I(X.value ? "Expand navigation" : "Collapse navigation"), 1)]),
11118
11122
  _: 1
11119
11123
  }))], 2)]), s("div", vp, [
11120
11124
  L(m) ? (D(), o("div", yp, [j(n.$slots, "sidebar-additional-content")])) : a("", !0),
11121
- e.navItems && e.navItems.length ? (D(), o("ul", bp, [(D(!0), o(t, null, A(e.navItems, (e) => (D(), o("li", { key: e.value }, [H(e) ? (D(), i(nr, {
11125
+ e.navItems && e.navItems.length ? (D(), o("ul", bp, [(D(!0), o(t, null, A(e.navItems, (e) => (D(), o("li", { key: e.value }, [U(e) ? (D(), i(nr, {
11122
11126
  key: 0,
11123
11127
  modelValue: O.value[e.value],
11124
11128
  "onUpdate:modelValue": (t) => O.value[e.value] = t,
@@ -11131,9 +11135,9 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
11131
11135
  disabled: M.value === e.value,
11132
11136
  "css-custom-properties": { width: "100%" }
11133
11137
  }, {
11134
- trigger: K(() => [(D(), i(N(e.url ? "a" : "button"), _({
11138
+ trigger: q(() => [(D(), i(N(e.url ? "a" : "button"), _({
11135
11139
  ref_for: !0,
11136
- ref: (t) => U(L(F), e.value, t),
11140
+ ref: (t) => W(L(F), e.value, t),
11137
11141
  class: "pv-nav-list-item",
11138
11142
  href: e.url,
11139
11143
  type: e.url ? void 0 : "button"
@@ -11142,9 +11146,9 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
11142
11146
  "aria-expanded": !!O.value[e.value],
11143
11147
  "aria-label": X.value ? e.label : void 0,
11144
11148
  title: X.value ? void 0 : e.label,
11145
- onKeydown: ae((t) => ne(t, e.value), ["tab"])
11149
+ onKeydown: re((t) => te(t, e.value), ["tab"])
11146
11150
  }), {
11147
- default: K(() => [e.icon ? (D(), i(Q, {
11151
+ default: q(() => [e.icon ? (D(), i(Q, {
11148
11152
  key: 0,
11149
11153
  name: e.icon,
11150
11154
  class: "pv-nav-icon"
@@ -11159,12 +11163,12 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
11159
11163
  "title",
11160
11164
  "onKeydown"
11161
11165
  ]))]),
11162
- content: K(() => [s("div", {
11166
+ content: q(() => [s("div", {
11163
11167
  ref_for: !0,
11164
- ref: (t) => U(L(P), e.value, t),
11168
+ ref: (t) => W(L(P), e.value, t),
11165
11169
  class: "pv-sidebar-hover-panel",
11166
- onClick: (t) => ie(t, e.value),
11167
- onKeydown: (t) => q(t, e.value)
11170
+ onClick: (t) => J(t, e.value),
11171
+ onKeydown: (t) => ie(t, e.value)
11168
11172
  }, [j(n.$slots, e.hoverPanelSlot)], 40, Cp)]),
11169
11173
  _: 2
11170
11174
  }, 1032, [
@@ -11184,7 +11188,7 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
11184
11188
  disabled: !X.value,
11185
11189
  "css-custom-properties": { width: "100%" }
11186
11190
  }, {
11187
- trigger: K(() => [s("a", _({
11191
+ trigger: q(() => [s("a", _({
11188
11192
  class: "pv-nav-list-item",
11189
11193
  href: e.url
11190
11194
  }, { ref_for: !0 }, e.linkAttrs, {
@@ -11195,7 +11199,7 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
11195
11199
  name: e.icon,
11196
11200
  class: "pv-nav-icon"
11197
11201
  }, null, 8, ["name"])) : a("", !0), s("span", Tp, [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, I(e.label), 3), e.badge ? (D(), o("span", Ep, I(e.badge.toUpperCase()), 1)) : a("", !0)])], 16, wp)]),
11198
- content: K(() => [s("div", Dp, [s("ul", Op, [s("li", { "data-active": e.active || void 0 }, [s("a", _({ href: e.url }, { ref_for: !0 }, e.linkAttrs, { style: { "flex-wrap": "wrap" } }), [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, I(e.label), 3), e.badge ? (D(), o("span", jp, I(e.badge.toUpperCase()), 1)) : a("", !0)], 16, Ap)], 8, kp)])])]),
11202
+ content: q(() => [s("div", Dp, [s("ul", Op, [s("li", { "data-active": e.active || void 0 }, [s("a", _({ href: e.url }, { ref_for: !0 }, e.linkAttrs, { style: { "flex-wrap": "wrap" } }), [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, I(e.label), 3), e.badge ? (D(), o("span", jp, I(e.badge.toUpperCase()), 1)) : a("", !0)], 16, Ap)], 8, kp)])])]),
11199
11203
  _: 2
11200
11204
  }, 1032, [
11201
11205
  "use-teleport",
@@ -11212,15 +11216,15 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
11212
11216
  disabled: !X.value,
11213
11217
  "css-custom-properties": { width: "100%" }
11214
11218
  }, {
11215
- trigger: K(() => [u(ai, {
11216
- modelValue: Y.value[e.value],
11217
- "onUpdate:modelValue": (t) => Y.value[e.value] = t,
11218
- "default-open": se(e),
11219
+ trigger: q(() => [u(ai, {
11220
+ modelValue: ce.value[e.value],
11221
+ "onUpdate:modelValue": (t) => ce.value[e.value] = t,
11222
+ "default-open": oe(e),
11219
11223
  "summary-attrs": { "aria-current": ge(e.children) && X.value ? "page" : void 0 },
11220
11224
  "enable-trigger-slot": "",
11221
11225
  "enable-trigger-full-width": ""
11222
11226
  }, {
11223
- trigger: K(() => [s("div", {
11227
+ trigger: q(() => [s("div", {
11224
11228
  class: "pv-flex",
11225
11229
  onClick: (t) => e.children.length === 1 && _e(t, e.children[0]),
11226
11230
  onAuxclick: (t) => e.children.length === 1 && _e(t, e.children[0])
@@ -11229,7 +11233,7 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
11229
11233
  name: e.icon,
11230
11234
  class: "pv-nav-icon"
11231
11235
  }, null, 8, ["name"])) : a("", !0), s("span", Np, I(e.label), 1)], 40, Mp)]),
11232
- default: K(() => [s("div", Pp, [(D(!0), o(t, null, A(e.children, (e) => (D(), o("a", _({
11236
+ default: q(() => [s("div", Pp, [(D(!0), o(t, null, A(e.children, (e) => (D(), o("a", _({
11233
11237
  key: e.value,
11234
11238
  href: e.url
11235
11239
  }, { ref_for: !0 }, e.linkAttrs, {
@@ -11243,7 +11247,7 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
11243
11247
  "default-open",
11244
11248
  "summary-attrs"
11245
11249
  ])]),
11246
- content: K(() => [s("div", Rp, [s("ul", zp, [(D(!0), o(t, null, A(e.children, (e) => (D(), o("li", {
11250
+ content: q(() => [s("div", Rp, [s("ul", zp, [(D(!0), o(t, null, A(e.children, (e) => (D(), o("li", {
11247
11251
  key: e.value,
11248
11252
  "data-active": e.active || void 0
11249
11253
  }, [s("a", _({ href: e.url }, { ref_for: !0 }, e.linkAttrs, { style: { "flex-wrap": "wrap" } }), [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, I(e.label), 3), e.badge ? (D(), o("span", Hp, I(e.badge.toUpperCase()), 1)) : a("", !0)], 16, Vp)], 8, Bp))), 128))])])]),
@@ -11266,7 +11270,7 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
11266
11270
  offset: 4,
11267
11271
  "css-custom-properties": { width: "100%" }
11268
11272
  }, {
11269
- trigger: K(() => [s("button", {
11273
+ trigger: q(() => [s("button", {
11270
11274
  type: "button",
11271
11275
  class: "pv-nav-list-item",
11272
11276
  "aria-label": "Help",
@@ -11276,7 +11280,7 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
11276
11280
  name: "help-circle",
11277
11281
  class: "pv-icon-20 pv-nav-icon"
11278
11282
  }), r[3] ||= s("span", { "data-sidebar-expanded-content": "" }, "Help", -1)], 8, Wp)]),
11279
- content: K(() => [s("div", Gp, [j(n.$slots, "sidebar-help-content")])]),
11283
+ content: q(() => [s("div", Gp, [j(n.$slots, "sidebar-help-content")])]),
11280
11284
  _: 3
11281
11285
  }, 8, [
11282
11286
  "modelValue",
@@ -11297,7 +11301,7 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
11297
11301
  offset: 4,
11298
11302
  "css-custom-properties": { width: "100%" }
11299
11303
  }, {
11300
- trigger: K(() => [s("button", {
11304
+ trigger: q(() => [s("button", {
11301
11305
  type: "button",
11302
11306
  class: "pv-nav-list-item",
11303
11307
  "data-testid": "pv-sidebar-profile-trigger",
@@ -11309,7 +11313,7 @@ var nf = ["aria-label"], rf = { class: "pv-filter-panel-header pv-flex pv-border
11309
11313
  src: e.profile.avatarUrl,
11310
11314
  alt: ""
11311
11315
  }, null, 8, Jp)) : (D(), o("span", Yp, I(e.profile.name.slice(0, 1)), 1))]), s("span", Xp, I(e.profile.name), 1)], 8, Kp)]),
11312
- content: K(() => [s("div", Zp, [j(n.$slots, "sidebar-profile-content")])]),
11316
+ content: q(() => [s("div", Zp, [j(n.$slots, "sidebar-profile-content")])]),
11313
11317
  _: 3
11314
11318
  }, 8, [
11315
11319
  "modelValue",