@fiddle-digital/string-tune 1.1.36 → 1.1.38
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.cjs +3 -3
- package/dist/index.cjs.map +1 -1
- package/dist/index.d.mts +24 -5
- package/dist/index.d.ts +24 -5
- package/dist/index.js +3 -3
- package/dist/index.js.map +1 -1
- package/dist/index.mjs +3 -3
- package/dist/index.mjs.map +1 -1
- package/package.json +1 -1
package/dist/index.d.mts
CHANGED
|
@@ -1394,12 +1394,13 @@ declare class StringModule implements IStringModule {
|
|
|
1394
1394
|
* 4. DOM existence checks - prevents operations on removed elements
|
|
1395
1395
|
*/
|
|
1396
1396
|
declare class StringCursor extends StringModule {
|
|
1397
|
-
protected enterObjectsMap: Map<string, StringObject>;
|
|
1398
|
-
protected enterObjects: Array<StringObject>;
|
|
1399
|
-
cursor: any;
|
|
1400
|
-
cursorContent: any;
|
|
1401
|
-
overCount: number;
|
|
1402
1397
|
private cursorPrev;
|
|
1398
|
+
private cursorPortals;
|
|
1399
|
+
private hoveredObjects;
|
|
1400
|
+
private globalListenersBound;
|
|
1401
|
+
private boundBeforeUnload;
|
|
1402
|
+
private boundPageHide;
|
|
1403
|
+
private boundVisibilityChange;
|
|
1403
1404
|
protected enabled: boolean;
|
|
1404
1405
|
constructor(context: StringContext);
|
|
1405
1406
|
initializeObject(globalId: number, object: StringObject, element: HTMLElement, attributes: Record<string, any>): void;
|
|
@@ -1413,9 +1414,27 @@ declare class StringCursor extends StringModule {
|
|
|
1413
1414
|
private safariNavigationCleanup;
|
|
1414
1415
|
private onElementRemovedFromDOM;
|
|
1415
1416
|
onObjectDisconnected(object: StringObject): void;
|
|
1417
|
+
onDOMRebuild(): void;
|
|
1418
|
+
onDOMMutate(added: NodeList, removed: NodeList): void;
|
|
1419
|
+
private collectCursorPortals;
|
|
1420
|
+
private resolvePortalId;
|
|
1421
|
+
private shouldRefreshPortals;
|
|
1422
|
+
private withPortalsForObject;
|
|
1423
|
+
private getPortalsForObject;
|
|
1424
|
+
private extractPortalIds;
|
|
1425
|
+
private incrementPortalHover;
|
|
1426
|
+
private decrementPortalHover;
|
|
1427
|
+
private restartPortalShowTimer;
|
|
1428
|
+
private clearPortalShowTimer;
|
|
1429
|
+
private updatePortalPosition;
|
|
1430
|
+
private handleRemovedNodes;
|
|
1431
|
+
private cleanupHoverTargets;
|
|
1432
|
+
private bindGlobalLifecycleListeners;
|
|
1433
|
+
private unbindGlobalLifecycleListeners;
|
|
1416
1434
|
private setMouseCoordinates;
|
|
1417
1435
|
private calculateOffset;
|
|
1418
1436
|
removeObject(id: string): void;
|
|
1437
|
+
destroy(): void;
|
|
1419
1438
|
}
|
|
1420
1439
|
|
|
1421
1440
|
declare class StringImpulse extends StringModule {
|
package/dist/index.d.ts
CHANGED
|
@@ -1394,12 +1394,13 @@ declare class StringModule implements IStringModule {
|
|
|
1394
1394
|
* 4. DOM existence checks - prevents operations on removed elements
|
|
1395
1395
|
*/
|
|
1396
1396
|
declare class StringCursor extends StringModule {
|
|
1397
|
-
protected enterObjectsMap: Map<string, StringObject>;
|
|
1398
|
-
protected enterObjects: Array<StringObject>;
|
|
1399
|
-
cursor: any;
|
|
1400
|
-
cursorContent: any;
|
|
1401
|
-
overCount: number;
|
|
1402
1397
|
private cursorPrev;
|
|
1398
|
+
private cursorPortals;
|
|
1399
|
+
private hoveredObjects;
|
|
1400
|
+
private globalListenersBound;
|
|
1401
|
+
private boundBeforeUnload;
|
|
1402
|
+
private boundPageHide;
|
|
1403
|
+
private boundVisibilityChange;
|
|
1403
1404
|
protected enabled: boolean;
|
|
1404
1405
|
constructor(context: StringContext);
|
|
1405
1406
|
initializeObject(globalId: number, object: StringObject, element: HTMLElement, attributes: Record<string, any>): void;
|
|
@@ -1413,9 +1414,27 @@ declare class StringCursor extends StringModule {
|
|
|
1413
1414
|
private safariNavigationCleanup;
|
|
1414
1415
|
private onElementRemovedFromDOM;
|
|
1415
1416
|
onObjectDisconnected(object: StringObject): void;
|
|
1417
|
+
onDOMRebuild(): void;
|
|
1418
|
+
onDOMMutate(added: NodeList, removed: NodeList): void;
|
|
1419
|
+
private collectCursorPortals;
|
|
1420
|
+
private resolvePortalId;
|
|
1421
|
+
private shouldRefreshPortals;
|
|
1422
|
+
private withPortalsForObject;
|
|
1423
|
+
private getPortalsForObject;
|
|
1424
|
+
private extractPortalIds;
|
|
1425
|
+
private incrementPortalHover;
|
|
1426
|
+
private decrementPortalHover;
|
|
1427
|
+
private restartPortalShowTimer;
|
|
1428
|
+
private clearPortalShowTimer;
|
|
1429
|
+
private updatePortalPosition;
|
|
1430
|
+
private handleRemovedNodes;
|
|
1431
|
+
private cleanupHoverTargets;
|
|
1432
|
+
private bindGlobalLifecycleListeners;
|
|
1433
|
+
private unbindGlobalLifecycleListeners;
|
|
1416
1434
|
private setMouseCoordinates;
|
|
1417
1435
|
private calculateOffset;
|
|
1418
1436
|
removeObject(id: string): void;
|
|
1437
|
+
destroy(): void;
|
|
1419
1438
|
}
|
|
1420
1439
|
|
|
1421
1440
|
declare class StringImpulse extends StringModule {
|