@farris/jit-engine 1.4.61 → 1.4.62
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/README.md
CHANGED
|
@@ -10,8 +10,8 @@
|
|
|
10
10
|
-var require = variable.require ? String(variable.require.value) : undefined;
|
|
11
11
|
-var readonly = variable.readonly ? String(variable.readonly.value) : undefined;
|
|
12
12
|
-var disable = variable.disable ? String(variable.disable.value) : undefined;
|
|
13
|
-
-var inputDirection = variable.displayType
|
|
14
|
-
-var
|
|
13
|
+
-var inputDirection = variable.displayType === 'check' ? 'vertical' : variable.direction
|
|
14
|
+
-var optionsDirection = variable.displayType === 'button' ? 'horizontal' : ( variable.optionsDirection || variable.direction)
|
|
15
15
|
-var binding = variable.binding && variable.binding.path ? "form."+variable.binding.path+".value" : undefined
|
|
16
16
|
-var groupClass = inputDirection === 'horizontal' ? 'd-flex justify-content-end' : undefined
|
|
17
17
|
-var items = variable.dataSourceType === 'dynamic' ? String(variable.bindDataSource.value) : variable.i18nEnumData
|
|
@@ -40,7 +40,7 @@ div(
|
|
|
40
40
|
valueField=variable.valueField?""+variable.valueField:undefined
|
|
41
41
|
textField=variable.textField?""+variable.textField:undefined
|
|
42
42
|
:checkerStyle=checkerStyle
|
|
43
|
-
direction=
|
|
43
|
+
direction=optionsDirection?optionsDirection+"":undefined
|
|
44
44
|
type=variable.displayType?variable.displayType+"":undefined
|
|
45
45
|
)
|
|
46
46
|
if(variable.labelTips)
|
|
@@ -11,8 +11,8 @@
|
|
|
11
11
|
-var readonly = variable.readonly ? String(variable.readonly.value) : undefined;
|
|
12
12
|
-var disable = variable.disable ? String(variable.disable.value) : undefined;
|
|
13
13
|
-var binding = variable.binding && variable.binding.path ? "form."+variable.binding.path+".value" : undefined
|
|
14
|
-
-var inputDirection = variable.displayType
|
|
15
|
-
-var
|
|
14
|
+
-var inputDirection = variable.displayType === 'check' ? 'vertical' : variable.direction
|
|
15
|
+
-var optionsDirection = variable.displayType === 'button' ? 'horizontal' : ( variable.optionsDirection || variable.direction)
|
|
16
16
|
-var groupClass = inputDirection === 'horizontal' ? 'd-flex justify-content-end' : undefined
|
|
17
17
|
-var items = variable.dataSourceType === 'dynamic' ? String(variable.bindDataSource.value) : variable.i18nEnumData
|
|
18
18
|
|
|
@@ -39,7 +39,7 @@ div(
|
|
|
39
39
|
:items=items?items:undefined
|
|
40
40
|
valueField=variable.valueField?""+variable.valueField:undefined
|
|
41
41
|
textField=variable.textField?""+variable.textField:undefined
|
|
42
|
-
direction=
|
|
42
|
+
direction=optionsDirection?optionsDirection+"":undefined
|
|
43
43
|
:checkerStyle=checkerStyle
|
|
44
44
|
:checked-color=variable.checkedColor?variable.checkedColor+"":undefined
|
|
45
45
|
type=variable.displayType?variable.displayType+"":undefined
|
|
@@ -24,6 +24,7 @@ div(
|
|
|
24
24
|
:required=require
|
|
25
25
|
:readonly=readonly
|
|
26
26
|
:disabled=disable
|
|
27
|
+
direction=variable.direction?variable.direction+"":undefined
|
|
27
28
|
:labelWidth!=variable.labelWidth?variable.labelWidth+"":undefined
|
|
28
29
|
:modelValue=variable.modelValue ? variable.modelValue+"":undefined
|
|
29
30
|
size=variable.size?""+variable.size:undefined
|