@turquoisehealth/pit-viper 2.224.1-dev.1 → 2.224.1-dev.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 (45) hide show
  1. package/_site/assets/css/pit-viper-a11y.css +1 -1
  2. package/_site/assets/css/pit-viper-consumer.css +1 -1
  3. package/_site/assets/css/pit-viper-v2-scoped.css +1 -1
  4. package/_site/assets/css/pit-viper-v2.css +1 -1
  5. package/package.json +1 -1
  6. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  7. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  8. package/pv-components/dist/stats/web/pv-drawer-stats.html +1 -1
  9. package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
  10. package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
  11. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  14. package/pv-components/dist/stats/web/pv-search-input-stats.html +1 -1
  15. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  16. package/pv-components/dist/vue/ai/components/base/PvFilterPanel/types.d.ts +5 -0
  17. package/pv-components/dist/vue/ai/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +3 -0
  18. package/pv-components/dist/vue/ai/components/base/PvMultiSelectButton/types.d.ts +2 -0
  19. package/pv-components/dist/vue/ai/components/base/PvSearchInput/PvSearchInput.vue.d.ts +7 -4
  20. package/pv-components/dist/vue/base/components/base/PvFilterPanel/types.d.ts +5 -0
  21. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +3 -0
  22. package/pv-components/dist/vue/base/components/base/PvMultiSelectButton/types.d.ts +2 -0
  23. package/pv-components/dist/vue/base/components/base/PvSearchInput/PvSearchInput.vue.d.ts +7 -4
  24. package/pv-components/dist/vue/base/pv-components-base.mjs +699 -682
  25. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  26. package/pv-components/dist/vue/base/types.d.ts +2 -0
  27. package/pv-components/dist/vue/visualizations/components/base/PvFilterPanel/types.d.ts +5 -0
  28. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/PvMultiSelectButton.vue.d.ts +3 -0
  29. package/pv-components/dist/vue/visualizations/components/base/PvMultiSelectButton/types.d.ts +2 -0
  30. package/pv-components/dist/vue/visualizations/components/base/PvSearchInput/PvSearchInput.vue.d.ts +7 -4
  31. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/types.d.ts +5 -1
  32. package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/useSetFilter.d.ts +1 -0
  33. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +2457 -2435
  34. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  35. package/pv-components/dist/vue/visualizations/types.d.ts +2 -0
  36. package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +554 -549
  37. package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +809 -793
  38. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +632 -623
  39. package/pv-components/dist/web/components/pv-menu/pv-menu.js +21 -15
  40. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +1712 -1697
  41. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +21 -15
  42. package/pv-components/dist/web/components/pv-search-input/pv-search-input.js +17 -8
  43. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +82 -68
  44. package/pv-components/dist/web/pv-components.iife.js +14 -14
  45. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -1,4 +1,4 @@
