zakeke-configurator-react 0.1.312 → 0.1.314

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.
@@ -250,7 +250,7 @@ export declare class ZakekeEnvironment {
250
250
  text: string;
251
251
  fontFamily: string;
252
252
  }, areaId: number): Promise<void>;
253
- setItemText: (guid: string, text: string) => void;
253
+ setItemText: (guid: string, text: string) => string;
254
254
  setItemItalic: (guid: string, italic: boolean) => void;
255
255
  setItemBold: (guid: string, bold: boolean) => void;
256
256
  setItemColor: (guid: string, color: string) => void;
@@ -1,4 +1,4 @@
1
- import { PlatformSettings } from './models';
1
+ import { FontFamily, PlatformSettings, TextItem } from './models';
2
2
  export interface PublicTranslations {
3
3
  statics: Map<string, string>;
4
4
  dynamics: Map<string, string>;
@@ -55,3 +55,4 @@ export declare function uuid(): string;
55
55
  export declare function sleep(ms: number): Promise<unknown>;
56
56
  export declare function ascComparator(getProp: (item: any) => string): (a: any, b: any) => 0 | 1 | -1;
57
57
  export declare function getNavigatorQueryParams(): URLSearchParams;
58
+ export declare const sanitizeTextFromUnsupportedAndEmojiCharacters: (item: TextItem, text: string, fonts: FontFamily[]) => string;