@farris/jit-engine 1.3.92 → 1.3.99

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 (195) hide show
  1. package/README.md +64 -0
  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/devkit/viewmodel/statemachine/statemachine.js +1 -1
  7. package/lib/domstructure/devkit/viewmodel/statemachine/statemachine.js.map +1 -1
  8. package/lib/domstructure/ui/commands/button.js +1 -1
  9. package/lib/domstructure/ui/commands/button.js.map +1 -1
  10. package/lib/domstructure/ui/common/base-title-component.js +1 -1
  11. package/lib/domstructure/ui/common/base-title-component.js.map +1 -1
  12. package/lib/domstructure/ui/common/basecomponent.js +13 -8
  13. package/lib/domstructure/ui/common/basecomponent.js.map +1 -1
  14. package/lib/domstructure/ui/common/binding.js +48 -1
  15. package/lib/domstructure/ui/common/binding.js.map +1 -1
  16. package/lib/domstructure/ui/container/html_template.js +21 -0
  17. package/lib/domstructure/ui/container/html_template.js.map +1 -1
  18. package/lib/domstructure/ui/container/qdp_condition_dialog.js +6 -2
  19. package/lib/domstructure/ui/container/qdp_condition_dialog.js.map +1 -1
  20. package/lib/domstructure/ui/container/qdp_condition_dialog_tab.js +1 -1
  21. package/lib/domstructure/ui/container/qdp_condition_dialog_tab.js.map +1 -1
  22. package/lib/domstructure/ui/data/collection/farris-datagrid/farris-datagrid.js +20 -11
  23. package/lib/domstructure/ui/data/collection/farris-datagrid/farris-datagrid.js.map +1 -1
  24. package/lib/domstructure/ui/data/collection/hierarchy/tree_grid.js +1 -1
  25. package/lib/domstructure/ui/data/collection/hierarchy/tree_grid.js.map +1 -1
  26. package/lib/domstructure/ui/data/data.js +1 -1
  27. package/lib/domstructure/ui/data/data.js.map +1 -1
  28. package/lib/domstructure/ui/data/fields/form/combo-list.js +3 -3
  29. package/lib/domstructure/ui/data/fields/form/combo-list.js.map +1 -1
  30. package/lib/domstructure/ui/data/fields/form/datepicker.js +1 -1
  31. package/lib/domstructure/ui/data/fields/form/datepicker.js.map +1 -1
  32. package/lib/domstructure/ui/data/fields/form/editable/inputs/reference/lookup_edit.js +9 -6
  33. package/lib/domstructure/ui/data/fields/form/editable/inputs/reference/lookup_edit.js.map +1 -1
  34. package/lib/domstructure/ui/data/fields/form/editable/inputs/text/multi_text_box.js +1 -1
  35. package/lib/domstructure/ui/data/fields/form/editable/inputs/text/multi_text_box.js.map +1 -1
  36. package/lib/domstructure/ui/data/fields/form/editable/inputs/text/text_box.js +1 -1
  37. package/lib/domstructure/ui/data/fields/form/editable/inputs/text/text_box.js.map +1 -1
  38. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/ext-intergration.js +1 -1
  39. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/ext-intergration.js.map +1 -1
  40. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/farris-combo-lookup.js +6 -3
  41. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/farris-combo-lookup.js.map +1 -1
  42. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/farris-number-range.js +2 -2
  43. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/farris-number-range.js.map +1 -1
  44. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/farris-number-spinner.js +3 -3
  45. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/farris-number-spinner.js.map +1 -1
  46. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/language-textbox.js +1 -1
  47. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/language-textbox.js.map +1 -1
  48. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/lookup_employee.js +2 -2
  49. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/lookup_employee.js.map +1 -1
  50. package/lib/domstructure/ui/data/fields/form/editable/switch/checkbox-group.js +1 -1
  51. package/lib/domstructure/ui/data/fields/form/editable/switch/checkbox-group.js.map +1 -1
  52. package/lib/domstructure/ui/data/fields/form/editable/switch/radio_group.js +1 -1
  53. package/lib/domstructure/ui/data/fields/form/editable/switch/radio_group.js.map +1 -1
  54. package/lib/domstructure/ui/data/scrollcollapse/scroll-collapsible-area.js +1 -1
  55. package/lib/domstructure/ui/data/scrollcollapse/scroll-collapsible-area.js.map +1 -1
  56. package/lib/domstructure/ui/farris-avatar/farris-avatar.js +1 -1
  57. package/lib/domstructure/ui/farris-avatar/farris-avatar.js.map +1 -1
  58. package/lib/domstructure/ui/farris-file-preview/farris-file-preview.js +4 -4
  59. package/lib/domstructure/ui/farris-file-preview/farris-file-preview.js.map +1 -1
  60. package/lib/domstructure/ui/farris-file-upload/farris-file-upload.js +2 -2
  61. package/lib/domstructure/ui/farris-file-upload/farris-file-upload.js.map +1 -1
  62. package/lib/domstructure/ui/farris-fileupload-preview/farris-file-upload-preview.js +12 -11
  63. package/lib/domstructure/ui/farris-fileupload-preview/farris-file-upload-preview.js.map +1 -1
  64. package/lib/domstructure/ui/farris-scrollspy/farris-scrollspy.js +4 -4
  65. package/lib/domstructure/ui/farris-scrollspy/farris-scrollspy.js.map +1 -1
  66. package/lib/domstructure/ui/farrisprogressstep/farris-progress-step.js +1 -1
  67. package/lib/domstructure/ui/farrisprogressstep/farris-progress-step.js.map +1 -1
  68. package/lib/domstructure/ui/light-listfilter/farris-light-listfilter.js +3 -3
  69. package/lib/domstructure/ui/light-listfilter/farris-light-listfilter.js.map +1 -1
  70. package/lib/domstructure/ui/list-filter/farris-list-filter.js +2 -2
  71. package/lib/domstructure/ui/list-filter/farris-list-filter.js.map +1 -1
  72. package/lib/domstructure/ui/listview/list-view-contenttemplate-field.js +3 -2
  73. package/lib/domstructure/ui/listview/list-view-contenttemplate-field.js.map +1 -1
  74. package/lib/domstructure/ui/listview/list-view.js +1 -1
  75. package/lib/domstructure/ui/listview/list-view.js.map +1 -1
  76. package/lib/domstructure/ui/multi-select/multi-select.js +1 -1
  77. package/lib/domstructure/ui/multi-select/multi-select.js.map +1 -1
  78. package/lib/domstructure/ui/nav-tab/nav-tab.js +3 -3
  79. package/lib/domstructure/ui/nav-tab/nav-tab.js.map +1 -1
  80. package/lib/domstructure/ui/p-treetable/p-treetable.js +2 -2
  81. package/lib/domstructure/ui/p-treetable/p-treetable.js.map +1 -1
  82. package/lib/domstructure/ui/queryScheme/query-scheme.js +4 -4
  83. package/lib/domstructure/ui/queryScheme/query-scheme.js.map +1 -1
  84. package/lib/mobileapp/vue/domstructure/ui/list-view/vue-list-view.js +2 -1
  85. package/lib/mobileapp/vue/domstructure/ui/list-view/vue-list-view.js.map +1 -1
  86. package/lib/mobileapp/vue/domstructure/ui/text-box/text-box-external.js +1 -1
  87. package/lib/mobileapp/vue/domstructure/ui/text-box/text-box-external.js.map +1 -1
  88. package/lib/template/ui/kendo/checkbox.pug +12 -3
  89. package/lib/template/ui/kendo/combobox.pug +9 -3
  90. package/lib/template/ui/kendo/datepicker.pug +8 -2
  91. package/lib/template/ui/kendo/farris-checkbox-group.pug +8 -2
  92. package/lib/template/ui/kendo/farris-combo-list.pug +8 -2
  93. package/lib/template/ui/kendo/farris-datagrid.pug +1 -1
  94. package/lib/template/ui/kendo/farris-datepicker.pug +9 -2
  95. package/lib/template/ui/kendo/farris-ext-intergration.pug +8 -2
  96. package/lib/template/ui/kendo/farris-file-upload-preview.pug +34 -23
  97. package/lib/template/ui/kendo/farris-number-range.pug +8 -2
  98. package/lib/template/ui/kendo/farris-number-spinner.pug +8 -2
  99. package/lib/template/ui/kendo/farris-switch.pug +8 -2
  100. package/lib/template/ui/kendo/farris-tags.pug +8 -2
  101. package/lib/template/ui/kendo/farris-time-picker.pug +8 -2
  102. package/lib/template/ui/kendo/input-group.pug +8 -2
  103. package/lib/template/ui/kendo/language-textbox.pug +8 -2
  104. package/lib/template/ui/kendo/lookup-employee.pug +8 -2
  105. package/lib/template/ui/kendo/lookup.pug +10 -2
  106. package/lib/template/ui/kendo/multitextbox.pug +8 -2
  107. package/lib/template/ui/kendo/numericbox.pug +8 -2
  108. package/lib/template/ui/kendo/p-treetable.pug +7 -7
  109. package/lib/template/ui/kendo/primeng-edittree/farris-combo-lookup.pug +1 -1
  110. package/lib/template/ui/kendo/primeng-edittree/lookup.pug +2 -0
  111. package/lib/template/ui/kendo/qdp-condition-dialog.pug +1 -1
  112. package/lib/template/ui/kendo/radioboxgroup.pug +8 -2
  113. package/lib/template/ui/kendo/switch.pug +8 -2
  114. package/lib/template/ui/kendo/textbox.pug +8 -2
  115. package/lib/template/ui/mobilevue/list-view.pug +3 -3
  116. package/lib/template/ui/mobilevue/nav-bar.pug +1 -1
  117. package/lib/template/ui/mobilevue/text-box-external.pug +1 -0
  118. package/lib/utility/component-title-executor.js +1 -1
  119. package/lib/utility/component-title-executor.js.map +1 -1
  120. package/lib/utility/devkit/component-creator.js +2 -0
  121. package/lib/utility/devkit/component-creator.js.map +1 -1
  122. package/lib/utility/devkit/component-parameter-collector/component-events-collector.js +15 -0
  123. package/lib/utility/devkit/component-parameter-collector/component-events-collector.js.map +1 -1
  124. package/lib/utility/devkit/component-parameter-collector/component-external-container-parameter-collector.js +1 -1
  125. package/lib/utility/devkit/component-parameter-collector/component-external-container-parameter-collector.js.map +1 -1
  126. package/lib/utility/devkit/component-parameter-collector/component-file-upload-parameter-collector.js +1 -1
  127. package/lib/utility/devkit/component-parameter-collector/component-file-upload-parameter-collector.js.map +1 -1
  128. package/lib/utility/devkit/component-parameter-collector/component-header-parameter-collector.js +5 -5
  129. package/lib/utility/devkit/component-parameter-collector/component-header-parameter-collector.js.map +1 -1
  130. package/lib/utility/devkit/component-parameter-collector/component-listview-parameter-collector.js +2 -2
  131. package/lib/utility/devkit/component-parameter-collector/component-listview-parameter-collector.js.map +1 -1
  132. package/lib/utility/devkit/component-parameter-collector/component-parameter-collector-manager.js +8 -0
  133. package/lib/utility/devkit/component-parameter-collector/component-parameter-collector-manager.js.map +1 -1
  134. package/lib/utility/devkit/component-parameter-collector/component-parameter-collector-type.js +2 -0
  135. package/lib/utility/devkit/component-parameter-collector/component-parameter-collector-type.js.map +1 -1
  136. package/lib/utility/devkit/component-parameter-collector/farris-checkbox-group-collector.js +1 -1
  137. package/lib/utility/devkit/component-parameter-collector/farris-checkbox-group-collector.js.map +1 -1
  138. package/lib/utility/devkit/component-parameter-collector/farris-datagrid-collector.js +9 -2
  139. package/lib/utility/devkit/component-parameter-collector/farris-datagrid-collector.js.map +1 -1
  140. package/lib/utility/devkit/component-parameter-collector/farris-input-group-collector.js +4 -4
  141. package/lib/utility/devkit/component-parameter-collector/farris-input-group-collector.js.map +1 -1
  142. package/lib/utility/devkit/component-parameter-collector/farris-nav-tab-parameter-collector.js +2 -2
  143. package/lib/utility/devkit/component-parameter-collector/farris-nav-tab-parameter-collector.js.map +1 -1
  144. package/lib/utility/devkit/component-parameter-collector/farris-radiogroup-collector.js +1 -1
  145. package/lib/utility/devkit/component-parameter-collector/farris-radiogroup-collector.js.map +1 -1
  146. package/lib/utility/devkit/component-parameter-collector/farris-section-collector.js +6 -6
  147. package/lib/utility/devkit/component-parameter-collector/farris-section-collector.js.map +1 -1
  148. package/lib/utility/devkit/component-parameter-collector/farris-tabs-collector.js +6 -6
  149. package/lib/utility/devkit/component-parameter-collector/farris-tabs-collector.js.map +1 -1
  150. package/lib/utility/devkit/component-parameter-collector/farris-treegrid-parameter-collector.js +10 -0
  151. package/lib/utility/devkit/component-parameter-collector/farris-treegrid-parameter-collector.js.map +1 -1
  152. package/lib/utility/devkit/component-parameter-collector/primeng-tree-grid-parameter-collector.js +2 -1
  153. package/lib/utility/devkit/component-parameter-collector/primeng-tree-grid-parameter-collector.js.map +1 -1
  154. package/lib/utility/devkit/component-parameter-collector/scrollspy-collector.js +3 -3
  155. package/lib/utility/devkit/component-parameter-collector/scrollspy-collector.js.map +1 -1
  156. package/lib/utility/devkit/component-parameter-collector/toolbar-collector.js +2 -2
  157. package/lib/utility/devkit/component-parameter-collector/toolbar-collector.js.map +1 -1
  158. package/lib/utility/devkit/statemachine-creator.js +1 -1
  159. package/lib/utility/devkit/statemachine-creator.js.map +1 -1
  160. package/lib/utility/farris-datagrid/abstract-editor.js +4 -3
  161. package/lib/utility/farris-datagrid/abstract-editor.js.map +1 -1
  162. package/lib/utility/farris-datagrid/abstract-lookup-editor.js +7 -6
  163. package/lib/utility/farris-datagrid/abstract-lookup-editor.js.map +1 -1
  164. package/lib/utility/farris-datagrid/combo-list-editor.js +4 -4
  165. package/lib/utility/farris-datagrid/combo-list-editor.js.map +1 -1
  166. package/lib/utility/farris-datagrid/combo-lookup-editor.js +7 -2
  167. package/lib/utility/farris-datagrid/combo-lookup-editor.js.map +1 -1
  168. package/lib/utility/farris-datagrid/date-picker-editor.js +1 -1
  169. package/lib/utility/farris-datagrid/date-picker-editor.js.map +1 -1
  170. package/lib/utility/farris-datagrid/enum-editor.js +1 -1
  171. package/lib/utility/farris-datagrid/enum-editor.js.map +1 -1
  172. package/lib/utility/farris-datagrid/language-textbox-generator.js +1 -1
  173. package/lib/utility/farris-datagrid/language-textbox-generator.js.map +1 -1
  174. package/lib/utility/farris-datagrid/lookup-editor.js +5 -0
  175. package/lib/utility/farris-datagrid/lookup-editor.js.map +1 -1
  176. package/lib/utility/farris-datagrid/number-box-editor.js +5 -5
  177. package/lib/utility/farris-datagrid/number-box-editor.js.map +1 -1
  178. package/lib/utility/farris-datagrid/personnel-selector-editor.js +1 -1
  179. package/lib/utility/farris-datagrid/personnel-selector-editor.js.map +1 -1
  180. package/lib/utility/template-generator/devkit/component-generator/component-import-generator.js +2 -2
  181. package/lib/utility/template-generator/devkit/component-generator/component-import-generator.js.map +1 -1
  182. package/lib/utility/template-generator/devkit/component-generator/component-primeng-treegrid-parameter-generator.js +23 -0
  183. package/lib/utility/template-generator/devkit/component-generator/component-primeng-treegrid-parameter-generator.js.map +1 -1
  184. package/lib/utility/template-generator/devkit/component-generator/component-queryschema-parameter-generator.js +2 -2
  185. package/lib/utility/template-generator/devkit/component-generator/component-queryschema-parameter-generator.js.map +1 -1
  186. package/lib/utility/template-generator/devkit/component-generator/component-treegrid-parameter-generator.js +9 -0
  187. package/lib/utility/template-generator/devkit/component-generator/component-treegrid-parameter-generator.js.map +1 -1
  188. package/lib/utility/template-generator/devkit/component-template-generator.js +28 -1
  189. package/lib/utility/template-generator/devkit/component-template-generator.js.map +1 -1
  190. package/lib/utility/template-generator/devkit/statemachine-template-generator.js +3 -2
  191. package/lib/utility/template-generator/devkit/statemachine-template-generator.js.map +1 -1
  192. package/lib/utility/toolhepler.js +23 -9
  193. package/lib/utility/toolhepler.js.map +1 -1
  194. package/package.json +1 -1
  195. package/lib/mobileapp/vue/static/.npmignore +0 -13
