@orangelogic/design-system 2.213.0 → 2.214.0
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/library/package.json
CHANGED
|
@@ -11,6 +11,9 @@ import { CxBlockPicker } from './components/block-picker';
|
|
|
11
11
|
import { CxConfigManager } from './components/config-manager';
|
|
12
12
|
import { CxRTEBubbleMenu, CxRTETableGenerator } from './plugins';
|
|
13
13
|
|
|
14
|
+
type TranslatableTextRecordOptions = {
|
|
15
|
+
isAutoBackfilled?: boolean;
|
|
16
|
+
};
|
|
14
17
|
/**
|
|
15
18
|
* @summary The `cx-content-builder` component is used to create and manage content blocks in a CMS.
|
|
16
19
|
*
|
|
@@ -271,8 +274,9 @@ export default class CxContentBuilder extends CortexElement {
|
|
|
271
274
|
get isMultiLanguage(): boolean;
|
|
272
275
|
storeTemplate(id: string, data: Record<string, any>, update?: boolean): void;
|
|
273
276
|
private hasDefaultLanguageTextRecord;
|
|
277
|
+
private canBackfillDefaultLanguageTextRecord;
|
|
274
278
|
private hasDefaultLanguageAttributeRecord;
|
|
275
|
-
storeTranslatableText(id: string, data: string): void;
|
|
279
|
+
storeTranslatableText(id: string, data: string, options?: TranslatableTextRecordOptions): void;
|
|
276
280
|
storeTranslatableAttribute(id: string, data: Record<string, Record<string, string>>): void;
|
|
277
281
|
private updateFrameSize;
|
|
278
282
|
handleSupportedLanguagesChange(): void;
|
|
@@ -448,3 +452,4 @@ declare global {
|
|
|
448
452
|
'cx-content-builder': CxContentBuilder;
|
|
449
453
|
}
|
|
450
454
|
}
|
|
455
|
+
export {};
|