import { WidgetType } from '../widgets'; export declare const headerImage: import('vue').ComputedRef; /** * 将全部组件区分为分页组件和其他组件 */ export declare const groupedWidgets: import('vue').ComputedRef<{ paginationList: any; otherList: any; }>; /** * 是否显示答案解析 */ export declare const isShowAnalysis: import('vue').ComputedRef; /** * 是否禁止复制 */ export declare const isDisableCopy: import('vue').ComputedRef; /** * 考试组件列表 */ export declare const examWidgets: import('vue').ComputedRef; export declare const getFormName: () => string; export declare const isFormChanged: () => boolean; /** * 分页器分割后的组件列表的列表 */ export declare const getPageList: (isEditor: boolean) => Widget[][]; /** * 获取组件分页后的真实索引 */ export declare const getWidgetRealIndex: (id: string, type: WidgetType) => any; /** * 获取组件在可见组件中的真实索引(跳过被显隐规则隐藏的组件) * 用于落地页(input/render 模式)中的序号显示 * 编辑器模式中所有组件均可见,应使用 getWidgetRealIndex */ export declare const getWidgetVisibleIndex: (id: string, type: WidgetType, allWidgets: Widget[], formData: Record) => number; /** * 是否显示题号 */ export declare const isShowNumber: (type: WidgetType) => boolean; /** * 答案是否正确 */ export declare const isCorrect: (score: number) => boolean; /** * 根据类型分组组件 */ export declare const getGroupedIds: (widgets: Widget[]) => { type: WidgetType; ids: any; title: any; total: any; }[]; /** * 筛选出考试组件 */ export declare const getExamWidgets: (widgets: Widget[]) => Widget[]; /** * 获取计分方式 */ export declare const getScoreTypes: (type: WidgetType) => { label: string; value: string; }[]; /** * 不可填写分数的计分方式 */ export declare const isScoreTypeDisabled: (scoreType: string) => boolean; /** * 是否是内嵌进高级编辑器 */ export declare const isEmbedInEditor: () => boolean;