@farris/jit-engine 1.3.87 → 1.3.94

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 (186) hide show
  1. package/README.md +8 -1
  2. package/lib/domstructure/devkit/viewmodel/component/component.js +1 -1
  3. package/lib/domstructure/devkit/viewmodel/component/component.js.map +1 -1
  4. package/lib/domstructure/devkit/viewmodel/form/form.js +2 -2
  5. package/lib/domstructure/devkit/viewmodel/form/form.js.map +1 -1
  6. package/lib/domstructure/ui/commands/button.js +1 -1
  7. package/lib/domstructure/ui/commands/button.js.map +1 -1
  8. package/lib/domstructure/ui/common/base-title-component.js +1 -1
  9. package/lib/domstructure/ui/common/base-title-component.js.map +1 -1
  10. package/lib/domstructure/ui/common/basecomponent.js +13 -8
  11. package/lib/domstructure/ui/common/basecomponent.js.map +1 -1
  12. package/lib/domstructure/ui/common/binding.js +48 -1
  13. package/lib/domstructure/ui/common/binding.js.map +1 -1
  14. package/lib/domstructure/ui/container/qdp_condition_dialog.js +6 -2
  15. package/lib/domstructure/ui/container/qdp_condition_dialog.js.map +1 -1
  16. package/lib/domstructure/ui/container/qdp_condition_dialog_tab.js +1 -1
  17. package/lib/domstructure/ui/container/qdp_condition_dialog_tab.js.map +1 -1
  18. package/lib/domstructure/ui/data/collection/farris-datagrid/farris-datagrid.js +17 -11
  19. package/lib/domstructure/ui/data/collection/farris-datagrid/farris-datagrid.js.map +1 -1
  20. package/lib/domstructure/ui/data/collection/hierarchy/tree_grid.js +1 -1
  21. package/lib/domstructure/ui/data/collection/hierarchy/tree_grid.js.map +1 -1
  22. package/lib/domstructure/ui/data/data.js +1 -1
  23. package/lib/domstructure/ui/data/data.js.map +1 -1
  24. package/lib/domstructure/ui/data/fields/form/combo-list.js +3 -3
  25. package/lib/domstructure/ui/data/fields/form/combo-list.js.map +1 -1
  26. package/lib/domstructure/ui/data/fields/form/datepicker.js +1 -1
  27. package/lib/domstructure/ui/data/fields/form/datepicker.js.map +1 -1
  28. package/lib/domstructure/ui/data/fields/form/editable/inputs/reference/lookup_edit.js +9 -6
  29. package/lib/domstructure/ui/data/fields/form/editable/inputs/reference/lookup_edit.js.map +1 -1
  30. package/lib/domstructure/ui/data/fields/form/editable/inputs/text/multi_text_box.js +1 -1
  31. package/lib/domstructure/ui/data/fields/form/editable/inputs/text/multi_text_box.js.map +1 -1
  32. package/lib/domstructure/ui/data/fields/form/editable/inputs/text/text_box.js +1 -1
  33. package/lib/domstructure/ui/data/fields/form/editable/inputs/text/text_box.js.map +1 -1
  34. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/ext-intergration.js +1 -1
  35. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/ext-intergration.js.map +1 -1
  36. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/farris-combo-lookup.js +6 -3
  37. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/farris-combo-lookup.js.map +1 -1
  38. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/farris-number-range.js +2 -2
  39. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/farris-number-range.js.map +1 -1
  40. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/farris-number-spinner.js +3 -3
  41. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/farris-number-spinner.js.map +1 -1
  42. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/language-textbox.js +1 -1
  43. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/language-textbox.js.map +1 -1
  44. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/lookup_employee.js +2 -2
  45. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/lookup_employee.js.map +1 -1
  46. package/lib/domstructure/ui/data/fields/form/editable/switch/checkbox-group.js +1 -1
  47. package/lib/domstructure/ui/data/fields/form/editable/switch/checkbox-group.js.map +1 -1
  48. package/lib/domstructure/ui/data/fields/form/editable/switch/radio_group.js +1 -1
  49. package/lib/domstructure/ui/data/fields/form/editable/switch/radio_group.js.map +1 -1
  50. package/lib/domstructure/ui/data/scrollcollapse/scroll-collapsible-area.js +1 -1
  51. package/lib/domstructure/ui/data/scrollcollapse/scroll-collapsible-area.js.map +1 -1
  52. package/lib/domstructure/ui/farris-avatar/farris-avatar.js +1 -1
  53. package/lib/domstructure/ui/farris-avatar/farris-avatar.js.map +1 -1
  54. package/lib/domstructure/ui/farris-file-preview/farris-file-preview.js +4 -4
  55. package/lib/domstructure/ui/farris-file-preview/farris-file-preview.js.map +1 -1
  56. package/lib/domstructure/ui/farris-file-upload/farris-file-upload.js +2 -2
  57. package/lib/domstructure/ui/farris-file-upload/farris-file-upload.js.map +1 -1
  58. package/lib/domstructure/ui/farris-fileupload-preview/farris-file-upload-preview.js +12 -11
  59. package/lib/domstructure/ui/farris-fileupload-preview/farris-file-upload-preview.js.map +1 -1
  60. package/lib/domstructure/ui/farris-scrollspy/farris-scrollspy.js +4 -4
  61. package/lib/domstructure/ui/farris-scrollspy/farris-scrollspy.js.map +1 -1
  62. package/lib/domstructure/ui/farrisprogressstep/farris-progress-step.js +1 -1
  63. package/lib/domstructure/ui/farrisprogressstep/farris-progress-step.js.map +1 -1
  64. package/lib/domstructure/ui/light-listfilter/farris-light-listfilter.js +3 -3
  65. package/lib/domstructure/ui/light-listfilter/farris-light-listfilter.js.map +1 -1
  66. package/lib/domstructure/ui/list-filter/farris-list-filter.js +2 -2
  67. package/lib/domstructure/ui/list-filter/farris-list-filter.js.map +1 -1
  68. package/lib/domstructure/ui/listview/list-view-contenttemplate-field.js +3 -2
  69. package/lib/domstructure/ui/listview/list-view-contenttemplate-field.js.map +1 -1
  70. package/lib/domstructure/ui/listview/list-view.js +1 -1
  71. package/lib/domstructure/ui/listview/list-view.js.map +1 -1
  72. package/lib/domstructure/ui/multi-select/multi-select.js +1 -1
  73. package/lib/domstructure/ui/multi-select/multi-select.js.map +1 -1
  74. package/lib/domstructure/ui/nav-tab/nav-tab.js +3 -3
  75. package/lib/domstructure/ui/nav-tab/nav-tab.js.map +1 -1
  76. package/lib/domstructure/ui/p-treetable/p-treetable.js +2 -2
  77. package/lib/domstructure/ui/p-treetable/p-treetable.js.map +1 -1
  78. package/lib/domstructure/ui/queryScheme/query-scheme.js +4 -4
  79. package/lib/domstructure/ui/queryScheme/query-scheme.js.map +1 -1
  80. package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-provider-generator.js +2 -1
  81. package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-provider-generator.js.map +1 -1
  82. package/lib/template/ui/kendo/checkbox.pug +12 -3
  83. package/lib/template/ui/kendo/combobox.pug +9 -3
  84. package/lib/template/ui/kendo/datepicker.pug +8 -2
  85. package/lib/template/ui/kendo/farris-checkbox-group.pug +8 -2
  86. package/lib/template/ui/kendo/farris-combo-list.pug +8 -2
  87. package/lib/template/ui/kendo/farris-datagrid.pug +1 -1
  88. package/lib/template/ui/kendo/farris-datepicker.pug +9 -2
  89. package/lib/template/ui/kendo/farris-ext-intergration.pug +8 -2
  90. package/lib/template/ui/kendo/farris-file-upload-preview.pug +34 -23
  91. package/lib/template/ui/kendo/farris-number-range.pug +8 -2
  92. package/lib/template/ui/kendo/farris-number-spinner.pug +8 -2
  93. package/lib/template/ui/kendo/farris-switch.pug +8 -2
  94. package/lib/template/ui/kendo/farris-tags.pug +8 -2
  95. package/lib/template/ui/kendo/farris-time-picker.pug +8 -2
  96. package/lib/template/ui/kendo/input-group.pug +8 -2
  97. package/lib/template/ui/kendo/language-textbox.pug +8 -2
  98. package/lib/template/ui/kendo/lookup-employee.pug +8 -2
  99. package/lib/template/ui/kendo/lookup.pug +10 -2
  100. package/lib/template/ui/kendo/multitextbox.pug +8 -2
  101. package/lib/template/ui/kendo/numericbox.pug +8 -2
  102. package/lib/template/ui/kendo/primeng-edittree/farris-combo-lookup.pug +1 -1
  103. package/lib/template/ui/kendo/primeng-edittree/lookup.pug +2 -0
  104. package/lib/template/ui/kendo/qdp-condition-dialog.pug +1 -1
  105. package/lib/template/ui/kendo/radioboxgroup.pug +8 -2
  106. package/lib/template/ui/kendo/switch.pug +8 -2
  107. package/lib/template/ui/kendo/textbox.pug +8 -2
  108. package/lib/template/ui/mobilevue/lookup-department.pug +1 -0
  109. package/lib/template/ui/mobilevue/lookup-employee.pug +1 -0
  110. package/lib/utility/component-title-executor.js +1 -1
  111. package/lib/utility/component-title-executor.js.map +1 -1
  112. package/lib/utility/devkit/component-condition-dialog-parameter.js +29 -0
  113. package/lib/utility/devkit/component-condition-dialog-parameter.js.map +1 -0
  114. package/lib/utility/devkit/component-creator.js +2 -0
  115. package/lib/utility/devkit/component-creator.js.map +1 -1
  116. package/lib/utility/devkit/component-parameter-collector/component-condition-dialog-collector.js +35 -0
  117. package/lib/utility/devkit/component-parameter-collector/component-condition-dialog-collector.js.map +1 -0
  118. package/lib/utility/devkit/component-parameter-collector/component-events-collector.js +15 -0
  119. package/lib/utility/devkit/component-parameter-collector/component-events-collector.js.map +1 -1
  120. package/lib/utility/devkit/component-parameter-collector/component-external-container-parameter-collector.js +1 -1
  121. package/lib/utility/devkit/component-parameter-collector/component-external-container-parameter-collector.js.map +1 -1
  122. package/lib/utility/devkit/component-parameter-collector/component-file-upload-parameter-collector.js +1 -1
  123. package/lib/utility/devkit/component-parameter-collector/component-file-upload-parameter-collector.js.map +1 -1
  124. package/lib/utility/devkit/component-parameter-collector/component-header-parameter-collector.js +5 -5
  125. package/lib/utility/devkit/component-parameter-collector/component-header-parameter-collector.js.map +1 -1
  126. package/lib/utility/devkit/component-parameter-collector/component-listview-parameter-collector.js +2 -2
  127. package/lib/utility/devkit/component-parameter-collector/component-listview-parameter-collector.js.map +1 -1
  128. package/lib/utility/devkit/component-parameter-collector/component-parameter-collector-manager.js +8 -0
  129. package/lib/utility/devkit/component-parameter-collector/component-parameter-collector-manager.js.map +1 -1
  130. package/lib/utility/devkit/component-parameter-collector/component-parameter-collector-type.js +2 -0
  131. package/lib/utility/devkit/component-parameter-collector/component-parameter-collector-type.js.map +1 -1
  132. package/lib/utility/devkit/component-parameter-collector/component-readonly-parameter-collector.js +38 -0
  133. package/lib/utility/devkit/component-parameter-collector/component-readonly-parameter-collector.js.map +1 -0
  134. package/lib/utility/devkit/component-parameter-collector/farris-checkbox-group-collector.js +1 -1
  135. package/lib/utility/devkit/component-parameter-collector/farris-checkbox-group-collector.js.map +1 -1
  136. package/lib/utility/devkit/component-parameter-collector/farris-datagrid-collector.js +9 -2
  137. package/lib/utility/devkit/component-parameter-collector/farris-datagrid-collector.js.map +1 -1
  138. package/lib/utility/devkit/component-parameter-collector/farris-input-group-collector.js +4 -4
  139. package/lib/utility/devkit/component-parameter-collector/farris-input-group-collector.js.map +1 -1
  140. package/lib/utility/devkit/component-parameter-collector/farris-nav-tab-parameter-collector.js +2 -2
  141. package/lib/utility/devkit/component-parameter-collector/farris-nav-tab-parameter-collector.js.map +1 -1
  142. package/lib/utility/devkit/component-parameter-collector/farris-radiogroup-collector.js +1 -1
  143. package/lib/utility/devkit/component-parameter-collector/farris-radiogroup-collector.js.map +1 -1
  144. package/lib/utility/devkit/component-parameter-collector/farris-section-collector.js +6 -6
  145. package/lib/utility/devkit/component-parameter-collector/farris-section-collector.js.map +1 -1
  146. package/lib/utility/devkit/component-parameter-collector/farris-tabs-collector.js +6 -6
  147. package/lib/utility/devkit/component-parameter-collector/farris-tabs-collector.js.map +1 -1
  148. package/lib/utility/devkit/component-parameter-collector/scrollspy-collector.js +3 -3
  149. package/lib/utility/devkit/component-parameter-collector/scrollspy-collector.js.map +1 -1
  150. package/lib/utility/devkit/component-parameter-collector/toolbar-collector.js +2 -2
  151. package/lib/utility/devkit/component-parameter-collector/toolbar-collector.js.map +1 -1
  152. package/lib/utility/devkit/component-readonly-parameter-creator.js +11 -0
  153. package/lib/utility/devkit/component-readonly-parameter-creator.js.map +1 -0
  154. package/lib/utility/devkit/component-readonly-parameter.js +7 -0
  155. package/lib/utility/devkit/component-readonly-parameter.js.map +1 -0
  156. package/lib/utility/farris-datagrid/abstract-editor.js +4 -3
  157. package/lib/utility/farris-datagrid/abstract-editor.js.map +1 -1
  158. package/lib/utility/farris-datagrid/abstract-lookup-editor.js +7 -6
  159. package/lib/utility/farris-datagrid/abstract-lookup-editor.js.map +1 -1
  160. package/lib/utility/farris-datagrid/combo-list-editor.js +4 -4
  161. package/lib/utility/farris-datagrid/combo-list-editor.js.map +1 -1
  162. package/lib/utility/farris-datagrid/combo-lookup-editor.js +7 -2
  163. package/lib/utility/farris-datagrid/combo-lookup-editor.js.map +1 -1
  164. package/lib/utility/farris-datagrid/date-picker-editor.js +1 -1
  165. package/lib/utility/farris-datagrid/date-picker-editor.js.map +1 -1
  166. package/lib/utility/farris-datagrid/enum-editor.js +1 -1
  167. package/lib/utility/farris-datagrid/enum-editor.js.map +1 -1
  168. package/lib/utility/farris-datagrid/language-textbox-generator.js +1 -1
  169. package/lib/utility/farris-datagrid/language-textbox-generator.js.map +1 -1
  170. package/lib/utility/farris-datagrid/lookup-editor.js +5 -0
  171. package/lib/utility/farris-datagrid/lookup-editor.js.map +1 -1
  172. package/lib/utility/farris-datagrid/number-box-editor.js +5 -5
  173. package/lib/utility/farris-datagrid/number-box-editor.js.map +1 -1
  174. package/lib/utility/farris-datagrid/personnel-selector-editor.js +1 -1
  175. package/lib/utility/farris-datagrid/personnel-selector-editor.js.map +1 -1
  176. package/lib/utility/template-generator/devkit/component-generator/component-import-generator.js +2 -2
  177. package/lib/utility/template-generator/devkit/component-generator/component-import-generator.js.map +1 -1
  178. package/lib/utility/template-generator/devkit/component-generator/component-queryschema-parameter-generator.js +2 -2
  179. package/lib/utility/template-generator/devkit/component-generator/component-queryschema-parameter-generator.js.map +1 -1
  180. package/lib/utility/template-generator/devkit/component-generator/component-readonly-parameter-generator.js +21 -0
  181. package/lib/utility/template-generator/devkit/component-generator/component-readonly-parameter-generator.js.map +1 -0
  182. package/lib/utility/template-generator/devkit/component-template-generator.js +28 -1
  183. package/lib/utility/template-generator/devkit/component-template-generator.js.map +1 -1
  184. package/lib/utility/toolhepler.js +11 -9
  185. package/lib/utility/toolhepler.js.map +1 -1
  186. package/package.json +1 -1
