@houaoran/designer 1.0.0
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/LICENSE +21 -0
- package/README.md +98 -0
- package/dist/components.es.js +11424 -0
- package/dist/components.umd.js +878 -0
- package/dist/index.es.js +39113 -0
- package/dist/index.umd.js +1187 -0
- package/package.json +96 -0
- package/src/components/DragBox.vue +49 -0
- package/src/components/DragTool.vue +235 -0
- package/src/components/EventConfig.vue +557 -0
- package/src/components/FcDesigner.vue +2569 -0
- package/src/components/FcTitle.vue +69 -0
- package/src/components/FetchConfig.vue +415 -0
- package/src/components/FieldInput.vue +371 -0
- package/src/components/FnConfig.vue +315 -0
- package/src/components/FnEditor.vue +327 -0
- package/src/components/FnInput.vue +103 -0
- package/src/components/FormLabel.vue +47 -0
- package/src/components/HtmlEditor.vue +125 -0
- package/src/components/JsonPreview.vue +146 -0
- package/src/components/OptionsTextInput.vue +151 -0
- package/src/components/PropsInput.vue +72 -0
- package/src/components/Required.vue +75 -0
- package/src/components/Row.vue +26 -0
- package/src/components/SignaturePad.vue +176 -0
- package/src/components/Struct.vue +153 -0
- package/src/components/StructEditor.vue +121 -0
- package/src/components/StructTree.vue +209 -0
- package/src/components/TableOptions.vue +164 -0
- package/src/components/TreeOptions.vue +167 -0
- package/src/components/TypeSelect.vue +144 -0
- package/src/components/Validate.vue +302 -0
- package/src/components/ValueInput.vue +89 -0
- package/src/components/Warning.vue +46 -0
- package/src/components/ai/AiPanel.vue +1122 -0
- package/src/components/ai/MarkdownRenderer.vue +548 -0
- package/src/components/language/LanguageConfig.vue +174 -0
- package/src/components/language/LanguageInput.vue +191 -0
- package/src/components/style/BackgroundInput.vue +315 -0
- package/src/components/style/BorderInput.vue +242 -0
- package/src/components/style/BoxSizeInput.vue +166 -0
- package/src/components/style/BoxSpaceInput.vue +269 -0
- package/src/components/style/ColorInput.vue +90 -0
- package/src/components/style/ConfigItem.vue +118 -0
- package/src/components/style/FontInput.vue +197 -0
- package/src/components/style/PositionInput.vue +146 -0
- package/src/components/style/RadiusInput.vue +164 -0
- package/src/components/style/ShadowContent.vue +335 -0
- package/src/components/style/ShadowInput.vue +91 -0
- package/src/components/style/SizeInput.vue +118 -0
- package/src/components/style/StyleConfig.vue +307 -0
- package/src/components/table/Table.vue +252 -0
- package/src/components/table/TableView.vue +1058 -0
- package/src/components/tableForm/TableForm.vue +471 -0
- package/src/components/tableForm/TableFormColumnView.vue +103 -0
- package/src/components/tableForm/TableFormView.vue +46 -0
- package/src/components/tree/FcTree.vue +713 -0
- package/src/components/tree/FcTreeNode.vue +216 -0
- package/src/config/base/field.js +43 -0
- package/src/config/base/form.js +132 -0
- package/src/config/base/style.js +26 -0
- package/src/config/base/validate.js +15 -0
- package/src/config/index.js +70 -0
- package/src/config/menu.js +24 -0
- package/src/config/rule/alert.js +45 -0
- package/src/config/rule/button.js +49 -0
- package/src/config/rule/card.js +40 -0
- package/src/config/rule/cascader.js +121 -0
- package/src/config/rule/checkbox.js +68 -0
- package/src/config/rule/col.js +86 -0
- package/src/config/rule/collapse.js +30 -0
- package/src/config/rule/collapseItem.js +36 -0
- package/src/config/rule/color.js +53 -0
- package/src/config/rule/date.js +66 -0
- package/src/config/rule/dateRange.js +60 -0
- package/src/config/rule/divider.js +31 -0
- package/src/config/rule/editor.js +31 -0
- package/src/config/rule/group.js +86 -0
- package/src/config/rule/html.js +43 -0
- package/src/config/rule/image.js +32 -0
- package/src/config/rule/input.js +62 -0
- package/src/config/rule/number.js +49 -0
- package/src/config/rule/password.js +52 -0
- package/src/config/rule/radio.js +43 -0
- package/src/config/rule/rate.js +44 -0
- package/src/config/rule/row.js +46 -0
- package/src/config/rule/select.js +70 -0
- package/src/config/rule/signaturePad.js +59 -0
- package/src/config/rule/slider.js +53 -0
- package/src/config/rule/space.js +44 -0
- package/src/config/rule/subForm.js +47 -0
- package/src/config/rule/switch.js +46 -0
- package/src/config/rule/tabPane.js +29 -0
- package/src/config/rule/table.js +37 -0
- package/src/config/rule/tableForm.js +115 -0
- package/src/config/rule/tableFormColumn.js +55 -0
- package/src/config/rule/tabs.js +38 -0
- package/src/config/rule/tag.js +69 -0
- package/src/config/rule/text.js +41 -0
- package/src/config/rule/textarea.js +63 -0
- package/src/config/rule/time.js +58 -0
- package/src/config/rule/timeRange.js +49 -0
- package/src/config/rule/title.js +37 -0
- package/src/config/rule/transfer.js +59 -0
- package/src/config/rule/tree.js +70 -0
- package/src/config/rule/treeSelect.js +77 -0
- package/src/config/rule/upload.js +107 -0
- package/src/form/index.js +19 -0
- package/src/index.js +173 -0
- package/src/locale/en.js +981 -0
- package/src/locale/zh-cn.js +983 -0
- package/src/style/fonts/fc-icons.woff +0 -0
- package/src/style/icon.css +1052 -0
- package/src/style/index.css +836 -0
- package/src/utils/form.js +9 -0
- package/src/utils/highlight/highlight.min.js +307 -0
- package/src/utils/highlight/javascript.min.js +80 -0
- package/src/utils/highlight/style.css +1 -0
- package/src/utils/highlight/xml.min.js +29 -0
- package/src/utils/hintStubs.js +120 -0
- package/src/utils/index.js +544 -0
- package/src/utils/jsonDiff.js +173 -0
- package/src/utils/locale.js +23 -0
- package/src/utils/message.js +19 -0
- package/src/utils/template.js +105 -0
- package/types/index.d.ts +575 -0
|
@@ -0,0 +1,836 @@
|
|
|
1
|
+
._fc-designer {
|
|
2
|
+
height: 100%;
|
|
3
|
+
min-height: 500px;
|
|
4
|
+
overflow: hidden;
|
|
5
|
+
cursor: default;
|
|
6
|
+
position: relative;
|
|
7
|
+
background-color: #FFF;
|
|
8
|
+
--fc-drag-empty: "拖拽左侧列表中的组件到此处";
|
|
9
|
+
--fc-child-empty: "点击右下角 \e789 按钮添加一列";
|
|
10
|
+
--fc-tool-border-color: #2E73FF;
|
|
11
|
+
}
|
|
12
|
+
|
|
13
|
+
._fc-designer .CodeMirror-placeholder,
|
|
14
|
+
._fd-fn .CodeMirror-placeholder,
|
|
15
|
+
._fd-config-dialog .CodeMirror-placeholder {
|
|
16
|
+
color: #aaaaaa !important;
|
|
17
|
+
}
|
|
18
|
+
|
|
19
|
+
|
|
20
|
+
._fc-designer .CodeMirror-gutters, ._fd-fn .CodeMirror-gutters, ._fd-config-dialog .CodeMirror-gutters {
|
|
21
|
+
background-color: #ECECEC;
|
|
22
|
+
border-right-color: #D9D9D9;
|
|
23
|
+
}
|
|
24
|
+
|
|
25
|
+
._fc-designer .CodeMirror-scroll, ._fd-fn .CodeMirror-scroll, ._fd-config-dialog .CodeMirror-scroll {
|
|
26
|
+
background-color: #F5F5F5;
|
|
27
|
+
color: #262626;
|
|
28
|
+
caret-color: #262626;
|
|
29
|
+
}
|
|
30
|
+
|
|
31
|
+
._fc-designer > .el-main {
|
|
32
|
+
position: absolute;
|
|
33
|
+
top: 0;
|
|
34
|
+
bottom: 0;
|
|
35
|
+
left: 0;
|
|
36
|
+
right: 0;
|
|
37
|
+
padding: 0;
|
|
38
|
+
}
|
|
39
|
+
|
|
40
|
+
._fc-l-menu {
|
|
41
|
+
display: flex;
|
|
42
|
+
flex-direction: column;
|
|
43
|
+
align-items: center;
|
|
44
|
+
border-top: 1px solid #ECECEC;
|
|
45
|
+
border-right: 1px solid #ECECEC;
|
|
46
|
+
}
|
|
47
|
+
|
|
48
|
+
._fc-l-menu-item {
|
|
49
|
+
display: flex;
|
|
50
|
+
width: 100%;
|
|
51
|
+
align-items: center;
|
|
52
|
+
justify-content: center;
|
|
53
|
+
height: 40px;
|
|
54
|
+
cursor: pointer;
|
|
55
|
+
box-sizing: border-box;
|
|
56
|
+
}
|
|
57
|
+
|
|
58
|
+
._fc-l-menu-item.active {
|
|
59
|
+
color: #2E73FF;
|
|
60
|
+
}
|
|
61
|
+
|
|
62
|
+
._fc-l-menu-form {
|
|
63
|
+
border-bottom: 1px solid #ECECEC;
|
|
64
|
+
}
|
|
65
|
+
|
|
66
|
+
._fc-l-menu-item i {
|
|
67
|
+
font-size: 22px;
|
|
68
|
+
}
|
|
69
|
+
|
|
70
|
+
._fc-l-menu-item i:hover {
|
|
71
|
+
color: #2E73FF;
|
|
72
|
+
}
|
|
73
|
+
|
|
74
|
+
._fc-l-menu-item .el-badge__content {
|
|
75
|
+
--el-badge-size: 15px;
|
|
76
|
+
--el-badge-padding: 4px;
|
|
77
|
+
background-color: #2E73FF;
|
|
78
|
+
}
|
|
79
|
+
|
|
80
|
+
._fc-l-label {
|
|
81
|
+
font-weight: 500;
|
|
82
|
+
font-size: 14px;
|
|
83
|
+
color: #262626;
|
|
84
|
+
line-height: 17px;
|
|
85
|
+
padding: 12px;
|
|
86
|
+
margin-top: 5px;
|
|
87
|
+
}
|
|
88
|
+
|
|
89
|
+
._fc-l-info {
|
|
90
|
+
font-weight: 400;
|
|
91
|
+
font-size: 12px;
|
|
92
|
+
color: #AAAAAA;
|
|
93
|
+
line-height: 17px;
|
|
94
|
+
text-align: left;
|
|
95
|
+
font-style: normal;
|
|
96
|
+
padding: 0 12px;
|
|
97
|
+
}
|
|
98
|
+
|
|
99
|
+
._fc-l > .el-container {
|
|
100
|
+
height: 100%;
|
|
101
|
+
}
|
|
102
|
+
|
|
103
|
+
._fc-m .form-create ._fc-l-item {
|
|
104
|
+
display: flex !important;
|
|
105
|
+
align-items: center;
|
|
106
|
+
justify-content: center;
|
|
107
|
+
background: #f5f5f5;
|
|
108
|
+
color: #000;
|
|
109
|
+
width: 100%;
|
|
110
|
+
margin: 5px 0;
|
|
111
|
+
height: 30px;
|
|
112
|
+
overflow: hidden;
|
|
113
|
+
transition: all .3s ease;
|
|
114
|
+
border: 1px dashed #000;
|
|
115
|
+
border-radius: 4px;
|
|
116
|
+
padding-bottom: 0;
|
|
117
|
+
}
|
|
118
|
+
|
|
119
|
+
._fc-m .form-create ._fc-l-item ._fc-l-icon {
|
|
120
|
+
display: inline-block !important;
|
|
121
|
+
padding: 0 4px;
|
|
122
|
+
}
|
|
123
|
+
|
|
124
|
+
._fc-m .form-create ._fc-l-item ._fc-l-name {
|
|
125
|
+
display: inline-block !important;
|
|
126
|
+
font-size: 12px;
|
|
127
|
+
}
|
|
128
|
+
|
|
129
|
+
._fc-l, ._fc-m, ._fc-r {
|
|
130
|
+
border-top: 1px solid #ECECEC;
|
|
131
|
+
box-sizing: border-box;
|
|
132
|
+
overflow: unset;
|
|
133
|
+
position: relative;
|
|
134
|
+
background-color: #FFFFFF;
|
|
135
|
+
}
|
|
136
|
+
|
|
137
|
+
._fc-l-close, ._fc-r-close, ._fc-l-open, ._fc-r-open {
|
|
138
|
+
position: absolute;
|
|
139
|
+
display: flex;
|
|
140
|
+
align-items: center;
|
|
141
|
+
justify-content: center;
|
|
142
|
+
width: 12px;
|
|
143
|
+
height: 46px;
|
|
144
|
+
top: 50%;
|
|
145
|
+
right: -12px;
|
|
146
|
+
cursor: pointer;
|
|
147
|
+
background: #FFFFFF;
|
|
148
|
+
z-index: 1;
|
|
149
|
+
border-radius: 0 5px 5px 0;
|
|
150
|
+
}
|
|
151
|
+
|
|
152
|
+
._fc-l-open {
|
|
153
|
+
left: 0;
|
|
154
|
+
right: unset;
|
|
155
|
+
}
|
|
156
|
+
|
|
157
|
+
._fc-r-close {
|
|
158
|
+
left: -12px;
|
|
159
|
+
right: unset;
|
|
160
|
+
border-radius: 5px 0 0 5px;
|
|
161
|
+
}
|
|
162
|
+
|
|
163
|
+
._fc-r-open {
|
|
164
|
+
right: 0;
|
|
165
|
+
border-radius: 5px 0 0 5px;
|
|
166
|
+
}
|
|
167
|
+
|
|
168
|
+
._fc-l-close > i, ._fc-r-open > i {
|
|
169
|
+
display: block;
|
|
170
|
+
transform: rotate(-90deg);
|
|
171
|
+
font-size: 9px;
|
|
172
|
+
}
|
|
173
|
+
|
|
174
|
+
._fc-r-close > i, ._fc-l-open > i {
|
|
175
|
+
display: block;
|
|
176
|
+
transform: rotate(90deg);
|
|
177
|
+
font-size: 9px;
|
|
178
|
+
}
|
|
179
|
+
|
|
180
|
+
._fc-r {
|
|
181
|
+
--el-color-primary: #2E73FF;
|
|
182
|
+
}
|
|
183
|
+
|
|
184
|
+
._fc-r-tab-props {
|
|
185
|
+
padding: 0 20px;
|
|
186
|
+
position: relative;
|
|
187
|
+
}
|
|
188
|
+
|
|
189
|
+
._fc-r-tools-close {
|
|
190
|
+
position: absolute;
|
|
191
|
+
right: 24px;
|
|
192
|
+
top: 12px;
|
|
193
|
+
transform: rotate(45deg);
|
|
194
|
+
color: #666666;
|
|
195
|
+
cursor: pointer;
|
|
196
|
+
}
|
|
197
|
+
|
|
198
|
+
._fc-r-title {
|
|
199
|
+
font-size: 12px;
|
|
200
|
+
color: #333333;
|
|
201
|
+
margin: 15px 0 5px 0;
|
|
202
|
+
}
|
|
203
|
+
|
|
204
|
+
._fc-r-sub ._fc-r-title {
|
|
205
|
+
display: flex;
|
|
206
|
+
align-items: center;
|
|
207
|
+
justify-content: space-between;
|
|
208
|
+
}
|
|
209
|
+
|
|
210
|
+
._fc-r-sub .fc-icon {
|
|
211
|
+
cursor: pointer;
|
|
212
|
+
}
|
|
213
|
+
|
|
214
|
+
._fc-r-sub ._fd-config-item + ._fd-config-item {
|
|
215
|
+
margin-top: 8px;
|
|
216
|
+
}
|
|
217
|
+
|
|
218
|
+
._fc-r-sub > ._fd-config-item > ._fd-ci-head {
|
|
219
|
+
position: relative;
|
|
220
|
+
padding-left: 8px;
|
|
221
|
+
}
|
|
222
|
+
|
|
223
|
+
._fc-r-sub > ._fd-config-item > ._fd-ci-head:before {
|
|
224
|
+
content: ' ';
|
|
225
|
+
position: absolute;
|
|
226
|
+
width: 5px;
|
|
227
|
+
height: 5px;
|
|
228
|
+
background-color: #333;
|
|
229
|
+
border-radius: 25px;
|
|
230
|
+
left: 0;
|
|
231
|
+
}
|
|
232
|
+
|
|
233
|
+
._fc-r-config {
|
|
234
|
+
display: grid;
|
|
235
|
+
grid-template-columns: 280px;
|
|
236
|
+
grid-template-areas: "base" "props" "style" "event" "validate";
|
|
237
|
+
}
|
|
238
|
+
|
|
239
|
+
._fc-r-name-input .el-input-group__append {
|
|
240
|
+
width: 25px;
|
|
241
|
+
padding: 0;
|
|
242
|
+
margin: 0;
|
|
243
|
+
color: #606266;
|
|
244
|
+
cursor: pointer;
|
|
245
|
+
}
|
|
246
|
+
|
|
247
|
+
._fc-r-name-input .icon-group {
|
|
248
|
+
cursor: pointer
|
|
249
|
+
}
|
|
250
|
+
|
|
251
|
+
._fc-r-name-input .icon-group:hover {
|
|
252
|
+
color: #2E73FF;
|
|
253
|
+
}
|
|
254
|
+
|
|
255
|
+
._fc-r-tab-props > ._fd-config-item{
|
|
256
|
+
margin-top: 15px;
|
|
257
|
+
}
|
|
258
|
+
|
|
259
|
+
._fc-r .el-main {
|
|
260
|
+
padding-bottom: 100px;
|
|
261
|
+
}
|
|
262
|
+
|
|
263
|
+
._fc-l .el-main {
|
|
264
|
+
padding: 0;
|
|
265
|
+
}
|
|
266
|
+
|
|
267
|
+
._fc-l .el-tree-node__label {
|
|
268
|
+
padding: 3px;
|
|
269
|
+
font-weight: 400;
|
|
270
|
+
color: #333;
|
|
271
|
+
}
|
|
272
|
+
|
|
273
|
+
._fc-l .el-tree-node__content {
|
|
274
|
+
height: 30px;
|
|
275
|
+
margin-top: 5px;
|
|
276
|
+
}
|
|
277
|
+
|
|
278
|
+
._fc-l .el-tree-node__content > .el-tree-node__expand-icon {
|
|
279
|
+
color: #333;
|
|
280
|
+
}
|
|
281
|
+
|
|
282
|
+
._fc-l .el-tree-node__expand-icon.is-leaf {
|
|
283
|
+
color: transparent;
|
|
284
|
+
}
|
|
285
|
+
|
|
286
|
+
@keyframes rotating {
|
|
287
|
+
0% {
|
|
288
|
+
transform: rotate(0)
|
|
289
|
+
}
|
|
290
|
+
|
|
291
|
+
to {
|
|
292
|
+
transform: rotate(360deg)
|
|
293
|
+
}
|
|
294
|
+
}
|
|
295
|
+
|
|
296
|
+
._fc-loading {
|
|
297
|
+
animation: rotating 2s linear infinite;
|
|
298
|
+
}
|
|
299
|
+
|
|
300
|
+
._fc-tree-node {
|
|
301
|
+
display: flex;
|
|
302
|
+
align-items: center;
|
|
303
|
+
justify-content: space-between;
|
|
304
|
+
width: 100%;
|
|
305
|
+
height: 26px;
|
|
306
|
+
line-height: 26px;
|
|
307
|
+
padding-right: 5px
|
|
308
|
+
}
|
|
309
|
+
|
|
310
|
+
._fc-tree-node.active, ._fc-tree-node.active .icon-more {
|
|
311
|
+
color: #2E73FF;
|
|
312
|
+
}
|
|
313
|
+
|
|
314
|
+
._fc-tree-label {
|
|
315
|
+
display: flex;
|
|
316
|
+
align-items: center;
|
|
317
|
+
min-width: 0;
|
|
318
|
+
}
|
|
319
|
+
|
|
320
|
+
._fc-tree-label > span {
|
|
321
|
+
white-space: nowrap;
|
|
322
|
+
overflow: hidden;
|
|
323
|
+
text-overflow: ellipsis;
|
|
324
|
+
}
|
|
325
|
+
|
|
326
|
+
._fc-tree-label > i {
|
|
327
|
+
margin-right: 5px;
|
|
328
|
+
font-weight: 400;
|
|
329
|
+
}
|
|
330
|
+
|
|
331
|
+
._fc-tree-more {
|
|
332
|
+
display: flex;
|
|
333
|
+
align-items: center;
|
|
334
|
+
padding: 0 15px;
|
|
335
|
+
font-weight: 700;
|
|
336
|
+
}
|
|
337
|
+
|
|
338
|
+
._fc-l-tabs {
|
|
339
|
+
display: flex;
|
|
340
|
+
border-bottom: 1px solid #ECECEC;
|
|
341
|
+
padding: 0;
|
|
342
|
+
position: relative;
|
|
343
|
+
}
|
|
344
|
+
|
|
345
|
+
._fc-l-tab {
|
|
346
|
+
height: 40px;
|
|
347
|
+
box-sizing: border-box;
|
|
348
|
+
line-height: 40px;
|
|
349
|
+
display: inline-block;
|
|
350
|
+
list-style: none;
|
|
351
|
+
font-size: 14px;
|
|
352
|
+
font-weight: 600;
|
|
353
|
+
color: #303133;
|
|
354
|
+
position: relative;
|
|
355
|
+
flex: 1;
|
|
356
|
+
text-align: center;
|
|
357
|
+
}
|
|
358
|
+
|
|
359
|
+
._fc-l ._fc-l-tab.active {
|
|
360
|
+
color: #409EFF;
|
|
361
|
+
border-bottom: 2px solid #409EFF;
|
|
362
|
+
}
|
|
363
|
+
|
|
364
|
+
._fc-l-group {
|
|
365
|
+
border: 1px solid #EEEEEE;
|
|
366
|
+
padding: 0;
|
|
367
|
+
margin: 12px;
|
|
368
|
+
user-select: none;
|
|
369
|
+
}
|
|
370
|
+
|
|
371
|
+
._fc-l-group ._fc-l-list {
|
|
372
|
+
display: grid;
|
|
373
|
+
grid-template-columns: repeat(3, 1fr);
|
|
374
|
+
align-items: stretch;
|
|
375
|
+
}
|
|
376
|
+
|
|
377
|
+
._fc-l-title {
|
|
378
|
+
display: flex;
|
|
379
|
+
align-items: center;
|
|
380
|
+
justify-content: space-between;
|
|
381
|
+
cursor: pointer;
|
|
382
|
+
font-weight: 600;
|
|
383
|
+
font-size: 14px;
|
|
384
|
+
padding: 12px;
|
|
385
|
+
margin: 0;
|
|
386
|
+
}
|
|
387
|
+
|
|
388
|
+
._fc-l-title i {
|
|
389
|
+
font-size: 14px;
|
|
390
|
+
}
|
|
391
|
+
|
|
392
|
+
._fc-l-title i.down {
|
|
393
|
+
transform: rotate(90deg);
|
|
394
|
+
}
|
|
395
|
+
|
|
396
|
+
._fc-l-item {
|
|
397
|
+
display: inline-block;
|
|
398
|
+
background: #FFF;
|
|
399
|
+
color: #000;
|
|
400
|
+
line-height: 1;
|
|
401
|
+
text-align: center;
|
|
402
|
+
transition: all .2s ease;
|
|
403
|
+
cursor: pointer;
|
|
404
|
+
padding-bottom: 10px;
|
|
405
|
+
}
|
|
406
|
+
|
|
407
|
+
._fc-l-item i {
|
|
408
|
+
font-size: 21px;
|
|
409
|
+
display: inline-block;
|
|
410
|
+
}
|
|
411
|
+
|
|
412
|
+
._fc-l-item ._fc-l-name {
|
|
413
|
+
font-size: 12px;
|
|
414
|
+
}
|
|
415
|
+
|
|
416
|
+
._fc-l-item ._fc-l-icon {
|
|
417
|
+
padding: 10px 5px 12px;
|
|
418
|
+
}
|
|
419
|
+
|
|
420
|
+
._fc-l-item:hover {
|
|
421
|
+
background: #2E73FF;
|
|
422
|
+
color: #fff;
|
|
423
|
+
}
|
|
424
|
+
|
|
425
|
+
._fc-m-tools {
|
|
426
|
+
height: 40px;
|
|
427
|
+
align-items: center;
|
|
428
|
+
display: flex;
|
|
429
|
+
justify-content: space-between;
|
|
430
|
+
border: 1px solid #ECECEC;
|
|
431
|
+
border-top: 0 none;
|
|
432
|
+
white-space: nowrap;
|
|
433
|
+
}
|
|
434
|
+
|
|
435
|
+
._fc-m-tools-l, ._fc-m-tools-r {
|
|
436
|
+
display: flex;
|
|
437
|
+
align-items: center;
|
|
438
|
+
}
|
|
439
|
+
|
|
440
|
+
._fc-m-tools-r {
|
|
441
|
+
overflow: auto;
|
|
442
|
+
}
|
|
443
|
+
|
|
444
|
+
|
|
445
|
+
._fc-m-tools-l .devices .fc-icon {
|
|
446
|
+
width: 18px;
|
|
447
|
+
cursor: pointer;
|
|
448
|
+
}
|
|
449
|
+
|
|
450
|
+
._fc-m-tools-l .devices .fc-icon.active {
|
|
451
|
+
color: #2E73FF;
|
|
452
|
+
}
|
|
453
|
+
|
|
454
|
+
._fc-m-tools-l .devices .fc-icon + .fc-icon {
|
|
455
|
+
margin-left: 5px;
|
|
456
|
+
}
|
|
457
|
+
|
|
458
|
+
._fc-m-tools .line {
|
|
459
|
+
width: 1px;
|
|
460
|
+
height: 24px;
|
|
461
|
+
background: #D8D8D8;
|
|
462
|
+
margin: 0 10px;
|
|
463
|
+
}
|
|
464
|
+
|
|
465
|
+
._fc-m-tools .el-button {
|
|
466
|
+
padding: 5px 10px;
|
|
467
|
+
display: flex;
|
|
468
|
+
align-items: center;
|
|
469
|
+
border-radius: 5px;
|
|
470
|
+
}
|
|
471
|
+
|
|
472
|
+
._fc-m-tools .el-button > span {
|
|
473
|
+
display: inline-flex;
|
|
474
|
+
justify-content: center;
|
|
475
|
+
align-items: center;
|
|
476
|
+
}
|
|
477
|
+
|
|
478
|
+
._fc-m-tools .el-dropdown, ._fc-m-tools .el-button + .el-button {
|
|
479
|
+
margin-left: 10px;
|
|
480
|
+
}
|
|
481
|
+
|
|
482
|
+
._fc-m-tools ._fd-m-extend {
|
|
483
|
+
color: #666;
|
|
484
|
+
border-color: #ccc;
|
|
485
|
+
background-color: #f1f1f1;
|
|
486
|
+
border-radius: 5px;
|
|
487
|
+
padding: 5px;
|
|
488
|
+
}
|
|
489
|
+
|
|
490
|
+
._fc-m-tools ._fd-m-extend .fc-icon {
|
|
491
|
+
margin-right: 0;
|
|
492
|
+
}
|
|
493
|
+
|
|
494
|
+
._fc-m-tools ._fd-input-btn {
|
|
495
|
+
display: flex;
|
|
496
|
+
align-items: center;
|
|
497
|
+
justify-content: space-between;
|
|
498
|
+
font-size: 12px;
|
|
499
|
+
}
|
|
500
|
+
|
|
501
|
+
._fc-m-tools ._fd-input-btn .el-switch__action {
|
|
502
|
+
width: 18px;
|
|
503
|
+
height: 18px;
|
|
504
|
+
left: 2px;
|
|
505
|
+
}
|
|
506
|
+
|
|
507
|
+
._fc-m-tools ._fd-input-btn .is-checked .el-switch__action {
|
|
508
|
+
--el-color-white: #2E73FF;
|
|
509
|
+
left: calc(100% - 20px);
|
|
510
|
+
}
|
|
511
|
+
|
|
512
|
+
._fc-m-tools ._fd-input-btn .el-switch__core {
|
|
513
|
+
--el-switch-on-color: var(--el-switch-off-color);
|
|
514
|
+
border-radius: 16px;
|
|
515
|
+
height: 24px;
|
|
516
|
+
width: 46px;
|
|
517
|
+
}
|
|
518
|
+
|
|
519
|
+
._fc-m-tools ._fd-input-btn .is-checked .el-switch__core {
|
|
520
|
+
--el-switch-on-color: var(--el-switch-off-color);
|
|
521
|
+
border-radius: 16px;
|
|
522
|
+
height: 24px;
|
|
523
|
+
width: 46px;
|
|
524
|
+
}
|
|
525
|
+
|
|
526
|
+
._fc-m-tools-r .fc-icon {
|
|
527
|
+
font-size: 14px;
|
|
528
|
+
}
|
|
529
|
+
|
|
530
|
+
._fc-m-tools-l .fc-icon {
|
|
531
|
+
font-size: 18px;
|
|
532
|
+
cursor: pointer;
|
|
533
|
+
}
|
|
534
|
+
|
|
535
|
+
._fc-m-tools-l .fc-icon + .fc-icon {
|
|
536
|
+
margin-left: 10px;
|
|
537
|
+
}
|
|
538
|
+
|
|
539
|
+
._fc-m-tools-l .fc-icon.disabled {
|
|
540
|
+
color: #999;
|
|
541
|
+
cursor: not-allowed;
|
|
542
|
+
}
|
|
543
|
+
|
|
544
|
+
._fc-r .el-tabs__nav-wrap::after {
|
|
545
|
+
height: 1px;
|
|
546
|
+
background-color: #ECECEC;
|
|
547
|
+
}
|
|
548
|
+
|
|
549
|
+
._fc-r ._fc-r-tabs {
|
|
550
|
+
display: flex;
|
|
551
|
+
padding: 0;
|
|
552
|
+
border-bottom: 1px solid #ECECEC;
|
|
553
|
+
}
|
|
554
|
+
|
|
555
|
+
._fc-r .el-table__cell .cell, ._fc-r .el-button, ._fc-r .el-radio-button__inner {
|
|
556
|
+
font-weight: 400;
|
|
557
|
+
}
|
|
558
|
+
|
|
559
|
+
._fc-r ._fc-r-tab {
|
|
560
|
+
height: 40px;
|
|
561
|
+
box-sizing: border-box;
|
|
562
|
+
line-height: 40px;
|
|
563
|
+
display: inline-block;
|
|
564
|
+
list-style: none;
|
|
565
|
+
font-size: 14px;
|
|
566
|
+
font-weight: 600;
|
|
567
|
+
color: #303133;
|
|
568
|
+
position: relative;
|
|
569
|
+
flex: 1;
|
|
570
|
+
text-align: center;
|
|
571
|
+
}
|
|
572
|
+
|
|
573
|
+
._fc-r ._fc-r-tab.active {
|
|
574
|
+
color: #409EFF;
|
|
575
|
+
border-bottom: 2px solid #409EFF;
|
|
576
|
+
}
|
|
577
|
+
|
|
578
|
+
._fc-m-con {
|
|
579
|
+
position: relative;
|
|
580
|
+
background: #F5F5F5;
|
|
581
|
+
padding: 20px 20px 36px;
|
|
582
|
+
}
|
|
583
|
+
|
|
584
|
+
._fc-m-drag {
|
|
585
|
+
margin: 0 auto;
|
|
586
|
+
overflow: auto;
|
|
587
|
+
padding: 2px;
|
|
588
|
+
box-sizing: border-box;
|
|
589
|
+
}
|
|
590
|
+
|
|
591
|
+
._fc-m-input {
|
|
592
|
+
padding: 5px 5px 80px;
|
|
593
|
+
}
|
|
594
|
+
|
|
595
|
+
._fc-m-input-handle {
|
|
596
|
+
position: absolute;
|
|
597
|
+
bottom: 16px;
|
|
598
|
+
left: 0;
|
|
599
|
+
right: 0;
|
|
600
|
+
padding: 12px;
|
|
601
|
+
background: #FFFFFF;
|
|
602
|
+
box-shadow: 0 2px 10px 0 rgba(0, 0, 0, 0.05);
|
|
603
|
+
text-align: center;
|
|
604
|
+
margin: 20px;
|
|
605
|
+
z-index: 99;
|
|
606
|
+
}
|
|
607
|
+
|
|
608
|
+
._fc-m-drag.mobile {
|
|
609
|
+
width: 400px;
|
|
610
|
+
}
|
|
611
|
+
|
|
612
|
+
._fc-m-drag.pad {
|
|
613
|
+
width: 770px;
|
|
614
|
+
}
|
|
615
|
+
|
|
616
|
+
._fc-m-drag, .draggable-drag {
|
|
617
|
+
background: #fff;
|
|
618
|
+
height: 100%;
|
|
619
|
+
position: relative;
|
|
620
|
+
}
|
|
621
|
+
|
|
622
|
+
._fc-m-drag > form, ._fc-m-drag > form > .el-row {
|
|
623
|
+
height: 100%;
|
|
624
|
+
}
|
|
625
|
+
|
|
626
|
+
._fc-m-drag .el-tree {
|
|
627
|
+
width: 100%;
|
|
628
|
+
}
|
|
629
|
+
|
|
630
|
+
._fd-drag-box {
|
|
631
|
+
width: 100%;
|
|
632
|
+
height: 100%;
|
|
633
|
+
min-height: 80px;
|
|
634
|
+
transition: padding-bottom, padding-top .3s ease;
|
|
635
|
+
}
|
|
636
|
+
|
|
637
|
+
._fd-drag-box > div[data-draggable] {
|
|
638
|
+
margin-bottom: 1px;
|
|
639
|
+
}
|
|
640
|
+
|
|
641
|
+
._fc-r ._fc-group-container + ._fc-group-container {
|
|
642
|
+
margin-top: 20px;
|
|
643
|
+
}
|
|
644
|
+
|
|
645
|
+
._fc-r ._fc-group-container {
|
|
646
|
+
margin: 0;
|
|
647
|
+
padding: 10px;
|
|
648
|
+
}
|
|
649
|
+
|
|
650
|
+
._fc-r ._fc-group-handle {
|
|
651
|
+
right: 15px;
|
|
652
|
+
}
|
|
653
|
+
|
|
654
|
+
._fc-r .el-form-item {
|
|
655
|
+
margin-bottom: 10px !important;
|
|
656
|
+
}
|
|
657
|
+
|
|
658
|
+
._fc-r .el-form-item__label {
|
|
659
|
+
color: #333333;
|
|
660
|
+
}
|
|
661
|
+
|
|
662
|
+
._fc-upload-preview {
|
|
663
|
+
display: inline-block;
|
|
664
|
+
width: 120px;
|
|
665
|
+
height: 120px;
|
|
666
|
+
border-radius: 5px;
|
|
667
|
+
overflow: hidden;
|
|
668
|
+
}
|
|
669
|
+
|
|
670
|
+
._fc-tabs .el-tabs__item {
|
|
671
|
+
font-weight: 400;
|
|
672
|
+
}
|
|
673
|
+
|
|
674
|
+
._fc-tabs .el-tabs__content {
|
|
675
|
+
overflow: auto;
|
|
676
|
+
}
|
|
677
|
+
|
|
678
|
+
._fc-tabs .el-tabs__nav-scroll {
|
|
679
|
+
padding: 0 15px;
|
|
680
|
+
}
|
|
681
|
+
|
|
682
|
+
._fc-tabs .el-tab-pane {
|
|
683
|
+
margin-right: 15px;
|
|
684
|
+
}
|
|
685
|
+
|
|
686
|
+
._fc-tabs .el-tabs__nav-wrap::after {
|
|
687
|
+
height: 1px;
|
|
688
|
+
}
|
|
689
|
+
|
|
690
|
+
.form-create .fc-none {
|
|
691
|
+
display: none;
|
|
692
|
+
}
|
|
693
|
+
|
|
694
|
+
._fd-draggable-drag.drag-holder, ._fd-tableFormColumn-drag.drag-holder, ._fd-elTabPane-drag.drag-holder, ._fd-group-drag.drag-holder, ._fd-subForm-drag.drag-holder, ._fd-elCard-drag.drag-holder, ._fd-elCollapseItem-drag.drag-holder {
|
|
695
|
+
position: relative;
|
|
696
|
+
background: #f5f5f5;
|
|
697
|
+
background-size: 0;
|
|
698
|
+
min-height: 90px;
|
|
699
|
+
}
|
|
700
|
+
|
|
701
|
+
._fc-child-empty:after, ._fd-draggable-drag.drag-holder:after, ._fd-tableFormColumn-drag.drag-holder:after, ._fd-elTabPane-drag.drag-holder:after, ._fd-group-drag.drag-holder:after, ._fd-subForm-drag.drag-holder:after, ._fd-elCard-drag.drag-holder:after, ._fd-elCollapseItem-drag.drag-holder:after {
|
|
702
|
+
content: var(--fc-drag-empty);
|
|
703
|
+
position: absolute;
|
|
704
|
+
top: 0;
|
|
705
|
+
left: 0;
|
|
706
|
+
bottom: 0;
|
|
707
|
+
right: 0;
|
|
708
|
+
display: flex;
|
|
709
|
+
justify-content: center;
|
|
710
|
+
align-items: center;
|
|
711
|
+
color: #aaa;
|
|
712
|
+
font-size: 12px;
|
|
713
|
+
}
|
|
714
|
+
|
|
715
|
+
._fc-designer ._fc-m-drag ._fd-draggable-drag {
|
|
716
|
+
overflow: auto;
|
|
717
|
+
padding: 2px 2px 100px;
|
|
718
|
+
}
|
|
719
|
+
|
|
720
|
+
._fc-m-drag._fd-drop-hover ._fd-draggable-drag {
|
|
721
|
+
padding-top: 20px;
|
|
722
|
+
}
|
|
723
|
+
|
|
724
|
+
._fd-draggable-drag.drag-holder {
|
|
725
|
+
background-color: #ffffff;
|
|
726
|
+
}
|
|
727
|
+
|
|
728
|
+
._fd-draggable-drag.drag-holder:after {
|
|
729
|
+
font-size: 16px;
|
|
730
|
+
}
|
|
731
|
+
|
|
732
|
+
._fc-child-empty:after {
|
|
733
|
+
font-family: "fc-icon" !important;
|
|
734
|
+
content: var(--fc-child-empty);
|
|
735
|
+
}
|
|
736
|
+
|
|
737
|
+
.fc-configured {
|
|
738
|
+
color: #999;
|
|
739
|
+
margin-left: 5px;
|
|
740
|
+
}
|
|
741
|
+
|
|
742
|
+
._fc-manage-text {
|
|
743
|
+
cursor: pointer;
|
|
744
|
+
color: #2f73ff;
|
|
745
|
+
margin-left: 4px;
|
|
746
|
+
font-size: 12px;
|
|
747
|
+
}
|
|
748
|
+
|
|
749
|
+
._fc-manage-text i {
|
|
750
|
+
font-size: 12px;
|
|
751
|
+
}
|
|
752
|
+
|
|
753
|
+
._fc-message-error {
|
|
754
|
+
top: 16px;
|
|
755
|
+
z-index: 2116;
|
|
756
|
+
border-radius: 8px;
|
|
757
|
+
padding: 9px 13px;
|
|
758
|
+
background-color: #fff;
|
|
759
|
+
border-color: #fff;
|
|
760
|
+
box-shadow: 0 6px 16px 0 rgba(0, 0, 0, 0.08), 0 3px 6px -4px rgba(0, 0, 0, 0.12), 0 9px 28px 8px rgba(0, 0, 0, 0.05);
|
|
761
|
+
}
|
|
762
|
+
|
|
763
|
+
._fc-message-error > .el-icon {
|
|
764
|
+
font-size: 18px;
|
|
765
|
+
}
|
|
766
|
+
|
|
767
|
+
._fc-message-error .el-message__content {
|
|
768
|
+
color: rgba(0, 0, 0, 0.88);
|
|
769
|
+
font-size: 14px;
|
|
770
|
+
}
|
|
771
|
+
|
|
772
|
+
._fd-preview-copy{
|
|
773
|
+
display: flex;
|
|
774
|
+
position: absolute;
|
|
775
|
+
right: 35px;
|
|
776
|
+
top: 65px;
|
|
777
|
+
align-items: center;
|
|
778
|
+
justify-content: center;
|
|
779
|
+
width: 28px;
|
|
780
|
+
height: 28px;
|
|
781
|
+
background: #2E73FF33;
|
|
782
|
+
border-radius: 10px;
|
|
783
|
+
color: #2E73FF;
|
|
784
|
+
cursor: pointer;
|
|
785
|
+
}
|
|
786
|
+
|
|
787
|
+
._fd-preview-dialog {
|
|
788
|
+
border-radius: 6px;
|
|
789
|
+
padding-top: 0;
|
|
790
|
+
min-height: 40%;
|
|
791
|
+
}
|
|
792
|
+
|
|
793
|
+
._fd-preview-dialog .el-dialog__header {
|
|
794
|
+
position: absolute;
|
|
795
|
+
right: 0;
|
|
796
|
+
top: 0;
|
|
797
|
+
float: right;
|
|
798
|
+
z-index: 9;
|
|
799
|
+
}
|
|
800
|
+
|
|
801
|
+
._fd-preview-code {
|
|
802
|
+
margin-top: 0;
|
|
803
|
+
max-height: 510px;
|
|
804
|
+
overflow: auto;
|
|
805
|
+
}
|
|
806
|
+
|
|
807
|
+
._fd-preview-tabs .el-tabs__nav-wrap::after {
|
|
808
|
+
height: 1px;
|
|
809
|
+
}
|
|
810
|
+
|
|
811
|
+
._fd-preview-tabs .el-tabs__item {
|
|
812
|
+
height: 46px;
|
|
813
|
+
}
|
|
814
|
+
|
|
815
|
+
._fd-preview-code > code {
|
|
816
|
+
white-space: pre-wrap;
|
|
817
|
+
}
|
|
818
|
+
|
|
819
|
+
._fd-row-line {
|
|
820
|
+
width: 100%;
|
|
821
|
+
height: 1px;
|
|
822
|
+
margin: 10px 0;
|
|
823
|
+
background: #D8D8D8;
|
|
824
|
+
}
|
|
825
|
+
|
|
826
|
+
.CodeMirror-hints {
|
|
827
|
+
z-index: 999999;
|
|
828
|
+
}
|
|
829
|
+
|
|
830
|
+
._fd-drag-item {
|
|
831
|
+
width: 100%;
|
|
832
|
+
}
|
|
833
|
+
|
|
834
|
+
._fc-designer .CodeMirror-placeholder, ._fd-config-dialog .CodeMirror-placeholder, ._fd-struct-con .CodeMirror-placeholder {
|
|
835
|
+
color: #aaaaaa !important;
|
|
836
|
+
}
|