naive-ui-language-server 0.1.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/cache/json/affix.json +43 -0
- package/cache/json/alert.json +61 -0
- package/cache/json/anchor-link.json +19 -0
- package/cache/json/anchor.json +60 -0
- package/cache/json/auto-complete.json +206 -0
- package/cache/json/avatar-group.json +52 -0
- package/cache/json/avatar.json +102 -0
- package/cache/json/back-top.json +53 -0
- package/cache/json/badge.json +73 -0
- package/cache/json/blockquote.json +14 -0
- package/cache/json/breadcrumb-item.json +34 -0
- package/cache/json/breadcrumb.json +14 -0
- package/cache/json/button-group.json +26 -0
- package/cache/json/button.json +196 -0
- package/cache/json/calendar.json +38 -0
- package/cache/json/card.json +165 -0
- package/cache/json/carousel.json +197 -0
- package/cache/json/cascader.json +314 -0
- package/cache/json/checkbox-group.json +49 -0
- package/cache/json/checkbox.json +86 -0
- package/cache/json/code.json +54 -0
- package/cache/json/collapse-item.json +37 -0
- package/cache/json/collapse-transition.json +21 -0
- package/cache/json/collapse.json +73 -0
- package/cache/json/color-picker.json +159 -0
- package/cache/json/config-provider.json +90 -0
- package/cache/json/countdown.json +40 -0
- package/cache/json/data-table.json +384 -0
- package/cache/json/descriptions.json +93 -0
- package/cache/json/dialog.json +161 -0
- package/cache/json/divider.json +33 -0
- package/cache/json/drawer-content.json +81 -0
- package/cache/json/drawer.json +220 -0
- package/cache/json/dropdown.json +111 -0
- package/cache/json/dynamic-input.json +100 -0
- package/cache/json/dynamic-tags.json +129 -0
- package/cache/json/element.json +14 -0
- package/cache/json/empty.json +42 -0
- package/cache/json/equation.json +25 -0
- package/cache/json/flex.json +53 -0
- package/cache/json/float-button.json +101 -0
- package/cache/json/form-item.json +171 -0
- package/cache/json/form.json +115 -0
- package/cache/json/gradient-text.json +33 -0
- package/cache/json/grid-item.json +28 -0
- package/cache/json/grid.json +67 -0
- package/cache/json/heatmap.json +118 -0
- package/cache/json/highlight.json +52 -0
- package/cache/json/icon-wrapper.json +33 -0
- package/cache/json/icon.json +31 -0
- package/cache/json/image-group.json +83 -0
- package/cache/json/image-preview.json +58 -0
- package/cache/json/image.json +121 -0
- package/cache/json/input-number.json +203 -0
- package/cache/json/input.json +226 -0
- package/cache/json/list.json +35 -0
- package/cache/json/loading-bar-provider.json +31 -0
- package/cache/json/log.json +88 -0
- package/cache/json/marquee.json +21 -0
- package/cache/json/mention.json +193 -0
- package/cache/json/menu.json +228 -0
- package/cache/json/message-provider.json +60 -0
- package/cache/json/modal-provider.json +14 -0
- package/cache/json/modal.json +141 -0
- package/cache/json/notification-provider.json +54 -0
- package/cache/json/number-animation.json +61 -0
- package/cache/json/p.json +18 -0
- package/cache/json/page-header.json +31 -0
- package/cache/json/pagination.json +188 -0
- package/cache/json/popconfirm.json +52 -0
- package/cache/json/popover.json +241 -0
- package/cache/json/popselect.json +78 -0
- package/cache/json/progress.json +150 -0
- package/cache/json/radio-group.json +52 -0
- package/cache/json/rate.json +78 -0
- package/cache/json/result.json +49 -0
- package/cache/json/scrollbar.json +71 -0
- package/cache/json/select.json +358 -0
- package/cache/json/skeleton.json +72 -0
- package/cache/json/slider.json +143 -0
- package/cache/json/space.json +94 -0
- package/cache/json/spin.json +69 -0
- package/cache/json/split.json +116 -0
- package/cache/json/statistic.json +26 -0
- package/cache/json/step.json +38 -0
- package/cache/json/steps.json +61 -0
- package/cache/json/switch.json +86 -0
- package/cache/json/tab-pane.json +51 -0
- package/cache/json/tab.json +25 -0
- package/cache/json/table.json +54 -0
- package/cache/json/tabs.json +188 -0
- package/cache/json/tag.json +108 -0
- package/cache/json/text.json +73 -0
- package/cache/json/thing.json +62 -0
- package/cache/json/time-picker.json +237 -0
- package/cache/json/time.json +52 -0
- package/cache/json/timeline-item.json +56 -0
- package/cache/json/timeline.json +42 -0
- package/cache/json/transfer.json +151 -0
- package/cache/json/tree-select.json +384 -0
- package/cache/json/tree.json +421 -0
- package/cache/json/upload-trigger.json +14 -0
- package/cache/json/upload.json +312 -0
- package/cache/json/watermark.json +193 -0
- package/dist/server.js +213851 -0
- package/dist/server.js.map +1 -0
- package/package.json +42 -0
|
@@ -0,0 +1,312 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "NUpload",
|
|
3
|
+
"tag": "n-upload",
|
|
4
|
+
"description": "如果不在意延迟,我更想用卡车和硬盘。",
|
|
5
|
+
"props": [
|
|
6
|
+
{
|
|
7
|
+
"name": "abstract",
|
|
8
|
+
"type": "boolean",
|
|
9
|
+
"description": "是否不存在 DOM 包裹,不支持 `image-card` 类型的 Upload",
|
|
10
|
+
"required": false,
|
|
11
|
+
"default": false
|
|
12
|
+
},
|
|
13
|
+
{
|
|
14
|
+
"name": "accept",
|
|
15
|
+
"type": "string",
|
|
16
|
+
"description": "接受的文件类型,参考 <n-a href=\"https://developer.mozilla.org/en-US/docs/Web/HTML/Element/input/file#accept\" target=\"_blank\">accept</n-a>",
|
|
17
|
+
"required": false
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "action",
|
|
21
|
+
"type": "string",
|
|
22
|
+
"description": "请求提交的地址",
|
|
23
|
+
"required": false
|
|
24
|
+
},
|
|
25
|
+
{
|
|
26
|
+
"name": "create-thumbnail-url",
|
|
27
|
+
"type": "(file: File",
|
|
28
|
+
"description": "自定义文件缩略图,如果返回了 `undefined`,会使用默认的缩略图展示逻辑",
|
|
29
|
+
"required": false
|
|
30
|
+
},
|
|
31
|
+
{
|
|
32
|
+
"name": "custom-request",
|
|
33
|
+
"type": "(options: UploadCustomRequestOptions) => void",
|
|
34
|
+
"description": "自定义上传方法,类型参考 <n-a href=\"#UploadCustomRequestOptions-Type\">UploadCustomRequestOptions</n-a>",
|
|
35
|
+
"required": false
|
|
36
|
+
},
|
|
37
|
+
{
|
|
38
|
+
"name": "custom-download",
|
|
39
|
+
"type": "(file: FileInfo) => void",
|
|
40
|
+
"description": "自定义下载方法",
|
|
41
|
+
"required": false
|
|
42
|
+
},
|
|
43
|
+
{
|
|
44
|
+
"name": "data",
|
|
45
|
+
"type": "Object",
|
|
46
|
+
"description": "提交表单需要附加的数据",
|
|
47
|
+
"required": false
|
|
48
|
+
},
|
|
49
|
+
{
|
|
50
|
+
"name": "default-file-list",
|
|
51
|
+
"type": "Array<UploadFileInfo>",
|
|
52
|
+
"description": "非受控状态下默认的文件列表",
|
|
53
|
+
"required": false,
|
|
54
|
+
"default": []
|
|
55
|
+
},
|
|
56
|
+
{
|
|
57
|
+
"name": "default-upload",
|
|
58
|
+
"type": "boolean",
|
|
59
|
+
"description": "选择文件时候是否默认上传",
|
|
60
|
+
"required": false,
|
|
61
|
+
"default": true
|
|
62
|
+
},
|
|
63
|
+
{
|
|
64
|
+
"name": "disabled",
|
|
65
|
+
"type": "boolean",
|
|
66
|
+
"description": "是否禁用",
|
|
67
|
+
"required": false,
|
|
68
|
+
"default": false
|
|
69
|
+
},
|
|
70
|
+
{
|
|
71
|
+
"name": "directory",
|
|
72
|
+
"type": "boolean",
|
|
73
|
+
"description": "是否支持目录上传(在文件选框中只能选择目录)",
|
|
74
|
+
"required": false,
|
|
75
|
+
"default": false
|
|
76
|
+
},
|
|
77
|
+
{
|
|
78
|
+
"name": "directory-dnd",
|
|
79
|
+
"type": "boolean",
|
|
80
|
+
"description": "是否支持目录拖拽上传(如果不设定会默认跟随 `directory`)",
|
|
81
|
+
"required": false,
|
|
82
|
+
"default": false
|
|
83
|
+
},
|
|
84
|
+
{
|
|
85
|
+
"name": "file-list-class",
|
|
86
|
+
"type": "string",
|
|
87
|
+
"description": "文件列表区域的类名",
|
|
88
|
+
"required": false
|
|
89
|
+
},
|
|
90
|
+
{
|
|
91
|
+
"name": "file-list-style",
|
|
92
|
+
"type": "Object",
|
|
93
|
+
"description": "文件列表区域的样式",
|
|
94
|
+
"required": false
|
|
95
|
+
},
|
|
96
|
+
{
|
|
97
|
+
"name": "file-list",
|
|
98
|
+
"type": "Array<UploadFileInfo>",
|
|
99
|
+
"description": "文件列表,如果传入组件会处于受控状态",
|
|
100
|
+
"required": false
|
|
101
|
+
},
|
|
102
|
+
{
|
|
103
|
+
"name": "headers",
|
|
104
|
+
"type": "Object",
|
|
105
|
+
"description": "HTTP 请求需要附加的 Headers",
|
|
106
|
+
"required": false
|
|
107
|
+
},
|
|
108
|
+
{
|
|
109
|
+
"name": "image-group-props",
|
|
110
|
+
"type": "ImageGroupProps",
|
|
111
|
+
"description": "Upload 中预览图片组件的属性,参考 [ImageGroup Props](image#ImageGroup-Props)",
|
|
112
|
+
"required": false
|
|
113
|
+
},
|
|
114
|
+
{
|
|
115
|
+
"name": "input-props",
|
|
116
|
+
"type": "InputHTMLAttributes",
|
|
117
|
+
"description": "file input 元素的属性",
|
|
118
|
+
"required": false
|
|
119
|
+
},
|
|
120
|
+
{
|
|
121
|
+
"name": "is-error-state",
|
|
122
|
+
"type": "(xhr: XMLHttpRequest) => boolean",
|
|
123
|
+
"description": "判断请求是否为异常状态",
|
|
124
|
+
"required": false
|
|
125
|
+
},
|
|
126
|
+
{
|
|
127
|
+
"name": "list-type",
|
|
128
|
+
"type": "string",
|
|
129
|
+
"description": "文件列表的���建样式,`text`、`image` 和 `image-card`",
|
|
130
|
+
"required": false,
|
|
131
|
+
"default": "text"
|
|
132
|
+
},
|
|
133
|
+
{
|
|
134
|
+
"name": "max",
|
|
135
|
+
"type": "number",
|
|
136
|
+
"description": "限制上传文件数量",
|
|
137
|
+
"required": false
|
|
138
|
+
},
|
|
139
|
+
{
|
|
140
|
+
"name": "method",
|
|
141
|
+
"type": "string",
|
|
142
|
+
"description": "HTTP 请求的方法",
|
|
143
|
+
"required": false,
|
|
144
|
+
"default": "POST"
|
|
145
|
+
},
|
|
146
|
+
{
|
|
147
|
+
"name": "multiple",
|
|
148
|
+
"type": "boolean",
|
|
149
|
+
"description": "是否支持多个文件",
|
|
150
|
+
"required": false,
|
|
151
|
+
"default": false
|
|
152
|
+
},
|
|
153
|
+
{
|
|
154
|
+
"name": "name",
|
|
155
|
+
"type": "string",
|
|
156
|
+
"description": "文件在提交表单中的字段名",
|
|
157
|
+
"required": false,
|
|
158
|
+
"default": "file"
|
|
159
|
+
},
|
|
160
|
+
{
|
|
161
|
+
"name": "render-icon",
|
|
162
|
+
"type": "(file: UploadSettledFileInfo) => VNodeChild",
|
|
163
|
+
"description": "文件图标的渲染函数,仅在 `list-type=\"image\"` 和 `list-type=\"image-card\"` 时生效",
|
|
164
|
+
"required": false
|
|
165
|
+
},
|
|
166
|
+
{
|
|
167
|
+
"name": "response-type",
|
|
168
|
+
"type": "string",
|
|
169
|
+
"description": "`n-upload` 使用的 `XMLHttpRequest` 的 `responseType`",
|
|
170
|
+
"required": false,
|
|
171
|
+
"default": "",
|
|
172
|
+
"options": [
|
|
173
|
+
" | ",
|
|
174
|
+
" | ",
|
|
175
|
+
" | ",
|
|
176
|
+
" | ",
|
|
177
|
+
" | "
|
|
178
|
+
]
|
|
179
|
+
},
|
|
180
|
+
{
|
|
181
|
+
"name": "should-use-thumbnail-url",
|
|
182
|
+
"type": "(file: UploadSettledFileInfo) => boolean",
|
|
183
|
+
"description": "是否要对文件使用预览图的判定函数,只在 `list-type=\"image\"` 或 `list-type=\"image-card\"` 时生效",
|
|
184
|
+
"required": false,
|
|
185
|
+
"default": "只对图片类文件返回 true 的函数"
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"name": "show-cancel-button",
|
|
189
|
+
"type": "boolean",
|
|
190
|
+
"description": "是否显示取消按钮(在 pending、uploading、error 的时候展示),点击取消按钮会触发 `on-remove` 回调",
|
|
191
|
+
"required": false,
|
|
192
|
+
"default": true
|
|
193
|
+
},
|
|
194
|
+
{
|
|
195
|
+
"name": "show-download-button",
|
|
196
|
+
"type": "boolean",
|
|
197
|
+
"description": "是否显示下载按钮(在 finished 后展示)",
|
|
198
|
+
"required": false,
|
|
199
|
+
"default": false
|
|
200
|
+
},
|
|
201
|
+
{
|
|
202
|
+
"name": "show-remove-button",
|
|
203
|
+
"type": "boolean",
|
|
204
|
+
"description": "是否显示删除按钮(在 finished 后时候展示),点击删除按钮会触发 `on-remove` 回调",
|
|
205
|
+
"required": false,
|
|
206
|
+
"default": true
|
|
207
|
+
},
|
|
208
|
+
{
|
|
209
|
+
"name": "show-retry-button",
|
|
210
|
+
"type": "boolean",
|
|
211
|
+
"description": "是否显示重新上传按钮(在 error 时展示)",
|
|
212
|
+
"required": false,
|
|
213
|
+
"default": true
|
|
214
|
+
},
|
|
215
|
+
{
|
|
216
|
+
"name": "show-file-list",
|
|
217
|
+
"type": "boolean",
|
|
218
|
+
"description": "是否显示文件列表",
|
|
219
|
+
"required": false,
|
|
220
|
+
"default": true
|
|
221
|
+
},
|
|
222
|
+
{
|
|
223
|
+
"name": "show-preview-button",
|
|
224
|
+
"type": "boolean",
|
|
225
|
+
"description": "是否允许显示预览按钮(在 `list-type` 为 `image-card` 时生效)",
|
|
226
|
+
"required": false,
|
|
227
|
+
"default": true
|
|
228
|
+
},
|
|
229
|
+
{
|
|
230
|
+
"name": "show-trigger",
|
|
231
|
+
"type": "boolean",
|
|
232
|
+
"description": "是否显示触发元素",
|
|
233
|
+
"required": false,
|
|
234
|
+
"default": true
|
|
235
|
+
},
|
|
236
|
+
{
|
|
237
|
+
"name": "trigger-class",
|
|
238
|
+
"type": "string",
|
|
239
|
+
"description": "触发器区域的类名",
|
|
240
|
+
"required": false
|
|
241
|
+
},
|
|
242
|
+
{
|
|
243
|
+
"name": "trigger-style",
|
|
244
|
+
"type": "Object",
|
|
245
|
+
"description": "触发器区域的样式",
|
|
246
|
+
"required": false
|
|
247
|
+
},
|
|
248
|
+
{
|
|
249
|
+
"name": "with-credentials",
|
|
250
|
+
"type": "boolean",
|
|
251
|
+
"description": "是否携带 Cookie",
|
|
252
|
+
"required": false,
|
|
253
|
+
"default": false
|
|
254
|
+
},
|
|
255
|
+
{
|
|
256
|
+
"name": "on-change",
|
|
257
|
+
"type": "(options: { file: UploadFileInfo, fileList: Array<UploadFileInfo>, event?: Event }) => void",
|
|
258
|
+
"description": "组件状态变化的回调,组件的任何文件状态变化都会触发回调",
|
|
259
|
+
"required": false
|
|
260
|
+
},
|
|
261
|
+
{
|
|
262
|
+
"name": "on-error",
|
|
263
|
+
"type": "(options: { file: UploadFileInfo, event?: ProgressEvent }) => UploadFileInfo",
|
|
264
|
+
"description": "文件上传失败的回调",
|
|
265
|
+
"required": false
|
|
266
|
+
},
|
|
267
|
+
{
|
|
268
|
+
"name": "on-finish",
|
|
269
|
+
"type": "(options: { file: UploadFileInfo, event?: ProgressEvent }) => UploadFileInfo",
|
|
270
|
+
"description": "文件上传结束的回调,可以修改传入的 UploadFileInfo 或者返回一个新的 UploadFileInfo。注意:file 将会下一次事件循环中被置为 null",
|
|
271
|
+
"required": false,
|
|
272
|
+
"default": "({ file }) => file"
|
|
273
|
+
},
|
|
274
|
+
{
|
|
275
|
+
"name": "on-before-upload",
|
|
276
|
+
"type": "(options: { file: UploadFileInfo, fileList: UploadFileInfo[] }) => (Promise<boolean",
|
|
277
|
+
"description": "文件上传之前的回调,返回 `false`、`Promise resolve false`、`Promise rejected` 时会取消本次上传",
|
|
278
|
+
"required": false
|
|
279
|
+
},
|
|
280
|
+
{
|
|
281
|
+
"name": "on-download",
|
|
282
|
+
"type": "(file: FileInfo) => Promise<boolean>",
|
|
283
|
+
"description": "点击文件下载按钮的回调函数,返回 `false`、`Promise resolve false`、`Promise rejected` 时会取消本次下载",
|
|
284
|
+
"required": false
|
|
285
|
+
},
|
|
286
|
+
{
|
|
287
|
+
"name": "on-preview",
|
|
288
|
+
"type": "(file: FileInfo, detail: { event: MouseEvent }) => void",
|
|
289
|
+
"description": "点击文件链接或预览按钮的回调函数,你可以通过 `preventDefault` 来取消默认的链接打开行为",
|
|
290
|
+
"required": false
|
|
291
|
+
},
|
|
292
|
+
{
|
|
293
|
+
"name": "on-remove",
|
|
294
|
+
"type": "(options: { file: UploadFileInfo, fileList: Array<UploadFileInfo>, index: number }) => Promise<boolean>",
|
|
295
|
+
"description": "文件删除回调,返回 `false`、`Promise resolve false`、`Promise rejected` 时会取消本次删除",
|
|
296
|
+
"required": false,
|
|
297
|
+
"default": "() => true"
|
|
298
|
+
},
|
|
299
|
+
{
|
|
300
|
+
"name": "on-retry",
|
|
301
|
+
"type": "(options: { file: UploadFileInfo }) => (Promise<boolean",
|
|
302
|
+
"description": "点击重试的回调函数,返回 `false`、`Promise resolve false`、`Promise rejected` 时会取消本次重试",
|
|
303
|
+
"required": false
|
|
304
|
+
},
|
|
305
|
+
{
|
|
306
|
+
"name": "on-update:file-list",
|
|
307
|
+
"type": "(fileList: UploadFileInfo[]) => void",
|
|
308
|
+
"description": "当 file-list 改变时触发的回调函数",
|
|
309
|
+
"required": false
|
|
310
|
+
}
|
|
311
|
+
]
|
|
312
|
+
}
|
|
@@ -0,0 +1,193 @@
|
|
|
1
|
+
{
|
|
2
|
+
"name": "NWatermark",
|
|
3
|
+
"tag": "n-watermark",
|
|
4
|
+
"description": "出现在钱上的时候比较可爱。",
|
|
5
|
+
"props": [
|
|
6
|
+
{
|
|
7
|
+
"name": "content",
|
|
8
|
+
"type": "string",
|
|
9
|
+
"description": "水印文本",
|
|
10
|
+
"required": false
|
|
11
|
+
},
|
|
12
|
+
{
|
|
13
|
+
"name": "cross",
|
|
14
|
+
"type": "boolean",
|
|
15
|
+
"description": "是否跨越边界显示",
|
|
16
|
+
"required": false,
|
|
17
|
+
"default": false
|
|
18
|
+
},
|
|
19
|
+
{
|
|
20
|
+
"name": "debug",
|
|
21
|
+
"type": "boolean",
|
|
22
|
+
"description": "是否显示调试信息",
|
|
23
|
+
"required": false,
|
|
24
|
+
"default": false
|
|
25
|
+
},
|
|
26
|
+
{
|
|
27
|
+
"name": "font-size",
|
|
28
|
+
"type": "number",
|
|
29
|
+
"description": "字体大小",
|
|
30
|
+
"required": false,
|
|
31
|
+
"default": 14
|
|
32
|
+
},
|
|
33
|
+
{
|
|
34
|
+
"name": "font-family",
|
|
35
|
+
"type": "string",
|
|
36
|
+
"description": "字体族",
|
|
37
|
+
"required": false
|
|
38
|
+
},
|
|
39
|
+
{
|
|
40
|
+
"name": "font-style",
|
|
41
|
+
"type": "string",
|
|
42
|
+
"description": "字体风格",
|
|
43
|
+
"required": false,
|
|
44
|
+
"default": "normal",
|
|
45
|
+
"options": [
|
|
46
|
+
"normal",
|
|
47
|
+
"italic"
|
|
48
|
+
]
|
|
49
|
+
},
|
|
50
|
+
{
|
|
51
|
+
"name": "font-variant",
|
|
52
|
+
"type": "string",
|
|
53
|
+
"description": "字型",
|
|
54
|
+
"required": false,
|
|
55
|
+
"default": ""
|
|
56
|
+
},
|
|
57
|
+
{
|
|
58
|
+
"name": "font-weight",
|
|
59
|
+
"type": "number",
|
|
60
|
+
"description": "字重",
|
|
61
|
+
"required": false,
|
|
62
|
+
"default": 400
|
|
63
|
+
},
|
|
64
|
+
{
|
|
65
|
+
"name": "font-color",
|
|
66
|
+
"type": "string",
|
|
67
|
+
"description": "字体颜色",
|
|
68
|
+
"required": false,
|
|
69
|
+
"default": "rgba(128, 128, 128, .3)"
|
|
70
|
+
},
|
|
71
|
+
{
|
|
72
|
+
"name": "fullscreen",
|
|
73
|
+
"type": "boolean",
|
|
74
|
+
"description": "是否展示全屏",
|
|
75
|
+
"required": false,
|
|
76
|
+
"default": false
|
|
77
|
+
},
|
|
78
|
+
{
|
|
79
|
+
"name": "global-rotate",
|
|
80
|
+
"type": "number",
|
|
81
|
+
"description": "水印整体的旋转",
|
|
82
|
+
"required": false,
|
|
83
|
+
"default": 0
|
|
84
|
+
},
|
|
85
|
+
{
|
|
86
|
+
"name": "line-height",
|
|
87
|
+
"type": "number",
|
|
88
|
+
"description": "行高",
|
|
89
|
+
"required": false,
|
|
90
|
+
"default": 14
|
|
91
|
+
},
|
|
92
|
+
{
|
|
93
|
+
"name": "height",
|
|
94
|
+
"type": "number",
|
|
95
|
+
"description": "高度",
|
|
96
|
+
"required": false,
|
|
97
|
+
"default": 32
|
|
98
|
+
},
|
|
99
|
+
{
|
|
100
|
+
"name": "image",
|
|
101
|
+
"type": "string",
|
|
102
|
+
"description": "图片路径",
|
|
103
|
+
"required": false
|
|
104
|
+
},
|
|
105
|
+
{
|
|
106
|
+
"name": "image-height",
|
|
107
|
+
"type": "number",
|
|
108
|
+
"description": "图片高度",
|
|
109
|
+
"required": false
|
|
110
|
+
},
|
|
111
|
+
{
|
|
112
|
+
"name": "image-opacity",
|
|
113
|
+
"type": "number",
|
|
114
|
+
"description": "图片不透明度",
|
|
115
|
+
"required": false,
|
|
116
|
+
"default": 1
|
|
117
|
+
},
|
|
118
|
+
{
|
|
119
|
+
"name": "image-width",
|
|
120
|
+
"type": "number",
|
|
121
|
+
"description": "图片宽度",
|
|
122
|
+
"required": false
|
|
123
|
+
},
|
|
124
|
+
{
|
|
125
|
+
"name": "rotate",
|
|
126
|
+
"type": "number",
|
|
127
|
+
"description": "旋转角度",
|
|
128
|
+
"required": false,
|
|
129
|
+
"default": 0
|
|
130
|
+
},
|
|
131
|
+
{
|
|
132
|
+
"name": "selectable",
|
|
133
|
+
"type": "boolean",
|
|
134
|
+
"description": "被水印覆盖的内容是否可选中",
|
|
135
|
+
"required": false,
|
|
136
|
+
"default": true
|
|
137
|
+
},
|
|
138
|
+
{
|
|
139
|
+
"name": "text-align",
|
|
140
|
+
"type": "string",
|
|
141
|
+
"description": "在文本有多行的情况下,多行文本的对齐方式",
|
|
142
|
+
"required": false,
|
|
143
|
+
"default": "left",
|
|
144
|
+
"options": [
|
|
145
|
+
"left",
|
|
146
|
+
"center",
|
|
147
|
+
"right"
|
|
148
|
+
]
|
|
149
|
+
},
|
|
150
|
+
{
|
|
151
|
+
"name": "width",
|
|
152
|
+
"type": "number",
|
|
153
|
+
"description": "宽度",
|
|
154
|
+
"required": false,
|
|
155
|
+
"default": 32
|
|
156
|
+
},
|
|
157
|
+
{
|
|
158
|
+
"name": "x-gap",
|
|
159
|
+
"type": "number",
|
|
160
|
+
"description": "x 轴间隔",
|
|
161
|
+
"required": false,
|
|
162
|
+
"default": 0
|
|
163
|
+
},
|
|
164
|
+
{
|
|
165
|
+
"name": "x-offset",
|
|
166
|
+
"type": "number",
|
|
167
|
+
"description": "x 轴偏移",
|
|
168
|
+
"required": false,
|
|
169
|
+
"default": 0
|
|
170
|
+
},
|
|
171
|
+
{
|
|
172
|
+
"name": "y-gap",
|
|
173
|
+
"type": "number",
|
|
174
|
+
"description": "y 轴间隔",
|
|
175
|
+
"required": false,
|
|
176
|
+
"default": 0
|
|
177
|
+
},
|
|
178
|
+
{
|
|
179
|
+
"name": "y-offset",
|
|
180
|
+
"type": "number",
|
|
181
|
+
"description": "y 轴偏移",
|
|
182
|
+
"required": false,
|
|
183
|
+
"default": 0
|
|
184
|
+
},
|
|
185
|
+
{
|
|
186
|
+
"name": "z-index",
|
|
187
|
+
"type": "number",
|
|
188
|
+
"description": "z 轴高度",
|
|
189
|
+
"required": false,
|
|
190
|
+
"default": 10
|
|
191
|
+
}
|
|
192
|
+
]
|
|
193
|
+
}
|