@@ -31,7 +31,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
31
31
  else
32
32
  -attrs['formControlName'] = (variable.binding && variable.binding.path);
33
33
  if(variable.isTextArea)
34
- -attrs["*ngIf"]="viewModel.stateMachine['editable']";
34
+ if(variable.readonly && variable.readonly.isComposite)
35
+ -attrs["*ngIf"]="!"+variable.readonly.value;
36
+ else
37
+ -attrs["*ngIf"]="viewModel.stateMachine['editable']";
35
38
  if(variable.hasDefaultFocus)
36
39
  -attrs["farris-set-focus"]="";
37
40
  if(variable.focusState)
@@ -44,7 +47,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
44
47
  div(class="farris-feedback")
45
48
  if(variable.isTextArea)
46
49
  -var areaAttrs = {};
47
- -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
50
+ if(variable.readonly && variable.readonly.isComposite)
51
+ -areaAttrs["*ngIf"]=variable.readonly.value;
52
+ else
53
+ -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
48
54
  if (variable.binding && variable.binding.type == 'Variable')
49
55
  -areaAttrs['[(ngModel)]'] = variable.binding.value;
50
56
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
@@ -37,7 +37,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
37
37
  if (variable.readonly)
38
38
  -attrs['[readonly]'] = variable.readonly.value+"";
