@farris/jit-engine 1.4.126 → 1.4.128

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