formiojs-eorion 0.1.49 → 0.1.51
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/Formio.js +1 -1
- package/components/ActionButton/editForm/ActionButton.edit.display.js +1 -0
- package/components/Chart/Chart.js +0 -1
- package/components/CustomCheckBox/editForm/CustomCheckBox.edit.data.js +2 -1
- package/components/CustomRadio/editForm/CustomRadio.edit.data.js +3 -1
- package/components/CustomSelect/editForm/CustomSelect.edit.data.js +1 -1
- package/components/CustomTable/CustomTable.js +0 -1
- package/components/CustomTable/editForm/CustomTable.edit.data.js +1 -1
- package/components/CustomTabs/Tabs.js +0 -1
- package/components/CustomTextArea/editForm/CustomTextArea.edit.data.js +2 -2
- package/components/CustomTextField/editForm/CustomTextField.edit.data.js +2 -2
- package/components/Data/Data.js +0 -1
- package/components/Data/editForm/Data.edit.display.js +12 -11
- package/components/DataChinaGrid/Data.js +0 -1
- package/components/DataChinaGrid/editForm/Data.edit.display.js +13 -6
- package/components/DataChinaGridRow/Data.js +0 -1
- package/components/DataChinaGridRow/editForm/Data.edit.display.js +13 -6
- package/components/DataSource/DataSource.js +0 -1
- package/components/DataSource/editForm/DataSource.edit.data.js +1 -1
- package/components/Department/Department.js +0 -1
- package/components/Department/editForm/Department.edit.display.js +2 -2
- package/components/Flex/Flex.js +0 -1
- package/components/Flex/editForm/Flex.edit.display.js +2 -2
- package/components/LocationInputTextField/editForm/LocationInputTextField.edit.data.js +3 -1
- package/components/NewsData/NewsData.js +0 -1
- package/components/ProcessTable/ProcessTable.js +0 -1
- package/components/ProcessTable/editForm/ProcessTable.edit.display.js +3 -0
- package/components/QrCode/QrCode.js +0 -1
- package/components/ScanInputTextField/editForm/ScanInputTextField.edit.data.js +2 -2
- package/components/TaskCalendar/TaskCalendar.js +2 -3
- package/components/TaskCalendar/editForm/TaskCalendar.edit.data.js +4 -0
- package/components/WeightInputTextField/editForm/WeightInputTextField.edit.data.js +2 -2
- package/components/_classes/Department/Department.js +0 -1
- package/components/_classes/Department/editForm/Department.edit.display.js +2 -2
- package/components/buttonGroups/ButtonGroups.js +0 -1
- package/components/echarts/ECharts.js +0 -1
- package/components/echarts/editForm/ECharts.edit.display.js +1 -0
- package/components/html/editForm/HTML.edit.display.js +1 -0
- package/components/iconButton/IconButton.js +0 -1
- package/components/iconButton/editForm/IconButton.edit.display.js +7 -4
- package/components/map/Map.js +0 -1
- package/components/map/editForm/Map.edit.data.js +9 -1
- package/components/progress/Progress.js +0 -1
- package/components/progress/editForm/Progress.edit.display.js +1 -1
- package/components/range/Range.js +8 -6
- package/components/tree/Tree.js +0 -1
- package/components/tree/editForm/Tree.edit.display.js +1 -1
- package/dist/formio.contrib.js +2 -2
- package/dist/formio.contrib.min.js +1 -1
- package/dist/formio.contrib.min.js.LICENSE.txt +1 -1
- package/dist/formio.embed.min.js.LICENSE.txt +1 -1
- package/dist/formio.form.js +44 -44
- package/dist/formio.form.min.js +1 -1
- package/dist/formio.form.min.js.LICENSE.txt +1 -1
- package/dist/formio.full.js +44 -44
- package/dist/formio.full.min.js +1 -1
- package/dist/formio.full.min.js.LICENSE.txt +1 -1
- package/dist/formio.js +1 -1
- package/dist/formio.min.js +1 -1
- package/dist/formio.min.js.LICENSE.txt +1 -1
- package/dist/formio.utils.min.js.LICENSE.txt +1 -1
- package/package.json +1 -1
- package/templates/bootstrap/builderEditForm/form.ejs.js +1 -1
package/Formio.js
CHANGED
|
@@ -1724,7 +1724,7 @@ Formio.projectUrlSet = false;
|
|
|
1724
1724
|
Formio.plugins = [];
|
|
1725
1725
|
Formio.cache = {};
|
|
1726
1726
|
Formio.Providers = _providers.default;
|
|
1727
|
-
Formio.version = '0.1.
|
|
1727
|
+
Formio.version = '0.1.51';
|
|
1728
1728
|
Formio.pathType = '';
|
|
1729
1729
|
Formio.events = new _EventEmitter.default();
|
|
1730
1730
|
Formio.cdn = new _CDN.default();
|
|
@@ -65,7 +65,7 @@ var _default = [{
|
|
|
65
65
|
editor: 'ace',
|
|
66
66
|
input: true,
|
|
67
67
|
weight: 11,
|
|
68
|
-
placeholder: "{\n
|
|
68
|
+
placeholder: "{\n \"ignoreCache\": true,\n \"headers\": {\"Authorization\": \"${data.token}\"}\n}",
|
|
69
69
|
conditional: {
|
|
70
70
|
json: {
|
|
71
71
|
'===': [{
|
|
@@ -79,6 +79,7 @@ var _default = [{
|
|
|
79
79
|
key: 'body',
|
|
80
80
|
input: true,
|
|
81
81
|
weight: 11,
|
|
82
|
+
placeholder: "{\n "token": "${data.token}"\n}",
|
|
82
83
|
tooltip: '输入请求的body(json)',
|
|
83
84
|
conditional: {
|
|
84
85
|
json: {
|
|
@@ -65,7 +65,7 @@ var _default = [{
|
|
|
65
65
|
editor: 'ace',
|
|
66
66
|
input: true,
|
|
67
67
|
weight: 0,
|
|
68
|
-
placeholder: "{\n
|
|
68
|
+
placeholder: "{\n \"ignoreCache\": true,\n \"headers\": {\"Authorization\": \"${data.token}\"}\n}",
|
|
69
69
|
conditional: {
|
|
70
70
|
json: {
|
|
71
71
|
'===': [{
|
|
@@ -79,6 +79,7 @@ var _default = [{
|
|
|
79
79
|
key: 'defaultValueBody',
|
|
80
80
|
input: true,
|
|
81
81
|
weight: 0,
|
|
82
|
+
placeholder: "{\n "token": "${data.token}"\n}",
|
|
82
83
|
tooltip: '输入请求的body(json)',
|
|
83
84
|
conditional: {
|
|
84
85
|
json: {
|
|
@@ -115,6 +116,7 @@ var _default = [{
|
|
|
115
116
|
key: 'data.body',
|
|
116
117
|
input: true,
|
|
117
118
|
weight: 11,
|
|
119
|
+
placeholder: "{\n "token": "${data.token}"\n}",
|
|
118
120
|
tooltip: '输入请求的body(json)',
|
|
119
121
|
conditional: {
|
|
120
122
|
json: {
|
|
@@ -69,7 +69,7 @@ var _default = [{
|
|
|
69
69
|
editor: 'ace',
|
|
70
70
|
input: true,
|
|
71
71
|
weight: 4,
|
|
72
|
-
placeholder: "{\n
|
|
72
|
+
placeholder: "{\n \"ignoreCache\": true,\n \"headers\": {\"Authorization\": \"${data.token}\"}\n}",
|
|
73
73
|
conditional: {
|
|
74
74
|
json: {
|
|
75
75
|
'===': [{
|
|
@@ -83,7 +83,7 @@ var _default = [{
|
|
|
83
83
|
key: 'body',
|
|
84
84
|
input: true,
|
|
85
85
|
weight: 4,
|
|
86
|
-
placeholder: "{\n
|
|
86
|
+
placeholder: "{\n "token": "${data.token}"\n}",
|
|
87
87
|
tooltip: '输入请求的body(json)',
|
|
88
88
|
conditional: {
|
|
89
89
|
json: {
|
|
@@ -69,7 +69,7 @@ var _default = [{
|
|
|
69
69
|
editor: 'ace',
|
|
70
70
|
input: true,
|
|
71
71
|
weight: 4,
|
|
72
|
-
placeholder: "{\n
|
|
72
|
+
placeholder: "{\n \"ignoreCache\": true,\n \"headers\": {\"Authorization\": \"${data.token}\"}\n}",
|
|
73
73
|
conditional: {
|
|
74
74
|
json: {
|
|
75
75
|
'===': [{
|
|
@@ -83,7 +83,7 @@ var _default = [{
|
|
|
83
83
|
key: 'body',
|
|
84
84
|
input: true,
|
|
85
85
|
weight: 4,
|
|
86
|
-
placeholder: "{\n
|
|
86
|
+
placeholder: "{\n "token": "${data.token}"\n}",
|
|
87
87
|
tooltip: '输入请求的body(json)',
|
|
88
88
|
conditional: {
|
|
89
89
|
json: {
|
package/components/Data/Data.js
CHANGED
|
@@ -17,8 +17,8 @@ var _default = [{
|
|
|
17
17
|
key: 'custom-style-title',
|
|
18
18
|
editor: 'ace',
|
|
19
19
|
input: true,
|
|
20
|
-
|
|
21
|
-
tooltip: '自定义的style:json
|
|
20
|
+
placeholder: "{\n \"border\": \"none\",\n \"border-radius\": \"30px\"\n}",
|
|
21
|
+
tooltip: '自定义的style:json格式',
|
|
22
22
|
weight: 1
|
|
23
23
|
}, {
|
|
24
24
|
type: 'input',
|
|
@@ -33,8 +33,8 @@ var _default = [{
|
|
|
33
33
|
key: 'custom-style-sub-title',
|
|
34
34
|
editor: 'ace',
|
|
35
35
|
input: true,
|
|
36
|
-
|
|
37
|
-
tooltip: '自定义的style:json
|
|
36
|
+
placeholder: "{\n \"border\": \"none\",\n \"border-radius\": \"30px\"\n}",
|
|
37
|
+
tooltip: '自定义的style:json格式',
|
|
38
38
|
weight: 1
|
|
39
39
|
}, {
|
|
40
40
|
type: 'input',
|
|
@@ -50,8 +50,8 @@ var _default = [{
|
|
|
50
50
|
key: 'custom-style-bg',
|
|
51
51
|
editor: 'ace',
|
|
52
52
|
input: true,
|
|
53
|
-
|
|
54
|
-
tooltip: '自定义的style:json格式(支持变量)
|
|
53
|
+
placeholder: "{\n \"border\": \"none\",\n \"border-radius\": \"30px\"\n}",
|
|
54
|
+
tooltip: '自定义的style:json格式(支持变量)',
|
|
55
55
|
weight: 2
|
|
56
56
|
}, {
|
|
57
57
|
type: 'panel',
|
|
@@ -126,10 +126,10 @@ var _default = [{
|
|
|
126
126
|
type: 'textarea',
|
|
127
127
|
label: '自定义样式',
|
|
128
128
|
key: 'custom-style-value',
|
|
129
|
+
placeholder: "{\n \"border\": \"none\",\n \"border-radius\": \"30px\"\n}",
|
|
129
130
|
editor: 'ace',
|
|
130
131
|
input: true,
|
|
131
|
-
|
|
132
|
-
tooltip: '自定义的style:json格式,ex:{"border":"none","border-radius":"30px"}'
|
|
132
|
+
tooltip: '自定义的style:json格式'
|
|
133
133
|
}]
|
|
134
134
|
}, {
|
|
135
135
|
type: 'panel',
|
|
@@ -161,8 +161,8 @@ var _default = [{
|
|
|
161
161
|
key: 'custom-style-sub-value',
|
|
162
162
|
editor: 'ace',
|
|
163
163
|
input: true,
|
|
164
|
-
|
|
165
|
-
tooltip: '自定义的style:json
|
|
164
|
+
placeholder: "{\n \"border\": \"none\",\n \"border-radius\": \"30px\"\n}",
|
|
165
|
+
tooltip: '自定义的style:json格式'
|
|
166
166
|
}]
|
|
167
167
|
}, {
|
|
168
168
|
type: 'panel',
|
|
@@ -390,7 +390,8 @@ var _default = [{
|
|
|
390
390
|
key: 'click-event-params',
|
|
391
391
|
type: 'textarea',
|
|
392
392
|
editor: 'ace',
|
|
393
|
-
|
|
393
|
+
placeholder: "{\n \"border\": \"none\",\n \"border-radius\": \"30px\"\n}",
|
|
394
|
+
tooltip: 'json格式',
|
|
394
395
|
conditional: {
|
|
395
396
|
json: {
|
|
396
397
|
in: [{
|
|
@@ -16,7 +16,8 @@ var _default = [{
|
|
|
16
16
|
type: 'input',
|
|
17
17
|
label: '显示值',
|
|
18
18
|
key: 'title-content',
|
|
19
|
-
|
|
19
|
+
placeholder: '${data.Id}-<a>${data.Name}</a>',
|
|
20
|
+
tooltip: '可输入html元素',
|
|
20
21
|
input: true
|
|
21
22
|
}, {
|
|
22
23
|
type: 'select',
|
|
@@ -66,7 +67,8 @@ var _default = [{
|
|
|
66
67
|
type: 'input',
|
|
67
68
|
label: '显示值',
|
|
68
69
|
key: 'value-content',
|
|
69
|
-
|
|
70
|
+
placeholder: '${data.Id}-<a>${data.Name}</a>',
|
|
71
|
+
tooltip: '可输入html元素',
|
|
70
72
|
input: true
|
|
71
73
|
}, {
|
|
72
74
|
type: 'select',
|
|
@@ -116,13 +118,15 @@ var _default = [{
|
|
|
116
118
|
type: 'input',
|
|
117
119
|
label: '显示值1',
|
|
118
120
|
key: 'footer-content1',
|
|
119
|
-
|
|
121
|
+
placeholder: '${data.Id}-<a>${data.Name}</a>',
|
|
122
|
+
tooltip: '可输入html元素',
|
|
120
123
|
input: true
|
|
121
124
|
}, {
|
|
122
125
|
type: 'input',
|
|
123
126
|
label: '显示值2',
|
|
124
127
|
key: 'footer-content2',
|
|
125
|
-
|
|
128
|
+
placeholder: '${data.Id}-<a>${data.Name}</a>',
|
|
129
|
+
tooltip: '可输入html元素',
|
|
126
130
|
input: true
|
|
127
131
|
}, {
|
|
128
132
|
type: 'panel',
|
|
@@ -134,7 +138,8 @@ var _default = [{
|
|
|
134
138
|
type: 'input',
|
|
135
139
|
label: '内容',
|
|
136
140
|
key: 'footer-content3',
|
|
137
|
-
|
|
141
|
+
placeholder: '${data.Id}-<a>${data.Name}</a>',
|
|
142
|
+
tooltip: '可输入html元素',
|
|
138
143
|
input: true
|
|
139
144
|
}, {
|
|
140
145
|
type: 'select',
|
|
@@ -284,7 +289,8 @@ var _default = [{
|
|
|
284
289
|
editor: 'ace',
|
|
285
290
|
input: true,
|
|
286
291
|
defaultValue: {},
|
|
287
|
-
|
|
292
|
+
placeholder: "{\n \"border\": \"none\",\n \"border-radius\": \"30px\"\n}",
|
|
293
|
+
tooltip: '自定义的style:json格式',
|
|
288
294
|
weight: 2
|
|
289
295
|
}, {
|
|
290
296
|
type: 'input',
|
|
@@ -418,6 +424,7 @@ var _default = [{
|
|
|
418
424
|
input: true,
|
|
419
425
|
editor: "ace",
|
|
420
426
|
tooltip: "传入下个页面的参数(json)",
|
|
427
|
+
placeholder: "{\n \"ignoreCache\": true,\n \"headers\": {\"Authorization\": \"${data.token}\"}\n}",
|
|
421
428
|
conditional: {
|
|
422
429
|
json: {
|
|
423
430
|
in: [{
|
|
@@ -16,7 +16,8 @@ var _default = [{
|
|
|
16
16
|
type: 'input',
|
|
17
17
|
label: '显示值',
|
|
18
18
|
key: 'title-content',
|
|
19
|
-
|
|
19
|
+
placeholder: '${data.Id}-<a>${data.Name}</a>',
|
|
20
|
+
tooltip: '可输入html元素',
|
|
20
21
|
input: true
|
|
21
22
|
}, {
|
|
22
23
|
type: 'select',
|
|
@@ -66,7 +67,8 @@ var _default = [{
|
|
|
66
67
|
type: 'input',
|
|
67
68
|
label: '显示值',
|
|
68
69
|
key: 'value-content',
|
|
69
|
-
|
|
70
|
+
placeholder: '${data.Id}-<a>${data.Name}</a>',
|
|
71
|
+
tooltip: '可输入html元素',
|
|
70
72
|
input: true
|
|
71
73
|
}, {
|
|
72
74
|
type: 'select',
|
|
@@ -116,13 +118,15 @@ var _default = [{
|
|
|
116
118
|
type: 'input',
|
|
117
119
|
label: '显示值1',
|
|
118
120
|
key: 'footer-content1',
|
|
119
|
-
|
|
121
|
+
placeholder: '${data.Id}-<a>${data.Name}</a>',
|
|
122
|
+
tooltip: '可输入html元素',
|
|
120
123
|
input: true
|
|
121
124
|
}, {
|
|
122
125
|
type: 'input',
|
|
123
126
|
label: '显示值2',
|
|
124
127
|
key: 'footer-content2',
|
|
125
|
-
|
|
128
|
+
placeholder: '${data.Id}-<a>${data.Name}</a>',
|
|
129
|
+
tooltip: '可输入html元素',
|
|
126
130
|
input: true
|
|
127
131
|
}, {
|
|
128
132
|
type: 'panel',
|
|
@@ -134,7 +138,8 @@ var _default = [{
|
|
|
134
138
|
type: 'input',
|
|
135
139
|
label: '内容',
|
|
136
140
|
key: 'footer-content3',
|
|
137
|
-
|
|
141
|
+
placeholder: '${data.Id}-<a>${data.Name}</a>',
|
|
142
|
+
tooltip: '可输入html元素',
|
|
138
143
|
input: true
|
|
139
144
|
}, {
|
|
140
145
|
type: 'select',
|
|
@@ -209,7 +214,8 @@ var _default = [{
|
|
|
209
214
|
editor: 'ace',
|
|
210
215
|
input: true,
|
|
211
216
|
defaultValue: {},
|
|
212
|
-
|
|
217
|
+
placeholder: "{\n \"border\": \"none\",\n \"border-radius\": \"30px\"\n}",
|
|
218
|
+
tooltip: '自定义的style:json格式',
|
|
213
219
|
weight: 3
|
|
214
220
|
}, {
|
|
215
221
|
type: 'panel',
|
|
@@ -425,6 +431,7 @@ var _default = [{
|
|
|
425
431
|
input: true,
|
|
426
432
|
editor: "ace",
|
|
427
433
|
tooltip: "传入下个页面的参数(json)",
|
|
434
|
+
placeholder: "{\n \"ignoreCache\": true,\n \"headers\": {\"Authorization\": \"${data.token}\"}\n}",
|
|
428
435
|
conditional: {
|
|
429
436
|
json: {
|
|
430
437
|
in: [{
|
|
@@ -359,7 +359,6 @@ var DataSourceComponent = /*#__PURE__*/function (_FieldComponent) {
|
|
|
359
359
|
title: '数据源',
|
|
360
360
|
icon: 'database',
|
|
361
361
|
group: 'data',
|
|
362
|
-
documentation: '/userguide/forms/data-components#data-source',
|
|
363
362
|
weight: 20,
|
|
364
363
|
schema: DataSourceComponent.schema()
|
|
365
364
|
};
|
|
@@ -108,7 +108,7 @@ var _default = [{
|
|
|
108
108
|
key: "request.body",
|
|
109
109
|
input: true,
|
|
110
110
|
editor: "ace",
|
|
111
|
-
placeholder: "{\n
|
|
111
|
+
placeholder: "{\n \"ignoreCache\": true,\n \"headers\": {\"Authorization\": \"${data.token}\"}\n}",
|
|
112
112
|
tooltip: "输入请求的body(json)",
|
|
113
113
|
conditional: {
|
|
114
114
|
json: {
|
|
@@ -37,14 +37,14 @@ var _default = [{
|
|
|
37
37
|
editor: 'ace',
|
|
38
38
|
input: true,
|
|
39
39
|
weight: 4,
|
|
40
|
-
placeholder: "{\n
|
|
40
|
+
placeholder: "{\n \"ignoreCache\": true,\n \"headers\": {\"Authorization\": \"${data.token}\"}\n}"
|
|
41
41
|
}, {
|
|
42
42
|
type: 'textarea',
|
|
43
43
|
label: 'Default Value Request body',
|
|
44
44
|
key: 'body',
|
|
45
45
|
input: true,
|
|
46
46
|
weight: 4,
|
|
47
|
-
placeholder: "{\n
|
|
47
|
+
placeholder: "{\n "token": "${data.token}"\n}",
|
|
48
48
|
tooltip: '输入请求的body(json)'
|
|
49
49
|
}, {
|
|
50
50
|
key: 'labelPosition',
|
package/components/Flex/Flex.js
CHANGED
|
@@ -35,8 +35,8 @@ var _default = [{
|
|
|
35
35
|
editor: 'ace',
|
|
36
36
|
input: true,
|
|
37
37
|
weight: 149,
|
|
38
|
-
|
|
39
|
-
tooltip: '自定义的style:json
|
|
38
|
+
placeholder: "{\n \"border\": \"none\",\n \"border-radius\": \"30px\"\n}",
|
|
39
|
+
tooltip: '自定义的style:json格式'
|
|
40
40
|
}, {
|
|
41
41
|
weight: 149,
|
|
42
42
|
type: 'number',
|
|
@@ -15,6 +15,7 @@ var _default = [{
|
|
|
15
15
|
label: 'key',
|
|
16
16
|
key: 'amap-key',
|
|
17
17
|
input: true,
|
|
18
|
+
placeholder: 'Web端开发者Key',
|
|
18
19
|
validate: {
|
|
19
20
|
required: true
|
|
20
21
|
}
|
|
@@ -22,6 +23,7 @@ var _default = [{
|
|
|
22
23
|
type: 'input',
|
|
23
24
|
label: 'securityJsCode',
|
|
24
25
|
key: 'amap-code',
|
|
26
|
+
placeholder: '安全密钥',
|
|
25
27
|
input: true,
|
|
26
28
|
validate: {
|
|
27
29
|
required: true
|
|
@@ -32,7 +34,7 @@ var _default = [{
|
|
|
32
34
|
label: '数据源',
|
|
33
35
|
weight: 0,
|
|
34
36
|
key: 'source-form',
|
|
35
|
-
|
|
37
|
+
placeholder: '${data.*}',
|
|
36
38
|
validate: {
|
|
37
39
|
required: true
|
|
38
40
|
}
|
|
@@ -9,11 +9,13 @@ var _default = [{
|
|
|
9
9
|
label: 'Token',
|
|
10
10
|
key: 'token',
|
|
11
11
|
input: true,
|
|
12
|
+
placeholder: 'NocoDB token',
|
|
12
13
|
tooltip: '',
|
|
13
14
|
weight: 1
|
|
14
15
|
}, {
|
|
15
16
|
type: 'input',
|
|
16
17
|
label: 'URL',
|
|
18
|
+
placeholder: 'NocoDB url',
|
|
17
19
|
key: 'url',
|
|
18
20
|
input: true,
|
|
19
21
|
tooltip: '',
|
|
@@ -29,6 +31,7 @@ var _default = [{
|
|
|
29
31
|
type: 'input',
|
|
30
32
|
label: 'Filter',
|
|
31
33
|
key: 'filter',
|
|
34
|
+
placeholder: '(parentId,eq,1)',
|
|
32
35
|
input: true,
|
|
33
36
|
tooltip: '',
|
|
34
37
|
weight: 4
|
|
@@ -69,7 +69,7 @@ var _default = [{
|
|
|
69
69
|
editor: 'ace',
|
|
70
70
|
input: true,
|
|
71
71
|
weight: 4,
|
|
72
|
-
placeholder: "{\n
|
|
72
|
+
placeholder: "{\n \"ignoreCache\": true,\n \"headers\": {\"Authorization\": \"${data.token}\"}\n}",
|
|
73
73
|
conditional: {
|
|
74
74
|
json: {
|
|
75
75
|
'===': [{
|
|
@@ -83,7 +83,7 @@ var _default = [{
|
|
|
83
83
|
key: 'body',
|
|
84
84
|
input: true,
|
|
85
85
|
weight: 4,
|
|
86
|
-
placeholder: "{\n
|
|
86
|
+
placeholder: "{\n "token": "${data.token}"\n}",
|
|
87
87
|
tooltip: '输入请求的body(json)',
|
|
88
88
|
conditional: {
|
|
89
89
|
json: {
|
|
@@ -348,18 +348,17 @@ var TaskCalendar = /*#__PURE__*/function (_Component) {
|
|
|
348
348
|
}
|
|
349
349
|
return _Field.default.schema.apply(_Field.default, [{
|
|
350
350
|
type: 'taskCalendar',
|
|
351
|
-
label: '
|
|
351
|
+
label: '任务日历'
|
|
352
352
|
}].concat(extend));
|
|
353
353
|
}
|
|
354
354
|
}, {
|
|
355
355
|
key: "builderInfo",
|
|
356
356
|
get: function get() {
|
|
357
357
|
return {
|
|
358
|
-
title: '
|
|
358
|
+
title: '任务日历',
|
|
359
359
|
group: 'advanced',
|
|
360
360
|
icon: 'calendar-lines',
|
|
361
361
|
weight: 70,
|
|
362
|
-
documentation: 'http://help.form.io/userguide/#taskCalendar',
|
|
363
362
|
schema: TaskCalendar.schema()
|
|
364
363
|
};
|
|
365
364
|
}
|
|
@@ -248,6 +248,7 @@ var _default = [{
|
|
|
248
248
|
type: "input",
|
|
249
249
|
label: "ID Key",
|
|
250
250
|
key: "result_id_key",
|
|
251
|
+
tooltip: 'ID字段对应的key',
|
|
251
252
|
input: true,
|
|
252
253
|
validate: {
|
|
253
254
|
required: true
|
|
@@ -256,6 +257,7 @@ var _default = [{
|
|
|
256
257
|
type: "input",
|
|
257
258
|
label: "Title Key",
|
|
258
259
|
key: "result_title_key",
|
|
260
|
+
tooltip: 'Title字段对应的key',
|
|
259
261
|
input: true,
|
|
260
262
|
validate: {
|
|
261
263
|
required: true
|
|
@@ -264,6 +266,7 @@ var _default = [{
|
|
|
264
266
|
type: "input",
|
|
265
267
|
label: "Start Key",
|
|
266
268
|
key: "result_start_key",
|
|
269
|
+
tooltip: 'Start字段对应的key',
|
|
267
270
|
input: true,
|
|
268
271
|
validate: {
|
|
269
272
|
required: true
|
|
@@ -272,6 +275,7 @@ var _default = [{
|
|
|
272
275
|
type: "input",
|
|
273
276
|
label: "End Key",
|
|
274
277
|
key: "result_end_key",
|
|
278
|
+
tooltip: 'End字段对应的key',
|
|
275
279
|
input: true,
|
|
276
280
|
validate: {
|
|
277
281
|
required: true
|
|
@@ -69,7 +69,7 @@ var _default = [{
|
|
|
69
69
|
editor: 'ace',
|
|
70
70
|
input: true,
|
|
71
71
|
weight: 4,
|
|
72
|
-
placeholder: "{\n
|
|
72
|
+
placeholder: "{\n \"ignoreCache\": true,\n \"headers\": {\"Authorization\": \"${data.token}\"}\n}",
|
|
73
73
|
conditional: {
|
|
74
74
|
json: {
|
|
75
75
|
'===': [{
|
|
@@ -83,7 +83,7 @@ var _default = [{
|
|
|
83
83
|
key: 'body',
|
|
84
84
|
input: true,
|
|
85
85
|
weight: 4,
|
|
86
|
-
placeholder: "{\n
|
|
86
|
+
placeholder: "{\n "token": "${data.token}"\n}",
|
|
87
87
|
tooltip: '输入请求的body(json)',
|
|
88
88
|
conditional: {
|
|
89
89
|
json: {
|
|
@@ -37,14 +37,14 @@ var _default = [{
|
|
|
37
37
|
editor: 'ace',
|
|
38
38
|
input: true,
|
|
39
39
|
weight: 4,
|
|
40
|
-
placeholder: "{\n
|
|
40
|
+
placeholder: "{\n \"ignoreCache\": true,\n \"headers\": {\"Authorization\": \"${data.token}\"}\n}"
|
|
41
41
|
}, {
|
|
42
42
|
type: 'textarea',
|
|
43
43
|
label: 'Default Value Request body',
|
|
44
44
|
key: 'body',
|
|
45
45
|
input: true,
|
|
46
46
|
weight: 4,
|
|
47
|
-
placeholder: "{\n
|
|
47
|
+
placeholder: "{\n "token": "${data.token}"\n}",
|
|
48
48
|
tooltip: '输入请求的body(json)'
|
|
49
49
|
}, {
|
|
50
50
|
key: 'labelPosition',
|