@tolgee/core
Advanced tools
Comparing version 4.5.0 to 4.6.0-rc.2e9d3c7.0
@@ -7,4 +7,5 @@ import { Properties } from '../Properties'; | ||
initFunctions(element: ElementWithMeta): void; | ||
borderElement: HTMLDivElement | null; | ||
private initHighlightFunction; | ||
private initUnhighlightFunction; | ||
} |
@@ -1,23 +0,18 @@ | ||
import { ElementWithMeta } from '../types'; | ||
import { Properties } from '../Properties'; | ||
import { DependencyService } from '../services/DependencyService'; | ||
export declare class MouseEventHandler { | ||
private properties; | ||
private dependencies; | ||
private keysDown; | ||
private mouseOn; | ||
private highlighted; | ||
private mouseOnChanged; | ||
private keysChanged; | ||
constructor(properties: Properties); | ||
private cursorPosition; | ||
constructor(dependencies: DependencyService); | ||
run(): void; | ||
handle(element: ElementWithMeta & ElementCSSInlineStyle, onclick: (clickEvent: MouseEvent) => void): void; | ||
private initEventListeners; | ||
private readonly onConditionsChanged; | ||
private readonly highlight; | ||
private readonly unhighlight; | ||
private readonly onMouseOut; | ||
private readonly onMouseOver; | ||
private getMouseOn; | ||
private updateHighlight; | ||
private updateCursorPosition; | ||
private initKeyListener; | ||
private filterMouseOn; | ||
private getClosestTolgeeElement; | ||
private areKeysDown; | ||
} |
@@ -13,3 +13,3 @@ import { ElementWithMeta } from '../types'; | ||
private getKeyAndDefault; | ||
private translationEdit; | ||
translationEdit: (e: MouseEvent, element: ElementWithMeta) => Promise<void>; | ||
} |
@@ -84,2 +84,3 @@ export interface TextInputElementData { | ||
removeAllEventListeners?: () => void; | ||
highlightEl?: HTMLDivElement; | ||
highlight?: () => void; | ||
@@ -86,0 +87,0 @@ unhighlight?: () => void; |
{ | ||
"name": "@tolgee/core", | ||
"version": "4.5.0", | ||
"version": "4.6.0-rc.2e9d3c7.0", | ||
"description": "Library providing ability to translate messages directly in context of developed application.", | ||
@@ -60,4 +60,4 @@ "main": "index.js", | ||
"tslib": "^2.3.1", | ||
"typedoc": "0.22.13", | ||
"typedoc-plugin-markdown": "3.11.14", | ||
"typedoc": "0.22.15", | ||
"typedoc-plugin-markdown": "3.12.1", | ||
"typescript": "4.6.3" | ||
@@ -69,3 +69,3 @@ }, | ||
}, | ||
"gitHead": "19b44f5cee5e7db61a62f6a86a8ae81ac217b48c", | ||
"gitHead": "179ca745c4a3dfe3732cd476aab58cccba5d6da7", | ||
"publishConfig": { | ||
@@ -72,0 +72,0 @@ "access": "public" |
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
Sorry, the diff of this file is too big to display
Sorry, the diff of this file is not supported yet
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
No v1
QualityPackage is not semver >=1. This means it is not stable and does not support ^ ranges.
Found 1 instance in 1 package
License Policy Violation
LicenseThis package is not allowed per your license policy. Review the package's license to ensure compliance.
Found 1 instance in 1 package
2202810
19279
1