@viamrobotics/test-widgets 0.1.1 → 0.1.3
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/README.md +45 -64
- package/dist/components/index.d.ts +0 -2
- package/dist/components/index.js +0 -2
- package/dist/components/queries.svelte +11 -8
- package/dist/components/widgets/camera/camera.svelte +2 -3
- package/dist/components/widgets/camera/live-or-polling-video.svelte +7 -8
- package/dist/components/widgets/camera/picture-in-picture-button.svelte +7 -8
- package/dist/components/widgets/camera/picture-in-picture-button.svelte.d.ts +2 -3
- package/dist/components/widgets/do-command/do-command.svelte +14 -4
- package/dist/components/widgets/switch/position-view.svelte +6 -6
- package/dist/components/widgets/vision-service/context.svelte.js +6 -6
- package/dist/components/widgets/vision-service/detection.svelte +0 -1
- package/dist/components/widgets/vision-service/image.svelte +8 -3
- package/dist/components/widgets/vision-service/vision-service.svelte +4 -1
- package/package.json +39 -29
- package/dist/components/image-annotations/annotation-edit-utils.d.ts +0 -21
- package/dist/components/image-annotations/annotation-edit-utils.js +0 -183
- package/dist/components/image-annotations/bounding-box-labeler.svelte +0 -521
- package/dist/components/image-annotations/bounding-box-labeler.svelte.d.ts +0 -51
- package/dist/components/image-annotations/bounding-box-types.d.ts +0 -29
- package/dist/components/image-annotations/bounding-box-types.js +0 -17
- package/dist/components/image-annotations/bounding-box.svelte +0 -230
- package/dist/components/image-annotations/bounding-box.svelte.d.ts +0 -44
- package/dist/components/image-annotations/get-image-size.d.ts +0 -7
- package/dist/components/image-annotations/get-image-size.js +0 -29
- package/dist/components/image-annotations/labeler-constants.d.ts +0 -4
- package/dist/components/image-annotations/labeler-constants.js +0 -4
- package/dist/components/image-annotations/resize-corner.svelte +0 -47
- package/dist/components/image-annotations/resize-corner.svelte.d.ts +0 -9
- package/dist/components/image-annotations/resize-edge.svelte +0 -51
- package/dist/components/image-annotations/resize-edge.svelte.d.ts +0 -9
- package/dist/components/image-annotations/resize-handle-props.d.ts +0 -60
- package/dist/components/image-annotations/resize-handle-props.js +0 -66
- package/dist/components/image-annotations/resize-handles.svelte +0 -53
- package/dist/components/image-annotations/resize-handles.svelte.d.ts +0 -8
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
<script lang="ts">
|
|
2
|
-
import { ResizeHandleLocation } from './bounding-box-types'
|
|
3
|
-
import ResizeCorner from './resize-corner.svelte'
|
|
4
|
-
import ResizeEdge from './resize-edge.svelte'
|
|
5
|
-
|
|
6
|
-
interface Props {
|
|
7
|
-
zoom: number
|
|
8
|
-
onMouseDown: (event: MouseEvent, edge: ResizeHandleLocation) => void
|
|
9
|
-
}
|
|
10
|
-
|
|
11
|
-
const { zoom, onMouseDown }: Props = $props()
|
|
12
|
-
</script>
|
|
13
|
-
|
|
14
|
-
<ResizeEdge
|
|
15
|
-
{zoom}
|
|
16
|
-
edgeDesignation={ResizeHandleLocation.T}
|
|
17
|
-
{onMouseDown}
|
|
18
|
-
/>
|
|
19
|
-
<ResizeEdge
|
|
20
|
-
{zoom}
|
|
21
|
-
edgeDesignation={ResizeHandleLocation.R}
|
|
22
|
-
{onMouseDown}
|
|
23
|
-
/>
|
|
24
|
-
<ResizeEdge
|
|
25
|
-
{zoom}
|
|
26
|
-
edgeDesignation={ResizeHandleLocation.B}
|
|
27
|
-
{onMouseDown}
|
|
28
|
-
/>
|
|
29
|
-
<ResizeEdge
|
|
30
|
-
{zoom}
|
|
31
|
-
edgeDesignation={ResizeHandleLocation.L}
|
|
32
|
-
{onMouseDown}
|
|
33
|
-
/>
|
|
34
|
-
<ResizeCorner
|
|
35
|
-
{zoom}
|
|
36
|
-
cornerDesignation={ResizeHandleLocation.TL}
|
|
37
|
-
{onMouseDown}
|
|
38
|
-
/>
|
|
39
|
-
<ResizeCorner
|
|
40
|
-
{zoom}
|
|
41
|
-
cornerDesignation={ResizeHandleLocation.TR}
|
|
42
|
-
{onMouseDown}
|
|
43
|
-
/>
|
|
44
|
-
<ResizeCorner
|
|
45
|
-
{zoom}
|
|
46
|
-
cornerDesignation={ResizeHandleLocation.BL}
|
|
47
|
-
{onMouseDown}
|
|
48
|
-
/>
|
|
49
|
-
<ResizeCorner
|
|
50
|
-
{zoom}
|
|
51
|
-
cornerDesignation={ResizeHandleLocation.BR}
|
|
52
|
-
{onMouseDown}
|
|
53
|
-
/>
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { ResizeHandleLocation } from './bounding-box-types';
|
|
2
|
-
interface Props {
|
|
3
|
-
zoom: number;
|
|
4
|
-
onMouseDown: (event: MouseEvent, edge: ResizeHandleLocation) => void;
|
|
5
|
-
}
|
|
6
|
-
declare const ResizeHandles: import("svelte").Component<Props, {}, "">;
|
|
7
|
-
type ResizeHandles = ReturnType<typeof ResizeHandles>;
|
|
8
|
-
export default ResizeHandles;
|