@turquoisehealth/pit-viper 2.234.5-dev.0 → 2.234.5-dev.1

This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
Files changed (168) hide show
  1. package/package.json +1 -1
  2. package/pv-components/dist/stats/vue/ai/stats.html +1 -1
  3. package/pv-components/dist/stats/vue/base/stats.html +1 -1
  4. package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
  5. package/pv-components/dist/stats/web/pv-accordion-stats.html +1 -1
  6. package/pv-components/dist/stats/web/pv-action-bar-stats.html +1 -1
  7. package/pv-components/dist/stats/web/pv-action-button-stats.html +1 -1
  8. package/pv-components/dist/stats/web/pv-ai-button-stats.html +1 -1
  9. package/pv-components/dist/stats/web/pv-avatar-group-stats.html +1 -1
  10. package/pv-components/dist/stats/web/pv-avatar-stats.html +1 -1
  11. package/pv-components/dist/stats/web/pv-banner-stats.html +1 -1
  12. package/pv-components/dist/stats/web/pv-breadcrumbs-stats.html +1 -1
  13. package/pv-components/dist/stats/web/pv-button-stats.html +1 -1
  14. package/pv-components/dist/stats/web/pv-card-stats.html +1 -1
  15. package/pv-components/dist/stats/web/pv-checkbox-stats.html +1 -1
  16. package/pv-components/dist/stats/web/pv-company-label-stats.html +1 -1
  17. package/pv-components/dist/stats/web/pv-company-logo-stats.html +1 -1
  18. package/pv-components/dist/stats/web/pv-company-tag-stats.html +1 -1
  19. package/pv-components/dist/stats/web/pv-confirmation-stats.html +1 -1
  20. package/pv-components/dist/stats/web/pv-counter-badge-stats.html +1 -1
  21. package/pv-components/dist/stats/web/pv-date-picker-stats.html +1 -1
  22. package/pv-components/dist/stats/web/pv-date-time-stats.html +1 -1
  23. package/pv-components/dist/stats/web/pv-distribution-bar-stats.html +1 -1
  24. package/pv-components/dist/stats/web/pv-drawer-stats.html +1 -1
  25. package/pv-components/dist/stats/web/pv-dropdown-stats.html +1 -1
  26. package/pv-components/dist/stats/web/pv-empty-error-state-stats.html +1 -1
  27. package/pv-components/dist/stats/web/pv-expandable-content-stats.html +1 -1
  28. package/pv-components/dist/stats/web/pv-file-input-stats.html +1 -1
  29. package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
  30. package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
  31. package/pv-components/dist/stats/web/pv-ghost-input-stats.html +1 -1
  32. package/pv-components/dist/stats/web/pv-header-stats.html +1 -1
  33. package/pv-components/dist/stats/web/pv-horizontal-scroller-stats.html +1 -1
  34. package/pv-components/dist/stats/web/pv-hover-action-menu-stats.html +1 -1
  35. package/pv-components/dist/stats/web/pv-icon-stats.html +1 -1
  36. package/pv-components/dist/stats/web/pv-input-stats.html +1 -1
  37. package/pv-components/dist/stats/web/pv-insight-card-stats.html +1 -1
  38. package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
  39. package/pv-components/dist/stats/web/pv-modal-stats.html +1 -1
  40. package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
  41. package/pv-components/dist/stats/web/pv-pagination-stats.html +1 -1
  42. package/pv-components/dist/stats/web/pv-pill-stats.html +1 -1
  43. package/pv-components/dist/stats/web/pv-popover-menu-stats.html +1 -1
  44. package/pv-components/dist/stats/web/pv-popover-stats.html +1 -1
  45. package/pv-components/dist/stats/web/pv-popover-v2-stats.html +1 -1
  46. package/pv-components/dist/stats/web/pv-progress-bar-stats.html +1 -1
  47. package/pv-components/dist/stats/web/pv-prompt-input-stats.html +1 -1
  48. package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
  49. package/pv-components/dist/stats/web/pv-question-stats.html +1 -1
  50. package/pv-components/dist/stats/web/pv-radio-group-stats.html +1 -1
  51. package/pv-components/dist/stats/web/pv-range-stats.html +1 -1
  52. package/pv-components/dist/stats/web/pv-rating-stats.html +1 -1
  53. package/pv-components/dist/stats/web/pv-reasoning-stats.html +1 -1
  54. package/pv-components/dist/stats/web/pv-release-badge-stats.html +1 -1
  55. package/pv-components/dist/stats/web/pv-search-input-stats.html +1 -1
  56. package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
  57. package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
  58. package/pv-components/dist/stats/web/pv-selectable-card-stats.html +1 -1
  59. package/pv-components/dist/stats/web/pv-side-panel-stats.html +1 -1
  60. package/pv-components/dist/stats/web/pv-sidebar-stats.html +1 -1
  61. package/pv-components/dist/stats/web/pv-sidebar-v2-stats.html +1 -1
  62. package/pv-components/dist/stats/web/pv-skeleton-stats.html +1 -1
  63. package/pv-components/dist/stats/web/pv-spinner-stats.html +1 -1
  64. package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
  65. package/pv-components/dist/stats/web/pv-sprite-stats.html +1 -1
  66. package/pv-components/dist/stats/web/pv-step-list-stats.html +1 -1
  67. package/pv-components/dist/stats/web/pv-stepper-stats.html +1 -1
  68. package/pv-components/dist/stats/web/pv-suggestion-tag-stats.html +1 -1
  69. package/pv-components/dist/stats/web/pv-switch-stats.html +1 -1
  70. package/pv-components/dist/stats/web/pv-tab-list-stats.html +1 -1
  71. package/pv-components/dist/stats/web/pv-table-of-contents-stats.html +1 -1
  72. package/pv-components/dist/stats/web/pv-tabs-stats.html +1 -1
  73. package/pv-components/dist/stats/web/pv-tag-stats.html +1 -1
  74. package/pv-components/dist/stats/web/pv-text-area-stats.html +1 -1
  75. package/pv-components/dist/stats/web/pv-toast-stats.html +1 -1
  76. package/pv-components/dist/stats/web/pv-toggle-button-stats.html +1 -1
  77. package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
  78. package/pv-components/dist/stats/web/pv-tool-stats.html +1 -1
  79. package/pv-components/dist/stats/web/pv-tooltip-stats.html +1 -1
  80. package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
  81. package/pv-components/dist/stats/web/pv-tree-stats.html +1 -1
  82. package/pv-components/dist/stats/web/pv-widget-stats.html +1 -1
  83. package/pv-components/dist/vue/ai/pv-components-ai.mjs +48 -35
  84. package/pv-components/dist/vue/ai/pv-components-ai.mjs.map +1 -1
  85. package/pv-components/dist/vue/base/pv-components-base.mjs +1033 -1013
  86. package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
  87. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +990 -977
  88. package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
  89. package/pv-components/dist/web/components/pv-accordion/pv-accordion.js +2 -1
  90. package/pv-components/dist/web/components/pv-action-bar/pv-action-bar.js +2 -1
  91. package/pv-components/dist/web/components/pv-action-button/pv-action-button.js +449 -435
  92. package/pv-components/dist/web/components/pv-ai-button/pv-ai-button.js +2 -1
  93. package/pv-components/dist/web/components/pv-avatar/pv-avatar.js +2 -1
  94. package/pv-components/dist/web/components/pv-avatar-group/pv-avatar-group.js +2 -1
  95. package/pv-components/dist/web/components/pv-banner/pv-banner.js +2 -1
  96. package/pv-components/dist/web/components/pv-breadcrumbs/pv-breadcrumbs.js +2 -1
  97. package/pv-components/dist/web/components/pv-button/pv-button.js +2 -1
  98. package/pv-components/dist/web/components/pv-card/pv-card.js +2 -1
  99. package/pv-components/dist/web/components/pv-checkbox/pv-checkbox.js +2 -1
  100. package/pv-components/dist/web/components/pv-company-label/pv-company-label.js +2 -1
  101. package/pv-components/dist/web/components/pv-company-logo/pv-company-logo.js +2 -1
  102. package/pv-components/dist/web/components/pv-company-tag/pv-company-tag.js +2 -1
  103. package/pv-components/dist/web/components/pv-confirmation/pv-confirmation.js +2 -1
  104. package/pv-components/dist/web/components/pv-counter-badge/pv-counter-badge.js +2 -1
  105. package/pv-components/dist/web/components/pv-date-picker/pv-date-picker.js +2 -1
  106. package/pv-components/dist/web/components/pv-date-time/pv-date-time.js +2 -1
  107. package/pv-components/dist/web/components/pv-distribution-bar/pv-distribution-bar.js +2 -1
  108. package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +2 -1
  109. package/pv-components/dist/web/components/pv-dropdown/pv-dropdown.js +2 -1
  110. package/pv-components/dist/web/components/pv-empty-error-state/pv-empty-error-state.js +2 -1
  111. package/pv-components/dist/web/components/pv-expandable-content/pv-expandable-content.js +2 -1
  112. package/pv-components/dist/web/components/pv-file-input/pv-file-input.js +2 -1
  113. package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +1551 -1537
  114. package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +879 -865
  115. package/pv-components/dist/web/components/pv-ghost-input/pv-ghost-input.js +2 -1
  116. package/pv-components/dist/web/components/pv-header/pv-header.js +382 -368
  117. package/pv-components/dist/web/components/pv-horizontal-scroller/pv-horizontal-scroller.js +2 -1
  118. package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +496 -482
  119. package/pv-components/dist/web/components/pv-icon/pv-icon.js +2 -1
  120. package/pv-components/dist/web/components/pv-input/pv-input.js +2 -1
  121. package/pv-components/dist/web/components/pv-insight-card/pv-insight-card.js +2 -1
  122. package/pv-components/dist/web/components/pv-menu/pv-menu.js +851 -837
  123. package/pv-components/dist/web/components/pv-modal/pv-modal.js +2 -1
  124. package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +1189 -1175
  125. package/pv-components/dist/web/components/pv-pagination/pv-pagination.js +2 -1
  126. package/pv-components/dist/web/components/pv-pill/pv-pill.js +2 -1
  127. package/pv-components/dist/web/components/pv-popover/pv-popover.js +2 -1
  128. package/pv-components/dist/web/components/pv-popover-menu/pv-popover-menu.js +2 -1
  129. package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +497 -483
  130. package/pv-components/dist/web/components/pv-progress-bar/pv-progress-bar.js +2 -1
  131. package/pv-components/dist/web/components/pv-prompt-input/pv-prompt-input.js +2 -1
  132. package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +1063 -1049
  133. package/pv-components/dist/web/components/pv-question/pv-question.js +2 -1
  134. package/pv-components/dist/web/components/pv-radio-group/pv-radio-group.js +2 -1
  135. package/pv-components/dist/web/components/pv-range/pv-range.js +2 -1
  136. package/pv-components/dist/web/components/pv-rating/pv-rating.js +2 -1
  137. package/pv-components/dist/web/components/pv-reasoning/pv-reasoning.js +542 -528
  138. package/pv-components/dist/web/components/pv-release-badge/pv-release-badge.js +2 -1
  139. package/pv-components/dist/web/components/pv-search-input/pv-search-input.js +2 -1
  140. package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +696 -682
  141. package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +1152 -1138
  142. package/pv-components/dist/web/components/pv-selectable-card/pv-selectable-card.js +2 -1
  143. package/pv-components/dist/web/components/pv-side-panel/pv-side-panel.js +2 -1
  144. package/pv-components/dist/web/components/pv-sidebar/pv-sidebar.js +2 -1
  145. package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +529 -508
  146. package/pv-components/dist/web/components/pv-skeleton/pv-skeleton.js +2 -1
  147. package/pv-components/dist/web/components/pv-spinner/pv-spinner.js +2 -1
  148. package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +442 -428
  149. package/pv-components/dist/web/components/pv-sprite/pv-sprite.js +2 -1
  150. package/pv-components/dist/web/components/pv-step-list/pv-step-list.js +2 -1
  151. package/pv-components/dist/web/components/pv-stepper/pv-stepper.js +2 -1
  152. package/pv-components/dist/web/components/pv-suggestion-tag/pv-suggestion-tag.js +2 -1
  153. package/pv-components/dist/web/components/pv-switch/pv-switch.js +2 -1
  154. package/pv-components/dist/web/components/pv-tab-list/pv-tab-list.js +2 -1
  155. package/pv-components/dist/web/components/pv-table-of-contents/pv-table-of-contents.js +2 -1
  156. package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +2 -1
  157. package/pv-components/dist/web/components/pv-tag/pv-tag.js +2 -1
  158. package/pv-components/dist/web/components/pv-text-area/pv-text-area.js +2 -1
  159. package/pv-components/dist/web/components/pv-toast/pv-toast.js +2 -1
  160. package/pv-components/dist/web/components/pv-toggle-button/pv-toggle-button.js +2 -1
  161. package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +693 -679
  162. package/pv-components/dist/web/components/pv-tool/pv-tool.js +2 -1
  163. package/pv-components/dist/web/components/pv-tooltip/pv-tooltip.js +402 -388
  164. package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +822 -808
  165. package/pv-components/dist/web/components/pv-tree/pv-tree.js +2 -1
  166. package/pv-components/dist/web/components/pv-widget/pv-widget.js +2 -1
  167. package/pv-components/dist/web/pv-components.iife.js +36 -36
  168. package/pv-components/dist/web/pv-components.iife.js.map +1 -1
