cloud-web-corejs 1.0.54-dev.651 → 1.0.54-dev.653
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/package.json +1 -1
- package/src/components/xform/form-designer/form-widget/field-widget/date-widget.vue +27 -14
- package/src/components/xform/form-designer/form-widget/field-widget/form-item-wrapper.vue +135 -32
- package/src/components/xform/form-designer/form-widget/field-widget/mixins/date-limit-mixin.js +157 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/buttonIcon-editor.vue +14 -15
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/data-table-editor.vue +1 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/container-data-table/edit-tree-button-group-config-dialog.vue +1 -1
- package/src/components/xform/form-designer/setting-panel/property-editor/field-button/icon-editor.vue +14 -15
- package/src/components/xform/form-designer/setting-panel/property-editor/field-date/date-dateLimit-editor.vue +157 -0
- package/src/components/xform/form-designer/setting-panel/property-editor/labelIconClass-editor.vue +18 -17
- package/src/components/xform/form-designer/setting-panel/property-editor/labelIconPosition-editor.vue +26 -26
- package/src/components/xform/form-designer/setting-panel/property-editor/labelTooltip-editor.vue +12 -14
- package/src/components/xform/form-designer/setting-panel/property-editor/prefixIcon-editor.vue +14 -15
- package/src/components/xform/form-designer/setting-panel/property-editor/suffixIcon-editor.vue +14 -15
- package/src/components/xform/form-designer/setting-panel/propertyRegister.js +208 -194
- package/src/components/xform/form-designer/widget-panel/widgetsConfig.js +5 -0
- package/src/components/xform/icon-picker/icons.json +284 -0
- package/src/components/xform/icon-picker/index.vue +145 -0
|
@@ -1,125 +1,127 @@
|
|
|
1
|
-
import Vue from
|
|
1
|
+
import Vue from "vue";
|
|
2
2
|
|
|
3
3
|
/**
|
|
4
4
|
* 格式说明:属性名称==对应属性编辑器的组件名称
|
|
5
5
|
*/
|
|
6
6
|
const COMMON_PROPERTIES = {
|
|
7
7
|
//字段
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
8
|
+
name: "name-editor",
|
|
9
|
+
keyNameEnabled: "keyNameEnabled-editor",
|
|
10
|
+
keyName: "keyName-editor",
|
|
11
|
+
label: "label-editor",
|
|
12
|
+
formField: "formField-editor",
|
|
13
13
|
// 'labelAlign': 'labelAlign-editor',
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
14
|
+
type: "type-editor",
|
|
15
|
+
buttonTypeFlag: "button-type-editor",
|
|
16
|
+
defaultValue: "defaultValue-editor",
|
|
17
|
+
placeholder: "placeholder-editor",
|
|
18
|
+
startPlaceholder: "startPlaceholder-editor",
|
|
19
|
+
endPlaceholder: "endPlaceholder-editor",
|
|
20
|
+
widgetWidth: "widgetWidth-editor",
|
|
21
|
+
columnWidth: "columnWidth-editor",
|
|
22
|
+
size: "size-editor",
|
|
23
|
+
space: "space-editor",
|
|
24
|
+
showStops: "showStops-editor",
|
|
25
|
+
displayStyle: "displayStyle-editor",
|
|
26
|
+
buttonStyle: "buttonStyle-editor",
|
|
27
|
+
border: "border-editor",
|
|
28
|
+
labelWidth: "labelWidth-editor",
|
|
29
|
+
labelHidden: "labelHidden-editor",
|
|
30
|
+
rows: "rows-editor",
|
|
31
|
+
required: "required-editor",
|
|
32
32
|
// 'requiredHint': 'requiredHint-editor',
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
33
|
+
validation: "validation-editor",
|
|
34
|
+
validationHint: "validationHint-editor",
|
|
35
|
+
readonly: "readonly-editor",
|
|
36
|
+
disabled: "disabled-editor",
|
|
37
|
+
hidden: "hidden-editor",
|
|
38
|
+
clearable: "clearable-editor",
|
|
39
|
+
editable: "editable-editor",
|
|
40
|
+
showPassword: "showPassword-editor",
|
|
41
|
+
textContent: "textContent-editor",
|
|
42
|
+
fontSize: "fontSize-editor",
|
|
43
|
+
htmlContent: "htmlContent-editor",
|
|
44
|
+
format: "format-editor",
|
|
45
|
+
valueFormat: "valueFormat-editor",
|
|
46
|
+
dateLimit: "dateLimit-editor",
|
|
47
|
+
defaultTime: "defaultTime-editor",
|
|
48
|
+
filterable: "filterable-editor",
|
|
49
|
+
allowCreate: "allowCreate-editor",
|
|
50
|
+
remote: "remote-editor",
|
|
51
|
+
automaticDropdown: "automaticDropdown-editor",
|
|
52
|
+
checkStrictly: "checkStrictly-editor",
|
|
53
|
+
multiple: "multiple-editor",
|
|
54
|
+
multipleLimit: "multipleLimit-editor",
|
|
55
|
+
contentPosition: "contentPosition-editor",
|
|
55
56
|
// 'dsEnabled' : 'dsEnabled-editor',//启用数据源,个人
|
|
56
57
|
// 'dsName' : 'dsName-editor',//指定数据源,个人
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
58
|
+
optionItems: "optionItems-editor",
|
|
59
|
+
censusItems: "censusItems-editor",
|
|
60
|
+
listItems: "listItems-editor",
|
|
61
|
+
uploadURL: "uploadURL-editor",
|
|
62
|
+
uploadTip: "uploadTip-editor",
|
|
63
|
+
withCredentials: "withCredentials-editor",
|
|
64
|
+
multipleSelect: "multipleSelect-editor",
|
|
65
|
+
limit: "limit-editor",
|
|
66
|
+
fileMaxSize: "fileMaxSize-editor",
|
|
67
|
+
fileTypes: "fileTypes-editor",
|
|
68
|
+
customClass: "customClass-editor",
|
|
69
|
+
styleTitClass: "styleTitClass-editor",
|
|
70
|
+
styleTableClass: "styleTableClass-editor",
|
|
71
|
+
iconClass: "iconClass-editor",
|
|
72
|
+
echartHeight: "echartHeight-editor",
|
|
73
|
+
descriptionsItems: "descriptionsItems-editor",
|
|
74
|
+
isFullscreen: "isFullscreen-editor",
|
|
75
|
+
tabClass: "tabClass-editor",
|
|
76
|
+
censusClass: "censusClass-editor",
|
|
76
77
|
// 'scriptUuid': 'script-editor',
|
|
77
|
-
|
|
78
|
+
entityTableCode: "entityTableCode-editor",
|
|
78
79
|
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
80
|
+
echarPieOption: "echart-pie-editor", //饼图
|
|
81
|
+
echarBarOption: "echart-bar-editor", //柱状图
|
|
82
|
+
echarCategoryOption: "echart-category-editor", //折线图
|
|
83
|
+
vabSearchName: "vabSearchName-editor",
|
|
84
|
+
copyButton: "copyButton-editor",
|
|
85
|
+
tempStorageFlag: "tempStorage-editor",
|
|
86
|
+
formatType: "formatType-editor",
|
|
87
|
+
preWrap: "preWrap-editor",
|
|
88
|
+
customUploadConfig: "customUploadConfig-editor",
|
|
87
89
|
|
|
88
90
|
//容器
|
|
89
|
-
|
|
90
|
-
|
|
91
|
-
|
|
92
|
-
|
|
93
|
-
|
|
94
|
-
|
|
95
|
-
|
|
96
|
-
|
|
97
|
-
|
|
98
|
-
|
|
99
|
-
|
|
100
|
-
|
|
101
|
-
|
|
102
|
-
|
|
103
|
-
|
|
104
|
-
|
|
105
|
-
|
|
106
|
-
|
|
107
|
-
|
|
108
|
-
|
|
109
|
-
|
|
110
|
-
|
|
111
|
-
|
|
112
|
-
|
|
113
|
-
|
|
114
|
-
|
|
115
|
-
|
|
116
|
-
|
|
91
|
+
showBlankRow: "showBlankRow-editor",
|
|
92
|
+
showRowNumber: "showRowNumber-editor",
|
|
93
|
+
cellWidth: "cellWidth-editor",
|
|
94
|
+
cellHeight: "cellHeight-editor",
|
|
95
|
+
colHeight: "colHeight-editor",
|
|
96
|
+
gutter: "gutter-editor",
|
|
97
|
+
responsive: "responsive-editor",
|
|
98
|
+
span: "span-editor",
|
|
99
|
+
offset: "offset-editor",
|
|
100
|
+
push: "push-editor",
|
|
101
|
+
pull: "pull-editor",
|
|
102
|
+
height: "height-editor",
|
|
103
|
+
detailContainer: "detail-editor",
|
|
104
|
+
detailPaneContainer: "detail-pane-editor",
|
|
105
|
+
vabSearchField: "vabSearchField-editor",
|
|
106
|
+
fullWidth: "table-fullWidth-editor",
|
|
107
|
+
dataTable: "data-table-editor",
|
|
108
|
+
accessUrl: "accessUrl-editor",
|
|
109
|
+
formulaEnabled: "formulaEnabled-editor",
|
|
110
|
+
formula: "formula-editor",
|
|
111
|
+
showText: "showText-editor",
|
|
112
|
+
detailH5Container: "detail-h5-editor",
|
|
113
|
+
h5Card: "h5-card-editor",
|
|
114
|
+
listH5: "list-h5-editor",
|
|
115
|
+
formScriptEnabled: "formScriptEnabled-editor",
|
|
116
|
+
textFlag: "textFlag-editor",
|
|
117
|
+
showRuleFlag: "showRuleFlag-editor",
|
|
118
|
+
widgetShowRuleFlag: "widgetShowRuleFlag-editor",
|
|
117
119
|
|
|
118
|
-
|
|
120
|
+
dropdownFlag: "dropdownFlag-editor",
|
|
119
121
|
// 'dropdownItemFlag': 'dropdown-item-editor',
|
|
120
122
|
|
|
121
|
-
|
|
122
|
-
|
|
123
|
+
oplogFlag: "oplogFlag-editor",
|
|
124
|
+
ganttConfig: "gantt-editor",
|
|
123
125
|
|
|
124
126
|
//弹框
|
|
125
127
|
title: "title-editor",
|
|
@@ -162,86 +164,84 @@ const COMMON_PROPERTIES = {
|
|
|
162
164
|
clickBindEvent: "clickBindEvent-editor",
|
|
163
165
|
vabUpload: "field-vabUpload-editor",
|
|
164
166
|
vabUpload2Flag: "field-vabUpload2-editor",
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
167
|
+
submitFlag: "submitFlag-editor",
|
|
168
|
+
aLinkFlag: "a-link-editor",
|
|
169
|
+
aTextFlag: "a-text-editor",
|
|
170
|
+
tagFormCode: "project-tag-editor",
|
|
171
|
+
autoValueEnabled: "autoValueEnabled-editor",
|
|
170
172
|
// "commonAttributeEnabled": "commonAttributeEnabled-editor"
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
}
|
|
173
|
+
colorClass: "colorClass-editor",
|
|
174
|
+
downloadButtonFlag: "downloadButtonFlag-editor",
|
|
175
|
+
};
|
|
174
176
|
|
|
175
177
|
const ADVANCED_PROPERTIES = {
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
178
|
+
min: "min-editor",
|
|
179
|
+
max: "max-editor",
|
|
180
|
+
precision: "precision-editor",
|
|
181
|
+
step: "step-editor",
|
|
182
|
+
showbutton: "showbutton-editor",
|
|
183
|
+
controlsPosition: "controlsPosition-editor",
|
|
184
|
+
minLength: "minLength-editor",
|
|
185
|
+
maxLength: "maxLength-editor",
|
|
184
186
|
// 'showWordLimit': 'showWordLimit-editor',
|
|
185
|
-
|
|
186
|
-
|
|
187
|
-
|
|
188
|
-
|
|
189
|
-
|
|
190
|
-
|
|
191
|
-
|
|
192
|
-
|
|
193
|
-
|
|
194
|
-
|
|
195
|
-
|
|
196
|
-
|
|
197
|
-
|
|
198
|
-
|
|
199
|
-
|
|
200
|
-
|
|
201
|
-
|
|
202
|
-
|
|
203
|
-
|
|
204
|
-
|
|
205
|
-
|
|
206
|
-
|
|
187
|
+
prefixIcon: "prefixIcon-editor",
|
|
188
|
+
suffixIcon: "suffixIcon-editor",
|
|
189
|
+
switchWidth: "switchWidth-editor",
|
|
190
|
+
activeText: "activeText-editor",
|
|
191
|
+
inactiveText: "inactiveText-editor",
|
|
192
|
+
labelColor: "labelColor-editor",
|
|
193
|
+
activeColor: "activeColor-editor",
|
|
194
|
+
inactiveColor: "inactiveColor-editor",
|
|
195
|
+
lowThreshold: "lowThreshold-editor",
|
|
196
|
+
highThreshold: "highThreshold-editor",
|
|
197
|
+
allowHalf: "allowHalf-editor",
|
|
198
|
+
showText: "showText-editor",
|
|
199
|
+
showScore: "showScore-editor",
|
|
200
|
+
range: "range-editor",
|
|
201
|
+
vertical: "vertical-editor",
|
|
202
|
+
plain: "plain-editor",
|
|
203
|
+
round: "round-editor",
|
|
204
|
+
circle: "circle-editor",
|
|
205
|
+
icon: "icon-editor",
|
|
206
|
+
labelIconClass: "labelIconClass-editor",
|
|
207
|
+
labelIconPosition: "labelIconPosition-editor",
|
|
208
|
+
labelTooltip: "labelTooltip-editor",
|
|
207
209
|
// 'appendButton': 'appendButton-editor',
|
|
208
210
|
// 'appendButtonDisabled': 'appendButtonDisabled-editor',
|
|
209
211
|
// 'buttonIcon': 'buttonIcon-editor',
|
|
210
|
-
|
|
211
|
-
|
|
212
|
-
}
|
|
212
|
+
};
|
|
213
213
|
|
|
214
214
|
//流程属性
|
|
215
215
|
const WF_PROPERTIES = {
|
|
216
|
-
|
|
217
|
-
}
|
|
216
|
+
wfFlag: "wfFlag-editor",
|
|
217
|
+
};
|
|
218
218
|
|
|
219
219
|
const EVENT_PROPERTIES = {
|
|
220
220
|
//字段
|
|
221
|
-
|
|
222
|
-
|
|
223
|
-
|
|
224
|
-
|
|
225
|
-
|
|
226
|
-
|
|
227
|
-
|
|
228
|
-
|
|
229
|
-
|
|
230
|
-
|
|
231
|
-
|
|
232
|
-
|
|
233
|
-
|
|
234
|
-
|
|
235
|
-
|
|
236
|
-
|
|
237
|
-
|
|
238
|
-
|
|
221
|
+
onCreatedEnter: "onCreatedEnter-editor",
|
|
222
|
+
onCreated: "onCreated-editor",
|
|
223
|
+
onMounted: "onMounted-editor",
|
|
224
|
+
onClick: "onClick-editor",
|
|
225
|
+
onInput: "onInput-editor",
|
|
226
|
+
onChange: "onChange-editor",
|
|
227
|
+
onFocus: "onFocus-editor",
|
|
228
|
+
onBlur: "onBlur-editor",
|
|
229
|
+
onRemoteQuery: "onRemoteQuery-editor",
|
|
230
|
+
onBeforeUpload: "onBeforeUpload-editor",
|
|
231
|
+
onUploadSuccess: "onUploadSuccess-editor",
|
|
232
|
+
onUploadError: "onUploadError-editor",
|
|
233
|
+
onFileRemove: "onFileRemove-editor",
|
|
234
|
+
onValidate: "onValidate-editor",
|
|
235
|
+
onAppendButtonClick: "onAppendButtonClick-editor",
|
|
236
|
+
onSearchConfirm: "onSearchConfirm-editor",
|
|
237
|
+
onSearchClear: "onSearchClear-editor",
|
|
238
|
+
onAfterConfirmFile: "onAfterConfirmFile-editor",
|
|
239
239
|
|
|
240
240
|
//容器
|
|
241
|
-
|
|
242
|
-
|
|
243
|
-
|
|
244
|
-
|
|
241
|
+
onSubFormRowAdd: "onSubFormRowAdd-editor",
|
|
242
|
+
onSubFormRowInsert: "onSubFormRowInsert-editor",
|
|
243
|
+
onSubFormRowDelete: "onSubFormRowDelete-editor",
|
|
244
|
+
onSubFormRowChange: "onSubFormRowChange-editor",
|
|
245
245
|
|
|
246
246
|
onOkButtonClick: "onOkButtonClick-editor",
|
|
247
247
|
onCancelButtonClick: "onCancelButtonClick-editor",
|
|
@@ -249,11 +249,11 @@ const EVENT_PROPERTIES = {
|
|
|
249
249
|
onDialogBeforeClose: "onDialogBeforeClose-editor",
|
|
250
250
|
|
|
251
251
|
//vxe-table事件
|
|
252
|
-
|
|
253
|
-
|
|
254
|
-
|
|
255
|
-
|
|
256
|
-
|
|
252
|
+
onCellDblclick: "onCellDblclick-editor",
|
|
253
|
+
onCheckboxAll: "onCheckboxAll-editor",
|
|
254
|
+
onCheckboxChange: "onCheckboxChange-editor",
|
|
255
|
+
onSearchTable: "onSearchTable-editor",
|
|
256
|
+
onResetTable: "onResetTable-editor",
|
|
257
257
|
|
|
258
258
|
//tree事件
|
|
259
259
|
onNodeClick: "onNodeClick-editor",
|
|
@@ -262,9 +262,8 @@ const EVENT_PROPERTIES = {
|
|
|
262
262
|
onCheckChange: "onCheckChange-editor",
|
|
263
263
|
onLoadNode: "onLoadNode-editor",
|
|
264
264
|
//tree-pane事件
|
|
265
|
-
onTreeLabelClick: "onTreeLabelClick-editor"
|
|
266
|
-
|
|
267
|
-
}
|
|
265
|
+
onTreeLabelClick: "onTreeLabelClick-editor",
|
|
266
|
+
};
|
|
268
267
|
|
|
269
268
|
/**
|
|
270
269
|
* 注册组件常见属性
|
|
@@ -273,7 +272,7 @@ const EVENT_PROPERTIES = {
|
|
|
273
272
|
* @param propEditorName 对应属性编辑器的组件名称
|
|
274
273
|
*/
|
|
275
274
|
export function registerCommonProperty(uniquePropName, propEditorName) {
|
|
276
|
-
COMMON_PROPERTIES[uniquePropName] = propEditorName
|
|
275
|
+
COMMON_PROPERTIES[uniquePropName] = propEditorName;
|
|
277
276
|
}
|
|
278
277
|
|
|
279
278
|
/**
|
|
@@ -283,7 +282,7 @@ export function registerCommonProperty(uniquePropName, propEditorName) {
|
|
|
283
282
|
* @param propEditorName 对应属性编辑器的组件名称
|
|
284
283
|
*/
|
|
285
284
|
export function registerAdvancedProperty(uniquePropName, propEditorName) {
|
|
286
|
-
ADVANCED_PROPERTIES[uniquePropName] = propEditorName
|
|
285
|
+
ADVANCED_PROPERTIES[uniquePropName] = propEditorName;
|
|
287
286
|
}
|
|
288
287
|
|
|
289
288
|
/**
|
|
@@ -293,7 +292,7 @@ export function registerAdvancedProperty(uniquePropName, propEditorName) {
|
|
|
293
292
|
* @param propEditorName 对应属性编辑器的组件名称
|
|
294
293
|
*/
|
|
295
294
|
export function registerEventProperty(uniquePropName, propEditorName) {
|
|
296
|
-
EVENT_PROPERTIES[uniquePropName] = propEditorName
|
|
295
|
+
EVENT_PROPERTIES[uniquePropName] = propEditorName;
|
|
297
296
|
}
|
|
298
297
|
|
|
299
298
|
/**
|
|
@@ -301,8 +300,11 @@ export function registerEventProperty(uniquePropName, propEditorName) {
|
|
|
301
300
|
* @param uniquePropName 属性名称(保证名称唯一,不跟其他组件属性冲突)
|
|
302
301
|
*/
|
|
303
302
|
export function propertyRegistered(uniquePropName) {
|
|
304
|
-
return
|
|
305
|
-
uniquePropName]
|
|
303
|
+
return (
|
|
304
|
+
!!COMMON_PROPERTIES[uniquePropName] ||
|
|
305
|
+
!!ADVANCED_PROPERTIES[uniquePropName] ||
|
|
306
|
+
!!EVENT_PROPERTIES[uniquePropName]
|
|
307
|
+
);
|
|
306
308
|
}
|
|
307
309
|
|
|
308
310
|
/**
|
|
@@ -311,9 +313,13 @@ export function propertyRegistered(uniquePropName) {
|
|
|
311
313
|
* @param propEditorName
|
|
312
314
|
* @param editorComponent
|
|
313
315
|
*/
|
|
314
|
-
export function registerCPEditor(
|
|
315
|
-
|
|
316
|
-
|
|
316
|
+
export function registerCPEditor(
|
|
317
|
+
uniquePropName,
|
|
318
|
+
propEditorName,
|
|
319
|
+
editorComponent
|
|
320
|
+
) {
|
|
321
|
+
Vue.component(propEditorName, editorComponent);
|
|
322
|
+
registerCommonProperty(uniquePropName, propEditorName);
|
|
317
323
|
}
|
|
318
324
|
|
|
319
325
|
/**
|
|
@@ -322,9 +328,13 @@ export function registerCPEditor(uniquePropName, propEditorName, editorComponent
|
|
|
322
328
|
* @param propEditorName
|
|
323
329
|
* @param editorComponent
|
|
324
330
|
*/
|
|
325
|
-
export function registerAPEditor(
|
|
326
|
-
|
|
327
|
-
|
|
331
|
+
export function registerAPEditor(
|
|
332
|
+
uniquePropName,
|
|
333
|
+
propEditorName,
|
|
334
|
+
editorComponent
|
|
335
|
+
) {
|
|
336
|
+
Vue.component(propEditorName, editorComponent);
|
|
337
|
+
registerAdvancedProperty(uniquePropName, propEditorName);
|
|
328
338
|
}
|
|
329
339
|
|
|
330
340
|
/**
|
|
@@ -333,14 +343,18 @@ export function registerAPEditor(uniquePropName, propEditorName, editorComponent
|
|
|
333
343
|
* @param propEditorName
|
|
334
344
|
* @param editorComponent
|
|
335
345
|
*/
|
|
336
|
-
export function registerEPEditor(
|
|
337
|
-
|
|
338
|
-
|
|
346
|
+
export function registerEPEditor(
|
|
347
|
+
uniquePropName,
|
|
348
|
+
propEditorName,
|
|
349
|
+
editorComponent
|
|
350
|
+
) {
|
|
351
|
+
Vue.component(propEditorName, editorComponent);
|
|
352
|
+
registerEventProperty(uniquePropName, propEditorName);
|
|
339
353
|
}
|
|
340
354
|
|
|
341
355
|
export default {
|
|
342
356
|
COMMON_PROPERTIES,
|
|
343
357
|
ADVANCED_PROPERTIES,
|
|
344
358
|
EVENT_PROPERTIES,
|
|
345
|
-
WF_PROPERTIES
|
|
346
|
-
}
|
|
359
|
+
WF_PROPERTIES,
|
|
360
|
+
};
|
|
@@ -1523,6 +1523,11 @@ export const basicFields = [
|
|
|
1523
1523
|
editable: !1,
|
|
1524
1524
|
format: "yyyy-MM-dd",
|
|
1525
1525
|
valueFormat: "yyyy-MM-dd",
|
|
1526
|
+
dateLimit: null,
|
|
1527
|
+
limitStartField: null,
|
|
1528
|
+
limitEndField: null,
|
|
1529
|
+
minDate: null,
|
|
1530
|
+
maxDate: null,
|
|
1526
1531
|
required: !1,
|
|
1527
1532
|
requiredHint: "",
|
|
1528
1533
|
validation: "",
|