@@ -16,7 +16,8 @@ class VueListView extends vue_base_component_1.VueBaseComponent {
16
16
  return;
17
17
  }
18
18
  const keys = `label,multiSelect,offset,loadingText,finishedText,errorText,immediateCheck,
19
- direction,showSubmitBtn,longPressCommand,load,multipleSubmit,multipleCancel,itemClick,contentTemplate,listClick,toolbar,visible,fill,enablePullUpLoad,enablePullDownRefresh,swipeTemplate,swipeToolbar,initMultiSelect`;
19
+ direction,showSubmitBtn,longPressCommand,load,multipleSubmit,multipleCancel,itemClick,contentTemplate,listClick,toolbar,visible,
20
+ fill,enablePullUpLoad,enablePullDownRefresh,swipeTemplate,swipeToolbar,initMultiSelect,showValidatorResults`;
20
21
  Object.keys(obj).forEach(key => {
21
22
  if (keys.includes(key)) {
22
23
  if (key === 'toolbar') {
@@ -1 +1 @@
1
- {"version":3,"file":"vue-list-view.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/list-view/vue-list-view.ts"],"names":[],"mappings":";;;AAAA,8DAAyD;AAEzD,MAAa,WAAY,SAAQ,qCAAgB;IAqB7C,YAAY,KAAU;QAClB,KAAK,CAAC,KAAK,CAAC,CAAC;QAEb,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QAED,MAAM,IAAI,GAAG;+NAC0M,CAAC;QACxN,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAI,GAAG,KAAK,SAAS,EAAE;oBASnB,IAAI,IAAI,GAAG,EAAE,CAAA;oBACb,GAAG,CAAC,GAAG,CAAC,CAAC,KAAK,IAAI,GAAG,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,GAAQ,EAAE,EAAE;wBAClD,MAAM,GAAG,GAAG,YAAY,GAAG,CAAC,IAAI,aAAa,GAAG,CAAC,QAAQ,2BAA2B,GAAG,CAAC,KAAK,IAAI,CAAA;wBACjG,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,GAAG,IAAI,IAAI,GAAG,EAAE,CAAC,CAAC,CAAC,GAAG,CAAA;oBACxC,CAAC,CAAC,CAAA;oBACF,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,IAAI,GAAG,CAAA;iBAC7B;qBAAM;oBACH,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;iBACxB;aACJ;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CACJ;AA5DD,kCA4DC"}
1
+ {"version":3,"file":"vue-list-view.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/list-view/vue-list-view.ts"],"names":[],"mappings":";;;AAAA,8DAAyD;AAEzD,MAAa,WAAY,SAAQ,qCAAgB;IAqB7C,YAAY,KAAU;QAClB,KAAK,CAAC,KAAK,CAAC,CAAC;QAEb,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QAED,MAAM,IAAI,GAAG;;oHAE+F,CAAC;QAC7G,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAI,GAAG,KAAK,SAAS,EAAE;oBASnB,IAAI,IAAI,GAAG,EAAE,CAAA;oBACb,GAAG,CAAC,GAAG,CAAC,CAAC,KAAK,IAAI,GAAG,CAAC,GAAG,CAAC,CAAC,KAAK,CAAC,OAAO,CAAC,CAAC,GAAQ,EAAE,EAAE;wBAClD,MAAM,GAAG,GAAG,YAAY,GAAG,CAAC,IAAI,aAAa,GAAG,CAAC,QAAQ,2BAA2B,GAAG,CAAC,KAAK,IAAI,CAAA;wBACjG,IAAI,GAAG,IAAI,CAAC,CAAC,CAAC,GAAG,IAAI,IAAI,GAAG,EAAE,CAAC,CAAC,CAAC,GAAG,CAAA;oBACxC,CAAC,CAAC,CAAA;oBACF,IAAI,CAAC,MAAM,CAAC,GAAG,IAAI,IAAI,GAAG,CAAA;iBAC7B;qBAAM;oBACH,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;iBACxB;aACJ;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CACJ;AA7DD,kCA6DC"}
@@ -15,7 +15,7 @@ class VueTextBoxExternal extends vue_input_component_1.VueInputComponent {
15
15
  if (!obj) {
16
16
  return;
17
17
  }
18
- const keys = 'extra,rightTemplate,externalServiceCode,externalServiceParams,externalTableName,externalMapFields';
18
+ const keys = 'extra,rightTemplate,externalServiceCode,externalServiceParams,externalTableName,externalMapFields,externalTableSchemas';
19
19
  Object.keys(obj).forEach(key => {
20
20
  if (keys.includes(key)) {
21
21
  this[key] = obj[key];
@@ -1 +1 @@
1
- {"version":3,"file":"text-box-external.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/text-box/text-box-external.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,MAAa,kBAAmB,SAAQ,uCAAiB;IAarD,YAAY,KAAU;QAClB,KAAK,CAAC,KAAK,CAAC,CAAC;QAEb,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QAED,MAAM,IAAI,GAAG,mGAAmG,CAAC;QACjH,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;aACxB;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CAGJ;AApCD,gDAoCC"}
1
+ {"version":3,"file":"text-box-external.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/text-box/text-box-external.ts"],"names":[],"mappings":";;;AAAA,gEAA2D;AAE3D,MAAa,kBAAmB,SAAQ,uCAAiB;IAarD,YAAY,KAAU;QAClB,KAAK,CAAC,KAAK,CAAC,CAAC;QAEb,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QAED,MAAM,IAAI,GAAG,wHAAwH,CAAC;QACtI,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;aACxB;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CAGJ;AApCD,gDAoCC"}
@@ -24,7 +24,12 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
24
24
  span(class="farris-label-info text-danger" "*ngIf"=""+variable.require.value) *
25
25
  div(class="farris-input-wrap")
26
26
  if(variable.isTextArea)
27
- div(class="custom-control custom-checkbox" '[ngSwitch]'=variable.readonly?""+variable.readonly.value:undefined '*ngIf'="viewModel.stateMachine['editable']")
27
+ -var divAttr = {};
28
+ if(variable.readonly && variable.readonly.isComposite)
29
+ -divAttr["*ngIf"]="!"+variable.readonly.value;
30
+ else
31
+ -divAttr["*ngIf"]="viewModel.stateMachine['editable']";
32
+ div(class="custom-control custom-checkbox" '[ngSwitch]'=variable.readonly?""+variable.readonly.value:undefined )&attributes(divAttr)
28
33
  -var attrs = {};
29
34
  if (variable.binding && variable.binding.type == 'Variable')
30
35
  -attrs['[(ngModel)]'] = variable.binding.value;
@@ -68,8 +73,12 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
68
73
  if(variable.isTextArea)
69
74
  -var areaAttrs = {};
70
75
  -var areaLabelAttrs = {};
71
- -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
72
- -areaLabelAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
76
+ if(variable.readonly && variable.readonly.isComposite)
77
+ -areaLabelAttrs["*ngIf"]=variable.readonly.value;
78
+ -areaAttrs["*ngIf"]=variable.readonly.value;
79
+ else
80
+ -areaLabelAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
81
+ -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
73
82
  if (variable.binding && variable.binding.type == 'Variable')
74
83
  -areaAttrs['[(ngModel)]'] = variable.binding.value;
75
84
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
@@ -40,8 +40,11 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
40
40
  -attrs["farris-set-focus"]="";
41
41
  if(variable.focusState)
42
42
  -attrs["[focusState]"]=variable.focusState+"";
43
- if(variable.isTextArea)
44
- -attrs["*ngIf"]="viewModel.stateMachine['editable']";
43
+ if(variable.isTextArea)
44
+ if(variable.readonly && variable.readonly.isComposite)
45
+ -attrs["*ngIf"]="!"+variable.readonly.value;
46
+ else
47
+ -attrs["*ngIf"]="viewModel.stateMachine['editable']";
45
48
  kendo-combobox(id=variable.replacedId "input-end-edit" '[data]'!=variable.enumDataLang+"" '[textField]'="'name'" '[valueField]'="'value'" '[valuePrimitive]'="true" class="form-control" '(valueChange)'=variable.valueChange?variable.valueChange+"":undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined )&attributes(attrs)
46
49
  if (variable.needValid && variable.binding && variable.binding.path)
47
50
  -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
@@ -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}";
@@ -34,7 +34,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
34
34
  if (variable.valueChange)
35
35
  -attrs['(valueChange)'] = variable.valueChange + '';
36
36
  if(variable.isTextArea)
37
- -attrs["*ngIf"]="viewModel.stateMachine['editable']";
37
+ if(variable.readonly && variable.readonly.isComposite)
38
+ -attrs["*ngIf"]="!"+variable.readonly.value;
39
+ else
40
+ -attrs["*ngIf"]="viewModel.stateMachine['editable']";
38
41
 
39
42
  -attrs['placeholder'] ="{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
40
43
  if(variable.hasDefaultFocus)
@@ -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}";
@@ -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']" '[disableGroupOnEditing]'=variable.disableGroupOnEditing?""+variable.disableGroupOnEditing.value:undefined '[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 '[selectionMode]'=variable.selectionMode?"'"+variable.selectionMode+"'":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}";