@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.
Files changed (49) hide show
  1. package/README.md +4 -0
  2. package/lib/.DS_Store +0 -0
  3. package/lib/domstructure/.DS_Store +0 -0
  4. package/lib/domstructure/ui/.DS_Store +0 -0
  5. package/lib/domstructure/ui/common/basecomponent.js +163 -163
  6. package/lib/domstructure/ui/common/basecomponent.js.map +1 -1
  7. package/lib/template/.DS_Store +0 -0
  8. package/lib/template/ui/.DS_Store +0 -0
  9. package/lib/template/ui/kendo/adminorganization-selector.pug +112 -101
  10. package/lib/template/ui/kendo/checkbox.pug +137 -123
  11. package/lib/template/ui/kendo/checkboxgroup.pug +74 -63
  12. package/lib/template/ui/kendo/city-selector.pug +80 -69
  13. package/lib/template/ui/kendo/combobox.pug +81 -70
  14. package/lib/template/ui/kendo/datepicker.pug +81 -70
  15. package/lib/template/ui/kendo/employee-selector.pug +107 -96
  16. package/lib/template/ui/kendo/farris-checkbox-group.pug +107 -96
  17. package/lib/template/ui/kendo/farris-combo-list.pug +122 -111
  18. package/lib/template/ui/kendo/farris-combo-lookup.pug +109 -98
  19. package/lib/template/ui/kendo/farris-datepicker.pug +129 -118
  20. package/lib/template/ui/kendo/farris-ext-intergration.pug +90 -79
  21. package/lib/template/ui/kendo/farris-number-range.pug +109 -98
  22. package/lib/template/ui/kendo/farris-number-spinner.pug +114 -103
  23. package/lib/template/ui/kendo/farris-switch.pug +99 -88
  24. package/lib/template/ui/kendo/farris-tags.pug +81 -70
  25. package/lib/template/ui/kendo/farris-time-picker.pug +113 -102
  26. package/lib/template/ui/kendo/farris-time-spinner.pug +82 -71
  27. package/lib/template/ui/kendo/image-upload.pug +93 -82
  28. package/lib/template/ui/kendo/input-group.pug +107 -96
  29. package/lib/template/ui/kendo/language-textbox.pug +103 -92
  30. package/lib/template/ui/kendo/light-lookup.pug +196 -185
  31. package/lib/template/ui/kendo/lookup-employee.pug +124 -113
  32. package/lib/template/ui/kendo/lookup.pug +124 -113
  33. package/lib/template/ui/kendo/multitextbox.pug +112 -101
  34. package/lib/template/ui/kendo/numericbox.pug +81 -70
  35. package/lib/template/ui/kendo/oa-relation.pug +28 -20
  36. package/lib/template/ui/kendo/organization-selector.pug +132 -121
  37. package/lib/template/ui/kendo/radiobox.pug +71 -60
  38. package/lib/template/ui/kendo/radioboxgroup.pug +105 -94
  39. package/lib/template/ui/kendo/richtextbox.pug +64 -53
  40. package/lib/template/ui/kendo/select.pug +57 -46
  41. package/lib/template/ui/kendo/switch.pug +78 -67
  42. package/lib/template/ui/kendo/textbox.pug +109 -98
  43. package/lib/template/ui/kendo/timebox.pug +58 -47
  44. package/lib/template/ui/kendo/tinymcerichtextbox.pug +70 -59
  45. package/lib/utility/devkit/component-parameter-collector/farris-list-filter-parameter-collector.js +8 -1
  46. package/lib/utility/devkit/component-parameter-collector/farris-list-filter-parameter-collector.js.map +1 -1
  47. package/lib/utility/template-generator/devkit/component-generator/component-listfilter-parameter-generator.js +6 -5
  48. package/lib/utility/template-generator/devkit/component-generator/component-listfilter-parameter-generator.js.map +1 -1
  49. package/package.json +1 -1
