@skedulo/mex-types 1.57.1 → 1.58.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.
|
@@ -170,13 +170,23 @@ export interface TextEditorFeaturesModel {
|
|
|
170
170
|
* @value readonlyTextView
|
|
171
171
|
* @description Content for users to read
|
|
172
172
|
* @label Read-only label
|
|
173
|
-
* @fieldOrders ['title', 'text', 'caption', 'showIfExpression']
|
|
173
|
+
* @fieldOrders ['title', 'text', 'richText', 'maxPreviewLines', 'caption', 'showIfExpression']
|
|
174
174
|
*/
|
|
175
175
|
export interface ReadonlyTextViewComponentModel extends CommonEditorViewComponentModel, WithPlaceholder, WithTitle {
|
|
176
176
|
/**
|
|
177
177
|
* @label Text
|
|
178
178
|
*/
|
|
179
179
|
text?: LocalizedKey;
|
|
180
|
+
/**
|
|
181
|
+
* @label Rich text
|
|
182
|
+
* @description When enabled, content is treated as HTML. A truncated plain-text preview is shown inline with an expand icon. Tapping opens a drawer with full HTML rendering.
|
|
183
|
+
*/
|
|
184
|
+
richText?: boolean;
|
|
185
|
+
/**
|
|
186
|
+
* @label Max preview lines
|
|
187
|
+
* @description Maximum lines shown in inline preview when rich text is enabled. Defaults to 3.
|
|
188
|
+
*/
|
|
189
|
+
maxPreviewLines?: number;
|
|
180
190
|
type: 'readonlyTextView';
|
|
181
191
|
}
|
|
182
192
|
export type SkedButtonTheme = 'success' | 'primary' | 'default';
|