@@ -721,11 +721,26 @@ function Ge(e, t, n) {
721
721
  let r = t === "default" ? "" : t, i = Array.from(e.childNodes);
722
722
  return r === "" ? i.some((e) => e.nodeType === Node.ELEMENT_NODE ? !e.hasAttribute("slot") : X(e, n)) : i.some((e) => e.nodeType === Node.ELEMENT_NODE ? e.getAttribute("slot") === r : !1);
723
723
  }
724
+ function Ke(e) {
725
+ if (e.shadowRoot) return null;
726
+ let t = e._slots;
727
+ return !t || typeof t != "object" ? null : t;
728
+ }
729
+ function qe(e, t, n) {
730
+ let r = e[t === "" ? "default" : t];
731
+ return r ? r.some((e) => e.nodeType === Node.ELEMENT_NODE ? !0 : X(e, n)) : !1;
732
+ }
724
733
  function Z(e, t) {
725
734
  let n = e.shadowRoot;
726
735
  return n ? t === "default" || t === "" ? n.querySelector("slot:not([name])") : n.querySelector(`slot[name="${CSS.escape(t)}"]`) : null;
727
736
  }
728
- function Ke(e, t = {}) {
737
+ function Je(e, t, { useShadowSlot: n = !0, countWhitespaceTextInDefaultSlot: r = !1 } = {}) {
738
+ let i = n ? Z(e, t) : null;
739
+ if (i) return i.assignedNodes({ flatten: !0 }).some((e) => e.nodeType === Node.ELEMENT_NODE ? !0 : X(e, r));
740
+ let a = Ke(e);
741
+ return a ? qe(a, t, r) : Ge(e, t, r);
742
+ }
743
+ function Ye(e, t = {}) {
729
744
  let { host: n, vueSlots: r, observe: a = !0, listenSlotChange: o = !0, countWhitespaceTextInDefaultSlot: s = !1 } = t, c = H(), l = r ?? A(), u = e === "default" || e === "" ? "default" : e, d = () => !!l && !!l[u], f = C(d());
730
745
  y(() => {
731
746
  f.value = d();
@@ -742,12 +757,10 @@ function Ke(e, t = {}) {
742
757
  p.value = !1;
743
758
  return;
744
759
  }
745
- let r = o ? Z(t, e) : null;
746
- if (r) {
747
- p.value = r.assignedNodes({ flatten: !0 }).some((e) => e.nodeType === Node.ELEMENT_NODE ? !0 : X(e, s));
748
- return;
749
- }
750
- p.value = Ge(t, e, s);
760
+ p.value = Je(t, e, {
761
+ useShadowSlot: o,
762
+ countWhitespaceTextInDefaultSlot: s
763
+ });
751
764
  }, x = () => {
752
765
  if (!c.value) return;
753
766
  g();
@@ -775,26 +788,26 @@ function Ke(e, t = {}) {
775
788
  }
776
789
  //#endregion
777
790
  //#region src/components/ai/PvStepList/PvStepList.vue?vue&type=script&setup=true&lang.ts
778
- var qe = ["data-status"], Je = {
791
+ var Xe = ["data-status"], Ze = {
779
792
  key: 0,
780
793
  class: "pv-step-marker",
781
794
  "aria-hidden": "true"
782
- }, Ye = {
795
+ }, Qe = {
783
796
  key: 1,
784
797
  class: "pv-step-dot"
785
- }, Xe = { class: "pv-step-body pv-flow-4" }, Ze = {
798
+ }, $e = { class: "pv-step-body pv-flow-4" }, et = {
786
799
  key: 0,
787
800
  class: "pv-step-aside pv-text-body-md pv-text-tertiary"
788
- }, Qe = {
801
+ }, tt = {
789
802
  class: "pv-flex pv-text-body-md pv-text-medium pv-text-default",
790
803
  style: { "--flex-wrap": "wrap" }
791
- }, $e = {
804
+ }, nt = {
792
805
  key: 0,
793
806
  class: "pv-tag-highlight"
794
- }, et = {
807
+ }, rt = {
795
808
  key: 0,
796
809
  class: "pv-text-body-md pv-text-tertiary"
797
- }, tt = {
810
+ }, it = {
798
811
  key: 1,
799
812
  class: "pv-flex",
800
813
  role: "list",
@@ -802,7 +815,7 @@ var qe = ["data-status"], Je = {
802
815
  "--flex-wrap": "wrap",
803
816
  "--flex-gap": "4px"
804
817
  }
805
- }, nt = {
818
+ }, at = {
806
819
  key: 2,
807
820
  class: "pv-text-body-md pv-text-medium pv-text-brand"
808
821
  }, Q = /* @__PURE__ */ W(/* @__PURE__ */ d({
@@ -832,24 +845,24 @@ var qe = ["data-status"], Je = {
832
845
  key: e.id ?? n,
833
846
  class: "pv-step",
834
847
  "data-status": u(e, n)
835
- }, [e.variant === "aside" ? o("", !0) : (S(), s("span", Je, [e.icon ? (S(), a(U, {
848
+ }, [e.variant === "aside" ? o("", !0) : (S(), s("span", Ze, [e.icon ? (S(), a(U, {
836
849
  key: 0,
837
850
  name: e.icon,
838
851
  size: 12
839
- }, null, 8, ["name"])) : (S(), s("span", Ye))])), c("div", Xe, [e.variant === "aside" ? (S(), s("p", Ze, [c("em", null, E(e.label), 1)])) : (S(), s(t, { key: 1 }, [
840
- c("p", Qe, [c("span", { class: g({ "pv-shimmer": u(e, n) === "active" }) }, E(e.label), 3), e.artifact ? (S(), s("span", $e, E(e.artifact), 1)) : o("", !0)]),
841
- e.note ? (S(), s("p", et, E(e.note), 1)) : o("", !0),
842
- e.tags && e.tags.length > 0 ? (S(), s("ul", tt, [(S(!0), s(t, null, w(e.tags, (e, t) => (S(), s("li", {
852
+ }, null, 8, ["name"])) : (S(), s("span", Qe))])), c("div", $e, [e.variant === "aside" ? (S(), s("p", et, [c("em", null, E(e.label), 1)])) : (S(), s(t, { key: 1 }, [
853
+ c("p", tt, [c("span", { class: g({ "pv-shimmer": u(e, n) === "active" }) }, E(e.label), 3), e.artifact ? (S(), s("span", nt, E(e.artifact), 1)) : o("", !0)]),
854
+ e.note ? (S(), s("p", rt, E(e.note), 1)) : o("", !0),
855
+ e.tags && e.tags.length > 0 ? (S(), s("ul", it, [(S(!0), s(t, null, w(e.tags, (e, t) => (S(), s("li", {
843
856
  key: t,
844
857
  class: g(["pv-tag-secondary", { "pv-text-quaternary": e.variant === "muted" }]),
845
858
  "data-style": "rounded"
846
859
  }, E(e.label), 3))), 128))])) : o("", !0),
847
- e.outcome ? (S(), s("p", nt, " →\xA0" + E(e.outcome), 1)) : o("", !0)
848
- ], 64))])], 8, qe))), 128))]),
860
+ e.outcome ? (S(), s("p", at, " →\xA0" + E(e.outcome), 1)) : o("", !0)
861
+ ], 64))])], 8, Xe))), 128))]),
849
862
  _: 1
850
863
  }));
