@hufe921/canvas-editor 0.9.44 → 0.9.45
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 +18 -0
- package/dist/canvas-editor.es.js +42 -12
- package/dist/canvas-editor.es.js.map +1 -1
- package/dist/canvas-editor.umd.js +31 -31
- package/dist/canvas-editor.umd.js.map +1 -1
- package/dist/src/editor/core/command/Command.d.ts +1 -0
- package/dist/src/editor/core/command/CommandAdapt.d.ts +1 -0
- package/dist/src/editor/core/i18n/I18n.d.ts +1 -0
- package/dist/src/editor/dataset/constant/Regular.d.ts +3 -0
- package/package.json +1 -1
|
@@ -84,5 +84,6 @@ export declare class Command {
|
|
|
84
84
|
getRangeContext: CommandAdapt['getRangeContext'];
|
|
85
85
|
getPaperMargin: CommandAdapt['getPaperMargin'];
|
|
86
86
|
getSearchNavigateInfo: CommandAdapt['getSearchNavigateInfo'];
|
|
87
|
+
getLocale: CommandAdapt['getLocale'];
|
|
87
88
|
constructor(adapt: CommandAdapt);
|
|
88
89
|
}
|
|
@@ -108,6 +108,7 @@ export declare class CommandAdapt {
|
|
|
108
108
|
setValue(payload: Partial<IEditorData>): void;
|
|
109
109
|
removeControl(): void;
|
|
110
110
|
setLocale(payload: string): void;
|
|
111
|
+
getLocale(): string;
|
|
111
112
|
getCatalog(): Promise<ICatalog | null>;
|
|
112
113
|
locationCatalog(titleId: string): void;
|
|
113
114
|
wordTool(): void;
|
|
@@ -3,3 +3,6 @@ export declare const LETTER_REG: RegExp;
|
|
|
3
3
|
export declare const NUMBER_LIKE_REG: RegExp;
|
|
4
4
|
export declare const CHINESE_REG: RegExp;
|
|
5
5
|
export declare const WORD_LIKE_REG: RegExp;
|
|
6
|
+
export declare const SURROGATE_PAIR_REG: RegExp;
|
|
7
|
+
export declare const EMOJI_REG: RegExp;
|
|
8
|
+
export declare const UNICODE_SYMBOL_REG: RegExp;
|