@skedulo/mex-types 1.57.1 → 1.59.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.
|
@@ -164,19 +164,34 @@ export interface TextEditorFeaturesModel {
|
|
|
164
164
|
* @label: Use Barcode and QR Scanner
|
|
165
165
|
*/
|
|
166
166
|
useBarcodeAndQRScanner?: boolean;
|
|
167
|
+
/**
|
|
168
|
+
* @label: Use Voice to Text
|
|
169
|
+
* @version 2.4.5
|
|
170
|
+
*/
|
|
171
|
+
useVoiceToText?: boolean;
|
|
167
172
|
}
|
|
168
173
|
/**
|
|
169
174
|
* @area Components
|
|
170
175
|
* @value readonlyTextView
|
|
171
176
|
* @description Content for users to read
|
|
172
177
|
* @label Read-only label
|
|
173
|
-
* @fieldOrders ['title', 'text', 'caption', 'showIfExpression']
|
|
178
|
+
* @fieldOrders ['title', 'text', 'richText', 'maxPreviewLines', 'caption', 'showIfExpression']
|
|
174
179
|
*/
|
|
175
180
|
export interface ReadonlyTextViewComponentModel extends CommonEditorViewComponentModel, WithPlaceholder, WithTitle {
|
|
176
181
|
/**
|
|
177
182
|
* @label Text
|
|
178
183
|
*/
|
|
179
184
|
text?: LocalizedKey;
|
|
185
|
+
/**
|
|
186
|
+
* @label Rich text
|
|
187
|
+
* @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.
|
|
188
|
+
*/
|
|
189
|
+
richText?: boolean;
|
|
190
|
+
/**
|
|
191
|
+
* @label Max preview lines
|
|
192
|
+
* @description Maximum lines shown in inline preview when rich text is enabled. Defaults to 3.
|
|
193
|
+
*/
|
|
194
|
+
maxPreviewLines?: number;
|
|
180
195
|
type: 'readonlyTextView';
|
|
181
196
|
}
|
|
182
197
|
export type SkedButtonTheme = 'success' | 'primary' | 'default';
|