@farris/jit-engine 1.4.127 → 1.4.129
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 +4 -0
- package/lib/.DS_Store +0 -0
- package/lib/domstructure/.DS_Store +0 -0
- package/lib/domstructure/ui/.DS_Store +0 -0
- package/lib/domstructure/ui/common/basecomponent.js +163 -163
- package/lib/domstructure/ui/common/basecomponent.js.map +1 -1
- package/lib/template/.DS_Store +0 -0
- package/lib/template/ui/.DS_Store +0 -0
- package/lib/template/ui/kendo/adminorganization-selector.pug +112 -101
- package/lib/template/ui/kendo/checkbox.pug +137 -123
- package/lib/template/ui/kendo/checkboxgroup.pug +74 -63
- package/lib/template/ui/kendo/city-selector.pug +80 -69
- package/lib/template/ui/kendo/combobox.pug +81 -70
- package/lib/template/ui/kendo/datepicker.pug +81 -70
- package/lib/template/ui/kendo/employee-selector.pug +107 -96
- package/lib/template/ui/kendo/farris-checkbox-group.pug +107 -96
- package/lib/template/ui/kendo/farris-combo-list.pug +122 -111
- package/lib/template/ui/kendo/farris-combo-lookup.pug +109 -98
- package/lib/template/ui/kendo/farris-datepicker.pug +129 -118
- package/lib/template/ui/kendo/farris-ext-intergration.pug +90 -79
- package/lib/template/ui/kendo/farris-number-range.pug +109 -98
- package/lib/template/ui/kendo/farris-number-spinner.pug +114 -103
- package/lib/template/ui/kendo/farris-switch.pug +99 -88
- package/lib/template/ui/kendo/farris-tags.pug +81 -70
- package/lib/template/ui/kendo/farris-time-picker.pug +113 -102
- package/lib/template/ui/kendo/farris-time-spinner.pug +82 -71
- package/lib/template/ui/kendo/image-upload.pug +93 -82
- package/lib/template/ui/kendo/input-group.pug +107 -96
- package/lib/template/ui/kendo/language-textbox.pug +103 -92
- package/lib/template/ui/kendo/light-lookup.pug +196 -185
- package/lib/template/ui/kendo/lookup-employee.pug +124 -113
- package/lib/template/ui/kendo/lookup.pug +124 -113
- package/lib/template/ui/kendo/multitextbox.pug +112 -101
- package/lib/template/ui/kendo/numericbox.pug +81 -70
- package/lib/template/ui/kendo/oa-relation.pug +28 -20
- package/lib/template/ui/kendo/organization-selector.pug +132 -121
- package/lib/template/ui/kendo/radiobox.pug +71 -60
- package/lib/template/ui/kendo/radioboxgroup.pug +105 -94
- package/lib/template/ui/kendo/richtextbox.pug +64 -53
- package/lib/template/ui/kendo/select.pug +57 -46
- package/lib/template/ui/kendo/switch.pug +78 -67
- package/lib/template/ui/kendo/textbox.pug +109 -98
- package/lib/template/ui/kendo/timebox.pug +58 -47
- package/lib/template/ui/kendo/tinymcerichtextbox.pug +70 -59
- package/lib/utility/devkit/component-parameter-collector/farris-list-filter-parameter-collector.js +8 -1
- package/lib/utility/devkit/component-parameter-collector/farris-list-filter-parameter-collector.js.map +1 -1
- package/lib/utility/template-generator/devkit/component-generator/component-listfilter-parameter-generator.js +6 -5
- package/lib/utility/template-generator/devkit/component-generator/component-listfilter-parameter-generator.js.map +1 -1
- package/package.json +1 -1
|
@@ -1,88 +1,99 @@
|
|
|
1
|
-
-var
|
|
2
|
-
-var
|
|
3
|
-
-var
|
|
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
|
-
-attrs[
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
'[
|
|
55
|
-
'[
|
|
56
|
-
'[
|
|
57
|
-
'
|
|
58
|
-
'
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
71
|
-
|
|
72
|
-
|
|
73
|
-
|
|
74
|
-
|
|
75
|
-
|
|
76
|
-
|
|
77
|
-
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
'[
|
|
81
|
-
'
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
|
|
88
|
-
|
|
1
|
+
-var isTitleTipsAfterLabel = variable.titleTipsTemplate && variable.titleTipsPosition == "afterLabel";
|
|
2
|
+
-var holdPlaceOuterAttrs = {};
|
|
3
|
+
-var holdPlaceInnerAttrs = {};
|
|
4
|
+
-var holdPlaceEmptyAttrs = {};
|
|
5
|
+
if(variable.holdPlace)
|
|
6
|
+
-holdPlaceInnerAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
|
|
7
|
+
-holdPlaceEmptyAttrs['*ngIf']=variable.visible?variable.visiblePipeSuffix?'!'+variable.visible.value+variable.visiblePipeSuffix+'':'!'+variable.visible.value+'':undefined;
|
|
8
|
+
else
|
|
9
|
+
-holdPlaceOuterAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
|
|
10
|
+
div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
|
|
11
|
+
if(variable.holdPlace)
|
|
12
|
+
div(class="f-empty-input-placeholder")&attributes(holdPlaceEmptyAttrs)
|
|
13
|
+
div(class="farris-group-wrap")&attributes(holdPlaceInnerAttrs)
|
|
14
|
+
div(
|
|
15
|
+
class="form-group farris-form-group"
|
|
16
|
+
'[ngClass]'="{'form-group--has-tips': "+(variable.enableTitleTips?variable.enableTitleTips:false)+", 'label--has-tips': "+(isTitleTipsAfterLabel ? 'true' : 'false')+"}"
|
|
17
|
+
)
|
|
18
|
+
if (variable.title)
|
|
19
|
+
-var titleValue=variable.isStaticTitle?("'" + variable.resourceId + "'|lang:lang:'"+variable.defaultI18nValue+"'"):variable.dynamicTitleValue;
|
|
20
|
+
if(variable.linkedLabelEnabled)
|
|
21
|
+
label(class="col-form-label f-pretend-link f-cursor-pointer" title="{{"+titleValue+"}}" for=variable.replacedId '(click)'=variable.linkedLabelClick?variable.linkedLabelClick:undefined '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined)
|
|
22
|
+
if (variable.require)
|
|
23
|
+
span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
|
|
24
|
+
span(class="farris-label-text") {{#{titleValue}}}
|
|
25
|
+
if(isTitleTipsAfterLabel)
|
|
26
|
+
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
27
|
+
i(class="f-icon f-icon-description-tips")
|
|
28
|
+
else
|
|
29
|
+
label(class="col-form-label" title="{{"+titleValue+"}}" for=variable.replacedId '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined)
|
|
30
|
+
if (variable.require)
|
|
31
|
+
span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
|
|
32
|
+
span(class="farris-label-text") {{#{titleValue}}}
|
|
33
|
+
if(isTitleTipsAfterLabel)
|
|
34
|
+
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
35
|
+
i(class="f-icon f-icon-description-tips")
|
|
36
|
+
div(class="farris-input-wrap")
|
|
37
|
+
-var attrs = {};
|
|
38
|
+
if (variable.binding && variable.binding.type == 'Variable')
|
|
39
|
+
-attrs['[(ngModel)]'] = variable.binding.value;
|
|
40
|
+
-attrs['name'] = variable.replacedId;
|
|
41
|
+
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
42
|
+
else
|
|
43
|
+
-attrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
44
|
+
if(variable.isTextArea)
|
|
45
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
46
|
+
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
47
|
+
else
|
|
48
|
+
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
49
|
+
if(variable.hasDefaultFocus)
|
|
50
|
+
-attrs["farris-set-focus"]="";
|
|
51
|
+
if(variable.focusState)
|
|
52
|
+
-attrs["[focusState]"]=variable.focusState+"";
|
|
53
|
+
farris-switch(id=variable.replacedId "input-end-edit" '[disabled]'!=variable.disable?variable.disable:undefined
|
|
54
|
+
'[readonly]'=variable.readonly?variable.readonlyPipeSuffix?""+variable.readonly.value+variable.readonlyPipeSuffix:""+variable.readonly.value:undefined
|
|
55
|
+
'[square]'=variable.square?""+variable.square:undefined
|
|
56
|
+
'[checkedLabel]'=variable.checkedLabel?"'"+variable.checkedLabel+"'":undefined
|
|
57
|
+
'[uncheckedLabel]'=variable.uncheckedLabel?"'"+variable.uncheckedLabel+"'":undefined
|
|
58
|
+
'(valueChange)'=variable.valueChange?variable.valueChange:undefined
|
|
59
|
+
'[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
|
|
60
|
+
'[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
|
|
61
|
+
'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
|
|
62
|
+
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
63
|
+
'[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
|
|
64
|
+
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
65
|
+
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
66
|
+
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
67
|
+
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
|
|
68
|
+
'[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
|
|
69
|
+
if (variable.needValid && variable.binding && variable.binding.path)
|
|
70
|
+
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
71
|
+
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
72
|
+
div(class="farris-feedback")
|
|
73
|
+
if(variable.isTextArea)
|
|
74
|
+
-var areaAttrs = {};
|
|
75
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
76
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
77
|
+
else
|
|
78
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
79
|
+
if (variable.binding && variable.binding.type == 'Variable')
|
|
80
|
+
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
81
|
+
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
82
|
+
else
|
|
83
|
+
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
84
|
+
farris-text('[type]'="'boolean'" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
|
|
85
|
+
'[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined
|
|
86
|
+
'[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
|
|
87
|
+
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
88
|
+
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
89
|
+
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
90
|
+
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
91
|
+
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
|
|
92
|
+
if(variable.titleTipsTemplate && !isTitleTipsAfterLabel)
|
|
93
|
+
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
94
|
+
i(class="f-icon f-icon-description-tips")
|
|
95
|
+
if(variable.titleTipsTemplate)
|
|
96
|
+
-var tipsAttrs= {};
|
|
97
|
+
-tipsAttrs['#'+variable.titleTipsTemplateName] = "";
|
|
98
|
+
ng-template()&attributes(tipsAttrs)
|
|
99
|
+
| !{variable.titleTipsTemplate}
|
|
@@ -1,70 +1,81 @@
|
|
|
1
|
-
-var
|
|
2
|
-
-var
|
|
3
|
-
-var
|
|
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
|
-
-attrs
|
|
38
|
-
if(variable.
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
if
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
|
|
65
|
-
|
|
66
|
-
|
|
67
|
-
|
|
68
|
-
|
|
69
|
-
|
|
70
|
-
|
|
1
|
+
-var isTitleTipsAfterLabel = variable.titleTipsTemplate && variable.titleTipsPosition == "afterLabel";
|
|
2
|
+
-var holdPlaceOuterAttrs = {};
|
|
3
|
+
-var holdPlaceInnerAttrs = {};
|
|
4
|
+
-var holdPlaceEmptyAttrs = {};
|
|
5
|
+
if(variable.holdPlace)
|
|
6
|
+
-holdPlaceInnerAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
|
|
7
|
+
-holdPlaceEmptyAttrs['*ngIf']=variable.visible?variable.visiblePipeSuffix?'!'+variable.visible.value+variable.visiblePipeSuffix+'':'!'+variable.visible.value+'':undefined;
|
|
8
|
+
else
|
|
9
|
+
-holdPlaceOuterAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
|
|
10
|
+
div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
|
|
11
|
+
if(variable.holdPlace)
|
|
12
|
+
div(class="f-empty-input-placeholder")&attributes(holdPlaceEmptyAttrs)
|
|
13
|
+
div(class="farris-group-wrap")&attributes(holdPlaceInnerAttrs)
|
|
14
|
+
div(
|
|
15
|
+
class="form-group farris-form-group"
|
|
16
|
+
'[ngClass]'="{'form-group--has-tips': "+(variable.enableTitleTips?variable.enableTitleTips:false)+", 'label--has-tips': "+(isTitleTipsAfterLabel ? 'true' : 'false')+"}"
|
|
17
|
+
)
|
|
18
|
+
if (variable.title)
|
|
19
|
+
-var titleValue=variable.isStaticTitle?("'" + variable.resourceId + "'|lang:lang:'"+variable.defaultI18nValue+"'"):variable.dynamicTitleValue;
|
|
20
|
+
if(variable.linkedLabelEnabled)
|
|
21
|
+
label(class="col-form-label f-pretend-link f-cursor-pointer" title="{{"+titleValue+"}}" for=variable.replacedId '(click)'=variable.linkedLabelClick?variable.linkedLabelClick:undefined '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined)
|
|
22
|
+
if (variable.require)
|
|
23
|
+
span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
|
|
24
|
+
span(class="farris-label-text") {{#{titleValue}}}
|
|
25
|
+
if(isTitleTipsAfterLabel)
|
|
26
|
+
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
27
|
+
i(class="f-icon f-icon-description-tips")
|
|
28
|
+
else
|
|
29
|
+
label(class="col-form-label" title="{{"+titleValue+"}}" for=variable.replacedId '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined)
|
|
30
|
+
if (variable.require)
|
|
31
|
+
span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
|
|
32
|
+
span(class="farris-label-text") {{#{titleValue}}}
|
|
33
|
+
if(isTitleTipsAfterLabel)
|
|
34
|
+
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
35
|
+
i(class="f-icon f-icon-description-tips")
|
|
36
|
+
div(class="farris-input-wrap")
|
|
37
|
+
-var attrs = {};
|
|
38
|
+
if (variable.binding && variable.binding.type == 'Variable')
|
|
39
|
+
-attrs['[(ngModel)]'] = variable.binding.value;
|
|
40
|
+
-attrs['name'] = variable.replacedId;
|
|
41
|
+
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
42
|
+
else
|
|
43
|
+
-attrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
44
|
+
if (variable.valueChange)
|
|
45
|
+
-attrs['(valueChange)'] = variable.valueChange + '';
|
|
46
|
+
|
|
47
|
+
-attrs['#'+variable.replacedId] = "";
|
|
48
|
+
if(variable.isTextArea)
|
|
49
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
50
|
+
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
51
|
+
else
|
|
52
|
+
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
53
|
+
if(variable.hasDefaultFocus)
|
|
54
|
+
-attrs["farris-set-focus"]="";
|
|
55
|
+
if(variable.focusState)
|
|
56
|
+
-attrs["[focusState]"]=variable.focusState+"";
|
|
57
|
+
farris-tags(id=variable.replacedId?""+variable.replacedId:undefined '*ngIf'!=variable.visible ?variable.visible.value+'':undefined '[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"":undefined '[checkable]'=(variable.checkable || variable.checkable==false)?""+variable.checkable:undefined '[className]'=variable.className?"'"+variable.className+"'":undefined '[color]'=variable.color?"'"+variable.color+"'":undefined '[tagType]'=variable.tagType?"'"+variable.tagType+"'":undefined '(tagClick)'=variable.click?""+variable.click:undefined '(dataChanged)'=variable.dataChanged?""+variable.dataChanged:undefined '(closed)'=variable.closed?""+variable.closed:undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined )&attributes(attrs)
|
|
58
|
+
if (variable.needValid && variable.binding && variable.binding.path)
|
|
59
|
+
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
60
|
+
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
61
|
+
div(class="farris-feedback")
|
|
62
|
+
if(variable.isTextArea)
|
|
63
|
+
-var areaAttrs = {};
|
|
64
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
65
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
66
|
+
else
|
|
67
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
68
|
+
if (variable.binding && variable.binding.type == 'Variable')
|
|
69
|
+
-areaAttrs['[(ngModel)]'] =variable.binding.value;
|
|
70
|
+
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
71
|
+
else
|
|
72
|
+
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
73
|
+
farris-text('[type]'="'date'" '[showTime]'=(variable.showTime || variable.showTime== false)?""+variable.showTime:undefined '[format]'=variable.format?"'"+variable.format+"'":undefined '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined )&attributes(areaAttrs)
|
|
74
|
+
if(variable.titleTipsTemplate && !isTitleTipsAfterLabel)
|
|
75
|
+
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
76
|
+
i(class="f-icon f-icon-description-tips")
|
|
77
|
+
if(variable.titleTipsTemplate)
|
|
78
|
+
-var tipsAttrs= {};
|
|
79
|
+
-tipsAttrs['#'+variable.titleTipsTemplateName] = "";
|
|
80
|
+
ng-template()&attributes(tipsAttrs)
|
|
81
|
+
| !{variable.titleTipsTemplate}
|