1
- (function(){try{if(typeof document<`u`){var e=document.createElement(`style`);e.appendChild(document.createTextNode(`.pv-badge-md[data-v-013a5d76]{--inset-size:2px 2px;min-width:20px;min-height:20px;max-height:20px;font-weight:500}.pv-badge-sm[data-v-013a5d76]{--inset-size:0 2px;min-width:16px;min-height:16px;max-height:16px;font-weight:500}.pv-floating-native[data-v-c13d6b59]{width:max-content;color:inherit;position-visibility:anchors-visible;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:auto;overflow:visible}.pv-floating-native[data-v-c13d6b59]>.pv-popover,.pv-floating-native>slot[name=content][data-v-c13d6b59]::slotted(.pv-popover){position:static!important}.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-0324bf60]:before,&[data-v-0324bf60]:after{margin-inline-end:0}}.pv-popover-list[data-v-246a9400]{font-size:14px}.pv-button-icon[aria-expanded=true][data-v-6e4b23d8]{background-color:#c7d8db}.pv-select[data-v-6e4b23d8]{padding-top:4px;padding-bottom:4px}.pv-tab-list[data-v-498bf523]{border:none}.pv-tab-list :where(li)[data-active][data-v-498bf523]:after{content:"";background-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-text-secondary[data-v-8b02ee95]{color:#4b595c}.pv-select-button-trigger-avatar[data-v-5b922a5f]{font-size:.5rem;font-weight:700}.pv-select-button-trigger-content[data-v-5b922a5f]{min-width:0}.pv-select-button-trigger-label[data-v-5b922a5f]{flex:auto;min-width:0}.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:not(:disabled):hover:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:not(:disabled):focus-visible:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:not(:disabled):active:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:disabled:after{background-image:unset}.pv-action-button-reveal-on-hover{opacity:0;transition:opacity .2s}.pv-label:hover .pv-action-button-reveal-on-hover{opacity:1}.pv-menu-item-disabled[data-v-f337a1d6]{pointer-events:none;color:#7d898d;border-radius:4px}.pv-menu-item-disabled .pv-menu-item-action[data-v-f337a1d6]{pointer-events:auto;display:inline-flex}.pv-menu-item{&[data-v-f337a1d6]{cursor:pointer;border-radius:var(--popover-list-item-radius,4px);transition-property:background-color;transition-duration:.15s}&[data-v-f337a1d6]:hover,&[data-v-f337a1d6]:focus-visible{background-color:var(--popover-list-item-hover-background-color,#f5f5f5)}&[data-v-f337a1d6]:active{background-color:var(--popover-list-item-pressed-background-color,#ebebeb)}}.pv-radio[data-v-f337a1d6]:indeterminate{background-color:unset!important;border-color:var(--color-border,#e3e7ea)!important}.pv-menu-item-expand-chevron[data-v-f337a1d6]{flex-shrink:0;margin-left:auto;padding:4px}.pv-menu-item-disabled .pv-menu-item-expand-chevron[data-v-f337a1d6]{pointer-events:auto;color:inherit}.pv-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-6c36dca2]{color:#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-06cc192f]{border-radius:.5rem}.expandable-content .pv-line-clamp[data-v-06cc192f]{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-9a452be9]{background-image:none;padding-right:2px}[data-v-9a452be9] .pv-input-search{background-color:#fff}.suggested-title-label[data-v-9a452be9]{text-underline-offset:2px;text-decoration:underline dotted}.pv-filter-panel[data-v-bc38ed4b]{min-height:0;max-height:100dvh;overflow:hidden}.pv-filter-panel-actions[data-v-bc38ed4b],.pv-filter-panel-header[data-v-bc38ed4b],.pv-filter-panel-suggestion-tags[data-v-bc38ed4b]{--flex-gap:.5rem}.pv-filter-panel-body[data-v-bc38ed4b],.pv-filter-panel-filters-view[data-v-bc38ed4b]{--flex-align:stretch;--flex-gap:0}.pv-filter-panel-body[data-v-bc38ed4b]{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-bc38ed4b]::-webkit-scrollbar{width:8px}.pv-filter-panel-body[data-v-bc38ed4b]::-webkit-scrollbar-track{background:0 0}.pv-filter-panel-body[data-v-bc38ed4b]::-webkit-scrollbar-thumb{background:var(--color-border,#c1c1c1);border-radius:8px}.pv-filter-panel-body[data-v-bc38ed4b]::-webkit-scrollbar-thumb:hover{background:var(--color-text-subdued,#7c7c7c)}.pv-filter-panel-empty[data-v-bc38ed4b],.pv-filter-panel-footer[data-v-bc38ed4b],.pv-filter-panel-suggestions[data-v-bc38ed4b]{padding:12px}.pv-filter-panel-filter-list[data-v-bc38ed4b]{--flex-align:stretch;--flex-gap:8px;padding-top:8px}.pv-filter-panel-footer[data-v-bc38ed4b]{--flex-justify:space-between;background:var(--color-background-body,#fff);z-index:1;flex:none;margin-top:auto;position:sticky;bottom:0}.pv-filter-panel-header[data-v-bc38ed4b]{--flex-align:center;padding:12px}.pv-filter-panel-mode-control[data-v-bc38ed4b]{flex:auto;min-width:0}.pv-filter-panel-modal-footer[data-v-bc38ed4b]{--flex-justify:flex-end}.pv-filter-panel-section-title[data-v-bc38ed4b]{margin:0}.pv-filter-panel-suggestions[data-v-bc38ed4b]{--flex-align:stretch}.pv-filter-panel-suggestion-tags[data-v-bc38ed4b]{--flex-wrap:wrap}.pv-filter-modal-rail[data-v-2ad285b3]{--flex-align:stretch;flex:0 0 180px;padding-inline-end:1rem;overflow-y:auto}.pv-filter-modal-pane[data-v-2ad285b3]{flex:auto;min-width:0;min-height:0;padding-inline-start:1rem}.pv-filter-modal-options[data-v-2ad285b3]{min-height:360px;max-height:360px;overflow-y:auto}.pv-filter-modal-pane-actions[data-v-2ad285b3]{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-text-tertiary[data-v-ff951d17]{color:#6e8081}.pv-query-builder-input-wrapper[data-v-37925d70]{background:var(--secondary-lighten-8,#f7f8f8);border-radius:var(--corner-radius-L,8px);border:1px solid var(--stroke-light,#e3e7ea);cursor:text;align-items:center;width:100%;min-height:2.25rem;padding:.25rem;font-size:.75rem;display:flex;position:relative}.pv-query-builder-input[data-v-37925d70]{justify-content:start;overflow-x:hidden}.pv-query-builder-input-wrapper input[data-v-37925d70]{background:0 0;border:none;outline:none;flex:1rem;min-width:1rem;font-size:.75rem}.pv-query-builder-input-wrapper[data-v-37925d70]:focus-within{border:2px solid #36c5ba}
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-floating-native[data-v-c13d6b59]{width:max-content;color:inherit;position-visibility:anchors-visible;background:0 0;border:0;margin:0;padding:0;position:fixed;inset:auto;overflow:visible}.pv-floating-native[data-v-c13d6b59]>.pv-popover,.pv-floating-native>slot[name=content][data-v-c13d6b59]::slotted(.pv-popover){position:static!important}.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-0324bf60]:before,&[data-v-0324bf60]:after{margin-inline-end:0}}.pv-popover-list[data-v-246a9400]{font-size:14px}.pv-button-icon[aria-expanded=true][data-v-6e4b23d8]{background-color:#c7d8db}.pv-select[data-v-6e4b23d8]{padding-top:4px;padding-bottom:4px}.pv-tab-list[data-v-498bf523]{border:none}.pv-tab-list :where(li)[data-active][data-v-498bf523]:after{content:"";background-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-8b02ee95]{color:#4b595c}.pv-select-button-trigger-content[data-v-0de70d6d]{min-width:0}.pv-select-button-trigger-label[data-v-0de70d6d]{flex:auto;min-width:0}.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:not(:disabled):hover:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:not(:disabled):focus-visible:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:not(:disabled):active:after,.pv-switch-hide-check[data-v-73e6d2b2] input[type=checkbox]:checked:disabled:after{background-image:unset}.pv-action-button-reveal-on-hover{opacity:0;transition:opacity .2s}.pv-label:hover .pv-action-button-reveal-on-hover{opacity:1}.pv-menu-item-disabled[data-v-f337a1d6]{pointer-events:none;color:#7d898d;border-radius:4px}.pv-menu-item-disabled .pv-menu-item-action[data-v-f337a1d6]{pointer-events:auto;display:inline-flex}.pv-menu-item{&[data-v-f337a1d6]{cursor:pointer;border-radius:var(--popover-list-item-radius,4px);transition-property:background-color;transition-duration:.15s}&[data-v-f337a1d6]:hover,&[data-v-f337a1d6]:focus-visible{background-color:var(--popover-list-item-hover-background-color,#f5f5f5)}&[data-v-f337a1d6]:active{background-color:var(--popover-list-item-pressed-background-color,#ebebeb)}}.pv-radio[data-v-f337a1d6]:indeterminate{background-color:unset!important;border-color:var(--color-border,#e3e7ea)!important}.pv-menu-item-expand-chevron[data-v-f337a1d6]{flex-shrink:0;margin-left:auto;padding:4px}.pv-menu-item-disabled .pv-menu-item-expand-chevron[data-v-f337a1d6]{pointer-events:auto;color:inherit}.pv-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-6c36dca2]{color:#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-06cc192f]{border-radius:.5rem}.expandable-content .pv-line-clamp[data-v-06cc192f]{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-3ed68672]{background-image:none;padding-right:2px}[data-v-3ed68672] .pv-input-search{background-color:#fff}.suggested-title-label[data-v-3ed68672]{text-underline-offset:2px;text-decoration:underline dotted}.pv-filter-panel[data-v-bc38ed4b]{min-height:0;max-height:100dvh;overflow:hidden}.pv-filter-panel-actions[data-v-bc38ed4b],.pv-filter-panel-header[data-v-bc38ed4b],.pv-filter-panel-suggestion-tags[data-v-bc38ed4b]{--flex-gap:.5rem}.pv-filter-panel-body[data-v-bc38ed4b],.pv-filter-panel-filters-view[data-v-bc38ed4b]{--flex-align:stretch;--flex-gap:0}.pv-filter-panel-body[data-v-bc38ed4b]{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-bc38ed4b]::-webkit-scrollbar{width:8px}.pv-filter-panel-body[data-v-bc38ed4b]::-webkit-scrollbar-track{background:0 0}.pv-filter-panel-body[data-v-bc38ed4b]::-webkit-scrollbar-thumb{background:var(--color-border,#c1c1c1);border-radius:8px}.pv-filter-panel-body[data-v-bc38ed4b]::-webkit-scrollbar-thumb:hover{background:var(--color-text-subdued,#7c7c7c)}.pv-filter-panel-empty[data-v-bc38ed4b],.pv-filter-panel-footer[data-v-bc38ed4b],.pv-filter-panel-suggestions[data-v-bc38ed4b]{padding:12px}.pv-filter-panel-filter-list[data-v-bc38ed4b]{--flex-align:stretch;--flex-gap:8px;padding-top:8px}.pv-filter-panel-footer[data-v-bc38ed4b]{--flex-justify:space-between;background:var(--color-background-body,#fff);z-index:1;flex:none;margin-top:auto;position:sticky;bottom:0}.pv-filter-panel-header[data-v-bc38ed4b]{--flex-align:center;padding:12px}.pv-filter-panel-mode-control[data-v-bc38ed4b]{flex:auto;min-width:0}.pv-filter-panel-modal-footer[data-v-bc38ed4b]{--flex-justify:flex-end}.pv-filter-panel-section-title[data-v-bc38ed4b]{margin:0}.pv-filter-panel-suggestions[data-v-bc38ed4b]{--flex-align:stretch}.pv-filter-panel-suggestion-tags[data-v-bc38ed4b]{--flex-wrap:wrap}.pv-filter-modal-rail[data-v-2ad285b3]{--flex-align:stretch;flex:0 0 180px;padding-inline-end:1rem;overflow-y:auto}.pv-filter-modal-pane[data-v-2ad285b3]{flex:auto;min-width:0;min-height:0;padding-inline-start:1rem}.pv-filter-modal-options[data-v-2ad285b3]{min-height:360px;max-height:360px;overflow-y:auto}.pv-filter-modal-pane-actions[data-v-2ad285b3]{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-text-tertiary[data-v-ff951d17]{color:#6e8081}.pv-query-builder-input-wrapper[data-v-37925d70]{background:var(--secondary-lighten-8,#f7f8f8);border-radius:var(--corner-radius-L,8px);border:1px solid var(--stroke-light,#e3e7ea);cursor:text;align-items:center;width:100%;min-height:2.25rem;padding:.25rem;font-size:.75rem;display:flex;position:relative}.pv-query-builder-input[data-v-37925d70]{justify-content:start;overflow-x:hidden}.pv-query-builder-input-wrapper input[data-v-37925d70]{background:0 0;border:none;outline:none;flex:1rem;min-width:1rem;font-size:.75rem}.pv-query-builder-input-wrapper[data-v-37925d70]:focus-within{border:2px solid #36c5ba}
2
2
  /*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();import * as e from "vue";
3
3
  import { Fragment as t, Teleport as n, computed as r, createBlock as i, createCommentVNode as a, createElementBlock as o, createElementVNode as s, createSlots as c, createTextVNode as l, createVNode as u, defineComponent as d, getCurrentInstance as f, guardReactiveProps as p, inject as m, isRef as h, mergeModels as g, mergeProps as _, nextTick as v, normalizeClass as y, normalizeProps as b, normalizeStyle as x, 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, shallowRef as P, toDisplayString as F, unref as I, useAttrs as L, useId as R, useModel as z, useSlots as B, useTemplateRef as V, vModelCheckbox as ee, vModelDynamic as te, vModelRadio as H, vModelText as U, vShow as W, watch as G, watchEffect as ne, withCtx as K, withDirectives as q, withKeys as re, withModifiers as J } from "vue";
4
4
  import { onClickOutside as ie, onKeyStroke as Y, useDebounceFn as ae, useElementBounding as oe, useElementHover as se, useToggle as ce, watchDebounced as le } from "@vueuse/core";
@@ -2382,15 +2382,16 @@ var Wn = /* @__PURE__ */ new Set(), Gn = (e, t) => !!t.root.value && !!e.root.va
2382
2382
  key: 0,
2383
2383
  "data-testid": "pv-search-input-shortcut",
2384
2384
  class: "pv-kbd"
2385
- }, ti = "/", ni = /* @__PURE__ */ d({
2385
+ }, ti = "/", ni = /* @__PURE__ */ Q(/* @__PURE__ */ d({
2386
2386
  __name: "PvSearchInput",
2387
2387
  props: /* @__PURE__ */ g({
2388
- placeholder: { default: "Search" },
2389
2388
  disabled: {
2390
2389
  type: Boolean,
2391
2390
  default: !1
2392
2391
  },
2393
- displayShortcut: { type: Boolean }
2392
+ displayShortcut: { type: Boolean },
2393
+ placeholder: { default: "Search" },
2394
+ size: { default: "xl" }
2394
2395
  }, {
2395
2396
  modelValue: {
2396
2397
  required: !1,
@@ -2403,7 +2404,8 @@ var Wn = /* @__PURE__ */ new Set(), Gn = (e, t) => !!t.root.value && !!e.root.va
2403
2404
  let n = e, i = V("search-input"), c = z(e, "modelValue"), l = r(() => ({
2404
2405
  "pv-input-search": !0,
2405
2406
  "pv-full-width": !0,
2406
- "pv-input-padded-end": !0
2407
+ "pv-input-padded-end": !0,
2408
+ "pv-input-small": n.size === "lg"
2407
2409
  }));
2408
2410
  return w(() => {
2409
2411
  n.displayShortcut && Y(ti, (e) => {
@@ -2420,7 +2422,7 @@ var Wn = /* @__PURE__ */ new Set(), Gn = (e, t) => !!t.root.value && !!e.root.va
2420
2422
  placeholder: e.placeholder
2421
2423
  }, null, 10, $r), [[U, c.value]]), e.displayShortcut ? (D(), o("kbd", ei, F(ti))) : a("", !0)]));
2422
2424
  }
2423
- }), ri = /^\d{4}-\d{2}-\d{2}$/;
2425
+ }), [["__scopeId", "data-v-9e0c84d9"]]), ri = /^\d{4}-\d{2}-\d{2}$/;
2424
2426
  function ii(e) {
2425
2427
  if (ri.test(e)) {
2426
2428
  let [t, n, r] = e.split("-").map(Number), i = new Date(t, n - 1, r);
@@ -3434,7 +3436,7 @@ var ui = () => ({
3434
3436
  n.inverse && Ae.includes(n.variant) ? e.push(`pv-button-${n.variant}-inverse`) : e.push(`pv-button-${n.variant}`);
3435
3437
  let t = Me(n.size);
3436
3438
  return t && e.push(t), e;
3437
- }), d = r(() => n.isLoading ? "Loading..." : n.selectedItems && n.selectedItems.length > 0 && n.counterStyle === "secondary" ? n.selectedItems[0].text : n.label), f = r(() => {
3439
+ }), d = r(() => n.size === "xl" ? "lg" : "sm"), f = r(() => n.size === "xl" ? 20 : void 0), p = r(() => n.isLoading ? "Loading..." : n.selectedItems && n.selectedItems.length > 0 && n.counterStyle === "secondary" ? n.selectedItems[0].text : n.label), m = r(() => {
3438
3440
  if (n.selectedOption) return {
3439
3441
  ...n.selectedOption,
3440
3442
  menuOptionConfig: n.menuOptionConfig,
@@ -3457,12 +3459,13 @@ var ui = () => ({
3457
3459
  variant: e.counterBadgeVariant,
3458
3460
  size: "sm"
3459
3461
  }, null, 8, ["value", "variant"])) : a("", !0),
3460
- !e.isLoading && e.renderer && f.value ? (D(), i(N(e.renderer), b(_({ key: 2 }, f.value)), null, 16)) : (D(), o(t, { key: 3 }, [
3462
+ !e.isLoading && e.renderer && m.value ? (D(), i(N(e.renderer), b(_({ key: 2 }, m.value)), null, 16)) : (D(), o(t, { key: 3 }, [
3461
3463
  e.icon ? (D(), i(Z, {
3462
3464
  key: 0,
3463
3465
  "data-testid": "pv-multi-select-button-icon",
3464
- name: e.icon
3465
- }, null, 8, ["name"])) : a("", !0),
3466
+ name: e.icon,
3467
+ size: f.value
3468
+ }, null, 8, ["name", "size"])) : a("", !0),
3466
3469
  e.companyLogo ? (D(), i(kr, {
3467
3470
  key: 1,
3468
3471
  name: e.companyLogo,
@@ -3476,18 +3479,19 @@ var ui = () => ({
3476
3479
  image: e.avatar.image,
3477
3480
  variant: e.avatar.variant,
3478
3481
  shape: e.avatar.shape,
3479
- size: "sm"
3482
+ size: d.value
3480
3483
  }, null, 8, [
3481
3484
  "initials",
3482
3485
  "image",
3483
3486
  "variant",
3484
- "shape"
3487
+ "shape",
3488
+ "size"
3485
3489
  ])) : a("", !0),
3486
3490
  e.isLoading || e.label ? (D(), o("span", {
3487
3491
  key: 3,
3488
- class: "pv-truncate pv-select-button-trigger-label",
3489
- title: d.value
3490
- }, F(d.value), 9, ba)) : a("", !0)
3492
+ class: "pv-text-body-md pv-text-regular pv-truncate pv-select-button-trigger-label",
3493
+ title: p.value
3494
+ }, F(p.value), 9, ba)) : a("", !0)
3491
3495
  ], 64)),
3492
3496
  e.counterPosition === "right" && e.counterValue && e.counterStyle === "primary" ? (D(), i(Re, {
3493
3497
  key: 4,
@@ -3524,7 +3528,7 @@ var ui = () => ({
3524
3528
  })) : a("", !0)
3525
3529
  ], 10, _a));
3526
3530
  }
3527
- }), [["__scopeId", "data-v-5b922a5f"]]), Sa = {}, Ca = { class: "pv-text-subdued pv-text-center pv-text-body-md pv-inset-square-12" };
3531
+ }), [["__scopeId", "data-v-0de70d6d"]]), Sa = {}, Ca = { class: "pv-text-subdued pv-text-center pv-text-body-md pv-inset-square-12" };
3528
3532
  function wa(e, t) {
3529
3533
  return D(), o("div", Ca, "No Results Found");
3530
3534
  }
@@ -3613,19 +3617,19 @@ var Ma = {
3613
3617
  config: {}
3614
3618
  },
3615
3619
  setup(e) {
3616
- let n = e, c = k(null), l = k(null), u = r(() => n.subText || null), d = (e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), f = (e, t, n) => {
3617
- let r = d(n), i = RegExp(`(${r})`, "gi");
3620
+ let n = e, c = k(null), l = k(null), u = r(() => n.menuOptionConfig?.size === "lg" ? "sm" : "lg"), d = r(() => n.menuOptionConfig?.size === "xl" ? 20 : void 0), f = r(() => n.subText || null), p = (e) => e.replace(/[.*+?^${}()|[\]\\]/g, "\\$&"), m = (e, t, n) => {
3621
+ let r = p(n), i = RegExp(`(${r})`, "gi");
3618
3622
  e.innerHTML = t.replace(i, "<span data-test-id=\"pv-matched-text\" style=\"font-weight: bold;\">$1</span>");
3619
- }, p = () => {
3623
+ }, h = () => {
3620
3624
  if (n.queryText) {
3621
- let e = new RegExp(d(n.queryText), "gi").test(n.text);
3622
- c.value && f(c.value, n.text, n.queryText), l.value && u.value && (e ? l.value.textContent = u.value : f(l.value, u.value, n.queryText));
3623
- } else c.value && (c.value.textContent = n.text), l.value && u.value && (l.value.textContent = u.value);
3625
+ let e = new RegExp(p(n.queryText), "gi").test(n.text);
3626
+ c.value && m(c.value, n.text, n.queryText), l.value && f.value && (e ? l.value.textContent = f.value : m(l.value, f.value, n.queryText));
3627
+ } else c.value && (c.value.textContent = n.text), l.value && f.value && (l.value.textContent = f.value);
3624
3628
  };
3625
3629
  return w(() => {
3626
- p();
3630
+ h();
3627
3631
  }), G(() => n.queryText, () => {
3628
- p();
3632
+ h();
3629
3633
  }), (n, r) => (D(), o(t, null, [
3630
3634
  e.avatar ? (D(), i(ga, {
3631
3635
  key: 0,
@@ -3633,18 +3637,24 @@ var Ma = {
3633
3637
  image: e.avatar.image,
3634
3638
  variant: e.avatar.variant,
3635
3639
  shape: e.avatar.shape,
3636
- size: "lg"
3640
+ size: u.value
3637
3641
  }, null, 8, [
3638
3642
  "initials",
3639
3643
  "image",
3640
3644
  "variant",
3641
- "shape"
3645
+ "shape",
3646
+ "size"
3642
3647
  ])) : a("", !0),
3643
3648
  e.icon ? (D(), i(Z, {
3644
3649
  key: 1,
3645
3650
  class: y({ "pv-text-subdued": !e.disabled }),
3646
- name: e.icon
3647
- }, null, 8, ["class", "name"])) : a("", !0),
3651
+ name: e.icon,
3652
+ size: d.value
3653
+ }, null, 8, [
3654
+ "class",
3655
+ "name",
3656
+ "size"
3657
+ ])) : a("", !0),
3648
3658
  e.companyName ? (D(), i(kr, {
3649
3659
  key: 2,
3650
3660
  name: e.companyName,
@@ -3660,7 +3670,7 @@ var Ma = {
3660
3670
  key: 0,
3661
3671
  class: y({ "pv-text-subdued": !e.disabled }),
3662
3672
  style: { "padding-left": "4px" }
3663
- }, F(e.subduedText), 3)) : a("", !0)], 8, Na), u.value ? (D(), o("span", {
3673
+ }, F(e.subduedText), 3)) : a("", !0)], 8, Na), f.value ? (D(), o("span", {
3664
3674
  key: 0,
3665
3675
  ref_key: "subText",
3666
3676
  ref: l,
@@ -3670,8 +3680,8 @@ var Ma = {
3670
3680
  "pv-truncate",
3671
3681
  { "pv-text-subdued": !e.disabled }
3672
3682
  ]),
3673
- title: e.hoverTitle ?? u.value
3674
- }, F(u.value), 11, Pa)) : a("", !0)]),
3683
+ title: e.hoverTitle ?? f.value
3684
+ }, F(f.value), 11, Pa)) : a("", !0)]),
3675
3685
  e.secondaryText && typeof e.secondaryText == "number" ? (D(), i(Re, {
3676
3686
  key: 3,
3677
3687
  value: e.secondaryText,
@@ -4495,15 +4505,15 @@ var Ma = {
4495
4505
  style: { margin: "8px 0" }
4496
4506
  }, bo = {
4497
4507
  key: 3,
4498
- class: "pv-flex pv-inset-square-8",
4508
+ class: "pv-flex pv-inset-square-8 pv-text-body-sm pv-text-subdued",
4499
4509
  style: { "justify-content": "center" }
4500
- }, xo = {
4510
+ }, xo = { key: 0 }, So = {
4501
4511
  class: "pv-sticky pv-surface pv-border-top pv-inset-square-8",
4502
4512
  style: {
4503
4513
  "--flex-justify": "space-between",
4504
4514
  "--bottom": "0"
4505
4515
  }
4506
- }, So = /* @__PURE__ */ d({
4516
+ }, Co = /* @__PURE__ */ d({
4507
4517
  __name: "PvMultiSelectButton",
4508
4518
  props: /* @__PURE__ */ g({
4509
4519
  companyLogo: {},
@@ -4543,6 +4553,7 @@ var Ma = {
4543
4553
  isSeeMoreLoading: { type: Boolean },
4544
4554
  hasMoreOptions: { type: Boolean },
4545
4555
  label: { default: "Select" },
4556
+ loadingText: {},
4546
4557
  menuActionsVariant: { default: "select-clear" },
4547
4558
  options: { default: () => [] },
4548
4559
  optionsAction: {},
@@ -4593,7 +4604,8 @@ var Ma = {
4593
4604
  renderer: c.optionsRenderer,
4594
4605
  action: c.optionsAction,
4595
4606
  variant: c.optionsVariant,
4596
- counterBadgeVariant: c.counterBadgeVariant
4607
+ counterBadgeVariant: c.counterBadgeVariant,
4608
+ size: c.size
4597
4609
  })), d = r(() => {
4598
4610
  let e = /* @__PURE__ */ new Map(), t = (n) => {
4599
4611
  for (let r of n) e.set(r.id, r), r.children?.length && t(r.children);
@@ -4843,8 +4855,8 @@ var Ma = {
4843
4855
  "isSeeMoreLoading",
4844
4856
  "hasMoreOptions"
4845
4857
  ]))], 64)) : a("", !0),
4846
- e.isLoading ? (D(), o("div", bo, [u(ke, { variant: "dark" })])) : ae.value.length === 0 ? (D(), o(t, { key: 4 }, [I(ve) ? j(n.$slots, "no-results", b(_({ key: 0 }, fe.value))) : (D(), i(Ta, { key: 1 }))], 64)) : a("", !0),
4847
- s("div", xo, [I(ye) ? j(n.$slots, "footer", b(_({ key: 0 }, fe.value))) : a("", !0), e.menuActionsVariant ? (D(), i(pa, {
4858
+ e.isLoading ? (D(), o("div", bo, [u(ke, { variant: "dark" }), e.loadingText ? (D(), o("span", xo, F(e.loadingText), 1)) : a("", !0)])) : ae.value.length === 0 ? (D(), o(t, { key: 4 }, [I(ve) ? j(n.$slots, "no-results", b(_({ key: 0 }, fe.value))) : (D(), i(Ta, { key: 1 }))], 64)) : a("", !0),
4859
+ s("div", So, [I(ye) ? j(n.$slots, "footer", b(_({ key: 0 }, fe.value))) : a("", !0), e.menuActionsVariant ? (D(), i(pa, {
4848
4860
  key: 1,
4849
4861
  variant: e.menuActionsVariant,
4850
4862
  disabled: e.isLoading,
@@ -4862,10 +4874,10 @@ var Ma = {
4862
4874
  _: 3
4863
4875
  }, 16, ["modelValue", "offset"]));
4864
4876
  }
4865
- }), Co = {
4877
+ }), wo = {
4866
4878
  key: 0,
4867
4879
  class: "pv-inset-square-8 pv-border-bottom"
4868
- }, wo = /* @__PURE__ */ d({
4880
+ }, To = /* @__PURE__ */ d({
4869
4881
  __name: "PvSelectButton",
4870
4882
  props: /* @__PURE__ */ g({
4871
4883
  defaultOpen: { type: Boolean },
@@ -4922,7 +4934,8 @@ var Ma = {
4922
4934
  renderer: n.optionsRenderer,
4923
4935
  action: n.optionsAction,
4924
4936
  variant: n.optionsVariant,
4925
- counterBadgeVariant: n.counterBadgeVariant
4937
+ counterBadgeVariant: n.counterBadgeVariant,
4938
+ size: n.size
4926
4939
  })), d = t, [f] = ce(n.defaultOpen), p = z(e, "modelValue"), m = z(e, "searchInput");
4927
4940
  G(f, (e) => {
4928
4941
  d(e ? "dropdown-open" : "dropdown-closed");
@@ -5013,7 +5026,7 @@ var Ma = {
5013
5026
  class: "pv-popover",
5014
5027
  "data-test-id": "pv-popover",
5015
5028
  style: x([e.popoverCssProperties, { position: "unset" }])
5016
- }, [e.disableSearchInput ? a("", !0) : (D(), o("div", Co, [u(ni, {
5029
+ }, [e.disableSearchInput ? a("", !0) : (D(), o("div", wo, [u(ni, {
5017
5030
  "model-value": m.value,
5018
5031
  "onUpdate:modelValue": n[0] ||= (e) => m.value = e,
5019
5032
  class: "pv-stack-4",
@@ -5040,18 +5053,18 @@ var Ma = {
5040
5053
  _: 1
5041
5054
  }, 16, ["modelValue"]));
5042
5055
  }
5043
- }), To = {
5056
+ }), Eo = {
5044
5057
  short: 5,
5045
5058
  long: 7
5046
- }, Eo = ({ variant: e = "long" } = {}) => ({ getPaginations: ({ currentPage: t, pages: n }) => {
5047
- if (n <= To[e]) return Array.from({ length: n }, (e, t) => ({
5059
+ }, Do = ({ variant: e = "long" } = {}) => ({ getPaginations: ({ currentPage: t, pages: n }) => {
5060
+ if (n <= Eo[e]) return Array.from({ length: n }, (e, t) => ({
5048
5061
  page: t + 1,
5049
5062
  label: (t + 1).toString()
5050
5063
  }));
5051
5064
  let r = [{
5052
5065
  page: 1,
5053
5066
  label: "1"
5054
- }], i = To[e] - 3, a = Math.floor(i / 2), o = t - a, s = t + a, c = o > 2, l = s < n - 1;
5067
+ }], i = Eo[e] - 3, a = Math.floor(i / 2), o = t - a, s = t + a, c = o > 2, l = s < n - 1;
5055
5068
  if (o <= 2 && (o = 2, s = o + i - 1), s >= n - 1 && (s = n - 1, o = s - i + 1), c && r.push({
5056
5069
  page: 0,
5057
5070
  label: "..."
@@ -5070,11 +5083,11 @@ var Ma = {
5070
5083
  page: n,
5071
5084
  label: n.toString()
5072
5085
  }), r;
5073
- } }), Do = ["data-style"], Oo = ["data-testid", "aria-current"], ko = {
5086
+ } }), Oo = ["data-style"], ko = ["data-testid", "aria-current"], Ao = {
5074
5087
  key: 0,
5075
5088
  class: "dots-button",
5076
5089
  disabled: ""
5077
- }, Ao = ["onClick"], jo = /* @__PURE__ */ Q(/* @__PURE__ */ d({
5090
+ }, jo = ["onClick"], Mo = /* @__PURE__ */ Q(/* @__PURE__ */ d({
5078
5091
  __name: "PvPagination",
5079
5092
  props: /* @__PURE__ */ g({
5080
5093
  size: { default: "lg" },
@@ -5087,7 +5100,7 @@ var Ma = {
5087
5100
  }),
5088
5101
  emits: ["update:modelValue"],
5089
5102
  setup(e) {
5090
- let { getPaginations: n } = Eo({ variant: e.variant }), r = z(e, "modelValue");
5103
+ let { getPaginations: n } = Do({ variant: e.variant }), r = z(e, "modelValue");
5091
5104
  return (i, a) => (D(), o("ol", {
5092
5105
  role: "list",
5093
5106
  class: "pv-pagination",
@@ -5109,10 +5122,10 @@ var Ma = {
5109
5122
  key: e.page,
5110
5123
  "data-testid": `pagination-button-${e.page}`,
5111
5124
  "aria-current": e.page === r.value ? "page" : void 0
5112
- }, [e.label === "..." ? (D(), o("button", ko, F(e.label), 1)) : (D(), o("button", {
5125
+ }, [e.label === "..." ? (D(), o("button", Ao, F(e.label), 1)) : (D(), o("button", {
5113
5126
  key: 1,
5114
5127
  onClick: (t) => i.$emit("update:modelValue", e.page)
5115
- }, F(e.label), 9, Ao))], 8, Oo))), 128)),
5128
+ }, F(e.label), 9, jo))], 8, ko))), 128)),
5116
5129
  s("li", null, [u($, {
5117
5130
  "data-testid": "pagination-right-arrow-icon",
5118
5131
  disabled: r.value === e.maxPages,
@@ -5121,14 +5134,14 @@ var Ma = {
5121
5134
  variant: "ghost",
5122
5135
  onClick: a[1] ||= (e) => i.$emit("update:modelValue", r.value + 1)
5123
5136
  }, null, 8, ["disabled"])])
5124
- ], 8, Do));
5137
+ ], 8, Oo));
5125
5138
  }
5126
- }), [["__scopeId", "data-v-6c36dca2"]]), Mo = ["for"], No = [
5139
+ }), [["__scopeId", "data-v-6c36dca2"]]), No = ["for"], Po = [
5127
5140
  "checked",
5128
5141
  "type",
5129
5142
  "value",
5130
5143
  "id"
5131
- ], Po = /* @__PURE__ */ d({
5144
+ ], Fo = /* @__PURE__ */ d({
5132
5145
  __name: "PvSelectableCard",
5133
5146
  props: {
5134
5147
  variant: { default: "default" },
@@ -5150,34 +5163,34 @@ var Ma = {
5150
5163
  type: e.deselect ? "checkbox" : "radio",
5151
5164
  value: e.value,
5152
5165
  id: t.value
5153
- }, null, 8, No), j(n.$slots, "default")], 10, Mo));
5166
+ }, null, 8, Po), j(n.$slots, "default")], 10, No));
5154
5167
  }
5155
- }), Fo = { class: "pv-layout-two-sidebar" }, Io = ["data-hidden"], Lo = { "data-layout": "main-section" }, Ro = ["data-hidden"], zo = /* @__PURE__ */ d({
5168
+ }), Io = { class: "pv-layout-two-sidebar" }, Lo = ["data-hidden"], Ro = { "data-layout": "main-section" }, zo = ["data-hidden"], Bo = /* @__PURE__ */ d({
5156
5169
  __name: "PvSidePanel",
5157
5170
  props: {
5158
5171
  showLeftSidebar: { type: Boolean },
5159
5172
  showRightSidebar: { type: Boolean }
5160
5173
  },
5161
5174
  setup(e) {
5162
- return (t, n) => (D(), o("div", Fo, [
5175
+ return (t, n) => (D(), o("div", Io, [
5163
5176
  s("div", {
5164
5177
  "data-hidden": e.showLeftSidebar === !1 ? !0 : void 0,
5165
5178
  "data-testid": "pv-side-panel-left",
5166
5179
  "data-layout": "left-sidebar"
5167
- }, [j(t.$slots, "left-sidebar")], 8, Io),
5168
- s("div", Lo, [j(t.$slots, "main")]),
5180
+ }, [j(t.$slots, "left-sidebar")], 8, Lo),
5181
+ s("div", Ro, [j(t.$slots, "main")]),
5169
5182
  s("div", {
5170
5183
  "data-hidden": e.showRightSidebar === !1 ? !0 : void 0,
5171
5184
  "data-testid": "pv-side-panel-right",
5172
5185
  "data-layout": "right-sidebar"
5173
- }, [j(t.$slots, "right-sidebar")], 8, Ro)
5186
+ }, [j(t.$slots, "right-sidebar")], 8, zo)
5174
5187
  ]));
5175
5188
  }
5176
- }), Bo = ["data-style"], Vo = [
5189
+ }), Vo = ["data-style"], Ho = [
5177
5190
  "placeholder",
5178
5191
  "disabled",
5179
5192
  "name"
5180
- ], Ho = /* @__PURE__ */ d({
5193
+ ], Uo = /* @__PURE__ */ d({
5181
5194
  __name: "PvGhostInput",
5182
5195
  props: /* @__PURE__ */ g({
5183
5196
  variant: { default: "h1" },
@@ -5239,7 +5252,7 @@ var Ma = {
5239
5252
  placeholder: e.placeholder,
5240
5253
  disabled: e.disabled,
5241
5254
  name: n[e.variant]
5242
- }), null, 16, Vo), [[U, l.value]]),
5255
+ }), null, 16, Ho), [[U, l.value]]),
5243
5256
  e.showEditIcon ? (D(), i($, {
5244
5257
  key: 0,
5245
5258
  "left-icon": "edit",
@@ -5247,12 +5260,12 @@ var Ma = {
5247
5260
  variant: "ghost",
5248
5261
  onClick: d
5249
5262
  })) : a("", !0)
5250
- ], 8, Bo));
5263
+ ], 8, Vo));
5251
5264
  }
5252
- }), Uo = {
5265
+ }), Wo = {
5253
5266
  key: 0,
5254
5267
  class: "pv-heading-2"
5255
- }, Wo = ["id"], Go = { class: "pv-flex" }, Ko = ["id"], qo = /* @__PURE__ */ d({
5268
+ }, Go = ["id"], Ko = { class: "pv-flex" }, qo = ["id"], Jo = /* @__PURE__ */ d({
5256
5269
  __name: "PvHeader",
5257
5270
  props: {
5258
5271
  title: {},
@@ -5278,14 +5291,14 @@ var Ma = {
5278
5291
  "--inset-size": "0.75rem 1rem",
5279
5292
  "background-color": "#fdfdfc"
5280
5293
  }
5281
- }, [e.title ? (D(), o("span", Uo, F(e.title), 1)) : (D(), o("div", {
5294
+ }, [e.title ? (D(), o("span", Wo, F(e.title), 1)) : (D(), o("div", {
5282
5295
  key: 1,
5283
5296
  id: e.headerTitleId,
5284
5297
  class: "pv-flex"
5285
- }, [j(r.$slots, "left")], 8, Wo)), s("div", Go, [s("div", {
5298
+ }, [j(r.$slots, "left")], 8, Go)), s("div", Ko, [s("div", {
5286
5299
  id: e.headerActionsId,
5287
5300
  class: "pv-flex"
5288
- }, [j(r.$slots, "right")], 8, Ko), e.showAskTqButton ? (D(), o("div", {
5301
+ }, [j(r.$slots, "right")], 8, qo), e.showAskTqButton ? (D(), o("div", {
5289
5302
  key: 0,
5290
5303
  class: y({ "pv-border-left": I(n) }),
5291
5304
  style: { "padding-inline-start": "0.5rem" }
@@ -5296,7 +5309,7 @@ var Ma = {
5296
5309
  "hide-icon": ""
5297
5310
  }, null, 8, ["id"])], 2)) : a("", !0)])], 2));
5298
5311
  }
5299
- }), Jo = ["data-more"], Yo = ["src", "alt"], Xo = /* @__PURE__ */ d({
5312
+ }), Yo = ["data-more"], Xo = ["src", "alt"], Zo = /* @__PURE__ */ d({
5300
5313
  __name: "PvAvatarGroup",
5301
5314
  props: {
5302
5315
  items: {},
@@ -5325,18 +5338,18 @@ var Ma = {
5325
5338
  key: 1,
5326
5339
  src: e.image,
5327
5340
  alt: e.alt ?? ""
5328
- }, null, 8, Yo)) : (D(), o("div", {
5341
+ }, null, 8, Xo)) : (D(), o("div", {
5329
5342
  key: 2,
5330
5343
  class: y(c.value)
5331
- }, null, 2))]))), 128))], 10, Jo));
5344
+ }, null, 2))]))), 128))], 10, Yo));
5332
5345
  }
5333
- }), Zo = { class: "pv-flex" }, Qo = [
5346
+ }), Qo = { class: "pv-flex" }, $o = [
5334
5347
  "name",
5335
5348
  "value",
5336
5349
  "checked",
5337
5350
  "disabled",
5338
5351
  "onChange"
5339
- ], $o = { key: 1 }, es = /* @__PURE__ */ d({
5352
+ ], es = { key: 1 }, ts = /* @__PURE__ */ d({
5340
5353
  __name: "PvToggleGroup",
5341
5354
  props: /* @__PURE__ */ g({
5342
5355
  disabled: { type: Boolean },
@@ -5358,7 +5371,7 @@ var Ma = {
5358
5371
  r.value = e;
5359
5372
  }
5360
5373
  };
5361
- return (n, u) => (D(), o("div", Zo, [(D(!0), o(t, null, A(e.options, (t) => (D(), i(Zn, {
5374
+ return (n, u) => (D(), o("div", Qo, [(D(!0), o(t, null, A(e.options, (t) => (D(), i(Zn, {
5362
5375
  key: t.value,
5363
5376
  description: e.hideLabels ? t.label : ""
5364
5377
  }, {
@@ -5371,21 +5384,21 @@ var Ma = {
5371
5384
  class: "pv-radio",
5372
5385
  disabled: e.disabled || t.disabled,
5373
5386
  onChange: (e) => l(t)
5374
- }, null, 40, Qo),
5387
+ }, null, 40, $o),
5375
5388
  t.icon ? (D(), i(Z, {
5376
5389
  key: 0,
5377
5390
  name: t.icon
5378
5391
  }, null, 8, ["name"])) : a("", !0),
5379
- e.hideLabels ? a("", !0) : (D(), o("span", $o, F(t.label), 1))
5392
+ e.hideLabels ? a("", !0) : (D(), o("span", es, F(t.label), 1))
5380
5393
  ], 2)]),
5381
5394
  _: 2
5382
5395
  }, 1032, ["description"]))), 128))]));
5383
5396
  }
5384
- }), ts = [
5397
+ }), ns = [
5385
5398
  "aria-label",
5386
5399
  "disabled",
5387
5400
  "indeterminate"
5388
- ], ns = /* @__PURE__ */ d({
5401
+ ], rs = /* @__PURE__ */ d({
5389
5402
  __name: "PvCheckbox",
5390
5403
  props: /* @__PURE__ */ g({
5391
5404
  ariaLabel: {},
@@ -5406,13 +5419,13 @@ var Ma = {
5406
5419
  "aria-label": e.ariaLabel,
5407
5420
  disabled: e.disabled,
5408
5421
  indeterminate: e.indeterminate
5409
- }, null, 8, ts)), [[ee, t.value]]);
5422
+ }, null, 8, ns)), [[ee, t.value]]);
5410
5423
  }
5411
- }), rs = ["aria-label", "aria-labelledby"], is = ["id"], as = [
5424
+ }), is = ["aria-label", "aria-labelledby"], as = ["id"], os = [
5412
5425
  "name",
5413
5426
  "value",
5414
5427
  "disabled"
5415
- ], os = /* @__PURE__ */ d({
5428
+ ], ss = /* @__PURE__ */ d({
5416
5429
  __name: "PvRadioGroup",
5417
5430
  props: /* @__PURE__ */ g({
5418
5431
  ariaLabel: {},
@@ -5443,7 +5456,7 @@ var Ma = {
5443
5456
  key: 0,
5444
5457
  id: I(u),
5445
5458
  class: "pv-label pv-stack-8"
5446
- }, F(e.label), 9, is)) : a("", !0), s("div", {
5459
+ }, F(e.label), 9, as)) : a("", !0), s("div", {
5447
5460
  class: y(e.orientation === "horizontal" ? "pv-flex" : "pv-flex-vertical"),
5448
5461
  style: x(f.value)
5449
5462
  }, [(D(!0), o(t, null, A(e.options, (t) => (D(), o("label", {
@@ -5456,9 +5469,9 @@ var Ma = {
5456
5469
  name: d.value,
5457
5470
  value: t.value,
5458
5471
  disabled: e.disabled || t.disabled
5459
- }, null, 8, as), [[H, i.value]]), l(" " + F(t.label), 1)]))), 128))], 6)], 8, rs));
5472
+ }, null, 8, os), [[H, i.value]]), l(" " + F(t.label), 1)]))), 128))], 6)], 8, is));
5460
5473
  }
5461
- }), ss = /* @__PURE__ */ d({
5474
+ }), cs = /* @__PURE__ */ d({
5462
5475
  __name: "PvSprite",
5463
5476
  props: {
5464
5477
  src: {},
@@ -5479,7 +5492,7 @@ var Ma = {
5479
5492
  id: "pv-sprite-content"
5480
5493
  }, null, -1)]));
5481
5494
  }
5482
- }), cs = /* @__PURE__ */ d({
5495
+ }), ls = /* @__PURE__ */ d({
5483
5496
  __name: "PvSkeleton",
5484
5497
  props: {
5485
5498
  size: { default: "md" },
@@ -5506,18 +5519,18 @@ var Ma = {
5506
5519
  "width"
5507
5520
  ]));
5508
5521
  }
5509
- }), ls = ["for"], us = {
5522
+ }), us = ["for"], ds = {
5510
5523
  key: 0,
5511
5524
  class: "pv-surface-accent pv-inset-square pv-text-body-md pv-radius pv-bordered",
5512
5525
  style: { "--inset-size": "6px 10px" }
5513
- }, ds = { class: "pv-relative pv-flex-item" }, fs = [
5526
+ }, fs = { class: "pv-relative pv-flex-item" }, ps = [
5514
5527
  "disabled",
5515
5528
  "type",
5516
5529
  "placeholder",
5517
5530
  "id",
5518
5531
  "data-invalid",
5519
5532
  "step"
5520
- ], ps = /* @__PURE__ */ d({
5533
+ ], ms = /* @__PURE__ */ d({
5521
5534
  __name: "PvInput",
5522
5535
  props: /* @__PURE__ */ g({
5523
5536
  showLabel: { type: Boolean },
@@ -5544,8 +5557,8 @@ var Ma = {
5544
5557
  "data-testid": "pv-input-label",
5545
5558
  class: "pv-label pv-stack-8",
5546
5559
  for: e.id
5547
- }, [j(n.$slots, "label")], 8, ls)) : a("", !0),
5548
- s("div", { class: y(["pv-flex pv-flex-item", { "pv-stack-8": e.lowerLabel }]) }, [e.prefixLabel ? (D(), o("div", us, F(e.prefixLabel), 1)) : a("", !0), s("div", ds, [e.inputIcon ? (D(), i(Z, {
5560
+ }, [j(n.$slots, "label")], 8, us)) : a("", !0),
5561
+ s("div", { class: y(["pv-flex pv-flex-item", { "pv-stack-8": e.lowerLabel }]) }, [e.prefixLabel ? (D(), o("div", ds, F(e.prefixLabel), 1)) : a("", !0), s("div", fs, [e.inputIcon ? (D(), i(Z, {
5549
5562
  key: 0,
5550
5563
  class: "pv-absolute input-icon-position",
5551
5564
  name: e.inputIcon
@@ -5563,7 +5576,7 @@ var Ma = {
5563
5576
  id: e.id,
5564
5577
  "data-invalid": e.error ? !0 : void 0,
5565
5578
  step: e.step
5566
- }), null, 16, fs), [[te, c.value]])])], 2),
5579
+ }), null, 16, ps), [[te, c.value]])])], 2),
5567
5580
  e.lowerLabel ? (D(), o("p", {
5568
5581
  key: 1,
5569
5582
  "data-testid": "pv-input-lower-label",
@@ -5575,15 +5588,15 @@ var Ma = {
5575
5588
  }, F(e.lowerLabel), 3)) : a("", !0)
5576
5589
  ], 64));
5577
5590
  }
5578
- }), ms = { class: "pv-stack-8" }, hs = { class: "pv-input-file" }, gs = [
5591
+ }), hs = { class: "pv-stack-8" }, gs = { class: "pv-input-file" }, _s = [
5579
5592
  "id",
5580
5593
  "accept",
5581
5594
  "disabled",
5582
5595
  "multiple"
5583
- ], _s = ["for"], vs = {
5596
+ ], vs = ["for"], ys = {
5584
5597
  key: 0,
5585
5598
  class: "pv-stack-8"
5586
- }, ys = { class: "pv-flex-item pv-truncate pv-text-body-sm" }, bs = /* @__PURE__ */ d({
5599
+ }, bs = { class: "pv-flex-item pv-truncate pv-text-body-sm" }, xs = /* @__PURE__ */ d({
5587
5600
  __name: "PvFileInput",
5588
5601
  props: /* @__PURE__ */ g({
5589
5602
  helperText: {},
@@ -5609,7 +5622,7 @@ var Ma = {
5609
5622
  }, m = (e) => {
5610
5623
  d.value = d.value.filter((t) => t !== e);
5611
5624
  }, h = r(() => !c.showSelectedFile || d.value.length === 0 ? c.helperText : d.value.length === 1 ? d.value[0].name : `${d.value.length} files selected`);
5612
- return (n, r) => (D(), o("div", ms, [s("div", hs, [
5625
+ return (n, r) => (D(), o("div", hs, [s("div", gs, [
5613
5626
  s("input", {
5614
5627
  id: I(f),
5615
5628
  type: "file",
@@ -5618,11 +5631,11 @@ var Ma = {
5618
5631
  disabled: e.disabled,
5619
5632
  multiple: e.multiple,
5620
5633
  onChange: p
5621
- }, null, 40, gs),
5634
+ }, null, 40, _s),
5622
5635
  s("label", {
5623
5636
  for: I(f),
5624
5637
  class: "pv-label"
5625
- }, [...r[1] ||= [s("span", { class: "pv-button-primary pv-button-large" }, "Choose File", -1)]], 8, _s),
5638
+ }, [...r[1] ||= [s("span", { class: "pv-button-primary pv-button-large" }, "Choose File", -1)]], 8, vs),
5626
5639
  s("p", { class: y(["pv-text-body-sm", e.showSelectedFile && d.value.length ? "pv-flex-item pv-truncate" : "pv-text-subdued"]) }, F(h.value), 3),
5627
5640
  e.showSelectedFile && d.value.length === 1 ? (D(), i($, {
5628
5641
  key: 0,
@@ -5632,10 +5645,10 @@ var Ma = {
5632
5645
  "aria-label": "Remove file",
5633
5646
  onClick: r[0] ||= (e) => m(d.value[0])
5634
5647
  })) : a("", !0)
5635
- ]), e.showSelectedFile && d.value.length > 1 ? (D(), o("ul", vs, [(D(!0), o(t, null, A(d.value, (e) => (D(), o("li", {
5648
+ ]), e.showSelectedFile && d.value.length > 1 ? (D(), o("ul", ys, [(D(!0), o(t, null, A(d.value, (e) => (D(), o("li", {
5636
5649
  key: e.name,
5637
5650
  class: "pv-full-width pv-bordered pv-radius-md pv-flex pv-space-between pv-inset-square"
5638
- }, [s("p", ys, F(e.name), 1), u($, {
5651
+ }, [s("p", bs, F(e.name), 1), u($, {
5639
5652
  "left-icon": "trash",
5640
5653
  variant: "destructive",
5641
5654
  size: "md",
@@ -5643,7 +5656,7 @@ var Ma = {
5643
5656
  onClick: (t) => m(e)
5644
5657
  }, null, 8, ["onClick"])]))), 128))])) : a("", !0)]));
5645
5658
  }
5646
- }), xs = ["data-rating"], Ss = ["value"], Cs = /* @__PURE__ */ d({
5659
+ }), Ss = ["data-rating"], Cs = ["value"], ws = /* @__PURE__ */ d({
5647
5660
  __name: "PvRating",
5648
5661
  props: {
5649
5662
  variant: { default: "dot" },
@@ -5662,9 +5675,9 @@ var Ma = {
5662
5675
  min: "0",
5663
5676
  max: "5",
5664
5677
  value: e.value
5665
- }, "4.0 stars", 8, Ss)], 12, xs));
5678
+ }, "4.0 stars", 8, Cs)], 12, Ss));
5666
5679
  }
5667
- }), ws = /* @__PURE__ */ d({
5680
+ }), Ts = /* @__PURE__ */ d({
5668
5681
  __name: "PvCard",
5669
5682
  props: {
5670
5683
  href: {},
@@ -5690,34 +5703,34 @@ var Ma = {
5690
5703
  "class"
5691
5704
  ]));
5692
5705
  }
5693
- }), Ts = /* @__PURE__ */ d({
5706
+ }), Es = /* @__PURE__ */ d({
5694
5707
  __name: "PvWidget",
5695
5708
  setup(e) {
5696
- return (e, t) => (D(), i(ws, { class: "pv-inset-square-16" }, {
5709
+ return (e, t) => (D(), i(Ts, { class: "pv-inset-square-16" }, {
5697
5710
  default: K(() => [j(e.$slots, "default")]),
5698
5711
  _: 3
5699
5712
  }));
5700
5713
  }
5701
- }), Es = {
5714
+ }), Ds = {
5702
5715
  class: "pv-flex-vertical",
5703
5716
  style: {
5704
5717
  "--flex-align": "flex-start",
5705
5718
  "--flex-gap": "0.25rem"
5706
5719
  }
5707
- }, Ds = {
5720
+ }, Os = {
5708
5721
  key: 0,
5709
5722
  class: "pv-flex",
5710
5723
  style: { "--flex-gap": "0.25rem" }
5711
- }, Os = { class: "pv-text-body-sm" }, ks = {
5724
+ }, ks = { class: "pv-text-body-sm" }, As = {
5712
5725
  key: 1,
5713
5726
  class: "pv-text-body-sm pv-text-tertiary"
5714
- }, As = {
5727
+ }, js = {
5715
5728
  key: 2,
5716
5729
  class: "pv-heading-2"
5717
- }, js = {
5730
+ }, Ms = {
5718
5731
  key: 3,
5719
5732
  class: "pv-text-body-md pv-text-secondary pv-text-subdued"
5720
- }, Ms = /* @__PURE__ */ Q(/* @__PURE__ */ d({
5733
+ }, Ns = /* @__PURE__ */ Q(/* @__PURE__ */ d({
5721
5734
  __name: "PvInsightCard",
5722
5735
  props: {
5723
5736
  icon: { default: "ai" },
@@ -5737,22 +5750,22 @@ var Ma = {
5737
5750
  emits: ["click", "icon-click"],
5738
5751
  setup(e) {
5739
5752
  let t = e, n = r(() => t.icon || t.insight);
5740
- return (t, r) => (D(), i(ws, {
5753
+ return (t, r) => (D(), i(Ts, {
5741
5754
  variant: "secondary",
5742
5755
  interactive: e.interactive,
5743
5756
  onClick: r[1] ||= (e) => t.$emit("click"),
5744
5757
  class: "pv-relative"
5745
5758
  }, {
5746
- default: K(() => [s("div", Es, [
5747
- n.value ? (D(), o("div", Ds, [e.icon ? (D(), i(Z, {
5759
+ default: K(() => [s("div", Ds, [
5760
+ n.value ? (D(), o("div", Os, [e.icon ? (D(), i(Z, {
5748
5761
  key: 0,
5749
5762
  style: { color: "#218c88" },
5750
5763
  name: e.icon,
5751
5764
  size: 12
5752
- }, null, 8, ["name"])) : a("", !0), s("span", Os, F(e.insight), 1)])) : a("", !0),
5753
- e.upperLabel ? (D(), o("span", ks, F(e.upperLabel), 1)) : a("", !0),
5754
- e.title ? (D(), o("span", As, F(e.title), 1)) : a("", !0),
5755
- e.description ? (D(), o("span", js, F(e.description), 1)) : a("", !0)
5765
+ }, null, 8, ["name"])) : a("", !0), s("span", ks, F(e.insight), 1)])) : a("", !0),
5766
+ e.upperLabel ? (D(), o("span", As, F(e.upperLabel), 1)) : a("", !0),
5767
+ e.title ? (D(), o("span", js, F(e.title), 1)) : a("", !0),
5768
+ e.description ? (D(), o("span", Ms, F(e.description), 1)) : a("", !0)
5756
5769
  ]), e.showButton ? (D(), i($, {
5757
5770
  key: 0,
5758
5771
  "left-icon": "new-tab",
@@ -5765,7 +5778,7 @@ var Ma = {
5765
5778
  _: 1
5766
5779
  }, 8, ["interactive"]));
5767
5780
  }
5768
- }), [["__scopeId", "data-v-c1185c07"]]), Ns = /* @__PURE__ */ Q(/* @__PURE__ */ d({
5781
+ }), [["__scopeId", "data-v-c1185c07"]]), Ps = /* @__PURE__ */ Q(/* @__PURE__ */ d({
5769
5782
  __name: "PvExpandableContent",
5770
5783
  props: {
5771
5784
  lines: { default: 4 },
@@ -5803,7 +5816,7 @@ var Ma = {
5803
5816
  "left-icon": i.value ? "chevron-up" : "chevron-down"
5804
5817
  }, null, 8, ["label", "left-icon"])], 6));
5805
5818
  }
5806
- }), [["__scopeId", "data-v-06cc192f"]]), Ps = { class: "pv-text-body-md" }, Fs = /* @__PURE__ */ d({
5819
+ }), [["__scopeId", "data-v-06cc192f"]]), Fs = { class: "pv-text-body-md" }, Is = /* @__PURE__ */ d({
5807
5820
  __name: "PvToast",
5808
5821
  props: {
5809
5822
  variant: { default: "info" },
@@ -5828,7 +5841,7 @@ var Ma = {
5828
5841
  name: e.icon ? e.icon : n[e.variant],
5829
5842
  size: 20
5830
5843
  }, null, 8, ["name"]),
5831
- s("p", Ps, F(e.label), 1),
5844
+ s("p", Fs, F(e.label), 1),
5832
5845
  j(r.$slots, "default"),
5833
5846
  u($, {
5834
5847
  variant: "ghost",
@@ -5840,29 +5853,29 @@ var Ma = {
5840
5853
  }, null, 8, ["inverse"])
5841
5854
  ], 2));
5842
5855
  }
5843
- }), Is = ["data-style"], Ls = /* @__PURE__ */ d({
5856
+ }), Ls = ["data-style"], Rs = /* @__PURE__ */ d({
5844
5857
  __name: "PvActionBar",
5845
5858
  props: { variant: { default: "white" } },
5846
5859
  setup(e) {
5847
5860
  return (t, n) => (D(), o("div", {
5848
5861
  class: "pv-action-bar-container",
5849
5862
  "data-style": e.variant === "white" ? "white" : void 0
5850
- }, [j(t.$slots, "default")], 8, Is));
5863
+ }, [j(t.$slots, "default")], 8, Ls));
5851
5864
  }
5852
- }), Rs = {
5865
+ }), zs = {
5853
5866
  class: "pv-flex pv-truncate",
5854
5867
  style: {
5855
5868
  "min-width": "0",
5856
5869
  "min-height": "20px"
5857
5870
  }
5858
- }, zs = ["title"], Bs = /* @__PURE__ */ d({
5871
+ }, Bs = ["title"], Vs = /* @__PURE__ */ d({
5859
5872
  __name: "PvSimpleItemTree",
5860
5873
  props: {
5861
5874
  label: {},
5862
5875
  icon: {}
5863
5876
  },
5864
5877
  setup(e) {
5865
- return (t, n) => (D(), o("div", Rs, [e.icon ? (D(), i(Z, {
5878
+ return (t, n) => (D(), o("div", zs, [e.icon ? (D(), i(Z, {
5866
5879
  key: 0,
5867
5880
  name: e.icon
5868
5881
  }, null, 8, ["name"])) : a("", !0), s("span", {
@@ -5872,9 +5885,9 @@ var Ma = {
5872
5885
  "min-width": "0"
5873
5886
  },
5874
5887
  title: e.label
5875
- }, F(e.label), 9, zs)]));
5888
+ }, F(e.label), 9, Bs)]));
5876
5889
  }
5877
- }), Vs = /* @__PURE__ */ Q(/* @__PURE__ */ d({
5890
+ }), Hs = /* @__PURE__ */ Q(/* @__PURE__ */ d({
5878
5891
  __name: "PvTreeReorderIcon",
5879
5892
  setup(e) {
5880
5893
  return (e, t) => (D(), i(Z, {
@@ -5882,7 +5895,7 @@ var Ma = {
5882
5895
  class: "reorder-icon pv-text-tertiary"
5883
5896
  }));
5884
5897
  }
5885
- }), [["__scopeId", "data-v-1efb9068"]]), Hs = /* @__PURE__ */ d({
5898
+ }), [["__scopeId", "data-v-1efb9068"]]), Us = /* @__PURE__ */ d({
5886
5899
  __name: "PvButtonTreeItem",
5887
5900
  props: {
5888
5901
  selected: { type: Boolean },
@@ -5917,7 +5930,7 @@ var Ma = {
5917
5930
  _: 3
5918
5931
  }, 8, ["class"]));
5919
5932
  }
5920
- }), Us = /* @__PURE__ */ d({
5933
+ }), Ws = /* @__PURE__ */ d({
5921
5934
  __name: "PvCheckboxTreeItem",
5922
5935
  props: {
5923
5936
  selected: { type: Boolean },
@@ -5946,38 +5959,38 @@ var Ma = {
5946
5959
  "pv-tree-item-selected": e.selected,
5947
5960
  "pv-tree-item-disabled": e.disableSelection
5948
5961
  }
5949
- ]) }, [e.disableSelection ? a("", !0) : (D(), i(ns, {
5962
+ ]) }, [e.disableSelection ? a("", !0) : (D(), i(rs, {
5950
5963
  key: 0,
5951
5964
  checked: e.selected,
5952
5965
  onClick: s
5953
5966
  }, null, 8, ["checked"])), j(t.$slots, "default")], 2));
5954
5967
  }
5955
- }), Ws = /* @__PURE__ */ Q(/* @__PURE__ */ d({
5968
+ }), Gs = /* @__PURE__ */ Q(/* @__PURE__ */ d({
5956
5969
  __name: "PvTreeConnector",
5957
5970
  props: { isLast: { type: Boolean } },
5958
5971
  setup(e) {
5959
5972
  return (t, n) => (D(), o("div", { class: y(e.isLast ? "pv-tree-connector-end" : "pv-tree-connector-middle") }, null, 2));
5960
5973
  }
5961
- }), [["__scopeId", "data-v-2a7afaff"]]), Gs = () => ({
5974
+ }), [["__scopeId", "data-v-2a7afaff"]]), Ks = () => ({
5962
5975
  indentPadding: (e, t = 0) => `${(e + t) * 24}px`,
5963
5976
  connectorOffset: (e) => `${e * 24 + 8}px`,
5964
5977
  showsConnector: (e, t) => !!(t && e[t]?.showNestedTree),
5965
5978
  showsChildConnectors: (e, t) => !!e[t]?.showNestedTree,
5966
5979
  childLevel: ({ level: e, showNestedTree: t, childrenShowNestedTree: n, additionalNestingLevel: r = 0 }) => e + (n && !t ? 0 : 1) + r
5967
- }), Ks = /* @__PURE__ */ Q(/* @__PURE__ */ d({
5980
+ }), qs = /* @__PURE__ */ Q(/* @__PURE__ */ d({
5968
5981
  __name: "PvTreeConnectorGroup",
5969
5982
  props: {
5970
5983
  active: { type: Boolean },
5971
5984
  level: {}
5972
5985
  },
5973
5986
  setup(e) {
5974
- let t = e, { connectorOffset: n } = Gs(), i = r(() => t.active ? { "--tree-connector-left": n(t.level) } : {});
5987
+ let t = e, { connectorOffset: n } = Ks(), i = r(() => t.active ? { "--tree-connector-left": n(t.level) } : {});
5975
5988
  return (t, n) => (D(), o("div", {
5976
5989
  class: y({ "pv-tree-connector-line": e.active }),
5977
5990
  style: x(i.value)
5978
5991
  }, [j(t.$slots, "default", {}, void 0, !0)], 6));
5979
5992
  }
5980
- }), [["__scopeId", "data-v-fb9813d5"]]), qs = () => {
5993
+ }), [["__scopeId", "data-v-fb9813d5"]]), Js = () => {
5981
5994
  let e = k(null);
5982
5995
  return {
5983
5996
  hoveredId: e,
@@ -5988,15 +6001,15 @@ var Ma = {
5988
6001
  e.value = null;
5989
6002
  }
5990
6003
  };
5991
- }, Js = Symbol("DraggingStateKey"), Ys = Symbol("DraggingGroupNameKey"), Xs = Symbol("DropIndicatorKey"), Zs = () => {
6004
+ }, Ys = Symbol("DraggingStateKey"), Xs = Symbol("DraggingGroupNameKey"), Zs = Symbol("DropIndicatorKey"), Qs = () => {
5992
6005
  let e = k(!1), t = k(null), n = k(null);
5993
- return O(Js, e), O(Ys, t), O(Xs, n), {
6006
+ return O(Ys, e), O(Xs, t), O(Zs, n), {
5994
6007
  isDragging: e,
5995
6008
  draggingGroupName: t,
5996
6009
  dropIndicator: n
5997
6010
  };
5998
- }, Qs = () => {
5999
- let e = m(Js, k(!1)), t = m(Ys, k(null)), n = m(Xs, k(null)), r = (n) => {
6011
+ }, $s = () => {
6012
+ let e = m(Ys, k(!1)), t = m(Xs, k(null)), n = m(Zs, k(null)), r = (n) => {
6000
6013
  e.value = !0, t.value = n ?? null;
6001
6014
  }, i = () => {
6002
6015
  e.value = !1, t.value = null, o();
@@ -6018,8 +6031,8 @@ var Ma = {
6018
6031
  onDragStart: r,
6019
6032
  onDragEnd: i
6020
6033
  };
6021
- }, $s = () => {
6022
- let { setDropIndicator: e, clearDropIndicator: t } = Qs();
6034
+ }, ec = () => {
6035
+ let { setDropIndicator: e, clearDropIndicator: t } = $s();
6023
6036
  return {
6024
6037
  getDragGroupConfig: (e, t) => {
6025
6038
  let n = e[t.field]?.dragAndDropConfig;
@@ -6054,8 +6067,8 @@ var Ma = {
6054
6067
  return i === !1 ? !1 : i === !0 || !n ? !0 : Array.isArray(i) ? i.includes(n) : (r?.name ?? "pv-tree") === n;
6055
6068
  }
6056
6069
  };
6057
- }, ec = () => {
6058
- let { dropIndicator: e } = Qs();
6070
+ }, tc = () => {
6071
+ let { dropIndicator: e } = $s();
6059
6072
  return { dragAndDropIndicatorClasses: (t) => {
6060
6073
  let n = e.value, r = n?.siblingTargetId !== void 0 && n?.siblingTargetId !== null && n?.siblingTargetId === t.node_id;
6061
6074
  return {
@@ -6064,7 +6077,7 @@ var Ma = {
6064
6077
  "pv-drop-indicator-parent": n?.parentId === t.node_id
6065
6078
  };
6066
6079
  } };
6067
- }, tc = { class: "pv-flex pv-full-width" }, nc = ["data-parent-id"], rc = /* @__PURE__ */ Q(/* @__PURE__ */ d({
6080
+ }, nc = { class: "pv-flex pv-full-width" }, rc = ["data-parent-id"], ic = /* @__PURE__ */ Q(/* @__PURE__ */ d({
6068
6081
  __name: "PvSimpleNestedTreeItem",
6069
6082
  props: {
6070
6083
  option: {},
@@ -6080,9 +6093,9 @@ var Ma = {
6080
6093
  },
6081
6094
  emits: ["handle-tree-select", "update:children"],
6082
6095
  setup(e, { emit: t }) {
6083
- let n = e, o = t, { isDragging: c, draggingGroupName: l, onDragStart: d, onDragEnd: f } = Qs(), { dragAndDropIndicatorClasses: p } = ec(), { hoveredId: m, handleMouseEnter: h, handleMouseLeave: g } = qs(), { canItemBeDragged: _, getDragAndDropDisabled: v, handleMoveCallback: b, getDragGroupConfig: S, canAcceptDrop: C } = $s(), { indentPadding: w, showsConnector: T, showsChildConnectors: E, childLevel: O } = Gs(), k = () => {
6096
+ let n = e, o = t, { isDragging: c, draggingGroupName: l, onDragStart: d, onDragEnd: f } = $s(), { dragAndDropIndicatorClasses: p } = tc(), { hoveredId: m, handleMouseEnter: h, handleMouseLeave: g } = Js(), { canItemBeDragged: _, getDragAndDropDisabled: v, handleMoveCallback: b, getDragGroupConfig: S, canAcceptDrop: C } = ec(), { indentPadding: w, showsConnector: T, showsChildConnectors: E, childLevel: O } = Ks(), k = () => {
6084
6097
  d(S(n.settings, n.option).name);
6085
- }, A = (e) => n.selectedOptions && n.selectedOptions.some((t) => t.node_id === e), j = r(() => n.settings[n.option.field]?.checkbox ? Us : Hs), P = r(() => T(n.settings, n.parentField)), F = r(() => n.index === n.totalSiblings - 1), L = r(() => P.value && !F.value), R = r(() => O({
6098
+ }, A = (e) => n.selectedOptions && n.selectedOptions.some((t) => t.node_id === e), j = r(() => n.settings[n.option.field]?.checkbox ? Ws : Us), P = r(() => T(n.settings, n.parentField)), F = r(() => n.index === n.totalSiblings - 1), L = r(() => P.value && !F.value), R = r(() => O({
6086
6099
  level: n.level,
6087
6100
  showNestedTree: P.value,
6088
6101
  childrenShowNestedTree: E(n.settings, n.option.field)
@@ -6097,7 +6110,7 @@ var Ma = {
6097
6110
  }), B = r(() => n.isParentPathOpen ?? !0);
6098
6111
  return (t, n) => {
6099
6112
  let r = M("PvSimpleNestedTreeItem", !0);
6100
- return D(), i(Ks, {
6113
+ return D(), i(qs, {
6101
6114
  active: L.value,
6102
6115
  level: e.level
6103
6116
  }, {
@@ -6117,7 +6130,7 @@ var Ma = {
6117
6130
  onMouseleave: n[2] ||= (e) => I(g)(),
6118
6131
  onContextmenu: n[3] ||= J((t) => e.settings[e.option.field]?.rendererParams?.onContextMenu?.(t, e.option), ["stop"])
6119
6132
  }, {
6120
- default: K(() => [q(u(Vs, null, null, 512), [[W, I(m) === e.option.node_id && I(_)(e.isDraggable, e.settings, e.option)]]), s("div", tc, [P.value ? (D(), i(Ws, {
6133
+ default: K(() => [q(u(Hs, null, null, 512), [[W, I(m) === e.option.node_id && I(_)(e.isDraggable, e.settings, e.option)]]), s("div", nc, [P.value ? (D(), i(Gs, {
6121
6134
  key: 0,
6122
6135
  "is-last": F.value
6123
6136
  }, null, 8, ["is-last"])) : a("", !0), e.settings[e.option.field]?.renderer ? (D(), i(N(e.settings[e.option.field]?.renderer), {
@@ -6131,7 +6144,7 @@ var Ma = {
6131
6144
  "settings",
6132
6145
  "is-draggable",
6133
6146
  "params"
6134
- ])) : (D(), i(Bs, {
6147
+ ])) : (D(), i(Vs, {
6135
6148
  key: 2,
6136
6149
  label: e.option.label,
6137
6150
  icon: e.settings[e.option.field]?.icon
@@ -6193,12 +6206,12 @@ var Ma = {
6193
6206
  "class",
6194
6207
  "onEnd",
6195
6208
  "onAdd"
6196
- ])], 8, nc)]),
6209
+ ])], 8, rc)]),
6197
6210
  _: 1
6198
6211
  }, 8, ["active", "level"]);
6199
6212
  };
6200
6213
  }
6201
- }), [["__scopeId", "data-v-f706f606"]]), ic = ["data-parent-id"], ac = /* @__PURE__ */ Q(/* @__PURE__ */ d({
6214
+ }), [["__scopeId", "data-v-f706f606"]]), ac = ["data-parent-id"], oc = /* @__PURE__ */ Q(/* @__PURE__ */ d({
6202
6215
  __name: "PvSimpleNestedTree",
6203
6216
  props: {
6204
6217
  option: {},
@@ -6214,14 +6227,14 @@ var Ma = {
6214
6227
  },
6215
6228
  emits: ["handle-tree-select", "update:children"],
6216
6229
  setup(e, { emit: t }) {
6217
- let n = e, o = t, { hoveredId: c, handleMouseEnter: l, handleMouseLeave: d } = qs(), { getDragAndDropDisabled: f, canItemBeDragged: p, handleMoveCallback: m, getDragGroupConfig: h, canAcceptDrop: g } = $s(), { isDragging: _, draggingGroupName: v, onDragStart: b, onDragEnd: S } = Qs(), { dragAndDropIndicatorClasses: C } = ec(), { indentPadding: w, showsConnector: T, showsChildConnectors: E, childLevel: O } = Gs(), k = () => {
6230
+ let n = e, o = t, { hoveredId: c, handleMouseEnter: l, handleMouseLeave: d } = Js(), { getDragAndDropDisabled: f, canItemBeDragged: p, handleMoveCallback: m, getDragGroupConfig: h, canAcceptDrop: g } = ec(), { isDragging: _, draggingGroupName: v, onDragStart: b, onDragEnd: S } = $s(), { dragAndDropIndicatorClasses: C } = tc(), { indentPadding: w, showsConnector: T, showsChildConnectors: E, childLevel: O } = Ks(), k = () => {
6218
6231
  b(h(n.settings, n.option).name);
6219
6232
  }, A = r(() => n.settings[n.option.field]?.additionalNestingLevel ?? 0), j = r(() => T(n.settings, n.parentField)), M = r(() => O({
6220
6233
  level: n.level,
6221
6234
  showNestedTree: j.value,
6222
6235
  childrenShowNestedTree: E(n.settings, n.option.field),
6223
6236
  additionalNestingLevel: A.value
6224
- })), P = (e) => n.selectedOptions && n.selectedOptions.some((t) => t.node_id === e), F = (e) => n.settings[e.field]?.checkbox ? Us : Hs, L = r({
6237
+ })), P = (e) => n.selectedOptions && n.selectedOptions.some((t) => t.node_id === e), F = (e) => n.settings[e.field]?.checkbox ? Ws : Us, L = r({
6225
6238
  get: () => [...n.option.children || []],
6226
6239
  set: (e) => {
6227
6240
  o("update:children", {
@@ -6230,7 +6243,7 @@ var Ma = {
6230
6243
  });
6231
6244
  }
6232
6245
  }), R = r(() => n.isParentPathOpen ?? !0), z = r(() => n.index === void 0 || n.totalSiblings === void 0 ? !0 : n.index === n.totalSiblings - 1), B = r(() => j.value && !z.value);
6233
- return (t, n) => (D(), i(Ks, {
6246
+ return (t, n) => (D(), i(qs, {
6234
6247
  class: "pv-flow",
6235
6248
  style: { "--flow-size": "0px" },
6236
6249
  active: B.value,
@@ -6253,8 +6266,8 @@ var Ma = {
6253
6266
  onContextmenu: n[3] ||= J((t) => e.settings[e.option.field]?.rendererParams?.onContextMenu?.(t, e.option), ["stop"])
6254
6267
  }, {
6255
6268
  default: K(() => [
6256
- q(u(Vs, null, null, 512), [[W, I(c) === e.option.node_id && I(p)(e.isDraggable, e.settings, e.option)]]),
6257
- j.value ? (D(), i(Ws, {
6269
+ q(u(Hs, null, null, 512), [[W, I(c) === e.option.node_id && I(p)(e.isDraggable, e.settings, e.option)]]),
6270
+ j.value ? (D(), i(Gs, {
6258
6271
  key: 0,
6259
6272
  "is-last": z.value
6260
6273
  }, null, 8, ["is-last"])) : a("", !0),
@@ -6269,7 +6282,7 @@ var Ma = {
6269
6282
  "settings",
6270
6283
  "selected",
6271
6284
  "params"
6272
- ])) : (D(), i(Bs, {
6285
+ ])) : (D(), i(Vs, {
6273
6286
  key: 2,
6274
6287
  label: e.option.label,
6275
6288
  icon: e.settings[e.option.field]?.icon
@@ -6297,7 +6310,7 @@ var Ma = {
6297
6310
  onEnd: I(S),
6298
6311
  onAdd: I(S)
6299
6312
  }, {
6300
- item: K(({ element: r, index: i }) => [u(rc, {
6313
+ item: K(({ element: r, index: i }) => [u(ic, {
6301
6314
  "is-parent-path-open": e.isParentPathOpen,
6302
6315
  option: r,
6303
6316
  settings: e.settings,
@@ -6332,11 +6345,11 @@ var Ma = {
6332
6345
  "class",
6333
6346
  "onEnd",
6334
6347
  "onAdd"
6335
- ])], 8, ic)]),
6348
+ ])], 8, ac)]),
6336
6349
  _: 1
6337
6350
  }, 8, ["active", "level"]));
6338
6351
  }
6339
- }), [["__scopeId", "data-v-26eb4678"]]), oc = ["data-parent-id"], sc = { key: 2 }, cc = ["data-parent-id"], lc = /* @__PURE__ */ Q(/* @__PURE__ */ d({
6352
+ }), [["__scopeId", "data-v-26eb4678"]]), sc = ["data-parent-id"], cc = { key: 2 }, lc = ["data-parent-id"], uc = /* @__PURE__ */ Q(/* @__PURE__ */ d({
6340
6353
  __name: "PvTreeItem",
6341
6354
  props: {
6342
6355
  option: {},
@@ -6364,12 +6377,12 @@ var Ma = {
6364
6377
  G(() => n.treeOpen, (e) => {
6365
6378
  e !== void 0 && (l.value = e);
6366
6379
  });
6367
- let { getDragGroupConfig: d, getDragAndDropDisabled: f, canItemBeDragged: p, handleMoveCallback: m, childrenDraggable: h, canAcceptDrop: g } = $s(), { hoveredId: _, handleMouseEnter: v, handleMouseLeave: b } = qs(), { isDragging: S, draggingGroupName: C, onDragStart: w, onDragEnd: T } = Qs(), { dragAndDropIndicatorClasses: E } = ec(), { indentPadding: O, showsConnector: A } = Gs(), j = () => {
6380
+ let { getDragGroupConfig: d, getDragAndDropDisabled: f, canItemBeDragged: p, handleMoveCallback: m, childrenDraggable: h, canAcceptDrop: g } = ec(), { hoveredId: _, handleMouseEnter: v, handleMouseLeave: b } = Js(), { isDragging: S, draggingGroupName: C, onDragStart: w, onDragEnd: T } = $s(), { dragAndDropIndicatorClasses: E } = tc(), { indentPadding: O, showsConnector: A } = Ks(), j = () => {
6368
6381
  w(d(n.settings, n.option).name);
6369
6382
  }, P = (e) => ({
6370
6383
  paddingLeft: O(e, n.settings[n.option.field]?.additionalNestingLevel ?? 0),
6371
6384
  "--border-color": "#121313"
6372
- }), F = (e) => n.selectedOptions && n.selectedOptions.some((t) => t.node_id === e), L = r(() => n.settings[n.option.field]?.checkbox ? Us : Hs), R = r({
6385
+ }), F = (e) => n.selectedOptions && n.selectedOptions.some((t) => t.node_id === e), L = r(() => n.settings[n.option.field]?.checkbox ? Ws : Us), R = r({
6373
6386
  get: () => [...n.option.children || []],
6374
6387
  set: (e) => {
6375
6388
  c("update:children", {
@@ -6380,7 +6393,7 @@ var Ma = {
6380
6393
  }), 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);
6381
6394
  return (t, n) => {
6382
6395
  let r = M("PvTreeItem", !0);
6383
- return D(), i(Ks, {
6396
+ return D(), i(qs, {
6384
6397
  active: ee.value,
6385
6398
  level: e.level
6386
6399
  }, {
@@ -6412,8 +6425,8 @@ var Ma = {
6412
6425
  onContextmenu: n[6] ||= J((t) => e.settings[e.option.field]?.rendererParams?.onContextMenu?.(t, e.option), ["stop"])
6413
6426
  }, {
6414
6427
  trigger: K(() => [
6415
- q(u(Vs, null, null, 512), [[W, I(_) === e.option.node_id && I(p)(e.isDraggable, e.settings, e.option) && e.level > 0]]),
6416
- B.value ? (D(), i(Ws, {
6428
+ q(u(Hs, null, null, 512), [[W, I(_) === e.option.node_id && I(p)(e.isDraggable, e.settings, e.option) && e.level > 0]]),
6429
+ B.value ? (D(), i(Gs, {
6417
6430
  key: 0,
6418
6431
  "is-last": V.value
6419
6432
  }, null, 8, ["is-last"])) : a("", !0),
@@ -6428,7 +6441,7 @@ var Ma = {
6428
6441
  "settings",
6429
6442
  "selected",
6430
6443
  "params"
6431
- ])) : (D(), i(Bs, {
6444
+ ])) : (D(), i(Vs, {
6432
6445
  key: 2,
6433
6446
  label: e.option.label,
6434
6447
  icon: e.settings[e.option.field]?.icon
@@ -6484,7 +6497,7 @@ var Ma = {
6484
6497
  "class",
6485
6498
  "onEnd",
6486
6499
  "onAdd"
6487
- ])], 8, oc)]),
6500
+ ])], 8, sc)]),
6488
6501
  _: 1
6489
6502
  }, 8, [
6490
6503
  "modelValue",
@@ -6492,7 +6505,7 @@ var Ma = {
6492
6505
  "summaryStyles",
6493
6506
  "summaryClasses",
6494
6507
  "defaultOpen"
6495
- ])) : e.option.children && e.option.children.length > 0 && e.settings && !e.settings[e.option.field]?.accordion ? (D(), i(ac, {
6508
+ ])) : e.option.children && e.option.children.length > 0 && e.settings && !e.settings[e.option.field]?.accordion ? (D(), i(oc, {
6496
6509
  key: 1,
6497
6510
  "is-parent-path-open": e.isParentPathOpen,
6498
6511
  "selected-options": e.selectedOptions,
@@ -6519,7 +6532,7 @@ var Ma = {
6519
6532
  "is-draggable",
6520
6533
  "disable-selection",
6521
6534
  "is-last-root-item"
6522
- ])) : (D(), o("div", sc, [(D(), i(N(L.value), {
6535
+ ])) : (D(), o("div", cc, [(D(), i(N(L.value), {
6523
6536
  class: y({ ...I(E)(e.option) }),
6524
6537
  option: e.option,
6525
6538
  selected: F(e.option.node_id),
@@ -6536,8 +6549,8 @@ var Ma = {
6536
6549
  onContextmenu: n[12] ||= J((t) => e.settings[e.option.field]?.rendererParams?.onContextMenu?.(t, e.option), ["stop"])
6537
6550
  }, {
6538
6551
  default: K(() => [
6539
- q(u(Vs, null, null, 512), [[W, I(_) === e.option.node_id && I(p)(e.isDraggable, e.settings, e.option) && e.level > 0]]),
6540
- B.value ? (D(), i(Ws, {
6552
+ q(u(Hs, null, null, 512), [[W, I(_) === e.option.node_id && I(p)(e.isDraggable, e.settings, e.option) && e.level > 0]]),
6553
+ B.value ? (D(), i(Gs, {
6541
6554
  key: 0,
6542
6555
  "is-last": V.value
6543
6556
  }, null, 8, ["is-last"])) : a("", !0),
@@ -6550,7 +6563,7 @@ var Ma = {
6550
6563
  "option",
6551
6564
  "settings",
6552
6565
  "params"
6553
- ])) : (D(), i(Bs, {
6566
+ ])) : (D(), i(Vs, {
6554
6567
  key: 2,
6555
6568
  label: e.option.label,
6556
6569
  icon: e.settings[e.option.field]?.icon
@@ -6613,12 +6626,12 @@ var Ma = {
6613
6626
  "class",
6614
6627
  "onEnd",
6615
6628
  "onAdd"
6616
- ])], 8, cc)]))]),
6629
+ ])], 8, lc)]))]),
6617
6630
  _: 1
6618
6631
  }, 8, ["active", "level"]);
6619
6632
  };
6620
6633
  }
6621
- }), [["__scopeId", "data-v-eb5f5907"]]), uc = (e) => {
6634
+ }), [["__scopeId", "data-v-eb5f5907"]]), dc = (e) => {
6622
6635
  let t = [], n = !1;
6623
6636
  function r(e) {
6624
6637
  let t = /* @__PURE__ */ new Map(), n = /* @__PURE__ */ new Map(), r = [];
@@ -6661,7 +6674,7 @@ var Ma = {
6661
6674
  newChildren: r
6662
6675
  }), n || (n = !0, v(i));
6663
6676
  } };
6664
- }, dc = /* @__PURE__ */ Q(/* @__PURE__ */ d({
6677
+ }, fc = /* @__PURE__ */ Q(/* @__PURE__ */ d({
6665
6678
  __name: "PvTree",
6666
6679
  props: /* @__PURE__ */ g({
6667
6680
  settings: {},
@@ -6691,14 +6704,14 @@ var Ma = {
6691
6704
  "update:treeOpen"
6692
6705
  ],
6693
6706
  setup(e) {
6694
- m(Js, null) || Zs();
6695
- let n = e, i = z(e, "selectedOptions"), a = z(e, "options"), c = z(e, "treeOpen"), { handleUpdateChildren: l } = uc(a), d = (e, t) => {
6707
+ m(Ys, null) || Qs();
6708
+ let n = e, i = z(e, "selectedOptions"), a = z(e, "options"), c = z(e, "treeOpen"), { handleUpdateChildren: l } = dc(a), d = (e, t) => {
6696
6709
  t.metaKey ? i.value?.some((t) => t.node_id === e.node_id) ? i.value = i.value?.filter((t) => t.node_id !== e.node_id) : i.value = [...i.value || [], e] : i.value?.some((t) => t.node_id === e.node_id) ? i.value = [] : i.value = [e];
6697
6710
  }, f = r(() => Object.keys(n.settings).reduce((e, t) => (e[t] = {
6698
6711
  ...n.defaultSettings,
6699
6712
  ...n.settings[t]
6700
6713
  }, e), {}));
6701
- return (n, r) => (D(), o("div", null, [s("div", { class: y(["pv-tree", { "pv-tree--disable-selection": e.disableSelection }]) }, [(D(!0), o(t, null, A(a.value, (t, n) => (D(), o("div", { key: t.node_id }, [u(lc, {
6714
+ return (n, r) => (D(), o("div", null, [s("div", { class: y(["pv-tree", { "pv-tree--disable-selection": e.disableSelection }]) }, [(D(!0), o(t, null, A(a.value, (t, n) => (D(), o("div", { key: t.node_id }, [u(uc, {
6702
6715
  "is-last-root-item": n === a.value.length - 1,
6703
6716
  "is-parent-path-open": !0,
6704
6717
  "tree-open": c.value,
@@ -6721,19 +6734,19 @@ var Ma = {
6721
6734
  "onUpdate:children"
6722
6735
  ])]))), 128))], 2)]));
6723
6736
  }
6724
- }), [["__scopeId", "data-v-2896bb8b"]]), fc = /* @__PURE__ */ d({
6737
+ }), [["__scopeId", "data-v-2896bb8b"]]), pc = /* @__PURE__ */ d({
6725
6738
  __name: "PvTreeGroup",
6726
6739
  setup(e) {
6727
- return Zs(), (e, t) => j(e.$slots, "default");
6740
+ return Qs(), (e, t) => j(e.$slots, "default");
6728
6741
  }
6729
- }), pc = { class: "pv-full-width" }, mc = {
6742
+ }), mc = { class: "pv-full-width" }, hc = {
6730
6743
  key: 0,
6731
6744
  class: "pv-flex pv-stack-4",
6732
6745
  style: { "--flex-justify": "space-between" }
6733
- }, hc = {
6746
+ }, gc = {
6734
6747
  key: 1,
6735
6748
  class: "pv-text-subdued pv-text-title-sm"
6736
- }, gc = ["data-disabled"], _c = /* @__PURE__ */ d({
6749
+ }, _c = ["data-disabled"], vc = /* @__PURE__ */ d({
6737
6750
  __name: "PvProgressBar",
6738
6751
  props: {
6739
6752
  disabled: {
@@ -6750,22 +6763,22 @@ var Ma = {
6750
6763
  },
6751
6764
  setup(e) {
6752
6765
  let t = e, n = r(() => Math.min(100, Math.max(0, t.progress))), i = r(() => `${n.value}% Complete`);
6753
- return (r, c) => (D(), o("div", pc, [e.showLabel || e.secondaryLabel ? (D(), o("div", mc, [e.showLabel ? (D(), o("p", {
6766
+ return (r, c) => (D(), o("div", mc, [e.showLabel || e.secondaryLabel ? (D(), o("div", hc, [e.showLabel ? (D(), o("p", {
6754
6767
  key: 0,
6755
6768
  class: y(e.labelVariant === "secondary" ? "pv-text-subdued pv-text-title-sm" : "pv-text-brand pv-text-title-sm")
6756
- }, F(i.value), 3)) : a("", !0), e.secondaryLabel ? (D(), o("span", hc, F(e.secondaryLabel), 1)) : a("", !0)])) : a("", !0), s("div", {
6769
+ }, F(i.value), 3)) : a("", !0), e.secondaryLabel ? (D(), o("span", gc, F(e.secondaryLabel), 1)) : a("", !0)])) : a("", !0), s("div", {
6757
6770
  class: "pv-progress-bar",
6758
6771
  "data-disabled": t.disabled ? !0 : void 0,
6759
6772
  style: x({ "--progress": `${n.value}%` })
6760
- }, null, 12, gc)]));
6773
+ }, null, 12, _c)]));
6761
6774
  }
6762
- }), vc = {
6775
+ }), yc = {
6763
6776
  class: "pv-flex",
6764
6777
  style: {
6765
6778
  "--flex-gap": "4px",
6766
6779
  height: "24px"
6767
6780
  }
6768
- }, yc = /* @__PURE__ */ d({
6781
+ }, bc = /* @__PURE__ */ d({
6769
6782
  __name: "PvDistributionBar",
6770
6783
  props: { values: {} },
6771
6784
  setup(e) {
@@ -6788,41 +6801,41 @@ var Ma = {
6788
6801
  default: return "pv-data-surface-visualization-1";
6789
6802
  }
6790
6803
  };
6791
- return (n, r) => (D(), o("div", vc, [(D(!0), o(t, null, A(e.values, (e, t) => (D(), o("div", {
6804
+ return (n, r) => (D(), o("div", yc, [(D(!0), o(t, null, A(e.values, (e, t) => (D(), o("div", {
6792
6805
  key: t,
6793
6806
  class: y([l(t)]),
6794
6807
  style: x(c(e, t))
6795
6808
  }, null, 6))), 128))]));
6796
6809
  }
6797
- }), bc = {
6810
+ }), xc = {
6798
6811
  key: 0,
6799
6812
  class: "pv-range-single-slider"
6800
- }, xc = [
6813
+ }, Sc = [
6801
6814
  "id",
6802
6815
  "aria-label",
6803
6816
  "disabled",
6804
6817
  "max",
6805
6818
  "min",
6806
6819
  "step"
6807
- ], Sc = ["aria-label"], Cc = {
6820
+ ], Cc = ["aria-label"], wc = {
6808
6821
  key: 0,
6809
6822
  class: "pv-space-between pv-text-body-xs pv-text-subdued",
6810
6823
  style: { "line-height": "1" }
6811
- }, wc = [
6824
+ }, Tc = [
6812
6825
  "aria-label",
6813
6826
  "disabled",
6814
6827
  "max",
6815
6828
  "min",
6816
6829
  "step",
6817
6830
  "value"
6818
- ], Tc = [
6831
+ ], Ec = [
6819
6832
  "aria-label",
6820
6833
  "disabled",
6821
6834
  "max",
6822
6835
  "min",
6823
6836
  "step",
6824
6837
  "value"
6825
- ], Ec = {
6838
+ ], Dc = {
6826
6839
  key: 1,
6827
6840
  class: "pv-flex",
6828
6841
  style: {
@@ -6830,15 +6843,15 @@ var Ma = {
6830
6843
  "--flex-gap": "0.75rem",
6831
6844
  "--flex-wrap": "wrap"
6832
6845
  }
6833
- }, Dc = { class: "pv-text-body-sm" }, Oc = [
6846
+ }, Oc = { class: "pv-text-body-sm" }, kc = [
6834
6847
  "disabled",
6835
6848
  "step",
6836
6849
  "value"
6837
- ], kc = { class: "pv-text-body-sm" }, Ac = [
6850
+ ], Ac = { class: "pv-text-body-sm" }, jc = [
6838
6851
  "disabled",
6839
6852
  "step",
6840
6853
  "value"
6841
- ], jc = 0, Mc = 100, Nc = /* @__PURE__ */ d({
6854
+ ], Mc = 0, Nc = 100, Pc = /* @__PURE__ */ d({
6842
6855
  inheritAttrs: !1,
6843
6856
  __name: "PvRange",
6844
6857
  props: /* @__PURE__ */ g({
@@ -6915,7 +6928,7 @@ var Ma = {
6915
6928
  }).format(e);
6916
6929
  return t.dataType === "currency" ? `$${r}` : t.dataType === "percent" ? `${r}%` : r;
6917
6930
  }, P = r(() => E(t.step)), B = r(() => P.value !== null && P.value > 0 ? P.value : 0), V = r(() => B.value > 0 ? String(B.value) : "any"), ee = r(() => P.value === null ? "1" : P.value > 0 ? String(P.value) : "any"), te = r(() => t.color === "multiple" ? "var(--color-data-viz-3, #ff7a4e)" : "var(--color-border, #e3e7ea)"), H = r(() => {
6918
- let e = E(t.min) ?? jc, n = E(t.max) ?? Mc;
6931
+ let e = E(t.min) ?? Mc, n = E(t.max) ?? Nc;
6919
6932
  return e > n ? {
6920
6933
  max: e,
6921
6934
  min: n
@@ -6941,7 +6954,7 @@ var Ma = {
6941
6954
  }
6942
6955
  return t.split(".")[1]?.length ?? 0;
6943
6956
  }, Y = r(() => {
6944
- let e = E(t.min), n = E(t.max), r = E(c.value?.min), i = E(c.value?.max), a = e ?? Math.min(jc, r ?? jc, i ?? jc), o = n ?? Math.max(Mc, r ?? Mc, i ?? Mc);
6957
+ let e = E(t.min), n = E(t.max), r = E(c.value?.min), i = E(c.value?.max), a = e ?? Math.min(Mc, r ?? Mc, i ?? Mc), o = n ?? Math.max(Nc, r ?? Nc, i ?? Nc);
6945
6958
  return a > o && ([a, o] = [o, a]), a === o && (o = a + (B.value > 0 ? B.value : 1)), {
6946
6959
  max: o,
6947
6960
  min: a
@@ -6982,7 +6995,7 @@ var Ma = {
6982
6995
  "--range-track-color": te.value,
6983
6996
  "--value-max": `${me.value}%`,
6984
6997
  "--value-min": `${pe.value}%`
6985
- })), ge = r(() => ({ left: `${pe.value}%` })), _e = r(() => ({ left: `${me.value}%` })), ve = r(() => E(c.value?.min) !== null || E(c.value?.max) !== null), ye = () => E(t.min) !== null || Y.value.min === jc, be = () => E(t.max) !== null || Y.value.max === Mc, xe = (e, t) => {
6998
+ })), ge = r(() => ({ left: `${pe.value}%` })), _e = r(() => ({ left: `${me.value}%` })), ve = r(() => E(c.value?.min) !== null || E(c.value?.max) !== null), ye = () => E(t.min) !== null || Y.value.min === Mc, be = () => E(t.max) !== null || Y.value.max === Nc, xe = (e, t) => {
6986
6999
  c.value = {
6987
7000
  max: t >= Y.value.max && be() ? null : t,
6988
7001
  min: e <= Y.value.min && ye() ? null : e
@@ -7055,7 +7068,7 @@ var Ma = {
7055
7068
  };
7056
7069
  return G([X, Y], Me, { immediate: !0 }), S(() => {
7057
7070
  ze(), De();
7058
- }), (r, c) => e.mode === "single" ? (D(), o("div", bc, [e.showValueTooltips && v.value ? (D(), o("span", {
7071
+ }), (r, c) => e.mode === "single" ? (D(), o("div", xc, [e.showValueTooltips && v.value ? (D(), o("span", {
7059
7072
  key: 0,
7060
7073
  class: "pv-range-tooltip",
7061
7074
  style: x(J.value)
@@ -7072,7 +7085,7 @@ var Ma = {
7072
7085
  onChange: Oe,
7073
7086
  onPointerdown: ke,
7074
7087
  onPointerup: Oe
7075
- }), null, 16, xc), [[
7088
+ }), null, 16, Sc), [[
7076
7089
  U,
7077
7090
  n.value,
7078
7091
  void 0,
@@ -7087,7 +7100,7 @@ var Ma = {
7087
7100
  "--flex-gap": "0"
7088
7101
  }
7089
7102
  }), [
7090
- e.showBoundLabels ? (D(), o("div", Cc, [s("span", null, F(N(Y.value.min)), 1), s("span", null, F(N(Y.value.max)), 1)])) : a("", !0),
7103
+ e.showBoundLabels ? (D(), o("div", wc, [s("span", null, F(N(Y.value.min)), 1), s("span", null, F(N(Y.value.max)), 1)])) : a("", !0),
7091
7104
  s("div", {
7092
7105
  ref_key: "sliderRef",
7093
7106
  ref: b,
@@ -7119,7 +7132,7 @@ var Ma = {
7119
7132
  onInput: Ae,
7120
7133
  onPointerdown: c[1] ||= (e) => Te("min"),
7121
7134
  onPointerup: we
7122
- }, null, 40, wc),
7135
+ }, null, 40, Tc),
7123
7136
  s("input", {
7124
7137
  class: "pv-range pv-range-dual-native pv-range-dual-native-max",
7125
7138
  type: "range",
@@ -7133,9 +7146,9 @@ var Ma = {
7133
7146
  onInput: je,
7134
7147
  onPointerdown: c[2] ||= (e) => Te("max"),
7135
7148
  onPointerup: we
7136
- }, null, 40, Tc)
7149
+ }, null, 40, Ec)
7137
7150
  ], 38),
7138
- e.showInputs ? (D(), o("div", Ec, [
7151
+ e.showInputs ? (D(), o("div", Dc, [
7139
7152
  s("label", {
7140
7153
  class: "pv-flex-vertical",
7141
7154
  for: f,
@@ -7146,7 +7159,7 @@ var Ma = {
7146
7159
  "max-width": "75px",
7147
7160
  "min-width": "0"
7148
7161
  }
7149
- }, [s("span", Dc, F(e.minLabel), 1), s("input", {
7162
+ }, [s("span", Oc, F(e.minLabel), 1), s("input", {
7150
7163
  id: f,
7151
7164
  class: "pv-input-text",
7152
7165
  disabled: e.disabled,
@@ -7160,7 +7173,7 @@ var Ma = {
7160
7173
  onFocus: c[4] ||= (e) => Ie("min"),
7161
7174
  onInput: Pe,
7162
7175
  onKeydown: c[5] ||= re((e) => Le(e, "min"), ["enter"])
7163
- }, null, 40, Oc)]),
7176
+ }, null, 40, kc)]),
7164
7177
  s("label", {
7165
7178
  class: "pv-flex-vertical",
7166
7179
  for: d,
@@ -7171,7 +7184,7 @@ var Ma = {
7171
7184
  "max-width": "75px",
7172
7185
  "min-width": "0"
7173
7186
  }
7174
- }, [s("span", kc, F(e.maxLabel), 1), s("input", {
7187
+ }, [s("span", Ac, F(e.maxLabel), 1), s("input", {
7175
7188
  id: d,
7176
7189
  class: "pv-input-text",
7177
7190
  disabled: e.disabled,
@@ -7185,7 +7198,7 @@ var Ma = {
7185
7198
  onFocus: c[7] ||= (e) => Ie("max"),
7186
7199
  onInput: Fe,
7187
7200
  onKeydown: c[8] ||= re((e) => Le(e, "max"), ["enter"])
7188
- }, null, 40, Ac)]),
7201
+ }, null, 40, jc)]),
7189
7202
  e.showClear && ve.value ? (D(), i($, {
7190
7203
  key: 0,
7191
7204
  class: "pv-text-brand",
@@ -7202,26 +7215,26 @@ var Ma = {
7202
7215
  variant: "ghost",
7203
7216
  onClick: Ee
7204
7217
  }, null, 8, ["disabled"])) : a("", !0)
7205
- ], 16, Sc));
7218
+ ], 16, Cc));
7206
7219
  }
7207
- }), Pc = [
7220
+ }), Fc = [
7208
7221
  "aria-label",
7209
7222
  "checked",
7210
7223
  "disabled",
7211
7224
  "name"
7212
- ], Fc = {
7225
+ ], Ic = {
7213
7226
  key: 3,
7214
7227
  class: "pv-filter-panel-option-row-content pv-flex-vertical"
7215
- }, Ic = { class: "pv-filter-panel-option-row-line pv-line-clamp pv-text-body-sm" }, Lc = {
7228
+ }, Lc = { class: "pv-filter-panel-option-row-line pv-line-clamp pv-text-body-sm" }, Rc = {
7216
7229
  key: 0,
7217
7230
  class: "pv-filter-panel-option-row-line pv-line-clamp pv-text-body-xs pv-text-subdued"
7218
- }, Rc = {
7231
+ }, zc = {
7219
7232
  key: 1,
7220
7233
  class: "pv-filter-panel-option-row-line pv-line-clamp pv-text-body-xs pv-text-subdued"
7221
- }, zc = {
7234
+ }, Bc = {
7222
7235
  key: 4,
7223
7236
  class: "pv-filter-panel-option-row-right pv-text-body-xs pv-text-subdued"
7224
- }, Bc = /* @__PURE__ */ Q(/* @__PURE__ */ d({
7237
+ }, Vc = /* @__PURE__ */ Q(/* @__PURE__ */ d({
7225
7238
  __name: "PvFilterPanelOptionRow",
7226
7239
  props: {
7227
7240
  ariaLabel: {},
@@ -7294,7 +7307,7 @@ var Ma = {
7294
7307
  disabled: e.disabled,
7295
7308
  name: e.name,
7296
7309
  onChange: g
7297
- }, null, 40, Pc)) : (D(), i(ns, {
7310
+ }, null, 40, Fc)) : (D(), i(rs, {
7298
7311
  key: 1,
7299
7312
  ariaLabel: e.ariaLabel || e.label,
7300
7313
  disabled: e.disabled,
@@ -7307,12 +7320,12 @@ var Ma = {
7307
7320
  "indeterminate",
7308
7321
  "modelValue"
7309
7322
  ])),
7310
- e.renderer ? (D(), i(N(e.renderer), b(_({ key: 2 }, m.value)), null, 16)) : (D(), o("span", Fc, [
7311
- s("span", Ic, F(e.label), 1),
7312
- e.subduedText ? (D(), o("span", Lc, F(e.subduedText), 1)) : a("", !0),
7313
- e.subText ? (D(), o("span", Rc, F(e.subText), 1)) : a("", !0)
7323
+ e.renderer ? (D(), i(N(e.renderer), b(_({ key: 2 }, m.value)), null, 16)) : (D(), o("span", Ic, [
7324
+ s("span", Lc, F(e.label), 1),
7325
+ e.subduedText ? (D(), o("span", Rc, F(e.subduedText), 1)) : a("", !0),
7326
+ e.subText ? (D(), o("span", zc, F(e.subText), 1)) : a("", !0)
7314
7327
  ])),
7315
- f.value ? (D(), o("span", zc, [j(t.$slots, "result-count", {}, () => [l("(" + F(e.resultCount) + ")", 1)], !0)])) : a("", !0),
7328
+ f.value ? (D(), o("span", Bc, [j(t.$slots, "result-count", {}, () => [l("(" + F(e.resultCount) + ")", 1)], !0)])) : a("", !0),
7316
7329
  e.showFocusAction ? (D(), i($, {
7317
7330
  key: 5,
7318
7331
  ariaLabel: e.isFocused ? `Remove ${e.focusText}` : `Select as ${e.focusText}`,
@@ -7328,26 +7341,26 @@ var Ma = {
7328
7341
  ])) : a("", !0)
7329
7342
  ], 6));
7330
7343
  }
7331
- }), [["__scopeId", "data-v-d5f24abf"]]), Vc = [
7344
+ }), [["__scopeId", "data-v-d5f24abf"]]), Hc = [
7332
7345
  "totalCount",
7333
7346
  "total_count",
7334
7347
  "resultCount",
7335
7348
  "result_count",
7336
7349
  "row_count",
7337
7350
  "count"
7338
- ], Hc = new Intl.NumberFormat("en-US", {
7351
+ ], Uc = new Intl.NumberFormat("en-US", {
7339
7352
  maximumFractionDigits: 1,
7340
7353
  notation: "compact"
7341
- }), Uc = (e) => typeof e == "object" && !!e, Wc = (e) => {
7342
- if (typeof e == "number" && Number.isFinite(e)) return Hc.format(e);
7354
+ }), Wc = (e) => typeof e == "object" && !!e, Gc = (e) => {
7355
+ if (typeof e == "number" && Number.isFinite(e)) return Uc.format(e);
7343
7356
  if (typeof e == "string") {
7344
7357
  let t = e.trim();
7345
7358
  if (!t) return;
7346
7359
  let n = Number(t);
7347
- return Number.isFinite(n) ? Hc.format(n) : e;
7360
+ return Number.isFinite(n) ? Uc.format(n) : e;
7348
7361
  }
7349
- }, Gc = (e, t) => t ?? (e === "currency" || e === "integer" || e === "percent" ? 0 : 2), Kc = (e, t = {}) => {
7350
- let n = Gc(t.dataType, t.valueDecimals);
7362
+ }, Kc = (e, t) => t ?? (e === "currency" || e === "integer" || e === "percent" ? 0 : 2), qc = (e, t = {}) => {
7363
+ let n = Kc(t.dataType, t.valueDecimals);
7351
7364
  if (t.dataType === "currency") return new Intl.NumberFormat("en-US", {
7352
7365
  currency: "USD",
7353
7366
  maximumFractionDigits: n,
@@ -7359,11 +7372,11 @@ var Ma = {
7359
7372
  minimumFractionDigits: n
7360
7373
  }).format(e);
7361
7374
  return t.dataType === "percent" ? `${r}%` : r;
7362
- }, qc = (e, t, n = {}) => e !== null && t !== null ? `${Kc(e, n)}–${Kc(t, n)}` : e === null ? t === null ? "" : `≤ ${Kc(t, n)}` : `${Kc(e, n)}+`, Jc = (e, t) => {
7375
+ }, Jc = (e, t, n = {}) => e !== null && t !== null ? `${qc(e, n)}–${qc(t, n)}` : e === null ? t === null ? "" : `≤ ${qc(t, n)}` : `${qc(e, n)}+`, Yc = (e, t) => {
7363
7376
  let n = typeof t?.context?.filterValueFormatter == "function" ? t.context.filterValueFormatter : typeof t?.valueFormatter == "function" ? t.valueFormatter : null;
7364
7377
  if (!n) return null;
7365
7378
  try {
7366
- let t = e.rawValue !== null && e.rawValue !== void 0 ? e.rawValue : Uc(e.metadata) && e.metadata.rawValue !== null && e.metadata.rawValue !== void 0 ? e.metadata.rawValue : e.value;
7379
+ let t = e.rawValue !== null && e.rawValue !== void 0 ? e.rawValue : Wc(e.metadata) && e.metadata.rawValue !== null && e.metadata.rawValue !== void 0 ? e.metadata.rawValue : e.value;
7367
7380
  return n({
7368
7381
  context: e.metadata,
7369
7382
  value: t
@@ -7371,24 +7384,24 @@ var Ma = {
7371
7384
  } catch {
7372
7385
  return null;
7373
7386
  }
7374
- }, Yc = (e, t) => {
7387
+ }, Xc = (e, t) => {
7375
7388
  let n = e.metadata;
7376
- if (!Uc(n)) return null;
7389
+ if (!Wc(n)) return null;
7377
7390
  for (let e of t?.context?.metadataDisplayFields ?? []) {
7378
7391
  let t = n[e];
7379
7392
  if (t != null && String(t).trim()) return String(t);
7380
7393
  }
7381
7394
  return null;
7382
- }, Xc = (e, t) => e.label || Yc(e, t) || Jc(e, t) || e.value, Zc = (e) => {
7383
- let t = Wc(e?.resultCount);
7395
+ }, Zc = (e, t) => e.label || Xc(e, t) || Yc(e, t) || e.value, Qc = (e) => {
7396
+ let t = Gc(e?.resultCount);
7384
7397
  if (t !== void 0) return t;
7385
7398
  let n = e?.metadata;
7386
- if (Uc(n)) for (let e of Vc) {
7387
- let t = Wc(n[e]);
7399
+ if (Wc(n)) for (let e of Hc) {
7400
+ let t = Gc(n[e]);
7388
7401
  if (t !== void 0) return t;
7389
7402
  }
7390
- return Wc(e?.totalChildCount);
7391
- }, Qc = "__pv_filter_panel_scoped_value__", $c = (e) => typeof e == "object" && !!e, el = (e) => {
7403
+ return Gc(e?.totalChildCount);
7404
+ }, $c = "__pv_filter_panel_scoped_value__", el = (e) => typeof e == "object" && !!e, tl = (e) => {
7392
7405
  try {
7393
7406
  let t = JSON.parse(decodeURIComponent(e));
7394
7407
  return Array.isArray(t) ? t.flatMap((e) => {
@@ -7402,7 +7415,7 @@ var Ma = {
7402
7415
  } catch {
7403
7416
  return [];
7404
7417
  }
7405
- }, tl = (e) => {
7418
+ }, nl = (e) => {
7406
7419
  if (!e.startsWith("__")) return null;
7407
7420
  let t = e.slice(2).split("__");
7408
7421
  if (t.length < 2 || !t[0] || !t[1]) return null;
@@ -7415,76 +7428,76 @@ var Ma = {
7415
7428
  pairs: n,
7416
7429
  value: n[0].value
7417
7430
  };
7418
- }, nl = (e) => {
7431
+ }, rl = (e) => {
7419
7432
  if (e == null) return null;
7420
- if (!e.startsWith(Qc)) return tl(e) ?? {
7433
+ if (!e.startsWith($c)) return nl(e) ?? {
7421
7434
  pairs: [],
7422
7435
  value: e
7423
7436
  };
7424
- let t = el(e.slice(32));
7437
+ let t = tl(e.slice(32));
7425
7438
  return {
7426
7439
  field: t[0]?.field,
7427
7440
  pairs: t,
7428
7441
  value: t[0]?.value ?? e
7429
7442
  };
7430
- }, rl = (e, t) => `${Qc}${encodeURIComponent(JSON.stringify([[e, t]]))}`, il = (e) => e ? e.rawValue !== null && e.rawValue !== void 0 ? String(e.rawValue) : $c(e.metadata) && e.metadata.rawValue !== null && e.metadata.rawValue !== void 0 ? String(e.metadata.rawValue) : e.matchedValue !== null && e.matchedValue !== void 0 ? String(e.matchedValue) : nl(e.value)?.value ?? e.value : null, al = (e, t) => e?.field ? e.field : e?.colField ? e.colField : nl(e?.value)?.field ?? t, ol = (e) => e.flatMap((e) => [e, ...e.children?.length ? ol(e.children) : []]), sl = (e, t, n, r) => al(e, r) === t && il(e) === n, cl = (e) => {
7443
+ }, il = (e, t) => `${$c}${encodeURIComponent(JSON.stringify([[e, t]]))}`, al = (e) => e ? e.rawValue !== null && e.rawValue !== void 0 ? String(e.rawValue) : el(e.metadata) && e.metadata.rawValue !== null && e.metadata.rawValue !== void 0 ? String(e.metadata.rawValue) : e.matchedValue !== null && e.matchedValue !== void 0 ? String(e.matchedValue) : rl(e.value)?.value ?? e.value : null, ol = (e, t) => e?.field ? e.field : e?.colField ? e.colField : rl(e?.value)?.field ?? t, sl = (e) => e.flatMap((e) => [e, ...e.children?.length ? sl(e.children) : []]), cl = (e, t, n, r) => ol(e, r) === t && al(e) === n, ll = (e) => {
7431
7444
  let t = e;
7432
7445
  return t?.filterType === "join" && Array.isArray(t.conditions);
7433
- }, ll = (e) => {
7446
+ }, ul = (e) => {
7434
7447
  let t = e;
7435
- return cl(e) ? {
7448
+ return ll(e) ? {
7436
7449
  ...t,
7437
- conditions: (t.conditions ?? []).map(ll)
7450
+ conditions: (t.conditions ?? []).map(ul)
7438
7451
  } : { ...t };
7439
- }, ul = (e, t) => {
7452
+ }, dl = (e, t) => {
7440
7453
  if (!e) return null;
7441
7454
  let n = t instanceof Set ? t : new Set(t);
7442
- if (!n.size) return ll(e);
7443
- if (!cl(e)) {
7455
+ if (!n.size) return ul(e);
7456
+ if (!ll(e)) {
7444
7457
  let t = e;
7445
- return typeof t.colId == "string" && n.has(t.colId) ? null : ll(e);
7458
+ return typeof t.colId == "string" && n.has(t.colId) ? null : ul(e);
7446
7459
  }
7447
- let r = e, i = (r.conditions ?? []).map((e) => ul(e, n)).filter((e) => !!e);
7460
+ let r = e, i = (r.conditions ?? []).map((e) => dl(e, n)).filter((e) => !!e);
7448
7461
  return i.length ? i.length === 1 ? i[0] : {
7449
7462
  ...r,
7450
7463
  conditions: i
7451
7464
  } : null;
7452
- }, dl = (e) => e ? [e.field, ...(e.children ?? []).flatMap(dl)] : [], fl = (e) => e ? e.children?.length ? e.children.flatMap(fl) : [e.field] : [], pl = (e) => {
7465
+ }, fl = (e) => e ? [e.field, ...(e.children ?? []).flatMap(fl)] : [], pl = (e) => e ? e.children?.length ? e.children.flatMap(pl) : [e.field] : [], ml = (e) => {
7453
7466
  let t = e?.context ?? {};
7454
- return t.aggregateFieldHierarchy ? dl(t.aggregateFieldHierarchy) : t.aggregateFields ?? [];
7455
- }, ml = (e) => {
7467
+ return t.aggregateFieldHierarchy ? fl(t.aggregateFieldHierarchy) : t.aggregateFields ?? [];
7468
+ }, hl = (e) => {
7456
7469
  let t = e?.context ?? {};
7457
7470
  return t.aggregateFieldHierarchy ? t.aggregateFieldHierarchy.field : t.aggregateFields?.[t.aggregateFields.length - 1];
7458
- }, hl = (e) => pl(e).length > 0, gl = (e, t) => {
7471
+ }, gl = (e) => ml(e).length > 0, _l = (e, t) => {
7459
7472
  for (let n of e ?? []) {
7460
7473
  if (!n) continue;
7461
7474
  if (n.value === t) return n;
7462
- let e = gl(n.children, t);
7475
+ let e = _l(n.children, t);
7463
7476
  if (e) return e;
7464
7477
  }
7465
- }, _l = (e, t, n = []) => {
7478
+ }, vl = (e, t, n = []) => {
7466
7479
  for (let r of e ?? []) {
7467
7480
  if (!r) continue;
7468
7481
  let e = [...n, r];
7469
7482
  if (r.value === t) return e;
7470
- let i = _l(r.children, t, e);
7483
+ let i = vl(r.children, t, e);
7471
7484
  if (i) return i;
7472
7485
  }
7473
- }, vl = (e, t) => {
7474
- let n = gl(t, e), r = n ? al(n, "") : void 0, i = n ? il(n) : null;
7486
+ }, yl = (e, t) => {
7487
+ let n = _l(t, e), r = n ? ol(n, "") : void 0, i = n ? al(n) : null;
7475
7488
  if (r && i !== null) return {
7476
7489
  field: r,
7477
7490
  value: i
7478
7491
  };
7479
- let a = nl(e);
7492
+ let a = rl(e);
7480
7493
  return {
7481
7494
  field: a?.field,
7482
7495
  value: a?.value ?? e
7483
7496
  };
7484
- }, yl = (e, t, n) => {
7497
+ }, bl = (e, t, n) => {
7485
7498
  let r = (e) => {
7486
7499
  if (!e) return;
7487
- let i = al(e, ""), a = il(e);
7500
+ let i = ol(e, ""), a = al(e);
7488
7501
  if (i === t && a === n) return e.value;
7489
7502
  for (let t of e.children ?? []) {
7490
7503
  let e = r(t);
@@ -7496,9 +7509,9 @@ var Ma = {
7496
7509
  if (e) return e;
7497
7510
  }
7498
7511
  return `__${t}__${n}`;
7499
- }, bl = (e) => (e ?? []).flatMap((e) => [...e.state === "deselected" ? [e] : [], ...bl(e.children)]), xl = (e, t) => {
7512
+ }, xl = (e) => (e ?? []).flatMap((e) => [...e.state === "deselected" ? [e] : [], ...xl(e.children)]), Sl = (e, t) => {
7500
7513
  if (e.state !== "selected") return null;
7501
- let { field: n, value: r } = vl(e.id, t);
7514
+ let { field: n, value: r } = yl(e.id, t);
7502
7515
  if (!n) return null;
7503
7516
  let i = [{
7504
7517
  colId: n,
@@ -7506,8 +7519,8 @@ var Ma = {
7506
7519
  filterType: "text",
7507
7520
  type: "equals"
7508
7521
  }];
7509
- for (let n of bl(e.children)) {
7510
- let e = vl(n.id, t);
7522
+ for (let n of xl(e.children)) {
7523
+ let e = yl(n.id, t);
7511
7524
  e.field && i.push({
7512
7525
  colId: e.field,
7513
7526
  filter: e.value,
@@ -7520,10 +7533,10 @@ var Ma = {
7520
7533
  filterType: "join",
7521
7534
  type: "AND"
7522
7535
  };
7523
- }, Sl = (e) => {
7524
- let t = pl(e.colDef), n = ul(e.baseModel, t);
7536
+ }, Cl = (e) => {
7537
+ let t = ml(e.colDef), n = dl(e.baseModel, t);
7525
7538
  if (!t.length) return n;
7526
- let r = e.state.map((t) => xl(t, e.options)).filter((e) => !!e);
7539
+ let r = e.state.map((t) => Sl(t, e.options)).filter((e) => !!e);
7527
7540
  if (!r.length) return n;
7528
7541
  let i = r.length === 1 ? r[0] : {
7529
7542
  conditions: r,
@@ -7535,17 +7548,17 @@ var Ma = {
7535
7548
  filterType: "join",
7536
7549
  type: "AND"
7537
7550
  } : i;
7538
- }, Cl = (e, t, n) => {
7551
+ }, wl = (e, t, n) => {
7539
7552
  if (!e) return [];
7540
7553
  let r = e;
7541
- if (cl(e)) {
7554
+ if (ll(e)) {
7542
7555
  let e = r.conditions ?? [];
7543
7556
  if (r.type === "AND") {
7544
7557
  let r = e.find((e) => {
7545
7558
  let r = e;
7546
7559
  return r.filterType !== "join" && typeof r.colId == "string" && t.has(r.colId) && r.type === "equals" && !n.has(r.colId);
7547
7560
  });
7548
- return e.flatMap((e) => Cl(e, t, n).map((e) => ({
7561
+ return e.flatMap((e) => wl(e, t, n).map((e) => ({
7549
7562
  ...e,
7550
7563
  parentEquals: e.parentEquals || (r?.colId ? {
7551
7564
  colId: r.colId,
@@ -7553,20 +7566,20 @@ var Ma = {
7553
7566
  } : void 0)
7554
7567
  })));
7555
7568
  }
7556
- return e.flatMap((e) => Cl(e, t, n));
7569
+ return e.flatMap((e) => wl(e, t, n));
7557
7570
  }
7558
7571
  return r.colId && t.has(r.colId) ? [{
7559
7572
  colId: r.colId,
7560
7573
  filter: r.filter == null ? void 0 : String(r.filter),
7561
7574
  type: r.type
7562
7575
  }] : [];
7563
- }, wl = (e) => {
7564
- let t = pl(e.colDef);
7576
+ }, Tl = (e) => {
7577
+ let t = ml(e.colDef);
7565
7578
  if (!t.length) return [];
7566
- let n = new Set(fl(e.colDef.context?.aggregateFieldHierarchy)), r = ml(e.colDef), i = Cl(e.model, new Set(t), n), a = /* @__PURE__ */ new Map();
7579
+ let n = new Set(pl(e.colDef.context?.aggregateFieldHierarchy)), r = hl(e.colDef), i = wl(e.model, new Set(t), n), a = /* @__PURE__ */ new Map();
7567
7580
  for (let t of i) {
7568
7581
  if (!t.filter) continue;
7569
- let n = yl(e.options, t.colId, String(t.filter));
7582
+ let n = bl(e.options, t.colId, String(t.filter));
7570
7583
  if (t.type === "equals") {
7571
7584
  let e = a.get(n);
7572
7585
  a.set(n, {
@@ -7577,7 +7590,7 @@ var Ma = {
7577
7590
  continue;
7578
7591
  }
7579
7592
  if (t.type === "notEqual" && t.parentEquals?.filter && r) {
7580
- let r = yl(e.options, t.parentEquals.colId, String(t.parentEquals.filter)), i = a.get(r) ?? {
7593
+ let r = bl(e.options, t.parentEquals.colId, String(t.parentEquals.filter)), i = a.get(r) ?? {
7581
7594
  children: [],
7582
7595
  id: r,
7583
7596
  state: "selected"
@@ -7589,150 +7602,153 @@ var Ma = {
7589
7602
  }
7590
7603
  }
7591
7604
  return [...a.values()];
7592
- }, Tl = (e) => {
7593
- let t = /* @__PURE__ */ new Map(), n = pl(e.colDef);
7605
+ }, El = (e) => {
7606
+ let t = /* @__PURE__ */ new Map(), n = ml(e.colDef);
7594
7607
  if (!n.length) return t;
7595
- let r = Cl(e.model, new Set(n), new Set(fl(e.colDef.context?.aggregateFieldHierarchy)));
7608
+ let r = wl(e.model, new Set(n), new Set(pl(e.colDef.context?.aggregateFieldHierarchy)));
7596
7609
  for (let e of r) {
7597
7610
  if (e.type !== "equals" || !e.filter) continue;
7598
7611
  let n = t.get(e.colId) ?? [];
7599
7612
  n.includes(e.filter) || n.push(e.filter), t.set(e.colId, n);
7600
7613
  }
7601
7614
  return t;
7602
- }, El = (e) => e.map((e) => ({
7615
+ }, Dl = (e) => e.map((e) => ({
7603
7616
  ...e,
7604
7617
  children: e.children?.map((e) => ({
7605
7618
  ...e,
7606
- children: e.children ? El(e.children) : void 0
7619
+ children: e.children ? Dl(e.children) : void 0
7607
7620
  }))
7608
- })), Dl = (e, t) => e.flatMap((e) => {
7621
+ })), Ol = (e, t) => e.flatMap((e) => {
7609
7622
  if (e.id === t) return [];
7610
- let n = e.children ? Dl(e.children, t) : void 0;
7623
+ let n = e.children ? Ol(e.children, t) : void 0;
7611
7624
  return [{
7612
7625
  ...e,
7613
7626
  children: n?.length ? n : void 0
7614
7627
  }];
7615
- }), Ol = (e, t) => {
7628
+ }), kl = (e, t) => {
7616
7629
  for (let n of e) {
7617
7630
  if (n.id === t) return n;
7618
- let e = n.children ? Ol(n.children, t) : void 0;
7631
+ let e = n.children ? kl(n.children, t) : void 0;
7619
7632
  if (e) return e;
7620
7633
  }
7621
- }, kl = (e) => !!e.children?.length || (e.totalChildCount ?? 0) > 0, Al = (e, t) => [...Dl(e, t.id), t], jl = (e) => (e.children ?? []).flatMap((e) => [e.value, ...jl(e)]), Ml = (e, t) => jl(t).reduce((e, t) => Dl(e, t), e), Nl = (e, t) => [t.value, ...jl(t)].reduce((e, t) => Dl(e, t), e), Pl = (e, t, n) => {
7622
- let r = (_l(n, t.value) ?? []).slice(0, -1).reverse();
7634
+ }, Al = (e) => !!e.children?.length || (e.totalChildCount ?? 0) > 0, jl = (e, t) => [...Ol(e, t.id), t], Ml = (e) => (e.children ?? []).flatMap((e) => [e.value, ...Ml(e)]), Nl = (e, t) => Ml(t).reduce((e, t) => Ol(e, t), e), Pl = (e, t) => [t.value, ...Ml(t)].reduce((e, t) => Ol(e, t), e), Fl = (e, t, n) => {
7635
+ let r = (vl(n, t.value) ?? []).slice(0, -1).reverse();
7623
7636
  for (let t of r) {
7624
- let n = Ol(e, t.value);
7637
+ let n = kl(e, t.value);
7625
7638
  if (n?.state === "selected") return n;
7626
7639
  }
7627
- }, Fl = (e) => {
7628
- let t = El(e.state), n = Pl(t, e.option, e.options);
7640
+ }, Il = (e) => {
7641
+ let t = Dl(e.state), n = Fl(t, e.option, e.options);
7629
7642
  if (n) {
7630
7643
  let r = n.children ?? [];
7631
- return n.children = e.checked ? Nl(r, e.option) : [...Nl(r, e.option), {
7644
+ return n.children = e.checked ? Pl(r, e.option) : [...Pl(r, e.option), {
7632
7645
  id: e.option.value,
7633
7646
  state: "deselected"
7634
7647
  }], n.children.length || delete n.children, t;
7635
7648
  }
7636
- return kl(e.option) ? e.checked ? Al(Ml(t, e.option), {
7649
+ return Al(e.option) ? e.checked ? jl(Nl(t, e.option), {
7637
7650
  id: e.option.value,
7638
7651
  state: "selected"
7639
- }) : Dl(t, e.option.value) : e.checked ? Al(t, {
7652
+ }) : Ol(t, e.option.value) : e.checked ? jl(t, {
7640
7653
  id: e.option.value,
7641
7654
  state: "selected"
7642
- }) : Dl(t, e.option.value);
7643
- }, Il = (e) => {
7655
+ }) : Ol(t, e.option.value);
7656
+ }, Ll = (e) => {
7644
7657
  let t = /* @__PURE__ */ new Map(), n = (e) => {
7645
7658
  for (let r of e ?? []) t.set(r.id, r), n(r.children);
7646
7659
  };
7647
7660
  return n(e), t;
7648
- }, Ll = (e) => {
7649
- let t = Il(e.state), n = /* @__PURE__ */ new Map(), r = (e, i) => {
7661
+ }, Rl = (e) => {
7662
+ let t = Ll(e.state), n = /* @__PURE__ */ new Map(), r = (e, i) => {
7650
7663
  let a = t.get(e.value), o = a?.state === "selected" || i && a?.state !== "deselected", s = (e.children ?? []).map((e) => r(e, o)), c = s.some((e) => e.selected || e.indeterminate), l = s.some((e) => !e.selected || e.indeterminate), u = {
7651
- indeterminate: bl(a?.children).length > 0 || !o && c || o && l,
7664
+ indeterminate: xl(a?.children).length > 0 || !o && c || o && l,
7652
7665
  selected: o
7653
7666
  };
7654
7667
  return n.set(e.value, u), u;
7655
7668
  };
7656
7669
  for (let t of e.options ?? []) t && r(t, !1);
7657
7670
  return n;
7658
- }, Rl = (e) => Ll(e).get(e.option.value) ?? Ll({
7671
+ }, zl = (e) => Rl(e).get(e.option.value) ?? Rl({
7659
7672
  options: [e.option],
7660
7673
  state: e.state
7661
7674
  }).get(e.option.value) ?? {
7662
7675
  indeterminate: !1,
7663
7676
  selected: !1
7664
- }, zl = (e) => e.state.flatMap((t) => {
7677
+ }, Bl = (e) => e.state.flatMap((t) => {
7665
7678
  if (t.state !== "selected") return [];
7666
- let n = gl(e.options, t.id);
7679
+ let n = _l(e.options, t.id);
7667
7680
  if (n) return [n];
7668
- let { field: r, value: i } = vl(t.id, e.options);
7681
+ let { field: r, value: i } = yl(t.id, e.options);
7669
7682
  return [{
7670
7683
  colField: r,
7671
7684
  label: i,
7672
7685
  metadata: { rawValue: i },
7673
- value: r ? rl(r, i) : t.id
7686
+ value: r ? il(r, i) : t.id
7674
7687
  }];
7675
- }), Bl = (e) => e.filter((e) => e.state === "selected").length, Vl = ["open"], Hl = {
7688
+ }), Vl = (e) => e.filter((e) => e.state === "selected").length, Hl = ["open"], Ul = {
7676
7689
  class: "pv-flex pv-text-body-md",
7677
7690
  style: {
7678
7691
  "--flex-align": "center",
7679
7692
  "--flex-gap": "0.5rem"
7680
7693
  }
7681
- }, Ul = {
7694
+ }, Wl = {
7682
7695
  class: "pv-flex-vertical pv-surface-accent pv-inset-inline-24",
7683
7696
  style: { "--flex-align": "stretch" }
7684
- }, Wl = {
7697
+ }, Gl = {
7685
7698
  key: 0,
7686
7699
  class: "pv-flex-vertical",
7687
7700
  style: {
7688
7701
  "--flex-align": "stretch",
7689
7702
  "--flex-gap": "0.5rem"
7690
7703
  }
7691
- }, Gl = {
7704
+ }, Kl = {
7692
7705
  key: 0,
7693
7706
  class: "pv-flex",
7694
7707
  style: {
7695
7708
  "--flex-gap": "0.5rem",
7696
7709
  "--flex-wrap": "wrap"
7697
7710
  }
7698
- }, Kl = {
7711
+ }, ql = {
7699
7712
  key: 1,
7700
7713
  class: "pv-flex",
7701
7714
  style: { "--flex-justify": "flex-end" }
7702
- }, ql = {
7715
+ }, Jl = {
7703
7716
  key: 2,
7704
7717
  class: "pv-flex-vertical",
7705
7718
  style: {
7706
7719
  "--flex-align": "stretch",
7707
7720
  "--flex-gap": "0.5rem"
7708
7721
  }
7709
- }, Jl = { key: 3 }, Yl = {
7722
+ }, Yl = {
7723
+ key: 3,
7724
+ class: "pv-flex pv-text-body-xs pv-text-subdued"
7725
+ }, Xl = { key: 0 }, Zl = {
7710
7726
  key: 1,
7711
7727
  class: "pv-text-body-xs pv-text-subdued",
7712
7728
  style: { margin: "0" }
7713
- }, Xl = {
7729
+ }, Ql = {
7714
7730
  key: 1,
7715
7731
  class: "pv-text-body-xs pv-text-subdued",
7716
7732
  style: { margin: "0" }
7717
- }, Zl = {
7733
+ }, $l = {
7718
7734
  key: 2,
7719
7735
  class: "pv-flex-vertical",
7720
7736
  style: {
7721
7737
  "--flex-align": "stretch",
7722
7738
  "--flex-gap": "0.5rem"
7723
7739
  }
7724
- }, Ql = { key: 0 }, $l = {
7740
+ }, eu = { key: 0 }, tu = {
7725
7741
  class: "pv-text-title-sm pv-text-subdued suggested-title-label",
7726
7742
  style: { margin: "0" }
7727
- }, eu = {
7743
+ }, nu = {
7728
7744
  key: 1,
7729
7745
  class: "pv-text-title-sm pv-text-subdued",
7730
7746
  style: { margin: "0" }
7731
- }, tu = {
7747
+ }, ru = {
7732
7748
  key: 2,
7733
7749
  class: "pv-text-body-xs pv-text-subdued",
7734
7750
  style: { margin: "0" }
7735
- }, nu = {
7751
+ }, iu = {
7736
7752
  key: 3,
7737
7753
  class: "pv-flex-vertical",
7738
7754
  "data-testid": "pv-filter-panel-boolean-control",
@@ -7740,14 +7756,14 @@ var Ma = {
7740
7756
  "--flex-align": "stretch",
7741
7757
  "--flex-gap": "0.5rem"
7742
7758
  }
7743
- }, ru = {
7759
+ }, au = {
7744
7760
  class: "pv-flex",
7745
7761
  style: {
7746
7762
  "--flex-align": "center",
7747
7763
  "--flex-gap": "0.5rem",
7748
7764
  "--flex-wrap": "wrap"
7749
7765
  }
7750
- }, iu = {
7766
+ }, ou = {
7751
7767
  key: 4,
7752
7768
  class: "pv-flex",
7753
7769
  "data-testid": "pv-filter-panel-exists-control",
@@ -7756,7 +7772,7 @@ var Ma = {
7756
7772
  "--flex-gap": "0.5rem",
7757
7773
  cursor: "pointer"
7758
7774
  }
7759
- }, au = { class: "pv-text-body-sm" }, ou = 5, su = 500, cu = /* @__PURE__ */ Q(/* @__PURE__ */ d({
7775
+ }, su = { class: "pv-text-body-sm" }, cu = 5, lu = 500, uu = /* @__PURE__ */ Q(/* @__PURE__ */ d({
7760
7776
  __name: "PvFilterPanelAccordion",
7761
7777
  props: { filter: {} },
7762
7778
  emits: [
@@ -7768,7 +7784,7 @@ var Ma = {
7768
7784
  "search-change"
7769
7785
  ],
7770
7786
  setup(e, { emit: n }) {
7771
- let c = e, d = n, f = k({}), p = R(), m = k(c.filter.searchQuery ?? ""), h = k(ou), g = r(() => c.filter.existsLabel ?? `Has ${c.filter.label}`), v = r(() => c.filter.valueLabels?.false ?? "No"), y = r(() => c.filter.options ?? []), S = r(() => [...c.filter.knownOptions ?? [], ...y.value]), C = r(() => c.filter.type ?? "value"), w = r(() => C.value === "value"), T = r(() => w.value && c.filter.isAggregate === !0), E = r(() => c.filter.aggregateSelectionState ?? []), O = r(() => m.value.trim().toLowerCase()), j = r(() => c.filter.selectedValues ?? []), M = r(() => new Set(j.value)), P = r(() => c.filter.valueLabels?.true ?? "Yes"), L = r(() => c.filter.filterOptionsSortDescription || "Suggested"), z = (e) => {
7787
+ let c = e, d = n, f = k({}), p = R(), m = k(c.filter.searchQuery ?? ""), h = k(cu), g = r(() => c.filter.existsLabel ?? `Has ${c.filter.label}`), v = r(() => c.filter.valueLabels?.false ?? "No"), y = r(() => c.filter.options ?? []), S = r(() => [...c.filter.knownOptions ?? [], ...y.value]), C = r(() => c.filter.type ?? "value"), w = r(() => C.value === "value"), T = r(() => w.value && c.filter.isAggregate === !0), E = r(() => c.filter.aggregateSelectionState ?? []), O = r(() => m.value.trim().toLowerCase()), j = r(() => c.filter.selectedValues ?? []), M = r(() => new Set(j.value)), P = r(() => c.filter.valueLabels?.true ?? "Yes"), L = r(() => c.filter.filterOptionsSortDescription || "Suggested"), z = (e) => {
7772
7788
  let t = typeof e.metadata == "object" && e.metadata !== null ? Object.values(e.metadata) : [];
7773
7789
  return [
7774
7790
  e.value,
@@ -7778,7 +7794,7 @@ var Ma = {
7778
7794
  e.matchedValue,
7779
7795
  e.matchedField
7780
7796
  ].concat(t.flatMap((e) => e == null ? [] : [String(e)])).filter((e) => !!e).join(" ").toLowerCase();
7781
- }, B = r(() => C.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 : C.value === "boolean" ? c.filter.booleanValue !== null && c.filter.booleanValue !== void 0 ? 1 : void 0 : C.value === "exists" ? c.filter.existsValue ? 1 : void 0 : T.value ? Bl(E.value) || void 0 : j.value.length || void 0), V = (e) => e.totalChildCount === null || e.totalChildCount === void 0 ? !1 : e.totalChildCount > (e.children?.length ?? 0), ee = (e, t = 0) => e.flatMap((e) => [
7797
+ }, B = r(() => C.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 : C.value === "boolean" ? c.filter.booleanValue !== null && c.filter.booleanValue !== void 0 ? 1 : void 0 : C.value === "exists" ? c.filter.existsValue ? 1 : void 0 : T.value ? Vl(E.value) || void 0 : j.value.length || void 0), V = (e) => e.totalChildCount === null || e.totalChildCount === void 0 ? !1 : e.totalChildCount > (e.children?.length ?? 0), ee = (e, t = 0) => e.flatMap((e) => [
7782
7798
  {
7783
7799
  depth: t,
7784
7800
  kind: "option",
@@ -7796,16 +7812,16 @@ var Ma = {
7796
7812
  }), H = r(() => T.value || c.filter.singleSelect ? [] : j.value.map((e) => f.value[e] ?? {
7797
7813
  label: e,
7798
7814
  value: e
7799
- })), U = r(() => T.value || c.filter.singleSelect ? te.value : te.value.filter((e) => e.kind === "child-load-more" || !M.value.has(e.option.value))), W = r(() => U.value.length > h.value), ne = r(() => W.value || c.filter.hasMore), q = r(() => U.value.slice(0, h.value)), re = r(() => T.value ? Ll({
7815
+ })), U = r(() => T.value || c.filter.singleSelect ? te.value : te.value.filter((e) => e.kind === "child-load-more" || !M.value.has(e.option.value))), W = r(() => U.value.length > h.value), ne = r(() => W.value || c.filter.hasMore), q = r(() => U.value.slice(0, h.value)), re = r(() => T.value ? Rl({
7800
7816
  options: S.value,
7801
7817
  state: E.value
7802
- }) : /* @__PURE__ */ new Map()), J = (e) => Xc(e, c.filter.colDef), ie = (e) => Zc(e), Y = (e) => T.value ? re.value.get(e.value) ?? {
7818
+ }) : /* @__PURE__ */ new Map()), J = (e) => Zc(e, c.filter.colDef), ie = (e) => Qc(e), Y = (e) => T.value ? re.value.get(e.value) ?? {
7803
7819
  indeterminate: !1,
7804
7820
  selected: !1
7805
7821
  } : {
7806
7822
  indeterminate: !1,
7807
7823
  selected: M.value.has(e.value)
7808
- }, ae = (e) => Y(e).selected, oe = (e) => Y(e).indeterminate, se = (e) => il(e) ?? e.value, ce = (e) => al(e, c.filter.key), ue = (e) => {
7824
+ }, ae = (e) => Y(e).selected, oe = (e) => Y(e).indeterminate, se = (e) => al(e) ?? e.value, ce = (e) => ol(e, c.filter.key), ue = (e) => {
7809
7825
  let t = ce(e), n = se(e);
7810
7826
  return c.filter.focusedValuesByField?.[t]?.includes(n) || t === c.filter.key && c.filter.focusedValues?.includes(e.value) || !1;
7811
7827
  }, de = (e) => ({
@@ -7834,7 +7850,7 @@ var Ma = {
7834
7850
  rowsLoading: c.filter.isLoading
7835
7851
  }
7836
7852
  })), me = () => {
7837
- W.value ? h.value += ou : c.filter.hasMore && d("load-more", m.value.trim());
7853
+ W.value ? h.value += cu : c.filter.hasMore && d("load-more", m.value.trim());
7838
7854
  }, he = (e) => {
7839
7855
  d("load-more", m.value.trim(), e.value);
7840
7856
  }, ge = (e) => {
@@ -7859,7 +7875,7 @@ var Ma = {
7859
7875
  if (T.value) {
7860
7876
  d("filter-change", {
7861
7877
  type: "aggregate-selection",
7862
- value: Fl({
7878
+ value: Il({
7863
7879
  checked: t,
7864
7880
  option: e,
7865
7881
  options: S.value,
@@ -7886,12 +7902,12 @@ var Ma = {
7886
7902
  d("handle-settings-icon", c.filter.key, c.filter.colDef);
7887
7903
  };
7888
7904
  G([m, () => c.filter.key], () => {
7889
- h.value = ou;
7905
+ h.value = cu;
7890
7906
  });
7891
7907
  let we = () => {
7892
- let e = ol(S.value), t = { ...f.value }, n = new Map(Object.entries(t));
7908
+ let e = sl(S.value), t = { ...f.value }, n = new Map(Object.entries(t));
7893
7909
  for (let t of e) n.delete(t.value), n.set(t.value, t);
7894
- f.value = Object.fromEntries([...n.entries()].slice(Math.max(0, n.size - su)));
7910
+ f.value = Object.fromEntries([...n.entries()].slice(Math.max(0, n.size - lu)));
7895
7911
  };
7896
7912
  return G(S, () => {
7897
7913
  c.filter.isOpen && we();
@@ -7912,7 +7928,7 @@ var Ma = {
7912
7928
  "data-testid": "pv-filter-panel-accordion",
7913
7929
  open: e.filter.isOpen,
7914
7930
  onToggle: ge
7915
- }, [s("summary", Hl, [
7931
+ }, [s("summary", Ul, [
7916
7932
  u(Z, {
7917
7933
  "aria-hidden": "true",
7918
7934
  class: "pv-text-subdued",
@@ -7925,9 +7941,9 @@ var Ma = {
7925
7941
  size: "sm",
7926
7942
  variant: "secondary"
7927
7943
  }, null, 8, ["value"])) : a("", !0)
7928
- ]), s("div", Ul, [w.value ? (D(), o(t, { key: 0 }, [
7929
- e.filter.filterGroupOptions?.length || e.filter.displayPreferencesIcon || e.filter.filterHeaderRenderer ? (D(), o("div", Wl, [
7930
- e.filter.filterGroupOptions?.length ? (D(), o("div", Gl, [(D(!0), o(t, null, A(e.filter.filterGroupOptions, (t) => (D(), i($, {
7944
+ ]), s("div", Wl, [w.value ? (D(), o(t, { key: 0 }, [
7945
+ e.filter.filterGroupOptions?.length || e.filter.displayPreferencesIcon || e.filter.filterHeaderRenderer ? (D(), o("div", Gl, [
7946
+ e.filter.filterGroupOptions?.length ? (D(), o("div", Kl, [(D(!0), o(t, null, A(e.filter.filterGroupOptions, (t) => (D(), i($, {
7931
7947
  key: t.field,
7932
7948
  disabled: e.filter.disabled,
7933
7949
  label: t.label,
@@ -7940,7 +7956,7 @@ var Ma = {
7940
7956
  "variant",
7941
7957
  "onClick"
7942
7958
  ]))), 128))])) : a("", !0),
7943
- e.filter.displayPreferencesIcon ? (D(), o("div", Kl, [u($, {
7959
+ e.filter.displayPreferencesIcon ? (D(), o("div", ql, [u($, {
7944
7960
  ariaLabel: "Open preferences",
7945
7961
  disabled: e.filter.disabled,
7946
7962
  leftIcon: "sliders-horizontal",
@@ -7962,7 +7978,7 @@ var Ma = {
7962
7978
  "disabled",
7963
7979
  "placeholder"
7964
7980
  ])),
7965
- H.value.length ? (D(), o("div", ql, [(D(!0), o(t, null, A(H.value, (t) => (D(), i(Bc, {
7981
+ H.value.length ? (D(), o("div", Jl, [(D(!0), o(t, null, A(H.value, (t) => (D(), i(Vc, {
7966
7982
  key: t.value,
7967
7983
  control: e.filter.singleSelect ? "radio" : "checkbox",
7968
7984
  disabled: e.filter.disabled || t.isSelectable === !1,
@@ -7999,10 +8015,10 @@ var Ma = {
7999
8015
  "onFocusValue",
8000
8016
  "onToggleValue"
8001
8017
  ]))), 128))])) : a("", !0),
8002
- e.filter.isLoading ? (D(), o("div", Jl, [u(ke, { size: "sm" })])) : (D(), o(t, { key: 4 }, [
8003
- !y.value.length && !H.value.length && !ne.value ? (D(), o(t, { key: 0 }, [e.filter.emptyResultsRenderer ? (D(), i(N(e.filter.emptyResultsRenderer), _({ key: 0 }, pe.value, { "empty-reason": "no-values" }), null, 16)) : (D(), o("p", Yl, "No values available."))], 64)) : !te.value.length && !H.value.length && !ne.value ? (D(), o(t, { key: 1 }, [e.filter.emptyResultsRenderer ? (D(), i(N(e.filter.emptyResultsRenderer), _({ key: 0 }, pe.value, { "empty-reason": "no-matches" }), null, 16)) : (D(), o("p", Xl, "No matching values."))], 64)) : a("", !0),
8004
- U.value.length || ne.value ? (D(), o("div", Zl, [
8005
- U.value.length && !e.filter.hideOptionsSortDescription ? (D(), o("div", Ql, [e.filter.filterOptionsSortTooltip ? (D(), i(Zn, {
8018
+ e.filter.isLoading ? (D(), o("div", Yl, [u(ke, { size: "sm" }), e.filter.loadingText ? (D(), o("span", Xl, F(e.filter.loadingText), 1)) : a("", !0)])) : (D(), o(t, { key: 4 }, [
8019
+ !y.value.length && !H.value.length && !ne.value ? (D(), o(t, { key: 0 }, [e.filter.emptyResultsRenderer ? (D(), i(N(e.filter.emptyResultsRenderer), _({ key: 0 }, pe.value, { "empty-reason": "no-values" }), null, 16)) : (D(), o("p", Zl, "No values available."))], 64)) : !te.value.length && !H.value.length && !ne.value ? (D(), o(t, { key: 1 }, [e.filter.emptyResultsRenderer ? (D(), i(N(e.filter.emptyResultsRenderer), _({ key: 0 }, pe.value, { "empty-reason": "no-matches" }), null, 16)) : (D(), o("p", Ql, "No matching values."))], 64)) : a("", !0),
8020
+ U.value.length || ne.value ? (D(), o("div", $l, [
8021
+ U.value.length && !e.filter.hideOptionsSortDescription ? (D(), o("div", eu, [e.filter.filterOptionsSortTooltip ? (D(), i(Zn, {
8006
8022
  key: 0,
8007
8023
  variant: "dark",
8008
8024
  disableInteractive: !0,
@@ -8011,11 +8027,11 @@ var Ma = {
8011
8027
  "use-teleport": !0,
8012
8028
  style: { "--max-width": "200px" }
8013
8029
  }, {
8014
- trigger: K(() => [s("p", $l, F(L.value), 1)]),
8030
+ trigger: K(() => [s("p", tu, F(L.value), 1)]),
8015
8031
  content: K(() => [l(F(e.filter.filterOptionsSortTooltip), 1)]),
8016
8032
  _: 1
8017
- })) : (D(), o("p", eu, F(L.value), 1))])) : a("", !0),
8018
- (D(!0), o(t, null, A(q.value, (n) => (D(), o(t, { key: n.kind === "option" ? n.option.value : `${n.parent.value}-children-more` }, [n.kind === "option" ? (D(), i(Bc, {
8033
+ })) : (D(), o("p", nu, F(L.value), 1))])) : a("", !0),
8034
+ (D(!0), o(t, null, A(q.value, (n) => (D(), o(t, { key: n.kind === "option" ? n.option.value : `${n.parent.value}-children-more` }, [n.kind === "option" ? (D(), i(Vc, {
8019
8035
  key: 0,
8020
8036
  control: e.filter.singleSelect ? "radio" : "checkbox",
8021
8037
  depth: n.depth,
@@ -8082,7 +8098,7 @@ var Ma = {
8082
8098
  ])) : a("", !0),
8083
8099
  e.filter.filterFooterRenderer ? (D(), i(N(e.filter.filterFooterRenderer), b(_({ key: 3 }, pe.value)), null, 16)) : a("", !0)
8084
8100
  ], 64))
8085
- ], 64)) : C.value === "range" && e.filter.rangeMin !== null && e.filter.rangeMax !== null ? (D(), i(Nc, {
8101
+ ], 64)) : C.value === "range" && e.filter.rangeMin !== null && e.filter.rangeMax !== null ? (D(), i(Pc, {
8086
8102
  key: 1,
8087
8103
  mode: "dual",
8088
8104
  rangeValue: e.filter.rangeValue,
@@ -8103,7 +8119,7 @@ var Ma = {
8103
8119
  "min",
8104
8120
  "step",
8105
8121
  "value-decimals"
8106
- ])) : C.value === "range" ? (D(), o("p", tu, " Range filters require minimum and maximum bounds. ")) : C.value === "boolean" ? (D(), o("div", nu, [s("div", ru, [u($, {
8122
+ ])) : C.value === "range" ? (D(), o("p", ru, " Range filters require minimum and maximum bounds. ")) : C.value === "boolean" ? (D(), o("div", iu, [s("div", au, [u($, {
8107
8123
  disabled: e.filter.disabled || e.filter.isLoading,
8108
8124
  label: P.value,
8109
8125
  variant: e.filter.booleanValue === !0 ? "primary" : "secondary",
@@ -8128,37 +8144,37 @@ var Ma = {
8128
8144
  label: "Clear",
8129
8145
  variant: "ghost",
8130
8146
  onClick: r[3] ||= (e) => _e(null)
8131
- }, null, 8, ["disabled"])) : a("", !0)])) : C.value === "exists" ? (D(), o("label", iu, [u(ns, {
8147
+ }, null, 8, ["disabled"])) : a("", !0)])) : C.value === "exists" ? (D(), o("label", ou, [u(rs, {
8132
8148
  disabled: e.filter.disabled || e.filter.isLoading,
8133
8149
  modelValue: e.filter.existsValue ?? !1,
8134
8150
  "onUpdate:modelValue": ve
8135
- }, null, 8, ["disabled", "modelValue"]), s("span", au, F(g.value), 1)])) : a("", !0)])], 40, Vl));
8151
+ }, null, 8, ["disabled", "modelValue"]), s("span", su, F(g.value), 1)])) : a("", !0)])], 40, Hl));
8136
8152
  }
8137
- }), [["__scopeId", "data-v-9a452be9"]]), lu = {
8153
+ }), [["__scopeId", "data-v-3ed68672"]]), du = {
8138
8154
  class: "pv-flex-vertical pv-inset-square-8",
8139
8155
  "data-testid": "pv-filter-panel-applied-section",
8140
8156
  style: {
8141
8157
  "--flex-align": "stretch",
8142
8158
  "--flex-gap": "1rem"
8143
8159
  }
8144
- }, uu = {
8160
+ }, fu = {
8145
8161
  key: 0,
8146
8162
  class: "pv-flex-vertical",
8147
8163
  style: {
8148
8164
  "--flex-align": "stretch",
8149
8165
  "--flex-gap": "1rem"
8150
8166
  }
8151
- }, du = { class: "pv-text-title-md" }, fu = {
8167
+ }, pu = { class: "pv-text-title-md" }, mu = {
8152
8168
  class: "pv-flex",
8153
8169
  style: {
8154
8170
  "--flex-gap": "0.375rem",
8155
8171
  "--flex-wrap": "wrap"
8156
8172
  }
8157
- }, pu = {
8173
+ }, hu = {
8158
8174
  key: 1,
8159
8175
  class: "pv-text-body-sm pv-text-subdued",
8160
8176
  style: { margin: "0" }
8161
- }, mu = /* @__PURE__ */ d({
8177
+ }, gu = /* @__PURE__ */ d({
8162
8178
  __name: "PvFilterPanelAppliedFiltersSection",
8163
8179
  props: {
8164
8180
  appliedCount: { default: 0 },
@@ -8173,7 +8189,7 @@ var Ma = {
8173
8189
  let r = n, a = (e, t) => {
8174
8190
  r("remove-filter", t.field ?? e, t.value, t.type);
8175
8191
  };
8176
- return (n, r) => (D(), o("section", lu, [e.appliedCount ? (D(), o("div", uu, [(D(!0), o(t, null, A(e.appliedGroups, (n) => (D(), o("div", {
8192
+ return (n, r) => (D(), o("section", du, [e.appliedCount ? (D(), o("div", fu, [(D(!0), o(t, null, A(e.appliedGroups, (n) => (D(), o("div", {
8177
8193
  key: n.key,
8178
8194
  class: "pv-flex-vertical pv-border-bottom",
8179
8195
  style: {
@@ -8181,7 +8197,7 @@ var Ma = {
8181
8197
  "--flex-gap": "12px",
8182
8198
  "padding-bottom": "12px"
8183
8199
  }
8184
- }, [s("span", du, F(n.label), 1), s("div", fu, [(D(!0), o(t, null, A(n.values, (t) => (D(), i(pr, {
8200
+ }, [s("span", pu, F(n.label), 1), s("div", mu, [(D(!0), o(t, null, A(n.values, (t) => (D(), i(pr, {
8185
8201
  key: `${t.field ?? n.key}-${t.type ?? "value"}-${t.value}`,
8186
8202
  label: t.label,
8187
8203
  showClear: !e.readOnly,
@@ -8190,9 +8206,9 @@ var Ma = {
8190
8206
  "label",
8191
8207
  "showClear",
8192
8208
  "onHandleClose"
8193
- ]))), 128))])]))), 128))])) : (D(), o("p", pu, "No filters applied yet."))]));
8209
+ ]))), 128))])]))), 128))])) : (D(), o("p", hu, "No filters applied yet."))]));
8194
8210
  }
8195
- }), hu = { class: "pv-horizontal-scroller" }, gu = ["aria-label"], _u = 1, vu = /* @__PURE__ */ d({
8211
+ }), _u = { class: "pv-horizontal-scroller" }, vu = ["aria-label"], yu = 1, bu = /* @__PURE__ */ d({
8196
8212
  __name: "PvHorizontalScroller",
8197
8213
  props: {
8198
8214
  ariaLabel: { default: "Scrollable content" },
@@ -8216,7 +8232,7 @@ var Ma = {
8216
8232
  let e = u.value;
8217
8233
  if (!e) return;
8218
8234
  let t = Math.max(0, e.scrollWidth - e.clientWidth);
8219
- n.value = e.scrollLeft > _u, c.value = e.scrollLeft < t - _u;
8235
+ n.value = e.scrollLeft > yu, c.value = e.scrollLeft < t - yu;
8220
8236
  }, h = () => {
8221
8237
  d && (d.disconnect(), u.value && d.observe(u.value), l.value && d.observe(l.value));
8222
8238
  }, g = () => {
@@ -8236,7 +8252,7 @@ var Ma = {
8236
8252
  h(), g();
8237
8253
  }), S(() => {
8238
8254
  u.value?.removeEventListener("scroll", m), d?.disconnect(), f && window.removeEventListener("resize", m);
8239
- }), (t, r) => (D(), o("div", hu, [
8255
+ }), (t, r) => (D(), o("div", _u, [
8240
8256
  s("div", {
8241
8257
  ref_key: "scrollContainer",
8242
8258
  ref: u,
@@ -8247,7 +8263,7 @@ var Ma = {
8247
8263
  ref_key: "contentContainer",
8248
8264
  ref: l,
8249
8265
  class: "pv-horizontal-scroller-content"
8250
- }, [j(t.$slots, "default")], 512)], 10, gu),
8266
+ }, [j(t.$slots, "default")], 512)], 10, vu),
8251
8267
  s("div", { class: y(["pv-horizontal-scroller-control pv-horizontal-scroller-control-left", {
8252
8268
  "pv-horizontal-scroller-control-hidden": !n.value,
8253
8269
  "pv-horizontal-scroller-control-left-fade": e.showFades
@@ -8280,18 +8296,18 @@ var Ma = {
8280
8296
  ])) : a("", !0)], 2)
8281
8297
  ]));
8282
8298
  }
8283
- }), yu = {
8299
+ }), xu = {
8284
8300
  key: 0,
8285
8301
  class: "pv-border-bottom",
8286
8302
  "data-testid": "pv-filter-panel-category-row"
8287
- }, bu = {
8303
+ }, Su = {
8288
8304
  class: "pv-flex",
8289
8305
  style: {
8290
8306
  "--flex-align": "center",
8291
8307
  "--flex-gap": "8px",
8292
8308
  padding: "8px 12px"
8293
8309
  }
8294
- }, xu = /* @__PURE__ */ d({
8310
+ }, Cu = /* @__PURE__ */ d({
8295
8311
  __name: "PvFilterPanelCategoryButtonRow",
8296
8312
  props: /* @__PURE__ */ g({
8297
8313
  categoryOrder: {},
@@ -8312,7 +8328,7 @@ var Ma = {
8312
8328
  }, f = (e) => c.value === e ? "secondary" : "ghost";
8313
8329
  return G(l, (e) => {
8314
8330
  c.value !== null && !e.includes(c.value) && (c.value = null);
8315
- }, { immediate: !0 }), (e, n) => l.value.length ? (D(), o("div", yu, [u(vu, {
8331
+ }, { immediate: !0 }), (e, n) => l.value.length ? (D(), o("div", xu, [u(bu, {
8316
8332
  ariaLabel: "Filter categories",
8317
8333
  buttonSize: "md",
8318
8334
  buttonVariant: "ghost",
@@ -8321,7 +8337,7 @@ var Ma = {
8321
8337
  rightAriaLabel: "Scroll filter categories right",
8322
8338
  showFades: ""
8323
8339
  }, {
8324
- default: K(() => [s("div", bu, [u($, {
8340
+ default: K(() => [s("div", Su, [u($, {
8325
8341
  label: "All",
8326
8342
  size: "md",
8327
8343
  variant: f(null),
@@ -8340,17 +8356,17 @@ var Ma = {
8340
8356
  _: 1
8341
8357
  })])) : a("", !0);
8342
8358
  }
8343
- }), Su = (e, t, n) => {
8359
+ }), wu = (e, t, n) => {
8344
8360
  let r = [e, ...t ?? []].filter((e) => !!e);
8345
8361
  if (r.length <= 1) return "Search";
8346
8362
  let i = /* @__PURE__ */ new Set(), a = r.flatMap((e) => i.has(e) ? [] : (i.add(e), [n(e) || e]));
8347
8363
  return a.length ? `Search ${a.join(", ")}` : "Search";
8348
- }, Cu = (e) => String(e ?? "").trim().replace(/\s+/g, " ").toLocaleLowerCase(), wu = ({ fallbackSubText: e, getDisplayName: t, matchedField: n, matchedValue: r, primaryText: i, showPrefix: a = !0 }) => {
8349
- if (!r || Cu(i) === Cu(r)) return e;
8364
+ }, Tu = (e) => String(e ?? "").trim().replace(/\s+/g, " ").toLocaleLowerCase(), Eu = ({ fallbackSubText: e, getDisplayName: t, matchedField: n, matchedValue: r, primaryText: i, showPrefix: a = !0 }) => {
8365
+ if (!r || Tu(i) === Tu(r)) return e;
8350
8366
  if (!a || !n) return r;
8351
8367
  let o = t(n);
8352
8368
  return o ? `${o}: ${r}` : r;
8353
- }, Tu = () => ({
8369
+ }, Du = () => ({
8354
8370
  booleanValue: null,
8355
8371
  existsValue: !1,
8356
8372
  rangeValue: {
@@ -8358,15 +8374,15 @@ var Ma = {
8358
8374
  min: null
8359
8375
  },
8360
8376
  values: []
8361
- }), Eu = (e) => typeof e == "object" && !!e && !Array.isArray(e), Du = (e) => Eu(e) && typeof e.colId == "string" && typeof e.filterType == "string" && typeof e.type == "string", Ou = (e) => Eu(e) && e.filterType === "join" && Array.isArray(e.conditions), ku = (e) => e, Au = (e) => Ou(e) ? {
8362
- conditions: e.conditions.map(Au),
8377
+ }), Ou = (e) => typeof e == "object" && !!e && !Array.isArray(e), ku = (e) => Ou(e) && typeof e.colId == "string" && typeof e.filterType == "string" && typeof e.type == "string", Au = (e) => Ou(e) && e.filterType === "join" && Array.isArray(e.conditions), ju = (e) => e, Mu = (e) => Au(e) ? {
8378
+ conditions: e.conditions.map(Mu),
8363
8379
  filterType: "join",
8364
8380
  type: e.type
8365
- } : { ...e }, ju = (e) => {
8366
- if (!Eu(e)) return null;
8367
- if (Ou(e)) {
8381
+ } : { ...e }, Nu = (e) => {
8382
+ if (!Ou(e)) return null;
8383
+ if (Au(e)) {
8368
8384
  let t = e.conditions.flatMap((e) => {
8369
- let t = ju(e);
8385
+ let t = Nu(e);
8370
8386
  return t ? [t] : [];
8371
8387
  });
8372
8388
  return t.length ? {
@@ -8375,43 +8391,43 @@ var Ma = {
8375
8391
  type: e.type === "OR" ? "OR" : "AND"
8376
8392
  } : null;
8377
8393
  }
8378
- return Du(e) ? { ...e } : null;
8379
- }, Mu = (e) => typeof e == "number" && Number.isFinite(e) ? e : null, Nu = (e) => Eu(e) && !Ou(e) && !Du(e), Pu = (e) => e?.filterType === "multi" && Array.isArray(e.filterModels), Fu = {
8394
+ return ku(e) ? { ...e } : null;
8395
+ }, Pu = (e) => typeof e == "number" && Number.isFinite(e) ? e : null, Fu = (e) => Ou(e) && !Au(e) && !ku(e), Iu = (e) => e?.filterType === "multi" && Array.isArray(e.filterModels), Lu = {
8380
8396
  number: "agNumberColumnFilter",
8381
8397
  set: "agSetColumnFilter",
8382
8398
  text: "agTextColumnFilter"
8383
- }, Iu = (e) => {
8399
+ }, Ru = (e) => {
8384
8400
  if (e?.filter !== "agMultiColumnFilter") return [];
8385
8401
  let t = e.filterParams;
8386
8402
  return Array.isArray(t?.filters) ? t.filters : [];
8387
- }, Lu = (e, t) => {
8388
- let n = Iu(e), r = t.filterType ? Fu[t.filterType] : void 0;
8389
- return r ? n.findIndex((e) => Eu(e) && e.filter === r) : -1;
8390
- }, Ru = (e, t) => {
8391
- let n = Iu(e);
8403
+ }, zu = (e, t) => {
8404
+ let n = Ru(e), r = t.filterType ? Lu[t.filterType] : void 0;
8405
+ return r ? n.findIndex((e) => Ou(e) && e.filter === r) : -1;
8406
+ }, Bu = (e, t) => {
8407
+ let n = Ru(e);
8392
8408
  if (!n.length) return null;
8393
- let r = Array(n.length).fill(null), i = Lu(e, t);
8409
+ let r = Array(n.length).fill(null), i = zu(e, t);
8394
8410
  return i < 0 ? null : (r[i] = t, {
8395
8411
  filterModels: r,
8396
8412
  filterType: "multi"
8397
8413
  });
8398
- }, zu = (e, t) => {
8399
- if (!Nu(e)) return null;
8414
+ }, Vu = (e, t) => {
8415
+ if (!Fu(e)) return null;
8400
8416
  let n = e[t];
8401
- return Eu(n) ? n : null;
8402
- }, Bu = (e) => e ? Pu(e) ? e.filterModels.filter((e) => Eu(e)) : [e] : [], Vu = (e) => Nu(e) ? { ...e } : {}, Hu = (e) => Pu(e) ? {
8417
+ return Ou(n) ? n : null;
8418
+ }, Hu = (e) => e ? Iu(e) ? e.filterModels.filter((e) => Ou(e)) : [e] : [], Uu = (e) => Fu(e) ? { ...e } : {}, Wu = (e) => Iu(e) ? {
8403
8419
  ...e,
8404
8420
  filterModels: e.filterModels.map((e) => e && { ...e })
8405
- } : { ...e }, Uu = (e, t) => {
8406
- let n = Vu(e);
8421
+ } : { ...e }, Gu = (e, t) => {
8422
+ let n = Uu(e);
8407
8423
  return delete n[t], Object.keys(n).length ? n : null;
8408
- }, Wu = /* @__PURE__ */ new Set(), Gu = (e, t) => {
8424
+ }, Ku = /* @__PURE__ */ new Set(), qu = (e, t) => {
8409
8425
  let n = `${e}:${t ?? "unknown"}`;
8410
- Wu.has(n) || (console.warn(`PvFilterPanel: overwriting an occupied regular multi-filter slot for "${e}" because the target slot was occupied or no empty slot was available.`), Wu.add(n));
8411
- }, Ku = (e, t, n, r, i) => {
8412
- let a = zu(e, t);
8413
- if (Pu(a) && r) {
8414
- let o = Vu(e), s = Hu(a), c = [...s.filterModels ?? []], l = c.flatMap((e, t) => e && r(e) ? [t] : []);
8426
+ Ku.has(n) || (console.warn(`PvFilterPanel: overwriting an occupied regular multi-filter slot for "${e}" because the target slot was occupied or no empty slot was available.`), Ku.add(n));
8427
+ }, Ju = (e, t, n, r, i) => {
8428
+ let a = Vu(e, t);
8429
+ if (Iu(a) && r) {
8430
+ let o = Uu(e), s = Wu(a), c = [...s.filterModels ?? []], l = c.flatMap((e, t) => e && r(e) ? [t] : []);
8415
8431
  if (!n) {
8416
8432
  for (let e of l) c[e] = null;
8417
8433
  return c.some(Boolean) ? o[t] = {
@@ -8424,15 +8440,15 @@ var Ma = {
8424
8440
  c[e] = n;
8425
8441
  for (let e of t) c[e] = null;
8426
8442
  } else {
8427
- let e = Lu(i, n), r = c.findIndex((e) => !e), a = Iu(i).length > 0;
8443
+ let e = zu(i, n), r = c.findIndex((e) => !e), a = Ru(i).length > 0;
8428
8444
  if (e >= 0) {
8429
8445
  for (; c.length <= e;) c.push(null);
8430
- c[e] && Gu(t, n.filterType), c[e] = n;
8446
+ c[e] && qu(t, n.filterType), c[e] = n;
8431
8447
  } else if (r >= 0) c[r] = n;
8432
8448
  else if (!a) c.push(n);
8433
8449
  else {
8434
8450
  let e = Math.max(0, c.length - 1);
8435
- Gu(t, n.filterType), c[e] = n;
8451
+ qu(t, n.filterType), c[e] = n;
8436
8452
  }
8437
8453
  }
8438
8454
  return o[t] = {
@@ -8440,54 +8456,54 @@ var Ma = {
8440
8456
  filterModels: c
8441
8457
  }, o;
8442
8458
  }
8443
- if (!n) return Uu(e, t);
8444
- let o = Vu(e);
8445
- return o[t] = Ru(i, n) ?? n, o;
8446
- }, qu = (e, t) => {
8459
+ if (!n) return Gu(e, t);
8460
+ let o = Uu(e);
8461
+ return o[t] = Bu(i, n) ?? n, o;
8462
+ }, Yu = (e, t) => {
8447
8463
  if (e) {
8448
- if (Ou(e)) {
8449
- e.conditions.forEach((e) => qu(e, t));
8464
+ if (Au(e)) {
8465
+ e.conditions.forEach((e) => Yu(e, t));
8450
8466
  return;
8451
8467
  }
8452
8468
  t(e);
8453
8469
  }
8454
- }, Ju = (e, t) => Ou(e) ? e.conditions.length > 0 && e.conditions.every((e) => Ju(e, t)) : e.colId === t, Yu = (e) => {
8455
- if (!Ou(e)) return e.colId;
8470
+ }, Xu = (e, t) => Au(e) ? e.conditions.length > 0 && e.conditions.every((e) => Xu(e, t)) : e.colId === t, Zu = (e) => {
8471
+ if (!Au(e)) return e.colId;
8456
8472
  let t = /* @__PURE__ */ new Set();
8457
- return qu(e, (e) => t.add(e.colId)), t.size === 1 ? [...t][0] : null;
8458
- }, Xu = (e, t) => {
8459
- if (!e || Ju(e, t)) return null;
8460
- if (!Ou(e) || e.type !== "AND") return Au(e);
8461
- let n = e.conditions.flatMap((e) => Ju(e, t) ? [] : [Au(e)]);
8473
+ return Yu(e, (e) => t.add(e.colId)), t.size === 1 ? [...t][0] : null;
8474
+ }, Qu = (e, t) => {
8475
+ if (!e || Xu(e, t)) return null;
8476
+ if (!Au(e) || e.type !== "AND") return Mu(e);
8477
+ let n = e.conditions.flatMap((e) => Xu(e, t) ? [] : [Mu(e)]);
8462
8478
  return n.length ? n.length === 1 ? n[0] : {
8463
8479
  conditions: n,
8464
8480
  filterType: e.filterType,
8465
8481
  type: e.type
8466
8482
  } : null;
8467
- }, Zu = (e, t, n) => {
8468
- let r = Xu(ju(e), t);
8469
- return n ? r ? Ou(r) && r.type === "AND" ? ku({
8483
+ }, $u = (e, t, n) => {
8484
+ let r = Qu(Nu(e), t);
8485
+ return n ? r ? Au(r) && r.type === "AND" ? ju({
8470
8486
  ...r,
8471
8487
  conditions: [...r.conditions, n]
8472
- }) : ku({
8488
+ }) : ju({
8473
8489
  conditions: [r, n],
8474
8490
  filterType: "join",
8475
8491
  type: "AND"
8476
- }) : ku(n) : ku(r);
8477
- }, Qu = (e, t) => {
8492
+ }) : ju(n) : ju(r);
8493
+ }, ed = (e, t) => {
8478
8494
  e.includes(t) || e.push(t);
8479
- }, $u = (e) => {
8495
+ }, td = (e) => {
8480
8496
  if (e.filterType !== "text" || e.type !== "equals" || e.filter === void 0) return !1;
8481
8497
  let t = String(e.filter);
8482
8498
  return t === "true" || t === "false";
8483
- }, ed = (e) => e.filterType === "boolean" || $u(e), td = (e, t) => {
8499
+ }, nd = (e) => e.filterType === "boolean" || td(e), rd = (e, t) => {
8484
8500
  if (e.filterType === "set" && Array.isArray(e.values)) {
8485
- e.values.forEach((e) => Qu(t.values, String(e)));
8501
+ e.values.forEach((e) => ed(t.values, String(e)));
8486
8502
  return;
8487
8503
  }
8488
8504
  if (e.filterType === "text" && e.type === "equals" && e.filter !== void 0) {
8489
8505
  let n = String(e.filter);
8490
- n === "true" ? t.booleanValue = !0 : n === "false" && (t.booleanValue = !1), Qu(t.values, n);
8506
+ n === "true" ? t.booleanValue = !0 : n === "false" && (t.booleanValue = !1), ed(t.values, n);
8491
8507
  return;
8492
8508
  }
8493
8509
  if (e.filterType === "boolean") {
@@ -8511,7 +8527,7 @@ var Ma = {
8511
8527
  ...t.rangeValue,
8512
8528
  max: e.filter
8513
8529
  }));
8514
- }, nd = (e, t) => {
8530
+ }, id = (e, t) => {
8515
8531
  if (e.type === "notBlank") {
8516
8532
  t.existsValue = !0;
8517
8533
  return;
@@ -8521,12 +8537,12 @@ var Ma = {
8521
8537
  return;
8522
8538
  }
8523
8539
  if (e.filterType === "set" && Array.isArray(e.values)) {
8524
- e.values.forEach((e) => Qu(t.values, String(e)));
8540
+ e.values.forEach((e) => ed(t.values, String(e)));
8525
8541
  return;
8526
8542
  }
8527
8543
  if (e.filterType === "text" && e.type === "equals" && e.filter !== void 0) {
8528
8544
  let n = String(e.filter);
8529
- n === "true" ? t.booleanValue = !0 : n === "false" && (t.booleanValue = !1), Qu(t.values, n);
8545
+ n === "true" ? t.booleanValue = !0 : n === "false" && (t.booleanValue = !1), ed(t.values, n);
8530
8546
  return;
8531
8547
  }
8532
8548
  e.filterType !== "number" || typeof e.filter != "number" || (e.type === "equals" && (t.rangeValue = {
@@ -8539,29 +8555,29 @@ var Ma = {
8539
8555
  ...t.rangeValue,
8540
8556
  max: e.filter
8541
8557
  }));
8542
- }, rd = (e, t = "advanced") => {
8558
+ }, ad = (e, t = "advanced") => {
8543
8559
  let n = /* @__PURE__ */ new Map();
8544
8560
  if (t === "regular") {
8545
- if (!Nu(e)) return n;
8561
+ if (!Fu(e)) return n;
8546
8562
  for (let [t, r] of Object.entries(e)) {
8547
- let e = Tu();
8548
- Bu(r).forEach((t) => td(t, e)), (e.values.length || e.booleanValue !== null || e.existsValue || e.rangeValue.min !== null || e.rangeValue.max !== null) && n.set(t, e);
8563
+ let e = Du();
8564
+ Hu(r).forEach((t) => rd(t, e)), (e.values.length || e.booleanValue !== null || e.existsValue || e.rangeValue.min !== null || e.rangeValue.max !== null) && n.set(t, e);
8549
8565
  }
8550
8566
  return n;
8551
8567
  }
8552
- let r = ju(e);
8568
+ let r = Nu(e);
8553
8569
  if (!r) return n;
8554
- let i = Ou(r) && r.type === "AND" ? r.conditions : [r];
8570
+ let i = Au(r) && r.type === "AND" ? r.conditions : [r];
8555
8571
  for (let e of i) {
8556
- let t = Yu(e);
8572
+ let t = Zu(e);
8557
8573
  if (!t) continue;
8558
- let r = n.get(t) ?? Tu();
8559
- qu(e, (e) => {
8560
- e.colId === t && nd(e, r);
8574
+ let r = n.get(t) ?? Du();
8575
+ Yu(e, (e) => {
8576
+ e.colId === t && id(e, r);
8561
8577
  }), (r.values.length || r.booleanValue !== null || r.existsValue || r.rangeValue.min !== null || r.rangeValue.max !== null) && n.set(t, r);
8562
8578
  }
8563
8579
  return n;
8564
- }, id = (e, t = "advanced") => t === "regular" ? Nu(e) && Object.keys(e).length > 0 : ju(e) !== null, ad = (e) => e === "currency" || e === "formula" || e === "integer" || e === "number" || e === "percent" ? "number" : e === "date" ? "date" : "text", od = (e, t, n = "advanced") => n === "regular" ? Uu(e, t) : ku(Xu(ju(e), t)), sd = (e, t, n, r = "advanced", i = "boolean", a) => n === null ? r === "regular" ? Ku(e, t, null, ed, a) : od(e, t, r) : r === "regular" ? Ku(e, t, i === "text" ? {
8580
+ }, od = (e, t = "advanced") => t === "regular" ? Fu(e) && Object.keys(e).length > 0 : Nu(e) !== null, sd = (e) => e === "currency" || e === "formula" || e === "integer" || e === "number" || e === "percent" ? "number" : e === "date" ? "date" : "text", cd = (e, t, n = "advanced") => n === "regular" ? Gu(e, t) : ju(Qu(Nu(e), t)), ld = (e, t, n, r = "advanced", i = "boolean", a) => n === null ? r === "regular" ? Ju(e, t, null, nd, a) : cd(e, t, r) : r === "regular" ? Ju(e, t, i === "text" ? {
8565
8581
  filter: String(n),
8566
8582
  filterType: "text",
8567
8583
  type: "equals"
@@ -8569,30 +8585,30 @@ var Ma = {
8569
8585
  filter: n,
8570
8586
  filterType: "boolean",
8571
8587
  type: n ? "true" : "false"
8572
- }, ed, a) : i === "text" ? Zu(e, t, {
8588
+ }, nd, a) : i === "text" ? $u(e, t, {
8573
8589
  colId: t,
8574
8590
  filter: String(n),
8575
8591
  filterType: "text",
8576
8592
  type: "equals"
8577
- }) : Zu(e, t, {
8593
+ }) : $u(e, t, {
8578
8594
  colId: t,
8579
8595
  filterType: "boolean",
8580
8596
  type: n ? "true" : "false"
8581
- }), cd = (e, t, n, r = "text", i = "advanced", a) => n ? i === "regular" ? Ku(e, t, {
8597
+ }), ud = (e, t, n, r = "text", i = "advanced", a) => n ? i === "regular" ? Ju(e, t, {
8582
8598
  filterType: r,
8583
8599
  type: "notBlank"
8584
- }, (e) => e.filterType === r && e.type === "notBlank", a) : Zu(e, t, {
8600
+ }, (e) => e.filterType === r && e.type === "notBlank", a) : $u(e, t, {
8585
8601
  colId: t,
8586
8602
  filterType: r,
8587
8603
  type: "notBlank"
8588
- }) : i === "regular" ? Ku(e, t, null, (e) => e.filterType === r && e.type === "notBlank", a) : od(e, t, i), ld = (e, t, n, r, i = "advanced", a) => {
8589
- let o = Mu(n), s = Mu(r);
8590
- if (i === "regular") return o === null && s === null ? Ku(e, t, null, (e) => e.filterType === "number", a) : o !== null && s !== null ? Ku(e, t, {
8604
+ }) : i === "regular" ? Ju(e, t, null, (e) => e.filterType === r && e.type === "notBlank", a) : cd(e, t, i), dd = (e, t, n, r, i = "advanced", a) => {
8605
+ let o = Pu(n), s = Pu(r);
8606
+ if (i === "regular") return o === null && s === null ? Ju(e, t, null, (e) => e.filterType === "number", a) : o !== null && s !== null ? Ju(e, t, {
8591
8607
  filter: o,
8592
8608
  filterTo: s,
8593
8609
  filterType: "number",
8594
8610
  type: "inRange"
8595
- }, (e) => e.filterType === "number", a) : Ku(e, t, {
8611
+ }, (e) => e.filterType === "number", a) : Ju(e, t, {
8596
8612
  filter: o ?? s,
8597
8613
  filterType: "number",
8598
8614
  type: o === null ? "lessThanOrEqual" : "greaterThanOrEqual"
@@ -8608,29 +8624,29 @@ var Ma = {
8608
8624
  filter: s,
8609
8625
  filterType: "number",
8610
8626
  type: "lessThanOrEqual"
8611
- }), c.length ? Zu(e, t, c.length === 1 ? c[0] : {
8627
+ }), c.length ? $u(e, t, c.length === 1 ? c[0] : {
8612
8628
  conditions: c,
8613
8629
  filterType: "join",
8614
8630
  type: "AND"
8615
- }) : od(e, t);
8616
- }, ud = (e, t, n, r = "advanced", i) => {
8631
+ }) : cd(e, t);
8632
+ }, fd = (e, t, n, r = "advanced", i) => {
8617
8633
  let a = Array.from(new Set(n));
8618
- if (r === "regular") return a.length ? Ku(e, t, {
8634
+ if (r === "regular") return a.length ? Ju(e, t, {
8619
8635
  filterType: "set",
8620
8636
  values: a
8621
- }, (e) => e.filterType === "set", i) : Ku(e, t, null, (e) => e.filterType === "set", i);
8637
+ }, (e) => e.filterType === "set", i) : Ju(e, t, null, (e) => e.filterType === "set", i);
8622
8638
  let o = a.map((e) => ({
8623
8639
  colId: t,
8624
8640
  filter: e,
8625
8641
  filterType: "text",
8626
8642
  type: "equals"
8627
8643
  }));
8628
- return o.length ? Zu(e, t, o.length === 1 ? o[0] : {
8644
+ return o.length ? $u(e, t, o.length === 1 ? o[0] : {
8629
8645
  conditions: o,
8630
8646
  filterType: "join",
8631
8647
  type: "OR"
8632
- }) : od(e, t);
8633
- }, dd = Symbol("PvFilterStore"), fd = (e) => e ? Array.isArray(e) ? { values: e } : e : { values: [] }, pd = (e, t) => t ?? e, md = (e) => Object.fromEntries(Object.entries(e).map(([e, t]) => [e, [...t]])), hd = (e) => {
8648
+ }) : cd(e, t);
8649
+ }, pd = Symbol("PvFilterStore"), md = (e) => e ? Array.isArray(e) ? { values: e } : e : { values: [] }, hd = (e, t) => t ?? e, gd = (e) => Object.fromEntries(Object.entries(e).map(([e, t]) => [e, [...t]])), _d = (e) => {
8634
8650
  let t = /* @__PURE__ */ new Map();
8635
8651
  for (let n of e) {
8636
8652
  if (!n) continue;
@@ -8642,34 +8658,34 @@ var Ma = {
8642
8658
  t.set(n.value, {
8643
8659
  ...e,
8644
8660
  ...n,
8645
- children: hd([...e.children ?? [], ...n.children ?? []]),
8646
- totalChildCount: pd(e.totalChildCount, n.totalChildCount)
8661
+ children: _d([...e.children ?? [], ...n.children ?? []]),
8662
+ totalChildCount: hd(e.totalChildCount, n.totalChildCount)
8647
8663
  });
8648
8664
  }
8649
8665
  return [...t.values()];
8650
- }, gd = (e, t) => {
8666
+ }, vd = (e, t) => {
8651
8667
  for (let n of e ?? []) {
8652
8668
  if (!n) continue;
8653
8669
  if (n.value === t) return n;
8654
- let e = gd(n.children, t);
8670
+ let e = vd(n.children, t);
8655
8671
  if (e) return e;
8656
8672
  }
8657
- }, _d = (e, t, n) => {
8673
+ }, yd = (e, t, n) => {
8658
8674
  if (!e || t === null) return !1;
8659
8675
  if (e.value === t) return !0;
8660
- let r = il(e);
8661
- return r !== null && r === t || sl(e, e.colField ?? n, t, n) ? !0 : e.children?.some((e) => _d(e, t, n)) ?? !1;
8662
- }, vd = (e, t, n) => {
8663
- let r = gd(n, t) ?? null, i = r?.children ?? n.filter(Boolean);
8676
+ let r = al(e);
8677
+ return r !== null && r === t || cl(e, e.colField ?? n, t, n) ? !0 : e.children?.some((e) => yd(e, t, n)) ?? !1;
8678
+ }, bd = (e, t, n) => {
8679
+ let r = vd(n, t) ?? null, i = r?.children ?? n.filter(Boolean);
8664
8680
  return e.map((e) => e && (e.value === t ? {
8665
8681
  ...e,
8666
- children: hd([...e.children ?? [], ...i]),
8667
- totalChildCount: pd(e.totalChildCount, r?.totalChildCount)
8682
+ children: _d([...e.children ?? [], ...i]),
8683
+ totalChildCount: hd(e.totalChildCount, r?.totalChildCount)
8668
8684
  } : e.children?.length ? {
8669
8685
  ...e,
8670
- children: vd(e.children, t, n).filter((e) => !!e)
8686
+ children: bd(e.children, t, n).filter((e) => !!e)
8671
8687
  } : e));
8672
- }, yd = (e, t) => `${e}::${t}`, bd = () => {
8688
+ }, xd = (e, t) => `${e}::${t}`, Sd = () => {
8673
8689
  let e = k(null), t = k(null), n = k(), r = k({}), i = k({}), a = k({}), o = k({}), s = k({}), c = k({}), l = k({}), u = k({}), d = k({}), f = k({}), p = k({}), m = k({}), h = k({}), g = k({}), _ = k(), v = k({}), y = (e) => {
8674
8690
  _.value = e;
8675
8691
  }, b = (e) => r.value[e] ?? [], x = (e, t) => {
@@ -8678,11 +8694,11 @@ var Ma = {
8678
8694
  let r = n ? o : i;
8679
8695
  r.value[e] = t;
8680
8696
  }, w = () => {
8681
- o.value = md(i.value), s.value = md(a.value);
8697
+ o.value = gd(i.value), s.value = gd(a.value);
8682
8698
  }, T = () => {
8683
8699
  o.value = {}, s.value = {};
8684
8700
  }, E = () => {
8685
- i.value = md(o.value), a.value = md(s.value), T();
8701
+ i.value = gd(o.value), a.value = gd(s.value), T();
8686
8702
  }, D = (e, t) => {
8687
8703
  c.value[e] = t;
8688
8704
  }, O = (e, t) => `${t ? "append" : "initial"}::${e}`, A = (e, t) => {
@@ -8704,7 +8720,7 @@ var Ma = {
8704
8720
  if (!o) return [];
8705
8721
  let s = n.query ?? c.value[n.field] ?? void 0;
8706
8722
  c.value[n.field] = s;
8707
- let l = n.parentId ? gd(r.value[n.field], n.parentId) : void 0, u = n.offset ?? (n.parentId ? l?.children?.length ?? 0 : n.reason === "load-more" ? (r.value[n.field] ?? []).filter(Boolean).length : 0), v = n.reason === "load-more" || n.reason === "child-load-more", y = A(n.field, v), b = n.parentId ? yd(n.field, n.parentId) : n.field, x = (h.value[b] ?? 0) + 1;
8723
+ let l = n.parentId ? vd(r.value[n.field], n.parentId) : void 0, u = n.offset ?? (n.parentId ? l?.children?.length ?? 0 : n.reason === "load-more" ? (r.value[n.field] ?? []).filter(Boolean).length : 0), v = n.reason === "load-more" || n.reason === "child-load-more", y = A(n.field, v), b = n.parentId ? xd(n.field, n.parentId) : n.field, x = (h.value[b] ?? 0) + 1;
8708
8724
  h.value[b] = x;
8709
8725
  try {
8710
8726
  let c = await o({
@@ -8715,17 +8731,17 @@ var Ma = {
8715
8731
  selectedValues: n.selectedValues ?? i.value[n.field] ?? []
8716
8732
  });
8717
8733
  if (h.value[b] !== x) return [];
8718
- let l = fd(c);
8734
+ let l = md(c);
8719
8735
  if (n.parentId) {
8720
- let e = yd(n.field, n.parentId);
8736
+ let e = xd(n.field, n.parentId);
8721
8737
  p.value[e] = l.hasMore, m.value[e] = l.totalCount;
8722
8738
  } else d.value[n.field] = l.hasMore, f.value[n.field] = l.totalCount;
8723
8739
  let _ = a.value[n.field] ?? [], y;
8724
- y = n.parentId ? vd(r.value[n.field] ?? [], n.parentId, l.values) : v ? hd([...r.value[n.field] ?? [], ...l.values]) : l.values;
8740
+ y = n.parentId ? bd(r.value[n.field] ?? [], n.parentId, l.values) : v ? _d([...r.value[n.field] ?? [], ...l.values]) : l.values;
8725
8741
  for (let e of _) {
8726
8742
  if (!e) continue;
8727
- let t = il(e) ?? e.value;
8728
- y.some((e) => _d(e, t, n.field)) || y.push(e);
8743
+ let t = al(e) ?? e.value;
8744
+ y.some((e) => yd(e, t, n.field)) || y.push(e);
8729
8745
  }
8730
8746
  return r.value[n.field] = y, g.value[n.field] = !1, y.filter((e) => !!e).map((e) => e.value);
8731
8747
  } finally {
@@ -8758,20 +8774,20 @@ var Ma = {
8758
8774
  stagedFilterSelectedMetadataMap: s,
8759
8775
  stagedFilterSelectedValueMap: o
8760
8776
  };
8761
- }, xd = (e) => {
8762
- O(dd, e);
8763
- }, Sd = () => m(dd, null), Cd = () => Sd() ?? bd(), wd = "__range__", Td = "__boolean__", Ed = "__exists__", Dd = new Set([
8777
+ }, Cd = (e) => {
8778
+ O(pd, e);
8779
+ }, wd = () => m(pd, null), Td = () => wd() ?? Sd(), Ed = "__range__", Dd = "__boolean__", Od = "__exists__", kd = new Set([
8764
8780
  "value",
8765
8781
  "range",
8766
8782
  "boolean",
8767
8783
  "exists"
8768
8784
  ]);
8769
- function Od(e, t, n) {
8785
+ function Ad(e, t, n) {
8770
8786
  f();
8771
- let i = k(t.value), a = bd(), o = Sd(), s = /* @__PURE__ */ new Set(), c = /* @__PURE__ */ new Set(), l = /* @__PURE__ */ new Map(), u = r(() => !!(e.filterStore ?? o)), d = r(() => !u.value && !!e.filterOptionsHandler), p = r(() => e.filterStore ?? o ?? a), m = r(() => p.value === a), h = r(() => u.value || d.value), g = r(() => e.filterModelType ?? p.value?.filterModelType.value), _ = r(() => g.value ?? "advanced"), v = r(() => {
8787
+ let i = k(t.value), a = Sd(), o = wd(), s = /* @__PURE__ */ new Set(), c = /* @__PURE__ */ new Set(), l = /* @__PURE__ */ new Map(), u = r(() => !!(e.filterStore ?? o)), d = r(() => !u.value && !!e.filterOptionsHandler), p = r(() => e.filterStore ?? o ?? a), m = r(() => p.value === a), h = r(() => u.value || d.value), g = r(() => e.filterModelType ?? p.value?.filterModelType.value), _ = r(() => g.value ?? "advanced"), v = r(() => {
8772
8788
  let n = p.value;
8773
8789
  return n ? e.staged ? n.stagedFilterModel.value : n.filterModel.value : e.staged ? i.value : t.value;
8774
- }), y = r(() => rd(v.value, _.value)), b = (e, t) => {
8790
+ }), y = r(() => ad(v.value, _.value)), b = (e, t) => {
8775
8791
  let n = e.applyFilterModel;
8776
8792
  if (typeof n == "function") {
8777
8793
  n(t);
@@ -8862,7 +8878,7 @@ function Od(e, t, n) {
8862
8878
  });
8863
8879
  let D = (e) => e.context ?? {}, O = (e) => e.colId || e.field || "", A = (e) => typeof e == "number" && Number.isFinite(e) ? e : null, j = (e) => {
8864
8880
  let t = D(e), n = t.filterPanelType;
8865
- if (n && Dd.has(n)) return n;
8881
+ if (n && kd.has(n)) return n;
8866
8882
  if (t.filterPanelRange) return "range";
8867
8883
  if (t.dataType === "boolean") return "boolean";
8868
8884
  if (e.filter) return "value";
@@ -8902,30 +8918,30 @@ function Od(e, t, n) {
8902
8918
  ...r,
8903
8919
  ...i
8904
8920
  ].filter(Boolean)));
8905
- }, K = (e) => _.value === "advanced" && hl(e), q = (e, t) => K(e) ? Tl({
8921
+ }, K = (e) => _.value === "advanced" && gl(e), q = (e, t) => K(e) ? El({
8906
8922
  colDef: e,
8907
8923
  model: v.value,
8908
8924
  options: t
8909
8925
  }) : new Map(W(e).map((e) => [e, y.value.get(e)?.values ?? []])), re = (e, t, n, r) => {
8910
8926
  let i = /* @__PURE__ */ new Set();
8911
- for (let t of ol(r)) for (let [r, a] of n) for (let n of a) sl(t, r, n, e) && i.add(`${r}:${n}`);
8927
+ for (let t of sl(r)) for (let [r, a] of n) for (let n of a) cl(t, r, n, e) && i.add(`${r}:${n}`);
8912
8928
  return [...n.entries()].flatMap(([t, n]) => n.flatMap((n) => i.has(`${t}:${n}`) ? [] : [{
8913
8929
  colField: t === e ? void 0 : t,
8914
8930
  label: n,
8915
8931
  metadata: { rawValue: n },
8916
- value: t === e ? n : rl(t, n)
8932
+ value: t === e ? n : il(t, n)
8917
8933
  }]));
8918
8934
  }, J = (e, t, n) => {
8919
8935
  let r = /* @__PURE__ */ new Set();
8920
- for (let i of ol(n)) {
8921
- let n = al(i, e), a = il(i);
8936
+ for (let i of sl(n)) {
8937
+ let n = ol(i, e), a = al(i);
8922
8938
  a !== null && t.get(n)?.includes(a) && r.add(i.value);
8923
8939
  }
8924
8940
  return Array.from(r);
8925
8941
  }, ie = (t) => Object.fromEntries(W(t).map((t) => [t, e.focusedValues[t] ?? []])), Y = (t) => e.colDefs.find((e) => O(e) === t || e.field === t || e.colId === t), ae = (e) => Y(e)?.headerName ?? e, oe = (e) => {
8926
8942
  let t = D(e);
8927
- return typeof t.filterPanelSearchPlaceholder == "string" ? t.filterPanelSearchPlaceholder : Su(O(e), t.queryColIds, ae);
8928
- }, se = (e, t) => wu({
8943
+ return typeof t.filterPanelSearchPlaceholder == "string" ? t.filterPanelSearchPlaceholder : wu(O(e), t.queryColIds, ae);
8944
+ }, se = (e, t) => Eu({
8929
8945
  fallbackSubText: e.subText,
8930
8946
  getDisplayName: ae,
8931
8947
  matchedField: e.matchedField,
@@ -8943,7 +8959,7 @@ function Od(e, t, n) {
8943
8959
  isActive: y.value.get(e)?.booleanValue === !0,
8944
8960
  label: Y(e)?.headerName ?? e
8945
8961
  }));
8946
- }, ue = (e) => X.value.find((t) => t.key === e) ?? X.value.find((t) => W(t.colDef).includes(e)), de = (e, t, n) => ol(ue(e)?.knownOptions ?? []).find((r) => r.value === n || sl(r, t, n, e)), X = r(() => e.colDefs.filter(F).map((t) => {
8962
+ }, ue = (e) => X.value.find((t) => t.key === e) ?? X.value.find((t) => W(t.colDef).includes(e)), de = (e, t, n) => sl(ue(e)?.knownOptions ?? []).find((r) => r.value === n || cl(r, t, n, e)), X = r(() => e.colDefs.filter(F).map((t) => {
8947
8963
  let n = O(t), r = D(t), i = M(t), a = ce(I(n), t), o = ce(te(n), t), s = {
8948
8964
  category: N(t),
8949
8965
  colDef: t,
@@ -8976,6 +8992,7 @@ function Od(e, t, n) {
8976
8992
  key: n,
8977
8993
  knownOptions: o,
8978
8994
  label: t.headerName || n,
8995
+ loadingText: r.filterOptionsLoadingText,
8979
8996
  rangeMax: A(r.filterPanelRange?.max),
8980
8997
  rangeMin: A(r.filterPanelRange?.min),
8981
8998
  rangeStep: A(r.filterPanelRange?.step),
@@ -9001,7 +9018,7 @@ function Od(e, t, n) {
9001
9018
  ...s,
9002
9019
  existsValue: y.value.get(n)?.existsValue ?? !1
9003
9020
  };
9004
- let c = o, l = e.controlledValues[n] ?? [], u = s.controlled ? new Map([[n, l]]) : q(t, c), d = re(n, t, u, c), f = [...c, ...d], p = K(t) ? wl({
9021
+ let c = o, l = e.controlledValues[n] ?? [], u = s.controlled ? new Map([[n, l]]) : q(t, c), d = re(n, t, u, c), f = [...c, ...d], p = K(t) ? Tl({
9005
9022
  colDef: t,
9006
9023
  model: v.value,
9007
9024
  options: f
@@ -9021,19 +9038,19 @@ function Od(e, t, n) {
9021
9038
  label: e.label,
9022
9039
  values: t
9023
9040
  }] : [];
9024
- })), pe = r(() => fe.value.reduce((e, t) => e + t.values.length, 0)), me = r(() => id(v.value, _.value)), he = r(() => me.value || pe.value > 0), ge = (e) => {
9041
+ })), pe = r(() => fe.value.reduce((e, t) => e + t.values.length, 0)), me = r(() => od(v.value, _.value)), he = r(() => me.value || pe.value > 0), ge = (e) => {
9025
9042
  let t = ue(e.field);
9026
9043
  if (!t || t.type !== e.filter.type) return !0;
9027
9044
  if (e.filter.type === "value") {
9028
9045
  if (t.isAggregate && e.option) {
9029
- let { selected: n } = Rl({
9046
+ let { selected: n } = zl({
9030
9047
  option: e.option,
9031
9048
  options: t.knownOptions ?? [],
9032
9049
  state: t.aggregateSelectionState ?? []
9033
9050
  });
9034
9051
  return e.filter.checked ? n : !n;
9035
9052
  }
9036
- let n = new Set(t.selectedValues ?? []), r = e.option?.value ?? e.filter.value, i = e.option ? il(e.option) : e.filter.value, a = n.has(r) || i !== null && n.has(i);
9053
+ let n = new Set(t.selectedValues ?? []), r = e.option?.value ?? e.filter.value, i = e.option ? al(e.option) : e.filter.value, a = n.has(r) || i !== null && n.has(i);
9037
9054
  return e.filter.checked ? a : !a;
9038
9055
  }
9039
9056
  return e.filter.type === "range" ? t.rangeValue?.min === e.filter.value.min && t.rangeValue?.max === e.filter.value.max : e.filter.type === "boolean" ? t.booleanValue === e.filter.value : (t.existsValue ?? !1) === e.filter.value;
@@ -9047,14 +9064,14 @@ function Od(e, t, n) {
9047
9064
  a.setFilterSelectedValues(n, r, e.staged);
9048
9065
  let o = e.staged ? a.stagedFilterSelectedMetadataMap : a.filterSelectedMetadataMap, s = o.value[t] ?? [], c = new Set(r), l = s.filter((e) => {
9049
9066
  if (!e) return !1;
9050
- let r = al(e, t), i = il(e) ?? e.value;
9067
+ let r = ol(e, t), i = al(e) ?? e.value;
9051
9068
  return r !== n || c.has(i);
9052
9069
  });
9053
9070
  if (i) {
9054
- let e = il(i) ?? i.value, n = al(i, t);
9071
+ let e = al(i) ?? i.value, n = ol(i, t);
9055
9072
  l.some((r) => {
9056
- let i = il(r) ?? r.value;
9057
- return al(r, t) === n && i === e;
9073
+ let i = al(r) ?? r.value;
9074
+ return ol(r, t) === n && i === e;
9058
9075
  }) || l.push(i);
9059
9076
  }
9060
9077
  o.value[t] = l;
@@ -9064,7 +9081,7 @@ function Od(e, t, n) {
9064
9081
  let i = n.flatMap((e) => e.state === "selected" ? [e.id] : []);
9065
9082
  r.setFilterSelectedValues(t.key, i, e.staged);
9066
9083
  let a = e.staged ? r.stagedFilterSelectedMetadataMap : r.filterSelectedMetadataMap;
9067
- a.value[t.key] = zl({
9084
+ a.value[t.key] = Bl({
9068
9085
  options: t.knownOptions ?? [],
9069
9086
  state: n
9070
9087
  });
@@ -9093,48 +9110,48 @@ function Od(e, t, n) {
9093
9110
  return t === null ? [] : [{
9094
9111
  label: e.valueLabels?.[String(t)] ?? (t ? "Yes" : "No"),
9095
9112
  type: "boolean",
9096
- value: Td
9113
+ value: Dd
9097
9114
  }];
9098
9115
  }, we = (e) => e.existsValue ? [{
9099
9116
  label: e.existsLabel ?? `Has ${e.label}`,
9100
9117
  type: "exists",
9101
- value: Ed
9118
+ value: Od
9102
9119
  }] : [], Te = (e) => {
9103
9120
  let t = e.rangeValue ?? {
9104
9121
  max: null,
9105
9122
  min: null
9106
9123
  };
9107
9124
  return t.min === null && t.max === null ? [] : [{
9108
- label: qc(t.min, t.max, {
9125
+ label: Jc(t.min, t.max, {
9109
9126
  dataType: e.dataType,
9110
9127
  valueDecimals: e.valueDecimals
9111
9128
  }),
9112
9129
  type: "range",
9113
- value: wd
9130
+ value: Ed
9114
9131
  }];
9115
9132
  }, Ee = (e, t, n) => {
9116
9133
  let r = n.get(t) ?? null;
9117
9134
  return {
9118
- field: r ? al(r, e.key) : void 0,
9119
- label: r ? Xc(r, e.colDef) : t,
9120
- resultCount: Zc(r),
9135
+ field: r ? ol(r, e.key) : void 0,
9136
+ label: r ? Zc(r, e.colDef) : t,
9137
+ resultCount: Qc(r),
9121
9138
  subText: r?.subText,
9122
9139
  subduedText: r?.subduedText,
9123
9140
  type: "value",
9124
- value: r ? il(r) ?? r.value : t
9141
+ value: r ? al(r) ?? r.value : t
9125
9142
  };
9126
9143
  }, De = (e) => (e.filterGroupOptions ?? []).flatMap((e) => e.isActive ? [{
9127
9144
  field: e.field,
9128
9145
  label: e.label,
9129
9146
  type: "boolean",
9130
- value: Td
9131
- }] : []), Oe = (e) => zl({
9147
+ value: Dd
9148
+ }] : []), Oe = (e) => Bl({
9132
9149
  options: e.knownOptions ?? [],
9133
9150
  state: e.aggregateSelectionState ?? []
9134
9151
  }).map((t) => ({
9135
9152
  field: e.key,
9136
- label: Xc(t, e.colDef),
9137
- resultCount: Zc(t),
9153
+ label: Zc(t, e.colDef),
9154
+ resultCount: Qc(t),
9138
9155
  subText: t.subText,
9139
9156
  subduedText: t.subduedText,
9140
9157
  type: "value",
@@ -9145,7 +9162,7 @@ function Od(e, t, n) {
9145
9162
  if (e.type === "boolean") return Ce(e);
9146
9163
  if (e.type === "exists") return we(e);
9147
9164
  if (e.isAggregate) return [...Oe(e), ...De(e)];
9148
- let t = new Map(ol(e.knownOptions ?? []).map((e) => [e.value, e]));
9165
+ let t = new Map(sl(e.knownOptions ?? []).map((e) => [e.value, e]));
9149
9166
  return [...(e.selectedValues ?? []).map((n) => Ee(e, n, t)), ...De(e)];
9150
9167
  }, Ae = () => {
9151
9168
  Re(), Se(null, "clear-all");
@@ -9157,9 +9174,9 @@ function Od(e, t, n) {
9157
9174
  Re();
9158
9175
  let e = p.value;
9159
9176
  e && (e.stagedFilterModel.value = e.filterModel.value, e.initStagedFilterSelections()), i.value = t.value, n("cancel");
9160
- }, Ne = (e) => ad(ue(e)?.dataType), Pe = (e, t, n = "value-toggle") => {
9177
+ }, Ne = (e) => sd(ue(e)?.dataType), Pe = (e, t, n = "value-toggle") => {
9161
9178
  let r = ue(e);
9162
- r?.isAggregate && (be(r, t), Se(Sl({
9179
+ r?.isAggregate && (be(r, t), Se(Cl({
9163
9180
  baseModel: v.value,
9164
9181
  colDef: r.colDef,
9165
9182
  options: r.knownOptions ?? [],
@@ -9174,7 +9191,7 @@ function Od(e, t, n) {
9174
9191
  if (t.type === "value") {
9175
9192
  let r = ue(e), i = de(e, n, t.value);
9176
9193
  if (r?.isAggregate && i) {
9177
- Pe(e, Fl({
9194
+ Pe(e, Il({
9178
9195
  checked: t.checked,
9179
9196
  option: i,
9180
9197
  options: r.knownOptions ?? [],
@@ -9190,10 +9207,10 @@ function Od(e, t, n) {
9190
9207
  return;
9191
9208
  }
9192
9209
  if (t.type === "boolean") {
9193
- Se(sd(v.value, n, t.value, _.value, t.field ? "text" : "boolean", r), "boolean-change", n, "boolean");
9210
+ Se(ld(v.value, n, t.value, _.value, t.field ? "text" : "boolean", r), "boolean-change", n, "boolean");
9194
9211
  return;
9195
9212
  }
9196
- Se(cd(v.value, n, t.value, Ne(n), _.value, r), "exists-change", n, "exists");
9213
+ Se(ud(v.value, n, t.value, Ne(n), _.value, r), "exists-change", n, "exists");
9197
9214
  }, Ie = (e, t, n, r) => {
9198
9215
  let i = p.value;
9199
9216
  return !i || e.type !== "value" ? !1 : n !== "open" || r ? !0 : i.filterLoadingMap.value[e.key] ? !1 : i.filterStaleMap.value[e.key] || !(i.filterOptionsMap.value[e.key] ?? []).length ? !0 : (i.filterSearchQueries.value[e.key] ?? "") !== t;
@@ -9213,7 +9230,7 @@ function Od(e, t, n) {
9213
9230
  }, Le = (e, t, r) => {
9214
9231
  n("load-more", e.key, e.colDef, t, r), Z(e, t, r ? "child-load-more" : "load-more", r);
9215
9232
  }, Q = (e, t, n) => {
9216
- Se(ld(v.value, e, t.min, t.max, _.value, n), "range-change", e, "range");
9233
+ Se(dd(v.value, e, t.min, t.max, _.value, n), "range-change", e, "range");
9217
9234
  }, Re = () => {
9218
9235
  for (let { timer: e } of l.values()) window.clearTimeout(e);
9219
9236
  l.clear();
@@ -9248,7 +9265,7 @@ function Od(e, t, n) {
9248
9265
  n("controlled-change", t, l, s.colDef);
9249
9266
  return;
9250
9267
  }
9251
- ye(t, r, l, a ? o : void 0), Se(ud(v.value, r, l, _.value, Y(r) ?? s?.colDef), "value-toggle", r, "value");
9268
+ ye(t, r, l, a ? o : void 0), Se(fd(v.value, r, l, _.value, Y(r) ?? s?.colDef), "value-toggle", r, "value");
9252
9269
  };
9253
9270
  return {
9254
9271
  resolvedFilters: X,
@@ -9272,8 +9289,8 @@ function Od(e, t, n) {
9272
9289
  handleSearchChange: $,
9273
9290
  handleSuggestionClick: (e) => {
9274
9291
  if (e.filter.type === "value" && e.option) {
9275
- let t = ue(e.field), n = al(e.option, e.field), r = il(e.option) ?? e.filter.value;
9276
- t?.isAggregate ? Pe(e.field, Fl({
9292
+ let t = ue(e.field), n = ol(e.option, e.field), r = al(e.option) ?? e.filter.value;
9293
+ t?.isAggregate ? Pe(e.field, Il({
9277
9294
  checked: e.filter.checked,
9278
9295
  option: e.option,
9279
9296
  options: t.knownOptions ?? [],
@@ -9284,21 +9301,21 @@ function Od(e, t, n) {
9284
9301
  },
9285
9302
  removeAppliedFilter: (e, t, n) => {
9286
9303
  let r = n ?? ue(e)?.type ?? "value";
9287
- if (r === "range" || !n && t === wd) {
9288
- Se(ld(v.value, e, null, null, _.value, Y(e) ?? ue(e)?.colDef), "remove-filter", e, "range");
9304
+ if (r === "range" || !n && t === Ed) {
9305
+ Se(dd(v.value, e, null, null, _.value, Y(e) ?? ue(e)?.colDef), "remove-filter", e, "range");
9289
9306
  return;
9290
9307
  }
9291
- if (r === "boolean" || !n && t === Td) {
9292
- Se(sd(v.value, e, null, _.value, "boolean", Y(e) ?? ue(e)?.colDef), "remove-filter", e, "boolean");
9308
+ if (r === "boolean" || !n && t === Dd) {
9309
+ Se(ld(v.value, e, null, _.value, "boolean", Y(e) ?? ue(e)?.colDef), "remove-filter", e, "boolean");
9293
9310
  return;
9294
9311
  }
9295
- if (r === "exists" || !n && t === Ed) {
9296
- Se(cd(v.value, e, !1, "text", _.value, Y(e) ?? ue(e)?.colDef), "remove-filter", e, "exists");
9312
+ if (r === "exists" || !n && t === Od) {
9313
+ Se(ud(v.value, e, !1, "text", _.value, Y(e) ?? ue(e)?.colDef), "remove-filter", e, "exists");
9297
9314
  return;
9298
9315
  }
9299
9316
  let i = ue(e);
9300
9317
  if (r === "value" && i?.isAggregate) {
9301
- let e = gl(i.knownOptions ?? [], t), n = i.aggregateSelectionState ?? [], r = e ? Fl({
9318
+ let e = _l(i.knownOptions ?? [], t), n = i.aggregateSelectionState ?? [], r = e ? Il({
9302
9319
  checked: !1,
9303
9320
  option: e,
9304
9321
  options: i.knownOptions ?? [],
@@ -9308,34 +9325,34 @@ function Od(e, t, n) {
9308
9325
  return;
9309
9326
  }
9310
9327
  let a = (y.value.get(e)?.values ?? []).filter((e) => e !== t);
9311
- ye(ue(e)?.key ?? e, e, a), Se(ud(v.value, e, a, _.value, Y(e) ?? ue(e)?.colDef), "remove-filter", e, "value");
9328
+ ye(ue(e)?.key ?? e, e, a), Se(fd(v.value, e, a, _.value, Y(e) ?? ue(e)?.colDef), "remove-filter", e, "value");
9312
9329
  }
9313
9330
  };
9314
9331
  }
9315
9332
  //#endregion
9316
9333
  //#region src/components/base/PvFilterPanel/PvFilterPanel.vue?vue&type=script&setup=true&lang.ts
9317
- var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border-bottom" }, jd = { class: "pv-filter-panel-body pv-flex-vertical" }, Md = {
9334
+ var jd = ["aria-label"], Md = { class: "pv-filter-panel-header pv-flex pv-border-bottom" }, Nd = { class: "pv-filter-panel-body pv-flex-vertical" }, Pd = {
9318
9335
  class: "pv-filter-panel-filters-view pv-flex-vertical",
9319
9336
  "data-testid": "pv-filter-panel-filters-view"
9320
- }, Nd = {
9337
+ }, Fd = {
9321
9338
  key: 0,
9322
9339
  "aria-label": "Filter suggestions",
9323
9340
  class: "pv-filter-panel-suggestions pv-flex-vertical pv-border-bottom",
9324
9341
  "data-testid": "pv-filter-panel-suggestions"
9325
- }, Pd = { class: "pv-filter-panel-suggestion-tags pv-flex" }, Fd = {
9342
+ }, Id = { class: "pv-filter-panel-suggestion-tags pv-flex" }, Ld = {
9326
9343
  key: 1,
9327
9344
  class: "pv-filter-panel-empty pv-text-body-sm pv-text-subdued"
9328
- }, Id = {
9345
+ }, Rd = {
9329
9346
  key: 2,
9330
9347
  class: "pv-filter-panel-empty pv-text-body-sm pv-text-subdued"
9331
- }, Ld = {
9348
+ }, zd = {
9332
9349
  key: 3,
9333
9350
  class: "pv-filter-panel-filter-list pv-flex-vertical pv-inset-inline",
9334
9351
  style: { "--inset-size": "8px" }
9335
- }, Rd = {
9352
+ }, Bd = {
9336
9353
  key: 0,
9337
9354
  class: "pv-filter-panel-footer pv-flex pv-border-top"
9338
- }, zd = { class: "pv-filter-panel-actions pv-flex" }, Bd = { class: "pv-filter-panel-actions pv-flex" }, Vd = { class: "pv-text-body-sm" }, Hd = { class: "pv-filter-panel-modal-footer pv-flex" }, Ud = /* @__PURE__ */ Q(/* @__PURE__ */ d({
9355
+ }, Vd = { class: "pv-filter-panel-actions pv-flex" }, Hd = { class: "pv-filter-panel-actions pv-flex" }, Ud = { class: "pv-text-body-sm" }, Wd = { class: "pv-filter-panel-modal-footer pv-flex" }, Gd = /* @__PURE__ */ Q(/* @__PURE__ */ d({
9339
9356
  __name: "PvFilterPanel",
9340
9357
  props: /* @__PURE__ */ g({
9341
9358
  applyLabel: { default: "Apply" },
@@ -9413,7 +9430,7 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
9413
9430
  "suggestion-click"
9414
9431
  ], ["update:filterModel", "update:isCollapsed"]),
9415
9432
  setup(e, { emit: n }) {
9416
- let c = e, l = z(e, "filterModel"), d = z(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 } = Od(c, l, f), N = k("filters"), P = k({}), L = k(null), R = k(!1), B = k(!1), V = (e) => e.colDef.context?.filterCollapsedByDefault === !0, ee = r(() => L.value === null ? p.value : p.value.filter((e) => e.category === L.value)), te = r(() => ee.value.filter((e) => !V(e))), H = r(() => ee.value.filter(V)), U = r(() => R.value ? [...te.value, ...H.value] : te.value), G = r(() => `${R.value ? "Hide" : "Show"} ${c.collapsedFilterDisplayLabel}`), ne = r(() => N.value === "filters" && H.value.length > 0), re = r(() => ne.value || !c.readOnly && (g.value || c.staged)), J = r(() => U.value.map((e) => ({
9433
+ let c = e, l = z(e, "filterModel"), d = z(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 } = Ad(c, l, f), N = k("filters"), P = k({}), L = k(null), R = k(!1), B = k(!1), V = (e) => e.colDef.context?.filterCollapsedByDefault === !0, ee = r(() => L.value === null ? p.value : p.value.filter((e) => e.category === L.value)), te = r(() => ee.value.filter((e) => !V(e))), H = r(() => ee.value.filter(V)), U = r(() => R.value ? [...te.value, ...H.value] : te.value), G = r(() => `${R.value ? "Hide" : "Show"} ${c.collapsedFilterDisplayLabel}`), ne = r(() => N.value === "filters" && H.value.length > 0), re = r(() => ne.value || !c.readOnly && (g.value || c.staged)), J = r(() => U.value.map((e) => ({
9417
9434
  ...e,
9418
9435
  isOpen: P.value[e.key] ?? e.isOpen ?? !1
9419
9436
  }))), ie = r(() => [{
@@ -9447,7 +9464,7 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
9447
9464
  "aria-label": e.ariaLabel,
9448
9465
  style: x(Y.value)
9449
9466
  }, [
9450
- s("div", Ad, [u(Sr, {
9467
+ s("div", Md, [u(Sr, {
9451
9468
  modelValue: N.value,
9452
9469
  options: ie.value,
9453
9470
  class: "pv-filter-panel-mode-control",
@@ -9461,8 +9478,8 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
9461
9478
  variant: "secondary",
9462
9479
  onClick: r[0] ||= (e) => d.value = !0
9463
9480
  }))]),
9464
- s("div", jd, [q(s("div", Md, [
9465
- !e.readOnly && I(_).length ? (D(), o("section", Nd, [r[6] ||= s("p", { class: "pv-filter-panel-section-title pv-text-title-sm pv-text-subdued" }, "Suggestions", -1), s("div", Pd, [(D(!0), o(t, null, A(I(_), (e) => (D(), i(Yr, {
9481
+ s("div", Nd, [q(s("div", Pd, [
9482
+ !e.readOnly && I(_).length ? (D(), o("section", Fd, [r[6] ||= s("p", { class: "pv-filter-panel-section-title pv-text-title-sm pv-text-subdued" }, "Suggestions", -1), s("div", Id, [(D(!0), o(t, null, A(I(_), (e) => (D(), i(Yr, {
9466
9483
  key: I(C)(e),
9467
9484
  icon: e.icon,
9468
9485
  "icon-classes": e.iconClasses,
@@ -9475,7 +9492,7 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
9475
9492
  "onHandleClick"
9476
9493
  ]))), 128))])])) : a("", !0),
9477
9494
  j(n.$slots, "suggestions", {}, void 0, !0),
9478
- u(xu, {
9495
+ u(Cu, {
9479
9496
  modelValue: L.value,
9480
9497
  "onUpdate:modelValue": r[1] ||= (e) => L.value = e,
9481
9498
  "category-order": e.categoryOrder,
@@ -9485,7 +9502,7 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
9485
9502
  "category-order",
9486
9503
  "filters"
9487
9504
  ]),
9488
- I(p).length ? ee.value.length ? (D(), o("div", Ld, [(D(!0), o(t, null, A(J.value, (e) => (D(), i(cu, {
9505
+ I(p).length ? ee.value.length ? (D(), o("div", zd, [(D(!0), o(t, null, A(J.value, (e) => (D(), i(uu, {
9489
9506
  key: e.key,
9490
9507
  filter: e,
9491
9508
  onFilterChange: (t) => I(w)(e.key, t),
@@ -9500,8 +9517,8 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
9500
9517
  "onLoadMore",
9501
9518
  "onOpenChange",
9502
9519
  "onSearchChange"
9503
- ]))), 128))])) : (D(), o("div", Id, " No filters in this category. ")) : (D(), o("div", Fd, " No filters available. "))
9504
- ], 512), [[W, N.value === "filters"]]), q(u(mu, {
9520
+ ]))), 128))])) : (D(), o("div", Rd, " No filters in this category. ")) : (D(), o("div", Ld, " No filters available. "))
9521
+ ], 512), [[W, N.value === "filters"]]), q(u(gu, {
9505
9522
  "applied-count": I(h),
9506
9523
  "applied-groups": I(m),
9507
9524
  "read-only": e.readOnly,
@@ -9512,13 +9529,13 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
9512
9529
  "read-only",
9513
9530
  "onRemoveFilter"
9514
9531
  ]), [[W, N.value === "applied"]])]),
9515
- re.value ? (D(), o("div", Rd, [s("div", zd, [ne.value ? (D(), i($, {
9532
+ re.value ? (D(), o("div", Bd, [s("div", Vd, [ne.value ? (D(), i($, {
9516
9533
  key: 0,
9517
9534
  class: "pv-text-brand",
9518
9535
  label: G.value,
9519
9536
  variant: "ghost",
9520
9537
  onClick: r[4] ||= (e) => R.value = !R.value
9521
- }, null, 8, ["label"])) : a("", !0)]), s("div", Bd, [I(g) && !e.readOnly ? (D(), i($, {
9538
+ }, null, 8, ["label"])) : a("", !0)]), s("div", Hd, [I(g) && !e.readOnly ? (D(), i($, {
9522
9539
  key: 0,
9523
9540
  class: "pv-text-brand",
9524
9541
  label: e.clearAllLabel,
@@ -9533,14 +9550,14 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
9533
9550
  variant: "primary",
9534
9551
  onClick: I(y)
9535
9552
  }, null, 8, ["label", "onClick"])], 64)) : a("", !0)])])) : a("", !0)
9536
- ], 12, kd)), u(Fr, {
9553
+ ], 12, jd)), u(Fr, {
9537
9554
  modelValue: B.value,
9538
9555
  "onUpdate:modelValue": r[5] ||= (e) => B.value = e,
9539
9556
  header: e.clearAllHeader,
9540
9557
  style: { "--max-width": "440px" }
9541
9558
  }, {
9542
- body: K(() => [s("p", Vd, F(e.clearAllBody), 1)]),
9543
- footer: K(() => [s("div", Hd, [u($, {
9559
+ body: K(() => [s("p", Ud, F(e.clearAllBody), 1)]),
9560
+ footer: K(() => [s("div", Wd, [u($, {
9544
9561
  label: e.cancelLabel,
9545
9562
  variant: "ghost",
9546
9563
  onClick: se
@@ -9552,16 +9569,16 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
9552
9569
  _: 1
9553
9570
  }, 8, ["modelValue", "header"])], 64));
9554
9571
  }
9555
- }), [["__scopeId", "data-v-bc38ed4b"]]), Wd = ["for"], Gd = [
9572
+ }), [["__scopeId", "data-v-bc38ed4b"]]), Kd = ["for"], qd = [
9556
9573
  "id",
9557
9574
  "type",
9558
9575
  "value",
9559
9576
  "name",
9560
9577
  "disabled"
9561
- ], Kd = { key: 0 }, qd = {
9578
+ ], Jd = { key: 0 }, Yd = {
9562
9579
  class: "pv-inset-square",
9563
9580
  style: { "--inset-size": "0px 2px" }
9564
- }, Jd = /* @__PURE__ */ d({
9581
+ }, Xd = /* @__PURE__ */ d({
9565
9582
  __name: "PvFilterModalSelectItem",
9566
9583
  props: /* @__PURE__ */ g({
9567
9584
  rounded: { type: Boolean },
@@ -9594,55 +9611,55 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
9594
9611
  value: e.value,
9595
9612
  name: e.name,
9596
9613
  disabled: e.disabled
9597
- }, null, 8, Gd), [[te, n.value]]),
9598
- e.label ? (D(), o("span", Kd, F(e.label), 1)) : a("", !0),
9599
- s("span", qd, F(e.rightCounterBadge), 1)
9600
- ], 8, Wd));
9614
+ }, null, 8, qd), [[te, n.value]]),
9615
+ e.label ? (D(), o("span", Jd, F(e.label), 1)) : a("", !0),
9616
+ s("span", Yd, F(e.rightCounterBadge), 1)
9617
+ ], 8, Kd));
9601
9618
  }
9602
- }), Yd = ["aria-label"], Xd = {
9619
+ }), Zd = ["aria-label"], Qd = {
9603
9620
  class: "pv-filter-modal pv-flex",
9604
9621
  style: {
9605
9622
  "--flex-align": "stretch",
9606
9623
  "--flex-gap": "0"
9607
9624
  }
9608
- }, Zd = {
9625
+ }, $d = {
9609
9626
  class: "pv-filter-modal-rail pv-flex-vertical pv-border-right",
9610
9627
  "aria-label": "Filter categories",
9611
9628
  style: { "--flex-gap": "0.25rem" }
9612
- }, Qd = {
9629
+ }, ef = {
9613
9630
  class: "pv-filter-modal-pane pv-flex-vertical",
9614
9631
  style: {
9615
9632
  "--flex-align": "stretch",
9616
9633
  "--flex-gap": "0.75rem"
9617
9634
  }
9618
- }, $d = {
9635
+ }, tf = {
9619
9636
  key: 0,
9620
9637
  class: "pv-flex",
9621
9638
  style: {
9622
9639
  "--flex-gap": "0.5rem",
9623
9640
  "flex-wrap": "wrap"
9624
9641
  }
9625
- }, ef = {
9642
+ }, nf = {
9626
9643
  key: 1,
9627
9644
  class: "pv-inset-square-8"
9628
- }, tf = {
9645
+ }, rf = {
9629
9646
  class: "pv-filter-modal-options pv-flex-vertical",
9630
9647
  style: {
9631
9648
  "--flex-align": "stretch",
9632
9649
  "--flex-gap": "0.75rem"
9633
9650
  }
9634
- }, nf = {
9651
+ }, af = {
9635
9652
  key: 1,
9636
9653
  class: "pv-text-body-sm pv-text-subdued pv-stack-8",
9637
9654
  style: { "font-weight": "500" }
9638
- }, rf = {
9655
+ }, of = {
9639
9656
  key: 0,
9640
9657
  class: "pv-text-body-xs pv-text-subdued",
9641
9658
  style: { margin: "0" }
9642
- }, af = {
9659
+ }, sf = {
9643
9660
  key: 3,
9644
9661
  class: "pv-filter-modal-pane-actions pv-space-between pv-border-top"
9645
- }, of = {
9662
+ }, cf = {
9646
9663
  key: 0,
9647
9664
  class: "pv-flex pv-border-top",
9648
9665
  style: {
@@ -9651,7 +9668,7 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
9651
9668
  "margin-top": "0.75rem",
9652
9669
  "padding-top": "0.75rem"
9653
9670
  }
9654
- }, sf = /* @__PURE__ */ Q(/* @__PURE__ */ d({
9671
+ }, lf = /* @__PURE__ */ Q(/* @__PURE__ */ d({
9655
9672
  __name: "PvFilterModal",
9656
9673
  props: /* @__PURE__ */ g({
9657
9674
  header: { default: "Filters" },
@@ -9730,7 +9747,7 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
9730
9747
  "suggestion-click"
9731
9748
  ], ["update:filterModel", "update:visible"]),
9732
9749
  setup(e, { emit: n }) {
9733
- let c = e, l = z(e, "filterModel"), d = z(e, "visible"), f = n, { resolvedFilters: p, activateFilter: m, applyStagedFilters: h, cancelStagedFilters: g, handleControlChange: _ } = Od(c, l, f), v = k(null), b = R(), S = k(""), C = r(() => p.value.filter((e) => e.type === "value")), w = r(() => {
9750
+ let c = e, l = z(e, "filterModel"), d = z(e, "visible"), f = n, { resolvedFilters: p, activateFilter: m, applyStagedFilters: h, cancelStagedFilters: g, handleControlChange: _ } = Ad(c, l, f), v = k(null), b = R(), S = k(""), C = r(() => p.value.filter((e) => e.type === "value")), w = r(() => {
9734
9751
  let e = C.value;
9735
9752
  return e.find((e) => e.key === v.value) ?? e[0] ?? null;
9736
9753
  }), T = r(() => w.value?.isAggregate === !0), E = r(() => w.value?.aggregateSelectionState ?? []), O = r(() => new Set(w.value?.selectedValues ?? [])), M = r(() => S.value.trim().toLowerCase()), P = (e) => {
@@ -9747,7 +9764,7 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
9747
9764
  let e = w.value;
9748
9765
  if (!e) return {};
9749
9766
  let t = {};
9750
- for (let n of ol([...e.knownOptions ?? [], ...e.options ?? []])) t[n.value] = n;
9767
+ for (let n of sl([...e.knownOptions ?? [], ...e.options ?? []])) t[n.value] = n;
9751
9768
  return t;
9752
9769
  }), B = r(() => w.value?.colDef.context?.filterPanel ?? {}), V = k(Object.fromEntries(C.value.flatMap((e) => {
9753
9770
  let t = e.colDef.context?.filterPanel, n = Object.fromEntries(Object.entries(t ?? {}).flatMap(([e, t]) => t.initial?.length ? [[e, t.initial]] : []));
@@ -9799,22 +9816,22 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
9799
9816
  options: e.get(t)
9800
9817
  };
9801
9818
  });
9802
- }), Y = r(() => T.value && w.value ? Ll({
9819
+ }), Y = r(() => T.value && w.value ? Rl({
9803
9820
  options: w.value.knownOptions ?? [],
9804
9821
  state: E.value
9805
- }) : /* @__PURE__ */ new Map()), ae = (e) => e.isAggregate ? Bl(e.aggregateSelectionState ?? []) || void 0 : e.selectedValues?.length || void 0, oe = (e) => T.value ? Y.value.get(e.value) ?? {
9822
+ }) : /* @__PURE__ */ new Map()), ae = (e) => e.isAggregate ? Vl(e.aggregateSelectionState ?? []) || void 0 : e.selectedValues?.length || void 0, oe = (e) => T.value ? Y.value.get(e.value) ?? {
9806
9823
  indeterminate: !1,
9807
9824
  selected: !1
9808
9825
  } : {
9809
9826
  indeterminate: !1,
9810
9827
  selected: O.value.has(e.value)
9811
- }, se = (e) => w.value ? Xc(e, w.value.colDef) : e.label || e.value, ce = (e) => il(e) ?? e.value, ue = (e) => al(e, w.value?.key ?? ""), de = (e, t) => {
9828
+ }, se = (e) => w.value ? Zc(e, w.value.colDef) : e.label || e.value, ce = (e) => al(e) ?? e.value, ue = (e) => ol(e, w.value?.key ?? ""), de = (e, t) => {
9812
9829
  let n = w.value;
9813
9830
  if (n) {
9814
9831
  if (n.isAggregate) {
9815
9832
  _(n.key, {
9816
9833
  type: "aggregate-selection",
9817
- value: Fl({
9834
+ value: Il({
9818
9835
  checked: t,
9819
9836
  option: e,
9820
9837
  options: n.knownOptions ?? [],
@@ -9834,7 +9851,7 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
9834
9851
  for (let e of q.value) oe(e).selected || de(e, !0);
9835
9852
  }, fe = () => {
9836
9853
  if (T.value) {
9837
- for (let e of ol(w.value?.knownOptions ?? [])) oe(e).selected && de(e, !1);
9854
+ for (let e of sl(w.value?.knownOptions ?? [])) oe(e).selected && de(e, !1);
9838
9855
  return;
9839
9856
  }
9840
9857
  for (let e of re.value) de(e, !1);
@@ -9874,7 +9891,7 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
9874
9891
  width: e.maxWidth,
9875
9892
  maxWidth: e.maxWidth
9876
9893
  })
9877
- }, [s("div", Xd, [s("nav", Zd, [(D(!0), o(t, null, A(C.value, (e) => (D(), i(Jd, {
9894
+ }, [s("div", Qd, [s("nav", $d, [(D(!0), o(t, null, A(C.value, (e) => (D(), i(Xd, {
9878
9895
  key: e.key,
9879
9896
  modelValue: me.value,
9880
9897
  "onUpdate:modelValue": r[0] ||= (e) => me.value = e,
@@ -9888,7 +9905,7 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
9888
9905
  "label",
9889
9906
  "right-counter-badge",
9890
9907
  "value"
9891
- ]))), 128))]), s("div", Qd, [
9908
+ ]))), 128))]), s("div", ef, [
9892
9909
  u(ni, {
9893
9910
  modelValue: S.value,
9894
9911
  "onUpdate:modelValue": r[1] ||= (e) => S.value = e,
@@ -9900,7 +9917,7 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
9900
9917
  "disabled",
9901
9918
  "placeholder"
9902
9919
  ]),
9903
- Object.keys(B.value).length ? (D(), o("div", $d, [(D(!0), o(t, null, A(B.value, (e, t) => (D(), i(So, {
9920
+ Object.keys(B.value).length ? (D(), o("div", tf, [(D(!0), o(t, null, A(B.value, (e, t) => (D(), i(Co, {
9904
9921
  key: `facet-${t}`,
9905
9922
  disabled: w.value?.disabled,
9906
9923
  label: e.headerName || I(ye)(t),
@@ -9915,8 +9932,8 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
9915
9932
  "options",
9916
9933
  "onUpdate:modelValue"
9917
9934
  ]))), 128))])) : a("", !0),
9918
- w.value?.isLoading ? (D(), o("div", ef, [u(ke, { size: "sm" })])) : w.value ? (D(), o(t, { key: 2 }, [
9919
- s("div", tf, [(D(!0), o(t, null, A(ie.value, (e) => (D(), o("div", {
9935
+ w.value?.isLoading ? (D(), o("div", nf, [u(ke, { size: "sm" })])) : w.value ? (D(), o(t, { key: 2 }, [
9936
+ s("div", rf, [(D(!0), o(t, null, A(ie.value, (e) => (D(), o("div", {
9920
9937
  key: `section-${e.key}`,
9921
9938
  class: "pv-flex-vertical",
9922
9939
  style: {
@@ -9937,17 +9954,17 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
9937
9954
  "field",
9938
9955
  "options",
9939
9956
  "section"
9940
- ])) : e.label ? (D(), o("p", nf, F(e.label), 1)) : a("", !0), (D(!0), o(t, null, A(e.options, (e) => (D(), o("div", {
9957
+ ])) : e.label ? (D(), o("p", af, F(e.label), 1)) : a("", !0), (D(!0), o(t, null, A(e.options, (e) => (D(), o("div", {
9941
9958
  key: `option-${e.value}`,
9942
9959
  class: y(["pv-inset-square-8 pv-radius", { "pv-surface-highlight": oe(e).selected }])
9943
- }, [u(Bc, {
9960
+ }, [u(Vc, {
9944
9961
  control: w.value.singleSelect ? "radio" : "checkbox",
9945
9962
  disabled: w.value.disabled || e.isSelectable === !1,
9946
9963
  indeterminate: oe(e).indeterminate,
9947
9964
  label: se(e),
9948
9965
  name: I(b),
9949
9966
  "query-text": S.value,
9950
- "result-count": I(Zc)(e),
9967
+ "result-count": I(Qc)(e),
9951
9968
  selected: oe(e).selected,
9952
9969
  "sub-text": e.subText,
9953
9970
  "subdued-text": e.subduedText,
@@ -9967,7 +9984,7 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
9967
9984
  "value",
9968
9985
  "onToggleValue"
9969
9986
  ])], 2))), 128))]))), 128))]),
9970
- q.value.length ? a("", !0) : (D(), o("p", rf, " No matching values. ")),
9987
+ q.value.length ? a("", !0) : (D(), o("p", of, " No matching values. ")),
9971
9988
  w.value.hasMore ? (D(), i($, {
9972
9989
  key: 1,
9973
9990
  class: "pv-text-brand",
@@ -9978,7 +9995,7 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
9978
9995
  onClick: pe
9979
9996
  }, null, 8, ["disabled"])) : a("", !0)
9980
9997
  ], 64)) : a("", !0),
9981
- w.value && !e.readOnly ? (D(), o("div", af, [w.value.singleSelect ? a("", !0) : (D(), i($, {
9998
+ w.value && !e.readOnly ? (D(), o("div", sf, [w.value.singleSelect ? a("", !0) : (D(), i($, {
9982
9999
  key: 0,
9983
10000
  disabled: w.value.disabled,
9984
10001
  label: e.selectAllLabel,
@@ -9990,7 +10007,7 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
9990
10007
  variant: "ghost",
9991
10008
  onClick: fe
9992
10009
  }, null, 8, ["disabled", "label"])])) : a("", !0)
9993
- ])]), e.staged ? (D(), o("div", of, [u($, {
10010
+ ])]), e.staged ? (D(), o("div", cf, [u($, {
9994
10011
  label: e.cancelLabel,
9995
10012
  variant: "ghost",
9996
10013
  onClick: I(g)
@@ -9998,14 +10015,14 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
9998
10015
  label: e.applyLabel,
9999
10016
  variant: "primary",
10000
10017
  onClick: I(h)
10001
- }, null, 8, ["label", "onClick"])])) : a("", !0)], 12, Yd)]),
10018
+ }, null, 8, ["label", "onClick"])])) : a("", !0)], 12, Zd)]),
10002
10019
  _: 3
10003
10020
  }, 8, ["modelValue"]));
10004
10021
  }
10005
- }), [["__scopeId", "data-v-2ad285b3"]]), cf = ["tabindex"], lf = {
10022
+ }), [["__scopeId", "data-v-2ad285b3"]]), uf = ["tabindex"], df = {
10006
10023
  key: 0,
10007
10024
  class: "pv-hover-action-menu__actions"
10008
- }, uf = { class: "pv-hover-action-menu__action-group" }, df = /* @__PURE__ */ Q(/* @__PURE__ */ d({
10025
+ }, ff = { class: "pv-hover-action-menu__action-group" }, pf = /* @__PURE__ */ Q(/* @__PURE__ */ d({
10009
10026
  __name: "PvHoverActionMenu",
10010
10027
  props: {
10011
10028
  disabled: {
@@ -10028,12 +10045,12 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
10028
10045
  class: y(["pv-hover-action-menu", d.value]),
10029
10046
  tabindex: e.options.length ? 0 : void 0,
10030
10047
  "data-testid": "pv-hover-action-menu"
10031
- }, [j(n.$slots, "default", {}, void 0, !0), e.options.length ? (D(), o("div", lf, [u(Ls, {
10048
+ }, [j(n.$slots, "default", {}, void 0, !0), e.options.length ? (D(), o("div", df, [u(Rs, {
10032
10049
  variant: e.variant,
10033
10050
  "data-testid": "pv-hover-action-menu-actions",
10034
10051
  onClick: r[0] ||= J(() => {}, ["stop"])
10035
10052
  }, {
10036
- default: K(() => [s("div", uf, [(D(!0), o(t, null, A(e.options, (t) => (D(), i(Zn, {
10053
+ default: K(() => [s("div", ff, [(D(!0), o(t, null, A(e.options, (t) => (D(), i(Zn, {
10037
10054
  key: t.id,
10038
10055
  variant: "dark",
10039
10056
  position: "top-center",
@@ -10061,9 +10078,9 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
10061
10078
  _: 2
10062
10079
  }, 1032, ["description"]))), 128))])]),
10063
10080
  _: 1
10064
- }, 8, ["variant"])])) : a("", !0)], 10, cf));
10081
+ }, 8, ["variant"])])) : a("", !0)], 10, uf));
10065
10082
  }
10066
- }), [["__scopeId", "data-v-6325cd25"]]), ff = () => {
10083
+ }), [["__scopeId", "data-v-6325cd25"]]), mf = () => {
10067
10084
  let e = (e, n) => {
10068
10085
  let i = e || { queryTerms: [] }, a = n.queryTerm || {};
10069
10086
  return t(n) && !r(e, n) && i.queryTerms.push(a), i;
@@ -10076,13 +10093,13 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
10076
10093
  queryTerms: e.queryTerms.filter((e) => !n(e, t.queryTerm || {}))
10077
10094
  } : null
10078
10095
  };
10079
- }, pf = { class: "pv-flex" }, mf = { class: "pv-text-body-md" }, hf = ["textContent"], gf = {
10096
+ }, hf = { class: "pv-flex" }, gf = { class: "pv-text-body-md" }, _f = ["textContent"], vf = {
10080
10097
  key: 0,
10081
10098
  class: "pv-text-body-xs"
10082
- }, _f = { key: 0 }, vf = {
10099
+ }, yf = { key: 0 }, bf = {
10083
10100
  class: "pv-text-subdued pv-text-body-xs",
10084
10101
  style: { "font-weight": "500" }
10085
- }, yf = /* @__PURE__ */ Q(/* @__PURE__ */ d({
10102
+ }, xf = /* @__PURE__ */ Q(/* @__PURE__ */ d({
10086
10103
  __name: "QueryBuilderMenuOptionRenderer",
10087
10104
  props: {
10088
10105
  id: {},
@@ -10132,13 +10149,13 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
10132
10149
  bold: !1
10133
10150
  }), n;
10134
10151
  });
10135
- return (e, n) => (D(), o("div", null, [s("div", pf, [u(Z, { name: p.value }, null, 8, ["name"]), s("div", null, [s("p", mf, [(D(!0), o(t, null, A(m.value, (e, t) => (D(), o("span", {
10152
+ return (e, n) => (D(), o("div", null, [s("div", hf, [u(Z, { name: p.value }, null, 8, ["name"]), s("div", null, [s("p", gf, [(D(!0), o(t, null, A(m.value, (e, t) => (D(), o("span", {
10136
10153
  key: t,
10137
10154
  style: x({ fontWeight: e.bold ? "bold" : void 0 }),
10138
10155
  textContent: F(e.text)
10139
- }, null, 12, hf))), 128))]), f.value ? (D(), o("p", gf, [c.value ? a("", !0) : (D(), o("span", _f, "Search in ")), s("span", vf, F(f.value), 1)])) : a("", !0)])])]));
10156
+ }, null, 12, _f))), 128))]), f.value ? (D(), o("p", vf, [c.value ? a("", !0) : (D(), o("span", yf, "Search in ")), s("span", bf, F(f.value), 1)])) : a("", !0)])])]));
10140
10157
  }
10141
- }), [["__scopeId", "data-v-ff951d17"]]), bf = /* @__PURE__ */ d({
10158
+ }), [["__scopeId", "data-v-ff951d17"]]), Sf = /* @__PURE__ */ d({
10142
10159
  __name: "QueryFormatter",
10143
10160
  props: /* @__PURE__ */ g({ queryTermDisplayLimit: { default: 3 } }, {
10144
10161
  modelValue: { required: !0 },
@@ -10152,7 +10169,7 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
10152
10169
  }),
10153
10170
  emits: ["update:modelValue", "update:wrap-content"],
10154
10171
  setup(e) {
10155
- let n = e, s = z(e, "modelValue"), c = z(e, "wrap-content"), { removeQueryOption: l } = ff(), u = r(() => {
10172
+ let n = e, s = z(e, "modelValue"), c = z(e, "wrap-content"), { removeQueryOption: l } = mf(), u = r(() => {
10156
10173
  let e = s.value?.queryTerms || [];
10157
10174
  return c.value ? e : e.slice(0, n.queryTermDisplayLimit);
10158
10175
  }), d = r(() => (s.value?.queryTerms.length || 0) - u.value.length), f = (e) => e.queryField && !e.exactMatch ? `${e.queryDisplayField || e.queryField}: '${e.queryText}'` : e.queryText || "", p = (e) => e.exactMatch ? "primary" : "tertiary", m = (e) => {
@@ -10184,17 +10201,17 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
10184
10201
  onHandleClick: n[0] ||= (e) => c.value = !0
10185
10202
  }, null, 8, ["label"])) : a("", !0)], 64));
10186
10203
  }
10187
- }), xf = [
10204
+ }), Cf = [
10188
10205
  "disabled",
10189
10206
  "placeholder",
10190
10207
  "data-invalid"
10191
- ], Sf = {
10208
+ ], wf = {
10192
10209
  key: 2,
10193
10210
  class: "pv-text-red pv-text-body-xs"
10194
- }, Cf = {
10211
+ }, Tf = {
10195
10212
  key: 1,
10196
10213
  class: "pv-text-center"
10197
- }, wf = /* @__PURE__ */ Q(/* @__PURE__ */ d({
10214
+ }, Ef = /* @__PURE__ */ Q(/* @__PURE__ */ d({
10198
10215
  __name: "PvQueryBuilderInput",
10199
10216
  props: /* @__PURE__ */ g({
10200
10217
  placeholder: { default: "Search" },
@@ -10242,7 +10259,7 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
10242
10259
  "update:options"
10243
10260
  ],
10244
10261
  setup(e) {
10245
- let n = e, c = { renderer: yf }, l = V("search-input"), d = z(e, "searchText"), f = z(e, "query"), p = z(e, "options"), { addQueryOption: m, containsQueryOption: h, removeQueryOption: g } = ff(), v = k(!1), b = k(!1), S = k(!1), C = r(() => f.value === null ? n.placeholder : ""), w = k(null), T = r(() => w.value !== null && w.value !== "" && !b.value), E = () => {
10262
+ let n = e, c = { renderer: xf }, l = V("search-input"), d = z(e, "searchText"), f = z(e, "query"), p = z(e, "options"), { addQueryOption: m, containsQueryOption: h, removeQueryOption: g } = mf(), v = k(!1), b = k(!1), S = k(!1), C = r(() => f.value === null ? n.placeholder : ""), w = k(null), T = r(() => w.value !== null && w.value !== "" && !b.value), E = () => {
10246
10263
  f.value = null, d.value = "", w.value = null, S.value = !1;
10247
10264
  };
10248
10265
  n.enableCustomOptionsInput && Y("Enter", () => {
@@ -10326,7 +10343,7 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
10326
10343
  "--inset-size": "4px",
10327
10344
  "--flex-gap": "4px"
10328
10345
  }, e.enableWrapQueryTerms || S.value ? "flex-wrap: wrap;" : "flex-wrap: nowrap; justify-content: flex-end;"])
10329
- }, [u(bf, {
10346
+ }, [u(Sf, {
10330
10347
  modelValue: f.value,
10331
10348
  "onUpdate:modelValue": r[0] ||= (e) => f.value = e,
10332
10349
  "wrap-content": S.value,
@@ -10347,7 +10364,7 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
10347
10364
  style: x(d.value ? "min-width: 8rem;" : void 0),
10348
10365
  onFocus: L,
10349
10366
  onBlur: L
10350
- }, null, 44, xf), [[U, d.value]])], 4),
10367
+ }, null, 44, Cf), [[U, d.value]])], 4),
10351
10368
  f.value && !e.hideClearButton ? (D(), i($, {
10352
10369
  key: 1,
10353
10370
  variant: "ghost",
@@ -10355,7 +10372,7 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
10355
10372
  size: "md",
10356
10373
  onClick: E
10357
10374
  })) : a("", !0),
10358
- T.value ? (D(), o("p", Sf, F(w.value), 1)) : a("", !0),
10375
+ T.value ? (D(), o("p", wf, F(w.value), 1)) : a("", !0),
10359
10376
  j.value.length > 0 || e.optionsLoading ? (D(), i(gr, {
10360
10377
  key: 3,
10361
10378
  class: y({ "pv-hide": !v.value }),
@@ -10365,7 +10382,7 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
10365
10382
  },
10366
10383
  isList: !0
10367
10384
  }, {
10368
- default: K(() => [e.optionsLoading ? (D(), o("div", Cf, [u(ke, { variant: "dark" })])) : (D(!0), o(t, { key: 0 }, A(j.value, (e, t) => (D(), i(oo, _({
10385
+ default: K(() => [e.optionsLoading ? (D(), o("div", Tf, [u(ke, { variant: "dark" })])) : (D(!0), o(t, { key: 0 }, A(j.value, (e, t) => (D(), i(oo, _({
10369
10386
  key: `${t}-${e.searchText}`,
10370
10387
  ref_for: !0
10371
10388
  }, e, {
@@ -10376,7 +10393,7 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
10376
10393
  }, 8, ["class"])) : a("", !0)
10377
10394
  ], 32)), [[I(de), M]]);
10378
10395
  }
10379
- }), [["__scopeId", "data-v-37925d70"]]), Tf = { class: "sidebar-header-content" }, Ef = { class: "content-panel" }, Df = 300, Of = /* @__PURE__ */ d({
10396
+ }), [["__scopeId", "data-v-37925d70"]]), Df = { class: "sidebar-header-content" }, Of = { class: "content-panel" }, kf = 300, Af = /* @__PURE__ */ d({
10380
10397
  __name: "PvSidebar",
10381
10398
  props: /* @__PURE__ */ g({
10382
10399
  disableToggle: { type: Boolean },
@@ -10403,7 +10420,7 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
10403
10420
  }, h = () => {
10404
10421
  n.newVersion || r.value && (u && clearTimeout(u), u = setTimeout(() => {
10405
10422
  l.value = !0;
10406
- }, Df));
10423
+ }, kf));
10407
10424
  }, g = () => {
10408
10425
  n.newVersion || (u &&= (clearTimeout(u), null), m(), l.value = !1);
10409
10426
  }, _ = () => {
@@ -10422,111 +10439,111 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
10422
10439
  onMouseenter: h,
10423
10440
  onMouseleave: g,
10424
10441
  onFocusin: h
10425
- }, [s("div", { class: y(["sidebar-header", [{ "pv-border-bottom": r.value }]]) }, [s("div", Tf, [j(t.$slots, "sidebar-header")]), e.disableToggle ? a("", !0) : (D(), i($, {
10442
+ }, [s("div", { class: y(["sidebar-header", [{ "pv-border-bottom": r.value }]]) }, [s("div", Df, [j(t.$slots, "sidebar-header")]), e.disableToggle ? a("", !0) : (D(), i($, {
10426
10443
  key: 0,
10427
10444
  class: "sidebar-toggle",
10428
10445
  "left-icon": r.value ? "panel-left-open" : "panel-left-close",
10429
10446
  "aria-label": r.value ? "Open sidebar" : "Close sidebar",
10430
10447
  variant: "ghost",
10431
10448
  onClick: _
10432
- }, null, 8, ["left-icon", "aria-label"]))], 2), j(t.$slots, "sidebar")], 32), s("div", Ef, [j(t.$slots, "default")])], 2));
10449
+ }, null, 8, ["left-icon", "aria-label"]))], 2), j(t.$slots, "sidebar")], 32), s("div", Of, [j(t.$slots, "default")])], 2));
10433
10450
  }
10434
- }), kf = { class: "sidebar-panel" }, Af = {
10451
+ }), jf = { class: "sidebar-panel" }, Mf = {
10435
10452
  key: 0,
10436
10453
  class: "sidebar-additional-header"
10437
- }, jf = { class: "sidebar-header-content pv-full-width" }, Mf = {
10454
+ }, Nf = { class: "sidebar-header-content pv-full-width" }, Pf = {
10438
10455
  key: 0,
10439
10456
  class: "pv-sidebar-nav-header"
10440
- }, Nf = ["aria-label", "aria-expanded"], Pf = {
10457
+ }, Ff = ["aria-label", "aria-expanded"], If = {
10441
10458
  class: "pv-flex",
10442
10459
  style: { "min-width": "0" }
10443
- }, Ff = {
10460
+ }, Lf = {
10444
10461
  class: "pv-avatar-xs",
10445
10462
  style: {
10446
10463
  "border-radius": "4px",
10447
10464
  "flex-shrink": "0"
10448
10465
  }
10449
- }, If = ["src"], Lf = { key: 1 }, Rf = ["title"], zf = {
10466
+ }, Rf = ["src"], zf = { key: 1 }, Bf = ["title"], Vf = {
10450
10467
  class: "pv-popover",
10451
10468
  style: {
10452
10469
  width: "fit-content",
10453
10470
  "max-width": "280px",
10454
10471
  "margin-top": "4px"
10455
10472
  }
10456
- }, Bf = {
10473
+ }, Hf = {
10457
10474
  role: "list",
10458
10475
  class: "pv-popover-list pv-flow",
10459
10476
  style: { "--flow-size": "0.25rem" }
10460
- }, Vf = ["data-active"], Hf = ["href"], Uf = {
10477
+ }, Uf = ["data-active"], Wf = ["href"], Gf = {
10461
10478
  class: "pv-avatar-xs",
10462
10479
  style: { "border-radius": "4px" }
10463
- }, Wf = ["src"], Gf = { key: 1 }, Kf = ["title"], qf = ["data-active"], Jf = ["href"], Yf = ["title"], Xf = { class: "pv-sidebar-nav" }, Zf = { key: 0 }, Qf = {
10480
+ }, Kf = ["src"], qf = { key: 1 }, Jf = ["title"], Yf = ["data-active"], Xf = ["href"], Zf = ["title"], Qf = { class: "pv-sidebar-nav" }, $f = { key: 0 }, ep = {
10464
10481
  key: 1,
10465
10482
  role: "list",
10466
10483
  class: "pv-full-width pv-flow",
10467
10484
  style: { "--flow-size": "0.25rem" }
10468
- }, $f = [
10485
+ }, tp = [
10469
10486
  "href",
10470
10487
  "aria-current",
10471
10488
  "title"
10472
- ], ep = {
10489
+ ], np = {
10473
10490
  class: "pv-flex pv-space-between pv-full-width",
10474
10491
  "data-sidebar-expanded-content": "",
10475
10492
  style: { "flex-wrap": "wrap" }
10476
- }, tp = {
10493
+ }, rp = {
10477
10494
  key: 0,
10478
10495
  class: "pv-tag-purple pv-tag-sm"
10479
- }, np = {
10496
+ }, ip = {
10480
10497
  class: "pv-popover",
10481
10498
  style: { "--position": "static" }
10482
- }, rp = {
10499
+ }, ap = {
10483
10500
  role: "list",
10484
10501
  class: "pv-popover-list"
10485
- }, ip = ["data-active"], ap = ["href"], op = {
10502
+ }, op = ["data-active"], sp = ["href"], cp = {
10486
10503
  key: 0,
10487
10504
  class: "pv-tag-purple pv-tag-sm"
10488
- }, sp = ["onClick", "onAuxclick"], cp = { "data-sidebar-expanded-content": "" }, lp = { class: "pv-sidebar-nav-nested" }, up = [
10505
+ }, lp = ["onClick", "onAuxclick"], up = { "data-sidebar-expanded-content": "" }, dp = { class: "pv-sidebar-nav-nested" }, fp = [
10489
10506
  "href",
10490
10507
  "aria-current",
10491
10508
  "title"
10492
- ], dp = {
10509
+ ], pp = {
10493
10510
  class: "pv-flex pv-space-between pv-full-width",
10494
10511
  style: { "flex-wrap": "wrap" }
10495
- }, fp = {
10512
+ }, mp = {
10496
10513
  key: 0,
10497
10514
  class: "pv-tag-purple pv-tag-sm"
10498
- }, pp = {
10515
+ }, hp = {
10499
10516
  class: "pv-popover",
10500
10517
  style: {
10501
10518
  "--position": "static",
10502
10519
  "--height": "350px"
10503
10520
  }
10504
- }, mp = {
10521
+ }, gp = {
10505
10522
  role: "list",
10506
10523
  class: "pv-popover-list"
10507
- }, hp = ["data-active"], gp = ["href"], _p = {
10524
+ }, _p = ["data-active"], vp = ["href"], yp = {
10508
10525
  key: 0,
10509
10526
  class: "pv-tag-purple pv-tag-sm"
10510
- }, vp = {
10527
+ }, bp = {
10511
10528
  class: "pv-sidebar-nav-footer pv-sticky",
10512
10529
  style: { "--bottom": "0" }
10513
- }, yp = ["aria-expanded"], bp = { class: "pv-popover pv-text-default pv-text-body-md" }, xp = [
10530
+ }, xp = ["aria-expanded"], Sp = { class: "pv-popover pv-text-default pv-text-body-md" }, Cp = [
10514
10531
  "aria-label",
10515
10532
  "aria-expanded",
10516
10533
  "title"
10517
- ], Sp = {
10534
+ ], wp = {
10518
10535
  class: "pv-avatar-xs",
10519
10536
  style: {
10520
10537
  "border-radius": "50%",
10521
10538
  "flex-shrink": "0"
10522
10539
  }
10523
- }, Cp = ["src"], wp = { key: 1 }, Tp = {
10540
+ }, Tp = ["src"], Ep = { key: 1 }, Dp = {
10524
10541
  class: "pv-truncate",
10525
10542
  "data-sidebar-expanded-content": ""
10526
- }, Ep = {
10543
+ }, Op = {
10527
10544
  class: "pv-popover pv-text-default pv-text-body-md",
10528
10545
  style: { "--height": "750px" }
10529
- }, Dp = { class: "content-panel" }, Op = /* @__PURE__ */ d({
10546
+ }, kp = { class: "content-panel" }, Ap = /* @__PURE__ */ d({
10530
10547
  __name: "PvSidebarV2",
10531
10548
  props: /* @__PURE__ */ g({
10532
10549
  disableToggle: { type: Boolean },
@@ -10593,7 +10610,7 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
10593
10610
  }]]),
10594
10611
  onTransitionend: B
10595
10612
  }, [
10596
- s("div", kf, [s("div", null, [I(h) ? (D(), o("div", Af, [j(n.$slots, "sidebar-additional-header")])) : a("", !0), s("div", { class: y(["sidebar-header", [{ "pv-border-bottom": T.value }]]) }, [s("div", jf, [e.organizations && e.organizations.length ? (D(), o("div", Mf, [u(Yn, {
10613
+ s("div", jf, [s("div", null, [I(h) ? (D(), o("div", Mf, [j(n.$slots, "sidebar-additional-header")])) : a("", !0), s("div", { class: y(["sidebar-header", [{ "pv-border-bottom": T.value }]]) }, [s("div", Nf, [e.organizations && e.organizations.length ? (D(), o("div", Pf, [u(Yn, {
10597
10614
  modelValue: N.value,
10598
10615
  "onUpdate:modelValue": r[0] ||= (e) => N.value = e,
10599
10616
  position: T.value ? "right-top" : "bottom-left",
@@ -10608,30 +10625,30 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
10608
10625
  class: "pv-nav-list-item pv-full-width pv-space-between",
10609
10626
  "aria-label": `Switch organization: ${S.value?.label}`,
10610
10627
  "aria-expanded": N.value
10611
- }, [s("div", Pf, [s("span", Ff, [S.value?.avatarUrl ? (D(), o("img", {
10628
+ }, [s("div", If, [s("span", Lf, [S.value?.avatarUrl ? (D(), o("img", {
10612
10629
  key: 0,
10613
10630
  src: S.value.avatarUrl,
10614
10631
  alt: "Organization Avatar"
10615
- }, null, 8, If)) : (D(), o("span", Lf, F(S.value?.label?.slice(0, 1)), 1))]), s("span", {
10632
+ }, null, 8, Rf)) : (D(), o("span", zf, F(S.value?.label?.slice(0, 1)), 1))]), s("span", {
10616
10633
  class: "pv-text-title-lg pv-truncate",
10617
10634
  "data-sidebar-expanded-content": "",
10618
10635
  title: S.value?.label
10619
- }, F(S.value?.label), 9, Rf)]), u(Z, {
10636
+ }, F(S.value?.label), 9, Bf)]), u(Z, {
10620
10637
  name: "chevron-down",
10621
10638
  class: "pv-icon-16",
10622
10639
  "data-sidebar-expanded-content": ""
10623
- })], 8, Nf)]),
10624
- content: K(() => [s("div", zf, [s("ul", Bf, [(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", {
10640
+ })], 8, Ff)]),
10641
+ content: K(() => [s("div", Vf, [s("ul", Hf, [(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", {
10625
10642
  class: "pv-flex",
10626
10643
  href: e.url
10627
- }, [s("div", Uf, [e.avatarUrl ? (D(), o("img", {
10644
+ }, [s("div", Gf, [e.avatarUrl ? (D(), o("img", {
10628
10645
  key: 0,
10629
10646
  src: e.avatarUrl,
10630
10647
  alt: "Organization Avatar"
10631
- }, null, 8, Wf)) : (D(), o("span", Gf, F(e.label.slice(0, 1)), 1))]), s("span", {
10648
+ }, null, 8, Kf)) : (D(), o("span", qf, F(e.label.slice(0, 1)), 1))]), s("span", {
10632
10649
  class: "pv-truncate pv-flex-item",
10633
10650
  title: e.label
10634
- }, F(e.label), 9, Kf)], 8, Hf)], 8, Vf), (D(!0), o(t, null, A(e.entities, (e) => (D(), o("li", {
10651
+ }, F(e.label), 9, Jf)], 8, Wf)], 8, Uf), (D(!0), o(t, null, A(e.entities, (e) => (D(), o("li", {
10635
10652
  key: e.value,
10636
10653
  style: { "padding-left": "0.5rem" },
10637
10654
  "data-active": e.active || void 0
@@ -10642,7 +10659,7 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
10642
10659
  }, [u(Z, { name: "corner-down-right" }), s("span", {
10643
10660
  class: "pv-truncate",
10644
10661
  title: e.label
10645
- }, F(e.label), 9, Yf)], 8, Jf)], 8, qf))), 128))], 64))), 128))])])]),
10662
+ }, F(e.label), 9, Zf)], 8, Xf)], 8, Yf))), 128))], 64))), 128))])])]),
10646
10663
  _: 1
10647
10664
  }, 8, [
10648
10665
  "modelValue",
@@ -10665,9 +10682,9 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
10665
10682
  }, null, 8, ["left-icon", "aria-label"])]),
10666
10683
  content: K(() => [l(F(T.value ? "Expand navigation" : "Collapse navigation"), 1)]),
10667
10684
  _: 1
10668
- }))], 2)]), s("div", Xf, [
10669
- I(m) ? (D(), o("div", Zf, [j(n.$slots, "sidebar-additional-content")])) : a("", !0),
10670
- e.navItems && e.navItems.length ? (D(), o("ul", Qf, [(D(!0), o(t, null, A(e.navItems, (e) => (D(), o("li", { key: e.value }, [!e.children || e.children.length === 0 ? (D(), i(Yn, {
10685
+ }))], 2)]), s("div", Qf, [
10686
+ I(m) ? (D(), o("div", $f, [j(n.$slots, "sidebar-additional-content")])) : a("", !0),
10687
+ e.navItems && e.navItems.length ? (D(), o("ul", ep, [(D(!0), o(t, null, A(e.navItems, (e) => (D(), o("li", { key: e.value }, [!e.children || e.children.length === 0 ? (D(), i(Yn, {
10671
10688
  key: 0,
10672
10689
  "show-on-hover": "",
10673
10690
  "enable-group-sync": "",
@@ -10687,8 +10704,8 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
10687
10704
  key: 0,
10688
10705
  name: e.icon,
10689
10706
  class: "pv-nav-icon"
10690
- }, null, 8, ["name"])) : a("", !0), s("span", ep, [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, F(e.label), 3), e.badge ? (D(), o("span", tp, F(e.badge.toUpperCase()), 1)) : a("", !0)])], 16, $f)]),
10691
- content: K(() => [s("div", np, [s("ul", rp, [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 }]) }, F(e.label), 3), e.badge ? (D(), o("span", op, F(e.badge.toUpperCase()), 1)) : a("", !0)], 16, ap)], 8, ip)])])]),
10707
+ }, null, 8, ["name"])) : a("", !0), s("span", np, [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, F(e.label), 3), e.badge ? (D(), o("span", rp, F(e.badge.toUpperCase()), 1)) : a("", !0)])], 16, tp)]),
10708
+ content: K(() => [s("div", ip, [s("ul", ap, [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 }]) }, F(e.label), 3), e.badge ? (D(), o("span", cp, F(e.badge.toUpperCase()), 1)) : a("", !0)], 16, sp)], 8, op)])])]),
10692
10709
  _: 2
10693
10710
  }, 1032, [
10694
10711
  "use-teleport",
@@ -10720,14 +10737,14 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
10720
10737
  key: 0,
10721
10738
  name: e.icon,
10722
10739
  class: "pv-nav-icon"
10723
- }, null, 8, ["name"])) : a("", !0), s("span", cp, F(e.label), 1)], 40, sp)]),
10724
- default: K(() => [s("div", lp, [(D(!0), o(t, null, A(e.children, (e) => (D(), o("a", _({
10740
+ }, null, 8, ["name"])) : a("", !0), s("span", up, F(e.label), 1)], 40, lp)]),
10741
+ default: K(() => [s("div", dp, [(D(!0), o(t, null, A(e.children, (e) => (D(), o("a", _({
10725
10742
  key: e.value,
10726
10743
  href: e.url
10727
10744
  }, { ref_for: !0 }, e.linkAttrs, {
10728
10745
  "aria-current": e.active ? "page" : void 0,
10729
10746
  title: e.label
10730
- }), [s("span", dp, [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, F(e.label), 3), e.badge ? (D(), o("span", fp, F(e.badge.toUpperCase()), 1)) : a("", !0)])], 16, up))), 128))])]),
10747
+ }), [s("span", pp, [s("span", { class: y(["pv-truncate pv-flex-item", { "pv-link-external": e.external }]) }, F(e.label), 3), e.badge ? (D(), o("span", mp, F(e.badge.toUpperCase()), 1)) : a("", !0)])], 16, fp))), 128))])]),
10731
10748
  _: 2
10732
10749
  }, 1032, [
10733
10750
  "modelValue",
@@ -10735,17 +10752,17 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
10735
10752
  "default-open",
10736
10753
  "summary-attrs"
10737
10754
  ])]),
10738
- content: K(() => [s("div", pp, [s("ul", mp, [(D(!0), o(t, null, A(e.children, (e) => (D(), o("li", {
10755
+ content: K(() => [s("div", hp, [s("ul", gp, [(D(!0), o(t, null, A(e.children, (e) => (D(), o("li", {
10739
10756
  key: e.value,
10740
10757
  "data-active": e.active || void 0
10741
- }, [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 }]) }, F(e.label), 3), e.badge ? (D(), o("span", _p, F(e.badge.toUpperCase()), 1)) : a("", !0)], 16, gp)], 8, hp))), 128))])])]),
10758
+ }, [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 }]) }, F(e.label), 3), e.badge ? (D(), o("span", yp, F(e.badge.toUpperCase()), 1)) : a("", !0)], 16, vp)], 8, _p))), 128))])])]),
10742
10759
  _: 2
10743
10760
  }, 1032, [
10744
10761
  "use-teleport",
10745
10762
  "teleport-location",
10746
10763
  "disabled"
10747
10764
  ]))]))), 128))])) : a("", !0),
10748
- s("div", vp, [I(g) ? (D(), i(Yn, {
10765
+ s("div", bp, [I(g) ? (D(), i(Yn, {
10749
10766
  key: 0,
10750
10767
  modelValue: M.value,
10751
10768
  "onUpdate:modelValue": r[1] ||= (e) => M.value = e,
@@ -10766,8 +10783,8 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
10766
10783
  }, [u(Z, {
10767
10784
  name: "help-circle",
10768
10785
  class: "pv-icon-20 pv-nav-icon"
10769
- }), r[3] ||= s("span", { "data-sidebar-expanded-content": "" }, "Help", -1)], 8, yp)]),
10770
- content: K(() => [s("div", bp, [j(n.$slots, "sidebar-help-content")])]),
10786
+ }), r[3] ||= s("span", { "data-sidebar-expanded-content": "" }, "Help", -1)], 8, xp)]),
10787
+ content: K(() => [s("div", Sp, [j(n.$slots, "sidebar-help-content")])]),
10771
10788
  _: 3
10772
10789
  }, 8, [
10773
10790
  "modelValue",
@@ -10793,12 +10810,12 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
10793
10810
  "aria-label": e.profile.name,
10794
10811
  "aria-expanded": P.value,
10795
10812
  title: e.profile.name
10796
- }, [s("span", Sp, [e.profile.avatarUrl ? (D(), o("img", {
10813
+ }, [s("span", wp, [e.profile.avatarUrl ? (D(), o("img", {
10797
10814
  key: 0,
10798
10815
  src: e.profile.avatarUrl,
10799
10816
  alt: ""
10800
- }, null, 8, Cp)) : (D(), o("span", wp, F(e.profile.name.slice(0, 1)), 1))]), s("span", Tp, F(e.profile.name), 1)], 8, xp)]),
10801
- content: K(() => [s("div", Ep, [j(n.$slots, "sidebar-profile-content")])]),
10817
+ }, null, 8, Tp)) : (D(), o("span", Ep, F(e.profile.name.slice(0, 1)), 1))]), s("span", Dp, F(e.profile.name), 1)], 8, Cp)]),
10818
+ content: K(() => [s("div", Op, [j(n.$slots, "sidebar-profile-content")])]),
10802
10819
  _: 3
10803
10820
  }, 8, [
10804
10821
  "modelValue",
@@ -10808,7 +10825,7 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
10808
10825
  "teleport-location"
10809
10826
  ])) : a("", !0)])
10810
10827
  ])]),
10811
- s("div", Dp, [j(n.$slots, "default")]),
10828
+ s("div", kp, [j(n.$slots, "default")]),
10812
10829
  s("div", {
10813
10830
  ref_key: "popoverTeleportTarget",
10814
10831
  ref: b,
@@ -10816,11 +10833,11 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
10816
10833
  }, null, 512)
10817
10834
  ], 34));
10818
10835
  }
10819
- }), kp = {
10836
+ }), jp = {
10820
10837
  class: "pv-toc",
10821
10838
  role: "list",
10822
10839
  style: { "min-width": "160px" }
10823
- }, Ap = ["aria-current"], jp = ["href", "onClick"], Mp = /* @__PURE__ */ d({
10840
+ }, Mp = ["aria-current"], Np = ["href", "onClick"], Pp = /* @__PURE__ */ d({
10824
10841
  __name: "PvTableOfContents",
10825
10842
  props: /* @__PURE__ */ g({ items: {} }, {
10826
10843
  modelValue: { required: !1 },
@@ -10831,7 +10848,7 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
10831
10848
  let r = z(e, "modelValue"), c = n, u = (e, t) => {
10832
10849
  t.href || e.preventDefault(), r.value = t.id, c("handle-select", t);
10833
10850
  };
10834
- return (n, c) => (D(), o("ul", kp, [(D(!0), o(t, null, A(e.items, (e) => (D(), o("li", {
10851
+ return (n, c) => (D(), o("ul", jp, [(D(!0), o(t, null, A(e.items, (e) => (D(), o("li", {
10835
10852
  key: e.id,
10836
10853
  "aria-current": r.value === e.id ? "true" : void 0
10837
10854
  }, [s("a", {
@@ -10840,9 +10857,9 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
10840
10857
  }, [e.icon ? (D(), i(Z, {
10841
10858
  key: 0,
10842
10859
  name: e.icon
10843
- }, null, 8, ["name"])) : a("", !0), l(" " + F(e.label), 1)], 8, jp)], 8, Ap))), 128))]));
10860
+ }, null, 8, ["name"])) : a("", !0), l(" " + F(e.label), 1)], 8, Np)], 8, Mp))), 128))]));
10844
10861
  }
10845
- }), Np = { class: "pv-flex" }, Pp = ["data-clickable", "onClick"], Fp = /* @__PURE__ */ d({
10862
+ }), Fp = { class: "pv-flex" }, Ip = ["data-clickable", "onClick"], Lp = /* @__PURE__ */ d({
10846
10863
  __name: "PvStepper",
10847
10864
  props: {
10848
10865
  count: { default: 5 },
@@ -10855,14 +10872,14 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
10855
10872
  emits: ["update:active"],
10856
10873
  setup(e) {
10857
10874
  let n = e;
10858
- return (n.active < 0 || n.active >= n.count) && console.warn(`PvStepper: "active" (${n.active}) is out of range for "count" (${n.count}).`), (n, r) => (D(), o("div", Np, [(D(!0), o(t, null, A(e.count, (t, r) => (D(), o("div", {
10875
+ return (n.active < 0 || n.active >= n.count) && console.warn(`PvStepper: "active" (${n.active}) is out of range for "count" (${n.count}).`), (n, r) => (D(), o("div", Fp, [(D(!0), o(t, null, A(e.count, (t, r) => (D(), o("div", {
10859
10876
  key: r,
10860
10877
  "data-clickable": e.clickable,
10861
10878
  class: y(r === e.active ? "pv-stepper-active" : "pv-stepper-inactive"),
10862
10879
  onClick: (t) => e.clickable && n.$emit("update:active", r)
10863
- }, null, 10, Pp))), 128))]));
10880
+ }, null, 10, Ip))), 128))]));
10864
10881
  }
10865
- }), Ip = { theme: {
10882
+ }), Rp = { theme: {
10866
10883
  preset: xe,
10867
10884
  options: {
10868
10885
  darkModeSelector: "none",
@@ -10871,15 +10888,15 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
10871
10888
  order: "pit-viper-v2, primevue"
10872
10889
  }
10873
10890
  }
10874
- } }, Lp = (e) => {
10875
- e.use(be, Ip);
10876
- }, Rp = Symbol.for("pv.rum-context"), zp = () => {
10877
- let e = m(Rp, void 0);
10891
+ } }, zp = (e) => {
10892
+ e.use(be, Rp);
10893
+ }, Bp = Symbol.for("pv.rum-context"), Vp = () => {
10894
+ let e = m(Bp, void 0);
10878
10895
  return () => {
10879
10896
  let t = e?.value;
10880
10897
  return typeof t == "string" ? { consumer: t } : t ?? {};
10881
10898
  };
10882
- }, Bp = (e, t = {}, n = {}) => {
10899
+ }, Hp = (e, t = {}, n = {}) => {
10883
10900
  try {
10884
10901
  if (n.enabled === !1 || typeof window > "u" || !window.DD_RUM?.addAction) return;
10885
10902
  let r = n.consumer == null ? t : {
@@ -10888,7 +10905,7 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
10888
10905
  };
10889
10906
  window.DD_RUM.addAction(e, r);
10890
10907
  } catch {}
10891
- }, Vp = (e) => {
10908
+ }, Up = (e) => {
10892
10909
  queueMicrotask(() => {
10893
10910
  try {
10894
10911
  e();
@@ -10896,6 +10913,6 @@ var kd = ["aria-label"], Ad = { class: "pv-filter-panel-header pv-flex pv-border
10896
10913
  });
10897
10914
  };
10898
10915
  //#endregion
10899
- export { xi as ContextCardEnum, Zr as PvAccordion, Ls as PvActionBar, $n as PvActionButton, nr as PvAiButton, ga as PvAvatar, Xo as PvAvatarGroup, Vr as PvBanner, da as PvBreadcrumbs, $ as PvButton, sr as PvButtonWithTooltip, ws as PvCard, ns as PvCheckbox, Ei as PvCompanyLabel, kr as PvCompanyLogo, Kr as PvCompanyTag, Re as PvCounterBadge, li as PvDatePicker, di as PvDateTime, yc as PvDistributionBar, bi as PvDrawer, yr as PvDropdown, Gr as PvEmptyErrorState, Ns as PvExpandableContent, bs as PvFileInput, sf as PvFilterModal, Ud as PvFilterPanel, Ho as PvGhostInput, qo as PvHeader, vu as PvHorizontalScroller, df as PvHoverActionMenu, Z as PvIcon, ps as PvInput, Ms as PvInsightCard, ho as PvMenu, oo as PvMenuItem, Fr as PvModal, So as PvMultiSelectButton, jo as PvPagination, mr as PvPill, gr as PvPopover, xr as PvPopoverMenu, Yn as PvPopoverV2, _c as PvProgressBar, wf as PvQueryBuilderInput, os as PvRadioGroup, Nc as PvRange, Cs as PvRating, dr as PvReleaseBadge, ni as PvSearchInput, Sr as PvSegmentedControl, wo as PvSelectButton, Po as PvSelectableCard, zo as PvSidePanel, Of as PvSidebar, Op as PvSidebarV2, cs as PvSkeleton, ta as PvSpinesContextCard, aa as PvSpinesContextDrawer, ke as PvSpinner, ur as PvSplitButton, ss as PvSprite, Fp as PvStepper, Yr as PvSuggestionTag, Ba as PvSwitch, Er as PvTabList, Mp as PvTableOfContents, ca as PvTabs, pr as PvTag, Ii as PvTextArea, Fs as PvToast, Bi as PvToggleButton, es as PvToggleGroup, ar as PvTooltip, Zn as PvTooltipV2, dc as PvTree, fc as PvTreeGroup, Ts as PvWidget, Rp as RumContextKey, Bp as addRumAction, bd as createPvFilterStore, Vp as deferRumTask, xd as providePvFilterStore, ui as useDateTime, Sd as useOptionalPvFilterStore, Lp as usePvComponents, Cd as usePvFilterStore, zp as useRumContext };
10916
+ export { xi as ContextCardEnum, Zr as PvAccordion, Rs as PvActionBar, $n as PvActionButton, nr as PvAiButton, ga as PvAvatar, Zo as PvAvatarGroup, Vr as PvBanner, da as PvBreadcrumbs, $ as PvButton, sr as PvButtonWithTooltip, Ts as PvCard, rs as PvCheckbox, Ei as PvCompanyLabel, kr as PvCompanyLogo, Kr as PvCompanyTag, Re as PvCounterBadge, li as PvDatePicker, di as PvDateTime, bc as PvDistributionBar, bi as PvDrawer, yr as PvDropdown, Gr as PvEmptyErrorState, Ps as PvExpandableContent, xs as PvFileInput, lf as PvFilterModal, Gd as PvFilterPanel, Uo as PvGhostInput, Jo as PvHeader, bu as PvHorizontalScroller, pf as PvHoverActionMenu, Z as PvIcon, ms as PvInput, Ns as PvInsightCard, ho as PvMenu, oo as PvMenuItem, Fr as PvModal, Co as PvMultiSelectButton, Mo as PvPagination, mr as PvPill, gr as PvPopover, xr as PvPopoverMenu, Yn as PvPopoverV2, vc as PvProgressBar, Ef as PvQueryBuilderInput, ss as PvRadioGroup, Pc as PvRange, ws as PvRating, dr as PvReleaseBadge, ni as PvSearchInput, Sr as PvSegmentedControl, To as PvSelectButton, Fo as PvSelectableCard, Bo as PvSidePanel, Af as PvSidebar, Ap as PvSidebarV2, ls as PvSkeleton, ta as PvSpinesContextCard, aa as PvSpinesContextDrawer, ke as PvSpinner, ur as PvSplitButton, cs as PvSprite, Lp as PvStepper, Yr as PvSuggestionTag, Ba as PvSwitch, Er as PvTabList, Pp as PvTableOfContents, ca as PvTabs, pr as PvTag, Ii as PvTextArea, Is as PvToast, Bi as PvToggleButton, ts as PvToggleGroup, ar as PvTooltip, Zn as PvTooltipV2, fc as PvTree, pc as PvTreeGroup, Es as PvWidget, Bp as RumContextKey, Hp as addRumAction, Sd as createPvFilterStore, Up as deferRumTask, Cd as providePvFilterStore, ui as useDateTime, wd as useOptionalPvFilterStore, zp as usePvComponents, Td as usePvFilterStore, Vp as useRumContext };
10900
10917
 
10901
10918
  //# sourceMappingURL=pv-components-base.mjs.map