39
39
  if(variable.isTextArea)
40
- -attrs["*ngIf"]="viewModel.stateMachine['editable']";
40
+ if(variable.readonly && variable.readonly.isComposite)
41
+ -attrs["*ngIf"]="!"+variable.readonly.value;
42
+ else
43
+ -attrs["*ngIf"]="viewModel.stateMachine['editable']";
41
44
  -attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
42
45
  if(variable.hasDefaultFocus)
43
46
  -attrs["farris-set-focus"]="";
@@ -50,7 +53,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
50
53
  div(class="farris-feedback")
51
54
  if(variable.isTextArea)
52
55
  -var areaAttrs = {};
53
- -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
56
+ if(variable.readonly && variable.readonly.isComposite)
57
+ -areaAttrs["*ngIf"]=variable.readonly.value;
58
+ else
59
+ -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
54
60
  if (variable.binding && variable.binding.type == 'Variable')
55
61
  -areaAttrs['[(ngModel)]'] = variable.binding.value;
56
62
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
@@ -17,7 +17,7 @@
17
17
  doctype html
18
18
  |
19
19
  div( 'class'="f-utils-fill")
20
- farris-datagrid(id=variable.replacedId farris-use-binding-data "farris-grid-end-edit" class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) '[enableHighlightCell]'=variable.enableHighlightCell?""+variable.enableHighlightCell.value:undefined '[disabled]'!=variable.disable?variable.disable.toString():undefined '[fitColumns]'=variable.fitColumns+"" '[fields]'=variable.fieldsName?variable.fieldsName:undefined '[showLineNumber]'=(variable.showLineNumber||variable.showLineNumber==false)?variable.showLineNumber+"":undefined '[striped]'=(variable.striped || variable.striped==false)?variable.striped+"":undefined '[virtualized]'=(variable.virtualized||variable.virtualized==false)?variable.virtualized+"":undefined '[pagination]'=variable.pagination?variable.pagination.toString():undefined '[pageSize]'=variable.pageSize?variable.pageSize:undefined '[pageIndex]'=variable.pageIndex?variable.pageIndex:undefined '[total]'=variable.total?variable.total:undefined '[virtualizedAsyncLoad]'=variable.virtualizedAsyncLoad+"" '[width]'=variable.width '[height]'=variable.height '[multiSelect]'=variable.multiSelect?""+variable.multiSelect.value:undefined '[idField]'=variable.idField?"'"+variable.idField+"'":undefined '[editMode]'="'"+variable.editMode+"'" '(pageChanged)'=variable.pageChange?variable.pageChange:undefined '[fit]'=(variable.fit || variable.fit==false)?variable.fit+"":undefined '[showCheckbox]'=variable.showCheckbox?variable.showCheckbox.value+"":undefined '[groupRows]'=variable.groupable?variable.groupable+"":undefined '[groupFormatter]'=variable.groupFormatterName?variable.groupFormatterName+"":undefined '[groupStyler]'=variable.groupStylerName?variable.groupStylerName+"":undefined '[groupFooter]'=variable.groupFooter?variable.groupFooter+"":undefined '[groupField]'=variable.group?"'"+variable.group+"'":undefined '[remoteSort]'=variable.remoteSort?variable.remoteSort+"":undefined '[multiSort]'=variable.multiSort?variable.multiSort+"":undefined '[sortName]'=variable.sortName?"'"+variable.sortName+"'":undefined '[sortOrder]'=variable.sortOrder?"'"+variable.sortOrder+"'":undefined '[farris-datagrid-editable]'!= (variable.editable || variable.editable == false )?variable.editable+"":"viewModel.stateMachine && viewModel.stateMachine['editable']" '[lockPagination]'!=(variable.lockPagination || variable.lockPagination==false)?variable.lockPagination+"":"viewModel.stateMachine&&viewModel.stateMachine['editable']" '(rowClass)'=variable.rowClass?variable.rowClass:undefined '[showFooter]'=variable.showFooter?variable.showFooter.toString():undefined '[footerTemplate]'=variable.footerTemplateName?variable.footerTemplateName:undefined '[footerHeight]'=variable.footerHeight?variable.footerHeight:undefined '(scrollYLoad)'=variable.scrollYLoad?""+variable.scrollYLoad:undefined '(selectedRowChange)'=variable.onSelectionChange?variable.onSelectionChange:undefined '[rowStyler]'=variable.rowStylerName?variable.rowStylerName:undefined '[showSelectedList]'=variable.showSelectedList?""+variable.showSelectedList:undefined '[selectedItemFormatter]'=variable.selectedItemFormatterName?""+variable.selectedItemFormatterName:undefined '[showAllCheckbox]'=variable.showAllCheckbox?variable.showAllCheckbox.value+"":undefined '(checkedChange)'=variable.checkedChange?variable.checkedChange:undefined '[beforeSelect]'=variable.beforeSelect?variable.beforeSelect+"":undefined '[beforeUnselect]'=variable.beforeUnSelect?variable.beforeUnSelect+"":undefined '[beforeCheck]'=variable.beforeCheck?variable.beforeCheck+"":undefined '[beforeUncheck]'=variable.beforeUnCheck?variable.beforeUnCheck+"":undefined '[disableRow]'=variable.disableRowName?variable.disableRowName+"":undefined '[lineNumberTitle]'=variable.lineNumberTitleLang?""+variable.lineNumberTitleLang:undefined '(dblclickRow)'=variable.dblClickRow?""+variable.dblClickRow:undefined '[beforeEdit]'=variable.beforeEdit?""+variable.beforeEdit:undefined '[mergeCell]'=""+variable.mergeCell '[mergeFields]'=variable.mergeFields?variable.mergeFields:undefined '[showBorder]'=(variable.showBorder || variable.showBorder ==false)?""+variable.showBorder:undefined '[checkOnSelect]'=(variable.checkOnSelect || variable.checkOnSelect == false)?""+variable.checkOnSelect:undefined '[selectOnCheck]'=(variable.selectOnCheck || variable.selectOnCheck == false)?""+variable.selectOnCheck:undefined '[nowrap]'=(variable.nowrap || variable.nowrap ==false)?""+variable.nowrap:undefined '(columnSorted)'=variable.columnSorted?""+variable.columnSorted:undefined '[footerDataFrom]'=variable. footerDataFrom?"'"+variable. footerDataFrom+"'":undefined '*ngIf'!=variable.visible?""+variable.visible.value:undefined 'farris-remote-summary-command'=variable.footerDataCommand?variable.footerDataCommand:"" '[autoFitColumns]'=(variable.autoFitColumns|| variable.autoFitColumns==false)?""+variable.autoFitColumns:undefined '[showGroupColumn]'=(variable.showGroupColumn || variable.showGroupColumn == false)?""+variable.showGroupColumn:undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[useControlPanel]'=variable.useControlPanel?""+variable.useControlPanel:undefined '[autoHeight]'=(variable.autoHeight || variable.autoHeight==false)?""+variable.autoHeight:undefined '[AutoColumnWidthUseDblclick]'=(variable.AutoColumnWidthUseDblclick || variable.AutoColumnWidthUseDblclick==false)?""+variable.AutoColumnWidthUseDblclick:undefined '(checked)'=variable.checked?""+variable.checked:undefined '(unChecked)'=variable.unChecked?""+variable.unChecked:undefined '(rowClick)'=variable.rowClick?""+variable.rowClick:undefined '[showPageList]'=(variable.showPageSize || variable.showPageSize==false)?""+variable.showPageSize:undefined '(pageSizeChanged)'=variable.pageSizeChanged?""+variable.pageSizeChanged:undefined '[enableMorePageSelect]'=variable.enableMorePageSelect?""+variable.enableMorePageSelect:undefined '[pageList]'=variable.pageList?""+variable.pageList:undefined '[lineNumberWidth]'=variable.lineNumberWidth?""+variable.lineNumberWidth:undefined '[headerWrap]'=variable.headerWrap?""+variable.headerWrap.value:undefined '[emptyTemplate]'=variable.emptyTemplateName?""+variable.emptyTemplateName:undefined '[emptyDataHeight]'=variable.emptyDataHeight?""+variable.emptyDataHeight:undefined '[rowHeight]'=variable.rowHeight?""+variable.rowHeight:undefined '[enableEditCellStyle]'=variable.enableEditCellStyle?""+variable.enableEditCellStyle.value:undefined '(checkAll)'=variable.checkAll?""+variable.checkAll:undefined '(unCheckAll)'=variable.unCheckAll?""+variable.unCheckAll:undefined '[enableDragColumn]'=variable.enableDragColumn?""+variable.enableDragColumn.value:undefined '[showRowGroupPanel]'=variable.showRowGroupPanel?""+variable.showRowGroupPanel.value:undefined '[groupSummaryPosition]'=variable.groupSummaryPosition?"'"+variable.groupSummaryPosition+"'":undefined '[keepSelect]'=variable.keepSelect?""+variable.keepSelect.value:undefined '[clearSelectionsWhenDataIsEmpty]'=variable.clearSelectionsWhenDataIsEmpty?""+variable.clearSelectionsWhenDataIsEmpty.value:undefined '(filterChanged)'=variable.filterChanged?""+variable.filterChanged:undefined '[(checkValues)]' = variable.checkValues?""+variable.checkValues.value:undefined )&attributes(attrs)
20
+ farris-datagrid(id=variable.replacedId farris-use-binding-data "farris-grid-end-edit" class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) '[enableHighlightCell]'=variable.enableHighlightCell?""+variable.enableHighlightCell.value:undefined '[disabled]'!=variable.disable?variable.disable.toString():undefined '[fitColumns]'=variable.fitColumns+"" '[fields]'=variable.fieldsName?variable.fieldsName:undefined '[showLineNumber]'=(variable.showLineNumber||variable.showLineNumber==false)?variable.showLineNumber+"":undefined '[striped]'=(variable.striped || variable.striped==false)?variable.striped+"":undefined '[virtualized]'=(variable.virtualized||variable.virtualized==false)?variable.virtualized+"":undefined '[pagination]'=variable.pagination?variable.pagination.toString():undefined '[pageSize]'=variable.pageSize?variable.pageSize:undefined '[pageIndex]'=variable.pageIndex?variable.pageIndex:undefined '[total]'=variable.total?variable.total:undefined '[virtualizedAsyncLoad]'=variable.virtualizedAsyncLoad+"" '[width]'=variable.width '[height]'=variable.height '[multiSelect]'=variable.multiSelect?""+variable.multiSelect.value:undefined '[idField]'=variable.idField?"'"+variable.idField+"'":undefined '[editMode]'="'"+variable.editMode+"'" '(pageChanged)'=variable.pageChange?variable.pageChange:undefined '[fit]'=(variable.fit || variable.fit==false)?variable.fit+"":undefined '[showCheckbox]'=variable.showCheckbox?variable.showCheckbox.value+"":undefined '[groupRows]'=variable.groupable?variable.groupable+"":undefined '[groupFormatter]'=variable.groupFormatterName?variable.groupFormatterName+"":undefined '[groupStyler]'=variable.groupStylerName?variable.groupStylerName+"":undefined '[groupFooter]'=variable.groupFooter?variable.groupFooter+"":undefined '[groupField]'=variable.group?"'"+variable.group+"'":undefined '[remoteSort]'=variable.remoteSort?variable.remoteSort+"":undefined '[multiSort]'=variable.multiSort?variable.multiSort+"":undefined '[sortName]'=variable.sortName?"'"+variable.sortName+"'":undefined '[sortOrder]'=variable.sortOrder?"'"+variable.sortOrder+"'":undefined '[farris-datagrid-editable]'!= (variable.editable || variable.editable == false )?variable.editable+"":"viewModel.stateMachine && viewModel.stateMachine['editable']" '[lockPagination]'!=(variable.lockPagination || variable.lockPagination==false)?variable.lockPagination+"":"viewModel.stateMachine&&viewModel.stateMachine['editable']" '(rowClass)'=variable.rowClass?variable.rowClass:undefined '[showFooter]'=variable.showFooter?variable.showFooter.toString():undefined '[footerTemplate]'=variable.footerTemplateName?variable.footerTemplateName:undefined '[footerHeight]'=variable.footerHeight?variable.footerHeight:undefined '(scrollYLoad)'=variable.scrollYLoad?""+variable.scrollYLoad:undefined '(selectedRowChange)'=variable.onSelectionChange?variable.onSelectionChange:undefined '[rowStyler]'=variable.rowStylerName?variable.rowStylerName:undefined '[showSelectedList]'=variable.showSelectedList?""+variable.showSelectedList:undefined '[selectedItemFormatter]'=variable.selectedItemFormatterName?""+variable.selectedItemFormatterName:undefined '[showAllCheckbox]'=variable.showAllCheckbox?variable.showAllCheckbox.value+"":undefined '(checkedChange)'=variable.checkedChange?variable.checkedChange:undefined '[beforeSelect]'=variable.beforeSelect?variable.beforeSelect+"":undefined '[beforeUnselect]'=variable.beforeUnSelect?variable.beforeUnSelect+"":undefined '[beforeCheck]'=variable.beforeCheck?variable.beforeCheck+"":undefined '[beforeUncheck]'=variable.beforeUnCheck?variable.beforeUnCheck+"":undefined '[disableRow]'=variable.disableRowName?variable.disableRowName+"":undefined '[lineNumberTitle]'=variable.lineNumberTitleLang?""+variable.lineNumberTitleLang:undefined '(dblclickRow)'=variable.dblClickRow?""+variable.dblClickRow:undefined '[beforeEdit]'=variable.beforeEdit?""+variable.beforeEdit:undefined '[mergeCell]'=""+variable.mergeCell '[mergeFields]'=variable.mergeFields?variable.mergeFields:undefined '[showBorder]'=(variable.showBorder || variable.showBorder ==false)?""+variable.showBorder:undefined '[checkOnSelect]'=(variable.checkOnSelect || variable.checkOnSelect == false)?""+variable.checkOnSelect:undefined '[selectOnCheck]'=(variable.selectOnCheck || variable.selectOnCheck == false)?""+variable.selectOnCheck:undefined '[nowrap]'=(variable.nowrap || variable.nowrap ==false)?""+variable.nowrap:undefined '(columnSorted)'=variable.columnSorted?""+variable.columnSorted:undefined '[footerDataFrom]'=variable. footerDataFrom?"'"+variable. footerDataFrom+"'":undefined '*ngIf'!=variable.visible?""+variable.visible.value:undefined 'farris-remote-summary-command'=variable.footerDataCommand?variable.footerDataCommand:"" '[autoFitColumns]'=(variable.autoFitColumns|| variable.autoFitColumns==false)?""+variable.autoFitColumns:undefined '[showGroupColumn]'=(variable.showGroupColumn || variable.showGroupColumn == false)?""+variable.showGroupColumn:undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[useControlPanel]'=variable.useControlPanel?""+variable.useControlPanel:undefined '[autoHeight]'=(variable.autoHeight || variable.autoHeight==false)?""+variable.autoHeight:undefined '[AutoColumnWidthUseDblclick]'=(variable.AutoColumnWidthUseDblclick || variable.AutoColumnWidthUseDblclick==false)?""+variable.AutoColumnWidthUseDblclick:undefined '(checked)'=variable.checked?""+variable.checked:undefined '(unChecked)'=variable.unChecked?""+variable.unChecked:undefined '(rowClick)'=variable.rowClick?""+variable.rowClick:undefined '[showPageList]'=(variable.showPageSize || variable.showPageSize==false)?""+variable.showPageSize:undefined '(pageSizeChanged)'=variable.pageSizeChanged?""+variable.pageSizeChanged:undefined '[enableMorePageSelect]'=variable.enableMorePageSelect?""+variable.enableMorePageSelect:undefined '[pageList]'=variable.pageList?""+variable.pageList:undefined '[lineNumberWidth]'=variable.lineNumberWidth?""+variable.lineNumberWidth:undefined '[headerWrap]'=variable.headerWrap?""+variable.headerWrap.value:undefined '[emptyTemplate]'=variable.emptyTemplateName?""+variable.emptyTemplateName:undefined '[emptyDataHeight]'=variable.emptyDataHeight?""+variable.emptyDataHeight:undefined '[rowHeight]'=variable.rowHeight?""+variable.rowHeight:undefined '[enableEditCellStyle]'=variable.enableEditCellStyle?""+variable.enableEditCellStyle.value:undefined '(checkAll)'=variable.checkAll?""+variable.checkAll:undefined '(unCheckAll)'=variable.unCheckAll?""+variable.unCheckAll:undefined '[enableDragColumn]'=variable.enableDragColumn?""+variable.enableDragColumn.value:undefined '[showRowGroupPanel]'=variable.showRowGroupPanel?""+variable.showRowGroupPanel.value:undefined '[groupSummaryPosition]'=variable.groupSummaryPosition?"'"+variable.groupSummaryPosition+"'":undefined '[keepSelect]'=variable.keepSelect?""+variable.keepSelect.value:undefined '[clearSelectionsWhenDataIsEmpty]'=variable.clearSelectionsWhenDataIsEmpty?""+variable.clearSelectionsWhenDataIsEmpty.value:undefined '(filterChanged)'=variable.filterChanged?""+variable.filterChanged:undefined '[(checkValues)]' = variable.checkValues?""+variable.checkValues.value:undefined '[selectOnEditing]'=variable.selectOnEditing?""+variable.selectOnEditing.value:undefined '[footerPosition]'=variable.footerPosition?"'"+variable.footerPosition+"'":undefined '[showGotoInput]'=variable.showGotoInput?""+variable.showGotoInput.value:undefined '[scrollBarShowMode]'=variable.scrollBarShowMode?"'"+variable.scrollBarShowMode+"'":undefined)&attributes(attrs)
21
21
  //- if(variable.fields && variable.fields.length)
