@rose42/feedback-capture 0.1.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/LICENSE +21 -0
- package/README.md +107 -0
- package/dist/clipboard.d.ts +7 -0
- package/dist/clipboard.d.ts.map +1 -0
- package/dist/clipboard.js +33 -0
- package/dist/clipboard.js.map +1 -0
- package/dist/context.d.ts +10 -0
- package/dist/context.d.ts.map +1 -0
- package/dist/context.js +7 -0
- package/dist/context.js.map +1 -0
- package/dist/crop.d.ts +61 -0
- package/dist/crop.d.ts.map +1 -0
- package/dist/crop.js +112 -0
- package/dist/crop.js.map +1 -0
- package/dist/index.d.ts +16 -0
- package/dist/index.d.ts.map +1 -0
- package/dist/index.js +11 -0
- package/dist/index.js.map +1 -0
- package/dist/plugins/comment.d.ts +11 -0
- package/dist/plugins/comment.d.ts.map +1 -0
- package/dist/plugins/comment.js +14 -0
- package/dist/plugins/comment.js.map +1 -0
- package/dist/plugins/consoleLogs.d.ts +14 -0
- package/dist/plugins/consoleLogs.d.ts.map +1 -0
- package/dist/plugins/consoleLogs.js +98 -0
- package/dist/plugins/consoleLogs.js.map +1 -0
- package/dist/plugins/core.d.ts +24 -0
- package/dist/plugins/core.d.ts.map +1 -0
- package/dist/plugins/core.js +62 -0
- package/dist/plugins/core.js.map +1 -0
- package/dist/plugins/elementTarget.d.ts +156 -0
- package/dist/plugins/elementTarget.d.ts.map +1 -0
- package/dist/plugins/elementTarget.js +537 -0
- package/dist/plugins/elementTarget.js.map +1 -0
- package/dist/plugins/frameBurst.d.ts +60 -0
- package/dist/plugins/frameBurst.d.ts.map +1 -0
- package/dist/plugins/frameBurst.js +260 -0
- package/dist/plugins/frameBurst.js.map +1 -0
- package/dist/plugins/index.d.ts +17 -0
- package/dist/plugins/index.d.ts.map +1 -0
- package/dist/plugins/index.js +9 -0
- package/dist/plugins/index.js.map +1 -0
- package/dist/plugins/pageContext.d.ts +13 -0
- package/dist/plugins/pageContext.d.ts.map +1 -0
- package/dist/plugins/pageContext.js +23 -0
- package/dist/plugins/pageContext.js.map +1 -0
- package/dist/plugins/screenshot.d.ts +34 -0
- package/dist/plugins/screenshot.d.ts.map +1 -0
- package/dist/plugins/screenshot.js +183 -0
- package/dist/plugins/screenshot.js.map +1 -0
- package/dist/plugins/version.d.ts +16 -0
- package/dist/plugins/version.d.ts.map +1 -0
- package/dist/plugins/version.js +21 -0
- package/dist/plugins/version.js.map +1 -0
- package/dist/session.d.ts +19 -0
- package/dist/session.d.ts.map +1 -0
- package/dist/session.js +18 -0
- package/dist/session.js.map +1 -0
- package/dist/source/adapters/compose.d.ts +7 -0
- package/dist/source/adapters/compose.d.ts.map +1 -0
- package/dist/source/adapters/compose.js +21 -0
- package/dist/source/adapters/compose.js.map +1 -0
- package/dist/source/adapters/createSourceResolver.d.ts +28 -0
- package/dist/source/adapters/createSourceResolver.d.ts.map +1 -0
- package/dist/source/adapters/createSourceResolver.js +59 -0
- package/dist/source/adapters/createSourceResolver.js.map +1 -0
- package/dist/source/adapters/detect.d.ts +22 -0
- package/dist/source/adapters/detect.d.ts.map +1 -0
- package/dist/source/adapters/detect.js +133 -0
- package/dist/source/adapters/detect.js.map +1 -0
- package/dist/source/adapters/index.d.ts +18 -0
- package/dist/source/adapters/index.d.ts.map +1 -0
- package/dist/source/adapters/index.js +10 -0
- package/dist/source/adapters/index.js.map +1 -0
- package/dist/source/adapters/locator.d.ts +14 -0
- package/dist/source/adapters/locator.d.ts.map +1 -0
- package/dist/source/adapters/locator.js +69 -0
- package/dist/source/adapters/locator.js.map +1 -0
- package/dist/source/adapters/next.d.ts +46 -0
- package/dist/source/adapters/next.d.ts.map +1 -0
- package/dist/source/adapters/next.js +124 -0
- package/dist/source/adapters/next.js.map +1 -0
- package/dist/source/adapters/nextFlight.d.ts +19 -0
- package/dist/source/adapters/nextFlight.d.ts.map +1 -0
- package/dist/source/adapters/nextFlight.js +80 -0
- package/dist/source/adapters/nextFlight.js.map +1 -0
- package/dist/source/adapters/qwik.d.ts +16 -0
- package/dist/source/adapters/qwik.d.ts.map +1 -0
- package/dist/source/adapters/qwik.js +49 -0
- package/dist/source/adapters/qwik.js.map +1 -0
- package/dist/source/adapters/react.d.ts +46 -0
- package/dist/source/adapters/react.d.ts.map +1 -0
- package/dist/source/adapters/react.js +201 -0
- package/dist/source/adapters/react.js.map +1 -0
- package/dist/source/adapters/svelte.d.ts +23 -0
- package/dist/source/adapters/svelte.d.ts.map +1 -0
- package/dist/source/adapters/svelte.js +64 -0
- package/dist/source/adapters/svelte.js.map +1 -0
- package/dist/source/adapters/vue.d.ts +27 -0
- package/dist/source/adapters/vue.d.ts.map +1 -0
- package/dist/source/adapters/vue.js +76 -0
- package/dist/source/adapters/vue.js.map +1 -0
- package/dist/source/locateJsx.d.ts +25 -0
- package/dist/source/locateJsx.d.ts.map +1 -0
- package/dist/source/locateJsx.js +67 -0
- package/dist/source/locateJsx.js.map +1 -0
- package/dist/source/rankSourceHierarchy.d.ts +25 -0
- package/dist/source/rankSourceHierarchy.d.ts.map +1 -0
- package/dist/source/rankSourceHierarchy.js +60 -0
- package/dist/source/rankSourceHierarchy.js.map +1 -0
- package/dist/source/reactSourceResolver.d.ts +3 -0
- package/dist/source/reactSourceResolver.d.ts.map +1 -0
- package/dist/source/reactSourceResolver.js +3 -0
- package/dist/source/reactSourceResolver.js.map +1 -0
- package/dist/source/sourceMap.d.ts +41 -0
- package/dist/source/sourceMap.d.ts.map +1 -0
- package/dist/source/sourceMap.js +235 -0
- package/dist/source/sourceMap.js.map +1 -0
- package/dist/transport.d.ts +13 -0
- package/dist/transport.d.ts.map +1 -0
- package/dist/transport.js +37 -0
- package/dist/transport.js.map +1 -0
- package/dist/types.d.ts +28 -0
- package/dist/types.d.ts.map +1 -0
- package/dist/types.js +2 -0
- package/dist/types.js.map +1 -0
- package/package.json +68 -0
|
@@ -0,0 +1,62 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Run each plugin's `setup`, returning a single dispose that runs all
|
|
3
|
+
* setup-returned disposers and `dispose` hooks (idempotent).
|
|
4
|
+
*/
|
|
5
|
+
export function installCapturePlugins(plugins) {
|
|
6
|
+
const disposers = [];
|
|
7
|
+
let disposed = false;
|
|
8
|
+
for (const plugin of plugins) {
|
|
9
|
+
if (plugin.setup) {
|
|
10
|
+
try {
|
|
11
|
+
const fromSetup = plugin.setup();
|
|
12
|
+
if (typeof fromSetup === "function") {
|
|
13
|
+
disposers.push(fromSetup);
|
|
14
|
+
}
|
|
15
|
+
}
|
|
16
|
+
catch {
|
|
17
|
+
// A failed setup must not block other plugins.
|
|
18
|
+
}
|
|
19
|
+
}
|
|
20
|
+
if (plugin.dispose) {
|
|
21
|
+
disposers.push(() => {
|
|
22
|
+
plugin.dispose?.();
|
|
23
|
+
});
|
|
24
|
+
}
|
|
25
|
+
}
|
|
26
|
+
return () => {
|
|
27
|
+
if (disposed)
|
|
28
|
+
return;
|
|
29
|
+
disposed = true;
|
|
30
|
+
for (let i = disposers.length - 1; i >= 0; i--) {
|
|
31
|
+
try {
|
|
32
|
+
disposers[i]();
|
|
33
|
+
}
|
|
34
|
+
catch {
|
|
35
|
+
// Ignore dispose errors.
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
};
|
|
39
|
+
}
|
|
40
|
+
/**
|
|
41
|
+
* Await all `collect()` calls and merge into an envelope keyed by plugin id.
|
|
42
|
+
* Skips `undefined`. On collect throw, stores `{ ok: false, error }` under that id.
|
|
43
|
+
*/
|
|
44
|
+
export async function collectPluginExtras(plugins) {
|
|
45
|
+
const envelope = {};
|
|
46
|
+
await Promise.all(plugins.map(async (plugin) => {
|
|
47
|
+
try {
|
|
48
|
+
const value = await plugin.collect();
|
|
49
|
+
if (value !== undefined) {
|
|
50
|
+
envelope[plugin.id] = { ok: true, value };
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
catch (error) {
|
|
54
|
+
envelope[plugin.id] = {
|
|
55
|
+
ok: false,
|
|
56
|
+
error: error instanceof Error ? error.message : String(error),
|
|
57
|
+
};
|
|
58
|
+
}
|
|
59
|
+
}));
|
|
60
|
+
return envelope;
|
|
61
|
+
}
|
|
62
|
+
//# sourceMappingURL=core.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"core.js","sourceRoot":"","sources":["../../src/plugins/core.ts"],"names":[],"mappings":"AAcA;;;GAGG;AACH,MAAM,UAAU,qBAAqB,CAAC,OAAyC;IAC7E,MAAM,SAAS,GAAsB,EAAE,CAAC;IACxC,IAAI,QAAQ,GAAG,KAAK,CAAC;IAErB,KAAK,MAAM,MAAM,IAAI,OAAO,EAAE,CAAC;QAC7B,IAAI,MAAM,CAAC,KAAK,EAAE,CAAC;YACjB,IAAI,CAAC;gBACH,MAAM,SAAS,GAAG,MAAM,CAAC,KAAK,EAAE,CAAC;gBACjC,IAAI,OAAO,SAAS,KAAK,UAAU,EAAE,CAAC;oBACpC,SAAS,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC;gBAC5B,CAAC;YACH,CAAC;YAAC,MAAM,CAAC;gBACP,+CAA+C;YACjD,CAAC;QACH,CAAC;QACD,IAAI,MAAM,CAAC,OAAO,EAAE,CAAC;YACnB,SAAS,CAAC,IAAI,CAAC,GAAG,EAAE;gBAClB,MAAM,CAAC,OAAO,EAAE,EAAE,CAAC;YACrB,CAAC,CAAC,CAAC;QACL,CAAC;IACH,CAAC;IAED,OAAO,GAAG,EAAE;QACV,IAAI,QAAQ;YAAE,OAAO;QACrB,QAAQ,GAAG,IAAI,CAAC;QAChB,KAAK,IAAI,CAAC,GAAG,SAAS,CAAC,MAAM,GAAG,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,EAAE,EAAE,CAAC;YAC/C,IAAI,CAAC;gBACH,SAAS,CAAC,CAAC,CAAE,EAAE,CAAC;YAClB,CAAC;YAAC,MAAM,CAAC;gBACP,yBAAyB;YAC3B,CAAC;QACH,CAAC;IACH,CAAC,CAAC;AACJ,CAAC;AAED;;;GAGG;AACH,MAAM,CAAC,KAAK,UAAU,mBAAmB,CACvC,OAAW;IAEX,MAAM,QAAQ,GAAG,EAAgD,CAAC;IAClE,MAAM,OAAO,CAAC,GAAG,CACf,OAAO,CAAC,GAAG,CAAC,KAAK,EAAE,MAAM,EAAE,EAAE;QAC3B,IAAI,CAAC;YACH,MAAM,KAAK,GAAG,MAAM,MAAM,CAAC,OAAO,EAAE,CAAC;YACrC,IAAI,KAAK,KAAK,SAAS,EAAE,CAAC;gBACvB,QAAoC,CAAC,MAAM,CAAC,EAAE,CAAC,GAAG,EAAE,EAAE,EAAE,IAAI,EAAE,KAAK,EAAE,CAAC;YACzE,CAAC;QACH,CAAC;QAAC,OAAO,KAAK,EAAE,CAAC;YACd,QAAoC,CAAC,MAAM,CAAC,EAAE,CAAC,GAAG;gBACjD,EAAE,EAAE,KAAK;gBACT,KAAK,EAAE,KAAK,YAAY,KAAK,CAAC,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,CAAC,MAAM,CAAC,KAAK,CAAC;aAC9D,CAAC;QACJ,CAAC;IACH,CAAC,CAAC,CACH,CAAC;IACF,OAAO,QAAQ,CAAC;AAClB,CAAC"}
|
|
@@ -0,0 +1,156 @@
|
|
|
1
|
+
import type { FeedbackCapturePlugin } from "./core.js";
|
|
2
|
+
import type { FeedbackViewport } from "../types.js";
|
|
3
|
+
export type ElementBoundingBox = {
|
|
4
|
+
x: number;
|
|
5
|
+
y: number;
|
|
6
|
+
width: number;
|
|
7
|
+
height: number;
|
|
8
|
+
};
|
|
9
|
+
/** Best-effort component / definition site (from framework debug + sourcemaps). */
|
|
10
|
+
export type ComponentSourceLocation = {
|
|
11
|
+
name?: string;
|
|
12
|
+
fileName: string;
|
|
13
|
+
line: number;
|
|
14
|
+
column?: number;
|
|
15
|
+
};
|
|
16
|
+
/** Optional enrichment merged onto {@link ElementTarget} after DOM snapshot. */
|
|
17
|
+
export type ElementSourceEnrichment = {
|
|
18
|
+
/**
|
|
19
|
+
* Primary focus for open-in-editor / agents (usage site when the leaf is a
|
|
20
|
+
* UI primitive; otherwise the leaf itself).
|
|
21
|
+
*/
|
|
22
|
+
component?: ComponentSourceLocation;
|
|
23
|
+
/**
|
|
24
|
+
* Innermost definition when it differs from {@link component}
|
|
25
|
+
* (e.g. design-system `Link` while `component` is `Header`).
|
|
26
|
+
*/
|
|
27
|
+
leaf?: ComponentSourceLocation;
|
|
28
|
+
/** Outer ancestors beyond primary (and leaf), capped by the resolver. */
|
|
29
|
+
owners?: ComponentSourceLocation[];
|
|
30
|
+
};
|
|
31
|
+
/** Pluggable DOM → source bridge (React, Vue, …). Failures must not reject. */
|
|
32
|
+
export type ResolveElementSource = (el: Element) => Promise<ElementSourceEnrichment | undefined>;
|
|
33
|
+
/** Structured DOM target for agent-facing feedback. */
|
|
34
|
+
export type ElementTarget = {
|
|
35
|
+
selector: string;
|
|
36
|
+
tagName: string;
|
|
37
|
+
id?: string;
|
|
38
|
+
role?: string;
|
|
39
|
+
name?: string;
|
|
40
|
+
textSnippet?: string;
|
|
41
|
+
boundingBox: ElementBoundingBox;
|
|
42
|
+
innerHTMLSnippet?: string;
|
|
43
|
+
/** Curated computed styles when requested. */
|
|
44
|
+
styles?: Record<string, string>;
|
|
45
|
+
viewport: FeedbackViewport;
|
|
46
|
+
/**
|
|
47
|
+
* Primary component focus (usage preferred over UI primitives).
|
|
48
|
+
* Omitted when unresolved.
|
|
49
|
+
*/
|
|
50
|
+
component?: ComponentSourceLocation;
|
|
51
|
+
/** Innermost definition when different from {@link component}. */
|
|
52
|
+
leaf?: ComponentSourceLocation;
|
|
53
|
+
/** Outer ancestors beyond primary / leaf (when resolved). */
|
|
54
|
+
owners?: ComponentSourceLocation[];
|
|
55
|
+
};
|
|
56
|
+
/**
|
|
57
|
+
* Which computed styles to attach.
|
|
58
|
+
* - `"none"` — omit (default)
|
|
59
|
+
* - `"layout"` — box model / positioning / flex-grid
|
|
60
|
+
* - `"computed"` — layout + typography / color / border / opacity
|
|
61
|
+
*/
|
|
62
|
+
export type ElementStylesMode = "none" | "layout" | "computed";
|
|
63
|
+
export type PickElementOptions = {
|
|
64
|
+
/** Roots whose descendants are ignored (feedback UI, picker chrome). */
|
|
65
|
+
ignoreRoots?: HTMLElement[];
|
|
66
|
+
/** Optional status hint shown while picking (dodges the pointer). */
|
|
67
|
+
hint?: string;
|
|
68
|
+
/**
|
|
69
|
+
* Include a truncated `innerHTML` snippet on the target.
|
|
70
|
+
* Default: `false` (selector / role / text / bbox are usually enough for agents;
|
|
71
|
+
* HTML can be large and may contain sensitive copy).
|
|
72
|
+
*/
|
|
73
|
+
includeInnerHTML?: boolean;
|
|
74
|
+
/** Max characters for `innerHTMLSnippet` when enabled (default: 500). */
|
|
75
|
+
maxInnerHTMLLength?: number;
|
|
76
|
+
/**
|
|
77
|
+
* Attach curated `getComputedStyle` values.
|
|
78
|
+
* Default: `"none"`. Prefer `"layout"` for spacing bugs; `"computed"` adds paint/type.
|
|
79
|
+
*/
|
|
80
|
+
styles?: ElementStylesMode;
|
|
81
|
+
/**
|
|
82
|
+
* Optional framework bridge (e.g. `createReactSourceResolver`).
|
|
83
|
+
* Runs after the DOM snapshot; errors are swallowed.
|
|
84
|
+
*/
|
|
85
|
+
resolveSource?: ResolveElementSource;
|
|
86
|
+
};
|
|
87
|
+
export type ElementTargetPluginOptions = {
|
|
88
|
+
/** Default ignore roots for {@link ElementTargetPlugin.pick} (feedback UI chrome). */
|
|
89
|
+
getIgnoreRoots?: () => HTMLElement[];
|
|
90
|
+
/** Default hint shown on the picker overlay. */
|
|
91
|
+
hint?: string;
|
|
92
|
+
/**
|
|
93
|
+
* Include truncated innerHTML on collected targets.
|
|
94
|
+
* Default: `false`.
|
|
95
|
+
*/
|
|
96
|
+
includeInnerHTML?: boolean;
|
|
97
|
+
/** Max characters for `innerHTMLSnippet` when enabled (default: 500). */
|
|
98
|
+
maxInnerHTMLLength?: number;
|
|
99
|
+
/** Default styles mode for picks (default: `"none"`). */
|
|
100
|
+
styles?: ElementStylesMode;
|
|
101
|
+
/** Default source resolver for picks / recollect. */
|
|
102
|
+
resolveSource?: ResolveElementSource;
|
|
103
|
+
};
|
|
104
|
+
/**
|
|
105
|
+
* Session plugin: owns the picked target, exposes pick/clear, and collects
|
|
106
|
+
* into `envelope.elementTarget` (omitted when nothing is picked).
|
|
107
|
+
*/
|
|
108
|
+
export type ElementTargetPlugin = FeedbackCapturePlugin<"elementTarget", ElementTarget> & {
|
|
109
|
+
/** Open the DevTools-style picker; stores the result on success. Cancel keeps the prior target. */
|
|
110
|
+
pick: (options?: PickElementOptions) => Promise<ElementTarget | null>;
|
|
111
|
+
/** Clear the current target. */
|
|
112
|
+
clear: () => void;
|
|
113
|
+
/** Read the current target. */
|
|
114
|
+
getTarget: () => ElementTarget | undefined;
|
|
115
|
+
/** Replace the current target (custom UI / tests). */
|
|
116
|
+
setTarget: (target: ElementTarget | undefined) => void;
|
|
117
|
+
};
|
|
118
|
+
/** Box model / positioning / flex-grid — useful for spacing & alignment bugs. */
|
|
119
|
+
export declare const LAYOUT_STYLE_PROPS: readonly ["display", "position", "top", "right", "bottom", "left", "inset", "width", "height", "min-width", "min-height", "max-width", "max-height", "margin", "margin-top", "margin-right", "margin-bottom", "margin-left", "padding", "padding-top", "padding-right", "padding-bottom", "padding-left", "box-sizing", "overflow", "overflow-x", "overflow-y", "z-index", "transform", "gap", "row-gap", "column-gap", "flex", "flex-direction", "flex-wrap", "flex-grow", "flex-shrink", "flex-basis", "align-items", "align-self", "align-content", "justify-content", "justify-items", "justify-self", "grid", "grid-template-columns", "grid-template-rows", "grid-column", "grid-row", "place-items", "place-content"];
|
|
120
|
+
/** Typography / paint — useful with layout for visual polish bugs. */
|
|
121
|
+
export declare const COMPUTED_EXTRA_STYLE_PROPS: readonly ["font-family", "font-size", "font-weight", "font-style", "line-height", "letter-spacing", "text-align", "text-decoration", "text-transform", "white-space", "color", "background", "background-color", "background-image", "border", "border-radius", "border-top", "border-right", "border-bottom", "border-left", "box-shadow", "opacity", "visibility", "cursor", "pointer-events"];
|
|
122
|
+
/**
|
|
123
|
+
* Read a curated subset of `getComputedStyle` for agent-facing feedback.
|
|
124
|
+
* Returns `undefined` when mode is `"none"` or nothing useful was collected.
|
|
125
|
+
*/
|
|
126
|
+
export declare function collectComputedStyles(el: Element, mode?: ElementStylesMode): Record<string, string> | undefined;
|
|
127
|
+
/** Prefer the nearest interactive ancestor for icon / SVG clicks. */
|
|
128
|
+
export declare function resolveInteractiveTarget(el: Element): Element;
|
|
129
|
+
/**
|
|
130
|
+
* Build a stable-ish CSS selector: #id → [data-testid] → tag:nth-of-type path.
|
|
131
|
+
*/
|
|
132
|
+
export declare function buildCssSelector(el: Element): string;
|
|
133
|
+
export type CollectElementTargetOptions = {
|
|
134
|
+
includeInnerHTML?: boolean;
|
|
135
|
+
maxInnerHTMLLength?: number;
|
|
136
|
+
styles?: ElementStylesMode;
|
|
137
|
+
resolveSource?: ResolveElementSource;
|
|
138
|
+
};
|
|
139
|
+
/** Snapshot an element into an {@link ElementTarget} (DOM fields only; sync). */
|
|
140
|
+
export declare function collectElementTarget(el: Element, options?: CollectElementTargetOptions): ElementTarget;
|
|
141
|
+
/**
|
|
142
|
+
* DOM snapshot plus optional {@link ResolveElementSource} enrichment.
|
|
143
|
+
* Resolver errors are swallowed so pick always returns DOM metadata.
|
|
144
|
+
*/
|
|
145
|
+
export declare function collectElementTargetAsync(el: Element, options?: CollectElementTargetOptions): Promise<ElementTarget>;
|
|
146
|
+
/**
|
|
147
|
+
* Low-level DevTools-style picker (does not store state).
|
|
148
|
+
* Prefer {@link createElementTargetPlugin} `.pick()` in session flows.
|
|
149
|
+
*/
|
|
150
|
+
export declare function pickElement(options?: PickElementOptions): Promise<ElementTarget | null>;
|
|
151
|
+
/**
|
|
152
|
+
* Built-in plugin that owns element picking and contributes `envelope.elementTarget`.
|
|
153
|
+
* Register at session init (like console logs); call `pick()` / `clear()` from the UI.
|
|
154
|
+
*/
|
|
155
|
+
export declare function createElementTargetPlugin(options?: ElementTargetPluginOptions): ElementTargetPlugin;
|
|
156
|
+
//# sourceMappingURL=elementTarget.d.ts.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"elementTarget.d.ts","sourceRoot":"","sources":["../../src/plugins/elementTarget.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,qBAAqB,EAAE,MAAM,WAAW,CAAC;AACvD,OAAO,KAAK,EAAE,gBAAgB,EAAE,MAAM,aAAa,CAAC;AAGpD,MAAM,MAAM,kBAAkB,GAAG;IAC/B,CAAC,EAAE,MAAM,CAAC;IACV,CAAC,EAAE,MAAM,CAAC;IACV,KAAK,EAAE,MAAM,CAAC;IACd,MAAM,EAAE,MAAM,CAAC;CAChB,CAAC;AAEF,mFAAmF;AACnF,MAAM,MAAM,uBAAuB,GAAG;IACpC,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,QAAQ,EAAE,MAAM,CAAC;IACjB,IAAI,EAAE,MAAM,CAAC;IACb,MAAM,CAAC,EAAE,MAAM,CAAC;CACjB,CAAC;AAEF,gFAAgF;AAChF,MAAM,MAAM,uBAAuB,GAAG;IACpC;;;OAGG;IACH,SAAS,CAAC,EAAE,uBAAuB,CAAC;IACpC;;;OAGG;IACH,IAAI,CAAC,EAAE,uBAAuB,CAAC;IAC/B,yEAAyE;IACzE,MAAM,CAAC,EAAE,uBAAuB,EAAE,CAAC;CACpC,CAAC;AAEF,+EAA+E;AAC/E,MAAM,MAAM,oBAAoB,GAAG,CAAC,EAAE,EAAE,OAAO,KAAK,OAAO,CAAC,uBAAuB,GAAG,SAAS,CAAC,CAAC;AAEjG,uDAAuD;AACvD,MAAM,MAAM,aAAa,GAAG;IAC1B,QAAQ,EAAE,MAAM,CAAC;IACjB,OAAO,EAAE,MAAM,CAAC;IAChB,EAAE,CAAC,EAAE,MAAM,CAAC;IACZ,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,IAAI,CAAC,EAAE,MAAM,CAAC;IACd,WAAW,C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