@farris/jit-engine 1.3.350 → 1.3.352

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 (189) hide show
  1. package/README.md +6 -18
  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/binding.js +1 -1
  5. package/lib/domstructure/ui/data/index.js +68 -69
  6. package/lib/domstructure/ui/data/index.js.map +1 -1
  7. package/lib/domstructure/ui/queryScheme/query-scheme.js +0 -3
  8. package/lib/domstructure/ui/queryScheme/query-scheme.js.map +1 -1
  9. package/lib/template/ui/kendo/adminorganization-selector.pug +101 -101
  10. package/lib/template/ui/kendo/appointment-calendar.pug +39 -39
  11. package/lib/template/ui/kendo/button.pug +16 -16
  12. package/lib/template/ui/kendo/buttongroup.pug +7 -7
  13. package/lib/template/ui/kendo/chart.pug +9 -9
  14. package/lib/template/ui/kendo/checkbox.pug +118 -118
  15. package/lib/template/ui/kendo/checkboxgroup.pug +63 -63
  16. package/lib/template/ui/kendo/city-selector.pug +69 -69
  17. package/lib/template/ui/kendo/combobox.pug +70 -70
  18. package/lib/template/ui/kendo/componentref.pug +3 -3
  19. package/lib/template/ui/kendo/contentcontainer.pug +8 -8
  20. package/lib/template/ui/kendo/datepicker.pug +70 -70
  21. package/lib/template/ui/kendo/dialog.pug +10 -10
  22. package/lib/template/ui/kendo/dropdownlist.pug +18 -18
  23. package/lib/template/ui/kendo/dynamic-area-item.pug +1 -1
  24. package/lib/template/ui/kendo/employee-selector.pug +96 -96
  25. package/lib/template/ui/kendo/externalContainer.pug +12 -12
  26. package/lib/template/ui/kendo/externalRouteContainer.pug +1 -1
  27. package/lib/template/ui/kendo/farris-avatar.pug +18 -18
  28. package/lib/template/ui/kendo/farris-calendar.pug +5 -5
  29. package/lib/template/ui/kendo/farris-checkbox-group.pug +96 -96
  30. package/lib/template/ui/kendo/farris-combo-list.pug +111 -111
  31. package/lib/template/ui/kendo/farris-datagrid-template.pug +21 -21
  32. package/lib/template/ui/kendo/farris-datagrid.pug +37 -37
  33. package/lib/template/ui/kendo/farris-datepicker.pug +118 -118
  34. package/lib/template/ui/kendo/farris-dynamic-control-group.pug +14 -14
  35. package/lib/template/ui/kendo/farris-ext-intergration.pug +79 -79
  36. package/lib/template/ui/kendo/farris-file-preview.pug +6 -6
  37. package/lib/template/ui/kendo/farris-file-upload-preview.pug +1 -1
  38. package/lib/template/ui/kendo/farris-file-upload.pug +3 -3
  39. package/lib/template/ui/kendo/farris-light-list-filter.pug +10 -10
  40. package/lib/template/ui/kendo/farris-list-filter.pug +11 -11
  41. package/lib/template/ui/kendo/farris-list-view.pug +28 -27
  42. package/lib/template/ui/kendo/farris-number-range.pug +98 -98
  43. package/lib/template/ui/kendo/farris-number-spinner.pug +103 -103
  44. package/lib/template/ui/kendo/farris-query-solution.pug +17 -18
  45. package/lib/template/ui/kendo/farris-scrollspy.pug +10 -10
  46. package/lib/template/ui/kendo/farris-splitter-pane.pug +11 -11
  47. package/lib/template/ui/kendo/farris-splitter.pug +6 -6
  48. package/lib/template/ui/kendo/farris-switch.pug +88 -88
  49. package/lib/template/ui/kendo/farris-tags.pug +70 -70
  50. package/lib/template/ui/kendo/farris-time-picker.pug +102 -102
  51. package/lib/template/ui/kendo/farris-time-spinner.pug +71 -71
  52. package/lib/template/ui/kendo/farris-ui-footer.pug +15 -15
  53. package/lib/template/ui/kendo/farris-wizard-page-detail.pug +14 -14
  54. package/lib/template/ui/kendo/farris-wizard.pug +8 -8
  55. package/lib/template/ui/kendo/farrissidebar.pug +26 -26
  56. package/lib/template/ui/kendo/farristabpage.pug +14 -14
  57. package/lib/template/ui/kendo/farristabs.pug +13 -13
  58. package/lib/template/ui/kendo/farristag.pug +6 -6
  59. package/lib/template/ui/kendo/fieldset.pug +20 -20
  60. package/lib/template/ui/kendo/flexlayout.pug +5 -5
  61. package/lib/template/ui/kendo/form.pug +15 -15
  62. package/lib/template/ui/kendo/grid.pug +83 -83
  63. package/lib/template/ui/kendo/header.pug +9 -9
  64. package/lib/template/ui/kendo/hidden-container.pug +1 -1
  65. package/lib/template/ui/kendo/image-upload.pug +82 -82
  66. package/lib/template/ui/kendo/image.pug +18 -18
  67. package/lib/template/ui/kendo/input-group.pug +96 -96
  68. package/lib/template/ui/kendo/label.pug +18 -18
  69. package/lib/template/ui/kendo/lookup-employee.pug +109 -109
  70. package/lib/template/ui/kendo/lookup.pug +113 -113
  71. package/lib/template/ui/kendo/loop-container.pug +1 -1
  72. package/lib/template/ui/kendo/menu.pug +3 -3
  73. package/lib/template/ui/kendo/menuitem.pug +7 -7
  74. package/lib/template/ui/kendo/modal-footer.pug +9 -9
  75. package/lib/template/ui/kendo/multi-view-container.pug +7 -7
  76. package/lib/template/ui/kendo/multi-view-item.pug +8 -8
  77. package/lib/template/ui/kendo/multitextbox.pug +101 -101
  78. package/lib/template/ui/kendo/numericbox.pug +70 -70
  79. package/lib/template/ui/kendo/oa-relation.pug +20 -20
  80. package/lib/template/ui/kendo/organization-selector.pug +116 -116
  81. package/lib/template/ui/kendo/p-treetable.pug +28 -28
  82. package/lib/template/ui/kendo/popup.pug +3 -3
  83. package/lib/template/ui/kendo/portlet.pug +2 -2
  84. package/lib/template/ui/kendo/primeng-edittree/checkbox.pug +12 -12
  85. package/lib/template/ui/kendo/primeng-edittree/farris-combo-list.pug +16 -16
  86. package/lib/template/ui/kendo/primeng-edittree/farris-combo-lookup.pug +19 -19
  87. package/lib/template/ui/kendo/primeng-edittree/farris-datepicker.pug +31 -31
  88. package/lib/template/ui/kendo/primeng-edittree/farris-number-spinner.pug +18 -18
  89. package/lib/template/ui/kendo/primeng-edittree/farris-switch.pug +13 -13
  90. package/lib/template/ui/kendo/primeng-edittree/farris-time-picker.pug +17 -17
  91. package/lib/template/ui/kendo/primeng-edittree/input-group.pug +14 -14
  92. package/lib/template/ui/kendo/primeng-edittree/language-textbox.pug +14 -14
  93. package/lib/template/ui/kendo/primeng-edittree/lookup.pug +32 -32
  94. package/lib/template/ui/kendo/primeng-edittree/multitextbox.pug +17 -17
  95. package/lib/template/ui/kendo/primeng-edittree/textbox.pug +18 -18
  96. package/lib/template/ui/kendo/qdp-condition-dialog-tab.pug +3 -3
  97. package/lib/template/ui/kendo/qdp-condition-dialog.pug +3 -3
  98. package/lib/template/ui/kendo/qdpframework.pug +15 -15
  99. package/lib/template/ui/kendo/queryform.pug +7 -7
  100. package/lib/template/ui/kendo/radiobox.pug +60 -60
  101. package/lib/template/ui/kendo/radioboxgroup.pug +94 -94
  102. package/lib/template/ui/kendo/richtextbox.pug +53 -53
  103. package/lib/template/ui/kendo/scroll-collapse-area.pug +2 -2
  104. package/lib/template/ui/kendo/section.pug +44 -44
  105. package/lib/template/ui/kendo/select.pug +46 -46
  106. package/lib/template/ui/kendo/spreadsheet.pug +7 -7
  107. package/lib/template/ui/kendo/switch.pug +67 -67
  108. package/lib/template/ui/kendo/tab.pug +3 -3
  109. package/lib/template/ui/kendo/table/adminorganization-selector.pug +73 -73
  110. package/lib/template/ui/kendo/table/checkbox.pug +92 -92
  111. package/lib/template/ui/kendo/table/checkboxgroup.pug +30 -30
  112. package/lib/template/ui/kendo/table/combobox.pug +49 -49
  113. package/lib/template/ui/kendo/table/datepicker.pug +49 -49
  114. package/lib/template/ui/kendo/table/employee-selector.pug +70 -70
  115. package/lib/template/ui/kendo/table/farris-avatar.pug +25 -25
  116. package/lib/template/ui/kendo/table/farris-checkbox-group.pug +47 -47
  117. package/lib/template/ui/kendo/table/farris-combo-list.pug +60 -60
  118. package/lib/template/ui/kendo/table/farris-combo-lookup.pug +30 -30
  119. package/lib/template/ui/kendo/table/farris-datepicker.pug +61 -61
  120. package/lib/template/ui/kendo/table/farris-number-range.pug +59 -59
  121. package/lib/template/ui/kendo/table/farris-number-spinner.pug +61 -61
  122. package/lib/template/ui/kendo/table/farris-static-text.pug +3 -3
  123. package/lib/template/ui/kendo/table/farris-switch.pug +55 -55
  124. package/lib/template/ui/kendo/table/farris-table-column.pug +1 -1
  125. package/lib/template/ui/kendo/table/farris-table-row.pug +1 -1
  126. package/lib/template/ui/kendo/table/farris-tags.pug +55 -55
  127. package/lib/template/ui/kendo/table/farris-time-picker.pug +51 -51
  128. package/lib/template/ui/kendo/table/farris-time-spinner.pug +25 -25
  129. package/lib/template/ui/kendo/table/input-group.pug +46 -46
  130. package/lib/template/ui/kendo/table/lookup-employee.pug +71 -71
  131. package/lib/template/ui/kendo/table/lookup.pug +75 -75
  132. package/lib/template/ui/kendo/table/multitextbox.pug +47 -47
  133. package/lib/template/ui/kendo/table/numericbox.pug +59 -59
  134. package/lib/template/ui/kendo/table/organization-selector.pug +75 -75
  135. package/lib/template/ui/kendo/table/radiobox.pug +27 -27
  136. package/lib/template/ui/kendo/table/radioboxgroup.pug +47 -47
  137. package/lib/template/ui/kendo/table/richtextbox.pug +30 -30
  138. package/lib/template/ui/kendo/table/select.pug +21 -21
  139. package/lib/template/ui/kendo/table/switch.pug +55 -55
  140. package/lib/template/ui/kendo/table/textbox.pug +53 -53
  141. package/lib/template/ui/kendo/table/timebox.pug +33 -33
  142. package/lib/template/ui/kendo/table/timepicker.pug +25 -25
  143. package/lib/template/ui/kendo/table/tinymcerichtextbox.pug +36 -36
  144. package/lib/template/ui/kendo/tabpage.pug +10 -10
  145. package/lib/template/ui/kendo/template.pug +2 -2
  146. package/lib/template/ui/kendo/textbox.pug +98 -98
  147. package/lib/template/ui/kendo/timebox.pug +47 -47
  148. package/lib/template/ui/kendo/timepicker.pug +17 -17
  149. package/lib/template/ui/kendo/tinymcerichtextbox.pug +59 -59
  150. package/lib/template/ui/kendo/toolbar.pug +5 -5
  151. package/lib/template/ui/kendo/view-change.pug +1 -1
  152. package/lib/template/ui/kendo/wizarddetailcontainer.pug +6 -6
  153. package/lib/utility/declaration-trigger.js +3 -0
  154. package/lib/utility/devkit/component-creator.js +191 -192
  155. package/lib/utility/devkit/component-creator.js.map +1 -1
  156. package/lib/utility/devkit/component-parameter-collector/component-parameter-collector-manager.js +221 -222
  157. package/lib/utility/devkit/component-parameter-collector/component-parameter-collector-manager.js.map +1 -1
  158. package/lib/utility/devkit/component-parameter-collector/component-parameter-collector-type.js +56 -57
  159. package/lib/utility/devkit/component-parameter-collector/component-parameter-collector-type.js.map +1 -1
  160. package/lib/utility/devkit/component-parameter-collector/farris-lookup-collector.js +64 -64
  161. package/lib/utility/devkit/component-parameter-collector/farris-lookup-collector.js.map +1 -1
  162. package/lib/utility/devkit/form-file-executor.js +1 -6
  163. package/lib/utility/devkit/form-file-executor.js.map +1 -1
  164. package/lib/utility/devkit/module-creator.js +167 -170
  165. package/lib/utility/devkit/module-creator.js.map +1 -1
  166. package/lib/utility/farris-datagrid/column-editor-manager.js +111 -115
  167. package/lib/utility/farris-datagrid/column-editor-manager.js.map +1 -1
  168. package/lib/utility/farris-datagrid/farris-grid-column-type-convertor.js +105 -112
  169. package/lib/utility/farris-datagrid/farris-grid-column-type-convertor.js.map +1 -1
  170. package/lib/utility/i18n/i18n-resource-manager.js +237 -237
  171. package/lib/utility/i18n/i18n-resource-manager.js.map +1 -1
  172. package/lib/utility/i18n/index.js +13 -13
  173. package/lib/utility/template-generator/devkit/module-generator/index.js +19 -19
  174. package/lib/utility/template-generator/devkit/module-generator/module-import-statement-generator.js +303 -304
  175. package/lib/utility/template-generator/devkit/module-generator/module-import-statement-generator.js.map +1 -1
  176. package/lib/utility/template-generator/devkit/module-generator/module-imports-statement-generator.js +282 -300
  177. package/lib/utility/template-generator/devkit/module-generator/module-imports-statement-generator.js.map +1 -1
  178. package/package.json +1 -1
  179. package/lib/domstructure/ui/data/fields/form/editable/inputs/reference/external-service-lookup.js +0 -48
  180. package/lib/domstructure/ui/data/fields/form/editable/inputs/reference/external-service-lookup.js.map +0 -1
  181. package/lib/template/ui/kendo/light-lookup.pug +0 -183
  182. package/lib/utility/farris-datagrid/external-service-lookup-editor.js +0 -96
  183. package/lib/utility/farris-datagrid/external-service-lookup-editor.js.map +0 -1
  184. package/lib/utility/template-generator/advanced-component-recognizer.js +0 -75
  185. package/lib/utility/template-generator/advanced-component-recognizer.js.map +0 -1
  186. package/lib/utility/template-generator/devkit-template-config.js +0 -580
  187. package/lib/utility/template-generator/devkit-template-config.js.map +0 -1
  188. package/lib/utility/template-generator/external-service-lookup-checker.js +0 -28
  189. package/lib/utility/template-generator/external-service-lookup-checker.js.map +0 -1
