@farris/jit-engine 1.3.285 → 1.3.290

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 (172) hide show
  1. package/README.md +8 -0
  2. package/ioc.config +0 -0
  3. package/lib/.DS_Store +0 -0
  4. package/lib/domstructure/devkit/devkit.js +5 -1
  5. package/lib/domstructure/devkit/devkit.js.map +1 -1
  6. package/lib/domstructure/devkit/section-toolbar/farris-section-toolbar-item.js +8 -1
  7. package/lib/domstructure/devkit/section-toolbar/farris-section-toolbar-item.js.map +1 -1
  8. package/lib/domstructure/devkit/tab-toolbar/farris-tab-toolbar-Item.js +8 -1
  9. package/lib/domstructure/devkit/tab-toolbar/farris-tab-toolbar-Item.js.map +1 -1
  10. package/lib/domstructure/devkit/viewmodel/component/component.js +15 -8
  11. package/lib/domstructure/devkit/viewmodel/component/component.js.map +1 -1
  12. package/lib/domstructure/devkit/viewmodel/viewmodel.js +2 -0
  13. package/lib/domstructure/devkit/viewmodel/viewmodel.js.map +1 -1
  14. package/lib/domstructure/ui/commands/button.js +2 -0
  15. package/lib/domstructure/ui/commands/button.js.map +1 -1
  16. package/lib/domstructure/ui/commands/toolbar.js +2 -0
  17. package/lib/domstructure/ui/commands/toolbar.js.map +1 -1
  18. package/lib/domstructure/ui/common/basecomponent.js +11 -0
  19. package/lib/domstructure/ui/common/basecomponent.js.map +1 -1
  20. package/lib/domstructure/ui/data/fields/form/form_field.js +17 -16
  21. package/lib/domstructure/ui/data/fields/form/form_field.js.map +1 -1
  22. package/lib/domstructure/ui/section/section.js +2 -0
  23. package/lib/domstructure/ui/section/section.js.map +1 -1
  24. package/lib/domstructure/ui/table/farris-table-column.js.map +1 -1
  25. package/lib/domstructure/ui/table/farris-table-static-text.js.map +1 -1
  26. package/lib/domstructure/ui/tabs/farris-tabs.js +2 -0
  27. package/lib/domstructure/ui/tabs/farris-tabs.js.map +1 -1
  28. package/lib/index.js +0 -0
  29. package/lib/index.js.map +0 -0
  30. package/lib/mobileapp/.DS_Store +0 -0
  31. package/lib/template/.DS_Store +0 -0
  32. package/lib/template/ui/.DS_Store +0 -0
  33. package/lib/template/ui/kendo/button.pug +7 -1
  34. package/lib/template/ui/kendo/checkbox.pug +26 -7
  35. package/lib/template/ui/kendo/checkboxgroup.pug +18 -6
  36. package/lib/template/ui/kendo/farris-avatar.pug +8 -2
  37. package/lib/template/ui/kendo/farris-checkbox-group.pug +36 -7
  38. package/lib/template/ui/kendo/farris-combo-list.pug +48 -8
  39. package/lib/template/ui/kendo/farris-combo-lookup.pug +23 -8
  40. package/lib/template/ui/kendo/farris-datepicker.pug +22 -8
  41. package/lib/template/ui/kendo/farris-number-range.pug +37 -7
  42. package/lib/template/ui/kendo/farris-number-spinner.pug +43 -23
  43. package/lib/template/ui/kendo/farris-switch.pug +29 -7
  44. package/lib/template/ui/kendo/farris-tags.pug +6 -6
  45. package/lib/template/ui/kendo/farris-time-picker.pug +38 -7
  46. package/lib/template/ui/kendo/farris-time-spinner.pug +29 -6
  47. package/lib/template/ui/kendo/farristabs.pug +12 -1
  48. package/lib/template/ui/kendo/image.pug +1 -1
  49. package/lib/template/ui/kendo/input-group.pug +37 -7
  50. package/lib/template/ui/kendo/language-textbox.pug +29 -7
  51. package/lib/template/ui/kendo/lookup-employee.pug +23 -10
  52. package/lib/template/ui/kendo/lookup.pug +23 -8
  53. package/lib/template/ui/kendo/multitextbox.pug +41 -7
  54. package/lib/template/ui/kendo/organization-selector.pug +23 -10
  55. package/lib/template/ui/kendo/radiobox.pug +13 -1
  56. package/lib/template/ui/kendo/radioboxgroup.pug +32 -7
  57. package/lib/template/ui/kendo/richtextbox.pug +6 -6
  58. package/lib/template/ui/kendo/section.pug +14 -1
  59. package/lib/template/ui/kendo/table/checkbox.pug +14 -3
  60. package/lib/template/ui/kendo/table/checkboxgroup.pug +1 -1
  61. package/lib/template/ui/kendo/table/combobox.pug +3 -3
  62. package/lib/template/ui/kendo/table/datepicker.pug +2 -2
  63. package/lib/template/ui/kendo/table/employee-selector.pug +1 -1
  64. package/lib/template/ui/kendo/table/farris-avatar.pug +10 -2
  65. package/lib/template/ui/kendo/table/farris-checkbox-group.pug +2 -2
  66. package/lib/template/ui/kendo/table/farris-combo-list.pug +3 -3
  67. package/lib/template/ui/kendo/table/farris-combo-lookup.pug +2 -2
  68. package/lib/template/ui/kendo/table/farris-datepicker.pug +2 -2
  69. package/lib/template/ui/kendo/table/farris-number-range.pug +13 -2
  70. package/lib/template/ui/kendo/table/farris-number-spinner.pug +17 -2
  71. package/lib/template/ui/kendo/table/farris-static-text.pug +2 -2
  72. package/lib/template/ui/kendo/table/farris-switch.pug +11 -2
  73. package/lib/template/ui/kendo/table/farris-tags.pug +8 -1
  74. package/lib/template/ui/kendo/table/farris-time-picker.pug +2 -2
  75. package/lib/template/ui/kendo/table/farris-time-spinner.pug +1 -1
  76. package/lib/template/ui/kendo/table/input-group.pug +2 -2
  77. package/lib/template/ui/kendo/table/language-textbox.pug +2 -2
  78. package/lib/template/ui/kendo/table/lookup-employee.pug +1 -1
  79. package/lib/template/ui/kendo/table/lookup.pug +22 -22
  80. package/lib/template/ui/kendo/table/multi-select.pug +1 -1
  81. package/lib/template/ui/kendo/table/multitextbox.pug +2 -2
  82. package/lib/template/ui/kendo/table/numericbox.pug +12 -2
  83. package/lib/template/ui/kendo/table/organization-selector.pug +1 -1
  84. package/lib/template/ui/kendo/table/radiobox.pug +1 -1
  85. package/lib/template/ui/kendo/table/radioboxgroup.pug +2 -2
  86. package/lib/template/ui/kendo/table/richtextbox.pug +1 -1
  87. package/lib/template/ui/kendo/table/select.pug +10 -2
  88. package/lib/template/ui/kendo/table/switch.pug +11 -2
  89. package/lib/template/ui/kendo/table/textbox.pug +3 -3
  90. package/lib/template/ui/kendo/table/timebox.pug +9 -1
  91. package/lib/template/ui/kendo/table/timepicker.pug +5 -1
  92. package/lib/template/ui/kendo/table/tinymcerichtextbox.pug +11 -3
  93. package/lib/template/ui/kendo/textbox.pug +31 -7
  94. package/lib/template/ui/kendo/tinymcerichtextbox.pug +16 -8
  95. package/lib/template/ui/kendo/toolbar.pug +6 -2
  96. package/lib/template/ui/mobilevue2/action-bar.pug +10 -10
  97. package/lib/template/ui/mobilevue2/attachment-entry.pug +8 -8
  98. package/lib/template/ui/mobilevue2/attachment.pug +13 -13
  99. package/lib/template/ui/mobilevue2/button.pug +11 -11
  100. package/lib/template/ui/mobilevue2/calendar.pug +11 -11
  101. package/lib/template/ui/mobilevue2/checkbox-group.pug +11 -11
  102. package/lib/template/ui/mobilevue2/component-ref.pug +3 -3
  103. package/lib/template/ui/mobilevue2/contentcontainer.pug +4 -4
  104. package/lib/template/ui/mobilevue2/date-time-picker.pug +27 -27
  105. package/lib/template/ui/mobilevue2/field-set.pug +29 -29
  106. package/lib/template/ui/mobilevue2/filter.pug +8 -8
  107. package/lib/template/ui/mobilevue2/footer.pug +10 -10
  108. package/lib/template/ui/mobilevue2/form.pug +11 -11
  109. package/lib/template/ui/mobilevue2/image.pug +11 -11
  110. package/lib/template/ui/mobilevue2/label.pug +19 -19
  111. package/lib/template/ui/mobilevue2/list-view.pug +37 -37
  112. package/lib/template/ui/mobilevue2/lookup-input.pug +40 -40
  113. package/lib/template/ui/mobilevue2/nav-bar.pug +10 -10
  114. package/lib/template/ui/mobilevue2/number.pug +27 -27
  115. package/lib/template/ui/mobilevue2/picker.pug +29 -29
  116. package/lib/template/ui/mobilevue2/radio-group.pug +29 -29
  117. package/lib/template/ui/mobilevue2/schedule.pug +8 -8
  118. package/lib/template/ui/mobilevue2/section.pug +15 -15
  119. package/lib/template/ui/mobilevue2/steps.pug +8 -8
  120. package/lib/template/ui/mobilevue2/switch.pug +16 -16
  121. package/lib/template/ui/mobilevue2/tabpage.pug +6 -6
  122. package/lib/template/ui/mobilevue2/tabs.pug +9 -9
  123. package/lib/template/ui/mobilevue2/text-area.pug +23 -23
  124. package/lib/template/ui/mobilevue2/text-box.pug +25 -25
  125. package/lib/template/ui/mobilevue2/toolbar-item.pug +6 -6
  126. package/lib/template/ui/mobilevue2/toolbar.pug +3 -3
  127. package/lib/template/ui/mobilevue2/vant-tabpage.pug +5 -5
  128. package/lib/template/ui/mobilevue2/vant-tabs.pug +5 -5
  129. package/lib/type.js +0 -0
  130. package/lib/type.js.map +0 -0
  131. package/lib/utility/.DS_Store +0 -0
  132. package/lib/utility/behavior/behavior-manager.js +46 -7
  133. package/lib/utility/behavior/behavior-manager.js.map +1 -1
  134. package/lib/utility/devkit/component-parameter-collector/farris-section-collector.js +3 -1
  135. package/lib/utility/devkit/component-parameter-collector/farris-section-collector.js.map +1 -1
  136. package/lib/utility/devkit/component-parameter-collector/farris-tabs-collector.js +2 -0
  137. package/lib/utility/devkit/component-parameter-collector/farris-tabs-collector.js.map +1 -1
  138. package/lib/utility/devkit/component-parameter-collector/query-schema-collector.js +6 -2
  139. package/lib/utility/devkit/component-parameter-collector/query-schema-collector.js.map +1 -1
  140. package/lib/utility/devkit/component-parameter-collector/toolbar-collector.js +7 -3
  141. package/lib/utility/devkit/component-parameter-collector/toolbar-collector.js.map +1 -1
  142. package/lib/utility/devkit/form-file-executor.js +8 -1
  143. package/lib/utility/devkit/form-file-executor.js.map +1 -1
  144. package/lib/utility/farris-datagrid/lookup-editor.js +1 -1
  145. package/lib/utility/farris-datagrid/lookup-editor.js.map +1 -1
  146. package/lib/utility/template-generator/devkit/component-generator/component-farristabs-parameter-generator.js +47 -44
  147. package/lib/utility/template-generator/devkit/component-generator/component-farristabs-parameter-generator.js.map +1 -1
  148. package/lib/utility/template-generator/devkit/component-generator/component-import-generator.js +6 -1
  149. package/lib/utility/template-generator/devkit/component-generator/component-import-generator.js.map +1 -1
  150. package/lib/utility/template-generator/devkit/component-generator/component-provider-generator.js +5 -0
  151. package/lib/utility/template-generator/devkit/component-generator/component-provider-generator.js.map +1 -1
  152. package/lib/utility/template-generator/devkit/component-generator/component-queryschema-parameter-generator.js +22 -2
  153. package/lib/utility/template-generator/devkit/component-generator/component-queryschema-parameter-generator.js.map +1 -1
  154. package/lib/utility/template-generator/devkit/component-generator/component-section-parameter-generator.js +27 -44
  155. package/lib/utility/template-generator/devkit/component-generator/component-section-parameter-generator.js.map +1 -1
  156. package/lib/utility/template-generator/devkit/component-generator/component-toolbar-parameter-generator.js +63 -19
  157. package/lib/utility/template-generator/devkit/component-generator/component-toolbar-parameter-generator.js.map +1 -1
  158. package/lib/utility/template-generator/devkit/component-template-generator.js +2 -1
  159. package/lib/utility/template-generator/devkit/component-template-generator.js.map +1 -1
  160. package/lib/utility/template-generator/project/angularJson-generator.js +1 -0
  161. package/lib/utility/template-generator/project/angularJson-generator.js.map +1 -1
  162. package/lib/utility/template-generator/project-app/app-module-ts-generator.js +5 -1
  163. package/lib/utility/template-generator/project-app/app-module-ts-generator.js.map +1 -1
  164. package/package.json +1 -1
  165. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/approval-comments.js +0 -37
  166. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/approval-comments.js.map +0 -1
  167. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/employeeorg-selector.js +0 -45
  168. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/employeeorg-selector.js.map +0 -1
  169. package/lib/utility/behavior/type.js +0 -7
  170. package/lib/utility/behavior/type.js.map +0 -1
  171. package/lib/utility/behavior/typeparam.js +0 -22
  172. package/lib/utility/behavior/typeparam.js.map +0 -1
