数据
This commit is contained in:
@@ -222,14 +222,12 @@ export interface CutLineConfig {
|
||||
color: string;
|
||||
}
|
||||
|
||||
export type ExportRangeMode = 'all' | 'odd' | 'even' | 'custom' | 'conditional';
|
||||
export type ExportRangeMode = 'all' | 'odd' | 'even' | 'custom';
|
||||
|
||||
export interface ExportRangeConfig {
|
||||
mode: ExportRangeMode;
|
||||
/** 自定义范围:1-based 序号,如 "1,3,5-10" */
|
||||
/** 自定义范围:1-based 序号,如 "1,3,5-10"(排版过滤,不写入模板) */
|
||||
custom?: string;
|
||||
/** mode=conditional 时,全部满足才纳入排版/导出范围 */
|
||||
filterRules?: VisibilityRule[];
|
||||
}
|
||||
|
||||
export interface LabelTemplate {
|
||||
@@ -242,6 +240,8 @@ export interface LabelTemplate {
|
||||
variableList?: string[];
|
||||
/** 设计预览用:变量名 → 默认展示值 */
|
||||
variableDefaults?: Record<string, string>;
|
||||
/** 数据过滤条件(写入模板);全部满足的数据行才参与排版/导出 */
|
||||
dataFilterRules?: VisibilityRule[];
|
||||
/** 整页排版配置(每模板独立) */
|
||||
paper?: PaperConfig;
|
||||
/** PDF 裁切参考线配置 */
|
||||
|
||||
Reference in New Issue
Block a user