851
864
  }
852
- }), [["__scopeId", "data-v-5ab7d271"]]), rt = { class: "pv-reasoning__content pv-text-body-sm pv-text-subdued" }, it = /* @__PURE__ */ W(/* @__PURE__ */ d({
865
+ }), [["__scopeId", "data-v-5ab7d271"]]), ot = { class: "pv-reasoning__content pv-text-body-sm pv-text-subdued" }, st = /* @__PURE__ */ W(/* @__PURE__ */ d({
853
866
  __name: "PvReasoning",
854
867
  props: /* @__PURE__ */ p({
855
868
  autoCloseDelay: { default: 1e3 },
@@ -881,7 +894,7 @@ var qe = ["data-status"], Je = {
881
894
  if (_.value === void 0) return l.completedLabel;
882
895
  let e = Math.max(1, Math.round(_.value));
883
896
  return `Thought for ${e} ${e === 1 ? "second" : "seconds"}`;
884
- }), b = A(), x = j("triggerRef"), { hasNativeSlot: w } = Ke("default", { host: i(() => {
897
+ }), b = A(), x = j("triggerRef"), { hasNativeSlot: w } = Ye("default", { host: i(() => {
885
898
  let e = x.value?.getRootNode();
886
899
  return e instanceof ShadowRoot ? e.host : null;
887
900
  }) });
@@ -928,7 +941,7 @@ var qe = ["data-status"], Je = {
928
941
  name: "brain",
929
942
  size: 20
930
943
  }), c("span", { class: g({ "pv-shimmer": r.isStreaming }) }, E(y.value), 3)], !0)], 512)]),
