@liuovo/agentation-vue-ui 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.
Files changed (80) hide show
  1. package/LICENSE +27 -0
  2. package/README.md +32 -0
  3. package/dist/components/icons.d.ts +63 -0
  4. package/dist/components/icons.d.ts.map +1 -0
  5. package/dist/components/icons.js +396 -0
  6. package/dist/components/icons.js.map +1 -0
  7. package/dist/composables/useAnnotationsStore.d.ts +30 -0
  8. package/dist/composables/useAnnotationsStore.d.ts.map +1 -0
  9. package/dist/composables/useAnnotationsStore.js +234 -0
  10. package/dist/composables/useAnnotationsStore.js.map +1 -0
  11. package/dist/composables/useAreaSelection.d.ts +19 -0
  12. package/dist/composables/useAreaSelection.d.ts.map +1 -0
  13. package/dist/composables/useAreaSelection.js +58 -0
  14. package/dist/composables/useAreaSelection.js.map +1 -0
  15. package/dist/composables/useExport.d.ts +17 -0
  16. package/dist/composables/useExport.d.ts.map +1 -0
  17. package/dist/composables/useExport.js +51 -0
  18. package/dist/composables/useExport.js.map +1 -0
  19. package/dist/composables/useFreezeState.d.ts +22 -0
  20. package/dist/composables/useFreezeState.d.ts.map +1 -0
  21. package/dist/composables/useFreezeState.js +28 -0
  22. package/dist/composables/useFreezeState.js.map +1 -0
  23. package/dist/composables/useI18n.d.ts +14 -0
  24. package/dist/composables/useI18n.d.ts.map +1 -0
  25. package/dist/composables/useI18n.js +18 -0
  26. package/dist/composables/useI18n.js.map +1 -0
  27. package/dist/composables/useKeyboard.d.ts +30 -0
  28. package/dist/composables/useKeyboard.d.ts.map +1 -0
  29. package/dist/composables/useKeyboard.js +122 -0
  30. package/dist/composables/useKeyboard.js.map +1 -0
  31. package/dist/composables/useOverlay.d.ts +27 -0
  32. package/dist/composables/useOverlay.d.ts.map +1 -0
  33. package/dist/composables/useOverlay.js +93 -0
  34. package/dist/composables/useOverlay.js.map +1 -0
  35. package/dist/composables/useSelection.d.ts +17 -0
  36. package/dist/composables/useSelection.d.ts.map +1 -0
  37. package/dist/composables/useSelection.js +38 -0
  38. package/dist/composables/useSelection.js.map +1 -0
  39. package/dist/composables/useSettings.d.ts +75 -0
  40. package/dist/composables/useSettings.d.ts.map +1 -0
  41. package/dist/composables/useSettings.js +115 -0
  42. package/dist/composables/useSettings.js.map +1 -0
  43. package/dist/composables/useToolbarDrag.d.ts +28 -0
  44. package/dist/composables/useToolbarDrag.d.ts.map +1 -0
  45. package/dist/composables/useToolbarDrag.js +253 -0
  46. package/dist/composables/useToolbarDrag.js.map +1 -0
  47. package/dist/i18n/en.d.ts +3 -0
  48. package/dist/i18n/en.d.ts.map +1 -0
  49. package/dist/i18n/en.js +85 -0
  50. package/dist/i18n/en.js.map +1 -0
  51. package/dist/i18n/index.d.ts +11 -0
  52. package/dist/i18n/index.d.ts.map +1 -0
  53. package/dist/i18n/index.js +23 -0
  54. package/dist/i18n/index.js.map +1 -0
  55. package/dist/i18n/types.d.ts +90 -0
  56. package/dist/i18n/types.d.ts.map +1 -0
  57. package/dist/i18n/types.js +2 -0
  58. package/dist/i18n/types.js.map +1 -0
  59. package/dist/i18n/zh-CN.d.ts +3 -0
  60. package/dist/i18n/zh-CN.d.ts.map +1 -0
  61. package/dist/i18n/zh-CN.js +85 -0
  62. package/dist/i18n/zh-CN.js.map +1 -0
  63. package/dist/index.d.ts +21 -0
  64. package/dist/index.d.ts.map +1 -0
  65. package/dist/index.js +14 -0
  66. package/dist/index.js.map +1 -0
  67. package/dist/injection-keys.d.ts +18 -0
  68. package/dist/injection-keys.d.ts.map +1 -0
  69. package/dist/injection-keys.js +9 -0
  70. package/dist/injection-keys.js.map +1 -0
  71. package/dist/tsconfig.tsbuildinfo +1 -0
  72. package/dist/types.d.ts +83 -0
  73. package/dist/types.d.ts.map +1 -0
  74. package/dist/types.js +2 -0
  75. package/dist/types.js.map +1 -0
  76. package/dist/utils.d.ts +7 -0
  77. package/dist/utils.d.ts.map +1 -0
  78. package/dist/utils.js +13 -0
  79. package/dist/utils.js.map +1 -0
  80. package/package.json +47 -0
