@virtualdisplay.io/client 4.0.0-alpha.14 → 4.0.0-alpha.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/CHANGELOG.md +12 -0
- package/dist/index.d.ts +1064 -0
- package/dist/virtualdisplay.client.cjs.js +11 -11
- package/dist/virtualdisplay.client.es.js +352 -362
- package/dist/virtualdisplay.client.umd.js +14 -14
- package/package.json +3 -3
- package/dist/src/annotations/annotations.d.ts +0 -20
- package/dist/src/annotations/annotations.d.ts.map +0 -1
- package/dist/src/annotations/index.d.ts +0 -2
- package/dist/src/annotations/index.d.ts.map +0 -1
- package/dist/src/attributes/attribute.d.ts +0 -40
- package/dist/src/attributes/attribute.d.ts.map +0 -1
- package/dist/src/attributes/attributes.d.ts +0 -45
- package/dist/src/attributes/attributes.d.ts.map +0 -1
- package/dist/src/attributes/selections.d.ts +0 -17
- package/dist/src/attributes/selections.d.ts.map +0 -1
- package/dist/src/attributes/value.d.ts +0 -13
- package/dist/src/attributes/value.d.ts.map +0 -1
- package/dist/src/camera/camera.d.ts +0 -40
- package/dist/src/camera/camera.d.ts.map +0 -1
- package/dist/src/camera/index.d.ts +0 -4
- package/dist/src/camera/index.d.ts.map +0 -1
- package/dist/src/camera/position.d.ts +0 -56
- package/dist/src/camera/position.d.ts.map +0 -1
- package/dist/src/client/client.d.ts +0 -71
- package/dist/src/client/client.d.ts.map +0 -1
- package/dist/src/client/error.d.ts +0 -26
- package/dist/src/client/error.d.ts.map +0 -1
- package/dist/src/client/events.d.ts +0 -22
- package/dist/src/client/events.d.ts.map +0 -1
- package/dist/src/client/iframe-builder.d.ts +0 -27
- package/dist/src/client/iframe-builder.d.ts.map +0 -1
- package/dist/src/client/options.d.ts +0 -19
- package/dist/src/client/options.d.ts.map +0 -1
- package/dist/src/client/ready-state-tracker.d.ts +0 -13
- package/dist/src/client/ready-state-tracker.d.ts.map +0 -1
- package/dist/src/client/types.d.ts +0 -20
- package/dist/src/client/types.d.ts.map +0 -1
- package/dist/src/configuration/configuration.d.ts +0 -113
- package/dist/src/configuration/configuration.d.ts.map +0 -1
- package/dist/src/configuration/index.d.ts +0 -2
- package/dist/src/configuration/index.d.ts.map +0 -1
- package/dist/src/configuration/resolver.d.ts +0 -16
- package/dist/src/configuration/resolver.d.ts.map +0 -1
- package/dist/src/focus/focus.d.ts +0 -43
- package/dist/src/focus/focus.d.ts.map +0 -1
- package/dist/src/focus/index.d.ts +0 -2
- package/dist/src/focus/index.d.ts.map +0 -1
- package/dist/src/index.d.ts +0 -16
- package/dist/src/index.d.ts.map +0 -1
- package/dist/src/snapshot/index.d.ts +0 -3
- package/dist/src/snapshot/index.d.ts.map +0 -1
- package/dist/src/snapshot/photo.d.ts +0 -47
- package/dist/src/snapshot/photo.d.ts.map +0 -1
- package/dist/src/snapshot/snapshot.d.ts +0 -36
- package/dist/src/snapshot/snapshot.d.ts.map +0 -1
- package/dist/src/ui/action-bar.d.ts +0 -18
- package/dist/src/ui/action-bar.d.ts.map +0 -1
- package/dist/src/ui/camera-controls.d.ts +0 -8
- package/dist/src/ui/camera-controls.d.ts.map +0 -1
- package/dist/src/ui/commerce-panel.d.ts +0 -31
- package/dist/src/ui/commerce-panel.d.ts.map +0 -1
- package/dist/src/ui/controls/attribute-group.d.ts +0 -6
- package/dist/src/ui/controls/attribute-group.d.ts.map +0 -1
- package/dist/src/ui/event-bus.d.ts +0 -12
- package/dist/src/ui/event-bus.d.ts.map +0 -1
- package/dist/src/ui/layouts/inframe-layout.d.ts +0 -13
- package/dist/src/ui/layouts/inframe-layout.d.ts.map +0 -1
- package/dist/src/ui/layouts/layout.d.ts +0 -15
- package/dist/src/ui/layouts/layout.d.ts.map +0 -1
- package/dist/src/ui/layouts/null-layout.d.ts +0 -12
- package/dist/src/ui/layouts/null-layout.d.ts.map +0 -1
- package/dist/src/ui/layouts/registry.d.ts +0 -4
- package/dist/src/ui/layouts/registry.d.ts.map +0 -1
- package/dist/src/ui/layouts/sidebar-layout.d.ts +0 -24
- package/dist/src/ui/layouts/sidebar-layout.d.ts.map +0 -1
- package/dist/src/ui/loading.d.ts +0 -43
- package/dist/src/ui/loading.d.ts.map +0 -1
- package/dist/src/ui/standard-interface.d.ts +0 -47
- package/dist/src/ui/standard-interface.d.ts.map +0 -1
- package/dist/src/ui/styles.d.ts +0 -3
- package/dist/src/ui/styles.d.ts.map +0 -1
- package/dist/src/utils/logger.d.ts +0 -11
- package/dist/src/utils/logger.d.ts.map +0 -1
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"focus.d.ts","sourceRoot":"","sources":["../../../src/focus/focus.ts"],"names":[],"mappings":"AACA,OAAO,EAIL,KAAK,iBAAiB,EACtB,KAAK,eAAe,EACrB,MAAM,8BAA8B,CAAC;AAEtC,8EAA8E;AAC9E,MAAM,WAAW,UAAU;IACzB,QAAQ,CAAC,SAAS,EAAE,MAAM,CAAC;IAC3B,QAAQ,CAAC,UAAU,EAAE,MAAM,EAAE,CAAC;CAC/B;AAED,KAAK,WAAW,GAAG,UAAU,GAAG,IAAI,CAAC;AACrC,KAAK,mBAAmB,GAAG,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;AACxD,KAAK,UAAU,GAAG,CAAC,KAAK,EAAE,WAAW,KAAK,IAAI,CAAC;AAE/C;;;;;;;GAOG;AACH,qBAAa,KAAK;IAMd,OAAO,CAAC,QAAQ,CAAC,IAAI;IACrB,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAN3B,OAAO,CAAC,OAAO,CAAuB;IACtC,OAAO,CAAC,UAAU,CAAgB;IAClC,OAAO,CAAC,QAAQ,CAAC,eAAe,CAA6B;gBAG1C,IAAI,EAAE,eAAe,EACrB,QAAQ,EAAE,UAAU;IAGvC,uDAAuD;IACvD,IAAW,OAAO,IAAI,MAAM,GAAG,IAAI,CAElC;IAED;;;OAGG;IACI,GAAG,CAAC,SAAS,EAAE,MAAM,GAAG,IAAI;IAUnC,8DAA8D;IACvD,KAAK,IAAI,IAAI;IAIpB;;;OAGG;IACI,QAAQ,CAAC,QAAQ,EAAE,mBAAmB,GAAG,IAAI;IAIpD,iFAAiF;IAC1E,mBAAmB,CAAC,OAAO,EAAE,iBAAiB,GAAG,IAAI;CAkB7D"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/focus/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC"}
|
package/dist/src/index.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
export { VirtualdisplayClient } from './client/client';
|
|
2
|
-
export { VD_EVENTS, type VdEvent } from './client/events';
|
|
3
|
-
export type { ClientOptions } from './client/options';
|
|
4
|
-
export { VirtualdisplayError, ERROR_CODES, type ErrorCode } from './client/error';
|
|
5
|
-
export type { MutationFailedEvent, VirtualdisplaySelectEvent, VirtualdisplaySelectedEvent, VirtualdisplayUiEventMap, VirtualdisplayUiEventType, } from './client/types';
|
|
6
|
-
export { Attribute } from './attributes/attribute';
|
|
7
|
-
export { AttributeValue } from './attributes/value';
|
|
8
|
-
export { Annotations } from './annotations';
|
|
9
|
-
export { Camera } from './camera';
|
|
10
|
-
export { Focus, type FocusState } from './focus';
|
|
11
|
-
export { Configuration, type ResolvedConfiguration, type SubmittedConfiguration, type SubmitOptions, } from './configuration';
|
|
12
|
-
export type { PricingDocument, PricingRule, Availability } from '@virtualdisplay.io/messaging';
|
|
13
|
-
export { Snapshot, Photo, type PhotoData } from './snapshot';
|
|
14
|
-
export type { ViewerSettings, AnnotationPosition } from '@virtualdisplay.io/messaging';
|
|
15
|
-
export { logger, enableDebugMode, isDebugMode } from './utils/logger';
|
|
16
|
-
//# sourceMappingURL=index.d.ts.map
|
package/dist/src/index.d.ts.map
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../src/index.ts"],"names":[],"mappings":"AACA,OAAO,EAAE,oBAAoB,EAAE,MAAM,iBAAiB,CAAC;AACvD,OAAO,EAAE,SAAS,EAAE,KAAK,OAAO,EAAE,MAAM,iBAAiB,CAAC;AAC1D,YAAY,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AACtD,OAAO,EAAE,mBAAmB,EAAE,WAAW,EAAE,KAAK,SAAS,EAAE,MAAM,gBAAgB,CAAC;AAClF,YAAY,EACV,mBAAmB,EACnB,yBAAyB,EACzB,2BAA2B,EAC3B,wBAAwB,EACxB,yBAAyB,GAC1B,MAAM,gBAAgB,CAAC;AAGxB,OAAO,EAAE,SAAS,EAAE,MAAM,wBAAwB,CAAC;AACnD,OAAO,EAAE,cAAc,EAAE,MAAM,oBAAoB,CAAC;AAGpD,OAAO,EAAE,WAAW,EAAE,MAAM,eAAe,CAAC;AAG5C,OAAO,EAAE,MAAM,EAAE,MAAM,UAAU,CAAC;AAGlC,OAAO,EAAE,KAAK,EAAE,KAAK,UAAU,EAAE,MAAM,SAAS,CAAC;AAGjD,OAAO,EACL,aAAa,EACb,KAAK,qBAAqB,EAC1B,KAAK,sBAAsB,EAC3B,KAAK,aAAa,GACnB,MAAM,iBAAiB,CAAC;AAGzB,YAAY,EAAE,eAAe,EAAE,WAAW,EAAE,YAAY,EAAE,MAAM,8BAA8B,CAAC;AAG/F,OAAO,EAAE,QAAQ,EAAE,KAAK,EAAE,KAAK,SAAS,EAAE,MAAM,YAAY,CAAC;AAG7D,YAAY,EAAE,cAAc,EAAE,kBAAkB,EAAE,MAAM,8BAA8B,CAAC;AAGvF,OAAO,EAAE,MAAM,EAAE,eAAe,EAAE,WAAW,EAAE,MAAM,gBAAgB,CAAC"}
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"index.d.ts","sourceRoot":"","sources":["../../../src/snapshot/index.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,QAAQ,EAAE,MAAM,YAAY,CAAC;AACtC,OAAO,EAAE,KAAK,EAAE,KAAK,SAAS,EAAE,MAAM,SAAS,CAAC"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { VirtualdisplayError } from '../client/error';
|
|
2
|
-
export interface PhotoData {
|
|
3
|
-
readonly filename: string;
|
|
4
|
-
readonly data: string;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
* Represents a photo being captured
|
|
8
|
-
* Pure domain object that manages callbacks for when the photo is developed
|
|
9
|
-
*/
|
|
10
|
-
export declare class Photo {
|
|
11
|
-
private readonly filename;
|
|
12
|
-
private readonly developedCallbacks;
|
|
13
|
-
private readonly errorCallbacks;
|
|
14
|
-
private developed;
|
|
15
|
-
private failed;
|
|
16
|
-
private photoData;
|
|
17
|
-
constructor(filename: string);
|
|
18
|
-
/**
|
|
19
|
-
* Register a callback for when the photo is developed
|
|
20
|
-
* If the photo is already developed, the callback is called immediately
|
|
21
|
-
*
|
|
22
|
-
* @param callback Function to call with photo data
|
|
23
|
-
* @returns This Photo instance for chaining
|
|
24
|
-
*/
|
|
25
|
-
onDeveloped(callback: (photo: PhotoData) => void): this;
|
|
26
|
-
/**
|
|
27
|
-
* Register a callback for when the photo capture fails
|
|
28
|
-
*
|
|
29
|
-
* @param callback Function to call with error
|
|
30
|
-
* @returns This Photo instance for chaining
|
|
31
|
-
*/
|
|
32
|
-
onError(callback: (error: VirtualdisplayError) => void): this;
|
|
33
|
-
/**
|
|
34
|
-
* Get the filename for this photo
|
|
35
|
-
*/
|
|
36
|
-
getFilename(): string;
|
|
37
|
-
/**
|
|
38
|
-
* Mark the photo as developed and notify all callbacks
|
|
39
|
-
* This method is called by Snapshot when the photo data arrives from the server
|
|
40
|
-
*/
|
|
41
|
-
develop(photoData: PhotoData): void;
|
|
42
|
-
/**
|
|
43
|
-
* Mark the photo as failed and notify error callbacks
|
|
44
|
-
*/
|
|
45
|
-
fail(error: VirtualdisplayError): void;
|
|
46
|
-
}
|
|
47
|
-
//# sourceMappingURL=photo.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"photo.d.ts","sourceRoot":"","sources":["../../../src/snapshot/photo.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,iBAAiB,CAAC;AAE3D,MAAM,WAAW,SAAS;IACxB,QAAQ,CAAC,QAAQ,EAAE,MAAM,CAAC;IAC1B,QAAQ,CAAC,IAAI,EAAE,MAAM,CAAC;CACvB;AAED;;;GAGG;AACH,qBAAa,KAAK;IAYd,OAAO,CAAC,QAAQ,CAAC,QAAQ;IAX3B,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAA8C;IAEjF,OAAO,CAAC,QAAQ,CAAC,cAAc,CAAwD;IAEvF,OAAO,CAAC,SAAS,CAAS;IAE1B,OAAO,CAAC,MAAM,CAAS;IAEvB,OAAO,CAAC,SAAS,CAA0B;gBAGxB,QAAQ,EAAE,MAAM;IAGnC;;;;;;OAMG;IACI,WAAW,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,SAAS,KAAK,IAAI,GAAG,IAAI;IAS9D;;;;;OAKG;IACI,OAAO,CAAC,QAAQ,EAAE,CAAC,KAAK,EAAE,mBAAmB,KAAK,IAAI,GAAG,IAAI;IAKpE;;OAEG;IACI,WAAW,IAAI,MAAM;IAI5B;;;OAGG;IACI,OAAO,CAAC,SAAS,EAAE,SAAS,GAAG,IAAI;IAgB1C;;OAEG;IACI,IAAI,CAAC,KAAK,EAAE,mBAAmB,GAAG,IAAI;CAc9C"}
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { Photo } from './photo';
|
|
2
|
-
import { MessageCallback, SnapshotResultMessage } from '@virtualdisplay.io/messaging';
|
|
3
|
-
/**
|
|
4
|
-
* API for taking screenshots of the 3D model
|
|
5
|
-
* Following the camera analogy: take() triggers capture, onDeveloped() gets result
|
|
6
|
-
*/
|
|
7
|
-
export declare class Snapshot {
|
|
8
|
-
private readonly send;
|
|
9
|
-
private readonly validExtensions;
|
|
10
|
-
private readonly pendingPhotos;
|
|
11
|
-
constructor(send: MessageCallback);
|
|
12
|
-
/**
|
|
13
|
-
* Take a snapshot of the current 3D model view
|
|
14
|
-
*
|
|
15
|
-
* @param filename The filename for the snapshot (must include valid extension)
|
|
16
|
-
* @returns Photo object for registering callbacks
|
|
17
|
-
* @throws VirtualdisplayError if filename is invalid
|
|
18
|
-
*/
|
|
19
|
-
take(filename: string): Photo;
|
|
20
|
-
/**
|
|
21
|
-
* Handle incoming snapshot result from server
|
|
22
|
-
* Matches the message to a pending photo by filename, then develops or fails it
|
|
23
|
-
*/
|
|
24
|
-
handleSnapshotResult(message: SnapshotResultMessage): void;
|
|
25
|
-
/**
|
|
26
|
-
* Fail any pending photos and forget them. Called from client destroy
|
|
27
|
-
* so callers awaiting onError() see a deterministic outcome instead of
|
|
28
|
-
* leaking captures whose results will never arrive.
|
|
29
|
-
*/
|
|
30
|
-
clear(): void;
|
|
31
|
-
/**
|
|
32
|
-
* Validate filename has a valid image extension
|
|
33
|
-
*/
|
|
34
|
-
private validateFilename;
|
|
35
|
-
}
|
|
36
|
-
//# sourceMappingURL=snapshot.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"snapshot.d.ts","sourceRoot":"","sources":["../../../src/snapshot/snapshot.ts"],"names":[],"mappings":"AAAA,OAAO,EAAE,KAAK,EAAE,MAAM,SAAS,CAAC;AAEhC,OAAO,EAAiB,KAAK,eAAe,EAAE,KAAK,qBAAqB,EAAE,MAAM,8BAA8B,CAAC;AAG/G;;;GAGG;AACH,qBAAa,QAAQ;IAMjB,OAAO,CAAC,QAAQ,CAAC,IAAI;IALvB,OAAO,CAAC,QAAQ,CAAC,eAAe,CAAY;IAE5C,OAAO,CAAC,QAAQ,CAAC,aAAa,CAA4B;gBAGvC,IAAI,EAAE,eAAe;IAGxC;;;;;;OAMG;IACI,IAAI,CAAC,QAAQ,EAAE,MAAM,GAAG,KAAK;IAgBpC;;;OAGG;IACI,oBAAoB,CAAC,OAAO,EAAE,qBAAqB,GAAG,IAAI;IAuBjE;;;;OAIG;IACI,KAAK,IAAI,IAAI;IAcpB;;OAEG;IACH,OAAO,CAAC,gBAAgB;CA2BzB"}
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import { ViewerSettings } from '@virtualdisplay.io/messaging';
|
|
2
|
-
export interface ActionBarOptions {
|
|
3
|
-
onAr?: () => void;
|
|
4
|
-
onFullscreen?: () => void;
|
|
5
|
-
}
|
|
6
|
-
export declare class ActionBar {
|
|
7
|
-
private readonly options;
|
|
8
|
-
readonly element: HTMLElement;
|
|
9
|
-
private arBtn;
|
|
10
|
-
private fullscreenBtn;
|
|
11
|
-
private readonly onFullscreenChange;
|
|
12
|
-
constructor(options: ActionBarOptions);
|
|
13
|
-
private setFullscreenIcon;
|
|
14
|
-
private syncButton;
|
|
15
|
-
applySettings(settings: ViewerSettings): void;
|
|
16
|
-
destroy(): void;
|
|
17
|
-
}
|
|
18
|
-
//# sourceMappingURL=action-bar.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"action-bar.d.ts","sourceRoot":"","sources":["../../../src/ui/action-bar.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,8BAA8B,CAAC;AAEnE,MAAM,WAAW,gBAAgB;IAC/B,IAAI,CAAC,EAAE,MAAM,IAAI,CAAC;IAClB,YAAY,CAAC,EAAE,MAAM,IAAI,CAAC;CAC3B;AAED,qBAAa,SAAS;IAMR,OAAO,CAAC,QAAQ,CAAC,OAAO;IALpC,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC;IAC9B,OAAO,CAAC,KAAK,CAAuB;IACpC,OAAO,CAAC,aAAa,CAAuB;IAC5C,OAAO,CAAC,QAAQ,CAAC,kBAAkB,CAAa;gBAEnB,OAAO,EAAE,gBAAgB;IAWtD,OAAO,CAAC,iBAAiB;IAKzB,OAAO,CAAC,UAAU;IAalB,aAAa,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI;IAgB7C,OAAO,IAAI,IAAI;CAGhB"}
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import { Camera, CameraPosition } from '../camera';
|
|
2
|
-
export declare class CameraControls {
|
|
3
|
-
readonly element: HTMLElement;
|
|
4
|
-
constructor(camera: Camera, position: CameraPosition);
|
|
5
|
-
private static buildZoom;
|
|
6
|
-
private static buildDpad;
|
|
7
|
-
}
|
|
8
|
-
//# sourceMappingURL=camera-controls.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"camera-controls.d.ts","sourceRoot":"","sources":["../../../src/ui/camera-controls.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,MAAM,EAAE,cAAc,EAAuB,MAAM,WAAW,CAAC;AAY7E,qBAAa,cAAc;IACzB,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC;gBAElB,MAAM,EAAE,MAAM,EAAE,QAAQ,EAAE,cAAc;IAuBpD,OAAO,CAAC,MAAM,CAAC,SAAS;IAQxB,OAAO,CAAC,MAAM,CAAC,SAAS;CAiBzB"}
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import { Configuration } from '../configuration';
|
|
2
|
-
/**
|
|
3
|
-
* Price + call-to-action, shown under the attribute controls. Reads the resolved
|
|
4
|
-
* configuration from the facade and renders the formatted price, the VAT label,
|
|
5
|
-
* and a customer-labelled submit button that reflects bezig / gelukt / mislukt.
|
|
6
|
-
*
|
|
7
|
-
* It lives inside the attribute panel, so the active configurator layout places
|
|
8
|
-
* it in both the in-frame and sidebar variants with no layout-specific code.
|
|
9
|
-
*/
|
|
10
|
-
export declare class CommercePanel {
|
|
11
|
-
private readonly configuration;
|
|
12
|
-
private readonly resetMs;
|
|
13
|
-
readonly element: HTMLElement;
|
|
14
|
-
private readonly priceEl;
|
|
15
|
-
private readonly vatEl;
|
|
16
|
-
private readonly button;
|
|
17
|
-
private readonly unsubscribe;
|
|
18
|
-
private state;
|
|
19
|
-
private resetTimer;
|
|
20
|
-
constructor(configuration: Configuration, resetMs?: number);
|
|
21
|
-
/** Re-render from the facade. Called on every resolve and on submit-handler registration. */
|
|
22
|
-
update(): void;
|
|
23
|
-
destroy(): void;
|
|
24
|
-
private renderPrice;
|
|
25
|
-
private renderButton;
|
|
26
|
-
private handleSubmit;
|
|
27
|
-
private scheduleReset;
|
|
28
|
-
private setState;
|
|
29
|
-
private setButtonText;
|
|
30
|
-
}
|
|
31
|
-
//# sourceMappingURL=commerce-panel.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"commerce-panel.d.ts","sourceRoot":"","sources":["../../../src/ui/commerce-panel.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,aAAa,EAAyB,MAAM,kBAAkB,CAAC;AAU7E;;;;;;;GAOG;AACH,qBAAa,aAAa;IAWtB,OAAO,CAAC,QAAQ,CAAC,aAAa;IAC9B,OAAO,CAAC,QAAQ,CAAC,OAAO;IAX1B,QAAQ,CAAC,OAAO,EAAE,WAAW,CAAC;IAE9B,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAc;IACtC,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAc;IACpC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAS;IAChC,OAAO,CAAC,QAAQ,CAAC,WAAW,CAAa;IACzC,OAAO,CAAC,KAAK,CAAuB;IACpC,OAAO,CAAC,UAAU,CAA4C;gBAG3C,aAAa,EAAE,aAAa,EAC5B,OAAO,GAAE,MAAwB;IAwBpD,6FAA6F;IAC7F,MAAM,IAAI,IAAI;IAWd,OAAO,IAAI,IAAI;IAMf,OAAO,CAAC,WAAW;IAYnB,OAAO,CAAC,YAAY;YASN,YAAY;IAY1B,OAAO,CAAC,aAAa;IAQrB,OAAO,CAAC,QAAQ;IAOhB,OAAO,CAAC,aAAa;CAItB"}
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { AttributeDefinition } from '@virtualdisplay.io/messaging';
|
|
2
|
-
import { Attributes } from '../../attributes/attributes';
|
|
3
|
-
import { AttributeValue } from '../../attributes/value';
|
|
4
|
-
import { UiEventBus } from '../event-bus';
|
|
5
|
-
export declare function buildAttributeGroup(def: AttributeDefinition, attributes: Attributes, eventBus: UiEventBus, onSelect: (name: string, value: string) => void, onSubscribe: (name: string, callback: (v: AttributeValue) => void) => void): HTMLElement;
|
|
6
|
-
//# sourceMappingURL=attribute-group.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"attribute-group.d.ts","sourceRoot":"","sources":["../../../../src/ui/controls/attribute-group.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AACxE,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,6BAA6B,CAAC;AAC9D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,wBAAwB,CAAC;AAE7D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,cAAc,CAAC;AAa/C,wBAAgB,mBAAmB,CACjC,GAAG,EAAE,mBAAmB,EACxB,UAAU,EAAE,UAAU,EACtB,QAAQ,EAAE,UAAU,EACpB,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,EAC/C,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC,EAAE,cAAc,KAAK,IAAI,KAAK,IAAI,GACzE,WAAW,CAiCb"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { VirtualdisplayUiEventMap, VirtualdisplayUiEventType } from '../client/types';
|
|
2
|
-
/**
|
|
3
|
-
* Dispatches and subscribes to UI events on the client container element.
|
|
4
|
-
* These are DOM CustomEvents for developers — not postMessages to the server.
|
|
5
|
-
*/
|
|
6
|
-
export declare class UiEventBus {
|
|
7
|
-
private container;
|
|
8
|
-
attach(container: HTMLElement): void;
|
|
9
|
-
dispatch<T extends VirtualdisplayUiEventType>(type: T, detail: Omit<VirtualdisplayUiEventMap[T], 'preventDefault'>, cancelable?: boolean): CustomEvent;
|
|
10
|
-
on<T extends VirtualdisplayUiEventType>(type: T, callback: (event: VirtualdisplayUiEventMap[T]) => void): () => void;
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=event-bus.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"event-bus.d.ts","sourceRoot":"","sources":["../../../src/ui/event-bus.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EACV,wBAAwB,EACxB,yBAAyB,EAC1B,MAAM,iBAAiB,CAAC;AAEzB;;;GAGG;AACH,qBAAa,UAAU;IACrB,OAAO,CAAC,SAAS,CAA4B;IAE7C,MAAM,CAAC,SAAS,EAAE,WAAW,GAAG,IAAI;IAIpC,QAAQ,CAAC,CAAC,SAAS,yBAAyB,EAC1C,IAAI,EAAE,CAAC,EACP,MAAM,EAAE,IAAI,CAAC,wBAAwB,CAAC,CAAC,CAAC,EAAE,gBAAgB,CAAC,EAC3D,UAAU,UAAQ,GACjB,WAAW;IAMd,EAAE,CAAC,CAAC,SAAS,yBAAyB,EACpC,IAAI,EAAE,CAAC,EACP,QAAQ,EAAE,CAAC,KAAK,EAAE,wBAAwB,CAAC,CAAC,CAAC,KAAK,IAAI,GACrD,MAAM,IAAI;CASd"}
|
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { ConfiguratorLayout } from './layout';
|
|
2
|
-
/**
|
|
3
|
-
* Default layout: the attribute controls sit in the bottom-left corner of the
|
|
4
|
-
* viewer, as a compact frosted card.
|
|
5
|
-
*/
|
|
6
|
-
export declare class InframeLayout implements ConfiguratorLayout {
|
|
7
|
-
private slot;
|
|
8
|
-
private panel;
|
|
9
|
-
attach(container: HTMLElement, panel: HTMLElement): void;
|
|
10
|
-
setVisible(visible: boolean): void;
|
|
11
|
-
destroy(): void;
|
|
12
|
-
}
|
|
13
|
-
//# sourceMappingURL=inframe-layout.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"inframe-layout.d.ts","sourceRoot":"","sources":["../../../../src/ui/layouts/inframe-layout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEnD;;;GAGG;AACH,qBAAa,aAAc,YAAW,kBAAkB;IACtD,OAAO,CAAC,IAAI,CAA4B;IACxC,OAAO,CAAC,KAAK,CAA4B;IAEzC,MAAM,CAAC,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,GAAG,IAAI;IASxD,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI;IAIlC,OAAO,IAAI,IAAI;CAKhB"}
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* A configurator layout decides where and how the attribute controls are shown
|
|
3
|
-
* in the viewer. Each variant (in-frame, sidebar, future ones) is a self-contained
|
|
4
|
-
* implementation of this interface; the standard interface never branches on the
|
|
5
|
-
* layout key itself — it asks the registry for the active layout and delegates.
|
|
6
|
-
*/
|
|
7
|
-
export interface ConfiguratorLayout {
|
|
8
|
-
/** Place the attribute panel into the viewer container. */
|
|
9
|
-
attach(container: HTMLElement, panel: HTMLElement): void;
|
|
10
|
-
/** Reveal or hide the controls (revealed once CONFIG/MAPPING have arrived). */
|
|
11
|
-
setVisible(visible: boolean): void;
|
|
12
|
-
/** Remove all DOM and observers this layout created. */
|
|
13
|
-
destroy(): void;
|
|
14
|
-
}
|
|
15
|
-
//# sourceMappingURL=layout.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"layout.d.ts","sourceRoot":"","sources":["../../../../src/ui/layouts/layout.ts"],"names":[],"mappings":"AAAA;;;;;GAKG;AACH,MAAM,WAAW,kBAAkB;IACjC,2DAA2D;IAC3D,MAAM,CAAC,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,GAAG,IAAI,CAAC;IACzD,+EAA+E;IAC/E,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI,CAAC;IACnC,wDAAwD;IACxD,OAAO,IAAI,IAAI,CAAC;CACjB"}
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { ConfiguratorLayout } from './layout';
|
|
2
|
-
/**
|
|
3
|
-
* The "no controls" layout. Selected when the attribute selectors are turned off
|
|
4
|
-
* (`attributeControls: false`). It renders nothing, so turning the controls off is
|
|
5
|
-
* just another layout rather than a special case in the standard interface.
|
|
6
|
-
*/
|
|
7
|
-
export declare class NullLayout implements ConfiguratorLayout {
|
|
8
|
-
attach(_container: HTMLElement, _panel: HTMLElement): void;
|
|
9
|
-
setVisible(_visible: boolean): void;
|
|
10
|
-
destroy(): void;
|
|
11
|
-
}
|
|
12
|
-
//# sourceMappingURL=null-layout.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"null-layout.d.ts","sourceRoot":"","sources":["../../../../src/ui/layouts/null-layout.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAEnD;;;;GAIG;AACH,qBAAa,UAAW,YAAW,kBAAkB;IACnD,MAAM,CAAC,UAAU,EAAE,WAAW,EAAE,MAAM,EAAE,WAAW,GAAG,IAAI;IAI1D,UAAU,CAAC,QAAQ,EAAE,OAAO,GAAG,IAAI;IAInC,OAAO,IAAI,IAAI;CAGhB"}
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { ConfiguratorLayout } from './layout';
|
|
2
|
-
/** Resolve the active layout, falling back to the in-frame default for unknown keys. */
|
|
3
|
-
export declare function createConfiguratorLayout(key: string | undefined): ConfiguratorLayout;
|
|
4
|
-
//# sourceMappingURL=registry.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"registry.d.ts","sourceRoot":"","sources":["../../../../src/ui/layouts/registry.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAkBnD,wFAAwF;AACxF,wBAAgB,wBAAwB,CAAC,GAAG,EAAE,MAAM,GAAG,SAAS,GAAG,kBAAkB,CAGpF"}
|
|
@@ -1,24 +0,0 @@
|
|
|
1
|
-
import { ConfiguratorLayout } from './layout';
|
|
2
|
-
/**
|
|
3
|
-
* Docked right-hand panel that holds the attribute controls. Same controls as the
|
|
4
|
-
* in-frame layout, just relocated and given room to breathe. On narrow embeds it
|
|
5
|
-
* collapses to a toggle button so the viewer is never fully covered.
|
|
6
|
-
*/
|
|
7
|
-
export declare class SidebarLayout implements ConfiguratorLayout {
|
|
8
|
-
private element;
|
|
9
|
-
private body;
|
|
10
|
-
private openButton;
|
|
11
|
-
private closeButton;
|
|
12
|
-
private container;
|
|
13
|
-
private observer;
|
|
14
|
-
private collapsible;
|
|
15
|
-
private expanded;
|
|
16
|
-
private visible;
|
|
17
|
-
attach(container: HTMLElement, panel: HTMLElement): void;
|
|
18
|
-
setVisible(visible: boolean): void;
|
|
19
|
-
destroy(): void;
|
|
20
|
-
private observe;
|
|
21
|
-
private setCollapsible;
|
|
22
|
-
private render;
|
|
23
|
-
}
|
|
24
|
-
//# sourceMappingURL=sidebar-layout.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"sidebar-layout.d.ts","sourceRoot":"","sources":["../../../../src/ui/layouts/sidebar-layout.ts"],"names":[],"mappings":"AAGA,OAAO,KAAK,EAAE,kBAAkB,EAAE,MAAM,UAAU,CAAC;AAMnD;;;;GAIG;AACH,qBAAa,aAAc,YAAW,kBAAkB;IACtD,OAAO,CAAC,OAAO,CAA4B;IAC3C,OAAO,CAAC,IAAI,CAA4B;IACxC,OAAO,CAAC,UAAU,CAAuB;IACzC,OAAO,CAAC,WAAW,CAAuB;IAC1C,OAAO,CAAC,SAAS,CAA4B;IAC7C,OAAO,CAAC,QAAQ,CAA+B;IAC/C,OAAO,CAAC,WAAW,CAAS;IAC5B,OAAO,CAAC,QAAQ,CAAQ;IACxB,OAAO,CAAC,OAAO,CAAS;IAExB,MAAM,CAAC,SAAS,EAAE,WAAW,EAAE,KAAK,EAAE,WAAW,GAAG,IAAI;IAmCxD,UAAU,CAAC,OAAO,EAAE,OAAO,GAAG,IAAI;IAKlC,OAAO,IAAI,IAAI;IASf,OAAO,CAAC,OAAO;IASf,OAAO,CAAC,cAAc;IAOtB,OAAO,CAAC,MAAM;CAWf"}
|
package/dist/src/ui/loading.d.ts
DELETED
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Loading indicator with building-cube wireframe animation.
|
|
3
|
-
*
|
|
4
|
-
* Self-contained overlay that shows during model loading.
|
|
5
|
-
* The cube edges draw → hold → reverse → pause in a loop.
|
|
6
|
-
*
|
|
7
|
-
* Supports delayed showing — only becomes visible if loading
|
|
8
|
-
* takes longer than the configured threshold.
|
|
9
|
-
*/
|
|
10
|
-
export interface LoadingIndicatorConfig {
|
|
11
|
-
showDelay?: number;
|
|
12
|
-
}
|
|
13
|
-
export declare class LoadingIndicator {
|
|
14
|
-
private readonly overlay;
|
|
15
|
-
private readonly canvas;
|
|
16
|
-
private readonly ctx;
|
|
17
|
-
private readonly pctEl;
|
|
18
|
-
private readonly phaseEl;
|
|
19
|
-
private animationId;
|
|
20
|
-
private showTimerId;
|
|
21
|
-
private readonly startTime;
|
|
22
|
-
private hidden;
|
|
23
|
-
private visible;
|
|
24
|
-
constructor(container: HTMLElement, config?: LoadingIndicatorConfig);
|
|
25
|
-
get loadingTexts(): {
|
|
26
|
-
downloading: string;
|
|
27
|
-
rendering: string;
|
|
28
|
-
};
|
|
29
|
-
updateProgress(pct: number, status: string): void;
|
|
30
|
-
/**
|
|
31
|
-
* Show an error state — stops animation and displays the error message.
|
|
32
|
-
* The overlay stays visible so the user knows something went wrong.
|
|
33
|
-
*/
|
|
34
|
-
showError(message: string): void;
|
|
35
|
-
hide(): void;
|
|
36
|
-
destroy(): void;
|
|
37
|
-
private reveal;
|
|
38
|
-
private cancelShowTimer;
|
|
39
|
-
private sizeCanvas;
|
|
40
|
-
private tick;
|
|
41
|
-
private drawFrame;
|
|
42
|
-
}
|
|
43
|
-
//# sourceMappingURL=loading.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"loading.d.ts","sourceRoot":"","sources":["../../../src/ui/loading.ts"],"names":[],"mappings":"AAAA;;;;;;;;GAQG;AAkEH,MAAM,WAAW,sBAAsB;IACnC,SAAS,CAAC,EAAE,MAAM,CAAC;CACtB;AAoDD,qBAAa,gBAAgB;IACzB,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAiB;IACzC,OAAO,CAAC,QAAQ,CAAC,MAAM,CAAoB;IAC3C,OAAO,CAAC,QAAQ,CAAC,GAAG,CAAkC;IACtD,OAAO,CAAC,QAAQ,CAAC,KAAK,CAAkB;IACxC,OAAO,CAAC,QAAQ,CAAC,OAAO,CAAkB;IAC1C,OAAO,CAAC,WAAW,CAAuB;IAC1C,OAAO,CAAC,WAAW,CAA8C;IACjE,OAAO,CAAC,QAAQ,CAAC,SAAS,CAAS;IACnC,OAAO,CAAC,MAAM,CAAS;IACvB,OAAO,CAAC,OAAO,CAAS;gBAEZ,SAAS,EAAE,WAAW,EAAE,MAAM,GAAE,sBAA2B;IAsBvE,IAAI,YAAY,IAAI;QAAE,WAAW,EAAE,MAAM,CAAC;QAAC,SAAS,EAAE,MAAM,CAAA;KAAE,CAK7D;IAED,cAAc,CAAC,GAAG,EAAE,MAAM,EAAE,MAAM,EAAE,MAAM,GAAG,IAAI;IAQjD;;;OAGG;IACH,SAAS,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IA2BhC,IAAI,IAAI,IAAI;IAqBZ,OAAO,IAAI,IAAI;IASf,OAAO,CAAC,MAAM;IAQd,OAAO,CAAC,eAAe;IAOvB,OAAO,CAAC,UAAU;IAclB,OAAO,CAAC,IAAI,CAMV;IAEF,OAAO,CAAC,SAAS;CAmDpB"}
|
|
@@ -1,47 +0,0 @@
|
|
|
1
|
-
import { ViewerSettings, AttributeDefinition } from '@virtualdisplay.io/messaging';
|
|
2
|
-
import { Snapshot } from '../snapshot';
|
|
3
|
-
import { Camera, CameraPosition } from '../camera';
|
|
4
|
-
import { Attributes } from '../attributes/attributes';
|
|
5
|
-
import { AttributeValue } from '../attributes/value';
|
|
6
|
-
import { UiEventBus } from './event-bus';
|
|
7
|
-
import { Configuration } from '../configuration';
|
|
8
|
-
export interface StandardInterfaceOptions {
|
|
9
|
-
snapshotApi: Snapshot;
|
|
10
|
-
cameraApi: Camera;
|
|
11
|
-
cameraPositionApi: CameraPosition;
|
|
12
|
-
eventBus: UiEventBus;
|
|
13
|
-
configuration: Configuration;
|
|
14
|
-
onSelect: (name: string, value: string) => void;
|
|
15
|
-
onSubscribe: (name: string, callback: (v: AttributeValue) => void) => void;
|
|
16
|
-
onAr?: () => void;
|
|
17
|
-
}
|
|
18
|
-
export declare class StandardInterface {
|
|
19
|
-
private readonly options;
|
|
20
|
-
private settings;
|
|
21
|
-
private container;
|
|
22
|
-
private loading;
|
|
23
|
-
private slots;
|
|
24
|
-
private screenshotBtn;
|
|
25
|
-
private actionBar;
|
|
26
|
-
private cameraControls;
|
|
27
|
-
private attributes;
|
|
28
|
-
private layout;
|
|
29
|
-
private commerce;
|
|
30
|
-
constructor(options: StandardInterfaceOptions);
|
|
31
|
-
attach(container: HTMLElement): void;
|
|
32
|
-
onReady(): void;
|
|
33
|
-
private mountToolbar;
|
|
34
|
-
private toggleFullscreen;
|
|
35
|
-
updateProgress(progress: number, phase: string): void;
|
|
36
|
-
showError(message: string): void;
|
|
37
|
-
applyViewerSettings(settings: ViewerSettings): void;
|
|
38
|
-
renderAttributeControls(attributes: Attributes, definitions: AttributeDefinition[]): void;
|
|
39
|
-
get viewerSettings(): ViewerSettings;
|
|
40
|
-
/** Tear down the configurator panel: price + CTA, attribute controls, layout. */
|
|
41
|
-
private teardownConfigurator;
|
|
42
|
-
destroy(): void;
|
|
43
|
-
private createSlot;
|
|
44
|
-
private syncScreenshotButton;
|
|
45
|
-
private placeScreenshotButton;
|
|
46
|
-
}
|
|
47
|
-
//# sourceMappingURL=standard-interface.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"standard-interface.d.ts","sourceRoot":"","sources":["../../../src/ui/standard-interface.ts"],"names":[],"mappings":"AAAA,OAAO,KAAK,EAAE,cAAc,EAAE,mBAAmB,EAAE,MAAM,8BAA8B,CAAC;AAKxF,OAAO,KAAK,EAAE,QAAQ,EAAE,MAAM,aAAa,CAAC;AAC5C,OAAO,KAAK,EAAE,MAAM,EAAE,cAAc,EAAE,MAAM,WAAW,CAAC;AACxD,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,0BAA0B,CAAC;AAC3D,OAAO,KAAK,EAAE,cAAc,EAAE,MAAM,qBAAqB,CAAC;AAC1D,OAAO,KAAK,EAAE,UAAU,EAAE,MAAM,aAAa,CAAC;AAS9C,OAAO,KAAK,EAAE,aAAa,EAAE,MAAM,kBAAkB,CAAC;AAStD,MAAM,WAAW,wBAAwB;IACvC,WAAW,EAAE,QAAQ,CAAC;IACtB,SAAS,EAAE,MAAM,CAAC;IAClB,iBAAiB,EAAE,cAAc,CAAC;IAClC,QAAQ,EAAE,UAAU,CAAC;IACrB,aAAa,EAAE,aAAa,CAAC;IAC7B,QAAQ,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,KAAK,IAAI,CAAC;IAChD,WAAW,EAAE,CAAC,IAAI,EAAE,MAAM,EAAE,QAAQ,EAAE,CAAC,CAAC,EAAE,cAAc,KAAK,IAAI,KAAK,IAAI,CAAC;IAC3E,IAAI,CAAC,EAAE,MAAM,IAAI,CAAC;CACnB;AAED,qBAAa,iBAAiB;IAC5B,OAAO,CAAC,QAAQ,CAAC,OAAO,CAA2B;IACnD,OAAO,CAAC,QAAQ,CAAsB;IACtC,OAAO,CAAC,SAAS,CAA4B;IAC7C,OAAO,CAAC,OAAO,CAAiC;IAChD,OAAO,CAAC,KAAK,CAAqF;IAClG,OAAO,CAAC,aAAa,CAAuB;IAC5C,OAAO,CAAC,SAAS,CAA0B;IAC3C,OAAO,CAAC,cAAc,CAA+B;IACrD,OAAO,CAAC,UAAU,CAA4B;IAC9C,OAAO,CAAC,MAAM,CAAmC;IACjD,OAAO,CAAC,QAAQ,CAA8B;gBAElC,OAAO,EAAE,wBAAwB;IAI7C,MAAM,CAAC,SAAS,EAAE,WAAW,GAAG,IAAI;IAYpC,OAAO,IAAI,IAAI;IAQf,OAAO,CAAC,YAAY;IAwBpB,OAAO,CAAC,gBAAgB;IASxB,cAAc,CAAC,QAAQ,EAAE,MAAM,EAAE,KAAK,EAAE,MAAM,GAAG,IAAI;IAIrD,SAAS,CAAC,OAAO,EAAE,MAAM,GAAG,IAAI;IAIhC,mBAAmB,CAAC,QAAQ,EAAE,cAAc,GAAG,IAAI;IAanD,uBAAuB,CAAC,UAAU,EAAE,UAAU,EAAE,WAAW,EAAE,mBAAmB,EAAE,GAAG,IAAI;IA2CzF,IAAI,cAAc,IAAI,cAAc,CAA0B;IAE9D,iFAAiF;IACjF,OAAO,CAAC,oBAAoB;IAS5B,OAAO,IAAI,IAAI;IAWf,OAAO,CAAC,UAAU;IAOlB,OAAO,CAAC,oBAAoB;IAoB5B,OAAO,CAAC,qBAAqB;CAQ9B"}
|
package/dist/src/ui/styles.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"styles.d.ts","sourceRoot":"","sources":["../../../src/ui/styles.ts"],"names":[],"mappings":"AAYA,eAAO,MAAM,MAAM,QA8LlB,CAAC;AAEF,wBAAgB,YAAY,IAAI,IAAI,CAOnC"}
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
type Attrs = Record<string, unknown> | unknown;
|
|
2
|
-
export declare let logger: {
|
|
3
|
-
debug: (msg: string, attrs?: Attrs) => void;
|
|
4
|
-
info: (msg: string, attrs?: Attrs) => void;
|
|
5
|
-
warn: (msg: string, attrs?: Attrs) => void;
|
|
6
|
-
error: (msg: string, attrs?: Attrs) => void;
|
|
7
|
-
};
|
|
8
|
-
export declare function enableDebugMode(): void;
|
|
9
|
-
export declare function isDebugMode(): boolean;
|
|
10
|
-
export {};
|
|
11
|
-
//# sourceMappingURL=logger.d.ts.map
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
{"version":3,"file":"logger.d.ts","sourceRoot":"","sources":["../../../src/utils/logger.ts"],"names":[],"mappings":"AAEA,KAAK,KAAK,GAAG,MAAM,CAAC,MAAM,EAAE,OAAO,CAAC,GAAG,OAAO,CAAC;AA4B/C,eAAO,IAAI,MAAM;iBAbF,MAAM,UAAU,KAAK;gBACtB,MAAM,UAAU,KAAK;gBACrB,MAAM,UAAU,KAAK;iBACpB,MAAM,UAAU,KAAK;CAU4C,CAAC;AAEjF,wBAAgB,eAAe,IAAI,IAAI,CAGtC;AAED,wBAAgB,WAAW,IAAI,OAAO,CAErC"}
|