inspector-ng 0.0.15 → 0.0.16
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 +5 -5
- package/esm2022/lib/checkpoints.mjs +11 -2
- package/esm2022/lib/distances.mjs +65 -1
- package/esm2022/lib/inspector.component.mjs +59 -20
- package/fesm2022/inspector-ng.mjs +132 -20
- package/fesm2022/inspector-ng.mjs.map +1 -1
- package/lib/checkpoints.d.ts +1 -0
- package/lib/inspector.component.d.ts +3 -1
- package/package.json +1 -1
package/lib/checkpoints.d.ts
CHANGED
|
@@ -47,6 +47,7 @@ export declare class InspectorCheckpointService {
|
|
|
47
47
|
rename(id: string, name: string): Promise<boolean>;
|
|
48
48
|
delete(id: string): Promise<boolean>;
|
|
49
49
|
clearError(): void;
|
|
50
|
+
private restoreState;
|
|
50
51
|
private currentRoute;
|
|
51
52
|
private currentPathname;
|
|
52
53
|
private missingStoreMessage;
|
|
@@ -2,7 +2,7 @@ import { ElementRef, OnDestroy } from '@angular/core';
|
|
|
2
2
|
import { DistanceOverlay, Guide, GuideOrientation, InspectMeasurement, Rect, TextBlockAnnotation, ToolMode } from './types';
|
|
3
3
|
import { checkpointActivityAt, InspectorCheckpointRecord, InspectorCheckpointService } from './checkpoints';
|
|
4
4
|
import * as i0 from "@angular/core";
|
|
5
|
-
type InspectorCommandActionId = 'select' | 'type' | 'save' | 'vertical' | 'horizontal'
|
|
5
|
+
type InspectorCommandActionId = 'select' | 'type' | 'save' | 'vertical' | 'horizontal';
|
|
6
6
|
interface InspectorCommandAction {
|
|
7
7
|
readonly id: InspectorCommandActionId;
|
|
8
8
|
readonly label: string;
|
|
@@ -156,6 +156,7 @@ export declare class inspectorComponent implements OnDestroy {
|
|
|
156
156
|
private draggingGuideId;
|
|
157
157
|
private selectedElement;
|
|
158
158
|
private hoverElement;
|
|
159
|
+
private hasSelectedPet;
|
|
159
160
|
private toastTimer;
|
|
160
161
|
constructor(platformId: object);
|
|
161
162
|
ngOnInit(): void;
|
|
@@ -208,6 +209,7 @@ export declare class inspectorComponent implements OnDestroy {
|
|
|
208
209
|
private selectElementAtPoint;
|
|
209
210
|
private updateDistanceOverlay;
|
|
210
211
|
private refreshTypographyBlocks;
|
|
212
|
+
private randomizePet;
|
|
211
213
|
private addGuide;
|
|
212
214
|
private getGuidePreview;
|
|
213
215
|
private snapGuide;
|