package/LICENSE ADDED
@@ -0,0 +1,27 @@
1
+ PolyForm Shield License 1.0.0
2
+
3
+ Copyright (c) 2026 Benji Taylor
4
+
5
+ Permission is hereby granted, free of charge, to any person obtaining a copy
6
+ of this software and associated documentation files (the "Software"), to use,
7
+ copy, modify, and distribute the Software, subject to the following conditions:
8
+
9
+ 1. You may not use the Software to provide a product or service that competes
10
+ with the Software or any product or service offered by the Licensor that
11
+ includes the Software.
12
+
13
+ 2. You may not remove or obscure any licensing, copyright, or other notices
14
+ included in the Software.
15
+
16
+ 3. If you distribute the Software or any derivative works, you must include a
17
+ copy of this license.
18
+
19
+ THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
20
+ IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
21
+ FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
22
+ AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
23
+ LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
24
+ OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE
25
+ SOFTWARE.
26
+
27
+ For more information, see https://polyformproject.org/licenses/shield/1.0.0
package/README.md ADDED
@@ -0,0 +1,32 @@
1
+ # @liuovo/agentation-vue-ui
2
+
3
+ Vue 3 UI package for `agentation-vue`.
4
+
5
+ It contains the floating toolbar, popover, marker and highlight layers, and
6
+ the composables that drive the annotation overlay.
7
+
8
+ ## Install
9
+
10
+ ```bash
11
+ pnpm add @liuovo/agentation-vue-ui
12
+ ```
13
+
14
+ ## Recommended Usage
15
+
16
+ Most users should install
17
+ [`vite-plugin-agentation-vue`](../vite-plugin-agentation-vue/README.md) for
18
+ one-line dev integration.
19
+
20
+ Use `@liuovo/agentation-vue-ui` directly only if you are building a custom runtime or
21
+ embedding the overlay yourself.
22
+
23
+ ## Exports
24
+
25
+ - `OverlayRoot`
26
+ - Annotation, selection, settings, and area-selection composables
27
+ - Locale and i18n helpers
28
+ - Injection keys and runtime bridge types
29
+
30
+ ## License
31
+
32
+ PolyForm Shield 1.0.0
@@ -0,0 +1,63 @@
1
+ import { type CSSProperties, type FunctionalComponent } from "vue";
2
+ interface IconProps {
3
+ size?: number;
4
+ style?: CSSProperties;
5
+ }
6
+ interface CopyAnimatedProps extends IconProps {
7
+ copied?: boolean;
8
+ }
9
+ interface JsonAnimatedProps extends IconProps {
10
+ copied?: boolean;
11
+ }
12
+ /** List with sparkle — collapsed toolbar icon. */
13
+ export declare const IconListSparkle: FunctionalComponent<IconProps>;
14
+ /** Animated copy icon — cross-fades between copy and green checkmark circle. */
15
+ export declare const IconCopyAnimated: FunctionalComponent<CopyAnimatedProps>;
16
+ /** Markdown/file-text icon — Lucide-style document outline. */
17
+ export declare const IconMarkdown: FunctionalComponent<IconProps>;
18
+ /** Animated markdown icon — cross-fades between file-text and green checkmark. */
19
+ export declare const IconMarkdownAnimated: FunctionalComponent<CopyAnimatedProps>;
20
+ /** Trash icon — filled style. */
21
+ export declare const IconTrashAlt: FunctionalComponent<IconProps>;
22
+ /** Eye icon — Lucide-style visible state. */
23
+ export declare const IconEye: FunctionalComponent<IconProps>;
24
+ /** Eye-off icon — Lucide-style hidden state. */
25
+ export declare const IconEyeOff: FunctionalComponent<IconProps>;
26
+ /** Animated eye icon — cross-fades between open and closed (with slash). */
27
+ export declare const IconEyeAnimated: FunctionalComponent<{
28
+ isOpen?: boolean;
29
+ } & IconProps>;
30
+ /** Pause icon — Lucide-style paused state. */
31
+ export declare const IconPause: FunctionalComponent<IconProps>;
32
+ /** Play icon — Lucide-style resume state. */
33
+ export declare const IconPlay: FunctionalComponent<IconProps>;
34
+ /** Gear / settings icon. */
35
+ export declare const IconGear: FunctionalComponent<IconProps>;
36
+ /** Connected nodes icon — used for MCP & webhooks controls. */
37
+ export declare const IconConnectedNodes: FunctionalComponent<IconProps>;
38
+ /** Large X mark — close/exit icon (filled). */
39
+ export declare const IconXmarkLarge: FunctionalComponent<IconProps>;
40
+ /** Sun icon — light mode indicator. */
41
+ export declare const IconSun: FunctionalComponent<IconProps>;
42
+ /** Moon icon — dark mode indicator. */
43
+ export declare const IconMoon: FunctionalComponent<IconProps>;
44
+ /** Animated pause/play — cross-fades between pause bars and play triangle. */
45
+ export declare const IconPausePlayAnimated: FunctionalComponent<{
46
+ isPaused?: boolean;
47
+ } & IconProps>;
48
+ /** Small animated checkmark — draw + bounce effect. */
49
+ export declare const IconCheckSmallAnimated: FunctionalComponent<IconProps>;
50
+ /** Small X for close actions. */
51
+ export declare const IconClose: FunctionalComponent<IconProps>;
52
+ /** JSON bracket icon — for JSON export. */
53
+ export declare const IconJson: FunctionalComponent<IconProps>;
54
+ /** Help icon — circle with question mark. */
55
+ export declare const IconHelp: FunctionalComponent<IconProps>;
56
+ /** Left chevron — back navigation. */
57
+ export declare const IconChevronLeft: FunctionalComponent<IconProps>;
58
+ /** Right chevron — forward navigation. */
59
+ export declare const IconChevronRight: FunctionalComponent<IconProps>;
60
+ /** Animated JSON icon — cross-fades between JSON brackets and green checkmark. */
61
+ export declare const IconJsonAnimated: FunctionalComponent<JsonAnimatedProps>;
62
+ export {};
63
+ //# sourceMappingURL=icons.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icons.d.ts","sourceRoot":"","sources":["../../src/components/icons.ts"],"names":[],"mappings":"AAAA,OAAO,EAAK,KAAK,aAAa,EAAE,KAAK,mBAAmB,EAAmB,MAAM,KAAK,CAAA;AAMtF,UAAU,SAAS;IACjB,IAAI,CAAC,EAAE,MAAM,CAAA;IACb,KAAK,CAAC,EAAE,aAAa,CAAA;CACtB;AAED,UAAU,iBAAkB,SAAQ,SAAS;IAC3C,MAAM,CAAC,EAAE,OAAO,CAAA;CACjB;AAED,UAAU,iBAAkB,SAAQ,SAAS;IAC3C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Q,EAAE,mBAAmB,CAAC,SAAS,CAKnD,CAAA;AAED,8EAA8E;AAC9E,eAAO,MAAM,qBAAqB,EAAE,mBAAmB,CAAC;IAAE,QAAQ,CAAC,EAAE,OAAO,CAAA;CAAE,GAAG,SAAS,CAWzF,CAAA;AAED,uDAAuD;AACvD,eAAO,MAAM,sBAAsB,EAAE,mBAAmB,CAAC,SAAS,CAejE,CAAA;AAED,iCAAiC;AACjC,eAAO,MAAM,SAAS,EAAE,mBAAmB,CAAC,SAAS,CAKpD,CAAA;AAED,2CAA2C;AAC3C,eAAO,MAAM,QAAQ,EAAE,mBAAmB,CAAC,SAAS,CAMnD,CAAA;AAED,6CAA6C;AAC7C,eAAO,MAAM,QAAQ,EAAE,mBAAmB,CAAC,SAAS,CAOnD,CAAA;AAED,sCAAsC;AACtC,eAAO,MAAM,eAAe,EAAE,mBAAmB,CAAC,SAAS,CAK1D,CAAA;AAED,0CAA0C;AAC1C,eAAO,MAAM,gBAAgB,EAAE,mBAAmB,CAAC,SAAS,CAK3D,CAAA;AAED,kFAAkF;AAClF,eAAO,MAAM,gBAAgB,EAAE,mBAAmB,CAAC,iBAAiB,CAiBnE,CAAA"}
@@ -0,0 +1,396 @@
1
+ import { h } from "vue";
2
+ // ---------------------------------------------------------------------------
3
+ // Helpers
4
+ // ---------------------------------------------------------------------------
5
+ function svg(size, viewBox, children, style) {
6
+ return h("svg", {
7
+ width: size,
8
+ height: size,
9
+ viewBox,
10
+ fill: "none",
11
+ xmlns: "http://www.w3.org/2000/svg",
12
+ "aria-hidden": "true",
13
+ focusable: "false",
14
+ style,
15
+ }, children);
16
+ }
17
+ // ---------------------------------------------------------------------------
18
+ // Icons
19
+ // ---------------------------------------------------------------------------
20
+ /** List with sparkle — collapsed toolbar icon. */
21
+ export const IconListSparkle = (props) => {
22
+ const s = props.size ?? 24;
23
+ return svg(s, "0 0 24 24", [
24
+ h("path", { d: "M11.5 12L5.5 12", stroke: "currentColor", "stroke-width": 1.5, "stroke-linecap": "round", "stroke-linejoin": "round" }),
25
+ h("path", { d: "M18.5 6.75L5.5 6.75", stroke: "currentColor", "stroke-width": 1.5, "stroke-linecap": "round", "stroke-linejoin": "round" }),
26
+ h("path", { d: "M9.25 17.25L5.5 17.25", stroke: "currentColor", "stroke-width": 1.5, "stroke-linecap": "round", "stroke-linejoin": "round" }),
27
+ h("path", {
28
+ d: "M16 12.75L16.5179 13.9677C16.8078 14.6494 17.3506 15.1922 18.0323 15.4821L19.25 16L18.0323 16.5179C17.3506 16.8078 16.8078 17.3506 16.5179 18.0323L16 19.25L15.4821 18.0323C15.1922 17.3506 14.6494 16.8078 13.9677 16.5179L12.75 16L13.9677 15.4821C14.6494 15.1922 15.1922 14.6494 15.4821 13.9677L16 12.75Z",
29
+ stroke: "currentColor", "stroke-width": 1.5, "stroke-linejoin": "round",
30
+ }),
31
+ ], props.style);
32
+ };
33
+ /** Animated copy icon — cross-fades between copy and green checkmark circle. */
34
+ export const IconCopyAnimated = (props) => {
35
+ const s = props.size ?? 24;
36
+ const copied = props.copied ?? false;
37
+ const transition = "opacity 0.2s ease, transform 0.2s ease";
38
+ return svg(s, "0 0 24 24", [
39
+ // Copy state
40
+ h("g", { style: { opacity: copied ? 0 : 1, transform: copied ? "scale(0.8)" : "scale(1)", transformOrigin: "center", transition } }, [
41
+ h("path", { d: "M4.75 11.25C4.75 10.4216 5.42157 9.75 6.25 9.75H12.75C13.5784 9.75 14.25 10.4216 14.25 11.25V17.75C14.25 18.5784 13.5784 19.25 12.75 19.25H6.25C5.42157 19.25 4.75 18.5784 4.75 17.75V11.25Z", stroke: "currentColor", "stroke-width": 1.5 }),
42
+ h("path", { d: "M17.25 14.25H17.75C18.5784 14.25 19.25 13.5784 19.25 12.75V6.25C19.25 5.42157 18.5784 4.75 17.75 4.75H11.25C10.4216 4.75 9.75 5.42157 9.75 6.25V6.75", stroke: "currentColor", "stroke-width": 1.5, "stroke-linecap": "round" }),
43
+ ]),
44
+ // Checkmark state
45
+ h("g", { style: { opacity: copied ? 1 : 0, transform: copied ? "scale(1)" : "scale(0.8)", transformOrigin: "center", transition } }, [
46
+ h("path", { d: "M12 20C7.58172 20 4 16.4182 4 12C4 7.58172 7.58172 4 12 4C16.4182 4 20 7.58172 20 12C20 16.4182 16.4182 20 12 20Z", stroke: "#22c55e", "stroke-width": 1.5, "stroke-linecap": "round", "stroke-linejoin": "round" }),
47
+ h("path", { d: "M15 10L11 14.25L9.25 12.25", stroke: "#22c55e", "stroke-width": 1.5, "stroke-linecap": "round", "stroke-linejoin": "round" }),
48
+ ]),
49
+ ], props.style);
50
+ };
51
+ /** Markdown/file-text icon — Lucide-style document outline. */
52
+ export const IconMarkdown = (props) => {
53
+ const s = props.size ?? 18;
54
+ return svg(s, "0 0 20 20", [
55
+ h("path", {
56
+ d: "M7 2.75H10.9393C11.3369 2.75 11.7182 2.90804 12 3.18934L14.8107 6C15.092 6.28181 15.25 6.66304 15.25 7.06066V16.25C15.25 17.0784 14.5784 17.75 13.75 17.75H7C6.17157 17.75 5.5 17.0784 5.5 16.25V4.25C5.5 3.42157 6.17157 2.75 7 2.75Z",
57
+ stroke: "currentColor",
58
+ "stroke-width": 1.5,
59
+ "stroke-linecap": "round",
60
+ "stroke-linejoin": "round",
61
+ }),
62
+ h("path", {
63
+ d: "M11 2.75V5.75C11 6.30228 11.4477 6.75 12 6.75H15",
64
+ stroke: "currentColor",
65
+ "stroke-width": 1.5,
66
+ "stroke-linecap": "round",
67
+ "stroke-linejoin": "round",
68
+ }),
69
+ h("path", {
70
+ d: "M7.75 10.25H13",
71
+ stroke: "currentColor",
72
+ "stroke-width": 1.5,
73
+ "stroke-linecap": "round",
74
+ }),
75
+ h("path", {
76
+ d: "M7.75 13H13",
77
+ stroke: "currentColor",
78
+ "stroke-width": 1.5,
79
+ "stroke-linecap": "round",
80
+ }),
81
+ h("path", {
82
+ d: "M7.75 15.75H11.25",
83
+ stroke: "currentColor",
84
+ "stroke-width": 1.5,
85
+ "stroke-linecap": "round",
86
+ }),
87
+ ], props.style);
88
+ };
89
+ /** Animated markdown icon — cross-fades between file-text and green checkmark. */
90
+ export const IconMarkdownAnimated = (props) => {
91
+ const s = props.size ?? 20;
92
+ const copied = props.copied ?? false;
93
+ const transition = "opacity 0.2s ease, transform 0.2s ease";
94
+ return svg(s, "0 0 20 20", [
95
+ h("g", { style: { opacity: copied ? 0 : 1, transform: copied ? "scale(0.82)" : "scale(1)", transformOrigin: "center", transition } }, [
96
+ h("path", {
97
+ d: "M7 2.75H10.9393C11.3369 2.75 11.7182 2.90804 12 3.18934L14.8107 6C15.092 6.28181 15.25 6.66304 15.25 7.06066V16.25C15.25 17.0784 14.5784 17.75 13.75 17.75H7C6.17157 17.75 5.5 17.0784 5.5 16.25V4.25C5.5 3.42157 6.17157 2.75 7 2.75Z",
98
+ stroke: "currentColor",
99
+ "stroke-width": 1.5,
100
+ "stroke-linecap": "round",
101
+ "stroke-linejoin": "round",
102
+ }),
103
+ h("path", {
104
+ d: "M11 2.75V5.75C11 6.30228 11.4477 6.75 12 6.75H15",
105
+ stroke: "currentColor",
106
+ "stroke-width": 1.5,
107
+ "stroke-linecap": "round",
108
+ "stroke-linejoin": "round",
109
+ }),
110
+ h("path", {
111
+ d: "M7.75 10.25H13",
112
+ stroke: "currentColor",
113
+ "stroke-width": 1.5,
114
+ "stroke-linecap": "round",
115
+ }),
116
+ h("path", {
117
+ d: "M7.75 13H13",
118
+ stroke: "currentColor",
119
+ "stroke-width": 1.5,
120
+ "stroke-linecap": "round",
121
+ }),
122
+ h("path", {
123
+ d: "M7.75 15.75H11.25",
124
+ stroke: "currentColor",
125
+ "stroke-width": 1.5,
126
+ "stroke-linecap": "round",
127
+ }),
128
+ ]),
129
+ h("g", { style: { opacity: copied ? 1 : 0, transform: copied ? "scale(1)" : "scale(0.82)", transformOrigin: "center", transition } }, [
130
+ h("path", {
131
+ d: "M10 17A7 7 0 1 0 10 3a7 7 0 0 0 0 14Z",
132
+ stroke: "#22c55e",
133
+ "stroke-width": 1.5,
134
+ "stroke-linecap": "round",
135
+ "stroke-linejoin": "round",
136
+ }),
137
+ h("path", {
138
+ d: "M13 8.5L9.5 12L7.75 10.25",
139
+ stroke: "#22c55e",
140
+ "stroke-width": 1.5,
141
+ "stroke-linecap": "round",
142
+ "stroke-linejoin": "round",
143
+ }),
144
+ ]),
145
+ ], props.style);
146
+ };
147
+ /** Trash icon — filled style. */
148
+ export const IconTrashAlt = (props) => {
149
+ const s = props.size ?? 16;
150
+ return svg(s, "0 0 24 24", [
151
+ h("path", {
152
+ d: "M13.5 4C14.7426 4 15.75 5.00736 15.75 6.25V7H18.5C18.9142 7 19.25 7.33579 19.25 7.75C19.25 8.16421 18.9142 8.5 18.5 8.5H17.9678L17.6328 16.2217C17.61 16.7475 17.5912 17.1861 17.5469 17.543C17.5015 17.9087 17.4225 18.2506 17.2461 18.5723C16.9747 19.0671 16.5579 19.4671 16.0518 19.7168C15.7227 19.8791 15.3772 19.9422 15.0098 19.9717C14.6514 20.0004 14.2126 20 13.6865 20H10.3135C9.78735 20 9.34856 20.0004 8.99023 19.9717C8.62278 19.9422 8.27729 19.8791 7.94824 19.7168C7.44205 19.4671 7.02532 19.0671 6.75391 18.5723C6.57751 18.2506 6.49853 17.9087 6.45312 17.543C6.40883 17.1861 6.39005 16.7475 6.36719 16.2217L6.03223 8.5H5.5C5.08579 8.5 4.75 8.16421 4.75 7.75C4.75 7.33579 5.08579 7 5.5 7H8.25V6.25C8.25 5.00736 9.25736 4 10.5 4H13.5ZM7.86621 16.1562C7.89013 16.7063 7.90624 17.0751 7.94141 17.3584C7.97545 17.6326 8.02151 17.7644 8.06934 17.8516C8.19271 18.0763 8.38239 18.2577 8.6123 18.3711C8.70153 18.4151 8.83504 18.4545 9.11035 18.4766C9.39482 18.4994 9.76335 18.5 10.3135 18.5H13.6865C14.2367 18.5 14.6052 18.4994 14.8896 18.4766C15.165 18.4545 15.2985 18.4151 15.3877 18.3711C15.6176 18.2577 15.8073 18.0763 15.9307 17.8516C15.9785 17.7644 16.0245 17.6326 16.0586 17.3584C16.0938 17.0751 16.1099 16.7063 16.1338 16.1562L16.4668 8.5H7.5332L7.86621 16.1562ZM9.97656 10.75C10.3906 10.7371 10.7371 11.0626 10.75 11.4766L10.875 15.4766C10.8879 15.8906 10.5624 16.2371 10.1484 16.25C9.73443 16.2629 9.38794 15.9374 9.375 15.5234L9.25 11.5234C9.23706 11.1094 9.56255 10.7629 9.97656 10.75ZM14.0244 10.75C14.4384 10.7635 14.7635 11.1105 14.75 11.5244L14.6201 15.5244C14.6066 15.9384 14.2596 16.2634 13.8457 16.25C13.4317 16.2365 13.1067 15.8896 13.1201 15.4756L13.251 11.4756C13.2645 11.0617 13.6105 10.7366 14.0244 10.75ZM10.5 5.5C10.0858 5.5 9.75 5.83579 9.75 6.25V7H14.25V6.25C14.25 5.83579 13.9142 5.5 13.5 5.5H10.5Z",
153
+ fill: "currentColor",
154
+ }),
155
+ ], props.style);
156
+ };
157
+ /** Eye icon — Lucide-style visible state. */
158
+ export const IconEye = (props) => {
159
+ const s = props.size ?? 24;
160
+ return svg(s, "0 0 24 24", [
161
+ h("path", {
162
+ d: "M2.062 12.348a1 1 0 0 1 0-.696 10.75 10.75 0 0 1 19.876 0 1 1 0 0 1 0 .696 10.75 10.75 0 0 1-19.876 0",
163
+ stroke: "currentColor",
164
+ "stroke-width": 2,
165
+ "stroke-linecap": "round",
166
+ "stroke-linejoin": "round",
167
+ }),
168
+ h("circle", {
169
+ cx: 12,
170
+ cy: 12,
171
+ r: 3,
172
+ stroke: "currentColor",
173
+ "stroke-width": 2,
174
+ "stroke-linecap": "round",
175
+ "stroke-linejoin": "round",
176
+ }),
177
+ ], props.style);
178
+ };
179
+ /** Eye-off icon — Lucide-style hidden state. */
180
+ export const IconEyeOff = (props) => {
181
+ const s = props.size ?? 24;
182
+ return svg(s, "0 0 24 24", [
183
+ h("path", {
184
+ d: "M10.733 5.076A10.744 10.744 0 0 1 21.938 12 10.75 10.75 0 0 1 18.084 16.268",
185
+ stroke: "currentColor",
186
+ "stroke-width": 2,
187
+ "stroke-linecap": "round",
188
+ "stroke-linejoin": "round",
189
+ }),
190
+ h("path", {
191
+ d: "M14.084 14.158a3 3 0 0 1-4.242-4.242",
192
+ stroke: "currentColor",
193
+ "stroke-width": 2,
194
+ "stroke-linecap": "round",
195
+ "stroke-linejoin": "round",
196
+ }),
197
+ h("path", {
198
+ d: "M17.479 17.499A10.75 10.75 0 0 1 2.062 12 10.75 10.75 0 0 1 6.17 7.412",
199
+ stroke: "currentColor",
200
+ "stroke-width": 2,
201
+ "stroke-linecap": "round",
202
+ "stroke-linejoin": "round",
203
+ }),
204
+ h("path", {
205
+ d: "m2 2 20 20",
206
+ stroke: "currentColor",
207
+ "stroke-width": 2,
208
+ "stroke-linecap": "round",
209
+ "stroke-linejoin": "round",
210
+ }),
211
+ ], props.style);
212
+ };
213
+ /** Animated eye icon — cross-fades between open and closed (with slash). */
214
+ export const IconEyeAnimated = (props) => {
215
+ const s = props.size ?? 24;
216
+ const isOpen = props.isOpen ?? true;
217
+ return svg(s, "0 0 24 24", [
218
+ // Open state
219
+ h("g", { style: { opacity: isOpen ? 1 : 0, transition: "opacity 0.2s ease" } }, [
220
+ h("path", { d: "M3.91752 12.7539C3.65127 12.2996 3.65037 11.7515 3.9149 11.2962C4.9042 9.59346 7.72688 5.49994 12 5.49994C16.2731 5.49994 19.0958 9.59346 20.0851 11.2962C20.3496 11.7515 20.3487 12.2996 20.0825 12.7539C19.0908 14.4459 16.2694 18.4999 12 18.4999C7.73064 18.4999 4.90918 14.4459 3.91752 12.7539Z", stroke: "currentColor", "stroke-width": 1.5, "stroke-linecap": "round", "stroke-linejoin": "round" }),
221
+ h("path", { d: "M12 14.8261C13.5608 14.8261 14.8261 13.5608 14.8261 12C14.8261 10.4392 13.5608 9.17392 12 9.17392C10.4392 9.17392 9.17391 10.4392 9.17391 12C9.17391 13.5608 10.4392 14.8261 12 14.8261Z", stroke: "currentColor", "stroke-width": 1.5, "stroke-linecap": "round", "stroke-linejoin": "round" }),
222
+ ]),
223
+ // Closed state (with slash)
224
+ h("g", { style: { opacity: isOpen ? 0 : 1, transition: "opacity 0.2s ease" } }, [
225
+ h("path", { d: "M18.6025 9.28503C18.9174 8.9701 19.4364 8.99481 19.7015 9.35271C20.1484 9.95606 20.4943 10.507 20.7342 10.9199C21.134 11.6086 21.1329 12.4454 20.7303 13.1328C20.2144 14.013 19.2151 15.5225 17.7723 16.8193C16.3293 18.1162 14.3852 19.2497 12.0008 19.25C11.4192 19.25 10.8638 19.1823 10.3355 19.0613C9.77966 18.934 9.63498 18.2525 10.0382 17.8493C10.2412 17.6463 10.5374 17.573 10.8188 17.6302C11.1993 17.7076 11.5935 17.75 12.0008 17.75C13.8848 17.7497 15.4867 16.8568 16.7693 15.7041C18.0522 14.5511 18.9606 13.1867 19.4363 12.375C19.5656 12.1543 19.5659 11.8943 19.4373 11.6729C19.2235 11.3049 18.921 10.8242 18.5364 10.3003C18.3085 9.98991 18.3302 9.5573 18.6025 9.28503ZM12.0008 4.75C12.5814 4.75006 13.1358 4.81803 13.6632 4.93953C14.2182 5.06741 14.362 5.74812 13.9593 6.15091C13.7558 6.35435 13.4589 6.42748 13.1771 6.36984C12.7983 6.29239 12.4061 6.25006 12.0008 6.25C10.1167 6.25 8.51415 7.15145 7.23028 8.31543C5.94678 9.47919 5.03918 10.8555 4.56426 11.6729C4.43551 11.8945 4.43582 12.1542 4.56524 12.375C4.77587 12.7343 5.07189 13.2012 5.44718 13.7105C5.67623 14.0213 5.65493 14.4552 5.38193 14.7282C5.0671 15.0431 4.54833 15.0189 4.28292 14.6614C3.84652 14.0736 3.50813 13.5369 3.27129 13.1328C2.86831 12.4451 2.86717 11.6088 3.26739 10.9199C3.78185 10.0345 4.77959 8.51239 6.22247 7.2041C7.66547 5.89584 9.61202 4.75 12.0008 4.75Z", fill: "currentColor" }),
226
+ h("path", { d: "M5 19L19 5", stroke: "currentColor", "stroke-width": 1.5, "stroke-linecap": "round" }),
227
+ ]),
228
+ ], props.style);
229
+ };
230
+ /** Pause icon — Lucide-style paused state. */
231
+ export const IconPause = (props) => {
232
+ const s = props.size ?? 24;
233
+ return svg(s, "0 0 24 24", [
234
+ h("rect", {
235
+ x: 6,
236
+ y: 4,
237
+ width: 4,
238
+ height: 16,
239
+ rx: 1,
240
+ fill: "currentColor",
241
+ }),
242
+ h("rect", {
243
+ x: 14,
244
+ y: 4,
245
+ width: 4,
246
+ height: 16,
247
+ rx: 1,
248
+ fill: "currentColor",
249
+ }),
250
+ ], props.style);
251
+ };
252
+ /** Play icon — Lucide-style resume state. */
253
+ export const IconPlay = (props) => {
254
+ const s = props.size ?? 24;
255
+ return svg(s, "0 0 24 24", [
256
+ h("path", {
257
+ d: "M5 5a2 2 0 0 1 3.008-1.728l11.997 6.998a2 2 0 0 1 .003 3.458l-12 7A2 2 0 0 1 5 19z",
258
+ fill: "currentColor",
259
+ }),
260
+ ], props.style);
261
+ };
262
+ /** Gear / settings icon. */
263
+ export const IconGear = (props) => {
264
+ const s = props.size ?? 16;
265
+ return svg(s, "0 0 24 24", [
266
+ h("path", { d: "M10.6504 5.81117C10.9939 4.39628 13.0061 4.39628 13.3496 5.81117C13.5715 6.72517 14.6187 7.15891 15.4219 6.66952C16.6652 5.91193 18.0881 7.33479 17.3305 8.57815C16.8411 9.38134 17.2748 10.4285 18.1888 10.6504C19.6037 10.9939 19.6037 13.0061 18.1888 13.3496C17.2748 13.5715 16.8411 14.6187 17.3305 15.4219C18.0881 16.6652 16.6652 18.0881 15.4219 17.3305C14.6187 16.8411 13.5715 17.2748 13.3496 18.1888C13.0061 19.6037 10.9939 19.6037 10.6504 18.1888C10.4285 17.2748 9.38135 16.8411 8.57815 17.3305C7.33479 18.0881 5.91193 16.6652 6.66952 15.4219C7.15891 14.6187 6.72517 13.5715 5.81117 13.3496C4.39628 13.0061 4.39628 10.9939 5.81117 10.6504C6.72517 10.4285 7.15891 9.38134 6.66952 8.57815C5.91193 7.33479 7.33479 5.91192 8.57815 6.66952C9.38135 7.15891 10.4285 6.72517 10.6504 5.81117Z", stroke: "currentColor", "stroke-width": 1.5, "stroke-linecap": "round", "stroke-linejoin": "round" }),
267
+ h("circle", { cx: 12, cy: 12, r: 2.5, stroke: "currentColor", "stroke-width": 1.5 }),
268
+ ], props.style);
269
+ };
270
+ /** Connected nodes icon — used for MCP & webhooks controls. */
271
+ export const IconConnectedNodes = (props) => {
272
+ const s = props.size ?? 18;
273
+ return svg(s, "0 0 24 24", [
274
+ h("path", { d: "M9.25 7H14.75", stroke: "currentColor", "stroke-width": 1.5, "stroke-linecap": "round" }),
275
+ h("path", { d: "M8.89062 8.54688L11.25 14", stroke: "currentColor", "stroke-width": 1.5, "stroke-linecap": "round" }),
276
+ h("path", { d: "M15.1094 8.54688L12.75 14", stroke: "currentColor", "stroke-width": 1.5, "stroke-linecap": "round" }),
277
+ h("circle", { cx: 7, cy: 7, r: 2.25, stroke: "currentColor", "stroke-width": 1.5 }),
278
+ h("circle", { cx: 17, cy: 7, r: 2.25, stroke: "currentColor", "stroke-width": 1.5 }),
279
+ h("circle", { cx: 12, cy: 17, r: 2.25, stroke: "currentColor", "stroke-width": 1.5 }),
280
+ ], props.style);
281
+ };
282
+ /** Large X mark — close/exit icon (filled). */
283
+ export const IconXmarkLarge = (props) => {
284
+ const s = props.size ?? 24;
285
+ return svg(s, "0 0 24 24", [
286
+ h("path", { d: "M16.7198 6.21973C17.0127 5.92683 17.4874 5.92683 17.7803 6.21973C18.0732 6.51262 18.0732 6.9874 17.7803 7.28027L13.0606 12L17.7803 16.7197C18.0732 17.0126 18.0732 17.4874 17.7803 17.7803C17.4875 18.0731 17.0127 18.0731 16.7198 17.7803L12.0001 13.0605L7.28033 17.7803C6.98746 18.0731 6.51268 18.0731 6.21979 17.7803C5.92689 17.4874 5.92689 17.0126 6.21979 16.7197L10.9395 12L6.21979 7.28027C5.92689 6.98738 5.92689 6.51262 6.21979 6.21973C6.51268 5.92683 6.98744 5.92683 7.28033 6.21973L12.0001 10.9395L16.7198 6.21973Z", fill: "currentColor" }),
287
+ ], props.style);
288
+ };
289
+ /** Sun icon — light mode indicator. */
290
+ export const IconSun = (props) => {
291
+ const s = props.size ?? 16;
292
+ return svg(s, "0 0 20 20", [
293
+ h("path", { d: "M9.99999 12.7082C11.4958 12.7082 12.7083 11.4956 12.7083 9.99984C12.7083 8.50407 11.4958 7.2915 9.99999 7.2915C8.50422 7.2915 7.29166 8.50407 7.29166 9.99984C7.29166 11.4956 8.50422 12.7082 9.99999 12.7082Z", stroke: "currentColor", "stroke-width": 1.25, "stroke-linecap": "round", "stroke-linejoin": "round" }),
294
+ h("path", { d: "M10 3.9585V5.05698", stroke: "currentColor", "stroke-width": 1.25, "stroke-linecap": "round", "stroke-linejoin": "round" }),
295
+ h("path", { d: "M10 14.9429V16.0414", stroke: "currentColor", "stroke-width": 1.25, "stroke-linecap": "round", "stroke-linejoin": "round" }),
296
+ h("path", { d: "M5.7269 5.72656L6.50682 6.50649", stroke: "currentColor", "stroke-width": 1.25, "stroke-linecap": "round", "stroke-linejoin": "round" }),
297
+ h("path", { d: "M13.4932 13.4932L14.2731 14.2731", stroke: "currentColor", "stroke-width": 1.25, "stroke-linecap": "round", "stroke-linejoin": "round" }),
298
+ h("path", { d: "M3.95834 10H5.05683", stroke: "currentColor", "stroke-width": 1.25, "stroke-linecap": "round", "stroke-linejoin": "round" }),
299
+ h("path", { d: "M14.9432 10H16.0417", stroke: "currentColor", "stroke-width": 1.25, "stroke-linecap": "round", "stroke-linejoin": "round" }),
300
+ h("path", { d: "M5.7269 14.2731L6.50682 13.4932", stroke: "currentColor", "stroke-width": 1.25, "stroke-linecap": "round", "stroke-linejoin": "round" }),
301
+ h("path", { d: "M13.4932 6.50649L14.2731 5.72656", stroke: "currentColor", "stroke-width": 1.25, "stroke-linecap": "round", "stroke-linejoin": "round" }),
302
+ ], props.style);
303
+ };
304
+ /** Moon icon — dark mode indicator. */
305
+ export const IconMoon = (props) => {
306
+ const s = props.size ?? 16;
307
+ return svg(s, "0 0 20 20", [
308
+ h("path", { d: "M15.5 10.4955C15.4037 11.5379 15.0124 12.5314 14.3721 13.3596C13.7317 14.1878 12.8688 14.8165 11.8841 15.1722C10.8995 15.5278 9.83397 15.5957 8.81217 15.3679C7.79038 15.1401 6.8546 14.6259 6.11434 13.8857C5.37408 13.1454 4.85995 12.2096 4.63211 11.1878C4.40427 10.166 4.47215 9.10048 4.82781 8.11585C5.18346 7.13123 5.81218 6.26825 6.64039 5.62791C7.4686 4.98756 8.46206 4.59634 9.5045 4.5C8.89418 5.32569 8.60049 6.34302 8.67685 7.36695C8.75321 8.39087 9.19454 9.35339 9.92058 10.0794C10.6466 10.8055 11.6091 11.2468 12.6331 11.3231C13.657 11.3995 14.6743 11.1058 15.5 10.4955Z", stroke: "currentColor", "stroke-width": 1.13793, "stroke-linecap": "round", "stroke-linejoin": "round" }),
309
+ ], props.style);
310
+ };
311
+ /** Animated pause/play — cross-fades between pause bars and play triangle. */
312
+ export const IconPausePlayAnimated = (props) => {
313
+ const s = props.size ?? 24;
314
+ const isPaused = props.isPaused ?? false;
315
+ return svg(s, "0 0 24 24", [
316
+ // Pause bars
317
+ h("path", { d: "M8 6L8 18", stroke: "currentColor", "stroke-width": 1.5, "stroke-linecap": "round", style: { opacity: isPaused ? 0 : 1, transition: "opacity 0.15s ease" } }),
318
+ h("path", { d: "M16 18L16 6", stroke: "currentColor", "stroke-width": 1.5, "stroke-linecap": "round", style: { opacity: isPaused ? 0 : 1, transition: "opacity 0.15s ease" } }),
319
+ // Play triangle
320
+ h("path", { d: "M17.75 10.701C18.75 11.2783 18.75 12.7217 17.75 13.299L8.75 18.4952C7.75 19.0725 6.5 18.3509 6.5 17.1962L6.5 6.80384C6.5 5.64914 7.75 4.92746 8.75 5.50481L17.75 10.701Z", stroke: "currentColor", "stroke-width": 1.5, style: { opacity: isPaused ? 1 : 0, transition: "opacity 0.15s ease" } }),
321
+ ], props.style);
322
+ };
323
+ /** Small animated checkmark — draw + bounce effect. */
324
+ export const IconCheckSmallAnimated = (props) => {
325
+ const s = props.size ?? 14;
326
+ return svg(s, "0 0 14 14", [
327
+ h("style", "@keyframes ag-check-draw{0%{stroke-dashoffset:12}to{stroke-dashoffset:0}}@keyframes ag-check-bounce{0%{transform:scale(.5);opacity:0}50%{transform:scale(1.12);opacity:1}75%{transform:scale(.95)}to{transform:scale(1)}}"),
328
+ h("path", {
329
+ d: "M3.9375 7L6.125 9.1875L10.5 4.8125",
330
+ stroke: "currentColor", "stroke-width": 1.5, "stroke-linecap": "round", "stroke-linejoin": "round",
331
+ style: {
332
+ strokeDasharray: 12,
333
+ strokeDashoffset: 0,
334
+ transformOrigin: "center",
335
+ animation: "ag-check-draw 0.18s ease-out, ag-check-bounce 0.3s cubic-bezier(0.34, 1.56, 0.64, 1)",
336
+ },
337
+ }),
338
+ ], props.style);
339
+ };
340
+ /** Small X for close actions. */
341
+ export const IconClose = (props) => {
342
+ const s = props.size ?? 16;
343
+ return svg(s, "0 0 16 16", [
344
+ h("path", { d: "M4 4l8 8M12 4l-8 8", stroke: "currentColor", "stroke-width": 1.5, "stroke-linecap": "round" }),
345
+ ], props.style);
346
+ };
347
+ /** JSON bracket icon — for JSON export. */
348
+ export const IconJson = (props) => {
349
+ const s = props.size ?? 16;
350
+ return svg(s, "0 0 16 16", [
351
+ h("path", { d: "M4.5 3C3.67 3 3 3.67 3 4.5v2c0 .55-.45 1-1 1v1c.55 0 1 .45 1 1v2c0 .83.67 1.5 1.5 1.5", stroke: "currentColor", "stroke-width": 1.25, "stroke-linecap": "round", "stroke-linejoin": "round" }),
352
+ h("path", { d: "M11.5 3c.83 0 1.5.67 1.5 1.5v2c0 .55.45 1 1 1v1c-.55 0-1 .45-1 1v2c0 .83-.67 1.5-1.5 1.5", stroke: "currentColor", "stroke-width": 1.25, "stroke-linecap": "round", "stroke-linejoin": "round" }),
353
+ ], props.style);
354
+ };
355
+ /** Help icon — circle with question mark. */
356
+ export const IconHelp = (props) => {
357
+ const s = props.size ?? 20;
358
+ return svg(s, "0 0 20 20", [
359
+ h("circle", { cx: 10, cy: 10.5, r: 5.25, stroke: "currentColor", "stroke-width": 1.25 }),
360
+ h("path", { d: "M8.5 8.75C8.5 7.92 9.17 7.25 10 7.25C10.83 7.25 11.5 7.92 11.5 8.75C11.5 9.58 10.83 10.25 10 10.25V11", stroke: "currentColor", "stroke-width": 1.25, "stroke-linecap": "round", "stroke-linejoin": "round" }),
361
+ h("circle", { cx: 10, cy: 13, r: 0.75, fill: "currentColor" }),
362
+ ], props.style);
363
+ };
364
+ /** Left chevron — back navigation. */
365
+ export const IconChevronLeft = (props) => {
366
+ const s = props.size ?? 16;
367
+ return svg(s, "0 0 16 16", [
368
+ h("path", { d: "M8.5 3.5L4 8L8.5 12.5", stroke: "currentColor", "stroke-width": 1.5, "stroke-linecap": "round", "stroke-linejoin": "round" }),
369
+ ], props.style);
370
+ };
371
+ /** Right chevron — forward navigation. */
372
+ export const IconChevronRight = (props) => {
373
+ const s = props.size ?? 16;
374
+ return svg(s, "0 0 16 16", [
375
+ h("path", { d: "M8.5 11.5L12 8L8.5 4.5", stroke: "currentColor", "stroke-width": 1.5, "stroke-linecap": "round", "stroke-linejoin": "round" }),
376
+ ], props.style);
377
+ };
378
+ /** Animated JSON icon — cross-fades between JSON brackets and green checkmark. */
379
+ export const IconJsonAnimated = (props) => {
380
+ const s = props.size ?? 16;
381
+ const copied = props.copied ?? false;
382
+ const transition = "opacity 0.2s ease, transform 0.2s ease";
383
+ return svg(s, "0 0 16 16", [
384
+ // JSON brackets state
385
+ h("g", { style: { opacity: copied ? 0 : 1, transform: copied ? "scale(0.8)" : "scale(1)", transformOrigin: "center", transition } }, [
386
+ h("path", { d: "M4.5 3C3.67 3 3 3.67 3 4.5v2c0 .55-.45 1-1 1v1c.55 0 1 .45 1 1v2c0 .83.67 1.5 1.5 1.5", stroke: "currentColor", "stroke-width": 1.25, "stroke-linecap": "round", "stroke-linejoin": "round" }),
387
+ h("path", { d: "M11.5 3c.83 0 1.5.67 1.5 1.5v2c0 .55.45 1 1 1v1c-.55 0-1 .45-1 1v2c0 .83-.67 1.5-1.5 1.5", stroke: "currentColor", "stroke-width": 1.25, "stroke-linecap": "round", "stroke-linejoin": "round" }),
388
+ ]),
389
+ // Green checkmark state
390
+ h("g", { style: { opacity: copied ? 1 : 0, transform: copied ? "scale(1)" : "scale(0.8)", transformOrigin: "center", transition } }, [
391
+ h("path", { d: "M8 14A6 6 0 1 0 8 2a6 6 0 0 0 0 12Z", stroke: "#22c55e", "stroke-width": 1.25, "stroke-linecap": "round", "stroke-linejoin": "round" }),
392
+ h("path", { d: "M10.5 6.5L7.5 10L5.75 8.25", stroke: "#22c55e", "stroke-width": 1.25, "stroke-linecap": "round", "stroke-linejoin": "round" }),
393
+ ]),
394
+ ], props.style);
395
+ };
396
+ //# sourceMappingURL=icons.js.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"icons.js","sourceRoot":"","sources":["../../src/components/icons.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,CAAC,EAAiE,MAAM,KAAK,CAAA;AAmBtF,8EAA8E;AAC9E,UAAU;AACV,8EAA8E;AAE9E,SAAS,GAAG,CACV,IAAY,EACZ,OAAe,EACf,QAAsB,EACtB,KAAqB;IAErB,OAAO,CAAC,CACN,KAAK,EACL;QACE,KAAK,EAAE,IAAI;QACX,MAAM,EAAE,IAAI;QACZ,OAAO;QACP,IAAI,EAAE,MAAM;QACZ,KAAK,EAAE,4BAA4B;QACnC,aAAa,EAAE,MAAM;QACrB,SAAS,EAAE,OAAO;QAClB,KAAK;KACN,EACD,QAAQ,CACT,CAAA;AACH,CAAC;AAED,8EAA8E;AAC9E,QAAQ;AACR,8EAA8E;AAE9E,kDAAkD;AAClD,MAAM,CAAC,MAAM,eAAe,GAAmC,CAAC,KAAK,EAAE,EAAE;IACvE,MAAM,CAAC,GAAG,KAAK,CAAC,IAAI,IAAI,EAAE,CAAA;IAC1B,OAAO,GAAG,CAAC,CAAC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AAc,EAAE,IAAI,EAAE,gBAAgB,EAAE,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAE,CAAC;YAC9M,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE,0FAA0F,EAAE,MAAM,EAAE,cAAc,EAAE,cAAc,EAAE,IAAI,EAAE,gBAAgB,EAAE,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAE,CAAC;SAClN,CAAC;QACF,wBAAwB;QACxB,CAAC,CAAC,GAAG,EAAE,EAAE,KAAK,EAAE,EAAE,OAAO,EAAE,MAAM,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,CAAC,EAAE,SAAS,EAAE,MAAM,CAAC,CAAC,CAAC,UAAU,CAAC,CAAC,CAAC,YAAY,EAAE,eAAe,EAAE,QAAQ,EAAE,UAAU,EAAE,EAAE,EAAE;YACnI,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE,qCAAqC,EAAE,MAAM,EAAE,SAAS,EAAE,cAAc,EAAE,IAAI,EAAE,gBAAgB,EAAE,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAE,CAAC;YACvJ,CAAC,CAAC,MAAM,EAAE,EAAE,CAAC,EAAE,4BAA4B,EAAE,MAAM,EAAE,SAAS,EAAE,cAAc,EAAE,IAAI,EAAE,gBAAgB,EAAE,OAAO,EAAE,iBAAiB,EAAE,OAAO,EAAE,CAAC;SAC/I,CAAC;KACH,EAAE,KAAK,CAAC,KAAK,CAAC,CAAA;AACjB,CAAC,CAAA"}
@@ -0,0 +1,30 @@
1
+ import type { AnnotationExportDocument, AnnotationV2 } from "@liuovo/agentation-vue-core";
2
+ import type { RuntimeBridge, SelectionSnapshot } from "../types.js";
3
+ export interface AnnotationsStore {
4
+ /** Reactive annotation list — components can read directly. */
5
+ readonly annotations: readonly AnnotationV2[];
6
+ /** Whether annotation mode is enabled. */
7
+ enabled: boolean;
8
+ /** Load persisted annotations from storage into state. */
9
+ hydrate(): void;
10
+ /** Create & persist a new annotation from a comment + selection snapshot. */
11
+ saveAnnotation(comment: string, snapshot: SelectionSnapshot): AnnotationV2;
12
+ /** Update the comment of an existing annotation by ID. */
13
+ updateAnnotation(id: string, comment: string): void;
14
+ /** Remove an annotation by ID and persist the change. */
15
+ removeAnnotation(id: string): void;
16
+ /** Remove all annotations and clear storage. */
17
+ clearAll(): void;
18
+ /** Export all annotations as a structured JSON document. */
19
+ exportJSON(): AnnotationExportDocument;
20
+ /** Export all annotations as a Markdown string. */
21
+ exportMarkdown(): string;
22
+ }
23
+ /**
24
+ * Creates the singleton annotations store.
25
+ *
26
+ * Called once during app bootstrap; OverlayRoot provides it
27
+ * to the component tree via `provide()`.
28
+ */
29
+ export declare function createAnnotationsStore(bridge: RuntimeBridge): AnnotationsStore;
30
+ //# sourceMappingURL=useAnnotationsStore.d.ts.map
@@ -0,0 +1 @@
1
+ {"version":3,"file":"useAnnotationsStore.d.ts","sourceRoot":"","sources":["../../src/composables/useAnnotationsStore.ts"],"names":[],"mappings":"AAYA,OAAO,KAAK,EACV,wBAAwB,EACxB,YAAY,EAEb,MAAM,6BAA6B,CAAA;AAEpC,OAAO,KAAK,EAAe,aAAa,EAAE,iBAAiB,EAAE,MAAM,aAAa,CAAA;AAMhF,MAAM,WAAW,gBAAgB;IAC/B,+DAA+D;IAC/D,QAAQ,CAAC,WAAW,EAAE,SAAS,YAAY,EAAE,CAAA;IAC7C,0CAA0C;IAC1C,OAAO,EAAE,OAAO,CAAA;IAEhB,0DAA0D;IAC1D,OAAO,IAAI,IAAI,CAAA;IACf,6EAA6E;IAC7E,cAAc,CAAC,OAAO,EAAE,MAAM,EAAE,QAAQ,EAAE,iBAAiB,GAAG,YAAY,CAAA;IAC1E,0DAA0D;IAC1D,gBAAgB,CAAC,EAAE,EAAE,MAAM,EAAE,OAAO,EAAE,MAAM,GAAG,IAAI,CAAA;IACnD,yDAAyD;IACzD,gBAAgB,CAAC,EAAE,EAAE,MAAM,GAAG,IAAI,CAAA;IAClC,gDAAgD;IAChD,QAAQ,IAAI,IAAI,CAAA;IAChB,4DAA4D;IAC5D,UAAU,IAAI,wBAAwB,CAAA;IACtC,mDAAmD;IACnD,cAAc,IAAI,MAAM,CAAA;CACzB;AAMD;;;;;GAKG;AACH,wBAAgB,sBAAsB,CAAC,MAAM,EAAE,aAAa,GAAG,gBAAgB,CAkH9E"}