form-driver 0.1.14 → 0.1.15
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/package.json
CHANGED
package/src/framework/Schema.ts
CHANGED
|
@@ -242,6 +242,8 @@ export interface MFieldSchema {
|
|
|
242
242
|
decoration?: {
|
|
243
243
|
subType?: "rich" | "segmentLabel" | "submitBar" | "operations", // 子类型
|
|
244
244
|
HTML?: string, // html片段
|
|
245
|
+
more?: boolean, // 是否显示更多
|
|
246
|
+
HMTL2?: string, // 更多的 html片段
|
|
245
247
|
submitLabel?: string, // 提交按钮
|
|
246
248
|
segmentLabel?: string, // 分段标题
|
|
247
249
|
operations?: { label: React.ReactNode, handler: (data) => void }[] // 操作
|
|
@@ -1,4 +1,11 @@
|
|
|
1
|
-
import {
|
|
2
|
-
|
|
1
|
+
import { Viewer, ViewerState } from 'form-driver';
|
|
2
|
+
import './RichViewer.less';
|
|
3
|
+
interface State extends ViewerState {
|
|
4
|
+
isShow: boolean;
|
|
5
|
+
}
|
|
6
|
+
export declare class RichViewer extends Viewer<State> {
|
|
7
|
+
private options;
|
|
8
|
+
constructor(p: any);
|
|
3
9
|
element(): JSX.Element;
|
|
4
10
|
}
|
|
11
|
+
export {};
|