适配
This commit is contained in:
@@ -1,4 +1,6 @@
|
||||
export type TextFormat = 'text' | 'number' | 'percent' | 'currency';
|
||||
/** 数值格式下的显示部分:完整 / 仅整数 / 仅小数(含小数点) */
|
||||
export type NumberPartDisplay = 'full' | 'integer' | 'fraction';
|
||||
export type ElementVisibilityMode = 'always' | 'conditional';
|
||||
export type VisibilityOperator = 'empty' | 'not_empty' | 'gt' | 'lt' | 'eq' | 'neq';
|
||||
|
||||
@@ -82,6 +84,8 @@ export interface TemplateElement {
|
||||
textFormat?: TextFormat;
|
||||
/** 数值/百分比/货币的小数位数,默认 2 */
|
||||
decimalPlaces?: number;
|
||||
/** 数值格式下显示整数或小数部分,仅 type=text 且 textFormat≠text */
|
||||
numberPartDisplay?: NumberPartDisplay;
|
||||
/** 边框宽度 (mm),0 为无边框;各边留空时沿用此值 */
|
||||
borderWidth?: number;
|
||||
borderColor?: string;
|
||||
|
||||
Reference in New Issue
Block a user