@eyeglass/inspector 0.1.2 → 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/dist/index.js +1362 -32
- package/dist/inspector.d.ts +15 -0
- package/dist/inspector.js +614 -11
- package/package.json +3 -2
package/dist/inspector.d.ts
CHANGED
|
@@ -17,7 +17,9 @@ export declare class EyeglassInspector extends HTMLElement {
|
|
|
17
17
|
private activityEvents;
|
|
18
18
|
private currentStatus;
|
|
19
19
|
private hubExpanded;
|
|
20
|
+
private hubPage;
|
|
20
21
|
private inspectorEnabled;
|
|
22
|
+
private autoCommitEnabled;
|
|
21
23
|
private history;
|
|
22
24
|
private isDragging;
|
|
23
25
|
private dragOffset;
|
|
@@ -30,18 +32,27 @@ export declare class EyeglassInspector extends HTMLElement {
|
|
|
30
32
|
private static readonly MAX_SELECTION;
|
|
31
33
|
private cursorStyleElement;
|
|
32
34
|
private scrollTimeout;
|
|
35
|
+
private phraseIndex;
|
|
36
|
+
private phraseInterval;
|
|
33
37
|
constructor();
|
|
34
38
|
connectedCallback(): void;
|
|
35
39
|
private saveSession;
|
|
36
40
|
private restoreSession;
|
|
37
41
|
private showResultToast;
|
|
38
42
|
private hideToast;
|
|
43
|
+
private loadEnabledState;
|
|
44
|
+
private saveEnabledState;
|
|
45
|
+
private loadAutoCommitState;
|
|
46
|
+
private saveAutoCommitState;
|
|
39
47
|
private loadHistory;
|
|
40
48
|
private saveHistory;
|
|
41
49
|
private addToHistory;
|
|
42
50
|
private updateHistoryStatus;
|
|
43
51
|
private renderHub;
|
|
52
|
+
private renderHubMainPage;
|
|
53
|
+
private renderHubSettingsPage;
|
|
44
54
|
private requestUndo;
|
|
55
|
+
private requestCommit;
|
|
45
56
|
disconnectedCallback(): void;
|
|
46
57
|
private connectSSE;
|
|
47
58
|
private handleActivityEvent;
|
|
@@ -75,8 +86,12 @@ export declare class EyeglassInspector extends HTMLElement {
|
|
|
75
86
|
private renderQuestionItem;
|
|
76
87
|
private getUserNote;
|
|
77
88
|
private getStatusText;
|
|
89
|
+
private startPhraseRotation;
|
|
90
|
+
private stopPhraseRotation;
|
|
91
|
+
private updateFooterText;
|
|
78
92
|
private hidePanel;
|
|
79
93
|
private submit;
|
|
94
|
+
private submitFollowUp;
|
|
80
95
|
private submitAnswer;
|
|
81
96
|
private escapeHtml;
|
|
82
97
|
private updateCursor;
|