22
22
  //- each field ,index in variable.fields
23
23
  //- if(field.colTemplate)
@@ -40,8 +40,12 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
40
40
  -attrs["[maxDate]"]=variable.maxValue?((variable.maxValue.useQuote?"'":"")+variable.maxValue.value+(variable.maxValue.useQuote?"'":"")):undefined
41
41
  if(variable.minValue)
42
42
  -attrs["[minDate]"]=variable.minValue?((variable.minValue.useQuote?"'":"")+variable.minValue.value+(variable.minValue.useQuote?"'":"")):undefined
43
+ - var readonlyValue=variable.readonly && variable.readonly.value
43
44
  if(variable.isTextArea)
44
- -attrs["*ngIf"]="viewModel.stateMachine['editable']";
45
+ if(variable.readonly && variable.readonly.isComposite)
46
+ -attrs["*ngIf"]="!"+variable.readonly.value;
47
+ else
48
+ -attrs["*ngIf"]="viewModel.stateMachine['editable']";
45
49
  if(variable.hasDefaultFocus)
46
50
  -attrs["farris-set-focus"]="";
47
51
  if(variable.focusState)
@@ -53,7 +57,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
53
57
  div(class="farris-feedback")
54
58
  if(variable.isTextArea)
55
59
  -var areaAttrs = {};
