uidex 0.2.1 → 0.3.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.
- package/README.md +263 -263
- package/dist/cli/cli.cjs +3243 -0
- package/dist/cli/cli.cjs.map +1 -0
- package/dist/cloud/index.cjs +149 -0
- package/dist/cloud/index.cjs.map +1 -0
- package/dist/cloud/index.d.cts +108 -0
- package/dist/cloud/index.d.ts +108 -0
- package/dist/cloud/index.js +120 -0
- package/dist/cloud/index.js.map +1 -0
- package/dist/headless/index.cjs +3580 -0
- package/dist/headless/index.cjs.map +1 -0
- package/dist/headless/index.d.cts +214 -0
- package/dist/headless/index.d.ts +214 -0
- package/dist/headless/index.js +3562 -0
- package/dist/headless/index.js.map +1 -0
- package/dist/index.cjs +7977 -3301
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.cts +898 -108
- package/dist/index.d.ts +898 -108
- package/dist/index.js +7934 -3270
- package/dist/index.js.map +1 -1
- package/dist/playwright/index.cjs +164 -24
- package/dist/playwright/index.cjs.map +1 -1
- package/dist/playwright/index.d.cts +32 -55
- package/dist/playwright/index.d.ts +32 -55
- package/dist/playwright/index.js +148 -21
- package/dist/playwright/index.js.map +1 -1
- package/dist/playwright/reporter.cjs +62 -28
- package/dist/playwright/reporter.cjs.map +1 -1
- package/dist/playwright/reporter.d.cts +24 -12
- package/dist/playwright/reporter.d.ts +24 -12
- package/dist/playwright/reporter.js +62 -28
- package/dist/playwright/reporter.js.map +1 -1
- package/dist/react/index.cjs +7970 -3267
- package/dist/react/index.cjs.map +1 -1
- package/dist/react/index.d.cts +670 -108
- package/dist/react/index.d.ts +670 -108
- package/dist/react/index.js +8016 -3274
- package/dist/react/index.js.map +1 -1
- package/dist/scan/index.cjs +3281 -0
- package/dist/scan/index.cjs.map +1 -0
- package/dist/scan/index.d.cts +373 -0
- package/dist/scan/index.d.ts +373 -0
- package/dist/scan/index.js +3224 -0
- package/dist/scan/index.js.map +1 -0
- package/package.json +74 -56
- package/templates/claude/audit.md +37 -0
- package/templates/claude/rules.md +212 -0
- package/claude/audit-command.md +0 -16
- package/claude/rules.md +0 -88
- package/dist/core/index.cjs +0 -3490
- package/dist/core/index.cjs.map +0 -1
- package/dist/core/index.d.cts +0 -441
- package/dist/core/index.d.ts +0 -441
- package/dist/core/index.global.js +0 -3469
- package/dist/core/index.global.js.map +0 -1
- package/dist/core/index.js +0 -3444
- package/dist/core/index.js.map +0 -1
- package/dist/core/style.css +0 -971
- package/dist/scripts/cli.cjs +0 -1168
- package/uidex.schema.json +0 -93
package/dist/core/index.d.ts
DELETED
|
@@ -1,441 +0,0 @@
|
|
|
1
|
-
type BorderStyle = 'solid' | 'dashed' | 'dotted';
|
|
2
|
-
type LabelPosition = 'top-left' | 'top-right' | 'bottom-left' | 'bottom-right';
|
|
3
|
-
type ButtonPosition = 'bottom-right' | 'bottom-left' | 'top-right' | 'top-left';
|
|
4
|
-
interface UidexDefaults {
|
|
5
|
-
color?: string;
|
|
6
|
-
borderStyle?: BorderStyle;
|
|
7
|
-
borderWidth?: number;
|
|
8
|
-
showLabel?: boolean;
|
|
9
|
-
labelPosition?: LabelPosition;
|
|
10
|
-
}
|
|
11
|
-
interface UidexConfig {
|
|
12
|
-
defaults?: UidexDefaults;
|
|
13
|
-
colors?: Record<string, string>;
|
|
14
|
-
}
|
|
15
|
-
interface UidexLocation {
|
|
16
|
-
filePath: string;
|
|
17
|
-
line: number;
|
|
18
|
-
doc?: string;
|
|
19
|
-
}
|
|
20
|
-
type UidexMap = Record<string, UidexLocation[]>;
|
|
21
|
-
interface UidexPage {
|
|
22
|
-
dir: string;
|
|
23
|
-
content: string;
|
|
24
|
-
componentIds: string[];
|
|
25
|
-
}
|
|
26
|
-
interface UidexFeature {
|
|
27
|
-
dir: string;
|
|
28
|
-
content: string;
|
|
29
|
-
componentIds: string[];
|
|
30
|
-
}
|
|
31
|
-
interface KeyboardShortcut {
|
|
32
|
-
key: string;
|
|
33
|
-
ctrlKey?: boolean;
|
|
34
|
-
shiftKey?: boolean;
|
|
35
|
-
altKey?: boolean;
|
|
36
|
-
metaKey?: boolean;
|
|
37
|
-
}
|
|
38
|
-
interface IngestConfig {
|
|
39
|
-
endpoint: string;
|
|
40
|
-
apiKey: string;
|
|
41
|
-
environment?: string;
|
|
42
|
-
appVersion?: string;
|
|
43
|
-
reporter?: {
|
|
44
|
-
email?: string;
|
|
45
|
-
name?: string;
|
|
46
|
-
};
|
|
47
|
-
metadata?: Record<string, string>;
|
|
48
|
-
captureConsole?: boolean;
|
|
49
|
-
captureNetwork?: boolean;
|
|
50
|
-
}
|
|
51
|
-
type FeedbackResult = {
|
|
52
|
-
ok: true;
|
|
53
|
-
id: string;
|
|
54
|
-
sequenceNumber: number;
|
|
55
|
-
} | {
|
|
56
|
-
ok: false;
|
|
57
|
-
error: string;
|
|
58
|
-
};
|
|
59
|
-
interface UidexUIOptions {
|
|
60
|
-
components?: UidexMap;
|
|
61
|
-
pages?: UidexPage[];
|
|
62
|
-
features?: UidexFeature[];
|
|
63
|
-
config?: UidexConfig;
|
|
64
|
-
buttonPosition?: ButtonPosition;
|
|
65
|
-
onSelect?: (id: string) => void;
|
|
66
|
-
/** Keyboard shortcut to toggle inspect mode. Set to false to disable. */
|
|
67
|
-
inspectShortcut?: KeyboardShortcut | false;
|
|
68
|
-
/** Ingest configuration for submitting feedback to a server. */
|
|
69
|
-
ingest?: IngestConfig;
|
|
70
|
-
/** Called after feedback submission with the report and result. */
|
|
71
|
-
onSubmit?: (report: FeedbackReport, result: FeedbackResult) => void;
|
|
72
|
-
}
|
|
73
|
-
type FeedbackType = 'bug' | 'feature' | 'improvement' | 'question';
|
|
74
|
-
type FeedbackSeverity = 'low' | 'medium' | 'high' | 'critical';
|
|
75
|
-
interface ConsoleLogEntry {
|
|
76
|
-
level: 'warn' | 'error';
|
|
77
|
-
message: string;
|
|
78
|
-
timestamp: string;
|
|
79
|
-
}
|
|
80
|
-
interface NetworkErrorEntry {
|
|
81
|
-
url: string;
|
|
82
|
-
method: string;
|
|
83
|
-
status: number | null;
|
|
84
|
-
statusText: string;
|
|
85
|
-
timestamp: string;
|
|
86
|
-
}
|
|
87
|
-
interface FeedbackReport {
|
|
88
|
-
type: FeedbackType;
|
|
89
|
-
severity: FeedbackSeverity;
|
|
90
|
-
title?: string;
|
|
91
|
-
description: string;
|
|
92
|
-
componentId: string;
|
|
93
|
-
element: string | null;
|
|
94
|
-
sources: {
|
|
95
|
-
filePath: string;
|
|
96
|
-
line: number;
|
|
97
|
-
}[];
|
|
98
|
-
url: string;
|
|
99
|
-
path: string;
|
|
100
|
-
route: string | null;
|
|
101
|
-
timestamp: string;
|
|
102
|
-
pageTitle: string;
|
|
103
|
-
locale: string;
|
|
104
|
-
sessionId: string;
|
|
105
|
-
viewport: {
|
|
106
|
-
width: number;
|
|
107
|
-
height: number;
|
|
108
|
-
};
|
|
109
|
-
screen: {
|
|
110
|
-
width: number;
|
|
111
|
-
height: number;
|
|
112
|
-
};
|
|
113
|
-
userAgent: string;
|
|
114
|
-
screenshot?: string;
|
|
115
|
-
reporterEmail?: string;
|
|
116
|
-
reporterName?: string;
|
|
117
|
-
environment?: string;
|
|
118
|
-
appVersion?: string;
|
|
119
|
-
metadata?: Record<string, string>;
|
|
120
|
-
consoleLogs?: ConsoleLogEntry[];
|
|
121
|
-
networkErrors?: NetworkErrorEntry[];
|
|
122
|
-
}
|
|
123
|
-
interface OverlayOptions {
|
|
124
|
-
color?: string;
|
|
125
|
-
borderStyle?: BorderStyle;
|
|
126
|
-
borderWidth?: number;
|
|
127
|
-
label?: string;
|
|
128
|
-
showLabel?: boolean;
|
|
129
|
-
labelPosition?: LabelPosition;
|
|
130
|
-
colors?: Record<string, string>;
|
|
131
|
-
}
|
|
132
|
-
|
|
133
|
-
type ModalView = {
|
|
134
|
-
type: 'page';
|
|
135
|
-
dir: string;
|
|
136
|
-
} | {
|
|
137
|
-
type: 'feature';
|
|
138
|
-
dir: string;
|
|
139
|
-
} | {
|
|
140
|
-
type: 'component';
|
|
141
|
-
id: string;
|
|
142
|
-
} | {
|
|
143
|
-
type: 'graph';
|
|
144
|
-
};
|
|
145
|
-
interface ModalPage {
|
|
146
|
-
title: string;
|
|
147
|
-
dir: string;
|
|
148
|
-
content: string;
|
|
149
|
-
componentIds: string[];
|
|
150
|
-
}
|
|
151
|
-
interface ModalFeature {
|
|
152
|
-
title: string;
|
|
153
|
-
dir: string;
|
|
154
|
-
content: string;
|
|
155
|
-
componentIds: string[];
|
|
156
|
-
}
|
|
157
|
-
interface ModalData {
|
|
158
|
-
pages: ModalPage[];
|
|
159
|
-
features: ModalFeature[];
|
|
160
|
-
components: UidexMap;
|
|
161
|
-
presentIds: Set<string>;
|
|
162
|
-
}
|
|
163
|
-
interface ModalOptions {
|
|
164
|
-
onComponentNavigate?: (id: string) => void;
|
|
165
|
-
elementGetter?: (id: string) => Element | null;
|
|
166
|
-
ingest?: IngestConfig;
|
|
167
|
-
onSubmit?: (report: FeedbackReport, result: FeedbackResult) => void;
|
|
168
|
-
sessionId?: string;
|
|
169
|
-
getConsoleLogs?: () => ConsoleLogEntry[];
|
|
170
|
-
getNetworkErrors?: () => NetworkErrorEntry[];
|
|
171
|
-
}
|
|
172
|
-
declare class Modal {
|
|
173
|
-
private backdrop;
|
|
174
|
-
private sidebar;
|
|
175
|
-
private mainContent;
|
|
176
|
-
private renderTarget;
|
|
177
|
-
private boundKeyDown;
|
|
178
|
-
private data;
|
|
179
|
-
private currentView;
|
|
180
|
-
private modalType;
|
|
181
|
-
private sidebarLevel;
|
|
182
|
-
private expandedGroups;
|
|
183
|
-
private searchQuery;
|
|
184
|
-
private searchInput;
|
|
185
|
-
private options;
|
|
186
|
-
private static readonly VIEW_TYPE_TO_LEVEL;
|
|
187
|
-
/** Strip the scanner root dir (e.g. "app") so pages display as routes: app → /, app/foo → /foo */
|
|
188
|
-
private static formatPageDir;
|
|
189
|
-
constructor(options?: ModalOptions);
|
|
190
|
-
/** Set the shadow root to render modals into. */
|
|
191
|
-
setShadowRoot(root: ShadowRoot): void;
|
|
192
|
-
/** Update the data model. Refreshes sidebar and content if modal is open. */
|
|
193
|
-
setData(data: ModalData): void;
|
|
194
|
-
/** Open the modal. If already open, navigates to the given view. */
|
|
195
|
-
open(view?: ModalView): void;
|
|
196
|
-
/** Navigate to a view within the open modal. */
|
|
197
|
-
navigateTo(view: ModalView): void;
|
|
198
|
-
hide(): void;
|
|
199
|
-
destroy(): void;
|
|
200
|
-
isOpen(): boolean;
|
|
201
|
-
private getDefaultView;
|
|
202
|
-
/**
|
|
203
|
-
* Create the shared modal frame: backdrop, dialog, header (title + close), and mount.
|
|
204
|
-
* Returns the dialog and header elements so callers can append extra header/body content.
|
|
205
|
-
*/
|
|
206
|
-
private createModalFrame;
|
|
207
|
-
/** Finalize modal frame: append close button to header, header to dialog, mount to DOM. */
|
|
208
|
-
private mountModalFrame;
|
|
209
|
-
private createShell;
|
|
210
|
-
private renderSidebar;
|
|
211
|
-
private renderSidebarRoot;
|
|
212
|
-
private renderSidebarSublevel;
|
|
213
|
-
private currentViewMatchesLevel;
|
|
214
|
-
private getFirstViewForLevel;
|
|
215
|
-
private getComponentPrefix;
|
|
216
|
-
private groupComponentsByPrefix;
|
|
217
|
-
private createSidebarItem;
|
|
218
|
-
private updateSidebarActive;
|
|
219
|
-
private getSearchResults;
|
|
220
|
-
private renderSearchResults;
|
|
221
|
-
private renderMainContent;
|
|
222
|
-
private renderPageView;
|
|
223
|
-
private renderFeatureView;
|
|
224
|
-
private renderComponentView;
|
|
225
|
-
private renderGraphView;
|
|
226
|
-
/** Open a dedicated feedback modal for a specific component. */
|
|
227
|
-
openFeedback(id: string): void;
|
|
228
|
-
private createFeedbackShell;
|
|
229
|
-
/** Render component context (features, pages, doc) above the feedback form. */
|
|
230
|
-
private renderFeedbackContext;
|
|
231
|
-
private createChipContainer;
|
|
232
|
-
private renderFeedbackFormContent;
|
|
233
|
-
private createComponentChip;
|
|
234
|
-
private createFeatureChipsSection;
|
|
235
|
-
private createComponentChipsSection;
|
|
236
|
-
private createFormGroup;
|
|
237
|
-
private createSelect;
|
|
238
|
-
private createChecklistItem;
|
|
239
|
-
private renderMarkdown;
|
|
240
|
-
/**
|
|
241
|
-
* Capture an element by cloning it with inlined computed styles into an
|
|
242
|
-
* SVG foreignObject, rendering to canvas via an <img> data-URI, and
|
|
243
|
-
* returning a PNG data-URL.
|
|
244
|
-
*/
|
|
245
|
-
private captureElementScreenshot;
|
|
246
|
-
/** Visual CSS properties worth inlining for a screenshot clone. */
|
|
247
|
-
private static readonly VISUAL_PROPS;
|
|
248
|
-
/** Recursively copy visual computed styles from source onto a cloned target. */
|
|
249
|
-
private inlineComputedStyles;
|
|
250
|
-
private collectEnv;
|
|
251
|
-
private getBrowserName;
|
|
252
|
-
private describeElement;
|
|
253
|
-
private handleKeyDown;
|
|
254
|
-
}
|
|
255
|
-
|
|
256
|
-
declare class UidexUI {
|
|
257
|
-
private menu;
|
|
258
|
-
private overlay;
|
|
259
|
-
private modal;
|
|
260
|
-
private inspector;
|
|
261
|
-
private options;
|
|
262
|
-
private mounted;
|
|
263
|
-
private shadowHost;
|
|
264
|
-
private shadowRoot;
|
|
265
|
-
private observer;
|
|
266
|
-
private refreshTimer;
|
|
267
|
-
private copyTimer;
|
|
268
|
-
private currentPresentIds;
|
|
269
|
-
private activeMode;
|
|
270
|
-
private sessionId;
|
|
271
|
-
private capture;
|
|
272
|
-
constructor(options?: UidexUIOptions);
|
|
273
|
-
mount(container?: HTMLElement): void;
|
|
274
|
-
destroy(): void;
|
|
275
|
-
startInspect(): void;
|
|
276
|
-
stopInspect(): void;
|
|
277
|
-
isInspecting(): boolean;
|
|
278
|
-
/** Open the modal panel, optionally to a specific view. */
|
|
279
|
-
openPanel(view?: ModalView): void;
|
|
280
|
-
private toggleMode;
|
|
281
|
-
private updateMenuActiveStates;
|
|
282
|
-
private getComponentsMap;
|
|
283
|
-
private getPagesArray;
|
|
284
|
-
private getFeaturesArray;
|
|
285
|
-
private extractPageTitle;
|
|
286
|
-
/** Hamburger button handler — open modal to default (current page) view. */
|
|
287
|
-
private handleExpandClick;
|
|
288
|
-
/** Selection handler — routes by active mode. */
|
|
289
|
-
private handleSelect;
|
|
290
|
-
private handleCopySelect;
|
|
291
|
-
private findElement;
|
|
292
|
-
private handleHighlight;
|
|
293
|
-
/** Push current pages/features/components/presentIds to the modal. */
|
|
294
|
-
private updateModalData;
|
|
295
|
-
/** Scan which registered component IDs are currently in the DOM. */
|
|
296
|
-
private scanPresentIds;
|
|
297
|
-
/** Schedule a debounced refresh of the modal data after DOM mutations. */
|
|
298
|
-
private scheduleRefresh;
|
|
299
|
-
/** Re-scan the DOM and update modal data if the set of present IDs changed. */
|
|
300
|
-
private refresh;
|
|
301
|
-
private startObserving;
|
|
302
|
-
private stopObserving;
|
|
303
|
-
}
|
|
304
|
-
declare function createUidexUI(options?: UidexUIOptions): UidexUI;
|
|
305
|
-
|
|
306
|
-
interface MenuOptions {
|
|
307
|
-
onInspectToggle?: () => void;
|
|
308
|
-
onCopyToggle?: () => void;
|
|
309
|
-
onFeedbackToggle?: () => void;
|
|
310
|
-
onExpandClick?: () => void;
|
|
311
|
-
}
|
|
312
|
-
declare class Menu {
|
|
313
|
-
private container;
|
|
314
|
-
private group;
|
|
315
|
-
private expandBtn;
|
|
316
|
-
private inspectBtn;
|
|
317
|
-
private copyBtn;
|
|
318
|
-
private feedbackBtn;
|
|
319
|
-
private options;
|
|
320
|
-
private isDragging;
|
|
321
|
-
private dragStartX;
|
|
322
|
-
private dragStartY;
|
|
323
|
-
private dragStartLeft;
|
|
324
|
-
private dragStartTop;
|
|
325
|
-
private hasDragged;
|
|
326
|
-
private boundPointerDown;
|
|
327
|
-
private boundPointerMove;
|
|
328
|
-
private boundPointerUp;
|
|
329
|
-
constructor(options?: MenuOptions);
|
|
330
|
-
getContainer(): HTMLDivElement | null;
|
|
331
|
-
/** Update a button's active state. */
|
|
332
|
-
private setButtonActive;
|
|
333
|
-
setInspectActive(active: boolean): void;
|
|
334
|
-
setCopyActive(active: boolean): void;
|
|
335
|
-
setFeedbackActive(active: boolean): void;
|
|
336
|
-
private createButton;
|
|
337
|
-
create(): HTMLDivElement;
|
|
338
|
-
destroy(): void;
|
|
339
|
-
private handlePointerDown;
|
|
340
|
-
private handlePointerMove;
|
|
341
|
-
private handlePointerUp;
|
|
342
|
-
private snapToCorner;
|
|
343
|
-
}
|
|
344
|
-
|
|
345
|
-
declare class Overlay {
|
|
346
|
-
private element;
|
|
347
|
-
private labelElement;
|
|
348
|
-
private target;
|
|
349
|
-
private options;
|
|
350
|
-
private boundUpdatePosition;
|
|
351
|
-
private rafId;
|
|
352
|
-
constructor(options?: OverlayOptions);
|
|
353
|
-
show(target: HTMLElement, label?: string): void;
|
|
354
|
-
hide(): void;
|
|
355
|
-
destroy(): void;
|
|
356
|
-
updateOptions(options: Partial<OverlayOptions>): void;
|
|
357
|
-
private createElement;
|
|
358
|
-
private updateStyles;
|
|
359
|
-
private updateLabel;
|
|
360
|
-
private applyLabelPosition;
|
|
361
|
-
private updatePosition;
|
|
362
|
-
/** Move the label inside the overlay when there is no room outside. */
|
|
363
|
-
private clampLabel;
|
|
364
|
-
private addListeners;
|
|
365
|
-
private removeListeners;
|
|
366
|
-
}
|
|
367
|
-
|
|
368
|
-
interface InspectorOptions {
|
|
369
|
-
shortcut?: KeyboardShortcut;
|
|
370
|
-
onHighlight?: (element: HTMLElement | null, id: string | null) => void;
|
|
371
|
-
onSelect?: (element: HTMLElement, id: string) => void;
|
|
372
|
-
onActivate?: () => void;
|
|
373
|
-
onDeactivate?: () => void;
|
|
374
|
-
}
|
|
375
|
-
declare class Inspector {
|
|
376
|
-
private active;
|
|
377
|
-
private shortcut;
|
|
378
|
-
private currentTarget;
|
|
379
|
-
private onHighlight;
|
|
380
|
-
private onSelect;
|
|
381
|
-
private onActivate;
|
|
382
|
-
private onDeactivate;
|
|
383
|
-
private boundKeyDown;
|
|
384
|
-
private boundMouseMove;
|
|
385
|
-
private boundClick;
|
|
386
|
-
constructor(options?: InspectorOptions);
|
|
387
|
-
mount(): void;
|
|
388
|
-
destroy(): void;
|
|
389
|
-
activate(): void;
|
|
390
|
-
deactivate(): void;
|
|
391
|
-
isActive(): boolean;
|
|
392
|
-
private handleKeyDown;
|
|
393
|
-
private handleMouseMove;
|
|
394
|
-
private handleClick;
|
|
395
|
-
}
|
|
396
|
-
|
|
397
|
-
/**
|
|
398
|
-
* Injects the uidex styles into a shadow root as a <style> element.
|
|
399
|
-
* This isolates all uidex CSS from the host page.
|
|
400
|
-
*/
|
|
401
|
-
declare function injectStyles(shadowRoot: ShadowRoot): void;
|
|
402
|
-
|
|
403
|
-
declare function registerComponents(components: UidexMap): void;
|
|
404
|
-
declare function getComponents(): UidexMap | null;
|
|
405
|
-
declare function registerPages(pages: UidexPage[]): void;
|
|
406
|
-
declare function getPages(): UidexPage[] | null;
|
|
407
|
-
declare function registerFeatures(features: UidexFeature[]): void;
|
|
408
|
-
declare function getFeatures(): UidexFeature[] | null;
|
|
409
|
-
|
|
410
|
-
declare function classNames(...classes: (string | undefined | null | false)[]): string;
|
|
411
|
-
declare function getContrastColor(hexColor: string): string;
|
|
412
|
-
declare function hexToRgba(hex: string, alpha: number): string;
|
|
413
|
-
declare function resolveColor(color: string | undefined, colorMap?: Record<string, string>): string | undefined;
|
|
414
|
-
|
|
415
|
-
declare class IngestCapture {
|
|
416
|
-
private captureConsole;
|
|
417
|
-
private captureNetwork;
|
|
418
|
-
private consoleLogs;
|
|
419
|
-
private networkErrors;
|
|
420
|
-
private originalConsoleWarn;
|
|
421
|
-
private originalConsoleError;
|
|
422
|
-
private originalFetch;
|
|
423
|
-
constructor(captureConsole: boolean, captureNetwork: boolean);
|
|
424
|
-
start(): void;
|
|
425
|
-
stop(): void;
|
|
426
|
-
getConsoleLogs(): ConsoleLogEntry[];
|
|
427
|
-
getNetworkErrors(): NetworkErrorEntry[];
|
|
428
|
-
private interceptConsole;
|
|
429
|
-
private addConsoleLog;
|
|
430
|
-
private restoreConsole;
|
|
431
|
-
private interceptNetwork;
|
|
432
|
-
private addNetworkError;
|
|
433
|
-
private restoreNetwork;
|
|
434
|
-
}
|
|
435
|
-
declare function generateSessionId(): string;
|
|
436
|
-
declare function submitFeedback(endpoint: string, apiKey: string, report: FeedbackReport): Promise<{
|
|
437
|
-
id: string;
|
|
438
|
-
sequenceNumber: number;
|
|
439
|
-
}>;
|
|
440
|
-
|
|
441
|
-
export { type BorderStyle, type ButtonPosition, type ConsoleLogEntry, type FeedbackReport, type FeedbackResult, type FeedbackSeverity, type FeedbackType, IngestCapture, type IngestConfig, Inspector, type KeyboardShortcut, type LabelPosition, Menu, Modal, type ModalView, type NetworkErrorEntry, Overlay, type OverlayOptions, type UidexConfig, type UidexDefaults, type UidexFeature, type UidexLocation, type UidexMap, type UidexPage, UidexUI, type UidexUIOptions, classNames, createUidexUI, generateSessionId, getComponents, getContrastColor, getFeatures, getPages, hexToRgba, injectStyles, registerComponents, registerFeatures, registerPages, resolveColor, submitFeedback };
|