@hailin-zheng/editor-core 2.1.26 → 2.1.28

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.
Files changed (118) hide show
  1. package/controls/ButtonBase.d.ts +10 -10
  2. package/controls/Canvas.d.ts +7 -7
  3. package/controls/Config.d.ts +12 -12
  4. package/controls/FlexBox.d.ts +81 -81
  5. package/controls/Input.d.ts +33 -33
  6. package/controls/MedTimeLine/TimeAxis.d.ts +21 -21
  7. package/controls/MedTimeLine/TimeSlider.d.ts +19 -19
  8. package/controls/Menu.d.ts +31 -31
  9. package/controls/Node.d.ts +232 -232
  10. package/controls/NodeEvent.d.ts +138 -138
  11. package/controls/Rect.d.ts +4 -4
  12. package/controls/ScrollView.d.ts +57 -57
  13. package/controls/StackPanel.d.ts +27 -27
  14. package/controls/SurfaceView.d.ts +44 -44
  15. package/controls/Text.d.ts +46 -46
  16. package/controls/TextBase.d.ts +19 -19
  17. package/controls/ViewPaint.d.ts +64 -64
  18. package/controls/Window.d.ts +27 -27
  19. package/controls/WrapPanel.d.ts +10 -10
  20. package/controls/event-subject.d.ts +42 -42
  21. package/editor.css +544 -544
  22. package/index-cjs.d.ts +31 -31
  23. package/index-cjs.js +26744 -26740
  24. package/index-cjs.js.map +1 -1
  25. package/index.d.ts +31 -31
  26. package/index.js +26748 -26744
  27. package/index.js.map +1 -1
  28. package/med_editor/doc-editor.d.ts +457 -458
  29. package/med_editor/doc-rule.d.ts +46 -46
  30. package/med_editor/editor-core.d.ts +21 -21
  31. package/med_editor/framework/ast-parser.d.ts +4 -4
  32. package/med_editor/framework/common-util.d.ts +76 -76
  33. package/med_editor/framework/document-arrange.d.ts +85 -85
  34. package/med_editor/framework/document-change.d.ts +295 -295
  35. package/med_editor/framework/document-combine.d.ts +24 -24
  36. package/med_editor/framework/document-comment.d.ts +38 -38
  37. package/med_editor/framework/document-context.d.ts +143 -143
  38. package/med_editor/framework/document-eval-func.d.ts +18 -18
  39. package/med_editor/framework/document-event.d.ts +262 -262
  40. package/med_editor/framework/document-input-cursor.d.ts +43 -43
  41. package/med_editor/framework/document-paginator.d.ts +47 -47
  42. package/med_editor/framework/document-print-offscreen.d.ts +58 -58
  43. package/med_editor/framework/document-print.d.ts +18 -18
  44. package/med_editor/framework/document-segmenter.d.ts +2 -2
  45. package/med_editor/framework/document-selection.d.ts +97 -97
  46. package/med_editor/framework/document-svg.d.ts +32 -32
  47. package/med_editor/framework/document-template.d.ts +13 -13
  48. package/med_editor/framework/document-textline-mode.d.ts +6 -6
  49. package/med_editor/framework/dynamic-execute.d.ts +23 -23
  50. package/med_editor/framework/editor-calendar-vnode.d.ts +42 -42
  51. package/med_editor/framework/element-define.d.ts +412 -412
  52. package/med_editor/framework/element-event-define.d.ts +107 -107
  53. package/med_editor/framework/element-props.d.ts +345 -345
  54. package/med_editor/framework/element-reader.d.ts +20 -20
  55. package/med_editor/framework/element-serialize.d.ts +36 -36
  56. package/med_editor/framework/element-trace-manage.d.ts +106 -106
  57. package/med_editor/framework/element-trace-tracking.d.ts +89 -89
  58. package/med_editor/framework/element-type-handler.d.ts +9 -9
  59. package/med_editor/framework/element-util.d.ts +409 -409
  60. package/med_editor/framework/event-subject.d.ts +56 -56
  61. package/med_editor/framework/impl/checkbox/checkbox-impl.d.ts +19 -19
  62. package/med_editor/framework/impl/comments/comment-content-impl.d.ts +39 -39
  63. package/med_editor/framework/impl/comments/comment-element-impl.d.ts +24 -24
  64. package/med_editor/framework/impl/comments/comments-container-impl.d.ts +19 -19
  65. package/med_editor/framework/impl/comments/comments-util.d.ts +5 -5
  66. package/med_editor/framework/impl/comments/validate-msg-impl.d.ts +19 -19
  67. package/med_editor/framework/impl/data-element/data-decorate-impl.d.ts +15 -15
  68. package/med_editor/framework/impl/data-element/data-element-barcode.d.ts +32 -32
  69. package/med_editor/framework/impl/data-element/data-element-base-impl.d.ts +83 -83
  70. package/med_editor/framework/impl/data-element/data-element-check-impl.d.ts +26 -26
  71. package/med_editor/framework/impl/data-element/data-element-date-impl.d.ts +23 -23
  72. package/med_editor/framework/impl/data-element/data-element-group-impl.d.ts +17 -17
  73. package/med_editor/framework/impl/data-element/data-element-image-impl.d.ts +23 -23
  74. package/med_editor/framework/impl/data-element/data-element-list-impl.d.ts +21 -21
  75. package/med_editor/framework/impl/data-element/data-element-text-impl.d.ts +22 -22
  76. package/med_editor/framework/impl/data-element/qrcode.d.ts +93 -93
  77. package/med_editor/framework/impl/decorate/fill-null-space-imple.d.ts +16 -16
  78. package/med_editor/framework/impl/document/doc-body-impl.d.ts +20 -20
  79. package/med_editor/framework/impl/document/doc-body-part-impl.d.ts +22 -22
  80. package/med_editor/framework/impl/document/doc-container-impl.d.ts +7 -7
  81. package/med_editor/framework/impl/document/doc-footer-impl.d.ts +19 -19
  82. package/med_editor/framework/impl/document/doc-header-impl.d.ts +19 -19
  83. package/med_editor/framework/impl/document/doc-impl.d.ts +81 -81
  84. package/med_editor/framework/impl/index.d.ts +40 -40
  85. package/med_editor/framework/impl/media-formula/menstrual-history.d.ts +31 -31
  86. package/med_editor/framework/impl/media-formula/permanent-teeth.d.ts +34 -34
  87. package/med_editor/framework/impl/paragraph/p-impl.d.ts +38 -38
  88. package/med_editor/framework/impl/picture/RectEle.d.ts +44 -44
  89. package/med_editor/framework/impl/picture/image-impl.d.ts +24 -24
  90. package/med_editor/framework/impl/radio/radio-impl.d.ts +17 -17
  91. package/med_editor/framework/impl/svg/svg-impl.d.ts +20 -20
  92. package/med_editor/framework/impl/symbol/br-symbol-impl.d.ts +18 -18
  93. package/med_editor/framework/impl/symbol/p-symbol-impl.d.ts +16 -16
  94. package/med_editor/framework/impl/symbol/page-br-symbol-impl.d.ts +20 -20
  95. package/med_editor/framework/impl/symbol/tab-symbol-impl.d.ts +15 -15
  96. package/med_editor/framework/impl/table/table-cell-impl.d.ts +34 -34
  97. package/med_editor/framework/impl/table/table-impl.d.ts +49 -49
  98. package/med_editor/framework/impl/table/table-row-impl.d.ts +27 -27
  99. package/med_editor/framework/impl/table/table-split-cell-patch.d.ts +20 -20
  100. package/med_editor/framework/impl/table/table-split-cell.d.ts +92 -92
  101. package/med_editor/framework/impl/table/table-util.d.ts +180 -180
  102. package/med_editor/framework/impl/text/text-impl.d.ts +34 -34
  103. package/med_editor/framework/impl/text/track-run-impl.d.ts +27 -27
  104. package/med_editor/framework/notify.d.ts +13 -13
  105. package/med_editor/framework/paragraph-arrange.d.ts +107 -107
  106. package/med_editor/framework/range-util.d.ts +36 -36
  107. package/med_editor/framework/render-context.d.ts +111 -111
  108. package/med_editor/framework/render-define.d.ts +141 -141
  109. package/med_editor/framework/selection-overlays.d.ts +32 -32
  110. package/med_editor/rule-control.d.ts +66 -66
  111. package/package.json +18 -18
  112. package/timeline/TimeLineControl.d.ts +47 -47
  113. package/timeline/TimeValueGridControl.d.ts +106 -106
  114. package/timeline/TimelineConfig.d.ts +68 -68
  115. package/timeline/TimelineScrollbar.d.ts +25 -25
  116. package/timeline/TimelineStatus.d.ts +61 -61
  117. package/timeline/TimelineTick.d.ts +63 -63
  118. package/timeline/example.d.ts +2 -2