@@ -1,114 +1,114 @@
1
- //- -var variable = {};
2
-
3
- -var holdPlaceOuterAttrs = {};
4
- -var holdPlaceInnerAttrs = {};
5
- -var holdPlaceEmptyAttrs = {};
6
- if(variable.holdPlace)
7
- -holdPlaceInnerAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
8
- -holdPlaceEmptyAttrs['*ngIf']=variable.visible?variable.visiblePipeSuffix?'!'+variable.visible.value+variable.visiblePipeSuffix+'':'!'+variable.visible.value+'':undefined;
9
- else
10
- -holdPlaceOuterAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
11
- div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
12
- if(variable.holdPlace)
13
- div(class="f-empty-input-placeholder")&attributes(holdPlaceEmptyAttrs)
14
- div(class="farris-group-wrap")&attributes(holdPlaceInnerAttrs)
15
- div(class="form-group farris-form-group" '[ngClass]'="{'form-group--has-tips':"+(variable.enableTitleTips?variable.enableTitleTips:false)+"}")
16
- if (variable.title)
17
- -var titleValue=variable.isStaticTitle?("'" + variable.resourceId + "'|lang:lang:'"+variable.defaultI18nValue+"'"):variable.dynamicTitleValue;
18
- if(variable.linkedLabelEnabled)
19
- label(class="col-form-label f-pretend-link f-cursor-pointer" title="{{"+titleValue+"}}" for=variable.replacedId '(click)'=variable.linkedLabelClick?variable.linkedLabelClick:undefined '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined)
20
- if (variable.require)
21
- span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
22
- span(class="farris-label-text") {{#{titleValue}}}
23
- else
24
- label(class="col-form-label" title="{{"+titleValue+"}}" for=variable.replacedId '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined)
25
- if (variable.require)
26
- span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
27
- span(class="farris-label-text") {{#{titleValue}}}
28
- div(class="farris-input-wrap")
29
- -var attrs = {};
30
- if (variable.binding && variable.binding.type == 'Variable')
31
- -attrs['[(UIStateBinding)]'] = variable.binding.value;
32
- -attrs['name'] = variable.replacedId;
33
- else
34
- -attrs['formControlName'] = (variable.binding && variable.binding.path);
35
- if (variable.lookupPicking)
36
- -attrs['[dictPicking]'] = variable.lookupPicking;
37
- if (variable.lookupPicked)
38
- -attrs['[dictPicked]'] = variable.lookupPicked;
39
- if (variable.beforeSelectData)
40
- -attrs['[beforeSelectData]'] = variable.beforeSelectData;
41
- if (variable.readonly)
42
- -attrs['[readonly]'] = variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"";
43
-
44
- -attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
45
- if(variable.isTextArea)
46
- if(variable.readonly && variable.readonly.isComposite)
47
- -attrs["*ngIf"]="!"+variable.readonly.value;
48
- else
49
- -attrs["*ngIf"]="viewModel.stateMachine['editable']";
50
- if(variable.hasDefaultFocus)
51
- -attrs["farris-set-focus"]="";
52
- if(variable.focusState)
53
- -attrs["[focusState]"]=variable.focusState+"";
54
- -attrs['#'+variable.replacedId] = "";
55
- farris-lookup-grid(id=variable.replacedId "input-end-edit" 'lookupGridRef' 'data-mapping' '[useTip]'=(variable.useTip || variable.useTip==false)?variable.useTip+"":undefined '[useFavorite]'=(variable.useFavorite || variable.useFavorite==false)?variable.useFavorite+"":undefined
56
- '[nosearch]'=variable.noSearch?""+variable.noSearch.value:undefined '[editable]'=(variable.editable || variable.editable==false)?""+variable.editable:undefined '[disabled]'!=variable.disable?variable.disable.toString():undefined
57
- '[displayType]'="'" + variable.displayType+ "'" '[uri]'=(variable.dataSource && variable.dataSource.uri)?"'" + variable.dataSource.uri + "'":undefined '[idField]'=(variable.dataSource && variable.dataSource.idField)?"'" + variable.dataSource.idField + "'":undefined
58
- '[mapFields]'=variable.mapFields?variable.mapFields:undefined '[singleSelect]'=(!variable.multiSelect) + "" '[pageSize]'=(variable.pageSize || 20) '[pageList]'=variable.arrPageList?variable.arrPageList:undefined '[pageIndex]'=(variable.pageIndex || 1)
59
- '[pagination]'=(variable.pagination == null | variable.pagination == undefined)?"true":variable.pagination + "" '[textField]'="'" + variable.textField + "'" '[valueField]'="'" + variable.valueField + "'"
60
- '[title]'=variable.dialogTitleLang?""+variable.dialogTitleLang:undefined '[showMaxButton]'=(variable.showMaxButton == null | variable.showMaxButton == undefined)?"true":variable.showMaxButton + ""
61
- '[showCloseButton]'=(variable.showCloseButton == null | variable.showCloseButton == undefined)?"true":variable.showCloseButton + "" '[resizable]'=(variable.resizable == null | variable.resizable == undefined)?"true":variable.resizable + ""
62
- '(clear)'=variable.clear?variable.clear:undefined '[context]'=variable.context?variable.context:undefined '[enableToSelect]'=(variable.enableToSelect || variable.enableToSelect == false)?""+variable.enableToSelect:undefined '[expandLevel]'=""+variable.expandLevel
63
- '[isRecordSize]'=(variable.isRecordSize || variable.isRecordSize == false)?""+variable.isRecordSize:undefined '[enableFullTree]'=(variable.enableFullTree || variable.enableFullTree == false)?""+variable.enableFullTree:undefined
64
- '[loadTreeDataType]'=variable.loadTreeDataType ?"'"+variable.loadTreeDataType+"'":undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
65
- '[enableClear]'=(variable.enableClear || variable.enableClear==false)?""+variable.enableClear:undefined '[dialogWidth]'=variable.panelWidth?""+variable.panelWidth:undefined '[dialogHeight]'=variable.panelHeight?""+variable.panelHeight:undefined
66
- '[enableCascade]'=variable.enableCascade?""+variable.enableCascade:undefined '[cascadeStatus]'=variable.cascadeStatus?"'"+variable.cascadeStatus+"'":undefined '[useExtendInfo]'=(variable.useExtendInfo || variable.useExtendInfo==false)?""+variable.useExtendInfo:undefined
67
- '[extInfoFields]'=variable.extInfoFields?"'"+variable.extInfoFields+"'":undefined '[extInfoFormatter]'=variable.extInfoFormatterName?""+variable.extInfoFormatterName:undefined
68
- '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
69
- 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined '[customFormatter]'=variable.customFormatterName?""+variable.customFormatterName:undefined
70
- '[selectFirstInNav]'=variable.selectFirstInNav?""+variable.selectFirstInNav.value:undefined '[loadDataWhenOpen]'=variable.loadDataWhenOpen?""+variable.loadDataWhenOpen.value:undefined
71
- '[customNavFormatter]'=variable.customNavFormatterName?""+variable.customNavFormatterName:undefined '[treeInfo]'=variable.treeInfo?variable.treeInfo:undefined '[maxLength]'=variable.maxSearchLength?""+variable.maxSearchLength:undefined
72
- '[viewType]'=variable.viewType?"'"+variable.viewType+"'":undefined '[treeTableOptions]'=variable.treeTableOptions?variable.treeTableOptions:undefined '[showCheckAll]'=variable.showCheckAll?""+variable.showCheckAll.value:undefined
73
- '[quickSelect]'=variable.quickSelectName?""+variable.quickSelectName:undefined '[treeToList]'=variable.treeToList?""+variable.treeToList.value:undefined '[navTreeToList]'=variable.navTreeToList?""+variable.navTreeToList.value:undefined
74
- '[showNavigation]'=variable.showNavigation?""+variable.showNavigation.value:undefined '[showCascadeControl]'=variable.showCascadeControl?""+variable.showCascadeControl.value:undefined
75
- '[showSelected]'=variable.showSelected?""+variable.showSelected.value:undefined '[multipleChoiceSeparator]'=variable.multipleChoiceSeparator?"'"+variable.multipleChoiceSeparator.value+"'":undefined
76
- '[useNewLayout]'=variable.useNewLayout?""+variable.useNewLayout.value:undefined '[enableMultiFieldSearch]'=variable.enableMultiFieldSearch?""+variable.enableMultiFieldSearch.value:undefined
77
- '[showDisabledItem]'=variable.showDisabledItem?""+variable.showDisabledItem.value:undefined
78
- '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
79
- '[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
80
- '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
81
- '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
82
- '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
83
- '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
84
- '[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
85
- if (variable.needValid && variable.binding && variable.binding.path)
86
- -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
87
- validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
88
- div(class="farris-feedback")
89
- if(variable.isTextArea)
90
- -var areaAttrs = {};
91
- if(variable.readonly && variable.readonly.isComposite)
92
- -areaAttrs["*ngIf"]=variable.readonly.value;
93
- else
94
- -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
95
- if (variable.binding && variable.binding.type == 'Variable')
96
- -areaAttrs['[(ngModel)]'] = variable.binding.value;
97
- -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
98
- else
99
- -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
100
- farris-text('[type]'="'string'" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
101
- '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined
102
- '[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
103
- '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
104
- '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
105
- '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
106
- '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
107
- '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
108
- if(variable.titleTipsTemplate)
109
- span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
110
- i(class="f-icon f-icon-description-tips")
111
- -var tipsAttrs= {};
112
- -tipsAttrs['#'+variable.titleTipsTemplateName] = "";
113
- ng-template()&attributes(tipsAttrs)
1
+ //- -var variable = {};
2
+
3
+ -var holdPlaceOuterAttrs = {};
4
+ -var holdPlaceInnerAttrs = {};
5
+ -var holdPlaceEmptyAttrs = {};
6
+ if(variable.holdPlace)
7
+ -holdPlaceInnerAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
8
+ -holdPlaceEmptyAttrs['*ngIf']=variable.visible?variable.visiblePipeSuffix?'!'+variable.visible.value+variable.visiblePipeSuffix+'':'!'+variable.visible.value+'':undefined;
9
+ else
10
+ -holdPlaceOuterAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
11
+ div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
12
+ if(variable.holdPlace)
13
+ div(class="f-empty-input-placeholder")&attributes(holdPlaceEmptyAttrs)
14
+ div(class="farris-group-wrap")&attributes(holdPlaceInnerAttrs)
15
+ div(class="form-group farris-form-group" '[ngClass]'="{'form-group--has-tips':"+(variable.enableTitleTips?variable.enableTitleTips:false)+"}")
16
+ if (variable.title)
17
+ -var titleValue=variable.isStaticTitle?("'" + variable.resourceId + "'|lang:lang:'"+variable.defaultI18nValue+"'"):variable.dynamicTitleValue;
18
+ if(variable.linkedLabelEnabled)
19
+ label(class="col-form-label f-pretend-link f-cursor-pointer" title="{{"+titleValue+"}}" for=variable.replacedId '(click)'=variable.linkedLabelClick?variable.linkedLabelClick:undefined '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined)
20
+ if (variable.require)
21
+ span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
22
+ span(class="farris-label-text") {{#{titleValue}}}
23
+ else
24
+ label(class="col-form-label" title="{{"+titleValue+"}}" for=variable.replacedId '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined)
25
+ if (variable.require)
26
+ span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
27
+ span(class="farris-label-text") {{#{titleValue}}}
28
+ div(class="farris-input-wrap")
29
+ -var attrs = {};
30
+ if (variable.binding && variable.binding.type == 'Variable')
31
+ -attrs['[(UIStateBinding)]'] = variable.binding.value;
32
+ -attrs['name'] = variable.replacedId;
33
+ else
34
+ -attrs['formControlName'] = (variable.binding && variable.binding.path);
35
+ if (variable.lookupPicking)
36
+ -attrs['[dictPicking]'] = variable.lookupPicking;
37
+ if (variable.lookupPicked)
38
+ -attrs['[dictPicked]'] = variable.lookupPicked;
39
+ if (variable.beforeSelectData)
40
+ -attrs['[beforeSelectData]'] = variable.beforeSelectData;
41
+ if (variable.readonly)
42
+ -attrs['[readonly]'] = variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"";
43
+
44
+ -attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
45
+ if(variable.isTextArea)
46
+ if(variable.readonly && variable.readonly.isComposite)
47
+ -attrs["*ngIf"]="!"+variable.readonly.value;
48
+ else
49
+ -attrs["*ngIf"]="viewModel.stateMachine['editable']";
50
+ if(variable.hasDefaultFocus)
51
+ -attrs["farris-set-focus"]="";
52
+ if(variable.focusState)
53
+ -attrs["[focusState]"]=variable.focusState+"";
54
+ -attrs['#'+variable.replacedId] = "";
55
+ farris-lookup-grid(id=variable.replacedId "input-end-edit" 'lookupGridRef' 'data-mapping' '[useTip]'=(variable.useTip || variable.useTip==false)?variable.useTip+"":undefined '[useFavorite]'=(variable.useFavorite || variable.useFavorite==false)?variable.useFavorite+"":undefined
56
+ '[nosearch]'=variable.noSearch?""+variable.noSearch.value:undefined '[editable]'=(variable.editable || variable.editable==false)?""+variable.editable:undefined '[disabled]'!=variable.disable?variable.disable.toString():undefined
57
+ '[displayType]'="'" + variable.displayType+ "'" '[uri]'=(variable.dataSource && variable.dataSource.uri)?"'" + variable.dataSource.uri + "'":undefined '[idField]'=(variable.dataSource && variable.dataSource.idField)?"'" + variable.dataSource.idField + "'":undefined
58
+ '[mapFields]'=variable.mapFields?variable.mapFields:undefined '[singleSelect]'=(!variable.multiSelect) + "" '[pageSize]'=(variable.pageSize || 20) '[pageList]'=variable.arrPageList?variable.arrPageList:undefined '[pageIndex]'=(variable.pageIndex || 1)
59
+ '[pagination]'=(variable.pagination == null | variable.pagination == undefined)?"true":variable.pagination + "" '[textField]'="'" + variable.textField + "'" '[valueField]'="'" + variable.valueField + "'"
60
+ '[title]'=variable.dialogTitleLang?""+variable.dialogTitleLang:undefined '[showMaxButton]'=(variable.showMaxButton == null | variable.showMaxButton == undefined)?"true":variable.showMaxButton + ""
61
+ '[showCloseButton]'=(variable.showCloseButton == null | variable.showCloseButton == undefined)?"true":variable.showCloseButton + "" '[resizable]'=(variable.resizable == null | variable.resizable == undefined)?"true":variable.resizable + ""
62
+ '(clear)'=variable.clear?variable.clear:undefined '[context]'=variable.context?variable.context:undefined '[enableToSelect]'=(variable.enableToSelect || variable.enableToSelect == false)?""+variable.enableToSelect:undefined '[expandLevel]'=""+variable.expandLevel
63
+ '[isRecordSize]'=(variable.isRecordSize || variable.isRecordSize == false)?""+variable.isRecordSize:undefined '[enableFullTree]'=(variable.enableFullTree || variable.enableFullTree == false)?""+variable.enableFullTree:undefined
64
+ '[loadTreeDataType]'=variable.loadTreeDataType ?"'"+variable.loadTreeDataType+"'":undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
65
+ '[enableClear]'=(variable.enableClear || variable.enableClear==false)?""+variable.enableClear:undefined '[dialogWidth]'=variable.panelWidth?""+variable.panelWidth:undefined '[dialogHeight]'=variable.panelHeight?""+variable.panelHeight:undefined
66
+ '[enableCascade]'=variable.enableCascade?""+variable.enableCascade:undefined '[cascadeStatus]'=variable.cascadeStatus?"'"+variable.cascadeStatus+"'":undefined '[useExtendInfo]'=(variable.useExtendInfo || variable.useExtendInfo==false)?""+variable.useExtendInfo:undefined
67
+ '[extInfoFields]'=variable.extInfoFields?"'"+variable.extInfoFields+"'":undefined '[extInfoFormatter]'=variable.extInfoFormatterName?""+variable.extInfoFormatterName:undefined
68
+ '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
69
+ 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined '[customFormatter]'=variable.customFormatterName?""+variable.customFormatterName:undefined
70
+ '[selectFirstInNav]'=variable.selectFirstInNav?""+variable.selectFirstInNav.value:undefined '[loadDataWhenOpen]'=variable.loadDataWhenOpen?""+variable.loadDataWhenOpen.value:undefined
71
+ '[customNavFormatter]'=variable.customNavFormatterName?""+variable.customNavFormatterName:undefined '[treeInfo]'=variable.treeInfo?variable.treeInfo:undefined '[maxLength]'=variable.maxSearchLength?""+variable.maxSearchLength:undefined
72
+ '[viewType]'=variable.viewType?"'"+variable.viewType+"'":undefined '[treeTableOptions]'=variable.treeTableOptions?variable.treeTableOptions:undefined '[showCheckAll]'=variable.showCheckAll?""+variable.showCheckAll.value:undefined
73
+ '[quickSelect]'=variable.quickSelectName?""+variable.quickSelectName:undefined '[treeToList]'=variable.treeToList?""+variable.treeToList.value:undefined '[navTreeToList]'=variable.navTreeToList?""+variable.navTreeToList.value:undefined
74
+ '[showNavigation]'=variable.showNavigation?""+variable.showNavigation.value:undefined '[showCascadeControl]'=variable.showCascadeControl?""+variable.showCascadeControl.value:undefined
75
+ '[showSelected]'=variable.showSelected?""+variable.showSelected.value:undefined '[multipleChoiceSeparator]'=variable.multipleChoiceSeparator?"'"+variable.multipleChoiceSeparator.value+"'":undefined
76
+ '[useNewLayout]'=variable.useNewLayout?""+variable.useNewLayout.value:undefined '[enableMultiFieldSearch]'=variable.enableMultiFieldSearch?""+variable.enableMultiFieldSearch.value:undefined
77
+ '[showDisabledItem]'=variable.showDisabledItem?""+variable.showDisabledItem.value:undefined
78
+ '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
79
+ '[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
80
+ '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
81
+ '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
82
+ '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
83
+ '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
84
+ '[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
85
+ if (variable.needValid && variable.binding && variable.binding.path)
86
+ -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
87
+ validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
88
+ div(class="farris-feedback")
89
+ if(variable.isTextArea)
90
+ -var areaAttrs = {};
91
+ if(variable.readonly && variable.readonly.isComposite)
92
+ -areaAttrs["*ngIf"]=variable.readonly.value;
93
+ else
94
+ -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
95
+ if (variable.binding && variable.binding.type == 'Variable')
96
+ -areaAttrs['[(ngModel)]'] = variable.binding.value;
97
+ -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
98
+ else
99
+ -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
100
+ farris-text('[type]'="'string'" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
101
+ '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined
102
+ '[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
103
+ '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
104
+ '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
105
+ '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
106
+ '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
107
+ '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
108
+ if(variable.titleTipsTemplate)
109
+ span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
110
+ i(class="f-icon f-icon-description-tips")
111
+ -var tipsAttrs= {};
112
+ -tipsAttrs['#'+variable.titleTipsTemplateName] = "";
113
+ ng-template()&attributes(tipsAttrs)
114
114
  | !{variable.titleTipsTemplate}
@@ -1,2 +1,2 @@
1
- div('*ngFor'=variable.ngForValue)
1
+ div('*ngFor'=variable.ngForValue)
2
2
  | {{content}}
@@ -1,4 +1,4 @@
1
- //- -var variable={contents:[]}
2
-
3
- kendo-menu(id=variable.replacedId class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) '[items]'=variable.contents )
1
+ //- -var variable={contents:[]}
2
+
3
+ kendo-menu(id=variable.replacedId class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) '[items]'=variable.contents )
4
4
  | {{content}}
@@ -1,8 +1,8 @@
1
- //- -var variable={text:'item1',icon:'folder', template:'',contents:[{text:'item1',icon:'folder', template:'<div></div>'}]};
2
-
3
- doctype html
4
- |
5
- kendo-menu-item(id=variable.replacedId text=variable.text icon=variable.icon '[cssClass]'=(variable.appearance && variable.appearance.class) '[cssStyle]'=(variable.appearance && variable.appearance.style) '[disabled]'!=variable.disable.value?variable.disable.value:undefined '*ngIf'!=variable.visible?variable.visible.value+'':undefined )
6
- if variable.template
7
- ng-template(kendoMenuItemTemplate)
1
+ //- -var variable={text:'item1',icon:'folder', template:'',contents:[{text:'item1',icon:'folder', template:'<div></div>'}]};
2
+
3
+ doctype html
4
+ |
5
+ kendo-menu-item(id=variable.replacedId text=variable.text icon=variable.icon '[cssClass]'=(variable.appearance && variable.appearance.class) '[cssStyle]'=(variable.appearance && variable.appearance.style) '[disabled]'!=variable.disable.value?variable.disable.value:undefined '*ngIf'!=variable.visible?variable.visible.value+'':undefined )
6
+ if variable.template
7
+ ng-template(kendoMenuItemTemplate)
8
8
  | !{variable.template}
@@ -1,10 +1,10 @@
1
- fe-modal-footer(id=variable.replacedId?""+variable.replacedId:undefined class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) '[options]'=variable.optionsName?""+variable.optionsName:undefined '*ngIf'!=variable.visible?variable.visible.value+"":undefined '[toolbarKey]'=variable.id?"'"+variable.id+"'":undefined '[toolbarAllDatas]'=variable.toolbarAllDatasName?""+variable.toolbarAllDatasName:undefined '[toolbarConfig]'=variable.toolbarConfigName?""+variable.toolbarConfigName:undefined '[toolbarBtnVisible]'=variable.toolbarBtnVisibleName?""+variable.toolbarBtnVisibleName:undefined '[toolbarBtnDisable]'=variable.toolbarBtnDisableName?""+variable.toolbarBtnDisableName:undefined '(toolbarClickEvent)'=variable.toolbarClickEventName?variable.toolbarClickEventName+"($event)":undefined '[showType]'="showType")
2
- if(variable.extendTemplate)
3
- ng-template('feModalFooterUp' '[cls]'=variable.extendTemplateCls?"'"+variable.extendTemplateCls+"'":undefined )
4
- | !{variable.extendTemplate}
5
- if(variable.rightTemplate)
6
- ng-template('feModalFooterLeft' '[cls]'=variable.rightTemplateCls ? "'" + variable.rightTemplateCls + "'": undefined )
7
- | !{variable.rightTemplate}
8
- if(variable.leftTemplate)
9
- ng-template('feModalFooterRight' '[cls]'=variable.leftTemplateCls ? "'" + variable.leftTemplateCls + "'":undefined )
1
+ fe-modal-footer(id=variable.replacedId?""+variable.replacedId:undefined class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) '[options]'=variable.optionsName?""+variable.optionsName:undefined '*ngIf'!=variable.visible?variable.visible.value+"":undefined '[toolbarKey]'=variable.id?"'"+variable.id+"'":undefined '[toolbarAllDatas]'=variable.toolbarAllDatasName?""+variable.toolbarAllDatasName:undefined '[toolbarConfig]'=variable.toolbarConfigName?""+variable.toolbarConfigName:undefined '[toolbarBtnVisible]'=variable.toolbarBtnVisibleName?""+variable.toolbarBtnVisibleName:undefined '[toolbarBtnDisable]'=variable.toolbarBtnDisableName?""+variable.toolbarBtnDisableName:undefined '(toolbarClickEvent)'=variable.toolbarClickEventName?variable.toolbarClickEventName+"($event)":undefined '[showType]'="showType")
2
+ if(variable.extendTemplate)
3
+ ng-template('feModalFooterUp' '[cls]'=variable.extendTemplateCls?"'"+variable.extendTemplateCls+"'":undefined )
4
+ | !{variable.extendTemplate}
5
+ if(variable.rightTemplate)
6
+ ng-template('feModalFooterLeft' '[cls]'=variable.rightTemplateCls ? "'" + variable.rightTemplateCls + "'": undefined )
7
+ | !{variable.rightTemplate}
8
+ if(variable.leftTemplate)
9
+ ng-template('feModalFooterRight' '[cls]'=variable.leftTemplateCls ? "'" + variable.leftTemplateCls + "'":undefined )
10
10
  | !{variable.leftTemplate}
@@ -1,8 +1,8 @@
1
- -var attrs = {};
2
- if(variable.hasDefaultFocus)
3
- -attrs["farris-set-focus"]="";
4
- if(variable.focusState)
5
- -attrs["[focusState]"]=variable.focusState+"";
6
-
7
- div(id=variable.replacedId?""+variable.replacedId:undefined class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) '*ngIf'!=variable.visible?variable.visible.value+'':undefined )&attributes(attrs)
1
+ -var attrs = {};
2
+ if(variable.hasDefaultFocus)
3
+ -attrs["farris-set-focus"]="";
4
+ if(variable.focusState)
5
+ -attrs["[focusState]"]=variable.focusState+"";
6
+
7
+ div(id=variable.replacedId?""+variable.replacedId:undefined class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) '*ngIf'!=variable.visible?variable.visible.value+'':undefined )&attributes(attrs)
8
8
  | {{content}}
@@ -1,9 +1,9 @@
1
- //- -var variable={"appearance": {"class": "p-2", "style": "width:'20px'"}};
2
- -var attrs = {};
3
- if(variable.hasDefaultFocus)
4
- -attrs["farris-set-focus"]="";
5
- if(variable.focusState)
6
- -attrs["[focusState]"]=variable.focusState+"";
7
-
8
- div(id=variable.replacedId?""+variable.replacedId:undefined class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) '*ngIf'!=variable.visible?variable.visible.value+'':undefined '[fViewItem]'=variable.id?"'"+variable.id+"'":undefined '[fViewGroupId]'=variable.viewGroupIdentify?"'"+variable.viewGroupIdentify+"'":undefined)&attributes(attrs)
1
+ //- -var variable={"appearance": {"class": "p-2", "style": "width:'20px'"}};
2
+ -var attrs = {};
3
+ if(variable.hasDefaultFocus)
4
+ -attrs["farris-set-focus"]="";
5
+ if(variable.focusState)
6
+ -attrs["[focusState]"]=variable.focusState+"";
7
+
8
+ div(id=variable.replacedId?""+variable.replacedId:undefined class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) '*ngIf'!=variable.visible?variable.visible.value+'':undefined '[fViewItem]'=variable.id?"'"+variable.id+"'":undefined '[fViewGroupId]'=variable.viewGroupIdentify?"'"+variable.viewGroupIdentify+"'":undefined)&attributes(attrs)
9
9
  | {{content}}
@@ -1,102 +1,102 @@
1
- -var holdPlaceOuterAttrs = {};
2
- -var holdPlaceInnerAttrs = {};
3
- -var holdPlaceEmptyAttrs = {};
4
- if(variable.holdPlace)
5
- -holdPlaceInnerAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
6
- -holdPlaceEmptyAttrs['*ngIf']=variable.visible?variable.visiblePipeSuffix?'!'+variable.visible.value+variable.visiblePipeSuffix+'':'!'+variable.visible.value+'':undefined;
7
- else
8
- -holdPlaceOuterAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
9
- div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
10
- if(variable.holdPlace)
11
- div(class="f-empty-input-placeholder")&attributes(holdPlaceEmptyAttrs)
12
- div(class="farris-group-wrap")&attributes(holdPlaceInnerAttrs)
13
- div(class="form-group farris-form-group" '[ngClass]'="{'form-group--has-tips':"+(variable.enableTitleTips?variable.enableTitleTips:false)+"}")
14
- -var titleValue=variable.isStaticTitle?("'" + variable.resourceId + "'|lang:lang:'"+variable.defaultI18nValue+"'"):variable.dynamicTitleValue;
15
- if (variable.title)
16
- if(variable.linkedLabelEnabled)
17
- label(class="col-form-label col-form-label-multi f-pretend-link f-cursor-pointer" title="{{"+titleValue+"}}" for=variable.replacedId '(click)'=variable.linkedLabelClick?variable.linkedLabelClick:undefined '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined)
18
- if (variable.require)
19
- span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
20
- span(class="farris-label-text") {{#{titleValue}}}
21
- else
22
- label(class="col-form-label col-form-label-multi" title="{{"+titleValue+"}}" for=variable.replacedId '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined )
23
- if (variable.require)
24
- span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
25
- span(class="farris-label-text") {{#{titleValue}}}
26
- div(class="farris-input-wrap")
27
- -var attrs = {};
28
- if (variable.binding && variable.binding.type == 'Variable')
29
- -attrs['[(ngModel)]'] = variable.binding.value;
30
- -attrs['name'] = variable.replacedId;
31
- -attrs['[ngModelOptions]'] = "{standalone:true}";
32
- else
33
- -attrs['formControlName'] = (variable.binding && variable.binding.path);
34
- if(variable.isTextArea)
35
- if(variable.readonly && variable.readonly.isComposite)
36
- -attrs["*ngIf"]="!"+variable.readonly.value;
37
- else
38
- -attrs["*ngIf"]="viewModel.stateMachine['editable']";
39
-
40
- -attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
41
- if(variable.hasDefaultFocus)
42
- -attrs["farris-set-focus"]="";
43
- if(variable.focusState)
44
- -attrs["[focusState]"]=variable.focusState+"";
45
- textarea(id=variable.replacedId '[style.height]'=(variable.size&&variable.size.height)?"'"+variable.size.height+"px"+"'":undefined
46
- '[maxHeight]'= variable.maxHeight?""+variable.maxHeight:undefined
47
- '[style.width]'=(variable.size&&variable.size.width)?"'"+variable.size.width+"px"+"'":undefined
48
- class="form-control"
49
- "input-end-edit" 'kendoTextArea' '[disabled]'!=variable.disable?variable.disable.toString():undefined
50
- '[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"":undefined
51
- '[value]'=variable.value?variable.value:undefined
52
- tabindex=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
53
- '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
54
- 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
55
- '[auto-size]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[textarea-zoom]'=variable.enableDialog+""
56
- '[title]'=variable.enableDialog?""+titleValue:undefined '[dialogWidth]'=variable.enableDialog?variable.dialogWidth+"":undefined
57
- '[dialogHeight]'=variable.enableDialog?variable.dialogHeight+"":undefined
58
- 'maxlength'=(variable.maxLength && variable.maxLength!=0)?""+variable.maxLength:undefined
59
- '[word-count]'=(variable.enableWordCount || variable.enableWordCount==false)?""+variable.enableWordCount:undefined
60
- '[countType]'=variable.countType?"'"+variable.countType+"'":undefined
61
- '[onlyShowInDialog]'=(variable.onlyShowInDialog||variable.onlyShowInDialog==false)?""+variable.onlyShowInDialog:undefined
62
- '[common-comments]'=variable.useComments?""+variable.useComments.value:undefined
63
- '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
64
- '[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
65
- '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
66
- '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
67
- '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
68
- '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
69
- '[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
70
- if (variable.needValid && variable.binding && variable.binding.path)
71
- -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
72
- validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
73
- div(class="farris-feedback")
74
- if(variable.isTextArea)
75
- -var areaAttrs = {};
76
- if(variable.readonly && variable.readonly.isComposite)
77
- -areaAttrs["*ngIf"]=variable.readonly.value;
78
- else
79
- -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
80
- if (variable.binding && variable.binding.type == 'Variable')
81
- -areaAttrs['[(ngModel)]'] = variable.binding.value;
82
- -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
83
- else
84
- -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
85
- farris-text('[type]'="'string'" '[isTextArea]'="true" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
86
- '[maxHeight]'= variable.maxHeight?""+variable.maxHeight:undefined '[textarea-zoom]'=variable.enableDialog+""
87
- '[title]'=variable.enableDialog?""+titleValue:undefined '[dialogWidth]'=variable.enableDialog?variable.dialogWidth+"":undefined
88
- '[dialogHeight]'=variable.enableDialog?variable.dialogHeight+"":undefined
89
- '[attr.maxLength]'=variable.maxLength?""+variable.maxLength: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)
96
- if(variable.titleTipsTemplate)
97
- span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
98
- i(class="f-icon f-icon-description-tips")
99
- -var tipsAttrs= {};
100
- -tipsAttrs['#'+variable.titleTipsTemplateName] = "";
101
- ng-template()&attributes(tipsAttrs)
1
+ -var holdPlaceOuterAttrs = {};
2
+ -var holdPlaceInnerAttrs = {};
3
+ -var holdPlaceEmptyAttrs = {};
4
+ if(variable.holdPlace)
5
+ -holdPlaceInnerAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
6
+ -holdPlaceEmptyAttrs['*ngIf']=variable.visible?variable.visiblePipeSuffix?'!'+variable.visible.value+variable.visiblePipeSuffix+'':'!'+variable.visible.value+'':undefined;
7
+ else
8
+ -holdPlaceOuterAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
9
+ div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
10
+ if(variable.holdPlace)
11
+ div(class="f-empty-input-placeholder")&attributes(holdPlaceEmptyAttrs)
12
+ div(class="farris-group-wrap")&attributes(holdPlaceInnerAttrs)
13
+ div(class="form-group farris-form-group" '[ngClass]'="{'form-group--has-tips':"+(variable.enableTitleTips?variable.enableTitleTips:false)+"}")
14
+ -var titleValue=variable.isStaticTitle?("'" + variable.resourceId + "'|lang:lang:'"+variable.defaultI18nValue+"'"):variable.dynamicTitleValue;
15
+ if (variable.title)
16
+ if(variable.linkedLabelEnabled)
17
+ label(class="col-form-label col-form-label-multi f-pretend-link f-cursor-pointer" title="{{"+titleValue+"}}" for=variable.replacedId '(click)'=variable.linkedLabelClick?variable.linkedLabelClick:undefined '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined)
18
+ if (variable.require)
19
+ span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
20
+ span(class="farris-label-text") {{#{titleValue}}}
21
+ else
22
+ label(class="col-form-label col-form-label-multi" title="{{"+titleValue+"}}" for=variable.replacedId '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined )
23
+ if (variable.require)
24
+ span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
25
+ span(class="farris-label-text") {{#{titleValue}}}
26
+ div(class="farris-input-wrap")
27
+ -var attrs = {};
28
+ if (variable.binding && variable.binding.type == 'Variable')
29
+ -attrs['[(ngModel)]'] = variable.binding.value;
30
+ -attrs['name'] = variable.replacedId;
31
+ -attrs['[ngModelOptions]'] = "{standalone:true}";
32
+ else
33
+ -attrs['formControlName'] = (variable.binding && variable.binding.path);
34
+ if(variable.isTextArea)
35
+ if(variable.readonly && variable.readonly.isComposite)
36
+ -attrs["*ngIf"]="!"+variable.readonly.value;
37
+ else
38
+ -attrs["*ngIf"]="viewModel.stateMachine['editable']";
39
+
40
+ -attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
41
+ if(variable.hasDefaultFocus)
42
+ -attrs["farris-set-focus"]="";
43
+ if(variable.focusState)
44
+ -attrs["[focusState]"]=variable.focusState+"";
45
+ textarea(id=variable.replacedId '[style.height]'=(variable.size&&variable.size.height)?"'"+variable.size.height+"px"+"'":undefined
46
+ '[maxHeight]'= variable.maxHeight?""+variable.maxHeight:undefined
47
+ '[style.width]'=(variable.size&&variable.size.width)?"'"+variable.size.width+"px"+"'":undefined
48
+ class="form-control"
49
+ "input-end-edit" 'kendoTextArea' '[disabled]'!=variable.disable?variable.disable.toString():undefined
50
+ '[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"":undefined
51
+ '[value]'=variable.value?variable.value:undefined
52
+ tabindex=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
53
+ '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
54
+ 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
55
+ '[auto-size]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[textarea-zoom]'=variable.enableDialog+""
56
+ '[title]'=variable.enableDialog?""+titleValue:undefined '[dialogWidth]'=variable.enableDialog?variable.dialogWidth+"":undefined
57
+ '[dialogHeight]'=variable.enableDialog?variable.dialogHeight+"":undefined
58
+ 'maxlength'=(variable.maxLength && variable.maxLength!=0)?""+variable.maxLength:undefined
59
+ '[word-count]'=(variable.enableWordCount || variable.enableWordCount==false)?""+variable.enableWordCount:undefined
60
+ '[countType]'=variable.countType?"'"+variable.countType+"'":undefined
61
+ '[onlyShowInDialog]'=(variable.onlyShowInDialog||variable.onlyShowInDialog==false)?""+variable.onlyShowInDialog:undefined
62
+ '[common-comments]'=variable.useComments?""+variable.useComments.value:undefined
63
+ '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
64
+ '[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
65
+ '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
66
+ '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
67
+ '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
68
+ '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
69
+ '[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
70
+ if (variable.needValid && variable.binding && variable.binding.path)
71
+ -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
72
+ validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
73
+ div(class="farris-feedback")
74
+ if(variable.isTextArea)
75
+ -var areaAttrs = {};
76
+ if(variable.readonly && variable.readonly.isComposite)
77
+ -areaAttrs["*ngIf"]=variable.readonly.value;
78
+ else
79
+ -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
80
+ if (variable.binding && variable.binding.type == 'Variable')
81
+ -areaAttrs['[(ngModel)]'] = variable.binding.value;
82
+ -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
83
+ else
84
+ -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
85
+ farris-text('[type]'="'string'" '[isTextArea]'="true" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
86
+ '[maxHeight]'= variable.maxHeight?""+variable.maxHeight:undefined '[textarea-zoom]'=variable.enableDialog+""
87
+ '[title]'=variable.enableDialog?""+titleValue:undefined '[dialogWidth]'=variable.enableDialog?variable.dialogWidth+"":undefined
88
+ '[dialogHeight]'=variable.enableDialog?variable.dialogHeight+"":undefined
89
+ '[attr.maxLength]'=variable.maxLength?""+variable.maxLength: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)
96
+ if(variable.titleTipsTemplate)
97
+ span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
98
+ i(class="f-icon f-icon-description-tips")
99
+ -var tipsAttrs= {};
100
+ -tipsAttrs['#'+variable.titleTipsTemplateName] = "";
101
+ ng-template()&attributes(tipsAttrs)
102
102
  | !{variable.titleTipsTemplate}