@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
  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 = {};
@@ -42,23 +42,33 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
42
42
  if(variable.focusState)
43
43
  -attrs["[focusState]"]=variable.focusState+"";
44
44
  farris-number-spinner(id=variable.replacedId "input-end-edit" 'numberSpinnerRef'
45
- '[disabled]'!=variable.disable?variable.disable:undefined
46
- '[editable]'=(variable.editable || variable.editable==false)?variable.editable+"":undefined
47
- '[readonly]'!=variable.readonly?""+variable.readonly.value:undefined
48
- '[useThousands]'=(variable.useThousands || variable.useThousands==false)?variable.useThousands+"":undefined
49
- '[textAlign]'=variable.textAlign?"'"+variable.textAlign+"'":undefined
50
- '[step]'=(variable.step || variable.step == 0)?variable.step+"":undefined
51
- '[min]'=(variable.minValue||variable.minValue==0)?variable.minValue+"":undefined
52
- '[max]'=(variable.maxValue||variable.maxValue==0)?variable.maxValue+"":undefined
53
- '[formatter]'=variable.formatterName?variable.formatterName:undefined
54
- '[parser]'=variable.parserName?variable.parserName:undefined
55
- '[precision]'=(variable.precision || variable.precision == 0)?variable.precision+"":undefined
56
- '(valueChange)'=variable.valueChange?variable.valueChange:undefined
57
- '(blur)'=variable.onBlur?variable.onBlur:undefined
58
- '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
59
- '[canNull]'=(variable.canNull||variable.canNull==false)?""+variable.canNull:undefined
60
- '[bigNumber]'=(variable.bigNumber||variable.bigNumber==false)?""+variable.bigNumber:undefined
61
- '[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 '[showZero]'=variable.showZero?""+variable.showZero.value:undefined '[showButton]'=variable.showButton?""+variable.showButton.value:undefined )&attributes(attrs)
45
+ '[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
+ '[useThousands]'=(variable.useThousands || variable.useThousands==false)?variable.useThousands+"":undefined
49
+ '[textAlign]'=variable.textAlign?"'"+variable.textAlign+"'":undefined
50
+ '[step]'=(variable.step || variable.step == 0)?variable.step+"":undefined
51
+ '[min]'=(variable.minValue||variable.minValue==0)?variable.minValue+"":undefined
52
+ '[max]'=(variable.maxValue||variable.maxValue==0)?variable.maxValue+"":undefined
53
+ '[formatter]'=variable.formatterName?variable.formatterName:undefined
54
+ '[parser]'=variable.parserName?variable.parserName:undefined
55
+ '[precision]'=(variable.precision || variable.precision == 0)?variable.precision+"":undefined
56
+ '(valueChange)'=variable.valueChange?variable.valueChange:undefined
57
+ '(blur)'=variable.onBlur?variable.onBlur:undefined
58
+ '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
59
+ '[canNull]'=(variable.canNull||variable.canNull==false)?""+variable.canNull:undefined
60
+ '[bigNumber]'=(variable.bigNumber||variable.bigNumber==false)?""+variable.bigNumber:undefined
61
+ '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
62
+ 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
63
+ '[showZero]'=variable.showZero?""+variable.showZero.value:undefined '[showButton]'=variable.showButton?""+variable.showButton.value:undefined
64
+ '[showDisabledItem]'=variable.showDisabledItem?""+variable.showDisabledItem.value:undefined
65
+ '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
66
+ '[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
67
+ '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
68
+ '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
69
+ '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
70
+ '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
71
+ '[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
62
72
  if (variable.needValid && variable.binding && variable.binding.path)
63
73
  -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
64
74
  validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
@@ -74,7 +84,17 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
74
84
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
75
85
  else
76
86
  -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
77
- farris-text('[type]'="'number'" '[format]'=variable.format?"'"+variable.format+"'":undefined '[textAlign]'=variable.textAlign?"'"+variable.textAlign+"'":undefined '[option]'=variable.textOptionsName?variable.textOptionsName:undefined '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined )&attributes(areaAttrs)
87
+ farris-text('[type]'="'number'" '[format]'=variable.format?"'"+variable.format+"'":undefined
88
+ '[textAlign]'=variable.textAlign?"'"+variable.textAlign+"'":undefined
89
+ '[option]'=variable.textOptionsName?variable.textOptionsName:undefined
90
+ '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
91
+ '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined
92
+ '[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
93
+ '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
94
+ '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
95
+ '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
96
+ '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
97
+ '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
78
98
  if(variable.titleTipsTemplate)
79
99
  span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
80
100
  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 = {};
@@ -40,7 +40,22 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
40
40
  -attrs["farris-set-focus"]="";
41
41
  if(variable.focusState)
42
42
  -attrs["[focusState]"]=variable.focusState+"";
43
- farris-switch(id=variable.replacedId "input-end-edit" '[disabled]'!=variable.disable?variable.disable:undefined '[editable]'!=variable.readonly?"!("+variable.readonly.value+")":undefined '[square]'=variable.square?""+variable.square:undefined '[checkedLabel]'=variable.checkedLabel?"'"+variable.checkedLabel+"'":undefined '[uncheckedLabel]'=variable.uncheckedLabel?"'"+variable.uncheckedLabel+"'":undefined '(valueChange)'=variable.valueChange?variable.valueChange: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-switch(id=variable.replacedId "input-end-edit" '[disabled]'!=variable.disable?variable.disable:undefined
44
+ '[editable]'=variable.readonly?variable.readonlyPipeSuffix?""+variable.readonly.value+variable.readonlyPipeSuffix:""+variable.readonly.value:undefined
45
+ '[square]'=variable.square?""+variable.square:undefined
46
+ '[checkedLabel]'=variable.checkedLabel?"'"+variable.checkedLabel+"'":undefined
47
+ '[uncheckedLabel]'=variable.uncheckedLabel?"'"+variable.uncheckedLabel+"'":undefined
48
+ '(valueChange)'=variable.valueChange?variable.valueChange:undefined
49
+ '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
50
+ '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
51
+ 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
52
+ '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
53
+ '[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
54
+ '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
55
+ '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
56
+ '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
57
+ '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
58
+ '[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
44
59
  if (variable.needValid && variable.binding && variable.binding.path)
45
60
  -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
46
61
  validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
@@ -56,7 +71,14 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
56
71
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
57
72
  else
58
73
  -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
59
- farris-text('[type]'="'boolean'" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined )&attributes(areaAttrs)
74
+ farris-text('[type]'="'boolean'" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
75
+ '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined
76
+ '[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
77
+ '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
78
+ '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
79
+ '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
80
+ '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
81
+ '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
60
82
  if(variable.titleTipsTemplate)
61
83
  span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
62
84
  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 = {};
@@ -44,7 +44,7 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
44
44
  -attrs["farris-set-focus"]="";
45
45
  if(variable.focusState)
46
46
  -attrs["[focusState]"]=variable.focusState+"";
47
- farris-tags(id=variable.replacedId?""+variable.replacedId:undefined '*ngIf'!=variable.visible ?variable.visible.value+'':undefined '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined '[checkable]'=(variable.checkable || variable.checkable==false)?""+variable.checkable:undefined '[className]'=variable.className?"'"+variable.className+"'":undefined '[color]'=variable.color?"'"+variable.color+"'":undefined '[tagType]'=variable.tagType?"'"+variable.tagType+"'":undefined '(tagClick)'=variable.click?""+variable.click:undefined '(dataChanged)'=variable.dataChanged?""+variable.dataChanged:undefined '(closed)'=variable.closed?""+variable.closed:undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined )&attributes(attrs)
47
+ farris-tags(id=variable.replacedId?""+variable.replacedId:undefined '*ngIf'!=variable.visible ?variable.visible.value+'':undefined '[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"":undefined '[checkable]'=(variable.checkable || variable.checkable==false)?""+variable.checkable:undefined '[className]'=variable.className?"'"+variable.className+"'":undefined '[color]'=variable.color?"'"+variable.color+"'":undefined '[tagType]'=variable.tagType?"'"+variable.tagType+"'":undefined '(tagClick)'=variable.click?""+variable.click:undefined '(dataChanged)'=variable.dataChanged?""+variable.dataChanged:undefined '(closed)'=variable.closed?""+variable.closed:undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined )&attributes(attrs)
48
48
  if (variable.needValid && variable.binding && variable.binding.path)
49
49
  -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
50
50
  validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
@@ -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 = {};
@@ -45,7 +45,30 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
45
45
  -attrs["farris-set-focus"]="";
46
46
  if(variable.focusState)
47
47
  -attrs["[focusState]"]=variable.focusState+"";
48
- farris-time-picker(id=variable.replacedId "input-end-edit" "timePickerRef" '[disabled]'!=variable.disable?variable.disable.toString():undefined '[readonly]'!=variable.readonly?""+variable.readonly.value:undefined '[editable]'=(variable.editable||variable.editable==false)?variable.editable.toString():undefined '[hourStep]'=variable.hourStep?variable.hourStep.toString():undefined '[minuteStep]'=variable.minuteStep?variable.minuteStep.toString():undefined '[secondStep]'=variable.secondStep?variable.secondStep.toString():undefined '[format]'=variable.format?"'"+variable.format+"'":undefined '[hideDisabledOptions]'=(variable.hideDisabledOptions || variable.hideDisabledOptions==false)?variable.hideDisabledOptions.toString():undefined '(clear)'=variable.clear?variable.clear:undefined '(valueChanged)'=variable.valueChanged?variable.valueChanged.toString():undefined '(openChange)'=variable.openChange?variable.openChange.toString():undefined '[use12Hours]'=(variable.use12Hours || variable.use12Hours==false)?variable.use12Hours+"":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 '[showHeader]'=variable.showHeader?""+variable.showHeader.value:undefined )&attributes(attrs)
48
+ farris-time-picker(id=variable.replacedId "input-end-edit" "timePickerRef"
49
+ '[disabled]'!=variable.disable?variable.disable.toString():undefined
50
+ '[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?""+variable.readonly.value+variable.readonlyPipeSuffix:""+variable.readonly.value:undefined
51
+ '[editable]'=(variable.editable||variable.editable==false)?variable.editable.toString():undefined
52
+ '[hourStep]'=variable.hourStep?variable.hourStep.toString():undefined
53
+ '[minuteStep]'=variable.minuteStep?variable.minuteStep.toString():undefined
54
+ '[secondStep]'=variable.secondStep?variable.secondStep.toString():undefined
55
+ '[format]'=variable.format?"'"+variable.format+"'":undefined
56
+ '[hideDisabledOptions]'=(variable.hideDisabledOptions || variable.hideDisabledOptions==false)?variable.hideDisabledOptions.toString():undefined
57
+ '(clear)'=variable.clear?variable.clear:undefined '(valueChanged)'=variable.valueChanged?variable.valueChanged.toString():undefined
58
+ '(openChange)'=variable.openChange?variable.openChange.toString():undefined
59
+ '[use12Hours]'=(variable.use12Hours || variable.use12Hours==false)?variable.use12Hours+"":undefined
60
+ '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
61
+ '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
62
+ 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
63
+ '[showHeader]'=variable.showHeader?""+variable.showHeader.value:undefined
64
+ '[showDisabledItem]'=variable.showDisabledItem?""+variable.showDisabledItem.value:undefined
65
+ '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
66
+ '[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
67
+ '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
68
+ '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
69
+ '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
70
+ '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
71
+ '[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
49
72
  if (variable.needValid && variable.binding && variable.binding.path)
50
73
  -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
51
74
  validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
@@ -61,7 +84,15 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
61
84
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
62
85
  else
63
86
  -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
64
- farris-text('[type]'="'date'" '[showTime]'=(variable.showTime || variable.showTime== false)?""+variable.showTime:undefined '[format]'=variable.format?"'"+variable.format+"'":undefined '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined )&attributes(areaAttrs)
87
+ farris-text('[type]'="'date'" '[showTime]'=(variable.showTime || variable.showTime== false)?""+variable.showTime:undefined
88
+ '[format]'=variable.format?"'"+variable.format+"'":undefined '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
89
+ '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined
90
+ '[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
91
+ '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
92
+ '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
93
+ '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
94
+ '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
95
+ '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
65
96
  if(variable.titleTipsTemplate)
66
97
  span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
67
98
  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 = {};
@@ -35,7 +35,30 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
35
35
  -attrs["farris-set-focus"]="";
36
36
  if(variable.focusState)
37
37
  -attrs["[focusState]"]=variable.focusState+"";
38
- farris-time-spinner(id=variable.replacedId "input-end-edit" '[disabled]'!=(variable.disable||variable.disable==false)?variable.disable+"":undefined '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined '[editable]'=(variable.editable||variable.editable==false)?variable.editable+"":undefined '[use12Hours]'=(variable.use12Hours||variable.use12Hours==false)?variable.use12Hours+"":undefined '[format]'=variable.format?"'"+variable.format+"'":undefined '[placeHolder]'=variable.placeHolderLangName?variable.placeHolderLangName:undefined '[hourStep]'=(variable.hourStep||variable.hourStep==0)?"'"+variable.hourStep+"'":undefined '[minuteStep]'=(variable.minuteStep||variable.minuteStep==0)?"'"+variable.minuteStep+"'":undefined '[secondStep]'=(variable.secondStep||variable.secondStep==0)?"'"+variable.secondStep+"'":undefined '[max]'=variable.maxValue?"'"+variable.maxValue+"'":undefined '[min]'=variable.minValue?"'"+variable.minValue+"'":undefined '[disabledSeconds]'=(variable.disabledSeconds||variable.disabledSeconds==false)?variable.disabledSeconds+"":undefined '[separator]'=variable.splitter?"'"+variable.splitter+"'":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)
38
+ farris-time-spinner(id=variable.replacedId "input-end-edit"
39
+ '[disabled]'!=(variable.disable||variable.disable==false)?variable.disable+"":undefined
40
+ '[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?""+variable.readonly.value+variable.readonlyPipeSuffix:""+variable.readonly.value:undefined
41
+ '[editable]'=(variable.editable||variable.editable==false)?variable.editable+"":undefined
42
+ '[use12Hours]'=(variable.use12Hours||variable.use12Hours==false)?variable.use12Hours+"":undefined
43
+ '[format]'=variable.format?"'"+variable.format+"'":undefined
44
+ '[placeHolder]'=variable.placeHolderLangName?variable.placeHolderLangName:undefined
45
+ '[hourStep]'=(variable.hourStep||variable.hourStep==0)?"'"+variable.hourStep+"'":undefined
46
+ '[minuteStep]'=(variable.minuteStep||variable.minuteStep==0)?"'"+variable.minuteStep+"'":undefined
47
+ '[secondStep]'=(variable.secondStep||variable.secondStep==0)?"'"+variable.secondStep+"'":undefined
48
+ '[max]'=variable.maxValue?"'"+variable.maxValue+"'":undefined '[min]'=variable.minValue?"'"+variable.minValue+"'":undefined
49
+ '[disabledSeconds]'=(variable.disabledSeconds||variable.disabledSeconds==false)?variable.disabledSeconds+"":undefined
50
+ '[separator]'=variable.splitter?"'"+variable.splitter+"'":undefined
51
+ '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
52
+ '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
53
+ 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
54
+ '[showDisabledItem]'=variable.showDisabledItem?""+variable.showDisabledItem.value: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)
39
62
  if (variable.needValid && variable.binding && variable.binding.path)
40
63
  -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
41
64
  validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
@@ -1,3 +1,14 @@
1
- farris-tabs('id'=variable.replacedId 'class'=(variable.appearance && variable.appearance.class) ? variable.appearance.class+"":undefined 'style'=(variable.appearance && variable.appearance.style) ? variable.appearance.style+"":undefined '[value]'=variable.selectedValue?(variable.selectedIsString?"'"+variable.selectedValue+"'":""+variable.selectedValue):undefined '[height]'=(variable.size && variable.size.height)?"'"+variable.size.height+"'":undefined '[width]'=(variable.size && variable.size.width)?"'"+variable.size.width+"'":undefined '[fill]'=variable.tabFill?"'"+variable.tabFill+"'":undefined '[position]'=variable.tabPosition?"'"+variable.tabPosition+"'":undefined '(tabChange)'=variable.tabChange?variable.tabChange:undefined '(tabRemove)'=variable.tabRemove?variable.tabRemove+"":undefined '[btnStates]'="tabsToolbarStates" '[btnVisible]'="tabsToolbarVisibleStates" '[contentFill]'=(variable.contentFill ||variable.contentFill==false)?variable.contentFill.toString():undefined '[autoTitleWidth]'=(variable.autoTitleWidth || variable.autoTitleWidth == false)?""+variable.autoTitleWidth:undefined '[titleLength]'=(variable.titleLength || variable.titleLength==0)?""+variable.titleLength:undefined '[titleWidth]'=(variable.titleWidth || variable.titleWidth==0)?""+variable.titleWidth:undefined '*ngIf'!=variable.visible?variable.visible.value+"":undefined '[beforeSelect]'=variable.beforeSelect?""+variable.beforeSelect:undefined )
1
+ farris-tabs('id'=variable.replacedId 'class'=(variable.appearance && variable.appearance.class) ? variable.appearance.class+"":undefined
2
+ 'style'=(variable.appearance && variable.appearance.style) ? variable.appearance.style+"":undefined
3
+ '[value]'=variable.selectedValue?(variable.selectedIsString?"'"+variable.selectedValue+"'":""+variable.selectedValue):undefined
4
+ '[height]'=(variable.size && variable.size.height)?"'"+variable.size.height+"'":undefined '[width]'=(variable.size && variable.size.width)?"'"+variable.size.width+"'":undefined
5
+ '[fill]'=variable.tabFill?"'"+variable.tabFill+"'":undefined '[position]'=variable.tabPosition?"'"+variable.tabPosition+"'":undefined
6
+ '(tabChange)'=variable.tabChange?variable.tabChange:undefined '(tabRemove)'=variable.tabRemove?variable.tabRemove+"":undefined
7
+ '[btnStates]'=variable.disableTabPipeSuffix?"tabsToolbarStates"+variable.disableTabPipeSuffix:"tabsToolbarStates"
8
+ '[btnVisible]'=variable.visibleTabPipeSuffix?"tabsToolbarVisibleStates"+variable.visibleTabPipeSuffix:"tabsToolbarVisibleStates"
9
+ '[contentFill]'=(variable.contentFill ||variable.contentFill==false)?variable.contentFill.toString():undefined
10
+ '[autoTitleWidth]'=(variable.autoTitleWidth || variable.autoTitleWidth == false)?""+variable.autoTitleWidth:undefined
11
+ '[titleLength]'=(variable.titleLength || variable.titleLength==0)?""+variable.titleLength:undefined '[titleWidth]'=(variable.titleWidth || variable.titleWidth==0)?""+variable.titleWidth:undefined
12
+ '*ngIf'!=variable.visible?variable.visible.value+"":undefined '[beforeSelect]'=variable.beforeSelect?""+variable.beforeSelect:undefined)
2
13
  = '\n'
3
14
  | {{content}}
@@ -16,4 +16,4 @@ div(class='f-imgcontainer-in-form')
16
16
  -areaAttrs['src'] = "{{this.viewModel.bindingData['"+ variable.binding.path+"'] | imageIdToUrl"+rootIdAttrs+"}}";
17
17
  else
18
18
  -areaAttrs['src'] = "{{this.viewModel.bindingData['"+ (variable.binding && variable.binding.path)+"'] | imageIdToUrl"+rootIdAttrs+"}}";
19
- img(id=variable.replacedId?""+variable.replacedId:undefined "input-end-edit" click=variable.click?variable.click:undefined class=(variable.appearance && variable.appearance.class)?variable.appearance.class:undefined style=(variable.appearance && variable.appearance.style) '*ngIf'!=variable.visible?""+variable.visible.value:undefined tabindex=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined)&attributes(areaAttrs)
19
+ img(id=variable.replacedId?""+variable.replacedId:undefined "input-end-edit" click=variable.click?variable.click:undefined class=(variable.appearance && variable.appearance.class)?variable.appearance.class:undefined style=(variable.appearance && variable.appearance.style) '*ngIf'!=variable.visible?variable.visiblePipeSuffix?""+variable.visible.value+variable.visiblePipeSuffix:""+variable.visible.value:undefined tabindex=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined)&attributes(areaAttrs)
@@ -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,29 @@ 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
- input-group(id=variable.replacedId?""+variable.replacedId:undefined '[groupText]'=variable.groupTextLangName?""+variable.groupTextLangName:undefined "input-end-edit" "inputGroupRef" '[disabled]'!=variable.disable?variable.disable+"":undefined '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined '[editable]'=(variable.editable || variable.editable == false)?variable.editable+"":undefined '[enableClear]'=(variable.enableClear || variable.enableClear==false)?variable.enableClear+"":undefined '[customCls]'=variable.customCls?"'"+variable.customCls+"'":undefined '[showButtonWhenDisabled]'=variable.showButtonWhenDisabled?variable.showButtonWhenDisabled+"":undefined '[placeholder]'=variable.placeHolderLangName?""+variable.placeHolderLangName:undefined '(clear)'=variable.onClear?variable.onClear:undefined '(valueChange)'=variable.valueChange?variable.valueChange+"":undefined '(clickHandle)'=variable.click?variable.click+"":undefined '(blurHandle)'=variable.onBlur?variable.onBlur+"":undefined '[isPassword]'=(variable.isPassword || variable.isPassword == false)?""+variable.isPassword:undefined '[enableViewPassword]'=(variable.enableViewPassword || variable.enableViewPassword == false)?""+variable.enableViewPassword: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 '[textAlign]'=variable.textAlign?"'"+variable.textAlign+"'":undefined )&attributes(attrs)
43
+ input-group(id=variable.replacedId?""+variable.replacedId:undefined '[groupText]'=variable.groupTextLangName?""+variable.groupTextLangName:undefined
44
+ "input-end-edit" "inputGroupRef" '[disabled]'!=variable.disable?variable.disable+"":undefined
45
+ '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined
46
+ '[editable]'=(variable.editable || variable.editable == false)?variable.editable+"":undefined
47
+ '[enableClear]'=(variable.enableClear || variable.enableClear==false)?variable.enableClear+"":undefined
48
+ '[customCls]'=variable.customCls?"'"+variable.customCls+"'":undefined
49
+ '[showButtonWhenDisabled]'=variable.showButtonWhenDisabled?variable.showButtonWhenDisabled+"":undefined
50
+ '[placeholder]'=variable.placeHolderLangName?""+variable.placeHolderLangName:undefined
51
+ '(clear)'=variable.onClear?variable.onClear:undefined '(valueChange)'=variable.valueChange?variable.valueChange+"":undefined
52
+ '(clickHandle)'=variable.click?variable.click+"":undefined '(blurHandle)'=variable.onBlur?variable.onBlur+"":undefined
53
+ '[isPassword]'=(variable.isPassword || variable.isPassword == false)?""+variable.isPassword:undefined
54
+ '[enableViewPassword]'=(variable.enableViewPassword || variable.enableViewPassword == false)?""+variable.enableViewPassword:undefined
55
+ '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
56
+ '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
57
+ 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
58
+ '[textAlign]'=variable.textAlign?"'"+variable.textAlign+"'":undefined
59
+ '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
60
+ '[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
61
+ '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
62
+ '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
63
+ '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
64
+ '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
65
+ '[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined )&attributes(attrs)
44
66
  if (variable.needValid && variable.binding && variable.binding.path)
45
67
  -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
46
68
  validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
@@ -55,7 +77,15 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
55
77
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
56
78
  else
57
79
  -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
58
- farris-text('[type]'="'string'" '[isPassword]'=(variable.isPassword || variable.isPassword == false)?""+variable.isPassword:undefined '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined )&attributes(areaAttrs)
80
+ farris-text('[type]'="'string'" '[isPassword]'=(variable.isPassword || variable.isPassword == false)?""+variable.isPassword: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)
59
89
  if(variable.titleTipsTemplate)
60
90
  span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
61
91
  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 = {};
@@ -44,7 +44,22 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
44
44
  -attrs["farris-set-focus"]="";
45
45
  if(variable.focusState)
46
46
  -attrs["[focusState]"]=variable.focusState+"";
47
- language-textbox(id=variable.replacedId "input-end-edit" '[disabled]'!=variable.disable?variable.disable.toString():undefined '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined '[languages]'=variable.useFrameworkLanguage?""+variable.currentLanguageListName:variable.currentLanguageListName '[enableClear]'=(variable.enableClear || variable.enableClear == false)?""+variable.enableClear: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 '[editable]'=variable.editable?""+variable.editable.value:undefined )&attributes(attrs)
47
+ language-textbox(id=variable.replacedId "input-end-edit" '[disabled]'!=variable.disable?variable.disable.toString():undefined
48
+ '[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"":undefined
49
+ '[languages]'=variable.useFrameworkLanguage?""+variable.currentLanguageListName:variable.currentLanguageListName
50
+ '[enableClear]'=(variable.enableClear || variable.enableClear == false)?""+variable.enableClear:undefined
51
+ '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
52
+ '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
53
+ 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
54
+ '[editable]'=variable.editable?""+variable.editable.value:undefined
55
+ '[showDisabledItem]'=variable.showDisabledItem?""+variable.showDisabledItem.value:undefined
56
+ '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
57
+ '[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
58
+ '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
59
+ '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
60
+ '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
61
+ '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
62
+ '[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
48
63
  if (variable.needValid && variable.binding && variable.binding.path)
49
64
  -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
50
65
  validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
@@ -60,7 +75,14 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
60
75
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
61
76
  else
62
77
  -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
63
- farris-text('[type]'="'string'" '[currentLanguage]'="this.lang" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined )&attributes(areaAttrs)
78
+ farris-text('[type]'="'string'" '[currentLanguage]'="this.lang" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
79
+ '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined
80
+ '[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
81
+ '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
82
+ '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
83
+ '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
84
+ '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
85
+ '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
64
86
  if(variable.titleTipsTemplate)
65
87
  span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
66
88
  i(class="f-icon f-icon-description-tips")