@@ -1,345 +1,345 @@
1
- import { Element, NullableType, OrientType, PaddingProps, SelectionContentRange, TextAlign, ViewOptions } from "./element-define";
2
- import { TrackRunTypeEnum } from "./impl/text/track-run-impl";
3
- export declare type TextVertAlign = 'superscript' | 'subscript';
4
- export declare abstract class INotifyPropertyChanged {
5
- abstract getSerializeProps(viewOptions: ViewOptions): any;
6
- private __attachedProperty;
7
- setProperty<T>(propertyName: string, value: T): void;
8
- removeProperty(propertyName: string): void;
9
- getProperty<T>(propertyName: string): T | null;
10
- cloneAttachedProperty(dest: INotifyPropertyChanged): void;
11
- }
12
- export declare class TextProps extends INotifyPropertyChanged {
13
- constructor();
14
- color: string;
15
- fontName: string;
16
- fontSize: number;
17
- fontWeight: 'normal' | 'bold';
18
- fontStyle: 'normal' | 'italic';
19
- underline: boolean;
20
- overline: boolean;
21
- linethrough: boolean;
22
- background: string;
23
- letterSpace: number;
24
- /**
25
- * 上标或者下标
26
- */
27
- vertAlign: TextVertAlign;
28
- /**
29
- * 字符边框
30
- */
31
- border: boolean;
32
- clearCache(): void;
33
- clone(source: TextProps | null): TextProps;
34
- setPropsValue(source: TextProps, target: TextProps): void;
35
- getSerializeProps(viewOptions: ViewOptions): any;
36
- private __cacheFont;
37
- getFont(): string;
38
- equals(props: TextProps): boolean;
39
- }
40
- export declare enum ParagraphNumberType {
41
- none = -1,
42
- /**
43
- * 无序列表
44
- */
45
- ul = 0,
46
- /**
47
- * 有序符号
48
- */
49
- ol = 1
50
- }
51
- export declare const defaultParaHanging = 30;
52
- export declare class ParagraphProps extends INotifyPropertyChanged {
53
- indent: number;
54
- hanging: number;
55
- lineHeight: number;
56
- textAlign: TextAlign;
57
- numberType: ParagraphNumberType;
58
- marginTop: number;
59
- marginBottom: number;
60
- tabs: Array<number>;
61
- clone(dest?: ParagraphProps | null): ParagraphProps;
62
- getSerializeProps(viewOptions: ViewOptions): any;
63
- }
64
- export declare class DocumentProps extends INotifyPropertyChanged {
65
- width: number;
66
- height: number;
67
- padding: PaddingProps;
68
- headerLine: number;
69
- footerLine: number;
70
- orient: OrientType;
71
- createUserId: string;
72
- createUserName: string;
73
- createDate: string;
74
- scripts: string;
75
- columns: number;
76
- version: string;
77
- clone(dest: DocumentProps): DocumentProps;
78
- getSerializeProps(): any;
79
- }
80
- export declare class CheckBoxProps extends INotifyPropertyChanged {
81
- size: number;
82
- isChecked: boolean;
83
- groupName: string | null;
84
- trueChar: string;
85
- falseChar: string;
86
- clone(dest: CheckBoxProps): CheckBoxProps;
87
- getSerializeProps(viewOptions: ViewOptions): {
88
- size: number;
89
- isChecked: boolean;
90
- groupName: string | null;
91
- };
92
- }
93
- export declare class RadioBoxProps extends INotifyPropertyChanged {
94
- size: number;
95
- isChecked: boolean;
96
- clone(dest: RadioBoxProps): RadioBoxProps;
97
- getSerializeProps(viewOptions: ViewOptions): {
98
- size: number;
99
- isCheced: boolean;
100
- };
101
- }
102
- export declare class TableRowProps extends INotifyPropertyChanged {
103
- minHeight: number;
104
- headerRow: boolean;
105
- clone(dest: TableRowProps): TableRowProps;
106
- getSerializeProps(viewOptions: ViewOptions): any;
107
- }
108
- export declare type TableAlignment = 'start' | 'end' | 'center';
109
- export declare class TableProps extends INotifyPropertyChanged {
110
- id: string;
111
- cols: Array<number>;
112
- align: TableAlignment;
113
- border: 'all' | 'none' | 'dashed';
114
- allowBreakRow: boolean;
115
- cellPadding: PaddingProps;
116
- clone(dest: TableProps): TableProps;
117
- getSerializeProps(viewOptions: ViewOptions): Partial<TableProps>;
118
- }
119
- export declare type CellMergeType = 'col-merge' | 'row-merge';
120
- export declare type VMergeType = 'restart' | 'continue';
121
- export declare type HMergeType = 'restart' | 'continue';
122
- export declare type VerticalAlign = 'top' | 'middle' | 'bottom';
123
- export declare type CellDiagonal = 'main' | 'sub' | 'all' | null;
124
- export declare class TableCellProps extends INotifyPropertyChanged {
125
- vMerge: VMergeType | null;
126
- hMerge: HMergeType | null;
127
- vAlign: VerticalAlign | null;
128
- backgroundColor: string | null;
129
- /**
130
- * 对角线
131
- */
132
- diagonal: CellDiagonal;
133
- clone(dest: TableCellProps): TableCellProps;
134
- getSerializeProps(options: ViewOptions): any;
135
- }
136
- export declare class PictureProps extends INotifyPropertyChanged {
137
- title: string;
138
- width: number;
139
- height: number;
140
- src: string;
141
- border: 'all' | 'none';
142
- clone(dest: PictureProps): PictureProps;
143
- getSerializeProps(viewOptions: ViewOptions): NullableType<PictureProps>;
144
- }
145
- export declare class SVGProps extends INotifyPropertyChanged {
146
- title: string;
147
- width: number;
148
- height: number;
149
- value: string;
150
- clone(dest: SVGProps): SVGProps;
151
- getSerializeProps(viewOptions: ViewOptions): NullableType<SVGProps>;
152
- }
153
- export declare class DataDecorateProps extends INotifyPropertyChanged {
154
- content: string;
155
- size: number;
156
- clone(dest: DataDecorateProps): DataDecorateProps;
157
- getSerializeProps(viewOptions: ViewOptions): {
158
- size: number;
159
- content: string;
160
- };
161
- }
162
- export declare type DataEleTypes = 'text' | 'droplist' | 'date' | 'check' | 'img';
163
- export declare class DataEleBaseProps extends INotifyPropertyChanged {
164
- id: string;
165
- name: string;
166
- fieldName: string;
167
- caption: string;
168
- required: boolean;
169
- printable: boolean;
170
- secretBrowse: boolean;
171
- editable: boolean;
172
- deleteable: boolean;
173
- minLength: number;
174
- underline: boolean;
175
- expression: string;
176
- hidden: boolean;
177
- cloneBaseProps(destProps: DataEleBaseProps): void;
178
- private setPropValue;
179
- updateProps(props: DataEleBaseProps): void;
180
- getBaseProps(props: NullableType<DataEleBaseProps>, options: ViewOptions): NullableType<DataEleBaseProps>;
181
- getSerializeProps(viewOptions: ViewOptions): void;
182
- }
183
- export declare class DataEleBaseTextProps extends DataEleBaseProps {
184
- constructor();
185
- valueTextProps: TextProps;
186
- nullText: string;
187
- nullTextProps: TextProps;
188
- dataType: 'text' | 'int' | 'float' | 'email' | 'date' | 'phone' | 'zipcode';
189
- clone(dest?: DataEleBaseTextProps | null): DataEleBaseTextProps;
190
- getSerializeProps(options: ViewOptions): any;
191
- getBaseProps(props: NullableType<DataEleBaseTextProps>, options: ViewOptions): NullableType<DataEleBaseTextProps>;
192
- updateProps(props: DataEleBaseTextProps): void;
193
- }
194
- export interface DataEleListOption {
195
- code: string;
196
- value: string;
197
- }
198
- export declare class DataEleListProps extends DataEleBaseTextProps {
199
- constructor();
200
- options: Array<DataEleListOption>;
201
- dropDownStyle: 'DropDownList' | 'DropDown';
202
- /**
203
- * 是否允许多选
204
- */
205
- multiSelect: boolean;
206
- displayField: 'code' | 'value';
207
- clone(dest: DataEleListProps | null): DataEleListProps;
208
- getSerializeProps(options: ViewOptions): any;
209
- updateProps(props: DataEleListProps): void;
210
- }
211
- export declare class CommContentProps extends INotifyPropertyChanged {
212
- id: string;
213
- createId: string;
214
- createName: string;
215
- createDate: Date;
216
- text: string;
217
- clone(dest: CommContentProps): CommContentProps;
218
- getSerializeProps(viewOptions: ViewOptions): {
219
- id: string;
220
- text: string;
221
- };
222
- }
223
- export declare class CommProps extends INotifyPropertyChanged {
224
- id: string;
225
- markType: "start" | "end";
226
- text: string;
227
- userId: string;
228
- userName: string;
229
- date: string;
230
- clone(dest: CommProps): CommProps;
231
- getSerializeProps(viewOptions: ViewOptions): {
232
- id: string;
233
- markType: "start" | "end";
234
- text: string;
235
- userId: string;
236
- userName: string;
237
- date: string;
238
- };
239
- }
240
- export declare const trueChar = "\u2713";
241
- export declare const falseChar = "\u00D7";
242
- export declare class DataEleCheckProps extends DataEleBaseProps {
243
- constructor();
244
- border: boolean;
245
- size: number;
246
- checked: boolean;
247
- checkedValue: string;
248
- groupName: string;
249
- multiSelect: boolean;
250
- drawStateChar: boolean;
251
- trueChar: string;
252
- falseChar: string;
253
- trueStateColor: string;
254
- falseStateColor: string;
255
- style: 'CheckBox' | 'RadioButton';
256
- clone(dest: DataEleCheckProps | null): DataEleCheckProps;
257
- getSerializeProps(options: ViewOptions): any;
258
- updateProps(props: DataEleCheckProps): void;
259
- }
260
- export declare class DataEleImageProps extends DataEleBaseProps {
261
- constructor();
262
- width: number;
263
- height: number;
264
- src: string;
265
- border: 'all' | 'none';
266
- clone(dest: DataEleImageProps | null): DataEleImageProps;
267
- getSerializeProps(options: ViewOptions): any;
268
- updateProps(props: DataEleImageProps): void;
269
- }
270
- export declare class DataEleDateProps extends DataEleBaseTextProps {
271
- minValue?: Date;
272
- maxValue?: Date;
273
- format?: string;
274
- value: string;
275
- clone(dest: DataEleDateProps | null): DataEleDateProps;
276
- getSerializeProps(options: ViewOptions): any;
277
- updateProps(props: DataEleDateProps): void;
278
- }
279
- export declare class ValidateCondition {
280
- required: boolean;
281
- maxLength: number;
282
- dataType: 'string' | 'date' | 'time' | 'number' | 'float';
283
- }
284
- export declare class DataEleMHProps extends DataEleBaseProps {
285
- age: string;
286
- days: string;
287
- cycles: string;
288
- lastDate: string;
289
- closeAge: string;
290
- kind: string;
291
- clone(dest: DataEleMHProps | null): DataEleMHProps;
292
- getSerializeProps(options: ViewOptions): NullableType<DataEleMHProps>;
293
- }
294
- export declare class TrackRunProps {
295
- type: TrackRunTypeEnum;
296
- userId: string;
297
- userName: string;
298
- date: string;
299
- id: string;
300
- constructor(type: TrackRunTypeEnum);
301
- clone(dest: TrackRunProps | null): void;
302
- getSerializeProps(): NullableType<TrackRunProps>;
303
- }
304
- declare class FontMapStruct {
305
- fontMap: Map<string, string>;
306
- length: number;
307
- registerFontMap(name: string, keyName: string): void;
308
- getFontMap(name: string): string;
309
- }
310
- export declare const fontMapFunc: FontMapStruct;
311
- export declare class ValidateProps {
312
- id: string;
313
- title: string;
314
- msg: string;
315
- clone(dest: ValidateProps | null): ValidateProps;
316
- }
317
- export declare class DataElementGroupProps extends INotifyPropertyChanged {
318
- id: string;
319
- name: string;
320
- hidden: boolean;
321
- clone(dest: DataElementGroupProps | null): void;
322
- getSerializeProps(): NullableType<DataElementGroupProps>;
323
- }
324
- export declare class DataElementBarcodeProps {
325
- type: 'ena13' | 'code128' | 'code39' | 'qrcode';
326
- text: string;
327
- width: number;
328
- height: number;
329
- clone(dest: DataElementBarcodeProps | null): void;
330
- getSerializeProps(): {
331
- type: "ena13" | "code128" | "code39" | "qrcode";
332
- text: string;
333
- width: number;
334
- height: number;
335
- };
336
- }
337
- export declare class BodyPartProps extends INotifyPropertyChanged {
338
- partId: string;
339
- getSerializeProps(viewOptions: ViewOptions): any;
340
- }
341
- export interface SelectionEffectObject {
342
- selectionEleSets: Map<Element, SelectionContentRange>;
343
- commRangeSets: Map<Element, SelectionContentRange>;
344
- }
345
- export {};
1
+ import { Element, NullableType, OrientType, PaddingProps, SelectionContentRange, TextAlign, ViewOptions } from "./element-define";
2
+ import { TrackRunTypeEnum } from "./impl/text/track-run-impl";
3
+ export declare type TextVertAlign = 'superscript' | 'subscript';
4
+ export declare abstract class INotifyPropertyChanged {
5
+ abstract getSerializeProps(viewOptions: ViewOptions): any;
6
+ private __attachedProperty;
7
+ setProperty<T>(propertyName: string, value: T): void;
8
+ removeProperty(propertyName: string): void;
9
+ getProperty<T>(propertyName: string): T | null;
10
+ cloneAttachedProperty(dest: INotifyPropertyChanged): void;
11
+ }
12
+ export declare class TextProps extends INotifyPropertyChanged {
13
+ constructor();
14
+ color: string;
15
+ fontName: string;
16
+ fontSize: number;
17
+ fontWeight: 'normal' | 'bold';
18
+ fontStyle: 'normal' | 'italic';
19
+ underline: boolean;
20
+ overline: boolean;
21
+ linethrough: boolean;
22
+ background: string;
23
+ letterSpace: number;
24
+ /**
25
+ * 上标或者下标
26
+ */
27
+ vertAlign: TextVertAlign;
28
+ /**
29
+ * 字符边框
30
+ */
31
+ border: boolean;
32
+ clearCache(): void;
33
+ clone(source: TextProps | null): TextProps;
34
+ setPropsValue(source: TextProps, target: TextProps): void;
35
+ getSerializeProps(viewOptions: ViewOptions): any;
36
+ private __cacheFont;
37
+ getFont(): string;
38
+ equals(props: TextProps): boolean;
39
+ }
40
+ export declare enum ParagraphNumberType {
41
+ none = -1,
42
+ /**
43
+ * 无序列表
44
+ */
45
+ ul = 0,
46
+ /**
47
+ * 有序符号
48
+ */
49
+ ol = 1
50
+ }
51
+ export declare const defaultParaHanging = 30;
52
+ export declare class ParagraphProps extends INotifyPropertyChanged {
53
+ indent: number;
54
+ hanging: number;
55
+ lineHeight: number;
56
+ textAlign: TextAlign;
57
+ numberType: ParagraphNumberType;
58
+ marginTop: number;
59
+ marginBottom: number;
60
+ tabs: Array<number>;
61
+ clone(dest?: ParagraphProps | null): ParagraphProps;
62
+ getSerializeProps(viewOptions: ViewOptions): any;
63
+ }
64
+ export declare class DocumentProps extends INotifyPropertyChanged {
65
+ width: number;
66
+ height: number;
67
+ padding: PaddingProps;
68
+ headerLine: number;
69
+ footerLine: number;
70
+ orient: OrientType;
71
+ createUserId: string;
72
+ createUserName: string;
73
+ createDate: string;
74
+ scripts: string;
75
+ columns: number;
76
+ version: string;
77
+ clone(dest: DocumentProps): DocumentProps;
78
+ getSerializeProps(): any;
79
+ }
80
+ export declare class CheckBoxProps extends INotifyPropertyChanged {
81
+ size: number;
82
+ isChecked: boolean;
83
+ groupName: string | null;
84
+ trueChar: string;
85
+ falseChar: string;
86
+ clone(dest: CheckBoxProps): CheckBoxProps;
87
+ getSerializeProps(viewOptions: ViewOptions): {
88
+ size: number;
89
+ isChecked: boolean;
90
+ groupName: string | null;
91
+ };
92
+ }
93
+ export declare class RadioBoxProps extends INotifyPropertyChanged {
94
+ size: number;
95
+ isChecked: boolean;
96
+ clone(dest: RadioBoxProps): RadioBoxProps;
97
+ getSerializeProps(viewOptions: ViewOptions): {
98
+ size: number;
99
+ isCheced: boolean;
100
+ };
101
+ }
102
+ export declare class TableRowProps extends INotifyPropertyChanged {
103
+ minHeight: number;
104
+ headerRow: boolean;
105
+ clone(dest: TableRowProps): TableRowProps;
106
+ getSerializeProps(viewOptions: ViewOptions): any;
107
+ }
108
+ export declare type TableAlignment = 'start' | 'end' | 'center';
109
+ export declare class TableProps extends INotifyPropertyChanged {
110
+ id: string;
111
+ cols: Array<number>;
112
+ align: TableAlignment;
113
+ border: 'all' | 'none' | 'dashed';
114
+ allowBreakRow: boolean;
115
+ cellPadding: PaddingProps;
116
+ clone(dest: TableProps): TableProps;
117
+ getSerializeProps(viewOptions: ViewOptions): Partial<TableProps>;
118
+ }
119
+ export declare type CellMergeType = 'col-merge' | 'row-merge';
120
+ export declare type VMergeType = 'restart' | 'continue';
121
+ export declare type HMergeType = 'restart' | 'continue';
122
+ export declare type VerticalAlign = 'top' | 'middle' | 'bottom';
123
+ export declare type CellDiagonal = 'main' | 'sub' | 'all' | null;
124
+ export declare class TableCellProps extends INotifyPropertyChanged {
125
+ vMerge: VMergeType | null;
126
+ hMerge: HMergeType | null;
127
+ vAlign: VerticalAlign | null;
128
+ backgroundColor: string | null;
129
+ /**
130
+ * 对角线
131
+ */
132
+ diagonal: CellDiagonal;
133
+ clone(dest: TableCellProps): TableCellProps;
134
+ getSerializeProps(options: ViewOptions): any;
135
+ }
136
+ export declare class PictureProps extends INotifyPropertyChanged {
137
+ title: string;
138
+ width: number;
139
+ height: number;
140
+ src: string;
141
+ border: 'all' | 'none';
142
+ clone(dest: PictureProps): PictureProps;
143
+ getSerializeProps(viewOptions: ViewOptions): NullableType<PictureProps>;
144
+ }
145
+ export declare class SVGProps extends INotifyPropertyChanged {
146
+ title: string;
147
+ width: number;
148
+ height: number;
149
+ value: string;
150
+ clone(dest: SVGProps): SVGProps;
151
+ getSerializeProps(viewOptions: ViewOptions): NullableType<SVGProps>;
152
+ }
153
+ export declare class DataDecorateProps extends INotifyPropertyChanged {
154
+ content: string;
155
+ size: number;
156
+ clone(dest: DataDecorateProps): DataDecorateProps;
157
+ getSerializeProps(viewOptions: ViewOptions): {
158
+ size: number;
159
+ content: string;
160
+ };
161
+ }
162
+ export declare type DataEleTypes = 'text' | 'droplist' | 'date' | 'check' | 'img';
163
+ export declare class DataEleBaseProps extends INotifyPropertyChanged {
164
+ id: string;
165
+ name: string;
166
+ fieldName: string;
167
+ caption: string;
168
+ required: boolean;
169
+ printable: boolean;
170
+ secretBrowse: boolean;
171
+ editable: boolean;
172
+ deleteable: boolean;
173
+ minLength: number;
174
+ underline: boolean;
175
+ expression: string;
176
+ hidden: boolean;
177
+ cloneBaseProps(destProps: DataEleBaseProps): void;
178
+ private setPropValue;
179
+ updateProps(props: DataEleBaseProps): void;
180
+ getBaseProps(props: NullableType<DataEleBaseProps>, options: ViewOptions): NullableType<DataEleBaseProps>;
181
+ getSerializeProps(viewOptions: ViewOptions): void;
182
+ }
183
+ export declare class DataEleBaseTextProps extends DataEleBaseProps {
184
+ constructor();
185
+ valueTextProps: TextProps;
186
+ nullText: string;
187
+ nullTextProps: TextProps;
188
+ dataType: 'text' | 'int' | 'float' | 'email' | 'date' | 'phone' | 'zipcode';
189
+ clone(dest?: DataEleBaseTextProps | null): DataEleBaseTextProps;
190
+ getSerializeProps(options: ViewOptions): any;
191
+ getBaseProps(props: NullableType<DataEleBaseTextProps>, options: ViewOptions): NullableType<DataEleBaseTextProps>;
192
+ updateProps(props: DataEleBaseTextProps): void;
193
+ }
194
+ export interface DataEleListOption {
195
+ code: string;
196
+ value: string;
197
+ }
198
+ export declare class DataEleListProps extends DataEleBaseTextProps {
199
+ constructor();
200
+ options: Array<DataEleListOption>;
201
+ dropDownStyle: 'DropDownList' | 'DropDown';
202
+ /**
203
+ * 是否允许多选
204
+ */
205
+ multiSelect: boolean;
206
+ displayField: 'code' | 'value';
207
+ clone(dest: DataEleListProps | null): DataEleListProps;
208
+ getSerializeProps(options: ViewOptions): any;
209
+ updateProps(props: DataEleListProps): void;
210
+ }
211
+ export declare class CommContentProps extends INotifyPropertyChanged {
212
+ id: string;
213
+ createId: string;
214
+ createName: string;
215
+ createDate: Date;
216
+ text: string;
217
+ clone(dest: CommContentProps): CommContentProps;
218
+ getSerializeProps(viewOptions: ViewOptions): {
219
+ id: string;
220
+ text: string;
221
+ };
222
+ }
223
+ export declare class CommProps extends INotifyPropertyChanged {
224
+ id: string;
225
+ markType: "start" | "end";
226
+ text: string;
227
+ userId: string;
228
+ userName: string;
229
+ date: string;
230
+ clone(dest: CommProps): CommProps;
231
+ getSerializeProps(viewOptions: ViewOptions): {
232
+ id: string;
233
+ markType: "start" | "end";
234
+ text: string;
235
+ userId: string;
236
+ userName: string;
237
+ date: string;
238
+ };
239
+ }
240
+ export declare const trueChar = "\u2713";
241
+ export declare const falseChar = "\u00D7";
242
+ export declare class DataEleCheckProps extends DataEleBaseProps {
243
+ constructor();
244
+ border: boolean;
245
+ size: number;
246
+ checked: boolean;
247
+ checkedValue: string;
248
+ groupName: string;
249
+ multiSelect: boolean;
250
+ drawStateChar: boolean;
251
+ trueChar: string;
252
+ falseChar: string;
253
+ trueStateColor: string;
254
+ falseStateColor: string;
255
+ style: 'CheckBox' | 'RadioButton';
256
+ clone(dest: DataEleCheckProps | null): DataEleCheckProps;
257
+ getSerializeProps(options: ViewOptions): any;
258
+ updateProps(props: DataEleCheckProps): void;
259
+ }
260
+ export declare class DataEleImageProps extends DataEleBaseProps {
261
+ constructor();
262
+ width: number;
263
+ height: number;
264
+ src: string;
265
+ border: 'all' | 'none';
266
+ clone(dest: DataEleImageProps | null): DataEleImageProps;
267
+ getSerializeProps(options: ViewOptions): any;
268
+ updateProps(props: DataEleImageProps): void;
269
+ }
270
+ export declare class DataEleDateProps extends DataEleBaseTextProps {
271
+ minValue?: Date;
272
+ maxValue?: Date;
273
+ format?: string;
274
+ value: string;
275
+ clone(dest: DataEleDateProps | null): DataEleDateProps;
276
+ getSerializeProps(options: ViewOptions): any;
277
+ updateProps(props: DataEleDateProps): void;
278
+ }
279
+ export declare class ValidateCondition {
280
+ required: boolean;
281
+ maxLength: number;
282
+ dataType: 'string' | 'date' | 'time' | 'number' | 'float';
283
+ }
284
+ export declare class DataEleMHProps extends DataEleBaseProps {
285
+ age: string;
286
+ days: string;
287
+ cycles: string;
288
+ lastDate: string;
289
+ closeAge: string;
290
+ kind: string;
291
+ clone(dest: DataEleMHProps | null): DataEleMHProps;
292
+ getSerializeProps(options: ViewOptions): NullableType<DataEleMHProps>;
293
+ }
294
+ export declare class TrackRunProps {
295
+ type: TrackRunTypeEnum;
296
+ userId: string;
297
+ userName: string;
298
+ date: string;
299
+ id: string;
300
+ constructor(type: TrackRunTypeEnum);
301
+ clone(dest: TrackRunProps | null): void;
302
+ getSerializeProps(): NullableType<TrackRunProps>;
303
+ }
304
+ declare class FontMapStruct {
305
+ fontMap: Map<string, string>;
306
+ length: number;
307
+ registerFontMap(name: string, keyName: string): void;
308
+ getFontMap(name: string): string;
309
+ }
310
+ export declare const fontMapFunc: FontMapStruct;
311
+ export declare class ValidateProps {
312
+ id: string;
313
+ title: string;
314
+ msg: string;
315
+ clone(dest: ValidateProps | null): ValidateProps;
316
+ }
317
+ export declare class DataElementGroupProps extends INotifyPropertyChanged {
318
+ id: string;
319
+ name: string;
320
+ hidden: boolean;
321
+ clone(dest: DataElementGroupProps | null): void;
322
+ getSerializeProps(): NullableType<DataElementGroupProps>;
323
+ }
324
+ export declare class DataElementBarcodeProps {
325
+ type: 'ena13' | 'code128' | 'code39' | 'qrcode';
326
+ text: string;
327
+ width: number;
328
+ height: number;
329
+ clone(dest: DataElementBarcodeProps | null): void;
330
+ getSerializeProps(): {
331
+ type: "ena13" | "code128" | "code39" | "qrcode";
332
+ text: string;
333
+ width: number;
334
+ height: number;
335
+ };
336
+ }
337
+ export declare class BodyPartProps extends INotifyPropertyChanged {
338
+ partId: string;
339
+ getSerializeProps(viewOptions: ViewOptions): any;
340
+ }
341
+ export interface SelectionEffectObject {
342
+ selectionEleSets: Map<Element, SelectionContentRange>;
343
+ commRangeSets: Map<Element, SelectionContentRange>;
344
+ }
345
+ export {};