@farris/jit-engine 1.3.351 → 1.3.353

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 (209) hide show
  1. package/README.md +9 -21
  2. package/lib/domstructure/devkit/module/module.js +216 -216
  3. package/lib/domstructure/devkit/module/module.js.map +1 -1
  4. package/lib/domstructure/ui/common/absctract_dom.js +2 -2
  5. package/lib/domstructure/ui/common/appearance.js +35 -35
  6. package/lib/domstructure/ui/common/background.js +33 -33
  7. package/lib/domstructure/ui/common/base-title-component.js +46 -46
  8. package/lib/domstructure/ui/common/basecomponent.js +160 -160
  9. package/lib/domstructure/ui/common/binding.js +164 -164
  10. package/lib/domstructure/ui/common/binding.js.map +1 -1
  11. package/lib/domstructure/ui/common/border.js +39 -39
  12. package/lib/domstructure/ui/common/font.js +38 -38
  13. package/lib/domstructure/ui/common/index.js +21 -21
  14. package/lib/domstructure/ui/common/margin.js +39 -39
  15. package/lib/domstructure/ui/common/padding.js +39 -39
  16. package/lib/domstructure/ui/common/size.js +34 -34
  17. package/lib/domstructure/ui/common/visible.js +69 -69
  18. package/lib/domstructure/ui/data/index.js +68 -69
  19. package/lib/domstructure/ui/data/index.js.map +1 -1
  20. package/lib/domstructure/ui/queryScheme/query-scheme.js +0 -3
  21. package/lib/domstructure/ui/queryScheme/query-scheme.js.map +1 -1
  22. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-index-vue-generator.js +93 -93
  23. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-index-vue-generator.js.map +1 -1
  24. package/lib/template/ui/kendo/adminorganization-selector.pug +101 -101
  25. package/lib/template/ui/kendo/appointment-calendar.pug +39 -39
  26. package/lib/template/ui/kendo/button.pug +16 -16
  27. package/lib/template/ui/kendo/buttongroup.pug +7 -7
  28. package/lib/template/ui/kendo/chart.pug +9 -9
  29. package/lib/template/ui/kendo/checkbox.pug +118 -118
  30. package/lib/template/ui/kendo/checkboxgroup.pug +63 -63
  31. package/lib/template/ui/kendo/city-selector.pug +69 -69
  32. package/lib/template/ui/kendo/combobox.pug +70 -70
  33. package/lib/template/ui/kendo/componentref.pug +3 -3
  34. package/lib/template/ui/kendo/contentcontainer.pug +8 -8
  35. package/lib/template/ui/kendo/datepicker.pug +70 -70
  36. package/lib/template/ui/kendo/dialog.pug +10 -10
  37. package/lib/template/ui/kendo/dropdownlist.pug +18 -18
  38. package/lib/template/ui/kendo/dynamic-area-item.pug +1 -1
  39. package/lib/template/ui/kendo/employee-selector.pug +96 -96
  40. package/lib/template/ui/kendo/externalContainer.pug +12 -12
  41. package/lib/template/ui/kendo/externalRouteContainer.pug +1 -1
  42. package/lib/template/ui/kendo/farris-avatar.pug +18 -18
  43. package/lib/template/ui/kendo/farris-calendar.pug +5 -5
  44. package/lib/template/ui/kendo/farris-checkbox-group.pug +96 -96
  45. package/lib/template/ui/kendo/farris-combo-list.pug +111 -111
  46. package/lib/template/ui/kendo/farris-datagrid-template.pug +21 -21
  47. package/lib/template/ui/kendo/farris-datagrid.pug +37 -37
  48. package/lib/template/ui/kendo/farris-datepicker.pug +118 -118
  49. package/lib/template/ui/kendo/farris-dynamic-control-group.pug +14 -14
  50. package/lib/template/ui/kendo/farris-ext-intergration.pug +79 -79
  51. package/lib/template/ui/kendo/farris-file-preview.pug +6 -6
  52. package/lib/template/ui/kendo/farris-file-upload-preview.pug +1 -1
  53. package/lib/template/ui/kendo/farris-file-upload.pug +3 -3
  54. package/lib/template/ui/kendo/farris-light-list-filter.pug +10 -10
  55. package/lib/template/ui/kendo/farris-list-filter.pug +11 -11
  56. package/lib/template/ui/kendo/farris-list-view.pug +28 -27
  57. package/lib/template/ui/kendo/farris-number-range.pug +98 -98
  58. package/lib/template/ui/kendo/farris-number-spinner.pug +103 -103
  59. package/lib/template/ui/kendo/farris-query-solution.pug +17 -18
  60. package/lib/template/ui/kendo/farris-scrollspy.pug +10 -10
  61. package/lib/template/ui/kendo/farris-splitter-pane.pug +11 -11
  62. package/lib/template/ui/kendo/farris-splitter.pug +6 -6
  63. package/lib/template/ui/kendo/farris-switch.pug +88 -88
  64. package/lib/template/ui/kendo/farris-tags.pug +70 -70
  65. package/lib/template/ui/kendo/farris-time-picker.pug +102 -102
  66. package/lib/template/ui/kendo/farris-time-spinner.pug +71 -71
  67. package/lib/template/ui/kendo/farris-ui-footer.pug +15 -15
  68. package/lib/template/ui/kendo/farris-wizard-page-detail.pug +14 -14
  69. package/lib/template/ui/kendo/farris-wizard.pug +8 -8
  70. package/lib/template/ui/kendo/farrissidebar.pug +26 -26
  71. package/lib/template/ui/kendo/farristabpage.pug +14 -14
  72. package/lib/template/ui/kendo/farristabs.pug +13 -13
  73. package/lib/template/ui/kendo/farristag.pug +6 -6
  74. package/lib/template/ui/kendo/fieldset.pug +20 -20
  75. package/lib/template/ui/kendo/flexlayout.pug +5 -5
  76. package/lib/template/ui/kendo/form.pug +15 -15
  77. package/lib/template/ui/kendo/grid.pug +83 -83
  78. package/lib/template/ui/kendo/header.pug +9 -9
  79. package/lib/template/ui/kendo/hidden-container.pug +1 -1
  80. package/lib/template/ui/kendo/image-upload.pug +82 -82
  81. package/lib/template/ui/kendo/image.pug +18 -18
  82. package/lib/template/ui/kendo/input-group.pug +96 -96
  83. package/lib/template/ui/kendo/label.pug +18 -18
  84. package/lib/template/ui/kendo/lookup-employee.pug +109 -109
  85. package/lib/template/ui/kendo/lookup.pug +113 -113
  86. package/lib/template/ui/kendo/loop-container.pug +1 -1
  87. package/lib/template/ui/kendo/menu.pug +3 -3
  88. package/lib/template/ui/kendo/menuitem.pug +7 -7
  89. package/lib/template/ui/kendo/modal-footer.pug +9 -9
  90. package/lib/template/ui/kendo/multi-view-container.pug +7 -7
  91. package/lib/template/ui/kendo/multi-view-item.pug +8 -8
  92. package/lib/template/ui/kendo/multitextbox.pug +101 -101
  93. package/lib/template/ui/kendo/numericbox.pug +70 -70
  94. package/lib/template/ui/kendo/oa-relation.pug +20 -20
  95. package/lib/template/ui/kendo/organization-selector.pug +116 -116
  96. package/lib/template/ui/kendo/p-treetable.pug +28 -28
  97. package/lib/template/ui/kendo/popup.pug +3 -3
  98. package/lib/template/ui/kendo/portlet.pug +2 -2
  99. package/lib/template/ui/kendo/primeng-edittree/checkbox.pug +12 -12
  100. package/lib/template/ui/kendo/primeng-edittree/farris-combo-list.pug +16 -16
  101. package/lib/template/ui/kendo/primeng-edittree/farris-combo-lookup.pug +19 -19
  102. package/lib/template/ui/kendo/primeng-edittree/farris-datepicker.pug +31 -31
  103. package/lib/template/ui/kendo/primeng-edittree/farris-number-spinner.pug +18 -18
  104. package/lib/template/ui/kendo/primeng-edittree/farris-switch.pug +13 -13
  105. package/lib/template/ui/kendo/primeng-edittree/farris-time-picker.pug +17 -17
  106. package/lib/template/ui/kendo/primeng-edittree/input-group.pug +14 -14
  107. package/lib/template/ui/kendo/primeng-edittree/language-textbox.pug +14 -14
  108. package/lib/template/ui/kendo/primeng-edittree/lookup.pug +32 -32
  109. package/lib/template/ui/kendo/primeng-edittree/multitextbox.pug +17 -17
  110. package/lib/template/ui/kendo/primeng-edittree/textbox.pug +18 -18
  111. package/lib/template/ui/kendo/qdp-condition-dialog-tab.pug +3 -3
  112. package/lib/template/ui/kendo/qdp-condition-dialog.pug +3 -3
  113. package/lib/template/ui/kendo/qdpframework.pug +15 -15
  114. package/lib/template/ui/kendo/queryform.pug +7 -7
  115. package/lib/template/ui/kendo/radiobox.pug +60 -60
  116. package/lib/template/ui/kendo/radioboxgroup.pug +94 -94
  117. package/lib/template/ui/kendo/richtextbox.pug +53 -53
  118. package/lib/template/ui/kendo/scroll-collapse-area.pug +2 -2
  119. package/lib/template/ui/kendo/section.pug +44 -44
  120. package/lib/template/ui/kendo/select.pug +46 -46
  121. package/lib/template/ui/kendo/spreadsheet.pug +7 -7
  122. package/lib/template/ui/kendo/switch.pug +67 -67
  123. package/lib/template/ui/kendo/tab.pug +3 -3
  124. package/lib/template/ui/kendo/table/adminorganization-selector.pug +73 -73
  125. package/lib/template/ui/kendo/table/checkbox.pug +92 -92
  126. package/lib/template/ui/kendo/table/checkboxgroup.pug +30 -30
  127. package/lib/template/ui/kendo/table/combobox.pug +49 -49
  128. package/lib/template/ui/kendo/table/datepicker.pug +49 -49
  129. package/lib/template/ui/kendo/table/employee-selector.pug +70 -70
  130. package/lib/template/ui/kendo/table/farris-avatar.pug +25 -25
  131. package/lib/template/ui/kendo/table/farris-checkbox-group.pug +47 -47
  132. package/lib/template/ui/kendo/table/farris-combo-list.pug +60 -60
  133. package/lib/template/ui/kendo/table/farris-combo-lookup.pug +30 -30
  134. package/lib/template/ui/kendo/table/farris-datepicker.pug +61 -61
  135. package/lib/template/ui/kendo/table/farris-number-range.pug +59 -59
  136. package/lib/template/ui/kendo/table/farris-number-spinner.pug +61 -61
  137. package/lib/template/ui/kendo/table/farris-static-text.pug +3 -3
  138. package/lib/template/ui/kendo/table/farris-switch.pug +55 -55
  139. package/lib/template/ui/kendo/table/farris-table-column.pug +1 -1
  140. package/lib/template/ui/kendo/table/farris-table-row.pug +1 -1
  141. package/lib/template/ui/kendo/table/farris-tags.pug +55 -55
  142. package/lib/template/ui/kendo/table/farris-time-picker.pug +51 -51
  143. package/lib/template/ui/kendo/table/farris-time-spinner.pug +25 -25
  144. package/lib/template/ui/kendo/table/input-group.pug +46 -46
  145. package/lib/template/ui/kendo/table/lookup-employee.pug +71 -71
  146. package/lib/template/ui/kendo/table/lookup.pug +75 -75
  147. package/lib/template/ui/kendo/table/multitextbox.pug +47 -47
  148. package/lib/template/ui/kendo/table/numericbox.pug +59 -59
  149. package/lib/template/ui/kendo/table/organization-selector.pug +75 -75
  150. package/lib/template/ui/kendo/table/radiobox.pug +27 -27
  151. package/lib/template/ui/kendo/table/radioboxgroup.pug +47 -47
  152. package/lib/template/ui/kendo/table/richtextbox.pug +30 -30
  153. package/lib/template/ui/kendo/table/select.pug +21 -21
  154. package/lib/template/ui/kendo/table/switch.pug +55 -55
  155. package/lib/template/ui/kendo/table/textbox.pug +53 -53
  156. package/lib/template/ui/kendo/table/timebox.pug +33 -33
  157. package/lib/template/ui/kendo/table/timepicker.pug +25 -25
  158. package/lib/template/ui/kendo/table/tinymcerichtextbox.pug +36 -36
  159. package/lib/template/ui/kendo/tabpage.pug +10 -10
  160. package/lib/template/ui/kendo/template.pug +2 -2
  161. package/lib/template/ui/kendo/textbox.pug +98 -98
  162. package/lib/template/ui/kendo/timebox.pug +47 -47
  163. package/lib/template/ui/kendo/timepicker.pug +17 -17
  164. package/lib/template/ui/kendo/tinymcerichtextbox.pug +59 -59
  165. package/lib/template/ui/kendo/toolbar.pug +5 -5
  166. package/lib/template/ui/kendo/view-change.pug +1 -1
  167. package/lib/template/ui/kendo/wizarddetailcontainer.pug +6 -6
  168. package/lib/utility/config-hepler.js.map +1 -1
  169. package/lib/utility/declaration-trigger.js +3 -0
  170. package/lib/utility/devkit/component-creator.js +191 -192
  171. package/lib/utility/devkit/component-creator.js.map +1 -1
  172. package/lib/utility/devkit/component-parameter-collector/component-parameter-collector-manager.js +221 -222
  173. package/lib/utility/devkit/component-parameter-collector/component-parameter-collector-manager.js.map +1 -1
  174. package/lib/utility/devkit/component-parameter-collector/component-parameter-collector-type.js +56 -57
  175. package/lib/utility/devkit/component-parameter-collector/component-parameter-collector-type.js.map +1 -1
  176. package/lib/utility/devkit/component-parameter-collector/farris-lookup-collector.js +64 -64
  177. package/lib/utility/devkit/component-parameter-collector/farris-lookup-collector.js.map +1 -1
  178. package/lib/utility/devkit/form-file-executor.js +1 -6
  179. package/lib/utility/devkit/form-file-executor.js.map +1 -1
  180. package/lib/utility/devkit/module-creator.js +167 -170
  181. package/lib/utility/devkit/module-creator.js.map +1 -1
  182. package/lib/utility/farris-datagrid/column-editor-manager.js +111 -115
  183. package/lib/utility/farris-datagrid/column-editor-manager.js.map +1 -1
  184. package/lib/utility/farris-datagrid/farris-grid-column-type-convertor.js +105 -112
  185. package/lib/utility/farris-datagrid/farris-grid-column-type-convertor.js.map +1 -1
  186. package/lib/utility/i18n/i18n-resource-manager.js +237 -237
  187. package/lib/utility/i18n/i18n-resource-manager.js.map +1 -1
  188. package/lib/utility/i18n/index.js +13 -13
  189. package/lib/utility/template-generator/devkit/lang-template-generator.js +2 -37
  190. package/lib/utility/template-generator/devkit/lang-template-generator.js.map +1 -1
  191. package/lib/utility/template-generator/devkit/module-generator/index.js +19 -19
  192. package/lib/utility/template-generator/devkit/module-generator/module-import-statement-generator.js +303 -304
  193. package/lib/utility/template-generator/devkit/module-generator/module-import-statement-generator.js.map +1 -1
  194. package/lib/utility/template-generator/devkit/module-generator/module-imports-statement-generator.js +282 -300
  195. package/lib/utility/template-generator/devkit/module-generator/module-imports-statement-generator.js.map +1 -1
  196. package/lib/utility/template-generator/devkit/module-generator/module-providers-generator.js +158 -158
  197. package/lib/utility/template-generator/devkit/module-generator/module-providers-generator.js.map +1 -1
  198. package/package.json +1 -1
  199. package/lib/domstructure/ui/data/fields/form/editable/inputs/reference/external-service-lookup.js +0 -48
  200. package/lib/domstructure/ui/data/fields/form/editable/inputs/reference/external-service-lookup.js.map +0 -1
  201. package/lib/template/ui/kendo/light-lookup.pug +0 -183
  202. package/lib/utility/farris-datagrid/external-service-lookup-editor.js +0 -96
  203. package/lib/utility/farris-datagrid/external-service-lookup-editor.js.map +0 -1
  204. package/lib/utility/template-generator/advanced-component-recognizer.js +0 -75
  205. package/lib/utility/template-generator/advanced-component-recognizer.js.map +0 -1
  206. package/lib/utility/template-generator/devkit-template-config.js +0 -580
  207. package/lib/utility/template-generator/devkit-template-config.js.map +0 -1
  208. package/lib/utility/template-generator/external-service-lookup-checker.js +0 -28
  209. package/lib/utility/template-generator/external-service-lookup-checker.js.map +0 -1
