agent-ui-annotation 0.6.0 → 0.6.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.
@@ -1,5 +1,5 @@
1
1
  import I, { useRef as b, useEffect as O, useCallback as u } from "react";
2
- import { r as R } from "../../annotation-element-CZQRsI-4.js";
2
+ import { r as R } from "../../annotation-element-rZQ0z2WN.js";
3
3
  R();
4
4
  const H = ({
5
5
  theme: c = "auto",
@@ -1,8 +1,8 @@
1
1
  import "svelte/internal/disclose-version";
2
2
  import * as e from "svelte/internal/client";
3
3
  import { onMount as O } from "svelte";
4
- import { r as B } from "../../annotation-element-CZQRsI-4.js";
5
- import { a as P } from "../../annotation-element-CZQRsI-4.js";
4
+ import { r as B } from "../../annotation-element-rZQ0z2WN.js";
5
+ import { a as P } from "../../annotation-element-rZQ0z2WN.js";
6
6
  var b = e.from_html("<agent-ui-annotation></agent-ui-annotation>", 2);
7
7
  function D(a, n) {
8
8
  e.push(n, !0);
@@ -1,5 +1,5 @@
1
- import { r as g, j as E } from "../../annotation-element-CZQRsI-4.js";
2
- import { a as h } from "../../annotation-element-CZQRsI-4.js";
1
+ import { r as g, j as E } from "../../annotation-element-rZQ0z2WN.js";
2
+ import { a as h } from "../../annotation-element-rZQ0z2WN.js";
3
3
  g();
4
4
  function y(n = {}) {
5
5
  const {
@@ -1,5 +1,5 @@
1
- import { r as m } from "../../annotation-element-CZQRsI-4.js";
2
- import { a as M } from "../../annotation-element-CZQRsI-4.js";
1
+ import { r as m } from "../../annotation-element-rZQ0z2WN.js";
2
+ import { a as M } from "../../annotation-element-rZQ0z2WN.js";
3
3
  import { defineComponent as A, ref as f, onMounted as C, onUnmounted as y, watch as p, resolveComponent as E, openBlock as L, createBlock as O } from "vue";
4
4
  const R = /* @__PURE__ */ A({
5
5
  __name: "AgentUIAnnotation",
@@ -1,5 +1,5 @@
1
- import { r as e } from "./annotation-element-CZQRsI-4.js";
2
- import { A as o, a as r, c as s, b as i, d as c, e as l, f as m, g as A, h as f, i as g, j as p, k as E, l as O, t as h, m as C, z as N } from "./annotation-element-CZQRsI-4.js";
1
+ import { r as e } from "./annotation-element-rZQ0z2WN.js";
2
+ import { A as o, a as r, c as s, b as i, d as c, e as l, f as m, g as A, h as f, i as g, j as p, k as E, l as O, t as h, m as C, z as N } from "./annotation-element-rZQ0z2WN.js";
3
3
  import { createAnnotation as x, init as I } from "./adapters/vanilla/index.js";
4
4
  e();
5
5
  export {
@@ -2274,10 +2274,10 @@ function Do(n, e) {
2274
2274
  };
2275
2275
  return {
2276
2276
  attach: () => {
2277
- t || (document.addEventListener("click", s, !0), document.addEventListener("mousedown", i, !0), document.addEventListener("mousemove", a, !0), document.addEventListener("mouseup", r, !0), document.addEventListener("scroll", c, { passive: !0 }), document.addEventListener("keydown", d, !0), document.addEventListener("keyup", p, !0), t = !0);
2277
+ t || (document.addEventListener("click", s, !0), document.addEventListener("mousedown", i, !0), document.addEventListener("mousemove", a, !0), document.addEventListener("mouseup", r, !0), document.addEventListener("scroll", c, { passive: !0 }), document.addEventListener("keydown", d), document.addEventListener("keyup", p), t = !0);
2278
2278
  },
2279
2279
  detach: () => {
2280
- t && (document.removeEventListener("click", s, !0), document.removeEventListener("mousedown", i, !0), document.removeEventListener("mousemove", a, !0), document.removeEventListener("mouseup", r, !0), document.removeEventListener("scroll", c), document.removeEventListener("keydown", d, !0), document.removeEventListener("keyup", p, !0), t = !1);
2280
+ t && (document.removeEventListener("click", s, !0), document.removeEventListener("mousedown", i, !0), document.removeEventListener("mousemove", a, !0), document.removeEventListener("mouseup", r, !0), document.removeEventListener("scroll", c), document.removeEventListener("keydown", d), document.removeEventListener("keyup", p), t = !1);
2281
2281
  },
2282
2282
  isActive: () => t
2283
2283
  };
@@ -4397,4 +4397,4 @@ export {
4397
4397
  y as t,
4398
4398
  Mo as z
4399
4399
  };
4400
- //# sourceMappingURL=annotation-element-CZQRsI-4.js.map
4400
+ //# sourceMappingURL=annotation-element-rZQ0z2WN.js.map