56
- -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
60
+ if(variable.readonly && variable.readonly.isComposite)
61
+ -areaAttrs["*ngIf"]=variable.readonly.value;
62
+ else
63
+ -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
57
64
  if (variable.binding && variable.binding.type == 'Variable')
58
65
  -areaAttrs['[(ngModel)]'] = variable.binding.value;
59
66
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
@@ -37,7 +37,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
37
37
  -attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
38
38
 
39
39
  if(variable.isTextArea)
40
- -attrs["*ngIf"]="viewModel.stateMachine['editable']";
40
+ if(variable.readonly && variable.readonly.isComposite)
41
+ -attrs["*ngIf"]="!"+variable.readonly.value;
42
+ else
43
+ -attrs["*ngIf"]="viewModel.stateMachine['editable']";
41
44
  if(variable.hasDefaultFocus)
42
45
  -attrs["farris-set-focus"]="";
43
46
  if(variable.focusState)
@@ -57,7 +60,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
57
60
  div(class="farris-feedback")
58
61
  if(variable.isTextArea)
59
62
  -var areaAttrs = {};
60
- -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
63
+ if(variable.readonly && variable.readonly.isComposite)
64
+ -areaAttrs["*ngIf"]=variable.readonly.value;
65
+ else
66
+ -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
61
67
  if (variable.binding && variable.binding.type == 'Variable')
62
68
  -areaAttrs['[(ngModel)]'] = variable.binding.value;
