@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.
- package/package.json +1 -1
- package/pv-components/dist/stats/vue/ai/stats.html +1 -1
- package/pv-components/dist/stats/vue/base/stats.html +1 -1
- package/pv-components/dist/stats/vue/visualizations/stats.html +1 -1
- package/pv-components/dist/stats/web/pv-accordion-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-action-bar-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-action-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-ai-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-avatar-group-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-avatar-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-banner-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-breadcrumbs-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-card-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-checkbox-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-company-label-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-company-logo-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-company-tag-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-confirmation-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-counter-badge-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-date-picker-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-date-time-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-distribution-bar-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-drawer-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-dropdown-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-empty-error-state-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-expandable-content-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-file-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-filter-panel-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-ghost-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-header-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-horizontal-scroller-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-hover-action-menu-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-icon-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-insight-card-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-modal-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-pagination-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-pill-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-popover-menu-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-popover-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-popover-v2-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-progress-bar-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-prompt-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-query-builder-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-question-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-radio-group-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-range-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-rating-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-reasoning-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-release-badge-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-search-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-segmented-control-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-selectable-card-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-side-panel-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-sidebar-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-sidebar-v2-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-skeleton-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-spinner-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-split-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-sprite-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-step-list-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-stepper-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-suggestion-tag-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-switch-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tab-list-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-table-of-contents-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tabs-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tag-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-text-area-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-toast-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-toggle-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-toggle-group-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tool-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tooltip-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tooltip-v2-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-tree-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-widget-stats.html +1 -1
- package/pv-components/dist/vue/ai/pv-components-ai.mjs +48 -35
- package/pv-components/dist/vue/ai/pv-components-ai.mjs.map +1 -1
- package/pv-components/dist/vue/base/pv-components-base.mjs +1033 -1013
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +990 -977
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/components/pv-accordion/pv-accordion.js +2 -1
- package/pv-components/dist/web/components/pv-action-bar/pv-action-bar.js +2 -1
- package/pv-components/dist/web/components/pv-action-button/pv-action-button.js +449 -435
- package/pv-components/dist/web/components/pv-ai-button/pv-ai-button.js +2 -1
- package/pv-components/dist/web/components/pv-avatar/pv-avatar.js +2 -1
- package/pv-components/dist/web/components/pv-avatar-group/pv-avatar-group.js +2 -1
- package/pv-components/dist/web/components/pv-banner/pv-banner.js +2 -1
- package/pv-components/dist/web/components/pv-breadcrumbs/pv-breadcrumbs.js +2 -1
- package/pv-components/dist/web/components/pv-button/pv-button.js +2 -1
- package/pv-components/dist/web/components/pv-card/pv-card.js +2 -1
- package/pv-components/dist/web/components/pv-checkbox/pv-checkbox.js +2 -1
- package/pv-components/dist/web/components/pv-company-label/pv-company-label.js +2 -1
- package/pv-components/dist/web/components/pv-company-logo/pv-company-logo.js +2 -1
- package/pv-components/dist/web/components/pv-company-tag/pv-company-tag.js +2 -1
- package/pv-components/dist/web/components/pv-confirmation/pv-confirmation.js +2 -1
- package/pv-components/dist/web/components/pv-counter-badge/pv-counter-badge.js +2 -1
- package/pv-components/dist/web/components/pv-date-picker/pv-date-picker.js +2 -1
- package/pv-components/dist/web/components/pv-date-time/pv-date-time.js +2 -1
- package/pv-components/dist/web/components/pv-distribution-bar/pv-distribution-bar.js +2 -1
- package/pv-components/dist/web/components/pv-drawer/pv-drawer.js +2 -1
- package/pv-components/dist/web/components/pv-dropdown/pv-dropdown.js +2 -1
- package/pv-components/dist/web/components/pv-empty-error-state/pv-empty-error-state.js +2 -1
- package/pv-components/dist/web/components/pv-expandable-content/pv-expandable-content.js +2 -1
- package/pv-components/dist/web/components/pv-file-input/pv-file-input.js +2 -1
- package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +1551 -1537
- package/pv-components/dist/web/components/pv-filter-panel/pv-filter-panel.js +879 -865
- package/pv-components/dist/web/components/pv-ghost-input/pv-ghost-input.js +2 -1
- package/pv-components/dist/web/components/pv-header/pv-header.js +382 -368
- package/pv-components/dist/web/components/pv-horizontal-scroller/pv-horizontal-scroller.js +2 -1
- package/pv-components/dist/web/components/pv-hover-action-menu/pv-hover-action-menu.js +496 -482
- package/pv-components/dist/web/components/pv-icon/pv-icon.js +2 -1
- package/pv-components/dist/web/components/pv-input/pv-input.js +2 -1
- package/pv-components/dist/web/components/pv-insight-card/pv-insight-card.js +2 -1
- package/pv-components/dist/web/components/pv-menu/pv-menu.js +851 -837
- package/pv-components/dist/web/components/pv-modal/pv-modal.js +2 -1
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +1189 -1175
- package/pv-components/dist/web/components/pv-pagination/pv-pagination.js +2 -1
- package/pv-components/dist/web/components/pv-pill/pv-pill.js +2 -1
- package/pv-components/dist/web/components/pv-popover/pv-popover.js +2 -1
- package/pv-components/dist/web/components/pv-popover-menu/pv-popover-menu.js +2 -1
- package/pv-components/dist/web/components/pv-popover-v2/pv-popover-v2.js +497 -483
- package/pv-components/dist/web/components/pv-progress-bar/pv-progress-bar.js +2 -1
- package/pv-components/dist/web/components/pv-prompt-input/pv-prompt-input.js +2 -1
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +1063 -1049
- package/pv-components/dist/web/components/pv-question/pv-question.js +2 -1
- package/pv-components/dist/web/components/pv-radio-group/pv-radio-group.js +2 -1
- package/pv-components/dist/web/components/pv-range/pv-range.js +2 -1
- package/pv-components/dist/web/components/pv-rating/pv-rating.js +2 -1
- package/pv-components/dist/web/components/pv-reasoning/pv-reasoning.js +542 -528
- package/pv-components/dist/web/components/pv-release-badge/pv-release-badge.js +2 -1
- package/pv-components/dist/web/components/pv-search-input/pv-search-input.js +2 -1
- package/pv-components/dist/web/components/pv-segmented-control/pv-segmented-control.js +696 -682
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +1152 -1138
- package/pv-components/dist/web/components/pv-selectable-card/pv-selectable-card.js +2 -1
- package/pv-components/dist/web/components/pv-side-panel/pv-side-panel.js +2 -1
- package/pv-components/dist/web/components/pv-sidebar/pv-sidebar.js +2 -1
- package/pv-components/dist/web/components/pv-sidebar-v2/pv-sidebar-v2.js +529 -508
- package/pv-components/dist/web/components/pv-skeleton/pv-skeleton.js +2 -1
- package/pv-components/dist/web/components/pv-spinner/pv-spinner.js +2 -1
- package/pv-components/dist/web/components/pv-split-button/pv-split-button.js +442 -428
- package/pv-components/dist/web/components/pv-sprite/pv-sprite.js +2 -1
- package/pv-components/dist/web/components/pv-step-list/pv-step-list.js +2 -1
- package/pv-components/dist/web/components/pv-stepper/pv-stepper.js +2 -1
- package/pv-components/dist/web/components/pv-suggestion-tag/pv-suggestion-tag.js +2 -1
- package/pv-components/dist/web/components/pv-switch/pv-switch.js +2 -1
- package/pv-components/dist/web/components/pv-tab-list/pv-tab-list.js +2 -1
- package/pv-components/dist/web/components/pv-table-of-contents/pv-table-of-contents.js +2 -1
- package/pv-components/dist/web/components/pv-tabs/pv-tabs.js +2 -1
- package/pv-components/dist/web/components/pv-tag/pv-tag.js +2 -1
- package/pv-components/dist/web/components/pv-text-area/pv-text-area.js +2 -1
- package/pv-components/dist/web/components/pv-toast/pv-toast.js +2 -1
- package/pv-components/dist/web/components/pv-toggle-button/pv-toggle-button.js +2 -1
- package/pv-components/dist/web/components/pv-toggle-group/pv-toggle-group.js +693 -679
- package/pv-components/dist/web/components/pv-tool/pv-tool.js +2 -1
- package/pv-components/dist/web/components/pv-tooltip/pv-tooltip.js +402 -388
- package/pv-components/dist/web/components/pv-tooltip-v2/pv-tooltip-v2.js +822 -808
- package/pv-components/dist/web/components/pv-tree/pv-tree.js +2 -1
- package/pv-components/dist/web/components/pv-widget/pv-widget.js +2 -1
- package/pv-components/dist/web/pv-components.iife.js +36 -36
- 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
|
|
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
|
-
|
|
746
|
-
|
|
747
|
-
|
|
748
|
-
|
|
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
|
|
791
|
+
var Xe = ["data-status"], Ze = {
|
|
779
792
|
key: 0,
|
|
780
793
|
class: "pv-step-marker",
|
|
781
794
|
"aria-hidden": "true"
|
|
782
|
-
},
|
|
795
|
+
}, Qe = {
|
|
783
796
|
key: 1,
|
|
784
797
|
class: "pv-step-dot"
|
|
785
|
-
},
|
|
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
|
-
},
|
|
801
|
+
}, tt = {
|
|
789
802
|
class: "pv-flex pv-text-body-md pv-text-medium pv-text-default",
|
|
790
803
|
style: { "--flex-wrap": "wrap" }
|
|
791
|
-
},
|
|
804
|
+
}, nt = {
|
|
792
805
|
key: 0,
|
|
793
806
|
class: "pv-tag-highlight"
|
|
794
|
-
},
|
|
807
|
+
}, rt = {
|
|
795
808
|
key: 0,
|
|
796
809
|
class: "pv-text-body-md pv-text-tertiary"
|
|
797
|
-
},
|
|
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
|
-
},
|
|
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",
|
|
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",
|
|
840
|
-
c("p",
|
|
841
|
-
e.note ? (S(), s("p",
|
|
842
|
-
e.tags && e.tags.length > 0 ? (S(), s("ul",
|
|
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",
|
|
848
|
-
], 64))])], 8,
|
|
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"]]),
|
|
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 } =
|
|
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",
|
|
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"]]),
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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
|
-
},
|
|
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",
|
|
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",
|
|
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"]]),
|
|
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
|
|
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,
|
|
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
|