@hailin-zheng/editor-core 2.0.16 → 2.0.18
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.
- package/index-cjs.js +5512 -5421
- package/index-cjs.js.map +1 -1
- package/index.js +5512 -5421
- package/index.js.map +1 -1
- package/med_editor/framework/document-change.d.ts +5 -0
- package/med_editor/framework/element-props.d.ts +2 -0
- package/med_editor/framework/impl/data-element/data-element-check-impl.d.ts +2 -0
- package/package.json +1 -1
@@ -197,6 +197,7 @@ export declare class DataEleListProps extends DataEleBaseTextProps {
|
|
197
197
|
* 是否允许多选
|
198
198
|
*/
|
199
199
|
multiSelect: boolean;
|
200
|
+
displayField: 'code' | 'value';
|
200
201
|
clone(dest: DataEleListProps | null): DataEleListProps;
|
201
202
|
getSerializeProps(options: ViewOptions): any;
|
202
203
|
updateProps(props: DataEleListProps): void;
|
@@ -235,6 +236,7 @@ export declare class DataEleCheckProps extends DataEleBaseProps {
|
|
235
236
|
falseChar: string;
|
236
237
|
trueStateColor: string;
|
237
238
|
falseStateColor: string;
|
239
|
+
style: 'CheckBox' | 'RadioButton';
|
238
240
|
clone(dest: DataEleCheckProps | null): DataEleCheckProps;
|
239
241
|
getSerializeProps(options: ViewOptions): any;
|
240
242
|
updateProps(props: DataEleCheckProps): void;
|
@@ -17,6 +17,8 @@ export declare class DataElementCheckRenderObject extends LeafRenderObject<DataE
|
|
17
17
|
clone(): RenderObject;
|
18
18
|
render(e: IRenderData): void;
|
19
19
|
exportHTML(event: IEditorVNodeOptions): any;
|
20
|
+
private drawRectCheckbox;
|
21
|
+
private drawCircleCheckbox;
|
20
22
|
}
|
21
23
|
export declare class DataElementCheckFactory extends ElementFactory<DataEleCheckProps> {
|
22
24
|
match(type: string): boolean;
|