@inspect-devtools/client 0.6.0 → 0.7.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.
@@ -1,3 +1,5 @@
1
+ import type { CopyFormat } from '@inspect-devtools/core';
1
2
  import type { GrabSelection } from '@inspect-devtools/core/browser';
2
- export declare const formatSelectionLocation: (selection: GrabSelection, projectRoot?: string) => string | undefined;
3
+ export declare const formatSelectionLocation: (selection: GrabSelection, format?: CopyFormat, projectRoot?: string) => string | undefined;
4
+ export declare const formatRouteLocation: (location: Pick<Location, "pathname" | "search" | "hash">) => string;
3
5
  //# sourceMappingURL=selection-location.d.ts.map
@@ -1 +1 @@
1
- {"version":3,"file":"selection-location.d.ts","sourceRoot":"","sources":["../../src/composables/selection-location.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAA;AAEnE,eAAO,MAAM,uBAAuB,GAAI,WAAW,aAAa,EAAE,cAAc,MAAM,KAAG,MAAM,GAAG,SAUjG,CAAA"}
1
+ {"version":3,"file":"selection-location.d.ts","sourceRoot":"","sources":["../../src/composables/selection-location.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,wBAAwB,CAAA;AACxD,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,gCAAgC,CAAA;AAYnE,eAAO,MAAM,uBAAuB,GAAI,WAAW,aAAa,EAAE,SAAQ,UAAsB,EAAE,cAAc,MAAM,KAAG,MAAM,GAAG,SAgBjI,CAAA;AAID,eAAO,MAAM,mBAAmB,GAAI,UAAU,IAAI,CAAC,QAAQ,EAAE,UAAU,GAAG,QAAQ,GAAG,MAAM,CAAC,KAAG,MAG9F,CAAA"}
@@ -24,7 +24,7 @@ export declare const useInspector: (clientOptions: ClientInspectDevtoolsOptions,
24
24
  copySelectionLocation: () => Promise<void>;
25
25
  clearSelection: () => void;
26
26
  dispose: () => void;
27
- formatSelectionLocation: (selection: GrabSelection, projectRoot?: string) => string | undefined;
27
+ formatSelectionLocation: (selection: GrabSelection, format?: import("@inspect-devtools/core").CopyFormat, projectRoot?: string) => string | undefined;
28
28
  hoverOverlayStyle: import("vue").ComputedRef<{
29
29
  readonly display: "block";
30
30
  readonly transform: `translate(${number}px, ${number}px)`;
@@ -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,SAOxI,CAAA;AAGD,eAAO,MAAM,uBAAuB,GAAI,OAAO,IAAI,CAAC,UAAU,EAAE,QAAQ,GAAG,UAAU,CAAC,KAAG,KAAK,GAAG,UAAU,GAAG,SAK7G,CAAA;AA0CD,UAAU,mBAAmB;IAC3B,cAAc,CAAC,EAAE,MAAM,IAAI,CAAA;CAC5B;AAqBD,eAAO,MAAM,YAAY,GAAI,eAAe,4BAA4B,EAAE,qBAAoB,mBAAwB;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAyjBrH,CAAA"}
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,WAA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