@@ -1,76 +1,76 @@
1
-
2
- div(class="farris-input-wrap")
3
- -var attrs = {};
4
- if (variable.binding && variable.binding.type == 'Variable')
5
- -attrs['[(UIStateBinding)]'] = variable.binding.value;
6
- -attrs['name'] = variable.replacedId;
7
- else if (variable.includeInLoopContainer==false)
8
- -attrs['formControlName'] = (variable.binding && variable.binding.path);
9
- else
10
- -attrs['[farris-lookup-binding]'] = variable.rowPrefix+(variable.ngModelPath);
11
- -attrs['name'] = variable.replacedId;
12
- -attrs['[lookupType]']="'lookup'"
13
- if (variable.lookupPicking)
14
- -attrs['[dictPicking]'] = variable.lookupPicking;
15
- if (variable.lookupPicked)
16
- -attrs['[dictPicked]'] = variable.lookupPicked;
17
- if (variable.beforeSelectData)
18
- -attrs['[beforeSelectData]'] = variable.beforeSelectData;
19
- if (variable.readonly)
20
- -attrs['[readonly]'] = variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"";
21
-
22
- -attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
23
- if(variable.isTextArea)
24
- if(variable.readonly && variable.readonly.isComposite)
25
- -attrs["*ngIf"]="!"+variable.readonly.value;
26
- else
27
- -attrs["*ngIf"]="viewModel.stateMachine['editable']";
28
- if(variable.hasDefaultFocus)
29
- -attrs["farris-set-focus"]="";
30
- if(variable.focusState)
31
- -attrs["[focusState]"]=variable.focusState+"";
32
- -attrs['#'+variable.replacedId] = "";
33
- farris-lookup-grid(id=variable.replacedId "input-end-edit" 'lookupGridRef' 'data-mapping' '[useTip]'=(variable.useTip || variable.useTip==false)?variable.useTip+"":undefined '[useFavorite]'=(variable.useFavorite || variable.useFavorite==false)?variable.useFavorite+"":undefined
34
- '[nosearch]'=variable.noSearch?""+variable.noSearch.value:undefined '[editable]'=(variable.editable || variable.editable==false)?""+variable.editable:undefined '[disabled]'!=variable.disable?variable.disable.toString():undefined
35
- '[displayType]'="'" + variable.displayType+ "'" '[uri]'="'" + (variable.dataSource && variable.dataSource.uri) + "'" '[idField]'="'" + (variable.dataSource && variable.dataSource.idField) + "'" '[mapFields]'=variable.mapFields?variable.mapFields:undefined
36
- '[singleSelect]'=(!variable.multiSelect) + "" '[pageSize]'=(variable.pageSize || 20) '[pageList]'=variable.arrPageList?variable.arrPageList:undefined '[pageIndex]'=(variable.pageIndex || 1)
37
- '[pagination]'=(variable.pagination == null | variable.pagination == undefined)?"true":variable.pagination + "" '[textField]'="'" + variable.textField + "'" '[valueField]'="'" + variable.valueField + "'"
38
- '[title]'=variable.dialogTitleLang?""+variable.dialogTitleLang:undefined '[showMaxButton]'=(variable.showMaxButton == null | variable.showMaxButton == undefined)?"true":variable.showMaxButton + ""
39
- '[showCloseButton]'=(variable.showCloseButton == null | variable.showCloseButton == undefined)?"true":variable.showCloseButton + "" '[resizable]'=(variable.resizable == null | variable.resizable == undefined)?"true":variable.resizable + ""
40
- '(clear)'=variable.clear?variable.clear:undefined '[context]'=variable.context?variable.context:undefined '[enableToSelect]'=(variable.enableToSelect || variable.enableToSelect == false)?""+variable.enableToSelect:undefined
41
- '[expandLevel]'=""+variable.expandLevel '[isRecordSize]'=(variable.isRecordSize || variable.isRecordSize == false)?""+variable.isRecordSize:undefined '[enableFullTree]'=(variable.enableFullTree || variable.enableFullTree == false)?""+variable.enableFullTree:undefined
42
- '[loadTreeDataType]'=variable.loadTreeDataType ?"'"+variable.loadTreeDataType+"'":undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
43
- '[enableClear]'=(variable.enableClear || variable.enableClear==false)?""+variable.enableClear:undefined '[dialogWidth]'=variable.panelWidth?""+variable.panelWidth:undefined '[dialogHeight]'=variable.panelHeight?""+variable.panelHeight:undefined
44
- '[enableCascade]'=variable.enableCascade?""+variable.enableCascade:undefined '[cascadeStatus]'=variable.cascadeStatus?"'"+variable.cascadeStatus+"'":undefined '[useExtendInfo]'=(variable.useExtendInfo || variable.useExtendInfo==false)?""+variable.useExtendInfo:undefined
45
- '[extInfoFields]'=variable.extInfoFields?"'"+variable.extInfoFields+"'":undefined '[extInfoFormatter]'=variable.extInfoFormatterName?""+variable.extInfoFormatterName: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 '[customFormatter]'=variable.customFormatterName?""+variable.customFormatterName:undefined
48
- '[selectFirstInNav]'=variable.selectFirstInNav?""+variable.selectFirstInNav.value:undefined '[loadDataWhenOpen]'=variable.loadDataWhenOpen?""+variable.loadDataWhenOpen.value:undefined
49
- '[customNavFormatter]'=variable.customNavFormatterName?""+variable.customNavFormatterName:undefined '[treeInfo]'=variable.treeInfo?variable.treeInfo:undefined '[maxLength]'=variable.maxSearchLength?""+variable.maxSearchLength:undefined
50
- '[viewType]'=variable.viewType?"'"+variable.viewType+"'":undefined '[target]'="row" '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
51
- '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
52
- '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined '[quickSelect]'=variable.quickSelectName?""+variable.quickSelectName:undefined
53
- '[showSelected]'=variable.showSelected?""+variable.showSelected.value:undefined '[useNewLayout]'=variable.useNewLayout?""+variable.useNewLayout.value:undefined '[enableMultiFieldSearch]'=variable.enableMultiFieldSearch?""+variable.enableMultiFieldSearch.value:undefined)&attributes(attrs)
54
- div(class="farris-feedback")
55
- if(variable.isTextArea)
56
- -var areaAttrs = {};
57
- if(variable.readonly && variable.readonly.isComposite)
58
- -areaAttrs["*ngIf"]=variable.readonly.value;
59
- else
60
- -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
61
- if (variable.binding && variable.binding.type == 'Variable')
62
- -areaAttrs['[(ngModel)]'] = variable.binding.value;
63
- -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
64
- else if (variable.includeInLoopContainer==false)
65
- -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
66
- else
67
- -areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
68
- -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
69
- farris-text('[type]'="'string'" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined '[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined )&attributes(areaAttrs)
70
- if(variable.titleTipsTemplate)
71
- span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
72
- i(class="f-icon f-icon-description-tips")
73
- -var tipsAttrs= {};
74
- -tipsAttrs['#'+variable.titleTipsTemplateName] = "";
75
- ng-template()&attributes(tipsAttrs)
1
+
2
+ div(class="farris-input-wrap")
3
+ -var attrs = {};
4
+ if (variable.binding && variable.binding.type == 'Variable')
5
+ -attrs['[(UIStateBinding)]'] = variable.binding.value;
6
+ -attrs['name'] = variable.replacedId;
7
+ else if (variable.includeInLoopContainer==false)
8
+ -attrs['formControlName'] = (variable.binding && variable.binding.path);
9
+ else
10
+ -attrs['[farris-lookup-binding]'] = variable.rowPrefix+(variable.ngModelPath);
11
+ -attrs['name'] = variable.replacedId;
12
+ -attrs['[lookupType]']="'lookup'"
13
+ if (variable.lookupPicking)
14
+ -attrs['[dictPicking]'] = variable.lookupPicking;
15
+ if (variable.lookupPicked)
16
+ -attrs['[dictPicked]'] = variable.lookupPicked;
17
+ if (variable.beforeSelectData)
18
+ -attrs['[beforeSelectData]'] = variable.beforeSelectData;
19
+ if (variable.readonly)
20
+ -attrs['[readonly]'] = variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"";
21
+
22
+ -attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
23
+ if(variable.isTextArea)
24
+ if(variable.readonly && variable.readonly.isComposite)
25
+ -attrs["*ngIf"]="!"+variable.readonly.value;
26
+ else
27
+ -attrs["*ngIf"]="viewModel.stateMachine['editable']";
28
+ if(variable.hasDefaultFocus)
29
+ -attrs["farris-set-focus"]="";
30
+ if(variable.focusState)
31
+ -attrs["[focusState]"]=variable.focusState+"";
32
+ -attrs['#'+variable.replacedId] = "";
33
+ farris-lookup-grid(id=variable.replacedId "input-end-edit" 'lookupGridRef' 'data-mapping' '[useTip]'=(variable.useTip || variable.useTip==false)?variable.useTip+"":undefined '[useFavorite]'=(variable.useFavorite || variable.useFavorite==false)?variable.useFavorite+"":undefined
34
+ '[nosearch]'=variable.noSearch?""+variable.noSearch.value:undefined '[editable]'=(variable.editable || variable.editable==false)?""+variable.editable:undefined '[disabled]'!=variable.disable?variable.disable.toString():undefined
35
+ '[displayType]'="'" + variable.displayType+ "'" '[uri]'="'" + (variable.dataSource && variable.dataSource.uri) + "'" '[idField]'="'" + (variable.dataSource && variable.dataSource.idField) + "'" '[mapFields]'=variable.mapFields?variable.mapFields:undefined
36
+ '[singleSelect]'=(!variable.multiSelect) + "" '[pageSize]'=(variable.pageSize || 20) '[pageList]'=variable.arrPageList?variable.arrPageList:undefined '[pageIndex]'=(variable.pageIndex || 1)
37
+ '[pagination]'=(variable.pagination == null | variable.pagination == undefined)?"true":variable.pagination + "" '[textField]'="'" + variable.textField + "'" '[valueField]'="'" + variable.valueField + "'"
38
+ '[title]'=variable.dialogTitleLang?""+variable.dialogTitleLang:undefined '[showMaxButton]'=(variable.showMaxButton == null | variable.showMaxButton == undefined)?"true":variable.showMaxButton + ""
39
+ '[showCloseButton]'=(variable.showCloseButton == null | variable.showCloseButton == undefined)?"true":variable.showCloseButton + "" '[resizable]'=(variable.resizable == null | variable.resizable == undefined)?"true":variable.resizable + ""
40
+ '(clear)'=variable.clear?variable.clear:undefined '[context]'=variable.context?variable.context:undefined '[enableToSelect]'=(variable.enableToSelect || variable.enableToSelect == false)?""+variable.enableToSelect:undefined
41
+ '[expandLevel]'=""+variable.expandLevel '[isRecordSize]'=(variable.isRecordSize || variable.isRecordSize == false)?""+variable.isRecordSize:undefined '[enableFullTree]'=(variable.enableFullTree || variable.enableFullTree == false)?""+variable.enableFullTree:undefined
42
+ '[loadTreeDataType]'=variable.loadTreeDataType ?"'"+variable.loadTreeDataType+"'":undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
43
+ '[enableClear]'=(variable.enableClear || variable.enableClear==false)?""+variable.enableClear:undefined '[dialogWidth]'=variable.panelWidth?""+variable.panelWidth:undefined '[dialogHeight]'=variable.panelHeight?""+variable.panelHeight:undefined
44
+ '[enableCascade]'=variable.enableCascade?""+variable.enableCascade:undefined '[cascadeStatus]'=variable.cascadeStatus?"'"+variable.cascadeStatus+"'":undefined '[useExtendInfo]'=(variable.useExtendInfo || variable.useExtendInfo==false)?""+variable.useExtendInfo:undefined
45
+ '[extInfoFields]'=variable.extInfoFields?"'"+variable.extInfoFields+"'":undefined '[extInfoFormatter]'=variable.extInfoFormatterName?""+variable.extInfoFormatterName: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 '[customFormatter]'=variable.customFormatterName?""+variable.customFormatterName:undefined
48
+ '[selectFirstInNav]'=variable.selectFirstInNav?""+variable.selectFirstInNav.value:undefined '[loadDataWhenOpen]'=variable.loadDataWhenOpen?""+variable.loadDataWhenOpen.value:undefined
49
+ '[customNavFormatter]'=variable.customNavFormatterName?""+variable.customNavFormatterName:undefined '[treeInfo]'=variable.treeInfo?variable.treeInfo:undefined '[maxLength]'=variable.maxSearchLength?""+variable.maxSearchLength:undefined
50
+ '[viewType]'=variable.viewType?"'"+variable.viewType+"'":undefined '[target]'="row" '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
51
+ '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
52
+ '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined '[quickSelect]'=variable.quickSelectName?""+variable.quickSelectName:undefined
53
+ '[showSelected]'=variable.showSelected?""+variable.showSelected.value:undefined '[useNewLayout]'=variable.useNewLayout?""+variable.useNewLayout.value:undefined '[enableMultiFieldSearch]'=variable.enableMultiFieldSearch?""+variable.enableMultiFieldSearch.value:undefined)&attributes(attrs)
54
+ div(class="farris-feedback")
55
+ if(variable.isTextArea)
56
+ -var areaAttrs = {};
57
+ if(variable.readonly && variable.readonly.isComposite)
58
+ -areaAttrs["*ngIf"]=variable.readonly.value;
59
+ else
60
+ -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
61
+ if (variable.binding && variable.binding.type == 'Variable')
62
+ -areaAttrs['[(ngModel)]'] = variable.binding.value;
63
+ -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
64
+ else if (variable.includeInLoopContainer==false)
65
+ -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
66
+ else
67
+ -areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
68
+ -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
69
+ farris-text('[type]'="'string'" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined '[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined )&attributes(areaAttrs)
70
+ if(variable.titleTipsTemplate)
71
+ span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
72
+ i(class="f-icon f-icon-description-tips")
73
+ -var tipsAttrs= {};
74
+ -tipsAttrs['#'+variable.titleTipsTemplateName] = "";
75
+ ng-template()&attributes(tipsAttrs)
76
76
  | !{variable.titleTipsTemplate}
@@ -1,48 +1,48 @@
1
-
2
- div(class="farris-input-wrap farris-textarea-wrap")
3
- -var attrs = {};
4
- if (variable.binding && variable.binding.type == 'Variable')
5
- -attrs['[(ngModel)]'] = variable.binding.value;
6
- -attrs['name'] = variable.replacedId;
7
- -attrs['[ngModelOptions]'] = "{standalone:true}";
8
- else if (variable.includeInLoopContainer==false)
9
- -attrs['formControlName'] = (variable.binding && variable.binding.path);
10
- else
11
- -attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
12
- -attrs['name'] = variable.replacedId;
13
- -attrs['[ngModelOptions]'] = "{standalone:true}";
14
- if(variable.isTextArea)
15
- if(variable.readonly && variable.readonly.isComposite)
16
- -attrs["*ngIf"]="!"+variable.readonly.value;
17
- else
18
- -attrs["*ngIf"]="viewModel.stateMachine['editable']";
19
-
20
- -attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
21
- if(variable.hasDefaultFocus)
22
- -attrs["farris-set-focus"]="";
23
- if(variable.focusState)
24
- -attrs["[focusState]"]=variable.focusState+"";
25
- textarea(id=variable.replacedId '[style.height]'=(variable.size&&variable.size.height)?"'"+variable.size.height+"px"+"'":undefined '[maxHeight]'= variable.maxHeight?""+variable.maxHeight:undefined '[style.width]'=(variable.size&&variable.size.width)?"'"+variable.size.width+"px"+"'":undefined class="form-control" "input-end-edit" 'kendoTextArea' '[disabled]'!=variable.disable?variable.disable.toString():undefined '[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"":undefined '[value]'=variable.value?variable.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 '[auto-size]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[textarea-zoom]'=variable.enableDialog+"" '[title]'=variable.enableDialog?""+titleValue:undefined '[dialogWidth]'=variable.enableDialog?variable.dialogWidth+"":undefined '[dialogHeight]'=variable.enableDialog?variable.dialogHeight+"":undefined 'maxlength'=(variable.maxLength && variable.maxLength!=0)?""+variable.maxLength:undefined '[word-count]'=(variable.enableWordCount || variable.enableWordCount==false)?""+variable.enableWordCount:undefined '[countType]'=variable.countType?"'"+variable.countType+"'":undefined '[onlyShowInDialog]'=(variable.onlyShowInDialog||variable.onlyShowInDialog==false)?""+variable.onlyShowInDialog:undefined '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
26
- div(class="farris-feedback")
27
- if(variable.isTextArea)
28
- -var areaAttrs = {};
29
- if(variable.readonly && variable.readonly.isComposite)
30
- -areaAttrs["*ngIf"]=variable.readonly.value;
31
- else
32
- -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
33
- if (variable.binding && variable.binding.type == 'Variable')
34
- -areaAttrs['[(ngModel)]'] = variable.binding.value;
35
- -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
36
- else if (variable.includeInLoopContainer==false)
37
- -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
38
- else
39
- -areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
40
- -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
41
- farris-text('[type]'="'string'" '[isTextArea]'="true" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[maxHeight]'= variable.maxHeight?""+variable.maxHeight:undefined '[textarea-zoom]'=variable.enableDialog+"" '[title]'=variable.enableDialog?""+titleValue:undefined '[dialogWidth]'=variable.enableDialog?variable.dialogWidth+"":undefined '[dialogHeight]'=variable.enableDialog?variable.dialogHeight+"":undefined '[attr.maxLength]'=variable.maxLength?""+variable.maxLength:undefined '[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined )&attributes(areaAttrs)
42
- if(variable.titleTipsTemplate)
43
- span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
44
- i(class="f-icon f-icon-description-tips")
45
- -var tipsAttrs= {};
46
- -tipsAttrs['#'+variable.titleTipsTemplateName] = "";
47
- ng-template()&attributes(tipsAttrs)
1
+
2
+ div(class="farris-input-wrap farris-textarea-wrap")
3
+ -var attrs = {};
4
+ if (variable.binding && variable.binding.type == 'Variable')
5
+ -attrs['[(ngModel)]'] = variable.binding.value;
6
+ -attrs['name'] = variable.replacedId;
7
+ -attrs['[ngModelOptions]'] = "{standalone:true}";
8
+ else if (variable.includeInLoopContainer==false)
9
+ -attrs['formControlName'] = (variable.binding && variable.binding.path);
10
+ else
11
+ -attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
12
+ -attrs['name'] = variable.replacedId;
13
+ -attrs['[ngModelOptions]'] = "{standalone:true}";
14
+ if(variable.isTextArea)
15
+ if(variable.readonly && variable.readonly.isComposite)
16
+ -attrs["*ngIf"]="!"+variable.readonly.value;
17
+ else
18
+ -attrs["*ngIf"]="viewModel.stateMachine['editable']";
19
+
20
+ -attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
21
+ if(variable.hasDefaultFocus)
22
+ -attrs["farris-set-focus"]="";
23
+ if(variable.focusState)
24
+ -attrs["[focusState]"]=variable.focusState+"";
25
+ textarea(id=variable.replacedId '[style.height]'=(variable.size&&variable.size.height)?"'"+variable.size.height+"px"+"'":undefined '[maxHeight]'= variable.maxHeight?""+variable.maxHeight:undefined '[style.width]'=(variable.size&&variable.size.width)?"'"+variable.size.width+"px"+"'":undefined class="form-control" "input-end-edit" 'kendoTextArea' '[disabled]'!=variable.disable?variable.disable.toString():undefined '[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"":undefined '[value]'=variable.value?variable.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 '[auto-size]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[textarea-zoom]'=variable.enableDialog+"" '[title]'=variable.enableDialog?""+titleValue:undefined '[dialogWidth]'=variable.enableDialog?variable.dialogWidth+"":undefined '[dialogHeight]'=variable.enableDialog?variable.dialogHeight+"":undefined 'maxlength'=(variable.maxLength && variable.maxLength!=0)?""+variable.maxLength:undefined '[word-count]'=(variable.enableWordCount || variable.enableWordCount==false)?""+variable.enableWordCount:undefined '[countType]'=variable.countType?"'"+variable.countType+"'":undefined '[onlyShowInDialog]'=(variable.onlyShowInDialog||variable.onlyShowInDialog==false)?""+variable.onlyShowInDialog:undefined '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
26
+ div(class="farris-feedback")
27
+ if(variable.isTextArea)
28
+ -var areaAttrs = {};
29
+ if(variable.readonly && variable.readonly.isComposite)
30
+ -areaAttrs["*ngIf"]=variable.readonly.value;
31
+ else
32
+ -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
33
+ if (variable.binding && variable.binding.type == 'Variable')
34
+ -areaAttrs['[(ngModel)]'] = variable.binding.value;
35
+ -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
36
+ else if (variable.includeInLoopContainer==false)
37
+ -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
38
+ else
39
+ -areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
40
+ -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
41
+ farris-text('[type]'="'string'" '[isTextArea]'="true" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[maxHeight]'= variable.maxHeight?""+variable.maxHeight:undefined '[textarea-zoom]'=variable.enableDialog+"" '[title]'=variable.enableDialog?""+titleValue:undefined '[dialogWidth]'=variable.enableDialog?variable.dialogWidth+"":undefined '[dialogHeight]'=variable.enableDialog?variable.dialogHeight+"":undefined '[attr.maxLength]'=variable.maxLength?""+variable.maxLength:undefined '[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined )&attributes(areaAttrs)
42
+ if(variable.titleTipsTemplate)
43
+ span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
44
+ i(class="f-icon f-icon-description-tips")
45
+ -var tipsAttrs= {};
46
+ -tipsAttrs['#'+variable.titleTipsTemplateName] = "";
47
+ ng-template()&attributes(tipsAttrs)
48
48
  | !{variable.titleTipsTemplate}
@@ -1,59 +1,59 @@
1
-
2
- div(class="farris-input-wrap")
3
- -var attrs = {};
4
- if (variable.binding && variable.binding.type == 'Variable')
5
- -attrs['[(ngModel)]'] = variable.binding.value;
6
- -attrs['name'] = variable.replacedId;
7
- -attrs['[ngModelOptions]'] = "{standalone:true}";
8
- else if (variable.includeInLoopContainer==false)
9
- -attrs['formControlName'] = (variable.binding && variable.binding.path);
10
- else
11
- -attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
12
- -attrs['name'] = variable.replacedId;
13
- -attrs['[ngModelOptions]'] = "{standalone:true}";
14
-
15
- -attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
16
- if(variable.isTextArea)
17
- if(variable.readonly && variable.readonly.isComposite)
18
- -attrs["*ngIf"]="!"+variable.readonly.value;
19
- else
20
- -attrs["*ngIf"]="viewModel.stateMachine['editable']";
21
- if(variable.hasDefaultFocus)
22
- -attrs["farris-set-focus"]="";
23
- if(variable.focusState)
24
- -attrs["[focusState]"]=variable.focusState+"";
25
- kendo-numerictextbox(id=variable.replacedId "input-end-edit" class="form-control k-widget k-numerictextbox" '[format]'=variable.format?"'"+variable.format+"'":undefined
26
- '[decimals]'=(variable.precision || variable.precision==0)? variable.precision+'':undefined '[disabled]'!=variable.disable?variable.disable.toString():undefined
27
- '[class.f-state-readonly]'=variable.readonly?variable.readonly.value+"":undefined
28
- '[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?""+variable.readonly.value+variable.readonlyPipeSuffix:""+variable.readonly.value:undefined
29
- '[value]'=variable.value?variable.value:undefined '[step]'=variable.step?variable.step:undefined
30
- '[min]'=variable.minValue!=null?variable.minValue:undefined '[max]'=variable.maxValue!=null?variable.maxValue:undefined '[autoCorrect]'="true"
31
- '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
32
- 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
33
- '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
34
- '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
35
- '[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
36
- kendo-numerictextbox-messages('[decrement]'="'减少'" '[increment]'="'增加'")
37
- div(class="farris-feedback")
38
- if(variable.isTextArea)
39
- -var areaAttrs = {};
40
- if(variable.readonly && variable.readonly.isComposite)
41
- -areaAttrs["*ngIf"]=variable.readonly.value;
42
- else
43
- -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
44
- if (variable.binding && variable.binding.type == 'Variable')
45
- -areaAttrs['[(ngModel)]'] = variable.binding.value;
46
- -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
47
- else if (variable.includeInLoopContainer==false)
48
- -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
49
- else
50
- -areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
51
- -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
52
- farris-text('[type]'="'number'" '[format]'=variable.format?"'"+variable.format+"'":undefined '[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined )&attributes(areaAttrs)
53
- if(variable.titleTipsTemplate)
54
- span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
55
- i(class="f-icon f-icon-description-tips")
56
- -var tipsAttrs= {};
57
- -tipsAttrs['#'+variable.titleTipsTemplateName] = "";
58
- ng-template()&attributes(tipsAttrs)
59
- | !{variable.titleTipsTemplate}
1
+
2
+ div(class="farris-input-wrap")
3
+ -var attrs = {};
4
+ if (variable.binding && variable.binding.type == 'Variable')
5
+ -attrs['[(ngModel)]'] = variable.binding.value;
6
+ -attrs['name'] = variable.replacedId;
7
+ -attrs['[ngModelOptions]'] = "{standalone:true}";
8
+ else if (variable.includeInLoopContainer==false)
9
+ -attrs['formControlName'] = (variable.binding && variable.binding.path);
10
+ else
11
+ -attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
12
+ -attrs['name'] = variable.replacedId;
13
+ -attrs['[ngModelOptions]'] = "{standalone:true}";
14
+
15
+ -attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
16
+ if(variable.isTextArea)
17
+ if(variable.readonly && variable.readonly.isComposite)
18
+ -attrs["*ngIf"]="!"+variable.readonly.value;
19
+ else
20
+ -attrs["*ngIf"]="viewModel.stateMachine['editable']";
21
+ if(variable.hasDefaultFocus)
22
+ -attrs["farris-set-focus"]="";
23
+ if(variable.focusState)
24
+ -attrs["[focusState]"]=variable.focusState+"";
25
+ kendo-numerictextbox(id=variable.replacedId "input-end-edit" class="form-control k-widget k-numerictextbox" '[format]'=variable.format?"'"+variable.format+"'":undefined
26
+ '[decimals]'=(variable.precision || variable.precision==0)? variable.precision+'':undefined '[disabled]'!=variable.disable?variable.disable.toString():undefined
27
+ '[class.f-state-readonly]'=variable.readonly?variable.readonly.value+"":undefined
28
+ '[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?""+variable.readonly.value+variable.readonlyPipeSuffix:""+variable.readonly.value:undefined
29
+ '[value]'=variable.value?variable.value:undefined '[step]'=variable.step?variable.step:undefined
30
+ '[min]'=variable.minValue!=null?variable.minValue:undefined '[max]'=variable.maxValue!=null?variable.maxValue:undefined '[autoCorrect]'="true"
31
+ '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
32
+ 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
33
+ '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
34
+ '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
35
+ '[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
36
+ kendo-numerictextbox-messages('[decrement]'="'减少'" '[increment]'="'增加'")
37
+ div(class="farris-feedback")
38
+ if(variable.isTextArea)
39
+ -var areaAttrs = {};
40
+ if(variable.readonly && variable.readonly.isComposite)
41
+ -areaAttrs["*ngIf"]=variable.readonly.value;
42
+ else
43
+ -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
44
+ if (variable.binding && variable.binding.type == 'Variable')
45
+ -areaAttrs['[(ngModel)]'] = variable.binding.value;
46
+ -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
47
+ else if (variable.includeInLoopContainer==false)
48
+ -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
49
+ else
50
+ -areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
51
+ -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
52
+ farris-text('[type]'="'number'" '[format]'=variable.format?"'"+variable.format+"'":undefined '[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined )&attributes(areaAttrs)
53
+ if(variable.titleTipsTemplate)
54
+ span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
55
+ i(class="f-icon f-icon-description-tips")
56
+ -var tipsAttrs= {};
57
+ -tipsAttrs['#'+variable.titleTipsTemplateName] = "";
58
+ ng-template()&attributes(tipsAttrs)
59
+ | !{variable.titleTipsTemplate}
@@ -1,75 +1,75 @@
1
- div(class="farris-input-wrap")
2
- -var attrs = {};
3
- if (variable.binding && variable.binding.type == 'Variable')
4
- -attrs['[(ngModel)]'] = variable.binding.value;
5
- -attrs['name'] = variable.replacedId;
6
- -attrs['[ngModelOptions]'] = "{standalone:true}";
7
- else
8
- -attrs['formControlName'] = (variable.binding && variable.binding.path);
9
- if (variable.valueChange)
10
- -attrs['(valueChange)'] = variable.valueChange ;
11
-
12
- -attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
13
-
14
- if(variable.isTextArea)
15
- if(variable.readonly && variable.readonly.isComposite)
16
- -attrs["*ngIf"]="!"+variable.readonly.value;
17
- else
18
- -attrs["*ngIf"]="viewModel.stateMachine['editable']";
19
- if(variable.hasDefaultFocus)
20
- -attrs["farris-set-focus"]="";
21
- if(variable.focusState)
22
- -attrs["[focusState]"]=variable.focusState+"";
23
- farris-organization-selector(
24
- organization-selector-data-mapping
25
- input-end-edit
26
- '[searchPlaceholder]'=variable.searchPlaceholder?"'"+variable.searchPlaceholder+"'":undefined
27
- '[disabled]'!=variable.disable?variable.disable.toString():undefined
28
- '[primaryField]'=variable.primaryField?"'"+variable.primaryField+"'":undefined
29
- '[displayField]'=variable.displayField?"'"+variable.displayField+"'":undefined
30
- '[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"":undefined
31
- '[viewType]'!=variable.viewType?"'"+variable.viewType+"'":undefined
32
- '[busNum]'!=variable.busNum?"'"+variable.busNum+"'":undefined
33
- '[absOrgType]'=variable.absOrgType?"'"+variable.absOrgType+"'":undefined
34
- '[layer]'= (variable.expandLevel || variable.expandLevel==0)?""+variable.expandLevel:undefined
35
- '[multiSelect]'!=variable.multiSelect?""+variable.multiSelect.value:undefined
36
- '[mapFields]'=variable.mapFields?variable.mapFields:undefined
37
- '(tagRemoved)'!=variable.tagRemoved?variable.tagRemoved+"":undefined
38
- '(selectionsChange)'!=variable.selectionsChange?variable.selectionsChange+"":undefined
39
- '[showTabIds]'=variable.showTabIds?"'"+variable.showTabIds+"'":undefined
40
- '[activeTabId]'=variable.activeTabId?"'"+variable.activeTabId+"'":undefined
41
- '[enableHierarchicalLoading]'=variable.enableHierarchicalLoading?""+variable.enableHierarchicalLoading.value:undefined
42
- '[showCheckAll]'=variable.showAllCheckBox?""+variable.showAllCheckBox.value:undefined
43
- '[cascadeCheck]'=variable.cascadeCheck?""+variable.cascadeCheck.value:undefined
44
- '[cascadeDown]'=variable.cascadeDown?""+variable.cascadeDown.value:undefined
45
- '[cascadeUp]'=variable.cascadeUp?""+variable.cascadeUp.value:undefined
46
- "[formatFn]"=variable.formatterName?""+variable.formatterName:undefined
47
- '(inputClear)'!=variable.inputClear?variable.inputClear+"":undefined
48
- 'tab-index'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
49
- '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
50
- 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
51
-
52
- )&attributes(attrs)
53
- if (variable.needValid && variable.binding && variable.binding.path)
54
- -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
55
- validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
56
- div(class="farris-feedback")
57
- if(variable.isTextArea)
58
- -var areaAttrs = {};
59
- if(variable.readonly && variable.readonly.isComposite)
60
- -areaAttrs["*ngIf"]=variable.readonly.value;
61
- else
62
- -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
63
- if (variable.binding && variable.binding.type == 'Variable')
64
- -areaAttrs['[(ngModel)]'] = variable.binding.value;
65
- -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
66
- else
67
- -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
68
- farris-text('[type]'="'string'" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined )&attributes(areaAttrs)
69
- if(variable.titleTipsTemplate)
70
- span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
71
- i(class="f-icon f-icon-description-tips")
72
- -var tipsAttrs= {};
73
- -tipsAttrs['#'+variable.titleTipsTemplateName] = "";
74
- ng-template()&attributes(tipsAttrs)
75
- | !{variable.titleTipsTemplate}
1
+ div(class="farris-input-wrap")
2
+ -var attrs = {};
3
+ if (variable.binding && variable.binding.type == 'Variable')
4
+ -attrs['[(ngModel)]'] = variable.binding.value;
5
+ -attrs['name'] = variable.replacedId;
6
+ -attrs['[ngModelOptions]'] = "{standalone:true}";
7
+ else
8
+ -attrs['formControlName'] = (variable.binding && variable.binding.path);
9
+ if (variable.valueChange)
10
+ -attrs['(valueChange)'] = variable.valueChange ;
11
+
12
+ -attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
13
+
14
+ if(variable.isTextArea)
15
+ if(variable.readonly && variable.readonly.isComposite)
16
+ -attrs["*ngIf"]="!"+variable.readonly.value;
17
+ else
18
+ -attrs["*ngIf"]="viewModel.stateMachine['editable']";
19
+ if(variable.hasDefaultFocus)
20
+ -attrs["farris-set-focus"]="";
21
+ if(variable.focusState)
22
+ -attrs["[focusState]"]=variable.focusState+"";
23
+ farris-organization-selector(
24
+ organization-selector-data-mapping
25
+ input-end-edit
26
+ '[searchPlaceholder]'=variable.searchPlaceholder?"'"+variable.searchPlaceholder+"'":undefined
27
+ '[disabled]'!=variable.disable?variable.disable.toString():undefined
28
+ '[primaryField]'=variable.primaryField?"'"+variable.primaryField+"'":undefined
29
+ '[displayField]'=variable.displayField?"'"+variable.displayField+"'":undefined
30
+ '[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"":undefined
31
+ '[viewType]'!=variable.viewType?"'"+variable.viewType+"'":undefined
32
+ '[busNum]'!=variable.busNum?"'"+variable.busNum+"'":undefined
33
+ '[absOrgType]'=variable.absOrgType?"'"+variable.absOrgType+"'":undefined
34
+ '[layer]'= (variable.expandLevel || variable.expandLevel==0)?""+variable.expandLevel:undefined
35
+ '[multiSelect]'!=variable.multiSelect?""+variable.multiSelect.value:undefined
36
+ '[mapFields]'=variable.mapFields?variable.mapFields:undefined
37
+ '(tagRemoved)'!=variable.tagRemoved?variable.tagRemoved+"":undefined
38
+ '(selectionsChange)'!=variable.selectionsChange?variable.selectionsChange+"":undefined
39
+ '[showTabIds]'=variable.showTabIds?"'"+variable.showTabIds+"'":undefined
40
+ '[activeTabId]'=variable.activeTabId?"'"+variable.activeTabId+"'":undefined
41
+ '[enableHierarchicalLoading]'=variable.enableHierarchicalLoading?""+variable.enableHierarchicalLoading.value:undefined
42
+ '[showCheckAll]'=variable.showAllCheckBox?""+variable.showAllCheckBox.value:undefined
43
+ '[cascadeCheck]'=variable.cascadeCheck?""+variable.cascadeCheck.value:undefined
44
+ '[cascadeDown]'=variable.cascadeDown?""+variable.cascadeDown.value:undefined
45
+ '[cascadeUp]'=variable.cascadeUp?""+variable.cascadeUp.value:undefined
46
+ "[formatFn]"=variable.formatterName?""+variable.formatterName:undefined
47
+ '(inputClear)'!=variable.inputClear?variable.inputClear+"":undefined
48
+ 'tab-index'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
49
+ '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
50
+ 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
51
+
52
+ )&attributes(attrs)
53
+ if (variable.needValid && variable.binding && variable.binding.path)
54
+ -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
55
+ validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
56
+ div(class="farris-feedback")
57
+ if(variable.isTextArea)
58
+ -var areaAttrs = {};
59
+ if(variable.readonly && variable.readonly.isComposite)
60
+ -areaAttrs["*ngIf"]=variable.readonly.value;
61
+ else
62
+ -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
63
+ if (variable.binding && variable.binding.type == 'Variable')
64
+ -areaAttrs['[(ngModel)]'] = variable.binding.value;
65
+ -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
66
+ else
67
+ -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
68
+ farris-text('[type]'="'string'" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined )&attributes(areaAttrs)
69
+ if(variable.titleTipsTemplate)
70
+ span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
71
+ i(class="f-icon f-icon-description-tips")
72
+ -var tipsAttrs= {};
73
+ -tipsAttrs['#'+variable.titleTipsTemplateName] = "";
74
+ ng-template()&attributes(tipsAttrs)
75
+ | !{variable.titleTipsTemplate}