@inspect-devtools/client 0.4.0 → 0.5.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/dist/App.vue.d.ts.map +1 -1
- package/dist/composables/useInspector.d.ts +2 -3
- package/dist/composables/useInspector.d.ts.map +1 -1
- package/dist/entry.js +2007 -2093
- package/dist/style.css +1 -1
- package/package.json +2 -2
package/dist/App.vue.d.ts.map
CHANGED
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"App.vue.d.ts","sourceRoot":"","sources":["../src/App.vue"],"names":[],"mappings":"
|
|
1
|
+
{"version":3,"file":"App.vue.d.ts","sourceRoot":"","sources":["../src/App.vue"],"names":[],"mappings":"AAwFA,OAAO,KAAK,EAAE,4BAA4B,EAAwB,MAAM,wBAAwB,CAAA;AAKhG,KAAK,WAAW,GAAG;IACjB,OAAO,EAAE,4BAA4B,CAAA;CACtC,CAAC;AA2LF,QAAA,MAAM,YAAY,kSAEhB,CAAC;wBACkB,OAAO,YAAY;AAAxC,wBAAyC"}
|
|
@@ -1,12 +1,11 @@
|
|
|
1
1
|
import type { ClientInspectDevtoolsOptions } from '@inspect-devtools/core';
|
|
2
2
|
import { type GrabSelection } from '@inspect-devtools/core/browser';
|
|
3
3
|
export declare const isEditableTarget: (target: EventTarget | null) => boolean;
|
|
4
|
-
export declare const getInspectorShortcutAction: (event: Pick<KeyboardEvent, "altKey" | "code" | "shiftKey" | "target">) => "cancel" | "toggle" |
|
|
4
|
+
export declare const getInspectorShortcutAction: (event: Pick<KeyboardEvent, "altKey" | "code" | "shiftKey" | "target">) => "cancel" | "toggle" | undefined;
|
|
5
5
|
interface UseInspectorOptions {
|
|
6
6
|
onInspectStart?: () => void;
|
|
7
|
-
onTogglePanel?: () => void;
|
|
8
7
|
}
|
|
9
|
-
export declare const useInspector: (clientOptions: ClientInspectDevtoolsOptions, { onInspectStart
|
|
8
|
+
export declare const useInspector: (clientOptions: ClientInspectDevtoolsOptions, { onInspectStart }?: UseInspectorOptions) => {
|
|
10
9
|
activeSelection: import("vue").ComputedRef<GrabSelection | null>;
|
|
11
10
|
hoveredElement: import("vue").ShallowRef<Element | null, Element | null>;
|
|
12
11
|
isInspecting: import("vue").ShallowRef<boolean, boolean>;
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"useInspector.d.ts","sourceRoot":"","sources":["../../src/composables/useInspector.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,wBAAwB,CAAA;AAC1E,OAAO,EAAmE,KAAK,aAAa,EAAE,MAAM,gCAAgC,CAAA;AAUpI,eAAO,MAAM,gBAAgB,GAAI,QAAQ,WAAW,GAAG,IAAI,KAAG,OAS7D,CAAA;AAED,eAAO,MAAM,0BAA0B,GAAI,OAAO,IAAI,CAAC,aAAa,EAAE,QAAQ,GAAG,MAAM,GAAG,UAAU,GAAG,QAAQ,CAAC,KAAG,QAAQ,GAAG,QAAQ,GAAG,
|
|
1
|
+
{"version":3,"file":"useInspector.d.ts","sourceRoot":"","sources":["../../src/composables/useInspector.ts"],"names":[],"mappings":"AACA,OAAO,KAAK,EAAE,4BAA4B,EAAE,MAAM,wBAAwB,CAAA;AAC1E,OAAO,EAAmE,KAAK,aAAa,EAAE,MAAM,gCAAgC,CAAA;AAUpI,eAAO,MAAM,gBAAgB,GAAI,QAAQ,WAAW,GAAG,IAAI,KAAG,OAS7D,CAAA;AAED,eAAO,MAAM,0BAA0B,GAAI,OAAO,IAAI,CAAC,aAAa,EAAE,QAAQ,GAAG,MAAM,GAAG,UAAU,GAAG,QAAQ,CAAC,KAAG,QAAQ,GAAG,QAAQ,GAAG,SAOxI,CAAA;AA0CD,UAAU,mBAAmB;IAC3B,cAAc,CAAC,EAAE,MAAM,IAAI,CAAA;CAC5B;AAKD,eAAO,MAAM,YAAY,GAAI,eAAe,4BAA4B,EAAE,qBAAoB,mBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAmPrH,CAAA"}
|