63
69
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
@@ -1,23 +1,34 @@
1
- f-file-upload-and-preview(id=variable.replacedId class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) fFilePreviewAdaptUnifile farrisFilePreviewBinding
2
- '[previewReadonly]'!=variable.previewReadonly?""+variable.previewReadonly.value:undefined
3
- '(fileRemoveEvent)'=variable.fileRemoveEvent?""+variable.fileRemoveEvent:undefined
4
- '[uploadEnableMulti]'=variable.uploadEnableMulti?""+variable.uploadEnableMulti.value:undefined
5
- '[uploadVisible]'!=variable.uploadVisible?""+variable.uploadVisible.value:undefined
6
- '[uploadOptions]'!=variable.uploadOptions?variable.uploadOptions:undefined
7
- '[extendServerConfig]'!=variable.serializedExtendServerConfig?variable.serializedExtendServerConfig+"":undefined
8
- '[uploadDisabled]'!=variable.uploadDisabled?""+variable.uploadDisabled.value:undefined
9
- '[uploadedCount]'=variable.uploadedCount?""+variable.uploadedCount:undefined
10
- '[extendDatas]'!=variable.extendDatas?""+variable.extendDatas:undefined
11
- '[previewEnableMulti]'=variable.previewEnableMulti?""+variable.previewEnableMulti.value:undefined
12
- '[previewShowType]'=variable.previewShowType?"'"+variable.previewShowType+"'":undefined
13
- '[previewVisible]'=variable.previewVisible?""+variable.previewVisible.value:undefined
14
- '[uploadSelectText]'=variable.uploadSelectText?"'"+variable.uploadSelectText+"'":undefined
15
- farrisFileIdKey=variable.fieldIdKey?variable.fieldIdKey.value+"":undefined farrisFileNameKey=variable.fileNameKey?variable.fileNameKey.value+"":undefined
16
- '(fUploadDoneEvent)'=variable.fUploadDoneEvent?""+variable.fUploadDoneEvent:undefined
17
- '(fUploadRemovedEvent)'=variable.fUploadRemovedEvent?""+variable.fUploadRemovedEvent:undefined
18
- '[previewEnableRename]'=""+variable.previewEnableRename
19
- '[previewDefaultRename]'=variable.previewDefaultRename?""+variable.previewDefaultRename:undefined
20
- )
21
- if(variable.uploadAreaTemplate)
22
- ng-template(fFielUpload let-disabled="disabled")
23
- |!{variable.uploadAreaTemplate}
1
+ div(class="farris-form-controls-inline")
2
+ div(class="farris-group-wrap")
3
+ div(class="form-group farris-form-group")
4
+ if (variable.title)
5
+ -var titleValue=variable.isStaticTitle?("'" + variable.resourceId + "'|lang:lang:'"+variable.defaultI18nValue+"'"):variable.dynamicTitleValue;
6
+ if(variable.linkedLabelEnabled)
7
+ 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)
8
+ span(class="farris-label-text") {{#{titleValue}}}
9
+ else
10
+ label(class="col-form-label" title="{{"+titleValue+"}}" for=variable.replacedId '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined )
11
+ span(class="farris-label-text") {{#{titleValue}}}
12
+ f-file-upload-and-preview(id=variable.replacedId class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) fFilePreviewAdaptUnifile farrisFilePreviewBinding
13
+ '[previewReadonly]'!=variable.previewReadonly?""+variable.previewReadonly.value:undefined
14
+ '(fileRemoveEvent)'=variable.fileRemoveEvent?""+variable.fileRemoveEvent:undefined
15
+ '[uploadEnableMulti]'=variable.uploadEnableMulti?""+variable.uploadEnableMulti.value:undefined
16
+ '[uploadVisible]'!=variable.uploadVisible?""+variable.uploadVisible.value:undefined
17
+ '[uploadOptions]'!=variable.uploadOptions?variable.uploadOptions:undefined
18
+ '[extendServerConfig]'!=variable.serializedExtendServerConfig?variable.serializedExtendServerConfig+"":undefined
19
+ '[uploadDisabled]'!=variable.uploadDisabled?""+variable.uploadDisabled.value:undefined
20
+ '[uploadedCount]'=variable.uploadedCount?""+variable.uploadedCount:undefined
21
+ '[extendDatas]'!=variable.extendDatas?""+variable.extendDatas:undefined
22
+ '[previewEnableMulti]'=variable.previewEnableMulti?""+variable.previewEnableMulti.value:undefined
23
+ '[previewShowType]'=variable.previewShowType?"'"+variable.previewShowType+"'":undefined
24
+ '[previewVisible]'=variable.previewVisible?""+variable.previewVisible.value:undefined
25
+ '[uploadSelectText]'=variable.uploadSelectText?"'"+variable.uploadSelectText+"'":undefined
26
+ farrisFileIdKey=variable.fieldIdKey?variable.fieldIdKey.value+"":undefined farrisFileNameKey=variable.fileNameKey?variable.fileNameKey.value+"":undefined
27
+ '(fUploadDoneEvent)'=variable.fUploadDoneEvent?""+variable.fUploadDoneEvent:undefined
28
+ '(fUploadRemovedEvent)'=variable.fUploadRemovedEvent?""+variable.fUploadRemovedEvent:undefined
29
+ '[previewEnableRename]'=""+variable.previewEnableRename
30
+ '[previewDefaultRename]'=variable.previewDefaultRename?""+variable.previewDefaultRename:undefined
31
+ )
32
+ if(variable.uploadAreaTemplate)
33
+ ng-template(fFielUpload let-disabled="disabled")
34
+ |!{variable.uploadAreaTemplate}
@@ -32,7 +32,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
32
32
  else
33
33
  -attrs['formControlName'] = (variable.binding && variable.binding.path);
34
34
  if(variable.isTextArea)
35
- -attrs["*ngIf"]="viewModel.stateMachine['editable']";
35
+ if(variable.readonly && variable.readonly.isComposite)
36
+ -attrs["*ngIf"]="!"+variable.readonly.value;
37
+ else
38
+ -attrs["*ngIf"]="viewModel.stateMachine['editable']";
36
39
 
37
40
  -attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
38
41
  if(variable.hasDefaultFocus)
@@ -46,7 +49,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
46
49
  div(class="farris-feedback")
47
50
  if(variable.isTextArea)
48
51
  -var areaAttrs = {};
49
- -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
52
+ if(variable.readonly && variable.readonly.isComposite)
53
+ -areaAttrs["*ngIf"]=variable.readonly.value;
54
+ else
55
+ -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
50
56
  if (variable.binding && variable.binding.type == 'Variable')
51
57
  -areaAttrs['[(ngModel)]'] = variable.binding.value;
52
58
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
@@ -32,7 +32,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
32
32
  else
33
33
  -attrs['formControlName'] = (variable.binding && variable.binding.path);
34
34
  if(variable.isTextArea)
35
- -attrs["*ngIf"]="viewModel.stateMachine['editable']";
35
+ if(variable.readonly && variable.readonly.isComposite)
36
+ -attrs["*ngIf"]="!"+variable.readonly.value;
37
+ else
38
+ -attrs["*ngIf"]="viewModel.stateMachine['editable']";
36
39
  -attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
37
40
  if(variable.hasDefaultFocus)
38
41
  -attrs["farris-set-focus"]="";
@@ -45,7 +48,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
45
48
  div(class="farris-feedback")
46
49
  if(variable.isTextArea)
47
50
  -var areaAttrs = {};
48
- -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
51
+ if(variable.readonly && variable.readonly.isComposite)
52
+ -areaAttrs["*ngIf"]=variable.readonly.value;
53
+ else
54
+ -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
49
55
  if (variable.binding && variable.binding.type == 'Variable')
50
56
  -areaAttrs['[(ngModel)]'] = variable.binding.value;
51
57
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
@@ -32,7 +32,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
32
32
  else
33
33
  -attrs['formControlName'] = (variable.binding && variable.binding.path);
34
34
  if(variable.isTextArea)
35
- -attrs["*ngIf"]="viewModel.stateMachine['editable']";
35
+ if(variable.readonly && variable.readonly.isComposite)
36
+ -attrs["*ngIf"]="!"+variable.readonly.value;
37
+ else
38
+ -attrs["*ngIf"]="viewModel.stateMachine['editable']";
36
39
  if(variable.hasDefaultFocus)
37
40
  -attrs["farris-set-focus"]="";
38
41
  if(variable.focusState)
@@ -44,7 +47,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
44
47
  div(class="farris-feedback")
45
48
  if(variable.isTextArea)
46
49
  -var areaAttrs = {};
47
- -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
50
+ if(variable.readonly && variable.readonly.isComposite)
51
+ -areaAttrs["*ngIf"]=variable.readonly.value;
52
+ else
53
+ -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
48
54
  if (variable.binding && variable.binding.type == 'Variable')
49
55
  -areaAttrs['[(ngModel)]'] = variable.binding.value;
50
56
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
@@ -36,7 +36,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
36
36
 
37
37
  -attrs['#'+variable.replacedId] = "";
38
38
  if(variable.isTextArea)
39
- -attrs["*ngIf"]="viewModel.stateMachine['editable']";
39
+ if(variable.readonly && variable.readonly.isComposite)
40
+ -attrs["*ngIf"]="!"+variable.readonly.value;
41
+ else
42
+ -attrs["*ngIf"]="viewModel.stateMachine['editable']";
40
43
  if(variable.hasDefaultFocus)
41
44
  -attrs["farris-set-focus"]="";
42
45
  if(variable.focusState)
@@ -48,7 +51,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
48
51
  div(class="farris-feedback")
49
52
  if(variable.isTextArea)
50
53
  -var areaAttrs = {};
51
- -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
54
+ if(variable.readonly && variable.readonly.isComposite)
55
+ -areaAttrs["*ngIf"]=variable.readonly.value;
56
+ else
57
+ -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
52
58
  if (variable.binding && variable.binding.type == 'Variable')
53
59
  -areaAttrs['[(ngModel)]'] =variable.binding.value;
54
60
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
@@ -37,7 +37,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
37
37
  -attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
38
38
  -attrs['#'+variable.replacedId] = "";
39
39
  if(variable.isTextArea)
40
- -attrs["*ngIf"]="viewModel.stateMachine['editable']";
40
+ if(variable.readonly && variable.readonly.isComposite)
41
+ -attrs["*ngIf"]="!"+variable.readonly.value;
42
+ else
43
+ -attrs["*ngIf"]="viewModel.stateMachine['editable']";
41
44
  if(variable.hasDefaultFocus)
42
45
  -attrs["farris-set-focus"]="";
43
46
  if(variable.focusState)
@@ -49,7 +52,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
49
52
  div(class="farris-feedback")
50
53
  if(variable.isTextArea)
51
54
  -var areaAttrs = {};
52
- -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
55
+ if(variable.readonly && variable.readonly.isComposite)
56
+ -areaAttrs["*ngIf"]=variable.readonly.value;
57
+ else
58
+ -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
53
59
  if (variable.binding && variable.binding.type == 'Variable')
54
60
  -areaAttrs['[(ngModel)]'] = variable.binding.value;
55
61
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
@@ -31,7 +31,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
31
31
  else
32
32
  -attrs['formControlName'] = (variable.binding && variable.binding.path);
33
33
  if(variable.isTextArea)
34
- -attrs["*ngIf"]="viewModel.stateMachine['editable']";
34
+ if(variable.readonly && variable.readonly.isComposite)
35
+ -attrs["*ngIf"]="!"+variable.readonly.value;
36
+ else
37
+ -attrs["*ngIf"]="viewModel.stateMachine['editable']";
35
38
  if(variable.hasDefaultFocus)
36
39
  -attrs["farris-set-focus"]="";
37
40
  if(variable.focusState)
@@ -43,7 +46,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
43
46
  validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
44
47
  if(variable.isTextArea)
45
48
  -var areaAttrs = {};
46
- -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
49
+ if(variable.readonly && variable.readonly.isComposite)
50
+ -areaAttrs["*ngIf"]=variable.readonly.value;
51
+ else
52
+ -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
47
53
  if (variable.binding && variable.binding.type == 'Variable')
48
54
  -areaAttrs['[(ngModel)]'] = variable.binding.value;
49
55
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
@@ -36,7 +36,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
36
36
 
37
37
  //-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
38
38
  if(variable.isTextArea)
39
- -attrs["*ngIf"]="viewModel.stateMachine['editable']";
39
+ if(variable.readonly && variable.readonly.isComposite)
40
+ -attrs["*ngIf"]="!"+variable.readonly.value;
41
+ else
42
+ -attrs["*ngIf"]="viewModel.stateMachine['editable']";
40
43
  if(variable.hasDefaultFocus)
41
44
  -attrs["farris-set-focus"]="";
42
45
  if(variable.focusState)
@@ -48,7 +51,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
48
51
  div(class="farris-feedback")
49
52
  if(variable.isTextArea)
50
53
  -var areaAttrs = {};
51
- -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
54
+ if(variable.readonly && variable.readonly.isComposite)
55
+ -areaAttrs["*ngIf"]=variable.readonly.value;
56
+ else
57
+ -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
52
58
  if (variable.binding && variable.binding.type == 'Variable')
53
59
  -areaAttrs['[(ngModel)]'] = variable.binding.value;
54
60
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
@@ -37,7 +37,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
37
37
  -attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
38
38
 
39
39
  if(variable.isTextArea)
40
- -attrs["*ngIf"]="viewModel.stateMachine['editable']";
40
+ if(variable.readonly && variable.readonly.isComposite)
41
+ -attrs["*ngIf"]="!"+variable.readonly.value;
42
+ else
43
+ -attrs["*ngIf"]="viewModel.stateMachine['editable']";
41
44
  if(variable.hasDefaultFocus)
42
45
  -attrs["farris-set-focus"]="";
43
46
  if(variable.focusState)
@@ -65,7 +68,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
65
68
  div(class="farris-feedback")
66
69
  if(variable.isTextArea)
67
70
  -var areaAttrs = {};
68
- -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
71
+ if(variable.readonly && variable.readonly.isComposite)
72
+ -areaAttrs["*ngIf"]=variable.readonly.value;
73
+ else
74
+ -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
69
75
  if (variable.binding && variable.binding.type == 'Variable')
70
76
  -areaAttrs['[(ngModel)]'] = variable.binding.value;
71
77
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
@@ -36,12 +36,17 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
36
36
  -attrs['[dictPicking]'] = variable.lookupPicking;
37
37
  if (variable.lookupPicked)
38
38
  -attrs['[dictPicked]'] = variable.lookupPicked;
39
+ if (variable.beforeSelectData)
40
+ -attrs['[beforeSelectData]'] = variable.beforeSelectData;
39
41
  if (variable.readonly)
40
42
  -attrs['[readonly]'] = variable.readonly.value+"";
41
43
 
42
44
  -attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
43
45
  if(variable.isTextArea)
44
- -attrs["*ngIf"]="viewModel.stateMachine['editable']";
46
+ if(variable.readonly && variable.readonly.isComposite)
47
+ -attrs["*ngIf"]="!"+variable.readonly.value;
48
+ else
49
+ -attrs["*ngIf"]="viewModel.stateMachine['editable']";
45
50
  if(variable.hasDefaultFocus)
46
51
  -attrs["farris-set-focus"]="";
47
52
  if(variable.focusState)
@@ -54,7 +59,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
54
59
  div(class="farris-feedback")
55
60
  if(variable.isTextArea)
56
61
  -var areaAttrs = {};
57
- -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
62
+ if(variable.readonly && variable.readonly.isComposite)
63
+ -areaAttrs["*ngIf"]=variable.readonly.value;
64
+ else
65
+ -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
58
66
  if (variable.binding && variable.binding.type == 'Variable')
59
67
  -areaAttrs['[(ngModel)]'] = variable.binding.value;
60
68
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
@@ -32,7 +32,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
32
32
  else
33
33
  -attrs['formControlName'] = (variable.binding && variable.binding.path);
34
34
  if(variable.isTextArea)
35
- -attrs["*ngIf"]="viewModel.stateMachine['editable']";
35
+ if(variable.readonly && variable.readonly.isComposite)
36
+ -attrs["*ngIf"]="!"+variable.readonly.value;
37
+ else
38
+ -attrs["*ngIf"]="viewModel.stateMachine['editable']";
36
39
 
37
40
  -attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
38
41
  if(variable.hasDefaultFocus)
@@ -46,7 +49,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
46
49
  div(class="farris-feedback")
47
50
  if(variable.isTextArea)
48
51
  -var areaAttrs = {};
49
- -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
52
+ if(variable.readonly && variable.readonly.isComposite)
53
+ -areaAttrs["*ngIf"]=variable.readonly.value;
54
+ else
55
+ -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
50
56
  if (variable.binding && variable.binding.type == 'Variable')
51
57
  -areaAttrs['[(ngModel)]'] = variable.binding.value;
52
58
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
@@ -35,7 +35,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
35
35
 
36
36
  -attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
37
37
  if(variable.isTextArea)
38
- -attrs["*ngIf"]="viewModel.stateMachine['editable']";
38
+ if(variable.readonly && variable.readonly.isComposite)
39
+ -attrs["*ngIf"]="!"+variable.readonly.value;
40
+ else
41
+ -attrs["*ngIf"]="viewModel.stateMachine['editable']";
39
42
  if(variable.hasDefaultFocus)
40
43
  -attrs["farris-set-focus"]="";
41
44
  if(variable.focusState)
@@ -48,7 +51,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
48
51
  div(class="farris-feedback")
49
52
  if(variable.isTextArea)
50
53
  -var areaAttrs = {};
51
- -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
54
+ if(variable.readonly && variable.readonly.isComposite)
55
+ -areaAttrs["*ngIf"]=variable.readonly.value;
56
+ else
57
+ -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
52
58
  if (variable.binding && variable.binding.type == 'Variable')
53
59
  -areaAttrs['[(ngModel)]'] = variable.binding.value;
54
60
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
@@ -16,4 +16,4 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
16
16
  -attrs["farris-set-focus"]="";
17
17
  if(variable.focusState)
18
18
  -attrs["[focusState]"]=variable.focusState+"";
19
- farris-combo-lookup(id=variable.replacedId "input-end-edit" '(selectedValues)'=variable.selectedValues?variable.selectedValues:undefined '[displayType]'=variable.displayType?"'"+variable.displayType+"'":undefined '[disabled]'!=(variable.disable||variable.disable==false)?variable.disable.toString():undefined '[editable]'=(variable.editable||variable.editable==false)?variable.editable.toString():undefined '[panelWidth]'=variable.panelWidth?""+variable.panelWidth:undefined '[panelHeight]'=variable.panelHeight?""+variable.panelHeight:undefined '[idField]'=variable.idField?"'"+variable.idField+"'":undefined '[valueField]'=variable.valueField?"'"+variable.valueField+"'":undefined '[textField]'=variable.textField?"'"+variable.textField+"'":undefined '[uri]'=variable.uri?"'"+variable.uri+"'":undefined '[multiSelect]'=(variable.multiSelect || variable.multiSelect==false)?variable.multiSelect.toString():undefined '(showPanel)'=variable.onShown?variable.onShown:undefined '(hidePanel)'=variable.onHidden?variable.onHidden:undefined '(clear)'=variable.clear?variable.clear:undefined '[autoWidth]'=(variable.autoWidth||variable.autoWidth==false)?variable.autoWidth.toString():undefined '[mapFields]'=variable.mapFields?""+variable.mapFields:undefined '[beforeShow]'=variable.beforeShow?""+variable.beforeShow:undefined '[beforeHide]'=variable.beforeHide?""+variable.beforeHide:undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[enableClear]'=(variable.enableClear || variable.enableClear==false)?""+variable.enableClear:undefined '[context]'!=variable.context?""+variable.context:undefined )&attributes(attrs)
19
+ farris-combo-lookup(id=variable.replacedId "input-end-edit" '(selectedValues)'=variable.selectedValues?variable.selectedValues:undefined '[displayType]'=variable.displayType?"'"+variable.displayType+"'":undefined '[disabled]'!=(variable.disable||variable.disable==false)?variable.disable.toString():undefined '[editable]'=(variable.editable||variable.editable==false)?variable.editable.toString():undefined '[panelWidth]'=variable.panelWidth?""+variable.panelWidth:undefined '[panelHeight]'=variable.panelHeight?""+variable.panelHeight:undefined '[idField]'=variable.idField?"'"+variable.idField+"'":undefined '[valueField]'=variable.valueField?"'"+variable.valueField+"'":undefined '[textField]'=variable.textField?"'"+variable.textField+"'":undefined '[uri]'=variable.uri?"'"+variable.uri+"'":undefined '[multiSelect]'=(variable.multiSelect || variable.multiSelect==false)?variable.multiSelect.toString():undefined '(showPanel)'=variable.onShown?variable.onShown:undefined '(hidePanel)'=variable.onHidden?variable.onHidden:undefined '(clear)'=variable.clear?variable.clear:undefined '[autoWidth]'=(variable.autoWidth||variable.autoWidth==false)?variable.autoWidth.toString():undefined '[mapFields]'=variable.mapFields?""+variable.mapFields:undefined '[beforeShow]'=variable.beforeShow?""+variable.beforeShow:undefined '[beforeHide]'=variable.beforeHide?""+variable.beforeHide:undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[enableClear]'=(variable.enableClear || variable.enableClear==false)?""+variable.enableClear:undefined '[context]'!=variable.context?""+variable.context:undefined '[beforeSelectData]'=variable.beforeSelectData?""+variable.beforeSelectData:undefined )&attributes(attrs)
@@ -21,6 +21,8 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
21
21
  -attrs['[dictPicking]'] = variable.lookupPicking;
22
22
  if (variable.lookupPicked)
23
23
  -attrs['[dictPicked]'] = variable.lookupPicked;
24
+ if (variable.beforeSelectData)
25
+ -attrs['[beforeSelectData]'] = variable.beforeSelectData;
24
26
  if (variable.readonly)
25
27
  -attrs['[readonly]'] = variable.readonly.value+"";
26
28
 
@@ -1,4 +1,4 @@
1
1
  //- -var variable={"appearance": {"class": "p-2", "style": "width:'20px'"}, queryId: "a", queryName: "a", qoManagerCode:"a",controlType:''};
2
2
 
3
- condition-dialog('[controlType]'=variable.controlType ? "'" + variable.controlType + "'" : undefined '[queryId]'=variable.queryId ? "'" + variable.queryId + "'" : undefined)
3
+ condition-dialog('[controlType]'=variable.controlType ? "'" + variable.controlType + "'" : undefined '[queryId]'=variable.queryId ? "'" + variable.queryId + "'" : undefined '[beforeQuery]'=variable.beforeQueryName?""+variable.beforeQueryName:undefined)
4
4
  | {{content}}
@@ -33,7 +33,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
33
33
  else
34
34
  -attrs['formControlName'] = (variable.binding && variable.binding.path);
35
35
  if(variable.isTextArea)
36
- -attrs["*ngIf"]="viewModel.stateMachine['editable']";
36
+ if(variable.readonly && variable.readonly.isComposite)
37
+ -attrs["*ngIf"]="!"+variable.readonly.value;
38
+ else
39
+ -attrs["*ngIf"]="viewModel.stateMachine['editable']";
37
40
  if(variable.hasDefaultFocus)
38
41
  -attrs["farris-set-focus"]="";
39
42
  if(variable.focusState)
@@ -46,7 +49,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
46
49
  div(class="farris-feedback")
47
50
  if(variable.isTextArea)
48
51
  -var areaAttrs = {};
49
- -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
52
+ if(variable.readonly && variable.readonly.isComposite)
53
+ -areaAttrs["*ngIf"]=variable.readonly.value;
54
+ else
55
+ -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
50
56
  if (variable.binding && variable.binding.type == 'Variable')
51
57
  -areaAttrs['[(ngModel)]'] = variable.binding.value;
52
58
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
@@ -33,7 +33,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
33
33
  else
34
34
  -attrs['formControlName'] = (variable.binding && variable.binding.path);
35
35
  if(variable.isTextArea)
36
- -attrs["*ngIf"]="viewModel.stateMachine['editable']";
36
+ if(variable.readonly && variable.readonly.isComposite)
37
+ -attrs["*ngIf"]="!"+variable.readonly.value;
38
+ else
39
+ -attrs["*ngIf"]="viewModel.stateMachine['editable']";
37
40
  if(variable.hasDefaultFocus)
38
41
  -attrs["farris-set-focus"]="";
39
42
  if(variable.focusState)
@@ -45,7 +48,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
45
48
  div(class="farris-feedback")
46
49
  if(variable.isTextArea)
47
50
  -var areaAttrs = {};
48
- -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
51
+ if(variable.readonly && variable.readonly.isComposite)
52
+ -areaAttrs["*ngIf"]=variable.readonly.value;
53
+ else
54
+ -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
49
55
  if (variable.binding && variable.binding.type == 'Variable')
50
56
  -areaAttrs['[(ngModel)]'] = variable.binding.value;
51
57
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
@@ -36,7 +36,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
36
36
 
37
37
  -attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
38
38
  if(variable.isTextArea)
39
- -attrs["*ngIf"]="viewModel.stateMachine['editable']";
39
+ if(variable.readonly && variable.readonly.isComposite)
40
+ -attrs["*ngIf"]="!"+variable.readonly.value;
41
+ else
42
+ -attrs["*ngIf"]="viewModel.stateMachine['editable']";
40
43
  if(variable.hasDefaultFocus)
41
44
  -attrs["farris-set-focus"]="";
42
45
  if(variable.focusState)
@@ -53,7 +56,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
53
56
  div(class="farris-feedback")
54
57
  if(variable.isTextArea)
55
58
  -var areaAttrs = {};
56
- -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
59
+ if(variable.readonly && variable.readonly.isComposite)
60
+ -areaAttrs["*ngIf"]=variable.readonly.value;
61
+ else
62
+ -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
57
63
  if (variable.binding && variable.binding.type == 'Variable')
58
64
  -areaAttrs['[(ngModel)]'] = variable.binding.value;
59
65
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";