@easyv/config
Advanced tools
Comparing version 1.0.15 to 1.0.16
@@ -38,18 +38,20 @@ "use strict"; | ||
}), | ||
template: [{ | ||
name: 'callback', | ||
displayName: '回调', | ||
type: 'object', | ||
value: [{ | ||
name: 'origin', | ||
displayName: '字段值', | ||
type: 'input', | ||
value: '' | ||
}, { | ||
name: 'target', | ||
displayName: '变量名', | ||
type: 'input', | ||
value: '' | ||
config: { | ||
template: [{ | ||
name: 'callback', | ||
displayName: '回调', | ||
type: 'object', | ||
value: [{ | ||
name: 'origin', | ||
displayName: '字段值', | ||
type: 'input', | ||
value: '' | ||
}, { | ||
name: 'target', | ||
displayName: '变量名', | ||
type: 'input', | ||
value: '' | ||
}] | ||
}] | ||
}] | ||
} | ||
}, remoteControl && Array.isArray(remoteControl) && { | ||
@@ -60,13 +62,15 @@ name: 'remoteControl', | ||
value: [], | ||
template: [{ | ||
name: 'controls', | ||
displayName: '控制', | ||
type: 'object', | ||
value: [{ | ||
name: 'control', | ||
config: { | ||
template: [{ | ||
name: 'controls', | ||
displayName: '控制', | ||
type: 'remoteOptions', | ||
value: '{}' | ||
type: 'object', | ||
value: [{ | ||
name: 'control', | ||
displayName: '控制', | ||
type: 'remoteOptions', | ||
value: '{}' | ||
}] | ||
}] | ||
}] | ||
} | ||
}].filter(function (item) { | ||
@@ -73,0 +77,0 @@ return !!item; |
{ | ||
"name": "@easyv/config", | ||
"version": "1.0.15", | ||
"version": "1.0.16", | ||
"description": "", | ||
@@ -5,0 +5,0 @@ "main": "index.js", |
@@ -31,23 +31,25 @@ export default ({ callback, remoteControl }) => ({ | ||
})), | ||
template: [ | ||
{ | ||
name: 'callback', | ||
displayName: '回调', | ||
type: 'object', | ||
value: [ | ||
{ | ||
name: 'origin', | ||
displayName: '字段值', | ||
type: 'input', | ||
value: '', | ||
}, | ||
{ | ||
name: 'target', | ||
displayName: '变量名', | ||
type: 'input', | ||
value: '', | ||
}, | ||
], | ||
}, | ||
], | ||
config: { | ||
template: [ | ||
{ | ||
name: 'callback', | ||
displayName: '回调', | ||
type: 'object', | ||
value: [ | ||
{ | ||
name: 'origin', | ||
displayName: '字段值', | ||
type: 'input', | ||
value: '', | ||
}, | ||
{ | ||
name: 'target', | ||
displayName: '变量名', | ||
type: 'input', | ||
value: '', | ||
}, | ||
], | ||
}, | ||
], | ||
}, | ||
}, | ||
@@ -60,17 +62,19 @@ remoteControl && | ||
value: [], | ||
template: [ | ||
{ | ||
name: 'controls', | ||
displayName: '控制', | ||
type: 'object', | ||
value: [ | ||
{ | ||
name: 'control', | ||
displayName: '控制', | ||
type: 'remoteOptions', | ||
value: '{}', | ||
}, | ||
], | ||
}, | ||
], | ||
config: { | ||
template: [ | ||
{ | ||
name: 'controls', | ||
displayName: '控制', | ||
type: 'object', | ||
value: [ | ||
{ | ||
name: 'control', | ||
displayName: '控制', | ||
type: 'remoteOptions', | ||
value: '{}', | ||
}, | ||
], | ||
}, | ||
], | ||
}, | ||
}, | ||
@@ -77,0 +81,0 @@ ].filter((item) => !!item) |
142550
4965