@oscloudlab/vgen-agent-assistant 0.0.1 → 0.0.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.
- package/dist/types/index.d.ts +2 -2
- package/dist/types/src/components/VgenAgent/type.d.ts +1 -0
- package/dist/vgen-agent-assistant.css +1 -1
- package/dist/vgen-agent-assistant.css.gz +0 -0
- package/dist/vgen-agent-assistant.es.js +4 -4
- package/dist/vgen-agent-assistant.es.js.gz +0 -0
- package/dist/vgen-agent-assistant.umd.js +8 -8
- package/dist/vgen-agent-assistant.umd.js.gz +0 -0
- package/package.json +1 -1
|
Binary file
|
|
@@ -61022,6 +61022,7 @@ const AnalyzeUrl = (props) => {
|
|
|
61022
61022
|
};
|
|
61023
61023
|
const VgenAgent = forwardRef((props, ref) => {
|
|
61024
61024
|
const {
|
|
61025
|
+
containerRef,
|
|
61025
61026
|
token: token2,
|
|
61026
61027
|
viewMode = "default",
|
|
61027
61028
|
courseInfo,
|
|
@@ -61057,7 +61058,6 @@ const VgenAgent = forwardRef((props, ref) => {
|
|
|
61057
61058
|
const [quotedText, setQuotedText] = useState("");
|
|
61058
61059
|
const [sessionList, setSessionList] = useState([]);
|
|
61059
61060
|
const isDragging2 = useRef(false);
|
|
61060
|
-
const constraintsRef = useRef(null);
|
|
61061
61061
|
const scrollRef = useRef(null);
|
|
61062
61062
|
const scrollToBottomTimer = useRef(null);
|
|
61063
61063
|
const tagsTextareaRef = useRef(null);
|
|
@@ -61855,7 +61855,7 @@ const VgenAgent = forwardRef((props, ref) => {
|
|
|
61855
61855
|
break;
|
|
61856
61856
|
}
|
|
61857
61857
|
};
|
|
61858
|
-
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", {
|
|
61858
|
+
return /* @__PURE__ */ jsxRuntimeExports.jsxs("div", { children: [
|
|
61859
61859
|
/* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "flex flex-1 overflow-hidden", children: /* @__PURE__ */ jsxRuntimeExports.jsx("div", { className: "fixed inset-0 pointer-events-none z-50", children: /* @__PURE__ */ jsxRuntimeExports.jsx(AnimatePresence, { children: !isAiPanelOpen ? (
|
|
61860
61860
|
/* Floating Ball State */
|
|
61861
61861
|
/* @__PURE__ */ jsxRuntimeExports.jsxs(
|
|
@@ -61863,7 +61863,7 @@ const VgenAgent = forwardRef((props, ref) => {
|
|
|
61863
61863
|
{
|
|
61864
61864
|
drag: true,
|
|
61865
61865
|
dragMomentum: false,
|
|
61866
|
-
dragConstraints:
|
|
61866
|
+
dragConstraints: containerRef,
|
|
61867
61867
|
dragElastic: 0.1,
|
|
61868
61868
|
onDragStart: () => {
|
|
61869
61869
|
isDragging2.current = true;
|
|
@@ -61908,7 +61908,7 @@ const VgenAgent = forwardRef((props, ref) => {
|
|
|
61908
61908
|
dragControls,
|
|
61909
61909
|
dragListener: false,
|
|
61910
61910
|
dragMomentum: false,
|
|
61911
|
-
dragConstraints:
|
|
61911
|
+
dragConstraints: containerRef,
|
|
61912
61912
|
initial: {
|
|
61913
61913
|
opacity: 0,
|
|
61914
61914
|
scale: 0.9,
|
|
Binary file
|