augnitosdk
Advanced tools
Comparing version 0.0.24 to 0.0.25
@@ -104,3 +104,4 @@ import { AugnitoConfig } from './config/AugnitoConfig'; | ||
private createWorker; | ||
private handleBeforeUnloadEvent; | ||
private handleStorageChangeEvent; | ||
} |
declare enum EditorType { | ||
HTML = 1, | ||
CKEDITOR4 = 2, | ||
CKEDITOR5 = 3, | ||
GENERIC = 99 | ||
} | ||
export { EditorType }; |
import { CKEditor4InteropProcessor } from '../processors/CKEditor4InteropProcessor'; | ||
import { CKEditor5InteropProcessor } from '../processors/CKEditor5InteropProcessor'; | ||
import { GenericInteropProcessor } from '../processors/GenericInteropProcessor'; | ||
@@ -6,3 +7,3 @@ import { HTMLInteropProcessor } from '../processors/HTMLInteropProcessor'; | ||
export declare class ProcessorFactory { | ||
static createProcessor(editorType: EditorType, enableLogs: boolean): HTMLInteropProcessor | CKEditor4InteropProcessor | GenericInteropProcessor; | ||
static createProcessor(editorType: EditorType, enableLogs: boolean): HTMLInteropProcessor | CKEditor4InteropProcessor | CKEditor5InteropProcessor | GenericInteropProcessor; | ||
} |
@@ -5,3 +5,3 @@ import { ActionRecipe } from '../../recipe'; | ||
import { InteropProcessor } from './InteropProcessor'; | ||
import { AugnitoRange, WrappedRange, WrappedRangeFindOptions } from '@scribetech/augnito-dom-parser'; | ||
import { AugnitoRange, WrappedRange, WrappedRangeFindOptions, WrappedSelection } from '@scribetech/augnito-dom-parser'; | ||
import { FindLastCharType, TraverseTextNodeResult } from '../types/CommonTypes'; | ||
@@ -14,2 +14,4 @@ import { DynamicSelect } from '../types/DynamicSelect'; | ||
protected customLineBreakFunction?(): void; | ||
protected customTextWriteFunction?(insertText: string): void; | ||
protected customActionProcessor?(selectFor: string): boolean; | ||
protected customSelectProcessor?(recipe: Partial<ActionRecipe>): boolean; | ||
@@ -30,3 +32,3 @@ protected customCommandProcessor?(action: string): boolean; | ||
protected processSelect(recipe: Partial<ActionRecipe>, editorDocument: Document): boolean; | ||
protected processSelectForAction(selectFor: string, editorDocument: Document): boolean; | ||
protected processSelectForAction(selectFor: string, editorDocument: Document, DeSelectRequired?: boolean): boolean; | ||
/** | ||
@@ -47,3 +49,3 @@ * Checks if there is a selection Pending to be handled. It could be the case the user said | ||
protected getPrevWordInterval(ItemCount: number, editorDocument: Document): WrappedRange; | ||
protected deSelectSelection(editorDocument: Document, atStart?: boolean): void; | ||
protected deSelectSelection(editorDocument: Document, atStart?: boolean, forceDeselect?: boolean): void; | ||
protected searchDynamicFiled(searchOption: WrappedRangeFindOptions): void; | ||
@@ -57,3 +59,4 @@ protected deleteSelection(editorDocument: Document | null): void; | ||
*/ | ||
protected insertTextCallback(editorDocument: Document, insertText: string): void; | ||
protected insertTextCallback(editorDocument: Document, insertText: string, IsAddSpace: boolean): void; | ||
protected scrollElementToView(selection: WrappedSelection): void; | ||
protected findLineBreakAtCursor: (currentNode: Node) => boolean; | ||
@@ -60,0 +63,0 @@ protected findLineBreakAtNextCursor: (currentNode: Node) => boolean; |
@@ -25,3 +25,2 @@ import { EditorType } from '../core/EditorType'; | ||
private getEndOfLine; | ||
private writeAtCaret; | ||
/** | ||
@@ -28,0 +27,0 @@ * We called this part of code, client side beatification. |
@@ -12,5 +12,5 @@ declare abstract class InteropProcessorCommon { | ||
/** Some beautification */ | ||
static processText: (newProcessText: string, IsLastFullstop: boolean, IsLastNewLine: boolean, currentPosition: number, cursorInSameLine: boolean) => string; | ||
static processText: (newProcessText: string, IsLastFullstop: boolean, IsLastNewLine: boolean, currentPosition: number, cursorInSameLine: boolean, IsLastSpace: boolean) => string; | ||
static trimWithoutNewLine: (newProcessText: string) => string; | ||
} | ||
export { InteropProcessorCommon }; |
@@ -7,5 +7,7 @@ import { WrappedRange } from '@scribetech/augnito-dom-parser'; | ||
lastChar: string; | ||
lastImmediateChar: string; | ||
}; | ||
declare type FindLastCharType = { | ||
lastChar: string; | ||
lastImmediateChar: string; | ||
cursorInSameLine: boolean; | ||
@@ -12,0 +14,0 @@ isLastFullStop: boolean; |
{ | ||
"name": "augnitosdk", | ||
"private": false, | ||
"version": "0.0.24", | ||
"version": "0.0.25", | ||
"license": "Restricted", | ||
@@ -26,2 +26,3 @@ "files": [ | ||
"build": "npm run clean && rollup -c", | ||
"build-win": "npm run clean-win && rollup -c", | ||
"build-debug": "npm run clean-win && rollup -c rollup.debug.config.js", | ||
@@ -36,4 +37,5 @@ "test": "jest --coverage" | ||
"@rollup/plugin-node-resolve": "^13.1.3", | ||
"@scribetech/augnito-dom-parser": "^0.0.7", | ||
"@scribetech/augnito-dom-parser": "^0.0.15", | ||
"@scribetech/recordrtc-stereo-recorder-no-heads": "^5.6.11", | ||
"@types/ckeditor__ckeditor5-core": "^33.0.3", | ||
"@types/ckeditor4": "^4.16.1", | ||
@@ -40,0 +42,0 @@ "@types/jest": "^27.4.1", |
# Augnito Speech SDK | ||
You’ve found the **Augnito** Speech SDK! **This is currently still in BETA** but you can use **Augnito SDK** to make use of the Speech Recognition AI. To get access credentials or talk to us about your project, get in touch with us at <partnerships@augnito.ai>. | ||
You can use **Augnito SDK** to make use of the Speech Recognition AI. To get access credentials or talk to us about your project, get in touch with us at <partnerships@augnito.ai>. | ||
@@ -5,0 +5,0 @@ ## Installation |
Sorry, the diff of this file is too big to display
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
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
302667
59
2459
27