starfish-editor-custom 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/auto-imports.d.ts +10 -0
- package/babel.config.js +8 -0
- package/components.d.ts +46 -0
- package/dist/ConditionModule.js +892 -0
- package/dist/ConditionSelect.js +483 -0
- package/dist/CustomDialog.js +105 -0
- package/dist/formStyle.js +245 -0
- package/dist/globalFormList.js +59 -0
- package/dist/jsonCode.js +74 -0
- package/dist/jsonEditor.js +71 -0
- package/dist/main.js +3319 -0
- package/dist/starfish-editor.es.js +30 -0
- package/dist/style.css +1 -0
- package/dist/types/editor/src/common/ConditionSelect/ConditionGroup.vue.d.ts +61 -0
- package/dist/types/editor/src/common/ConditionSelect/ConditionModule.vue.d.ts +43 -0
- package/dist/types/editor/src/common/ConditionSelect/ConditionTanc.vue.d.ts +48 -0
- package/dist/types/editor/src/common/ConditionSelect.vue.d.ts +72 -0
- package/dist/types/editor/src/common/CustomDialog.vue.d.ts +25 -0
- package/dist/types/editor/src/common/Loading.vue.d.ts +3 -0
- package/dist/types/editor/src/common/formJson.d.ts +80 -0
- package/dist/types/editor/src/common/jsonCode.vue.d.ts +110 -0
- package/dist/types/editor/src/components/ComponentList.vue.d.ts +32 -0
- package/dist/types/editor/src/components/FormPreview.vue.d.ts +25 -0
- package/dist/types/editor/src/components/Nav.vue.d.ts +9 -0
- package/dist/types/editor/src/components/PropsPanel.vue.d.ts +53 -0
- package/dist/types/editor/src/components/Shape.vue.d.ts +40 -0
- package/dist/types/editor/src/components/Workspace.vue.d.ts +22 -0
- package/dist/types/editor/src/components/globalFormList.vue.d.ts +6 -0
- package/dist/types/editor/src/components/jsonEditor.vue.d.ts +6 -0
- package/dist/types/editor/src/controller/action.d.ts +18 -0
- package/dist/types/editor/src/controller/form.d.ts +24 -0
- package/dist/types/editor/src/controller/history.d.ts +12 -0
- package/dist/types/editor/src/controller/shortcut.d.ts +20 -0
- package/dist/types/editor/src/controller/ui.d.ts +10 -0
- package/dist/types/editor/src/layouts/ControlEditSize.vue.d.ts +17 -0
- package/dist/types/editor/src/layouts/Framework.vue.d.ts +33 -0
- package/dist/types/editor/src/layouts/Resizer.vue.d.ts +13 -0
- package/dist/types/editor/src/layouts/ShortcutKey.vue.d.ts +8 -0
- package/dist/types/editor/src/main.d.ts +5 -0
- package/dist/types/editor/src/shims-vue.d.ts +23 -0
- package/dist/types/editor/src/starfish-editor.vue.d.ts +109 -0
- package/dist/types/editor/src/type.d.ts +224 -0
- package/dist/types/editor/src/utils/_.d.ts +33 -0
- package/dist/types/editor/src/utils/formKeycon.d.ts +18 -0
- package/dist/types/editor/src/utils/shortcutKey.d.ts +3 -0
- package/dist/types/editor/src/utils/vm.d.ts +3 -0
- package/dist/types/starfish-editor.d.ts +3 -0
- package/package.json +55 -0
- package/src/common/ConditionSelect/ConditionGroup.vue +167 -0
- package/src/common/ConditionSelect/ConditionModule.vue +118 -0
- package/src/common/ConditionSelect/ConditionTanc.vue +319 -0
- package/src/common/ConditionSelect.vue +268 -0
- package/src/common/CustomDialog.vue +77 -0
- package/src/common/Loading.vue +10 -0
- package/src/common/formJson.ts +143 -0
- package/src/common/formStyle.vue +170 -0
- package/src/common/jsonCode.vue +45 -0
- package/src/components/ComponentList.vue +156 -0
- package/src/components/FormPreview.vue +197 -0
- package/src/components/Nav.vue +128 -0
- package/src/components/NavList.vue +560 -0
- package/src/components/PropsPanel.vue +376 -0
- package/src/components/Shape.vue +178 -0
- package/src/components/Workspace.vue +258 -0
- package/src/components/globalFormList.vue +30 -0
- package/src/components/jsonEditor.vue +41 -0
- package/src/controller/action.ts +37 -0
- package/src/controller/form.ts +207 -0
- package/src/controller/history.ts +57 -0
- package/src/controller/shortcut.ts +81 -0
- package/src/controller/ui.ts +91 -0
- package/src/layouts/ControlEditSize.vue +52 -0
- package/src/layouts/Framework.vue +76 -0
- package/src/layouts/Resizer.vue +54 -0
- package/src/layouts/ShortcutKey.vue +61 -0
- package/src/main.ts +56 -0
- package/src/shims-vue.d.ts +23 -0
- package/src/starfish-editor.vue +176 -0
- package/src/styles/common/normalize.css +455 -0
- package/src/styles/component-list.scss +64 -0
- package/src/styles/condition-select.scss +176 -0
- package/src/styles/control_edit_size.scss +36 -0
- package/src/styles/custom-dialog.scss +110 -0
- package/src/styles/form-preview.scss +47 -0
- package/src/styles/framework.scss +150 -0
- package/src/styles/iconfont/iconfont.css +247 -0
- package/src/styles/iconfont/iconfont.js +1 -0
- package/src/styles/iconfont/iconfont.json +415 -0
- package/src/styles/iconfont/iconfont.ttf +0 -0
- package/src/styles/iconfont/iconfont.woff +0 -0
- package/src/styles/iconfont/iconfont.woff2 +0 -0
- package/src/styles/index.scss +18 -0
- package/src/styles/nav-list.scss +59 -0
- package/src/styles/nav.scss +46 -0
- package/src/styles/props-panel.scss +115 -0
- package/src/styles/resizer.scss +15 -0
- package/src/styles/shape.scss +101 -0
- package/src/styles/shortcutkey.scss +44 -0
- package/src/styles/variables.scss +36 -0
- package/src/styles/work-space.scss +126 -0
- package/src/type.ts +240 -0
- package/src/utils/_.ts +349 -0
- package/src/utils/formKeycon.ts +42 -0
- package/src/utils/shortcutKey.ts +46 -0
- package/src/utils/vm.ts +3 -0
- package/stats.html +4949 -0
- package/tsconfig.json +19 -0
- package/vite.config.ts +111 -0
|
@@ -0,0 +1,415 @@
|
|
|
1
|
+
{
|
|
2
|
+
"id": "2838003",
|
|
3
|
+
"name": "starfish-h5",
|
|
4
|
+
"font_family": "iconfont",
|
|
5
|
+
"css_prefix_text": "icon-",
|
|
6
|
+
"description": "",
|
|
7
|
+
"glyphs": [
|
|
8
|
+
{
|
|
9
|
+
"icon_id": "20104473",
|
|
10
|
+
"name": "导入",
|
|
11
|
+
"font_class": "daoru",
|
|
12
|
+
"unicode": "e613",
|
|
13
|
+
"unicode_decimal": 58899
|
|
14
|
+
},
|
|
15
|
+
{
|
|
16
|
+
"icon_id": "20104475",
|
|
17
|
+
"name": "导出",
|
|
18
|
+
"font_class": "daochu",
|
|
19
|
+
"unicode": "e614",
|
|
20
|
+
"unicode_decimal": 58900
|
|
21
|
+
},
|
|
22
|
+
{
|
|
23
|
+
"icon_id": "666888",
|
|
24
|
+
"name": "手机",
|
|
25
|
+
"font_class": "shouji",
|
|
26
|
+
"unicode": "e692",
|
|
27
|
+
"unicode_decimal": 59026
|
|
28
|
+
},
|
|
29
|
+
{
|
|
30
|
+
"icon_id": "1056544",
|
|
31
|
+
"name": "电脑",
|
|
32
|
+
"font_class": "diannao",
|
|
33
|
+
"unicode": "e69b",
|
|
34
|
+
"unicode_decimal": 59035
|
|
35
|
+
},
|
|
36
|
+
{
|
|
37
|
+
"icon_id": "1092160",
|
|
38
|
+
"name": "平板电脑",
|
|
39
|
+
"font_class": "pingbandiannao",
|
|
40
|
+
"unicode": "e63f",
|
|
41
|
+
"unicode_decimal": 58943
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"icon_id": "15466212",
|
|
45
|
+
"name": "icon-bianji",
|
|
46
|
+
"font_class": "icon-bianji",
|
|
47
|
+
"unicode": "e601",
|
|
48
|
+
"unicode_decimal": 58881
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"icon_id": "808620",
|
|
52
|
+
"name": "tree",
|
|
53
|
+
"font_class": "tree",
|
|
54
|
+
"unicode": "e646",
|
|
55
|
+
"unicode_decimal": 58950
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"icon_id": "17544342",
|
|
59
|
+
"name": "折叠面板",
|
|
60
|
+
"font_class": "zhediemianban",
|
|
61
|
+
"unicode": "e703",
|
|
62
|
+
"unicode_decimal": 59139
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"icon_id": "14678836",
|
|
66
|
+
"name": "bars",
|
|
67
|
+
"font_class": "bars",
|
|
68
|
+
"unicode": "e626",
|
|
69
|
+
"unicode_decimal": 58918
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"icon_id": "13015642",
|
|
73
|
+
"name": "29-插入列",
|
|
74
|
+
"font_class": "-charulie",
|
|
75
|
+
"unicode": "e6d1",
|
|
76
|
+
"unicode_decimal": 59089
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"icon_id": "13015644",
|
|
80
|
+
"name": "28-插入行",
|
|
81
|
+
"font_class": "-charuhang",
|
|
82
|
+
"unicode": "e6d2",
|
|
83
|
+
"unicode_decimal": 59090
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"icon_id": "1929149",
|
|
87
|
+
"name": "警告",
|
|
88
|
+
"font_class": "jinggao",
|
|
89
|
+
"unicode": "e61f",
|
|
90
|
+
"unicode_decimal": 58911
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"icon_id": "2471356",
|
|
94
|
+
"name": "分割线",
|
|
95
|
+
"font_class": "fengexian1",
|
|
96
|
+
"unicode": "e66e",
|
|
97
|
+
"unicode_decimal": 58990
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"icon_id": "9447886",
|
|
101
|
+
"name": "表格",
|
|
102
|
+
"font_class": "biaoge1",
|
|
103
|
+
"unicode": "e667",
|
|
104
|
+
"unicode_decimal": 58983
|
|
105
|
+
},
|
|
106
|
+
{
|
|
107
|
+
"icon_id": "15196963",
|
|
108
|
+
"name": "35.栅格",
|
|
109
|
+
"font_class": "35zhage",
|
|
110
|
+
"unicode": "e628",
|
|
111
|
+
"unicode_decimal": 58920
|
|
112
|
+
},
|
|
113
|
+
{
|
|
114
|
+
"icon_id": "4347521",
|
|
115
|
+
"name": "icon_预览",
|
|
116
|
+
"font_class": "icon_yulan",
|
|
117
|
+
"unicode": "eb8a",
|
|
118
|
+
"unicode_decimal": 60298
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"icon_id": "7597965",
|
|
122
|
+
"name": "24gl-redo3",
|
|
123
|
+
"font_class": "24gl-redo3",
|
|
124
|
+
"unicode": "eb71",
|
|
125
|
+
"unicode_decimal": 60273
|
|
126
|
+
},
|
|
127
|
+
{
|
|
128
|
+
"icon_id": "7597984",
|
|
129
|
+
"name": "24gl-undo3",
|
|
130
|
+
"font_class": "24gl-undo3",
|
|
131
|
+
"unicode": "eb75",
|
|
132
|
+
"unicode_decimal": 60277
|
|
133
|
+
},
|
|
134
|
+
{
|
|
135
|
+
"icon_id": "2076385",
|
|
136
|
+
"name": "删除",
|
|
137
|
+
"font_class": "shanchu1",
|
|
138
|
+
"unicode": "e8c1",
|
|
139
|
+
"unicode_decimal": 59585
|
|
140
|
+
},
|
|
141
|
+
{
|
|
142
|
+
"icon_id": "577394",
|
|
143
|
+
"name": "向上1",
|
|
144
|
+
"font_class": "xiangshang1",
|
|
145
|
+
"unicode": "e76d",
|
|
146
|
+
"unicode_decimal": 59245
|
|
147
|
+
},
|
|
148
|
+
{
|
|
149
|
+
"icon_id": "577398",
|
|
150
|
+
"name": "向下1",
|
|
151
|
+
"font_class": "xiangxia1",
|
|
152
|
+
"unicode": "e771",
|
|
153
|
+
"unicode_decimal": 59249
|
|
154
|
+
},
|
|
155
|
+
{
|
|
156
|
+
"icon_id": "11372665",
|
|
157
|
+
"name": "复制",
|
|
158
|
+
"font_class": "fuzhi",
|
|
159
|
+
"unicode": "e8b0",
|
|
160
|
+
"unicode_decimal": 59568
|
|
161
|
+
},
|
|
162
|
+
{
|
|
163
|
+
"icon_id": "10435",
|
|
164
|
+
"name": "1",
|
|
165
|
+
"font_class": "1",
|
|
166
|
+
"unicode": "e600",
|
|
167
|
+
"unicode_decimal": 58880
|
|
168
|
+
},
|
|
169
|
+
{
|
|
170
|
+
"icon_id": "1305461",
|
|
171
|
+
"name": "表格",
|
|
172
|
+
"font_class": "biaoge",
|
|
173
|
+
"unicode": "e63e",
|
|
174
|
+
"unicode_decimal": 58942
|
|
175
|
+
},
|
|
176
|
+
{
|
|
177
|
+
"icon_id": "486730",
|
|
178
|
+
"name": "预览",
|
|
179
|
+
"font_class": "yulan",
|
|
180
|
+
"unicode": "e612",
|
|
181
|
+
"unicode_decimal": 58898
|
|
182
|
+
},
|
|
183
|
+
{
|
|
184
|
+
"icon_id": "1305399",
|
|
185
|
+
"name": "保存",
|
|
186
|
+
"font_class": "baocun",
|
|
187
|
+
"unicode": "e63b",
|
|
188
|
+
"unicode_decimal": 58939
|
|
189
|
+
},
|
|
190
|
+
{
|
|
191
|
+
"icon_id": "16852655",
|
|
192
|
+
"name": "富文本编辑",
|
|
193
|
+
"font_class": "textEdit",
|
|
194
|
+
"unicode": "e63d",
|
|
195
|
+
"unicode_decimal": 58941
|
|
196
|
+
},
|
|
197
|
+
{
|
|
198
|
+
"icon_id": "6337454",
|
|
199
|
+
"name": "分割线",
|
|
200
|
+
"font_class": "fengexian",
|
|
201
|
+
"unicode": "ec7f",
|
|
202
|
+
"unicode_decimal": 60543
|
|
203
|
+
},
|
|
204
|
+
{
|
|
205
|
+
"icon_id": "17544339",
|
|
206
|
+
"name": "选择器",
|
|
207
|
+
"font_class": "xuanzeqi",
|
|
208
|
+
"unicode": "e701",
|
|
209
|
+
"unicode_decimal": 59137
|
|
210
|
+
},
|
|
211
|
+
{
|
|
212
|
+
"icon_id": "15126403",
|
|
213
|
+
"name": "icon_滑块",
|
|
214
|
+
"font_class": "icon_huakuai",
|
|
215
|
+
"unicode": "e738",
|
|
216
|
+
"unicode_decimal": 59192
|
|
217
|
+
},
|
|
218
|
+
{
|
|
219
|
+
"icon_id": "17544309",
|
|
220
|
+
"name": "计数器",
|
|
221
|
+
"font_class": "jishuqi",
|
|
222
|
+
"unicode": "e6fd",
|
|
223
|
+
"unicode_decimal": 59133
|
|
224
|
+
},
|
|
225
|
+
{
|
|
226
|
+
"icon_id": "1789486",
|
|
227
|
+
"name": "日期时间",
|
|
228
|
+
"font_class": "riqishijian",
|
|
229
|
+
"unicode": "e6c8",
|
|
230
|
+
"unicode_decimal": 59080
|
|
231
|
+
},
|
|
232
|
+
{
|
|
233
|
+
"icon_id": "658039",
|
|
234
|
+
"name": "时间",
|
|
235
|
+
"font_class": "shijian",
|
|
236
|
+
"unicode": "e666",
|
|
237
|
+
"unicode_decimal": 58982
|
|
238
|
+
},
|
|
239
|
+
{
|
|
240
|
+
"icon_id": "7596925",
|
|
241
|
+
"name": "24gl-calendar",
|
|
242
|
+
"font_class": "24gl-calendar",
|
|
243
|
+
"unicode": "eb3f",
|
|
244
|
+
"unicode_decimal": 60223
|
|
245
|
+
},
|
|
246
|
+
{
|
|
247
|
+
"icon_id": "1286966",
|
|
248
|
+
"name": "SEN103",
|
|
249
|
+
"font_class": "sen103",
|
|
250
|
+
"unicode": "e620",
|
|
251
|
+
"unicode_decimal": 58912
|
|
252
|
+
},
|
|
253
|
+
{
|
|
254
|
+
"icon_id": "807276",
|
|
255
|
+
"name": "缩小",
|
|
256
|
+
"font_class": "suoxiao1",
|
|
257
|
+
"unicode": "e661",
|
|
258
|
+
"unicode_decimal": 58977
|
|
259
|
+
},
|
|
260
|
+
{
|
|
261
|
+
"icon_id": "1727563",
|
|
262
|
+
"name": "327全屏",
|
|
263
|
+
"font_class": "quanping",
|
|
264
|
+
"unicode": "e8fa",
|
|
265
|
+
"unicode_decimal": 59642
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"icon_id": "18174834",
|
|
269
|
+
"name": "文件,json",
|
|
270
|
+
"font_class": "json-full",
|
|
271
|
+
"unicode": "ea42",
|
|
272
|
+
"unicode_decimal": 59970
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"icon_id": "2076217",
|
|
276
|
+
"name": "缩小",
|
|
277
|
+
"font_class": "suoxiao",
|
|
278
|
+
"unicode": "e87b",
|
|
279
|
+
"unicode_decimal": 59515
|
|
280
|
+
},
|
|
281
|
+
{
|
|
282
|
+
"icon_id": "4425893",
|
|
283
|
+
"name": "扩大",
|
|
284
|
+
"font_class": "kuoda",
|
|
285
|
+
"unicode": "e7b0",
|
|
286
|
+
"unicode_decimal": 59312
|
|
287
|
+
},
|
|
288
|
+
{
|
|
289
|
+
"icon_id": "6616997",
|
|
290
|
+
"name": "关闭",
|
|
291
|
+
"font_class": "guanbi",
|
|
292
|
+
"unicode": "eca0",
|
|
293
|
+
"unicode_decimal": 60576
|
|
294
|
+
},
|
|
295
|
+
{
|
|
296
|
+
"icon_id": "2471334",
|
|
297
|
+
"name": "表单",
|
|
298
|
+
"font_class": "biaodan",
|
|
299
|
+
"unicode": "e665",
|
|
300
|
+
"unicode_decimal": 58981
|
|
301
|
+
},
|
|
302
|
+
{
|
|
303
|
+
"icon_id": "5833672",
|
|
304
|
+
"name": "复选框_选中3",
|
|
305
|
+
"font_class": "fuxuankuang_xuanzhong",
|
|
306
|
+
"unicode": "e6c9",
|
|
307
|
+
"unicode_decimal": 59081
|
|
308
|
+
},
|
|
309
|
+
{
|
|
310
|
+
"icon_id": "679796",
|
|
311
|
+
"name": "增加",
|
|
312
|
+
"font_class": "zengjia",
|
|
313
|
+
"unicode": "e6ea",
|
|
314
|
+
"unicode_decimal": 59114
|
|
315
|
+
},
|
|
316
|
+
{
|
|
317
|
+
"icon_id": "2020252",
|
|
318
|
+
"name": "删除",
|
|
319
|
+
"font_class": "shanchu",
|
|
320
|
+
"unicode": "e608",
|
|
321
|
+
"unicode_decimal": 58888
|
|
322
|
+
},
|
|
323
|
+
{
|
|
324
|
+
"icon_id": "12323764",
|
|
325
|
+
"name": "上移",
|
|
326
|
+
"font_class": "shangyi",
|
|
327
|
+
"unicode": "e656",
|
|
328
|
+
"unicode_decimal": 58966
|
|
329
|
+
},
|
|
330
|
+
{
|
|
331
|
+
"icon_id": "12323774",
|
|
332
|
+
"name": "下移",
|
|
333
|
+
"font_class": "xiayi",
|
|
334
|
+
"unicode": "e657",
|
|
335
|
+
"unicode_decimal": 58967
|
|
336
|
+
},
|
|
337
|
+
{
|
|
338
|
+
"icon_id": "637485",
|
|
339
|
+
"name": "单选框",
|
|
340
|
+
"font_class": "danxuankuang",
|
|
341
|
+
"unicode": "e69c",
|
|
342
|
+
"unicode_decimal": 59036
|
|
343
|
+
},
|
|
344
|
+
{
|
|
345
|
+
"icon_id": "938427",
|
|
346
|
+
"name": "开关",
|
|
347
|
+
"font_class": "kaiguanguan",
|
|
348
|
+
"unicode": "e698",
|
|
349
|
+
"unicode_decimal": 59032
|
|
350
|
+
},
|
|
351
|
+
{
|
|
352
|
+
"icon_id": "18727247",
|
|
353
|
+
"name": "textarea",
|
|
354
|
+
"font_class": "textarea",
|
|
355
|
+
"unicode": "e60a",
|
|
356
|
+
"unicode_decimal": 58890
|
|
357
|
+
},
|
|
358
|
+
{
|
|
359
|
+
"icon_id": "6185099",
|
|
360
|
+
"name": "提示",
|
|
361
|
+
"font_class": "tishi",
|
|
362
|
+
"unicode": "e60e",
|
|
363
|
+
"unicode_decimal": 58894
|
|
364
|
+
},
|
|
365
|
+
{
|
|
366
|
+
"icon_id": "11121385",
|
|
367
|
+
"name": "文本框",
|
|
368
|
+
"font_class": "wenbenkuang",
|
|
369
|
+
"unicode": "e629",
|
|
370
|
+
"unicode_decimal": 58921
|
|
371
|
+
},
|
|
372
|
+
{
|
|
373
|
+
"icon_id": "5387527",
|
|
374
|
+
"name": "加号",
|
|
375
|
+
"font_class": "jiahao",
|
|
376
|
+
"unicode": "eaf3",
|
|
377
|
+
"unicode_decimal": 60147
|
|
378
|
+
},
|
|
379
|
+
{
|
|
380
|
+
"icon_id": "5387532",
|
|
381
|
+
"name": "减号",
|
|
382
|
+
"font_class": "jianhao",
|
|
383
|
+
"unicode": "eaf5",
|
|
384
|
+
"unicode_decimal": 60149
|
|
385
|
+
},
|
|
386
|
+
{
|
|
387
|
+
"icon_id": "5358777",
|
|
388
|
+
"name": "还原",
|
|
389
|
+
"font_class": "huanyuan",
|
|
390
|
+
"unicode": "e7ae",
|
|
391
|
+
"unicode_decimal": 59310
|
|
392
|
+
},
|
|
393
|
+
{
|
|
394
|
+
"icon_id": "5387756",
|
|
395
|
+
"name": "键盘_o",
|
|
396
|
+
"font_class": "jianpan_o",
|
|
397
|
+
"unicode": "eb4b",
|
|
398
|
+
"unicode_decimal": 60235
|
|
399
|
+
},
|
|
400
|
+
{
|
|
401
|
+
"icon_id": "5387585",
|
|
402
|
+
"name": "箭头_向右两次",
|
|
403
|
+
"font_class": "jiantou_xiangyouliangci",
|
|
404
|
+
"unicode": "eb09",
|
|
405
|
+
"unicode_decimal": 60169
|
|
406
|
+
},
|
|
407
|
+
{
|
|
408
|
+
"icon_id": "5387590",
|
|
409
|
+
"name": "箭头_向左两次",
|
|
410
|
+
"font_class": "jiantou_xiangzuoliangci",
|
|
411
|
+
"unicode": "eb0a",
|
|
412
|
+
"unicode_decimal": 60170
|
|
413
|
+
}
|
|
414
|
+
]
|
|
415
|
+
}
|
|
Binary file
|
|
Binary file
|
|
Binary file
|
|
@@ -0,0 +1,18 @@
|
|
|
1
|
+
@import "./common/normalize.css";
|
|
2
|
+
@import "./variables.scss";
|
|
3
|
+
// @import "./iconfont.scss";
|
|
4
|
+
@import "./iconfont/iconfont.css";
|
|
5
|
+
|
|
6
|
+
@import "./component-list.scss";
|
|
7
|
+
@import "./condition-select.scss";
|
|
8
|
+
@import "./control_edit_size.scss";
|
|
9
|
+
@import "./custom-dialog.scss";
|
|
10
|
+
@import "./form-preview.scss";
|
|
11
|
+
@import "./framework.scss";
|
|
12
|
+
@import "./nav-list.scss";
|
|
13
|
+
@import "./nav.scss";
|
|
14
|
+
@import "./props-panel.scss";
|
|
15
|
+
@import "./resizer.scss";
|
|
16
|
+
@import "./shape.scss";
|
|
17
|
+
@import "./shortcutkey.scss";
|
|
18
|
+
@import "./work-space.scss";
|
|
@@ -0,0 +1,59 @@
|
|
|
1
|
+
.starfish-editor {
|
|
2
|
+
.nav_list {
|
|
3
|
+
height: 40px;
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
justify-content: space-between;
|
|
7
|
+
background-color: $editor-nav-background-color;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
border-bottom: 2px solid #d8dee8;
|
|
10
|
+
padding: 0 15px;
|
|
11
|
+
.detailBtn {
|
|
12
|
+
span {
|
|
13
|
+
padding: 0 5px;
|
|
14
|
+
font-size: 18px;
|
|
15
|
+
}
|
|
16
|
+
.noactive {
|
|
17
|
+
color: #a1a7b0;
|
|
18
|
+
cursor: no-drop;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
.pageBtn {
|
|
22
|
+
white-space: nowrap;
|
|
23
|
+
> div {
|
|
24
|
+
margin: 0 5px;
|
|
25
|
+
}
|
|
26
|
+
.el-button-group {
|
|
27
|
+
span {
|
|
28
|
+
margin-right: 5px;
|
|
29
|
+
}
|
|
30
|
+
i {
|
|
31
|
+
font-size: 18px;
|
|
32
|
+
}
|
|
33
|
+
.info {
|
|
34
|
+
color: var(--el-color-primary);
|
|
35
|
+
}
|
|
36
|
+
}
|
|
37
|
+
}
|
|
38
|
+
:deep(.demo-drawer) {
|
|
39
|
+
width: 20% !important;
|
|
40
|
+
}
|
|
41
|
+
}
|
|
42
|
+
}
|
|
43
|
+
.codeDialog {
|
|
44
|
+
height: auto;
|
|
45
|
+
.custom_code {
|
|
46
|
+
height: 100%;
|
|
47
|
+
flex: 1;
|
|
48
|
+
.upload-demo {
|
|
49
|
+
margin-top: 20px;
|
|
50
|
+
}
|
|
51
|
+
}
|
|
52
|
+
}
|
|
53
|
+
.custom-tree-node {
|
|
54
|
+
display: flex;
|
|
55
|
+
align-items: center;
|
|
56
|
+
span:last-child {
|
|
57
|
+
justify-content: flex-end;
|
|
58
|
+
}
|
|
59
|
+
}
|
|
@@ -0,0 +1,46 @@
|
|
|
1
|
+
.starfish-editor {
|
|
2
|
+
.header_nav {
|
|
3
|
+
height: $editor_nav;
|
|
4
|
+
display: flex;
|
|
5
|
+
align-items: center;
|
|
6
|
+
justify-content: space-between;
|
|
7
|
+
// -webkit-box-shadow: 0 2px 10px rgb(70 160 252 / 60%);
|
|
8
|
+
// box-shadow: 0 2px 10px rgb(70 160 252 / 60%);
|
|
9
|
+
padding: 0 10px;
|
|
10
|
+
// background-image: linear-gradient(to right, #3d8ae8, #00b4aa);
|
|
11
|
+
position: relative;
|
|
12
|
+
border-bottom: 1px solid #d8dee8;
|
|
13
|
+
padding: 0 15px;
|
|
14
|
+
.logo {
|
|
15
|
+
font-size: 20px;
|
|
16
|
+
color: black;
|
|
17
|
+
display: flex;
|
|
18
|
+
align-items: center;
|
|
19
|
+
font-weight: bold;
|
|
20
|
+
> svg {
|
|
21
|
+
height: 69.34652458334297px;
|
|
22
|
+
transform: scale(0.5);
|
|
23
|
+
transform-origin: left center;
|
|
24
|
+
}
|
|
25
|
+
// > div {
|
|
26
|
+
// display: flex;
|
|
27
|
+
// align-items: center;
|
|
28
|
+
// }
|
|
29
|
+
// svg {
|
|
30
|
+
// width: 230px;
|
|
31
|
+
// height: 50px;
|
|
32
|
+
// }
|
|
33
|
+
}
|
|
34
|
+
.starfish-link {
|
|
35
|
+
a {
|
|
36
|
+
color: rgba(0, 0, 0, 0.9);
|
|
37
|
+
text-decoration: none;
|
|
38
|
+
font-size: 14px;
|
|
39
|
+
line-height: 50px;
|
|
40
|
+
font-weight: 500;
|
|
41
|
+
margin-left: 15px;
|
|
42
|
+
background: transparent;
|
|
43
|
+
}
|
|
44
|
+
}
|
|
45
|
+
}
|
|
46
|
+
}
|
|
@@ -0,0 +1,115 @@
|
|
|
1
|
+
.starfish-editor {
|
|
2
|
+
.editor_pages_right {
|
|
3
|
+
width: 100%;
|
|
4
|
+
height: 100%;
|
|
5
|
+
// position: fixed;
|
|
6
|
+
// right: 0;
|
|
7
|
+
background: white;
|
|
8
|
+
// padding: 30px 0;
|
|
9
|
+
z-index: 1;
|
|
10
|
+
position: relative;
|
|
11
|
+
display: flex;
|
|
12
|
+
overflow: hidden;
|
|
13
|
+
.demo-tabs {
|
|
14
|
+
flex: 1;
|
|
15
|
+
.el-tabs__nav {
|
|
16
|
+
display: flex;
|
|
17
|
+
justify-content: space-around;
|
|
18
|
+
width: 100%;
|
|
19
|
+
}
|
|
20
|
+
}
|
|
21
|
+
.form_tab3 {
|
|
22
|
+
padding: 5px;
|
|
23
|
+
.form_tab3_list {
|
|
24
|
+
margin-bottom: 15px;
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
.json {
|
|
28
|
+
padding: 10px;
|
|
29
|
+
height: 100%;
|
|
30
|
+
> div {
|
|
31
|
+
height: 90%;
|
|
32
|
+
}
|
|
33
|
+
}
|
|
34
|
+
.el-tabs__content {
|
|
35
|
+
padding: 0;
|
|
36
|
+
height: 100%;
|
|
37
|
+
> div {
|
|
38
|
+
height: 100%;
|
|
39
|
+
}
|
|
40
|
+
}
|
|
41
|
+
&.editor_transition {
|
|
42
|
+
transition: all 0.5s ease-in-out 0s;
|
|
43
|
+
}
|
|
44
|
+
.editor_container {
|
|
45
|
+
// position: absolute;
|
|
46
|
+
// left: 0;
|
|
47
|
+
// top: 0;
|
|
48
|
+
padding-top: 30px;
|
|
49
|
+
box-sizing: border-box;
|
|
50
|
+
height: 100%;
|
|
51
|
+
border-right: 1px solid $resizer_background_color;
|
|
52
|
+
margin-right: 5px;
|
|
53
|
+
}
|
|
54
|
+
.controlLine {
|
|
55
|
+
position: absolute;
|
|
56
|
+
left: 0;
|
|
57
|
+
height: 100%;
|
|
58
|
+
width: 5px;
|
|
59
|
+
background: red;
|
|
60
|
+
z-index: 2;
|
|
61
|
+
&:hover {
|
|
62
|
+
background: $blue;
|
|
63
|
+
cursor: ew-resize;
|
|
64
|
+
}
|
|
65
|
+
}
|
|
66
|
+
.viewAndJson {
|
|
67
|
+
display: flex;
|
|
68
|
+
justify-content: center;
|
|
69
|
+
justify-items: center;
|
|
70
|
+
margin: 5px auto;
|
|
71
|
+
width: 80%;
|
|
72
|
+
> div {
|
|
73
|
+
width: 30%;
|
|
74
|
+
border: 3px solid rgb(121, 118, 118);
|
|
75
|
+
height: 30px;
|
|
76
|
+
line-height: 30px;
|
|
77
|
+
text-align: center;
|
|
78
|
+
border-radius: 5px;
|
|
79
|
+
&.active {
|
|
80
|
+
border-color: $blue;
|
|
81
|
+
color: $blue;
|
|
82
|
+
}
|
|
83
|
+
}
|
|
84
|
+
}
|
|
85
|
+
.dynamic {
|
|
86
|
+
overflow: auto;
|
|
87
|
+
height: 100%;
|
|
88
|
+
@include scrollbar();
|
|
89
|
+
}
|
|
90
|
+
|
|
91
|
+
&.editor_pages_right_visible {
|
|
92
|
+
right: 0;
|
|
93
|
+
}
|
|
94
|
+
&.editor_pages_right_hidden {
|
|
95
|
+
transform: translateX(100%);
|
|
96
|
+
// right: -100%;
|
|
97
|
+
}
|
|
98
|
+
.editor_right_accept {
|
|
99
|
+
width: 20px;
|
|
100
|
+
height: 80px;
|
|
101
|
+
background: #fff;
|
|
102
|
+
box-shadow: -2px 0 4px 0 rgba(0, 0, 0, 0.1);
|
|
103
|
+
display: flex;
|
|
104
|
+
justify-content: center;
|
|
105
|
+
align-items: center;
|
|
106
|
+
right: 304px;
|
|
107
|
+
top: 50%;
|
|
108
|
+
margin-top: -32px;
|
|
109
|
+
transform: translateY(-50%);
|
|
110
|
+
cursor: pointer;
|
|
111
|
+
position: absolute;
|
|
112
|
+
left: -28px;
|
|
113
|
+
}
|
|
114
|
+
}
|
|
115
|
+
}
|
|
@@ -0,0 +1,15 @@
|
|
|
1
|
+
.starfish-editor {
|
|
2
|
+
&-resizer {
|
|
3
|
+
height: 100%;
|
|
4
|
+
width: 4px;
|
|
5
|
+
background: padding-box $resizer_background_color;
|
|
6
|
+
border-left: 1px solid transparent;
|
|
7
|
+
border-right: 1px solid transparent;
|
|
8
|
+
box-sizing: border-box;
|
|
9
|
+
z-index: 2;
|
|
10
|
+
&:hover {
|
|
11
|
+
cursor: ew-resize;
|
|
12
|
+
border-color: $resizer_hover_background_color;
|
|
13
|
+
}
|
|
14
|
+
}
|
|
15
|
+
}
|