@viamrobotics/test-widgets 0.0.1 → 0.1.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 (50) hide show
  1. package/dist/components/index.d.ts +2 -4
  2. package/dist/components/index.js +2 -4
  3. package/dist/components/maplibre/controls/center.svelte +13 -10
  4. package/dist/components/maplibre/controls/follow.svelte +9 -7
  5. package/dist/components/maplibre/controls/navigation.svelte +6 -4
  6. package/dist/components/maplibre/controls/satellite.svelte +6 -4
  7. package/dist/components/maplibre/{hooks.d.ts → hooks.svelte.d.ts} +9 -14
  8. package/dist/components/maplibre/{hooks.js → hooks.svelte.js} +31 -16
  9. package/dist/components/maplibre/index.d.ts +2 -2
  10. package/dist/components/maplibre/index.js +2 -2
  11. package/dist/components/maplibre/index.svelte +9 -2
  12. package/dist/components/maplibre/marker.svelte +5 -3
  13. package/dist/components/maplibre/plugins/{raycast.js → raycast.svelte.js} +8 -7
  14. package/dist/components/maplibre/plugins/three.svelte.js +8 -6
  15. package/dist/components/navigation-map/components/draw-tool.svelte +15 -8
  16. package/dist/components/navigation-map/components/nav/index.svelte +1 -1
  17. package/dist/components/navigation-map/components/nav/key.svelte +1 -1
  18. package/dist/components/navigation-map/components/nav/obstacles-legend.svelte +1 -1
  19. package/dist/components/navigation-map/components/nav/obstacles.svelte +5 -3
  20. package/dist/components/navigation-map/components/nav/waypoints.svelte +4 -2
  21. package/dist/components/navigation-map/components/obstacle.svelte +18 -12
  22. package/dist/components/navigation-map/plugins/interactivity.js +4 -2
  23. package/dist/components/widgets/arm/move-to-joint-positions.svelte +1 -0
  24. package/dist/components/widgets/arm/move-to-position.svelte +1 -0
  25. package/dist/components/widgets/do-command/do-command.svelte +14 -4
  26. package/dist/components/widgets/navigation/obstacles/scene.svelte +4 -2
  27. package/dist/components/widgets/switch/position-view.svelte +6 -6
  28. package/dist/components/widgets/vision-service/context.svelte.js +6 -6
  29. package/package.json +116 -116
  30. package/dist/components/image-annotations/annotation-edit-utils.d.ts +0 -21
  31. package/dist/components/image-annotations/annotation-edit-utils.js +0 -183
  32. package/dist/components/image-annotations/bounding-box-labeler.svelte +0 -521
  33. package/dist/components/image-annotations/bounding-box-labeler.svelte.d.ts +0 -51
  34. package/dist/components/image-annotations/bounding-box-types.d.ts +0 -29
  35. package/dist/components/image-annotations/bounding-box-types.js +0 -17
  36. package/dist/components/image-annotations/bounding-box.svelte +0 -230
  37. package/dist/components/image-annotations/bounding-box.svelte.d.ts +0 -44
  38. package/dist/components/image-annotations/get-image-size.d.ts +0 -7
  39. package/dist/components/image-annotations/get-image-size.js +0 -29
  40. package/dist/components/image-annotations/labeler-constants.d.ts +0 -4
  41. package/dist/components/image-annotations/labeler-constants.js +0 -4
  42. package/dist/components/image-annotations/resize-corner.svelte +0 -47
  43. package/dist/components/image-annotations/resize-corner.svelte.d.ts +0 -9
  44. package/dist/components/image-annotations/resize-edge.svelte +0 -51
  45. package/dist/components/image-annotations/resize-edge.svelte.d.ts +0 -9
  46. package/dist/components/image-annotations/resize-handle-props.d.ts +0 -60
  47. package/dist/components/image-annotations/resize-handle-props.js +0 -66
  48. package/dist/components/image-annotations/resize-handles.svelte +0 -53
  49. package/dist/components/image-annotations/resize-handles.svelte.d.ts +0 -8
  50. /package/dist/components/maplibre/plugins/{raycast.d.ts → raycast.svelte.d.ts} +0 -0
@@ -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;