@@ -1,113 +1,124 @@
1
- -var holdPlaceOuterAttrs = {};
2
- -var holdPlaceInnerAttrs = {};
3
- -var holdPlaceEmptyAttrs = {};
4
- if(variable.holdPlace)
5
- -holdPlaceInnerAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
6
- -holdPlaceEmptyAttrs['*ngIf']=variable.visible?variable.visiblePipeSuffix?'!'+variable.visible.value+variable.visiblePipeSuffix+'':'!'+variable.visible.value+'':undefined;
7
- else
8
- -holdPlaceOuterAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
9
- div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
10
- if(variable.holdPlace)
11
- div(class="f-empty-input-placeholder")&attributes(holdPlaceEmptyAttrs)
12
- div(class="farris-group-wrap")&attributes(holdPlaceInnerAttrs)
13
- div(class="form-group farris-form-group" '[ngClass]'="{'form-group--has-tips':"+(variable.enableTitleTips?variable.enableTitleTips:false)+"}")
14
- if (variable.title)
15
- -var titleValue=variable.isStaticTitle?("'" + variable.resourceId + "'|lang:lang:'"+variable.defaultI18nValue+"'"):variable.dynamicTitleValue;
16
- if(variable.linkedLabelEnabled)
17
- 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)
18
- if (variable.require)
19
- span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
20
- span(class="farris-label-text") {{#{titleValue}}}
21
- else
22
- label(class="col-form-label" title="{{"+titleValue+"}}" for=variable.replacedId '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined)
23
- if (variable.require)
24
- span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
25
- span(class="farris-label-text") {{#{titleValue}}}
26
- div(class="farris-input-wrap")
27
- -var attrs = {};
28
- if (variable.binding && variable.binding.type == 'Variable')
29
- -attrs['[(ngModel)]'] = variable.binding.value;
30
- -attrs['name'] = variable.replacedId;
31
- -attrs['[ngModelOptions]'] = "{standalone:true}";
32
- else
33
- -attrs['formControlName'] = (variable.binding && variable.binding.path);
34
- if (variable.valueChange)
35
- -attrs['(valueChange)'] = variable.valueChange ;
36
-
37
- -attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
38
-
39
- if(variable.isTextArea)
40
- if(variable.readonly && variable.readonly.isComposite)
41
- -attrs["*ngIf"]="!"+variable.readonly.value;
42
- else
43
- -attrs["*ngIf"]="viewModel.stateMachine['editable']";
44
- if(variable.hasDefaultFocus)
45
- -attrs["farris-set-focus"]="";
46
- if(variable.focusState)
47
- -attrs["[focusState]"]=variable.focusState+"";
48
- -attrs['#'+variable.replacedId] = "";
49
- farris-personnel-selector(
50
- personnel-selector-data-mapping
51
- input-end-edit
52
- orgScopeType=variable.orgScopeType?""+variable.orgScopeType:undefined
53
- '[beforeLoadOrgScope]'=variable.beforeLoadOrgScope?""+variable.beforeLoadOrgScope:undefined
54
- '[disabled]'!=variable.disable?variable.disable.toString():undefined
55
- '[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"":undefined
56
- '[viewType]'!=variable.viewType?"'"+variable.viewType+"'":undefined
57
- '[busNum]'!=variable.busNum?"'"+variable.busNum+"'":undefined
58
- '[orgId]'!=variable.orgId?""+variable.orgId.value:undefined
59
- '[absOrgType]'=variable.absOrgType?"'"+variable.absOrgType+"'":undefined
60
- '[multiSelect]'!=variable.multiSelect?""+variable.multiSelect.value:undefined
61
- '[mapFields]'=variable.mapFields?variable.mapFields:undefined
62
- '(tagRemoved)'!=variable.tagRemoved?variable.tagRemoved+"":undefined
63
- '(selectionsChange)'!=variable.selectionsChange?variable.selectionsChange+"":undefined
64
- "[idField]"=variable.idField?"'"+variable.idField+"'":undefined
65
- '[showTabIds]'=variable.showTabIds?"'"+variable.showTabIds+"'":undefined
66
- "[displayField]"=variable.textField?"'"+variable.textField+"'":undefined
67
- '[enableQuick]'=variable.enableQuick?""+variable.enableQuick.value:undefined
68
- '[enableHierarchicalLoading]'=variable.enableHierarchicalLoading?""+variable.enableHierarchicalLoading.value:undefined
69
- '[filterId]'=variable.filterId?"'"+variable.filterId+"'":undefined
70
- "[formatFn]"=variable.formatterName?""+variable.formatterName:undefined
71
- '(inputClear)'!=variable.inputClear?variable.inputClear+"":undefined
72
- '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
73
- '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
74
- 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
75
- '[showDisabledItem]'=variable.showDisabledItem?""+variable.showDisabledItem.value:undefined
76
- '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
77
- '[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
78
- '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
79
- '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
80
- '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
81
- '[enableSelectOrg]'=(variable.enableSelectOrg === true || variable.enableSelectOrg === false)?""+variable.enableSelectOrg:undefined
82
- '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
83
- '[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
84
- if (variable.needValid && variable.binding && variable.binding.path)
85
- -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
86
- validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
87
- div(class="farris-feedback")
88
- if(variable.isTextArea)
89
- -var areaAttrs = {};
90
- if(variable.readonly && variable.readonly.isComposite)
91
- -areaAttrs["*ngIf"]=variable.readonly.value;
92
- else
93
- -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
94
- if (variable.binding && variable.binding.type == 'Variable')
95
- -areaAttrs['[(ngModel)]'] = variable.binding.value;
96
- -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
97
- else
98
- -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
99
- farris-text('[type]'="'string'" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
100
- '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined
101
- '[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
102
- '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
103
- '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
104
- '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
105
- '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
106
- '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
107
- if(variable.titleTipsTemplate)
108
- span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
109
- i(class="f-icon f-icon-description-tips")
110
- -var tipsAttrs= {};
111
- -tipsAttrs['#'+variable.titleTipsTemplateName] = "";
112
- ng-template()&attributes(tipsAttrs)
113
- | !{variable.titleTipsTemplate}
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['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
48
+
49
+ if(variable.isTextArea)
50
+ if(variable.readonly && variable.readonly.isComposite)
51
+ -attrs["*ngIf"]="!"+variable.readonly.value;
52
+ else
53
+ -attrs["*ngIf"]="viewModel.stateMachine['editable']";
54
+ if(variable.hasDefaultFocus)
55
+ -attrs["farris-set-focus"]="";
56
+ if(variable.focusState)
57
+ -attrs["[focusState]"]=variable.focusState+"";
58
+ -attrs['#'+variable.replacedId] = "";
59
+ farris-personnel-selector(
60
+ personnel-selector-data-mapping
61
+ input-end-edit
62
+ orgScopeType=variable.orgScopeType?""+variable.orgScopeType:undefined
63
+ '[beforeLoadOrgScope]'=variable.beforeLoadOrgScope?""+variable.beforeLoadOrgScope:undefined
64
+ '[disabled]'!=variable.disable?variable.disable.toString():undefined
65
+ '[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"":undefined
66
+ '[viewType]'!=variable.viewType?"'"+variable.viewType+"'":undefined
67
+ '[busNum]'!=variable.busNum?"'"+variable.busNum+"'":undefined
68
+ '[orgId]'!=variable.orgId?""+variable.orgId.value:undefined
69
+ '[absOrgType]'=variable.absOrgType?"'"+variable.absOrgType+"'":undefined
70
+ '[multiSelect]'!=variable.multiSelect?""+variable.multiSelect.value:undefined
71
+ '[mapFields]'=variable.mapFields?variable.mapFields:undefined
72
+ '(tagRemoved)'!=variable.tagRemoved?variable.tagRemoved+"":undefined
73
+ '(selectionsChange)'!=variable.selectionsChange?variable.selectionsChange+"":undefined
74
+ "[idField]"=variable.idField?"'"+variable.idField+"'":undefined
75
+ '[showTabIds]'=variable.showTabIds?"'"+variable.showTabIds+"'":undefined
76
+ "[displayField]"=variable.textField?"'"+variable.textField+"'":undefined
77
+ '[enableQuick]'=variable.enableQuick?""+variable.enableQuick.value:undefined
78
+ '[enableHierarchicalLoading]'=variable.enableHierarchicalLoading?""+variable.enableHierarchicalLoading.value:undefined
79
+ '[filterId]'=variable.filterId?"'"+variable.filterId+"'":undefined
80
+ "[formatFn]"=variable.formatterName?""+variable.formatterName:undefined
81
+ '(inputClear)'!=variable.inputClear?variable.inputClear+"":undefined
82
+ '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
83
+ '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
84
+ 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
85
+ '[showDisabledItem]'=variable.showDisabledItem?""+variable.showDisabledItem.value:undefined
86
+ '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
87
+ '[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
88
+ '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
89
+ '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
90
+ '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
91
+ '[enableSelectOrg]'=(variable.enableSelectOrg === true || variable.enableSelectOrg === false)?""+variable.enableSelectOrg:undefined
92
+ '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
93
+ '[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
94
+ if (variable.needValid && variable.binding && variable.binding.path)
95
+ -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
96
+ validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
97
+ div(class="farris-feedback")
98
+ if(variable.isTextArea)
99
+ -var areaAttrs = {};
100
+ if(variable.readonly && variable.readonly.isComposite)
101
+ -areaAttrs["*ngIf"]=variable.readonly.value;
102
+ else
103
+ -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
104
+ if (variable.binding && variable.binding.type == 'Variable')
105
+ -areaAttrs['[(ngModel)]'] = variable.binding.value;
106
+ -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
107
+ else
108
+ -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
109
+ farris-text('[type]'="'string'" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
110
+ '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined
111
+ '[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
112
+ '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
113
+ '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
114
+ '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
115
+ '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
116
+ '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
117
+ if(variable.titleTipsTemplate && !isTitleTipsAfterLabel)
118
+ span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
119
+ i(class="f-icon f-icon-description-tips")
120
+ if(variable.titleTipsTemplate)
121
+ -var tipsAttrs= {};
122
+ -tipsAttrs['#'+variable.titleTipsTemplateName] = "";
123
+ ng-template()&attributes(tipsAttrs)
124
+ | !{variable.titleTipsTemplate}
@@ -1,114 +1,125 @@
1
- //- -var variable = {};
2
-
3
- -var holdPlaceOuterAttrs = {};
4
- -var holdPlaceInnerAttrs = {};
5
- -var holdPlaceEmptyAttrs = {};
6
- if(variable.holdPlace)
7
- -holdPlaceInnerAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
8
- -holdPlaceEmptyAttrs['*ngIf']=variable.visible?variable.visiblePipeSuffix?'!'+variable.visible.value+variable.visiblePipeSuffix+'':'!'+variable.visible.value+'':undefined;
9
- else
10
- -holdPlaceOuterAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
11
- div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
12
- if(variable.holdPlace)
13
- div(class="f-empty-input-placeholder")&attributes(holdPlaceEmptyAttrs)
14
- div(class="farris-group-wrap")&attributes(holdPlaceInnerAttrs)
15
- div(class="form-group farris-form-group" '[ngClass]'="{'form-group--has-tips':"+(variable.enableTitleTips?variable.enableTitleTips:false)+"}")
16
- if (variable.title)
17
- -var titleValue=variable.isStaticTitle?("'" + variable.resourceId + "'|lang:lang:'"+variable.defaultI18nValue+"'"):variable.dynamicTitleValue;
18
- if(variable.linkedLabelEnabled)
19
- 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)
20
- if (variable.require)
21
- span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
22
- span(class="farris-label-text") {{#{titleValue}}}
23
- else
24
- label(class="col-form-label" title="{{"+titleValue+"}}" for=variable.replacedId '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined)
25
- if (variable.require)
26
- span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
27
- span(class="farris-label-text") {{#{titleValue}}}
28
- div(class="farris-input-wrap")
29
- -var attrs = {};
30
- if (variable.binding && variable.binding.type == 'Variable')
31
- -attrs['[(UIStateBinding)]'] = variable.binding.value;
32
- -attrs['name'] = variable.replacedId;
33
- else
34
- -attrs['formControlName'] = (variable.binding && variable.binding.path);
35
- if (variable.lookupPicking)
36
- -attrs['[dictPicking]'] = variable.lookupPicking;
37
- if (variable.lookupPicked)
38
- -attrs['[dictPicked]'] = variable.lookupPicked;
39
- if (variable.beforeSelectData)
40
- -attrs['[beforeSelectData]'] = variable.beforeSelectData;
41
- if (variable.readonly)
42
- -attrs['[readonly]'] = variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"";
43
-
44
- -attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
45
- if(variable.isTextArea)
46
- if(variable.readonly && variable.readonly.isComposite)
47
- -attrs["*ngIf"]="!"+variable.readonly.value;
48
- else
49
- -attrs["*ngIf"]="viewModel.stateMachine['editable']";
50
- if(variable.hasDefaultFocus)
51
- -attrs["farris-set-focus"]="";
52
- if(variable.focusState)
53
- -attrs["[focusState]"]=variable.focusState+"";
54
- -attrs['#'+variable.replacedId] = "";
55
- farris-lookup-grid(id=variable.replacedId "input-end-edit" 'lookupGridRef' 'data-mapping' '[useTip]'=(variable.useTip || variable.useTip==false)?variable.useTip+"":undefined '[useFavorite]'=(variable.useFavorite || variable.useFavorite==false)?variable.useFavorite+"":undefined
56
- '[nosearch]'=variable.noSearch?""+variable.noSearch.value:undefined '[editable]'=(variable.editable || variable.editable==false)?""+variable.editable:undefined '[disabled]'!=variable.disable?variable.disable.toString():undefined
57
- '[displayType]'="'" + variable.displayType+ "'" '[uri]'=(variable.dataSource && variable.dataSource.uri)?"'" + variable.dataSource.uri + "'":undefined '[idField]'=(variable.dataSource && variable.dataSource.idField)?"'" + variable.dataSource.idField + "'":undefined
58
- '[mapFields]'=variable.mapFields?variable.mapFields:undefined '[singleSelect]'=(!variable.multiSelect) + "" '[pageSize]'=(variable.pageSize || 20) '[pageList]'=variable.arrPageList?variable.arrPageList:undefined '[pageIndex]'=(variable.pageIndex || 1)
59
- '[pagination]'=(variable.pagination == null | variable.pagination == undefined)?"true":variable.pagination + "" '[textField]'="'" + variable.textField + "'" '[valueField]'="'" + variable.valueField + "'"
60
- '[title]'=variable.dialogTitleLang?""+variable.dialogTitleLang:undefined '[showMaxButton]'=(variable.showMaxButton == null | variable.showMaxButton == undefined)?"true":variable.showMaxButton + ""
61
- '[showCloseButton]'=(variable.showCloseButton == null | variable.showCloseButton == undefined)?"true":variable.showCloseButton + "" '[resizable]'=(variable.resizable == null | variable.resizable == undefined)?"true":variable.resizable + ""
62
- '(clear)'=variable.clear?variable.clear:undefined '[context]'=variable.context?variable.context:undefined '[enableToSelect]'=(variable.enableToSelect || variable.enableToSelect == false)?""+variable.enableToSelect:undefined '[expandLevel]'=""+variable.expandLevel
63
- '[isRecordSize]'=(variable.isRecordSize || variable.isRecordSize == false)?""+variable.isRecordSize:undefined '[enableFullTree]'=(variable.enableFullTree || variable.enableFullTree == false)?""+variable.enableFullTree:undefined
64
- '[loadTreeDataType]'=variable.loadTreeDataType ?"'"+variable.loadTreeDataType+"'":undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
65
- '[enableClear]'=(variable.enableClear || variable.enableClear==false)?""+variable.enableClear:undefined '[dialogWidth]'=variable.panelWidth?""+variable.panelWidth:undefined '[dialogHeight]'=variable.panelHeight?""+variable.panelHeight:undefined
66
- '[enableCascade]'=variable.enableCascade?""+variable.enableCascade:undefined '[cascadeStatus]'=variable.cascadeStatus?"'"+variable.cascadeStatus+"'":undefined '[useExtendInfo]'=(variable.useExtendInfo || variable.useExtendInfo==false)?""+variable.useExtendInfo:undefined
67
- '[extInfoFields]'=variable.extInfoFields?"'"+variable.extInfoFields+"'":undefined '[extInfoFormatter]'=variable.extInfoFormatterName?""+variable.extInfoFormatterName:undefined
68
- '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
69
- 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined '[customFormatter]'=variable.customFormatterName?""+variable.customFormatterName:undefined
70
- '[selectFirstInNav]'=variable.selectFirstInNav?""+variable.selectFirstInNav.value:undefined '[loadDataWhenOpen]'=variable.loadDataWhenOpen?""+variable.loadDataWhenOpen.value:undefined
71
- '[customNavFormatter]'=variable.customNavFormatterName?""+variable.customNavFormatterName:undefined '[treeInfo]'=variable.treeInfo?variable.treeInfo:undefined '[maxLength]'=variable.maxSearchLength?""+variable.maxSearchLength:undefined
72
- '[viewType]'=variable.viewType?"'"+variable.viewType+"'":undefined '[treeTableOptions]'=variable.treeTableOptions?variable.treeTableOptions:undefined '[showCheckAll]'=variable.showCheckAll?""+variable.showCheckAll.value:undefined
73
- '[quickSelect]'=variable.quickSelectName?""+variable.quickSelectName:undefined '[treeToList]'=variable.treeToList?""+variable.treeToList.value:undefined '[navTreeToList]'=variable.navTreeToList?""+variable.navTreeToList.value:undefined
74
- '[showNavigation]'=variable.showNavigation?""+variable.showNavigation.value:undefined '[showCascadeControl]'=variable.showCascadeControl?""+variable.showCascadeControl.value:undefined
75
- '[showSelected]'=variable.showSelected?""+variable.showSelected.value:undefined '[multipleChoiceSeparator]'=variable.multipleChoiceSeparator?"'"+variable.multipleChoiceSeparator.value+"'":undefined
76
- '[useNewLayout]'=variable.useNewLayout?""+variable.useNewLayout.value:undefined '[enableMultiFieldSearch]'=variable.enableMultiFieldSearch?""+variable.enableMultiFieldSearch.value:undefined
77
- '[showDisabledItem]'=variable.showDisabledItem?""+variable.showDisabledItem.value:undefined
78
- '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
79
- '[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
80
- '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
81
- '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
82
- '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
83
- '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
84
- '[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
85
- if (variable.needValid && variable.binding && variable.binding.path)
86
- -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
87
- validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
88
- div(class="farris-feedback")
89
- if(variable.isTextArea)
90
- -var areaAttrs = {};
91
- if(variable.readonly && variable.readonly.isComposite)
92
- -areaAttrs["*ngIf"]=variable.readonly.value;
93
- else
94
- -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
95
- if (variable.binding && variable.binding.type == 'Variable')
96
- -areaAttrs['[(ngModel)]'] = variable.binding.value;
97
- -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
98
- else
99
- -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
100
- farris-text('[type]'="'string'" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
101
- '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined
102
- '[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
103
- '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
104
- '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
105
- '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
106
- '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
107
- '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
108
- if(variable.titleTipsTemplate)
109
- span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
110
- i(class="f-icon f-icon-description-tips")
111
- -var tipsAttrs= {};
112
- -tipsAttrs['#'+variable.titleTipsTemplateName] = "";
113
- ng-template()&attributes(tipsAttrs)
1
+ -var isTitleTipsAfterLabel = variable.titleTipsTemplate && variable.titleTipsPosition == "afterLabel";
2
+ //- -var variable = {};
3
+
4
+ -var holdPlaceOuterAttrs = {};
5
+ -var holdPlaceInnerAttrs = {};
6
+ -var holdPlaceEmptyAttrs = {};
7
+ if(variable.holdPlace)
8
+ -holdPlaceInnerAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
9
+ -holdPlaceEmptyAttrs['*ngIf']=variable.visible?variable.visiblePipeSuffix?'!'+variable.visible.value+variable.visiblePipeSuffix+'':'!'+variable.visible.value+'':undefined;
10
+ else
11
+ -holdPlaceOuterAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
12
+ div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
13
+ if(variable.holdPlace)
14
+ div(class="f-empty-input-placeholder")&attributes(holdPlaceEmptyAttrs)
15
+ div(class="farris-group-wrap")&attributes(holdPlaceInnerAttrs)
16
+ div(
17
+ class="form-group farris-form-group"
18
+ '[ngClass]'="{'form-group--has-tips': "+(variable.enableTitleTips?variable.enableTitleTips:false)+", 'label--has-tips': "+(isTitleTipsAfterLabel ? 'true' : 'false')+"}"
19
+ )
20
+ if (variable.title)
21
+ -var titleValue=variable.isStaticTitle?("'" + variable.resourceId + "'|lang:lang:'"+variable.defaultI18nValue+"'"):variable.dynamicTitleValue;
22
+ if(variable.linkedLabelEnabled)
23
+ 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)
24
+ if (variable.require)
25
+ span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
26
+ span(class="farris-label-text") {{#{titleValue}}}
27
+ if(isTitleTipsAfterLabel)
28
+ span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
29
+ i(class="f-icon f-icon-description-tips")
30
+ else
31
+ label(class="col-form-label" title="{{"+titleValue+"}}" for=variable.replacedId '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined)
32
+ if (variable.require)
33
+ span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
34
+ span(class="farris-label-text") {{#{titleValue}}}
35
+ if(isTitleTipsAfterLabel)
36
+ span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
37
+ i(class="f-icon f-icon-description-tips")
38
+ div(class="farris-input-wrap")
39
+ -var attrs = {};
40
+ if (variable.binding && variable.binding.type == 'Variable')
41
+ -attrs['[(UIStateBinding)]'] = variable.binding.value;
42
+ -attrs['name'] = variable.replacedId;
43
+ else
44
+ -attrs['formControlName'] = (variable.binding && variable.binding.path);
45
+ if (variable.lookupPicking)
46
+ -attrs['[dictPicking]'] = variable.lookupPicking;
47
+ if (variable.lookupPicked)
48
+ -attrs['[dictPicked]'] = variable.lookupPicked;
49
+ if (variable.beforeSelectData)
50
+ -attrs['[beforeSelectData]'] = variable.beforeSelectData;
51
+ if (variable.readonly)
52
+ -attrs['[readonly]'] = variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"";
53
+
54
+ -attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
55
+ if(variable.isTextArea)
56
+ if(variable.readonly && variable.readonly.isComposite)
57
+ -attrs["*ngIf"]="!"+variable.readonly.value;
58
+ else
59
+ -attrs["*ngIf"]="viewModel.stateMachine['editable']";
60
+ if(variable.hasDefaultFocus)
61
+ -attrs["farris-set-focus"]="";
62
+ if(variable.focusState)
63
+ -attrs["[focusState]"]=variable.focusState+"";
64
+ -attrs['#'+variable.replacedId] = "";
65
+ farris-lookup-grid(id=variable.replacedId "input-end-edit" 'lookupGridRef' 'data-mapping' '[useTip]'=(variable.useTip || variable.useTip==false)?variable.useTip+"":undefined '[useFavorite]'=(variable.useFavorite || variable.useFavorite==false)?variable.useFavorite+"":undefined
66
+ '[nosearch]'=variable.noSearch?""+variable.noSearch.value:undefined '[editable]'=(variable.editable || variable.editable==false)?""+variable.editable:undefined '[disabled]'!=variable.disable?variable.disable.toString():undefined
67
+ '[displayType]'="'" + variable.displayType+ "'" '[uri]'=(variable.dataSource && variable.dataSource.uri)?"'" + variable.dataSource.uri + "'":undefined '[idField]'=(variable.dataSource && variable.dataSource.idField)?"'" + variable.dataSource.idField + "'":undefined
68
+ '[mapFields]'=variable.mapFields?variable.mapFields:undefined '[singleSelect]'=(!variable.multiSelect) + "" '[pageSize]'=(variable.pageSize || 20) '[pageList]'=variable.arrPageList?variable.arrPageList:undefined '[pageIndex]'=(variable.pageIndex || 1)
69
+ '[pagination]'=(variable.pagination == null | variable.pagination == undefined)?"true":variable.pagination + "" '[textField]'="'" + variable.textField + "'" '[valueField]'="'" + variable.valueField + "'"
70
+ '[title]'=variable.dialogTitleLang?""+variable.dialogTitleLang:undefined '[showMaxButton]'=(variable.showMaxButton == null | variable.showMaxButton == undefined)?"true":variable.showMaxButton + ""
71
+ '[showCloseButton]'=(variable.showCloseButton == null | variable.showCloseButton == undefined)?"true":variable.showCloseButton + "" '[resizable]'=(variable.resizable == null | variable.resizable == undefined)?"true":variable.resizable + ""
72
+ '(clear)'=variable.clear?variable.clear:undefined '[context]'=variable.context?variable.context:undefined '[enableToSelect]'=(variable.enableToSelect || variable.enableToSelect == false)?""+variable.enableToSelect:undefined '[expandLevel]'=""+variable.expandLevel
73
+ '[isRecordSize]'=(variable.isRecordSize || variable.isRecordSize == false)?""+variable.isRecordSize:undefined '[enableFullTree]'=(variable.enableFullTree || variable.enableFullTree == false)?""+variable.enableFullTree:undefined
74
+ '[loadTreeDataType]'=variable.loadTreeDataType ?"'"+variable.loadTreeDataType+"'":undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
75
+ '[enableClear]'=(variable.enableClear || variable.enableClear==false)?""+variable.enableClear:undefined '[dialogWidth]'=variable.panelWidth?""+variable.panelWidth:undefined '[dialogHeight]'=variable.panelHeight?""+variable.panelHeight:undefined
76
+ '[enableCascade]'=variable.enableCascade?""+variable.enableCascade:undefined '[cascadeStatus]'=variable.cascadeStatus?"'"+variable.cascadeStatus+"'":undefined '[useExtendInfo]'=(variable.useExtendInfo || variable.useExtendInfo==false)?""+variable.useExtendInfo:undefined
77
+ '[extInfoFields]'=variable.extInfoFields?"'"+variable.extInfoFields+"'":undefined '[extInfoFormatter]'=variable.extInfoFormatterName?""+variable.extInfoFormatterName:undefined
78
+ '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
79
+ 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined '[customFormatter]'=variable.customFormatterName?""+variable.customFormatterName:undefined
80
+ '[selectFirstInNav]'=variable.selectFirstInNav?""+variable.selectFirstInNav.value:undefined '[loadDataWhenOpen]'=variable.loadDataWhenOpen?""+variable.loadDataWhenOpen.value:undefined
81
+ '[customNavFormatter]'=variable.customNavFormatterName?""+variable.customNavFormatterName:undefined '[treeInfo]'=variable.treeInfo?variable.treeInfo:undefined '[maxLength]'=variable.maxSearchLength?""+variable.maxSearchLength:undefined
82
+ '[viewType]'=variable.viewType?"'"+variable.viewType+"'":undefined '[treeTableOptions]'=variable.treeTableOptions?variable.treeTableOptions:undefined '[showCheckAll]'=variable.showCheckAll?""+variable.showCheckAll.value:undefined
83
+ '[quickSelect]'=variable.quickSelectName?""+variable.quickSelectName:undefined '[treeToList]'=variable.treeToList?""+variable.treeToList.value:undefined '[navTreeToList]'=variable.navTreeToList?""+variable.navTreeToList.value:undefined
84
+ '[showNavigation]'=variable.showNavigation?""+variable.showNavigation.value:undefined '[showCascadeControl]'=variable.showCascadeControl?""+variable.showCascadeControl.value:undefined
85
+ '[showSelected]'=variable.showSelected?""+variable.showSelected.value:undefined '[multipleChoiceSeparator]'=variable.multipleChoiceSeparator?"'"+variable.multipleChoiceSeparator.value+"'":undefined
86
+ '[useNewLayout]'=variable.useNewLayout?""+variable.useNewLayout.value:undefined '[enableMultiFieldSearch]'=variable.enableMultiFieldSearch?""+variable.enableMultiFieldSearch.value:undefined
87
+ '[showDisabledItem]'=variable.showDisabledItem?""+variable.showDisabledItem.value:undefined
88
+ '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
89
+ '[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
90
+ '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
91
+ '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
92
+ '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
93
+ '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
94
+ '[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
95
+ if (variable.needValid && variable.binding && variable.binding.path)
96
+ -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
97
+ validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
98
+ div(class="farris-feedback")
99
+ if(variable.isTextArea)
100
+ -var areaAttrs = {};
101
+ if(variable.readonly && variable.readonly.isComposite)
102
+ -areaAttrs["*ngIf"]=variable.readonly.value;
103
+ else
104
+ -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
105
+ if (variable.binding && variable.binding.type == 'Variable')
106
+ -areaAttrs['[(ngModel)]'] = variable.binding.value;
107
+ -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
108
+ else
109
+ -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
110
+ farris-text('[type]'="'string'" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
111
+ '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined
112
+ '[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
113
+ '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
114
+ '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
115
+ '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
116
+ '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
117
+ '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
118
+ if(variable.titleTipsTemplate && !isTitleTipsAfterLabel)
119
+ span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
120
+ i(class="f-icon f-icon-description-tips")
121
+ if(variable.titleTipsTemplate)
122
+ -var tipsAttrs= {};
123
+ -tipsAttrs['#'+variable.titleTipsTemplateName] = "";
124
+ ng-template()&attributes(tipsAttrs)
114
125
  | !{variable.titleTipsTemplate}