amis-editor 5.1.8 → 5.1.9
Sign up to get free protection for your applications and to get access to all the features.
- package/dist/component/{control → Control}/APIControl.d.ts +0 -0
- package/dist/component/{control → Control}/ActionAPIControl.d.ts +0 -0
- package/dist/component/{control → Control}/BadgeControl.d.ts +0 -0
- package/dist/component/{control → Control}/BaseControl.d.ts +0 -0
- package/dist/component/{control → Control}/DataBindingControl.d.ts +0 -0
- package/dist/component/{control → Control}/DataPickerControl.d.ts +0 -0
- package/dist/component/{control → Control}/DateShortCutControl.d.ts +0 -0
- package/dist/component/{control → Control}/FormulaControl.d.ts +0 -0
- package/dist/component/{control → Control}/OptionControl.d.ts +0 -0
- package/dist/component/{control → Control}/PopoverEdit.d.ts +0 -0
- package/dist/component/{control → Control}/StatusControl.d.ts +0 -0
- package/dist/component/{control → Control}/SwitchMoreControl.d.ts +0 -0
- package/dist/component/{control → Control}/ValidationControl.d.ts +0 -0
- package/dist/component/{control → Control}/ValidationItem.d.ts +0 -0
- package/dist/component/{control → Control}/style-control/Background.d.ts +0 -0
- package/dist/component/{control → Control}/style-control/Border.d.ts +0 -0
- package/dist/component/{control → Control}/style-control/BoxModel.d.ts +0 -0
- package/dist/component/{control → Control}/style-control/BoxShadow.d.ts +0 -0
- package/dist/component/{control → Control}/style-control/Display.d.ts +0 -0
- package/dist/component/{control → Control}/style-control/Font.d.ts +0 -0
- package/dist/component/{control → Control}/style-control/font-family.d.ts +0 -0
- package/dist/component/{control → Control}/style-control/transformation.d.ts +0 -0
- package/dist/component/{control → Control}/style-control/types.d.ts +0 -0
- package/dist/component/remarkTpl.d.ts +150 -0
- package/dist/exports.min.js +1 -1
- package/dist/index.min.js +1 -1
- package/dist/store/editor.d.ts +11 -11
- package/dist/style.css +1 -1
- package/dist/util.d.ts +1 -1
- package/package.json +1 -1
- package/src/plugin/.DS_Store +0 -0
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
File without changes
|
@@ -0,0 +1,150 @@
|
|
1
|
+
/**
|
2
|
+
* @description 信息提示组件模版
|
3
|
+
* @file src/component/remarkTpl.tsx
|
4
|
+
* @author hanxiao11@baidu.com
|
5
|
+
*/
|
6
|
+
export default function remarkTpl(config: {
|
7
|
+
name: 'remark' | 'labelRemark';
|
8
|
+
label: string;
|
9
|
+
}): {
|
10
|
+
type: string;
|
11
|
+
label: string;
|
12
|
+
mode: string;
|
13
|
+
className: string;
|
14
|
+
labelRemark: {
|
15
|
+
icon: string;
|
16
|
+
trigger: string[];
|
17
|
+
setting: boolean;
|
18
|
+
title: string;
|
19
|
+
content: string;
|
20
|
+
placement: string;
|
21
|
+
};
|
22
|
+
body: {
|
23
|
+
type: string;
|
24
|
+
className: string;
|
25
|
+
body: ({
|
26
|
+
type: string;
|
27
|
+
name: "remark" | "labelRemark";
|
28
|
+
label: string;
|
29
|
+
btnLabel: string;
|
30
|
+
visibleOn: string;
|
31
|
+
className: string;
|
32
|
+
itemClassName: string;
|
33
|
+
icon: string;
|
34
|
+
form: {
|
35
|
+
title: string;
|
36
|
+
mode: string;
|
37
|
+
size: string;
|
38
|
+
body: {
|
39
|
+
type: string;
|
40
|
+
columns: ({
|
41
|
+
md: string;
|
42
|
+
body: ({
|
43
|
+
name: string;
|
44
|
+
type: string;
|
45
|
+
label: string;
|
46
|
+
placeholder: string;
|
47
|
+
} | {
|
48
|
+
name: string;
|
49
|
+
type: string;
|
50
|
+
label: string;
|
51
|
+
placeholder?: undefined;
|
52
|
+
})[];
|
53
|
+
} | {
|
54
|
+
md: string;
|
55
|
+
body: ({
|
56
|
+
name: string;
|
57
|
+
type: string;
|
58
|
+
size: string;
|
59
|
+
label: string;
|
60
|
+
options: {
|
61
|
+
label: string;
|
62
|
+
value: string;
|
63
|
+
}[];
|
64
|
+
labelRemark?: undefined;
|
65
|
+
multiple?: undefined;
|
66
|
+
pipeIn?: undefined;
|
67
|
+
pipeOut?: undefined;
|
68
|
+
visibleOn?: undefined;
|
69
|
+
} | {
|
70
|
+
name: string;
|
71
|
+
label: string;
|
72
|
+
type: string;
|
73
|
+
size?: undefined;
|
74
|
+
options?: undefined;
|
75
|
+
labelRemark?: undefined;
|
76
|
+
multiple?: undefined;
|
77
|
+
pipeIn?: undefined;
|
78
|
+
pipeOut?: undefined;
|
79
|
+
visibleOn?: undefined;
|
80
|
+
} | {
|
81
|
+
name: string;
|
82
|
+
label: string;
|
83
|
+
type: string;
|
84
|
+
labelRemark: {
|
85
|
+
trigger: string;
|
86
|
+
className: string;
|
87
|
+
rootClose: boolean;
|
88
|
+
content: string;
|
89
|
+
placement: string;
|
90
|
+
};
|
91
|
+
size?: undefined;
|
92
|
+
options?: undefined;
|
93
|
+
multiple?: undefined;
|
94
|
+
pipeIn?: undefined;
|
95
|
+
pipeOut?: undefined;
|
96
|
+
visibleOn?: undefined;
|
97
|
+
} | {
|
98
|
+
name: string;
|
99
|
+
type: string;
|
100
|
+
label: string;
|
101
|
+
multiple: boolean;
|
102
|
+
pipeIn: (value: any) => string | never[];
|
103
|
+
pipeOut: (value: any) => any;
|
104
|
+
options: {
|
105
|
+
label: string;
|
106
|
+
value: string;
|
107
|
+
}[];
|
108
|
+
size?: undefined;
|
109
|
+
labelRemark?: undefined;
|
110
|
+
visibleOn?: undefined;
|
111
|
+
} | {
|
112
|
+
name: string;
|
113
|
+
visibleOn: string;
|
114
|
+
label: string;
|
115
|
+
type: string;
|
116
|
+
size?: undefined;
|
117
|
+
options?: undefined;
|
118
|
+
labelRemark?: undefined;
|
119
|
+
multiple?: undefined;
|
120
|
+
pipeIn?: undefined;
|
121
|
+
pipeOut?: undefined;
|
122
|
+
})[];
|
123
|
+
})[];
|
124
|
+
};
|
125
|
+
};
|
126
|
+
mode?: undefined;
|
127
|
+
pipeIn?: undefined;
|
128
|
+
pipeOut?: undefined;
|
129
|
+
} | {
|
130
|
+
type: string;
|
131
|
+
name: "remark" | "labelRemark";
|
132
|
+
mode: string;
|
133
|
+
pipeIn: (value: any) => boolean;
|
134
|
+
pipeOut: (value: any) => {
|
135
|
+
icon: string;
|
136
|
+
trigger: string[];
|
137
|
+
className: string;
|
138
|
+
setting: boolean;
|
139
|
+
placement: string;
|
140
|
+
} | null;
|
141
|
+
label?: undefined;
|
142
|
+
btnLabel?: undefined;
|
143
|
+
visibleOn?: undefined;
|
144
|
+
className?: undefined;
|
145
|
+
itemClassName?: undefined;
|
146
|
+
icon?: undefined;
|
147
|
+
form?: undefined;
|
148
|
+
})[];
|
149
|
+
}[];
|
150
|
+
};
|