# file_upload

Name file_upload
Type panel
Version 1.0
Since 2020-01-01

# Prologue

File Upload panel allows user to upload, delete and download files that can be displayed in any part of process with File Render panel.

# Preview

# Configuration

file_upload:
	render: {width: 6}
	config:

		# Required
		files:
			letter1:

				# Required
				# File title
				title: Invoice to confirm

				# Required
				# Variable with uploaded files IDs
				variable: letter

				# Optional | Default TRUE
				# File description
				notes: true

				upload:
					# Optional | Default - [] unlimited
					# Allowed file extensions are pdf and doc
					extensions: [pdf, doc]

					# Optional | Default - false
					# Allow upload multiple files
					multiple: true

					# Optional | Default - null unlimited
					# Minimal size of uploaded file
					filesize_min: 0.4 MB

					# Optional | Default - null unlimited
					# Maximal size of uploaded file
					filesize_max: 5 MB

				resize:
					# Optional | Default - null
					# Uploaded image will not exceed this height
					height: 1080

					# Optional | Default - null
					# Uploaded image will not exceed this width
					width: 1920

					# Optional | Default - 85
					# Modifies resulting image quality
					quality: 70

					# Optional | Default - false
					# Image will be sharpened after resizing
					sharpen: true

		ui:
			# Optional | Default - null
			# Panel title
			title: Upload files

			# Optional | Default - null
			# Panel description
			description: Description of the panel
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62