@turquoisehealth/pit-viper 2.240.1 → 2.240.3-dev.0
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/_site/assets/css/pit-viper-a11y.css +26 -11
- package/_site/assets/css/pit-viper-consumer.css +26 -11
- package/_site/assets/css/pit-viper-v2-scoped.css +23 -11
- package/_site/assets/css/pit-viper-v2.css +27 -12
- package/_site/assets/css/pit-viper.css +26 -11
- 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-dropdown-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-filter-modal-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-menu-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-multi-select-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-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-query-builder-input-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-reasoning-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-select-button-stats.html +1 -1
- package/pv-components/dist/stats/web/pv-step-list-stats.html +1 -1
- package/pv-components/dist/vue/ai/components/base/PvDropdown/PvDropdown.vue.d.ts +7 -4
- package/pv-components/dist/vue/ai/components/base/PvPopover/PvPopover.vue.d.ts +6 -3
- package/pv-components/dist/vue/ai/pv-components-ai.mjs +33 -35
- package/pv-components/dist/vue/ai/pv-components-ai.mjs.map +1 -1
- package/pv-components/dist/vue/base/components/base/PvDropdown/PvDropdown.vue.d.ts +7 -4
- package/pv-components/dist/vue/base/components/base/PvPopover/PvPopover.vue.d.ts +6 -3
- package/pv-components/dist/vue/base/pv-components-base.mjs +559 -552
- package/pv-components/dist/vue/base/pv-components-base.mjs.map +1 -1
- package/pv-components/dist/vue/visualizations/components/base/PvDropdown/PvDropdown.vue.d.ts +7 -4
- package/pv-components/dist/vue/visualizations/components/base/PvPopover/PvPopover.vue.d.ts +6 -3
- package/pv-components/dist/vue/visualizations/components/base/PvSortableList/PvSortableList.vue.d.ts +7 -0
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/table-chart-components/PvChartOptionsPanel.vue.d.ts +6 -0
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/table-chart-components/PvTableOptionsPanel.vue.d.ts +7 -4
- package/pv-components/dist/vue/visualizations/components/charts/PvDataTableWithChart/types.d.ts +14 -0
- package/pv-components/dist/vue/visualizations/components/tables/PvDataTable/table-components/FilterGroupMenu.vue.d.ts +7 -4
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs +584 -553
- package/pv-components/dist/vue/visualizations/pv-components-visualizations.mjs.map +1 -1
- package/pv-components/dist/web/components/pv-dropdown/pv-dropdown.js +12 -8
- package/pv-components/dist/web/components/pv-filter-modal/pv-filter-modal.js +11 -7
- package/pv-components/dist/web/components/pv-menu/pv-menu.js +11 -7
- package/pv-components/dist/web/components/pv-multi-select-button/pv-multi-select-button.js +11 -7
- package/pv-components/dist/web/components/pv-popover/pv-popover.js +11 -7
- package/pv-components/dist/web/components/pv-popover-menu/pv-popover-menu.js +11 -7
- package/pv-components/dist/web/components/pv-query-builder-input/pv-query-builder-input.js +1053 -1042
- package/pv-components/dist/web/components/pv-reasoning/pv-reasoning.js +522 -524
- package/pv-components/dist/web/components/pv-select-button/pv-select-button.js +11 -7
- package/pv-components/dist/web/components/pv-step-list/pv-step-list.js +372 -369
- package/pv-components/dist/web/pv-components.iife.js +36 -36
- 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}.input-icon-position{pointer-events:none;position:absolute;top:8px;left:12px}.pv-question[data-v-f0a8e7cc]{--card-radius:.75rem;box-shadow:0 4px 16px #00000029}.pv-question__listbox[data-v-f0a8e7cc]:focus-visible{outline:2px solid var(--color-border-accent,#36c5ba);outline-offset:2px;border-radius:.5rem}.pv-question__option[data-v-f0a8e7cc],.pv-question__chat[data-v-f0a8e7cc]{cursor:pointer;min-width:0}.pv-question__option[data-active][data-v-f0a8e7cc],.pv-question__chat[data-active][data-v-f0a8e7cc]{background-color:var(--card-hover-background-color,#e8f2f4)}.pv-question__option[data-v-f0a8e7cc]:active,.pv-question__chat[data-v-f0a8e7cc]:active{background-color:var(--card-pressed-background-color,#c7d8db)}.pv-question__chevron[data-v-f0a8e7cc]{visibility:hidden;margin-inline-start:auto}.pv-question__option[data-active] .pv-question__chevron[data-v-f0a8e7cc],.pv-question__chat[data-active] .pv-question__chevron[data-v-f0a8e7cc]{visibility:visible}.pv-question__check[data-v-f0a8e7cc]{margin-inline-start:auto}.pv-question__option[aria-selected=true] .pv-question__chevron[data-v-f0a8e7cc]{display:none}.pv-question__chat-badge[data-v-f0a8e7cc]{--flex-gap:0;background-color:var(--badge-tertiary-background-color,#e0e5e4);flex:0 0 1rem;justify-content:center;height:1rem}.pv-question__chat-input[data-v-f0a8e7cc] .pv-input-text{min-width:0}.pv-confirmation__actions[data-v-c200deca]{--flex-justify:flex-end}.pv-prompt-input[data-v-155361b4]{--flex-align:stretch;cursor:text;transition-property:border-color,box-shadow;transition-duration:.125s}.pv-prompt-input[data-v-155361b4]:hover{border-color:var(--text-input-hover-border-color,#d2d8dc);box-shadow:0 .25px 3px #0003}.pv-prompt-input[data-v-155361b4]:focus-within{border-color:var(--text-input-focus-border-color,#36c5ba)}.pv-prompt-input__textarea[data-v-155361b4]{--flex-align:stretch;width:100%}.pv-prompt-input__textarea[data-v-155361b4] textarea{field-sizing:content;max-height:var(--prompt-input-max-height);resize:none;background-color:#0000;border:0;width:100%;min-width:0;padding:0;overflow-y:auto}.pv-prompt-input__textarea[data-v-155361b4] textarea:focus,.pv-prompt-input__textarea[data-v-155361b4] textarea:focus-visible{outline:none}.pv-prompt-input__footer[data-v-155361b4]{--flex-justify:space-between}.pv-prompt-input__actions[data-v-155361b4]{min-width:0}summary[data-v-a64056ef]{background-image:none;padding-right:2px}.pv-step-aside[data-v-
|
|
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}.input-icon-position{pointer-events:none;position:absolute;top:8px;left:12px}.pv-question[data-v-f0a8e7cc]{--card-radius:.75rem;box-shadow:0 4px 16px #00000029}.pv-question__listbox[data-v-f0a8e7cc]:focus-visible{outline:2px solid var(--color-border-accent,#36c5ba);outline-offset:2px;border-radius:.5rem}.pv-question__option[data-v-f0a8e7cc],.pv-question__chat[data-v-f0a8e7cc]{cursor:pointer;min-width:0}.pv-question__option[data-active][data-v-f0a8e7cc],.pv-question__chat[data-active][data-v-f0a8e7cc]{background-color:var(--card-hover-background-color,#e8f2f4)}.pv-question__option[data-v-f0a8e7cc]:active,.pv-question__chat[data-v-f0a8e7cc]:active{background-color:var(--card-pressed-background-color,#c7d8db)}.pv-question__chevron[data-v-f0a8e7cc]{visibility:hidden;margin-inline-start:auto}.pv-question__option[data-active] .pv-question__chevron[data-v-f0a8e7cc],.pv-question__chat[data-active] .pv-question__chevron[data-v-f0a8e7cc]{visibility:visible}.pv-question__check[data-v-f0a8e7cc]{margin-inline-start:auto}.pv-question__option[aria-selected=true] .pv-question__chevron[data-v-f0a8e7cc]{display:none}.pv-question__chat-badge[data-v-f0a8e7cc]{--flex-gap:0;background-color:var(--badge-tertiary-background-color,#e0e5e4);flex:0 0 1rem;justify-content:center;height:1rem}.pv-question__chat-input[data-v-f0a8e7cc] .pv-input-text{min-width:0}.pv-confirmation__actions[data-v-c200deca]{--flex-justify:flex-end}.pv-prompt-input[data-v-155361b4]{--flex-align:stretch;cursor:text;transition-property:border-color,box-shadow;transition-duration:.125s}.pv-prompt-input[data-v-155361b4]:hover{border-color:var(--text-input-hover-border-color,#d2d8dc);box-shadow:0 .25px 3px #0003}.pv-prompt-input[data-v-155361b4]:focus-within{border-color:var(--text-input-focus-border-color,#36c5ba)}.pv-prompt-input__textarea[data-v-155361b4]{--flex-align:stretch;width:100%}.pv-prompt-input__textarea[data-v-155361b4] textarea{field-sizing:content;max-height:var(--prompt-input-max-height);resize:none;background-color:#0000;border:0;width:100%;min-width:0;padding:0;overflow-y:auto}.pv-prompt-input__textarea[data-v-155361b4] textarea:focus,.pv-prompt-input__textarea[data-v-155361b4] textarea:focus-visible{outline:none}.pv-prompt-input__footer[data-v-155361b4]{--flex-justify:space-between}.pv-prompt-input__actions[data-v-155361b4]{min-width:0}summary[data-v-a64056ef]{background-image:none;padding-right:2px}.pv-step-aside[data-v-d63b7536]{white-space:pre-line}.pv-step-enter-active[data-v-d63b7536]{transition-property:opacity,transform;transition-duration:.32s;transition-timing-function:ease}.pv-step-enter-from[data-v-d63b7536]{opacity:0;transform:translateY(6px)}.pv-reasoning[data-v-a9703804]{--accordion-background-color:var(--reasoning-background-color,transparent);--accordion-summary-background-color:var(--reasoning-trigger-background-color,transparent);--accordion-arrow-right-summary-padding:var(--reasoning-trigger-padding,.25rem 2px .25rem .125rem);--accordion-content-padding:0}.pv-reasoning__trigger .pv-shimmer[data-v-a9703804]{--shimmer-rgb:var(--reasoning-shimmer-rgb,247, 248, 248)}.pv-reasoning__standalone[data-v-a9703804]{padding:var(--reasoning-trigger-padding,.25rem 2px .25rem .125rem);margin-inline-start:calc(1rem + var(--flex-gap,.5rem))}.pv-reasoning__content[data-v-a9703804]{padding-block:var(--reasoning-content-gap,1rem) .5rem;white-space:pre-wrap;padding-inline-start:var(--reasoning-content-indent,calc(.125rem + 2rem + 1rem - (var(--step-list-marker-size,9px) / 2)))}.pv-reasoning__content[data-v-a9703804] :where(ol,ul,dl,table,figure){white-space:normal}.pv-tool__disclosure-content[data-v-a5e28b1a]{padding:0 12px 12px}.pv-tool__heading[data-v-a5e28b1a]{min-width:0}.pv-tool__content[data-v-a5e28b1a]{padding-top:12px}pre[data-v-a5e28b1a]{white-space:pre-wrap;word-break:break-word;max-width:100%;margin:0;overflow-x:auto}
|
|
2
2
|
/*$vite$:1*/`)),document.head.appendChild(e)}}catch(e){console.error(`vite-plugin-css-injected-by-js`,e)}})();import { Comment as e, Fragment as t, Text as n, TransitionGroup as r, computed as i, createBlock as a, createCommentVNode as o, createElementBlock as s, createElementVNode as c, createTextVNode as l, createVNode as u, defineComponent as d, getCurrentInstance as f, mergeModels as p, mergeProps as m, nextTick as h, normalizeClass as g, normalizeStyle as _, onBeforeUnmount as v, onBeforeUpdate as y, onMounted as b, onScopeDispose as x, openBlock as S, ref as C, renderList as w, renderSlot as T, toDisplayString as E, unref as D, useId as O, useModel as k, useSlots as A, useTemplateRef as j, vModelDynamic as M, vModelText as N, watch as P, withCtx as F, withDirectives as I, withKeys as ee, withModifiers as L } from "vue";
|
|
3
3
|
//#endregion
|
|
4
4
|
//#region src/components/base/PvSpinner/PvSpinner.vue
|
|
@@ -795,19 +795,16 @@ var Xe = ["data-status"], Ze = {
|
|
|
795
795
|
}, Qe = {
|
|
796
796
|
key: 1,
|
|
797
797
|
class: "pv-step-dot"
|
|
798
|
-
}, $e = { class: "pv-step-body pv-flow-
|
|
798
|
+
}, $e = { class: "pv-step-body pv-flow-8" }, et = {
|
|
799
799
|
key: 0,
|
|
800
800
|
class: "pv-step-aside pv-text-body-md pv-text-tertiary"
|
|
801
801
|
}, tt = {
|
|
802
|
-
class: "pv-flex pv-text-body-md pv-text-medium pv-text-default",
|
|
803
|
-
style: { "--flex-wrap": "wrap" }
|
|
804
|
-
}, nt = {
|
|
805
802
|
key: 0,
|
|
806
803
|
class: "pv-tag-highlight"
|
|
807
|
-
},
|
|
804
|
+
}, nt = {
|
|
808
805
|
key: 0,
|
|
809
806
|
class: "pv-text-body-md pv-text-tertiary"
|
|
810
|
-
},
|
|
807
|
+
}, Q = {
|
|
811
808
|
key: 1,
|
|
812
809
|
class: "pv-flex",
|
|
813
810
|
role: "list",
|
|
@@ -815,10 +812,10 @@ var Xe = ["data-status"], Ze = {
|
|
|
815
812
|
"--flex-wrap": "wrap",
|
|
816
813
|
"--flex-gap": "4px"
|
|
817
814
|
}
|
|
818
|
-
},
|
|
815
|
+
}, rt = {
|
|
819
816
|
key: 2,
|
|
820
817
|
class: "pv-text-body-md pv-text-medium pv-text-brand"
|
|
821
|
-
},
|
|
818
|
+
}, $ = /* @__PURE__ */ W(/* @__PURE__ */ d({
|
|
822
819
|
__name: "PvStepList",
|
|
823
820
|
props: {
|
|
824
821
|
inProgress: {
|
|
@@ -835,6 +832,9 @@ var Xe = ["data-status"], Ze = {
|
|
|
835
832
|
function u(e, t) {
|
|
836
833
|
return e.status ? e.status : e.variant === "aside" ? "complete" : n.inProgress && t === l.value ? "active" : "complete";
|
|
837
834
|
}
|
|
835
|
+
function d(e, t) {
|
|
836
|
+
return u(e, t) === "active" ? "pv-text-medium pv-text-default" : "pv-text-quaternary";
|
|
837
|
+
}
|
|
838
838
|
return (n, i) => (S(), a(r, {
|
|
839
839
|
tag: "ol",
|
|
840
840
|
name: "pv-step",
|
|
@@ -850,19 +850,22 @@ var Xe = ["data-status"], Ze = {
|
|
|
850
850
|
name: e.icon,
|
|
851
851
|
size: 12
|
|
852
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",
|
|
854
|
-
|
|
855
|
-
|
|
853
|
+
c("p", {
|
|
854
|
+
class: g(["pv-flex pv-text-body-md", d(e, n)]),
|
|
855
|
+
style: { "--flex-wrap": "wrap" }
|
|
856
|
+
}, [c("span", { class: g({ "pv-shimmer": u(e, n) === "active" }) }, E(e.label), 3), e.artifact ? (S(), s("span", tt, E(e.artifact), 1)) : o("", !0)], 2),
|
|
857
|
+
e.note ? (S(), s("p", nt, E(e.note), 1)) : o("", !0),
|
|
858
|
+
e.tags && e.tags.length > 0 ? (S(), s("ul", Q, [(S(!0), s(t, null, w(e.tags, (e, t) => (S(), s("li", {
|
|
856
859
|
key: t,
|
|
857
860
|
class: g(["pv-tag-secondary", { "pv-text-quaternary": e.variant === "muted" }]),
|
|
858
861
|
"data-style": "rounded"
|
|
859
862
|
}, E(e.label), 3))), 128))])) : o("", !0),
|
|
860
|
-
e.outcome ? (S(), s("p",
|
|
863
|
+
e.outcome ? (S(), s("p", rt, " →\xA0" + E(e.outcome), 1)) : o("", !0)
|
|
861
864
|
], 64))])], 8, Xe))), 128))]),
|
|
862
865
|
_: 1
|
|
863
866
|
}));
|
|
864
867
|
}
|
|
865
|
-
}), [["__scopeId", "data-v-
|
|
868
|
+
}), [["__scopeId", "data-v-d63b7536"]]), it = { class: "pv-reasoning__content pv-text-body-md pv-text-tertiary" }, at = /* @__PURE__ */ W(/* @__PURE__ */ d({
|
|
866
869
|
__name: "PvReasoning",
|
|
867
870
|
props: /* @__PURE__ */ p({
|
|
868
871
|
autoCloseDelay: { default: 1e3 },
|
|
@@ -929,19 +932,17 @@ var Xe = ["data-status"], Ze = {
|
|
|
929
932
|
"chevron-variant": "horizontal",
|
|
930
933
|
"enable-trigger-full-width": "",
|
|
931
934
|
"enable-trigger-slot": "",
|
|
935
|
+
"summary-classes": { "pv-text-tertiary": !0 },
|
|
932
936
|
"summary-styles": { justifyContent: "flex-start" },
|
|
933
937
|
onClick: N
|
|
934
938
|
}, {
|
|
935
939
|
trigger: F(() => [c("span", {
|
|
936
940
|
ref_key: "triggerRef",
|
|
937
941
|
ref: x,
|
|
938
|
-
class: "pv-reasoning__trigger pv-flex pv-text-
|
|
942
|
+
class: "pv-reasoning__trigger pv-flex pv-text-body-md pv-text-medium",
|
|
939
943
|
"aria-live": "polite"
|
|
940
|
-
}, [T(e.$slots, "trigger", {}, () => [u(U, {
|
|
941
|
-
|
|
942
|
-
size: 20
|
|
943
|
-
}), c("span", { class: g({ "pv-shimmer": r.isStreaming }) }, E(y.value), 3)], !0)], 512)]),
|
|
944
|
-
default: F(() => [c("div", ot, [r.steps.length > 0 ? (S(), a(Q, {
|
|
944
|
+
}, [T(e.$slots, "trigger", {}, () => [u(U, { name: "brain" }), c("span", { class: g(["pv-text-subdued", { "pv-shimmer": r.isStreaming }]) }, E(y.value), 3)], !0)], 512)]),
|
|
945
|
+
default: F(() => [c("div", it, [r.steps.length > 0 ? (S(), a($, {
|
|
945
946
|
key: 0,
|
|
946
947
|
steps: r.steps,
|
|
947
948
|
"in-progress": r.isStreaming
|
|
@@ -951,25 +952,22 @@ var Xe = ["data-status"], Ze = {
|
|
|
951
952
|
key: 1,
|
|
952
953
|
ref_key: "triggerRef",
|
|
953
954
|
ref: x,
|
|
954
|
-
class: "pv-reasoning__trigger pv-reasoning__standalone pv-flex pv-text-
|
|
955
|
+
class: "pv-reasoning__trigger pv-reasoning__standalone pv-flex pv-text-body-md pv-text-medium pv-text-tertiary",
|
|
955
956
|
"aria-live": "polite"
|
|
956
|
-
}, [T(e.$slots, "trigger", {}, () => [u(U, {
|
|
957
|
-
name: "brain",
|
|
958
|
-
size: 20
|
|
959
|
-
}), c("span", { class: g({ "pv-shimmer": r.isStreaming }) }, E(y.value), 3)], !0)], 512));
|
|
957
|
+
}, [T(e.$slots, "trigger", {}, () => [u(U, { name: "brain" }), c("span", { class: g(["pv-text-subdued", { "pv-shimmer": r.isStreaming }]) }, E(y.value), 3)], !0)], 512));
|
|
960
958
|
}
|
|
961
|
-
}), [["__scopeId", "data-v-
|
|
959
|
+
}), [["__scopeId", "data-v-a9703804"]]), ot = { class: "pv-tool__heading pv-flex pv-flex-item" }, st = { class: "pv-text-title-sm pv-truncate" }, ct = { class: "pv-tool__disclosure-content" }, lt = { class: "pv-flow-16 pv-border-top pv-tool__content" }, ut = {
|
|
962
960
|
key: 0,
|
|
963
961
|
class: "pv-flow-8"
|
|
964
|
-
},
|
|
962
|
+
}, dt = { class: "pv-surface-accent pv-inset-square-12 pv-radius-sm pv-text-body-xs" }, ft = {
|
|
965
963
|
key: 1,
|
|
966
964
|
class: "pv-flow-8",
|
|
967
965
|
role: "alert",
|
|
968
966
|
"aria-label": "Tool error"
|
|
969
|
-
},
|
|
967
|
+
}, pt = { class: "pv-surface-critical pv-inset-square-12 pv-radius-sm pv-text-body-xs pv-text-critical" }, mt = {
|
|
970
968
|
key: 2,
|
|
971
969
|
class: "pv-flow-8"
|
|
972
|
-
},
|
|
970
|
+
}, ht = { class: "pv-surface-accent pv-inset-square-12 pv-radius-sm pv-text-body-xs" }, gt = /* @__PURE__ */ W(/* @__PURE__ */ d({
|
|
973
971
|
__name: "PvTool",
|
|
974
972
|
props: /* @__PURE__ */ p({
|
|
975
973
|
defaultOpen: {
|
|
@@ -1057,22 +1055,22 @@ var Xe = ["data-status"], Ze = {
|
|
|
1057
1055
|
"enable-trigger-slot": "",
|
|
1058
1056
|
"summary-classes": { "pv-inset-square-12": !0 }
|
|
1059
1057
|
}, {
|
|
1060
|
-
trigger: F(() => [c("span",
|
|
1058
|
+
trigger: F(() => [c("span", ot, [
|
|
1061
1059
|
u(U, {
|
|
1062
1060
|
name: "settings",
|
|
1063
1061
|
size: 20
|
|
1064
1062
|
}),
|
|
1065
|
-
c("span",
|
|
1063
|
+
c("span", st, E(e.toolName), 1),
|
|
1066
1064
|
c("span", {
|
|
1067
1065
|
class: g([l.value.className, "pv-tag-sm"]),
|
|
1068
1066
|
role: "status"
|
|
1069
1067
|
}, E(l.value.label), 3)
|
|
1070
1068
|
])]),
|
|
1071
|
-
default: F(() => [c("div",
|
|
1069
|
+
default: F(() => [c("div", ct, [c("div", lt, [t.$slots.input || e.input !== void 0 ? (S(), s("section", ut, [r[1] ||= c("h3", { class: "pv-text-title-xs" }, "Parameters", -1), T(t.$slots, "input", { input: e.input }, () => [c("pre", dt, [c("code", null, E(d(e.input)), 1)])], !0)])) : o("", !0), e.errorText ? (S(), s("section", ft, [r[2] ||= c("h3", { class: "pv-text-title-xs pv-text-critical" }, "Error", -1), c("pre", pt, E(e.errorText), 1)])) : t.$slots.output || e.output !== void 0 ? (S(), s("section", mt, [r[3] ||= c("h3", { class: "pv-text-title-xs" }, "Result", -1), T(t.$slots, "output", { output: e.output }, () => [c("pre", ht, [c("code", null, E(d(e.output)), 1)])], !0)])) : o("", !0)])])]),
|
|
1072
1070
|
_: 3
|
|
1073
1071
|
}, 8, ["modelValue", "default-open"]));
|
|
1074
1072
|
}
|
|
1075
|
-
}), [["__scopeId", "data-v-a5e28b1a"]]),
|
|
1073
|
+
}), [["__scopeId", "data-v-a5e28b1a"]]), _t = [
|
|
1076
1074
|
"input-streaming",
|
|
1077
1075
|
"input-available",
|
|
1078
1076
|
"approval-requested",
|
|
@@ -1083,7 +1081,7 @@ var Xe = ["data-status"], Ze = {
|
|
|
1083
1081
|
];
|
|
1084
1082
|
//#endregion
|
|
1085
1083
|
//#region src/components/ai/useStickToBottom.ts
|
|
1086
|
-
function
|
|
1084
|
+
function vt(e, t = {}) {
|
|
1087
1085
|
let n = t.threshold ?? 32, r = C(!0);
|
|
1088
1086
|
function i() {
|
|
1089
1087
|
let t = e.value;
|
|
@@ -1123,6 +1121,6 @@ function yt(e, t = {}) {
|
|
|
1123
1121
|
};
|
|
1124
1122
|
}
|
|
1125
1123
|
//#endregion
|
|
1126
|
-
export { Me as PvConfirmation, He as PvPromptInput, Ee as PvQuestion,
|
|
1124
|
+
export { Me as PvConfirmation, He as PvPromptInput, Ee as PvQuestion, at as PvReasoning, $ as PvStepList, gt as PvTool, Ue as promptInputStatuses, _t as toolLifecycleStates, vt as useStickToBottom };
|
|
1127
1125
|
|
|
1128
1126
|
//# sourceMappingURL=pv-components-ai.mjs.map
|