@@ -2,10 +2,10 @@
2
2
  -var holdPlaceInnerAttrs = {};
3
3
  -var holdPlaceEmptyAttrs = {};
4
4
  if(variable.holdPlace)
5
- -holdPlaceInnerAttrs['*ngIf']=variable.visible?variable.visible.value+'':undefined;
6
- -holdPlaceEmptyAttrs['*ngIf']=variable.visible?'!'+variable.visible.value+'':undefined;
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
7
  else
8
- -holdPlaceOuterAttrs['*ngIf']=variable.visible?variable.visible.value+'':undefined;
8
+ -holdPlaceOuterAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
9
9
  div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
10
10
  if(variable.holdPlace)
11
11
  div(class="f-empty-input-placeholder")&attributes(holdPlaceEmptyAttrs)
@@ -16,12 +16,12 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
16
16
  label(class="col-form-label" '*ngIf'="viewModel.stateMachine['editable']" '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined )
17
17
  span(class="farris-label-text")
18
18
  if (variable.require)
19
- span(class="farris-label-info text-danger" "*ngIf"=""+variable.require.value) *
19
+ span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
20
20
  else
21
21
  label(class="col-form-label" '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined)
22
22
  span(class="farris-label-text")
23
23
  if (variable.require)
24
- span(class="farris-label-info text-danger" "*ngIf"=""+variable.require.value) *
24
+ span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
25
25
  div(class="farris-input-wrap")
26
26
  if(variable.isTextArea)
27
27
  -var divAttr = {};
@@ -60,7 +60,19 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
60
60
  -attrs["farris-set-focus"]="";
61
61
  if(variable.focusState)
62
62
  -attrs["[focusState]"]=variable.focusState+"";
63
- input(id=variable.replacedId "input-end-edit" class="custom-control-input" type="checkbox" '[disabled]'!=variable.disable?variable.disable.toString():undefined '[readonly]'!=variable.readonly?""+variable.readonly.value:undefined '(ngModelChange)'!=variable.valueChange?"!"+variable.readonly.value+"&&"+variable.valueChange+"":undefined tabindex=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex: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)
63
+ input(id=variable.replacedId "input-end-edit" class="custom-control-input" type="checkbox"
64
+ '[disabled]'!=variable.disable?variable.readonlyPipeSuffix?variable.disable.toString()+variable.readonlyPipeSuffix:variable.disable.toString():undefined
65
+ '(ngModelChange)'!=variable.valueChange?"!"+variable.readonly.value+"&&"+variable.valueChange+"":undefined
66
+ tabindex=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
67
+ '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
68
+ 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
69
+ '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
70
+ '[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
71
+ '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
72
+ '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
73
+ '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
74
+ '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
75
+ '[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
64
76
  if(variable.linkedLabelEnabled)
65
77
  label(class="custom-control-label f-pretend-link f-cursor-pointer" '*ngSwitchCase'="true" '(click)'=variable.linkedLabelClick?variable.linkedLabelClick:undefined) {{'!{variable.resourceId}'|lang:lang:'!{variable.defaultI18nValue}'}}
66
78
  label(class="custom-control-label f-pretend-link f-cursor-pointer" '*ngSwitchCase'="false" for=variable.replacedId '(click)'=variable.linkedLabelClick?variable.linkedLabelClick:undefined) {{'!{variable.resourceId}'|lang:lang:'!{variable.defaultI18nValue}'}}
@@ -89,7 +101,14 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
89
101
  label(class="col-form-label" )&attributes(areaLabelAttrs)
90
102
  span(class="farris-label-text")
91
103
  | {{'!{variable.resourceId}'|lang:lang:'!{variable.defaultI18nValue}'}}
92
- farris-text('[type]'="'boolean'" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined )&attributes(areaAttrs)
104
+ farris-text('[type]'="'boolean'" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
105
+ '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined
106
+ '[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
107
+ '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
108
+ '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
109
+ '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
110
+ '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
111
+ '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
93
112
  if(variable.titleTipsTemplate)
94
113
  span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
95
114
  i(class="f-icon f-icon-description-tips")
@@ -3,10 +3,10 @@
3
3
  -var holdPlaceInnerAttrs = {};
4
4
  -var holdPlaceEmptyAttrs = {};
5
5
  if(variable.holdPlace)
6
- -holdPlaceInnerAttrs["*ngIf"]=variable.visible?variable.visible.value+'':undefined;
7
- -holdPlaceEmptyAttrs['*ngIf']=variable.visible?'!'+variable.visible.value+'':undefined;
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
8
  else
9
- -holdPlaceOuterAttrs["*ngIf"]=variable.visible?variable.visible.value+'':undefined;
9
+ -holdPlaceOuterAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
10
10
  div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
11
11
  if(variable.holdPlace)
12
12
  div(class="f-empty-input-placeholder")&attributes(holdPlaceEmptyAttrs)
@@ -17,12 +17,12 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
17
17
  if(variable.linkedLabelEnabled)
18
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
19
  if (variable.require)
20
- span(class="farris-label-info text-danger" "*ngIf"=""+variable.require.value) *
20
+ span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
21
21
  span(class="farris-label-text") {{#{titleValue}}}
22
22
  else
23
23
  label(class="col-form-label" title="{{"+titleValue+"}}" for=variable.replacedId '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined)
24
24
  if (variable.require)
25
- span(class="farris-label-info text-danger" "*ngIf"=""+variable.require.value) *
25
+ span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
26
26
  span(class="farris-label-text") {{#{titleValue}}}
27
27
  div(class="farris-input-wrap")
28
28
  if (variable.items)
@@ -39,7 +39,19 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
39
39
  -attrs["farris-set-focus"]="";
40
40
  if(variable.focusState)
41
41
  -attrs["[focusState]"]=variable.focusState+"";
42
- input(class="custom-control-input" "input-end-edit" type="checkbox" id=item.id disabled!=item.disable?item.disable.toString():undefined readonly!=item.readonly?""+item.readonly.value:undefined tabindex=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex: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)
42
+ input(class="custom-control-input" "input-end-edit" type="checkbox" id=item.id
43
+ disabled!=item.disable?item.disable.toString():undefined
44
+ readonly!=item.readonly?""+item.readonly.value:undefined
45
+ tabindex=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
46
+ '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
47
+ 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
48
+ '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
49
+ '[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
50
+ '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
51
+ '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
52
+ '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
53
+ '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
54
+ '[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
43
55
  if (item.title)
44
56
  label(class="custom-control-label" for=item.id) !{item.title}
45
57
  if(variable.titleTipsTemplate)
@@ -5,9 +5,15 @@ if (variable.binding && variable.binding.type == 'Variable')
5
5
  -attrs['[ngModelOptions]'] = "{standalone:true}";
6
6
  else
7
7
  -attrs['formControlName'] = (variable.binding && variable.binding.path);
8
- -attrs["*ngIf"]=variable.visible?variable.visible.value+'':undefined;
8
+ -attrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
9
9
  if(variable.hasDefaultFocus)
10
10
  -attrs["farris-set-focus"]="";
11
11
  if(variable.focusState)
12
12
  -attrs["[focusState]"]=variable.focusState+"";
13
- farris-avatar(id=variable.replacedId "input-end-edit" class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) '[imgShape]'=variable.imgShape?"'"+variable.imgShape+"'":undefined '[imgTitle]'=variable.imgTitleLangName?""+variable.imgTitleLangName:undefined '[avatarWidth]'=(variable.size && variable.size.width)?"'"+variable.size.width+"'":undefined '[avatarHeight]'=(variable.size && variable.size.height)?"'"+variable.size.height+"'":undefined '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined '[type]'=variable.imgType?"'"+variable.imgType+"'":undefined '[size]'=(variable.maxSize || variable.maxSize==0)?variable.maxSize.toString():undefined '(imgChange)'=variable.imgChange?variable.imgChange+"":undefined '[cover]'=variable.cover?"'"+variable.cover+"'":undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined )&attributes(attrs)
13
+ farris-avatar(id=variable.replacedId "input-end-edit" class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style)
14
+ '[imgShape]'=variable.imgShape?"'"+variable.imgShape+"'":undefined '[imgTitle]'=variable.imgTitleLangName?""+variable.imgTitleLangName:undefined
15
+ '[avatarWidth]'=(variable.size && variable.size.width)?"'"+variable.size.width+"'":undefined '[avatarHeight]'=(variable.size && variable.size.height)?"'"+variable.size.height+"'":undefined
16
+ '[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"":undefined
17
+ '[type]'=variable.imgType?"'"+variable.imgType+"'":undefined
18
+ '[size]'=(variable.maxSize || variable.maxSize==0)?variable.maxSize.toString():undefined '(imgChange)'=variable.imgChange?variable.imgChange+"":undefined
19
+ '[cover]'=variable.cover?"'"+variable.cover+"'":undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined)&attributes(attrs)
@@ -2,10 +2,10 @@
2
2
  -var holdPlaceInnerAttrs = {};
3
3
  -var holdPlaceEmptyAttrs = {};
4
4
  if(variable.holdPlace)
5
- -holdPlaceInnerAttrs["*ngIf"]=variable.visible ?variable.visible.value+'':undefined;
6
- -holdPlaceEmptyAttrs['*ngIf']=variable.visible ?'!'+variable.visible.value+'':undefined;
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
7
  else
8
- -holdPlaceOuterAttrs["*ngIf"]=variable.visible ?variable.visible.value+'':undefined;
8
+ -holdPlaceOuterAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
9
9
  div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
10
10
  if(variable.holdPlace)
11
11
  div(class="f-empty-input-placeholder")&attributes(holdPlaceEmptyAttrs)
@@ -16,12 +16,12 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
16
16
  if(variable.linkedLabelEnabled)
17
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
18
  if (variable.require)
19
- span(class="farris-label-info text-danger" "*ngIf"=""+variable.require.value) *
19
+ span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
20
20
  span('class'="farris-label-text") {{#{titleValue}}}
21
21
  else
22
22
  label('class'='col-form-label' title="{{"+titleValue+"}}" for=variable.replacedId '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined)
23
23
  if (variable.require)
24
- span(class="farris-label-info text-danger" "*ngIf"=""+variable.require.value) *
24
+ span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
25
25
  span('class'="farris-label-text") {{#{titleValue}}}
26
26
  -var attrs = {};
27
27
  if (variable.binding && variable.binding.type == 'Variable')
@@ -40,7 +40,25 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
40
40
  if(variable.focusState)
41
41
  -attrs["[focusState]"]=variable.focusState+"";
42
42
  div('class'='farris-input-wrap')
43
- farris-checkboxgroup(id=variable.replacedId "input-end-edit" '(setCheckboxData)'=variable.setCheckboxData?variable.setCheckboxData+"":undefined '(changeValue)'=variable.changeValue?variable.changeValue+"":undefined '[disable]'!=variable.readonly ?""+variable.readonly.value:undefined '[horizontal]'= ""+variable.isHorizontal+"" '[data]'=variable.itemsLang?""+variable.itemsLang:undefined '[separator]'=variable.separator?"'"+variable.separator+"'":undefined '[uri]'=variable.uri?"'"+variable.uri+"'":undefined '[valueField]'=variable.valueField?"'"+variable.valueField+"'":undefined '[textField]'=variable.textField?"'"+variable.textField+"'":undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex: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)
43
+ farris-checkboxgroup(id=variable.replacedId "input-end-edit"
44
+ '(setCheckboxData)'=variable.setCheckboxData?variable.setCheckboxData+"":undefined
45
+ '(changeValue)'=variable.changeValue?variable.changeValue+"":undefined
46
+ '[disable]'!=variable.readonly?variable.readonlyPipeSuffix?""+variable.readonly.value+variable.readonlyPipeSuffix:""+variable.readonly.value:undefined
47
+ '[horizontal]'= ""+variable.isHorizontal+"" '[data]'=variable.itemsLang?""+variable.itemsLang:undefined
48
+ '[separator]'=variable.separator?"'"+variable.separator+"'":undefined
49
+ '[uri]'=variable.uri?"'"+variable.uri+"'":undefined
50
+ '[valueField]'=variable.valueField?"'"+variable.valueField+"'":undefined
51
+ '[textField]'=variable.textField?"'"+variable.textField+"'":undefined
52
+ '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
53
+ '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
54
+ 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
55
+ '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
56
+ '[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
57
+ '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
58
+ '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
59
+ '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
60
+ '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
61
+ '[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
44
62
  if (variable.needValid && variable.binding && variable.binding.path)
45
63
  -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
46
64
  validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
@@ -56,7 +74,18 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
56
74
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
57
75
  else
58
76
  -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
59
- farris-text('[type]'="'enum'" '[data]'=variable.itemsLang?""+variable.itemsLang:undefined '[enumDelimiter]'=variable.separator?"'"+variable.separator+"'":undefined '[valueField]'=variable.valueField?"'"+variable.valueField+"'":undefined '[textField]'=variable.textField?"'"+variable.textField+"'":undefined '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined )&attributes(areaAttrs)
77
+ farris-text('[type]'="'enum'" '[data]'=variable.itemsLang?""+variable.itemsLang:undefined
78
+ '[enumDelimiter]'=variable.separator?"'"+variable.separator+"'":undefined
79
+ '[valueField]'=variable.valueField?"'"+variable.valueField+"'":undefined
80
+ '[textField]'=variable.textField?"'"+variable.textField+"'":undefined
81
+ '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
82
+ '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined
83
+ '[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
84
+ '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
85
+ '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
86
+ '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
87
+ '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
88
+ '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
60
89
  if(variable.titleTipsTemplate)
61
90
  span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
62
91
  i(class="f-icon f-icon-description-tips")
@@ -4,10 +4,10 @@
4
4
  -var holdPlaceInnerAttrs = {};
5
5
  -var holdPlaceEmptyAttrs = {};
6
6
  if(variable.holdPlace)
7
- -holdPlaceInnerAttrs["*ngIf"]=variable.visible?variable.visible.value+'':undefined;
8
- -holdPlaceEmptyAttrs['*ngIf']=variable.visible ?'!'+variable.visible.value+'':undefined;
7
+ -holdPlaceInnerAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
8
+ -holdPlaceEmptyAttrs['*ngIf']=variable.visible ?'!'+variable.visible.value+variable.visiblePipeSuffix+'':undefined;
9
9
  else
10
- -holdPlaceOuterAttrs["*ngIf"]=variable.visible ?variable.visible.value+'':undefined;
10
+ -holdPlaceOuterAttrs["*ngIf"]=variable.visible ?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
11
11
  div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
12
12
  if(variable.holdPlace)
13
13
  div(class="f-empty-input-placeholder")&attributes(holdPlaceEmptyAttrs)
@@ -18,12 +18,12 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
18
18
  if(variable.linkedLabelEnabled)
19
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
20
  if (variable.require)
21
- span(class="farris-label-info text-danger" "*ngIf"=""+variable.require.value) *
21
+ span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
22
22
  span(class="farris-label-text") {{#{titleValue}}}
23
23
  else
24
24
  label(class="col-form-label" title="{{"+titleValue+"}}" for=variable.replacedId '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined)
25
25
  if (variable.require)
26
- span(class="farris-label-info text-danger" "*ngIf"=""+variable.require.value) *
26
+ span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
27
27
  span(class="farris-label-text") {{#{titleValue}}}
28
28
  div(class="farris-input-wrap")
29
29
  -var attrs = {};
@@ -35,7 +35,7 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
35
35
  if (variable.valueChanged)
36
36
  -attrs['(valueChange)'] = variable.valueChanged + '';
37
37
  if (variable.readonly)
38
- -attrs['[readonly]'] = variable.readonly.value+"";
38
+ -attrs['[readonly]'] = variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"";
39
39
  if(variable.isTextArea)
40
40
  if(variable.readonly && variable.readonly.isComposite)
41
41
  -attrs["*ngIf"]="!"+variable.readonly.value;
@@ -46,7 +46,37 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
46
46
  -attrs["farris-set-focus"]="";
47
47
  if(variable.focusState)
48
48
  -attrs["[focusState]"]=variable.focusState+"";
49
- farris-combo-list(id=variable.replacedId "input-end-edit" '[data]'!=variable.enumDataLang?variable.enumDataLang:undefined '(selectedValues)'=variable.selectedValues?variable.selectedValues:undefined '[disabled]'!=(variable.disable||variable.disable==false)?variable.disable.toString():undefined '[enableCancelSelected]'=(variable.enableCancelSelected || variable.enableCancelSelected==false)?""+variable.enableCancelSelected:undefined '[editable]'=(variable.editable||variable.editable==false)?variable.editable.toString():undefined '[panelWidth]'=variable.panelWidth?"'"+variable.panelWidth+"'":undefined '[panelHeight]'=variable.panelHeight?"'"+variable.panelHeight+"'":undefined '[idField]'=variable.idField?"'"+variable.idField+"'":undefined '[valueField]'=variable.idField?"'"+variable.idField+"'":undefined '[textField]'=variable.textField?"'"+variable.textField+"'":undefined '[uri]'=variable.uri?"'"+variable.uri+"'":undefined '[multiSelect]'=(variable.multiSelect || variable.multiSelect==false)?variable.multiSelect.toString():undefined '(showPanel)'=variable.onShown?variable.onShown:undefined '(hidePanel)'=variable.onHidden?variable.onHidden:undefined '(clear)'=variable.onClear?variable.onClear:undefined '[autoWidth]'=(variable.autoWidth||variable.autoWidth==false)?variable.autoWidth.toString():undefined '[mappingField]'=variable.mappingField?"'"+variable.mappingField+"'":undefined '[beforeShow]'=variable.beforeShow?""+variable.beforeShow:undefined '[beforeHide]'=variable.beforeHide?""+variable.beforeHide:undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[enableClear]'=(variable.enableClear || variable.enableClear==false)?""+variable.enableClear:undefined '[viewType]'=variable.viewType?"'"+variable.viewType+"'":undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined 'comboListRef' 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined '[nosearch]'=variable.noSearch?""+variable.noSearch.value:undefined '[maxLength]'=variable.maxSearchLength?""+variable.maxSearchLength:undefined '[showDisabledItem]'=variable.showDisabledItem?""+variable.showDisabledItem.value:undefined)&attributes(attrs)
49
+ farris-combo-list(id=variable.replacedId "input-end-edit" '[data]'!=variable.enumDataLang?variable.enumDataLang:undefined
50
+ '(selectedValues)'=variable.selectedValues?variable.selectedValues:undefined
51
+ '[disabled]'!=(variable.disable||variable.disable==false)?variable.disable.toString():undefined
52
+ '[enableCancelSelected]'=(variable.enableCancelSelected || variable.enableCancelSelected==false)?""+variable.enableCancelSelected:undefined
53
+ '[editable]'=(variable.editable||variable.editable==false)?variable.editable.toString():undefined
54
+ '[panelWidth]'=variable.panelWidth?"'"+variable.panelWidth+"'":undefined
55
+ '[panelHeight]'=variable.panelHeight?"'"+variable.panelHeight+"'":undefined
56
+ '[idField]'=variable.idField?"'"+variable.idField+"'":undefined '[valueField]'=variable.idField?"'"+variable.idField+"'":undefined
57
+ '[textField]'=variable.textField?"'"+variable.textField+"'":undefined '[uri]'=variable.uri?"'"+variable.uri+"'":undefined
58
+ '[multiSelect]'=(variable.multiSelect || variable.multiSelect==false)?variable.multiSelect.toString():undefined
59
+ '(showPanel)'=variable.onShown?variable.onShown:undefined '(hidePanel)'=variable.onHidden?variable.onHidden:undefined
60
+ '(clear)'=variable.onClear?variable.onClear:undefined
61
+ '[autoWidth]'=(variable.autoWidth||variable.autoWidth==false)?variable.autoWidth.toString():undefined
62
+ '[mappingField]'=variable.mappingField?"'"+variable.mappingField+"'":undefined
63
+ '[beforeShow]'=variable.beforeShow?""+variable.beforeShow:undefined
64
+ '[beforeHide]'=variable.beforeHide?""+variable.beforeHide:undefined
65
+ '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
66
+ '[enableClear]'=(variable.enableClear || variable.enableClear==false)?""+variable.enableClear:undefined
67
+ '[viewType]'=variable.viewType?"'"+variable.viewType+"'":undefined
68
+ '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
69
+ 'comboListRef' 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
70
+ '[nosearch]'=variable.noSearch?""+variable.noSearch.value:undefined
71
+ '[maxLength]'=variable.maxSearchLength?""+variable.maxSearchLength:undefined
72
+ '[showDisabledItem]'=variable.showDisabledItem?""+variable.showDisabledItem.value:undefined
73
+ '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
74
+ '[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
75
+ '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
76
+ '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
77
+ '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
78
+ '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
79
+ '[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
50
80
  if (variable.needValid && variable.binding && variable.binding.path)
51
81
  -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
52
82
  validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
@@ -62,7 +92,17 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
62
92
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
63
93
  else
64
94
  -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
65
- farris-text('[type]'="'enum'" '[data]'!=variable.enumDataLang?variable.enumDataLang:undefined '[valueField]'=variable.idField?"'"+variable.idField+"'":undefined '[textField]'=variable.textField?"'"+variable.textField+"'":undefined '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined )&attributes(areaAttrs)
95
+ farris-text('[type]'="'enum'" '[data]'!=variable.enumDataLang?variable.enumDataLang:undefined
96
+ '[valueField]'=variable.idField?"'"+variable.idField+"'":undefined
97
+ '[textField]'=variable.textField?"'"+variable.textField+"'":undefined
98
+ '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
99
+ '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined
100
+ '[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
101
+ '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
102
+ '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
103
+ '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
104
+ '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
105
+ '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
66
106
  if(variable.titleTipsTemplate)
67
107
  span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
68
108
  i(class="f-icon f-icon-description-tips")
@@ -3,10 +3,10 @@
3
3
  -var holdPlaceInnerAttrs = {};
4
4
  -var holdPlaceEmptyAttrs = {};
5
5
  if(variable.holdPlace)
6
- -holdPlaceInnerAttrs["*ngIf"]=variable.visible?variable.visible.value+'':undefined;
7
- -holdPlaceEmptyAttrs['*ngIf']=variable.visible ?'!'+variable.visible.value+'':undefined;
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
8
  else
9
- -holdPlaceOuterAttrs["*ngIf"]=variable.visible ?variable.visible.value+'':undefined;
9
+ -holdPlaceOuterAttrs["*ngIf"]=variable.visible ?variable.visible.value+variable.visiblePipeSuffix+'':undefined;
10
10
  div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
11
11
  if(variable.holdPlace)
12
12
  div(class="f-empty-input-placeholder")&attributes(holdPlaceEmptyAttrs)
@@ -17,12 +17,12 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
17
17
  if(variable.linkedLabelEnabled)
18
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
19
  if (variable.require)
20
- span(class="farris-label-info text-danger" "*ngIf"=""+variable.require.value) *
20
+ span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
21
21
  span(class="farris-label-text") {{#{titleValue}}}
22
22
  else
23
23
  label(class="col-form-label" title="{{"+titleValue+"}}" for=variable.replacedId '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined)
24
24
  if (variable.require)
25
- span(class="farris-label-info text-danger" "*ngIf"=""+variable.require.value) *
25
+ span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
26
26
  span(class="farris-label-text") {{#{titleValue}}}
27
27
  div(class="farris-input-wrap")
28
28
  -var attrs = {};
@@ -34,7 +34,7 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
34
34
  if (variable.valueChanged)
35
35
  -attrs['(valueChange)'] = variable.valueChanged + '';
36
36
  if (variable.readonly)
37
- -attrs['[readonly]'] = variable.readonly.value+'';
37
+ -attrs['[readonly]'] = variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+'':variable.readonly.value+'';
38
38
 
39
39
  -attrs['placeholder'] ="{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
40
40
  if(variable.isTextArea)
@@ -58,7 +58,15 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
58
58
  'comboLookupRef' 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined '[nosearch]'=variable.noSearch?""+variable.noSearch.value:undefined
59
59
  '[maxLength]'=variable.maxSearchLength?""+variable.maxSearchLength:undefined '[showHeader]'=variable.showHeader?""+variable.showHeader.value:undefined '[enableFullTree]'=(variable.enableFullTree || variable.enableFullTree == false)?""+variable.enableFullTree:undefined
60
60
  '[treeToList]'=variable.treeToList?""+variable.treeToList.value:undefined '[navTreeToList]'=variable.navTreeToList?""+variable.navTreeToList.value:undefined '[loadTreeDataType]'=variable.loadTreeDataType ?"'"+variable.loadTreeDataType+"'":undefined
61
- '[separator]'=variable.separator?"'"+variable.separator.value+"'":undefined '[expandLevel]'=(variable.expandLevel || variable.expandLevel==0)?""+variable.expandLevel:undefined)&attributes(attrs)
61
+ '[separator]'=variable.separator?"'"+variable.separator.value+"'":undefined '[expandLevel]'=(variable.expandLevel || variable.expandLevel==0)?""+variable.expandLevel:undefined
62
+ '[showDisabledItem]'=variable.showDisabledItem?""+variable.showDisabledItem.value:undefined
63
+ '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
64
+ '[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
65
+ '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
66
+ '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
67
+ '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
68
+ '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
69
+ '[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
62
70
  if (variable.needValid && variable.binding && variable.binding.path)
63
71
  -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
64
72
  validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
@@ -74,7 +82,14 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
74
82
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
75
83
  else
76
84
  -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
77
- farris-text('[type]'="'string'" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined )&attributes(areaAttrs)
85
+ farris-text('[type]'="'string'" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
86
+ '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined
87
+ '[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
88
+ '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
89
+ '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
90
+ '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
91
+ '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
92
+ '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
78
93
  if(variable.titleTipsTemplate)
79
94
  span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
80
95
  i(class="f-icon f-icon-description-tips")
@@ -2,10 +2,10 @@
2
2
  -var holdPlaceInnerAttrs = {};
3
3
  -var holdPlaceEmptyAttrs = {};
4
4
  if(variable.holdPlace)
5
- -holdPlaceInnerAttrs["*ngIf"]=variable.visible ?variable.visible.value+'':undefined;
6
- -holdPlaceEmptyAttrs['*ngIf']=variable.visible ?'!'+variable.visible.value+'':undefined;
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
7
  else
8
- -holdPlaceOuterAttrs["*ngIf"]=variable.visible ?variable.visible.value+'':undefined;
8
+ -holdPlaceOuterAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
9
9
  div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
10
10
  if(variable.holdPlace)
11
11
  div(class="f-empty-input-placeholder")&attributes(holdPlaceEmptyAttrs)
@@ -16,12 +16,12 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
16
16
  if(variable.linkedLabelEnabled)
17
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
18
  if (variable.require)
19
- span(class="farris-label-info text-danger" "*ngIf"=""+variable.require.value) *
19
+ span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
20
20
  span(class="farris-label-text") {{#{titleValue}}}
21
21
  else
22
22
  label(class="col-form-label" title="{{"+titleValue+"}}" for=variable.replacedId '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined)
23
23
  if (variable.require)
24
- span(class="farris-label-info text-danger" "*ngIf"=""+variable.require.value) *
24
+ span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
25
25
  span(class="farris-label-text") {{#{titleValue}}}
26
26
  div(class="farris-input-wrap")
27
27
  -var attrs = {};
@@ -51,7 +51,8 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
51
51
  if(variable.focusState)
52
52
  -attrs["[focusState]"]=variable.focusState+"";
53
53
  farris-datepicker(id=variable.replacedId "input-end-edit" "farris-date-localization"=variable.localization?"":undefined
54
- '[disabled]'!=variable.disable?variable.disable.toString():undefined '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined
54
+ '[disabled]'!=variable.disable?variable.disable.toString():undefined
55
+ '[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"":undefined
55
56
  '[editable]'=(variable.editable||variable.editable==false)?variable.editable+"":undefined
56
57
  '[viewType]'=variable.viewType ? "'" + variable.viewType + "'":undefined
57
58
  '[locale]'=variable.locale?"'"+variable.locale+"'":undefined '[dateRange]'!=(variable.dateRange||variable.dateRange==false)?variable.dateRange+"":undefined
@@ -73,7 +74,14 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
73
74
  '[firstDayOfWeek]'=variable.firstDayOfWeek?"'"+variable.firstDayOfWeek+"'":undefined
74
75
  '[multiSelect]'=(variable.multiSelect || variable.multiSelect==false)?""+variable.multiSelect:undefined
75
76
  '[separator]'=variable.separator?"'"+variable.separator+"'":undefined '[maxSelected]'=(variable.maxSelected || variable.maxSelected==0)?""+variable.maxSelected:undefined
76
- '[selectedOrderBy]'=variable.selectedOrderBy?"'"+variable.selectedOrderBy+"'":undefined)&attributes(attrs)
77
+ '[selectedOrderBy]'=variable.selectedOrderBy?"'"+variable.selectedOrderBy+"'":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)
77
85
  if (variable.needValid && variable.binding && variable.binding.path)
78
86
  -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
79
87
  validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
@@ -94,7 +102,13 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
94
102
  '[dateRange]'!=(variable.dateRange||variable.dateRange==false)?variable.dateRange+"":undefined '[dateRangeDelimiter]'!=variable.dateRangeDatesDelimiter?"'"+variable.dateRangeDatesDelimiter+"'":undefined
95
103
  '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined
96
104
  '[multiSelect]'=(variable.multiSelect || variable.multiSelect==false)?""+variable.multiSelect:undefined
97
- '[separator]'=variable.separator?"'"+variable.separator+"'":undefined)&attributes(areaAttrs)
105
+ '[separator]'=variable.separator?"'"+variable.separator+"'":undefined
106
+ '[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
107
+ '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
108
+ '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
109
+ '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
110
+ '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
111
+ '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
98
112
  if(variable.titleTipsTemplate)
99
113
  span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
100
114
  i(class="f-icon f-icon-description-tips")
@@ -2,10 +2,10 @@
2
2
  -var holdPlaceInnerAttrs = {};
3
3
  -var holdPlaceEmptyAttrs = {};
4
4
  if(variable.holdPlace)
5
- -holdPlaceInnerAttrs["*ngIf"]=variable.visible ?variable.visible.value+'':undefined;
6
- -holdPlaceEmptyAttrs['*ngIf']=variable.visible ?'!'+variable.visible.value+'':undefined;
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
7
  else
8
- -holdPlaceOuterAttrs["*ngIf"]=variable.visible ?variable.visible.value+'':undefined;
8
+ -holdPlaceOuterAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
9
9
  div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
10
10
  if(variable.holdPlace)
11
11
  div(class="f-empty-input-placeholder")&attributes(holdPlaceEmptyAttrs)
@@ -16,12 +16,12 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
16
16
  if(variable.linkedLabelEnabled)
17
17
  label(class="col-form-label f-pretend-link f-cursor-pointer" title="{{"+titleValue+"}}" for=variable.replacedId '(click)'=variable.linkedLabelClick?variable.linkedLabelClick:undefined)
18
18
  if (variable.require)
19
- span(class="farris-label-info text-danger" "*ngIf"=""+variable.require.value) *
19
+ span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
20
20
  span(class="farris-label-text") {{#{titleValue}}}
21
21
  else
22
22
  label(class="col-form-label" title="{{"+titleValue+"}}" for=variable.replacedId )
23
23
  if (variable.require)
24
- span(class="farris-label-info text-danger" "*ngIf"=""+variable.require.value) *
24
+ span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
25
25
  span(class="farris-label-text") {{#{titleValue}}}
26
26
  div(class="farris-input-wrap")
27
27
  -var attrs = {};
@@ -42,7 +42,29 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
42
42
  -attrs["farris-set-focus"]="";
43
43
  if(variable.focusState)
44
44
  -attrs["[focusState]"]=variable.focusState+"";
45
- farris-number-range(id=variable.replacedId "input-end-edit" '[disabled]'!=variable.disable?variable.disable:undefined '[editable]'=(variable.editable || variable.editable==false)?variable.editable+"":undefined '[readonly]'!=variable.readonly ?""+variable.readonly.value:undefined '[precision]'=(variable.precision || variable.precision == 0)?variable.precision+"":undefined '[textAlign]'=variable.textAlign?"'"+variable.textAlign+"'":undefined '[useThousands]'=(variable.useThousands || variable.useThousands==false)?variable.useThousands+"":undefined '[step]'=(variable.step || variable.step == 0)?variable.step+"":undefined '[min]'=(variable.minValue||variable.minValue==0)?variable.minValue+"":undefined '[max]'=(variable.maxValue||variable.maxValue==0)?variable.maxValue+"":undefined '[formatter]'=variable.formatterName?variable.formatterName:undefined '[parser]'=variable.parserName?variable.parserName:undefined '(valueChange)'=variable.onChange?variable.onChange:undefined '(blur)'=variable.onBlur?variable.onBlur:undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex: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)
45
+ farris-number-range(id=variable.replacedId "input-end-edit" '[disabled]'!=variable.disable?variable.disable:undefined
46
+ '[editable]'=(variable.editable || variable.editable==false)?variable.editable+"":undefined
47
+ '[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?""+variable.readonly.value+variable.readonlyPipeSuffix:""+variable.readonly.value:undefined
48
+ '[precision]'=(variable.precision || variable.precision == 0)?variable.precision+"":undefined
49
+ '[textAlign]'=variable.textAlign?"'"+variable.textAlign+"'":undefined
50
+ '[useThousands]'=(variable.useThousands || variable.useThousands==false)?variable.useThousands+"":undefined
51
+ '[step]'=(variable.step || variable.step == 0)?variable.step+"":undefined
52
+ '[min]'=(variable.minValue||variable.minValue==0)?variable.minValue+"":undefined
53
+ '[max]'=(variable.maxValue||variable.maxValue==0)?variable.maxValue+"":undefined
54
+ '[formatter]'=variable.formatterName?variable.formatterName:undefined
55
+ '[parser]'=variable.parserName?variable.parserName:undefined '(valueChange)'=variable.onChange?variable.onChange:undefined
56
+ '(blur)'=variable.onBlur?variable.onBlur:undefined
57
+ '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
58
+ '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
59
+ 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
60
+ '[showDisabledItem]'=variable.showDisabledItem?""+variable.showDisabledItem.value:undefined
61
+ '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
62
+ '[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
63
+ '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
64
+ '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
65
+ '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
66
+ '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
67
+ '[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
46
68
  if (variable.needValid && variable.binding && variable.binding.path)
47
69
  -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
48
70
  validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
@@ -58,7 +80,15 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
58
80
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
59
81
  else
60
82
  -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
61
- farris-text('[type]'="'number'" '[textAlign]'=variable.textAlign?"'"+variable.textAlign+"'":undefined '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined )&attributes(areaAttrs)
83
+ farris-text('[type]'="'number'" '[textAlign]'=variable.textAlign?"'"+variable.textAlign+"'":undefined
84
+ '[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)
62
92
  if(variable.titleTipsTemplate)
63
93
  span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
64
94
  i(class="f-icon f-icon-description-tips")