931
- default: F(() => [c("div", rt, [r.steps.length > 0 ? (S(), a(Q, {
944
+ default: F(() => [c("div", ot, [r.steps.length > 0 ? (S(), a(Q, {
932
945
  key: 0,
933
946
  steps: r.steps,
934
947
  "in-progress": r.isStreaming
@@ -945,18 +958,18 @@ var qe = ["data-status"], Je = {
945
958
  size: 20
946
959
  }), c("span", { class: g({ "pv-shimmer": r.isStreaming }) }, E(y.value), 3)], !0)], 512));
947
960
  }
948
- }), [["__scopeId", "data-v-a027c37b"]]), $ = { class: "pv-tool__heading pv-flex pv-flex-item" }, at = { class: "pv-text-title-sm pv-truncate" }, ot = { class: "pv-tool__disclosure-content" }, st = { class: "pv-flow-16 pv-border-top pv-tool__content" }, ct = {
961
+ }), [["__scopeId", "data-v-a027c37b"]]), ct = { class: "pv-tool__heading pv-flex pv-flex-item" }, lt = { class: "pv-text-title-sm pv-truncate" }, ut = { class: "pv-tool__disclosure-content" }, dt = { class: "pv-flow-16 pv-border-top pv-tool__content" }, ft = {
949
962
  key: 0,
950
963
  class: "pv-flow-8"
951
- }, lt = { class: "pv-surface-accent pv-inset-square-12 pv-radius-sm pv-text-body-xs" }, ut = {
964
+ }, pt = { class: "pv-surface-accent pv-inset-square-12 pv-radius-sm pv-text-body-xs" }, mt = {
952
965
  key: 1,
953
966
  class: "pv-flow-8",
954
967
  role: "alert",
955
968
  "aria-label": "Tool error"
956
- }, dt = { class: "pv-surface-critical pv-inset-square-12 pv-radius-sm pv-text-body-xs pv-text-critical" }, ft = {
969
+ }, ht = { class: "pv-surface-critical pv-inset-square-12 pv-radius-sm pv-text-body-xs pv-text-critical" }, gt = {
957
970
  key: 2,
958
971
  class: "pv-flow-8"
959
- }, pt = { class: "pv-surface-accent pv-inset-square-12 pv-radius-sm pv-text-body-xs" }, mt = /* @__PURE__ */ W(/* @__PURE__ */ d({
972
+ }, _t = { class: "pv-surface-accent pv-inset-square-12 pv-radius-sm pv-text-body-xs" }, vt = /* @__PURE__ */ W(/* @__PURE__ */ d({
960
973
  __name: "PvTool",
961
974
  props: /* @__PURE__ */ p({
962
975
  defaultOpen: {
@@ -1044,22 +1057,22 @@ var qe = ["data-status"], Je = {
1044
1057
  "enable-trigger-slot": "",
1045
1058
  "summary-classes": { "pv-inset-square-12": !0 }
1046
1059
  }, {
1047
- trigger: F(() => [c("span", $, [
1060
+ trigger: F(() => [c("span", ct, [
1048
1061
  u(U, {
1049
1062
  name: "settings",
1050
1063
  size: 20
1051
1064
  }),
1052
- c("span", at, E(e.toolName), 1),
1065
+ c("span", lt, E(e.toolName), 1),
1053
1066
  c("span", {
1054
1067
  class: g([l.value.className, "pv-tag-sm"]),
1055
1068
  role: "status"
1056
1069
  }, E(l.value.label), 3)
1057
1070
  ])]),
1058
- default: F(() => [c("div", ot, [c("div", st, [t.$slots.input || e.input !== void 0 ? (S(), s("section", ct, [r[1] ||= c("h3", { class: "pv-text-title-xs" }, "Parameters", -1), T(t.$slots, "input", { input: e.input }, () => [c("pre", lt, [c("code", null, E(d(e.input)), 1)])], !0)])) : o("", !0), e.errorText ? (S(), s("section", ut, [r[2] ||= c("h3", { class: "pv-text-title-xs pv-text-critical" }, "Error", -1), c("pre", dt, E(e.errorText), 1)])) : t.$slots.output || e.output !== void 0 ? (S(), s("section", ft, [r[3] ||= c("h3", { class: "pv-text-title-xs" }, "Result", -1), T(t.$slots, "output", { output: e.output }, () => [c("pre", pt, [c("code", null, E(d(e.output)), 1)])], !0)])) : o("", !0)])])]),
1071
+ default: F(() => [c("div", ut, [c("div", dt, [t.$slots.input || e.input !== void 0 ? (S(), s("section", ft, [r[1] ||= c("h3", { class: "pv-text-title-xs" }, "Parameters", -1), T(t.$slots, "input", { input: e.input }, () => [c("pre", pt, [c("code", null, E(d(e.input)), 1)])], !0)])) : o("", !0), e.errorText ? (S(), s("section", mt, [r[2] ||= c("h3", { class: "pv-text-title-xs pv-text-critical" }, "Error", -1), c("pre", ht, E(e.errorText), 1)])) : t.$slots.output || e.output !== void 0 ? (S(), s("section", gt, [r[3] ||= c("h3", { class: "pv-text-title-xs" }, "Result", -1), T(t.$slots, "output", { output: e.output }, () => [c("pre", _t, [c("code", null, E(d(e.output)), 1)])], !0)])) : o("", !0)])])]),
1059
1072
  _: 3
1060
1073
  }, 8, ["modelValue", "default-open"]));
1061
1074
  }
1062
- }), [["__scopeId", "data-v-a5e28b1a"]]), ht = [
1075
+ }), [["__scopeId", "data-v-a5e28b1a"]]), $ = [
1063
1076
  "input-streaming",
1064
1077
  "input-available",
1065
1078
  "approval-requested",
@@ -1070,7 +1083,7 @@ var qe = ["data-status"], Je = {
1070
1083
  ];
1071
1084
  //#endregion
1072
1085
  //#region src/components/ai/useStickToBottom.ts
1073
- function gt(e, t = {}) {
1086
+ function yt(e, t = {}) {
1074
1087
  let n = t.threshold ?? 32, r = C(!0);
1075
1088
  function i() {
1076
1089
  let t = e.value;
@@ -1110,6 +1123,6 @@ function gt(e, t = {}) {
1110
1123
  };
1111
1124
  }
1112
1125
  //#endregion
1113
- export { Me as PvConfirmation, He as PvPromptInput, Ee as PvQuestion, it as PvReasoning, Q as PvStepList, mt as PvTool, Ue as promptInputStatuses, ht as toolLifecycleStates, gt as useStickToBottom };
1126
+ export { Me as PvConfirmation, He as PvPromptInput, Ee as PvQuestion, st as PvReasoning, Q as PvStepList, vt as PvTool, Ue as promptInputStatuses, $ as toolLifecycleStates, yt as useStickToBottom };
1114
1127
 
1115
1128
  //# sourceMappingURL=pv-components-ai.mjs.map