@signosoft/signpad-js 0.3.6 → 0.3.7
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.d.ts +0 -26
- package/dist/signosoft-signpad.js +478 -505
- package/dist/signosoft-signpad.umd.cjs +15 -15
- package/package.json +1 -1
package/dist/index.d.ts
CHANGED
|
@@ -43,11 +43,6 @@ declare class ButtonManager {
|
|
|
43
43
|
* @returns The next ready state (physical or fallback).
|
|
44
44
|
*/
|
|
45
45
|
private getReadyState;
|
|
46
|
-
/**
|
|
47
|
-
* Handles post-action flow (state transition or auto-restart).
|
|
48
|
-
* @returns Resolves after state transition or auto-restart completes.
|
|
49
|
-
*/
|
|
50
|
-
private finalizePostAction;
|
|
51
46
|
/**
|
|
52
47
|
* Fallback handling when startSigning cannot proceed.
|
|
53
48
|
*/
|
|
@@ -303,23 +298,6 @@ export declare interface IActionHandlers {
|
|
|
303
298
|
handleCancel?: () => any | Promise<any>;
|
|
304
299
|
}
|
|
305
300
|
|
|
306
|
-
export declare interface IAutoconnectOptions {
|
|
307
|
-
/**
|
|
308
|
-
* Enables silent reconnect attempts to already-authorized devices
|
|
309
|
-
* during component startup/config updates.
|
|
310
|
-
*/
|
|
311
|
-
autoConnect?: boolean;
|
|
312
|
-
/**
|
|
313
|
-
* Triggers auto-connect flow when WebHID reports a plug-in event.
|
|
314
|
-
* If used without `autoConnect`, connection is attempted only after plug-in.
|
|
315
|
-
*/
|
|
316
|
-
autoConnectOnPlugIn?: boolean;
|
|
317
|
-
/**
|
|
318
|
-
* Starts a fresh signing session automatically after OK/Clear/Cancel actions.
|
|
319
|
-
*/
|
|
320
|
-
autoRestartSigningAfterAction?: boolean;
|
|
321
|
-
}
|
|
322
|
-
|
|
323
301
|
export declare interface IDrawingOptions {
|
|
324
302
|
minWidth?: number;
|
|
325
303
|
maxWidth?: number;
|
|
@@ -738,8 +716,6 @@ export declare class SignosoftSignpad extends LitElement {
|
|
|
738
716
|
*/
|
|
739
717
|
private onHidDeviceDisconnected;
|
|
740
718
|
private isMouseFallbackActive;
|
|
741
|
-
private shouldAutoConnectOnPlugIn;
|
|
742
|
-
private showDeviceDetectedState;
|
|
743
719
|
/**
|
|
744
720
|
* Initializes the CanvasManager for rendering signature strokes.
|
|
745
721
|
* @private
|
|
@@ -762,7 +738,6 @@ export declare class SignosoftSignpad extends LitElement {
|
|
|
762
738
|
* Safe to call repeatedly; initialization is performed at most once.
|
|
763
739
|
*/
|
|
764
740
|
private initializeFromConfigLeaseIfNeeded;
|
|
765
|
-
private shouldAutoConnect;
|
|
766
741
|
private autoConnectIfConfigured;
|
|
767
742
|
private canAttemptAutoConnect;
|
|
768
743
|
private ensureSignatureLayerReady;
|
|
@@ -812,7 +787,6 @@ export declare type SignosoftSignpadProps = {
|
|
|
812
787
|
export declare interface SignpadConfig {
|
|
813
788
|
lease?: {};
|
|
814
789
|
languageOptions?: ILanguageOptions;
|
|
815
|
-
autoconnectOptions?: IAutoconnectOptions;
|
|
816
790
|
uiVisibilityOptions?: IUIVisibilityOptions;
|
|
817
791
|
canvasAndDrawingOptions?: IDrawingOptions;
|
|
818
792
|
actionHandlers?: IActionHandlers;
|