@farris/jit-engine 1.3.127 → 1.3.130-dev01

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 (86) hide show
  1. package/README.md +5 -1
  2. package/lib/domstructure/devkit/devkit.js +2 -1
  3. package/lib/domstructure/devkit/devkit.js.map +1 -1
  4. package/lib/domstructure/ui/container/loop-container.js +14 -2
  5. package/lib/domstructure/ui/container/loop-container.js.map +1 -1
  6. package/lib/domstructure/ui/container/qdp_framework.js +36 -2
  7. package/lib/domstructure/ui/container/qdp_framework.js.map +1 -1
  8. package/lib/domstructure/ui/data/collection/qdp/spread_sheet.js +3 -2
  9. package/lib/domstructure/ui/data/collection/qdp/spread_sheet.js.map +1 -1
  10. package/lib/domstructure/ui/data/data.js +12 -0
  11. package/lib/domstructure/ui/data/data.js.map +1 -1
  12. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/farris-combo-lookup.js +1 -1
  13. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/farris-combo-lookup.js.map +1 -1
  14. package/lib/domstructure/ui/farris-fileupload-preview/farris-file-upload-preview.js +4 -1
  15. package/lib/domstructure/ui/farris-fileupload-preview/farris-file-upload-preview.js.map +1 -1
  16. package/lib/domstructure/ui/table/farris-table-column.js +1 -1
  17. package/lib/domstructure/ui/table/farris-table-column.js.map +1 -1
  18. package/lib/mobileapp/vue/domstructure/devkit/form/vue-control.js +5 -2
  19. package/lib/mobileapp/vue/domstructure/devkit/form/vue-control.js.map +1 -1
  20. package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-file.js +1 -1
  21. package/lib/task/recursiveGenerateDevkit.js +16 -1
  22. package/lib/task/recursiveGenerateDevkit.js.map +1 -1
  23. package/lib/template/ui/kendo/button.pug +0 -1
  24. package/lib/template/ui/kendo/dynamic-area-item.pug +1 -1
  25. package/lib/template/ui/kendo/farris-combo-lookup.pug +1 -1
  26. package/lib/template/ui/kendo/farris-file-upload-preview.pug +2 -1
  27. package/lib/template/ui/kendo/qdpframework.pug +10 -2
  28. package/lib/template/ui/kendo/section.pug +2 -2
  29. package/lib/template/ui/kendo/spreadsheet.pug +3 -3
  30. package/lib/template/ui/kendo/table/checkbox.pug +3 -9
  31. package/lib/template/ui/kendo/table/checkboxgroup.pug +1 -1
  32. package/lib/template/ui/kendo/table/combobox.pug +2 -5
  33. package/lib/template/ui/kendo/table/datepicker.pug +2 -5
  34. package/lib/template/ui/kendo/table/farris-avatar.pug +1 -1
  35. package/lib/template/ui/kendo/table/farris-checkbox-group.pug +2 -5
  36. package/lib/template/ui/kendo/table/farris-combo-list.pug +2 -5
  37. package/lib/template/ui/kendo/table/farris-combo-lookup.pug +1 -4
  38. package/lib/template/ui/kendo/table/farris-datepicker.pug +2 -5
  39. package/lib/template/ui/kendo/table/farris-number-range.pug +2 -5
  40. package/lib/template/ui/kendo/table/farris-number-spinner.pug +2 -5
  41. package/lib/template/ui/kendo/table/farris-static-text.pug +1 -1
  42. package/lib/template/ui/kendo/table/farris-switch.pug +2 -5
  43. package/lib/template/ui/kendo/table/farris-time-picker.pug +2 -5
  44. package/lib/template/ui/kendo/table/farris-time-spinner.pug +1 -4
  45. package/lib/template/ui/kendo/table/input-group.pug +2 -5
  46. package/lib/template/ui/kendo/table/language-textbox.pug +2 -5
  47. package/lib/template/ui/kendo/table/lookup-employee.pug +74 -0
  48. package/lib/template/ui/kendo/table/lookup.pug +2 -5
  49. package/lib/template/ui/kendo/table/multitextbox.pug +2 -5
  50. package/lib/template/ui/kendo/table/numericbox.pug +2 -5
  51. package/lib/template/ui/kendo/table/radiobox.pug +1 -1
  52. package/lib/template/ui/kendo/table/radioboxgroup.pug +2 -5
  53. package/lib/template/ui/kendo/table/richtextbox.pug +1 -4
  54. package/lib/template/ui/kendo/table/select.pug +0 -3
  55. package/lib/template/ui/kendo/table/switch.pug +2 -5
  56. package/lib/template/ui/kendo/table/textbox.pug +2 -5
  57. package/lib/template/ui/kendo/table/timebox.pug +1 -4
  58. package/lib/template/ui/kendo/table/timepicker.pug +1 -1
  59. package/lib/template/ui/kendo/table/tinymcerichtextbox.pug +1 -4
  60. package/lib/template/ui/mobilevue/attachment-file.pug +1 -0
  61. package/lib/template/ui/mobilevue/calendar-input.pug +2 -0
  62. package/lib/template/ui/mobilevue/calendar.pug +11 -9
  63. package/lib/utility/devkit/component-parameter-collector/component-button-collector.js +18 -0
  64. package/lib/utility/devkit/component-parameter-collector/component-button-collector.js.map +1 -1
  65. package/lib/utility/devkit/component-parameter-collector/component-events-collector.js +11 -0
  66. package/lib/utility/devkit/component-parameter-collector/component-events-collector.js.map +1 -1
  67. package/lib/utility/devkit/component-parameter-collector/component-header-parameter-collector.js +8 -1
  68. package/lib/utility/devkit/component-parameter-collector/component-header-parameter-collector.js.map +1 -1
  69. package/lib/utility/devkit/component-parameter-collector/component-readonly-parameter-collector.js +12 -0
  70. package/lib/utility/devkit/component-parameter-collector/component-readonly-parameter-collector.js.map +1 -1
  71. package/lib/utility/devkit/component-parameter-collector/component-viewchange-parameter-collector.js +12 -0
  72. package/lib/utility/devkit/component-parameter-collector/component-viewchange-parameter-collector.js.map +1 -1
  73. package/lib/utility/devkit/component-parameter-collector/farris-nav-tab-parameter-collector.js +12 -0
  74. package/lib/utility/devkit/component-parameter-collector/farris-nav-tab-parameter-collector.js.map +1 -1
  75. package/lib/utility/devkit/form-file-executor.js +3 -2
  76. package/lib/utility/devkit/form-file-executor.js.map +1 -1
  77. package/lib/utility/devkit/viewmodels-creator.js +11 -0
  78. package/lib/utility/devkit/viewmodels-creator.js.map +1 -1
  79. package/lib/utility/devkit-template-config.js +3 -0
  80. package/lib/utility/devkit-template-config.js.map +1 -1
  81. package/lib/utility/farris-datagrid/date-picker-editor.js.map +1 -1
  82. package/lib/utility/farris-datagrid/switch-editor.js +4 -2
  83. package/lib/utility/farris-datagrid/switch-editor.js.map +1 -1
  84. package/lib/utility/personnel-selector-checker.js +12 -1
  85. package/lib/utility/personnel-selector-checker.js.map +1 -1
  86. package/package.json +1 -1
@@ -1,5 +1,13 @@
1
1
  //- -var variable={"appearance": {"class": "p-2", "style": "width:'20px'"}, queryId: "a", queryName: "a", qoManagerCode:"a",controlType:'',templateType:'qdpAdvancedTemplate'};
2
2
  -var attrs = {};
3
3
  -attrs['#'+variable.referenceId] = "";
4
- query-framework-layout(id=variable.replacedId?""+variable.replacedId:undefined '[toolbarOption]'!=variable.toolbarOption ? variable.toolbarOption : undefined '[formPrintOption]'!=variable.formPrintOption ? variable.formPrintOption : undefined '[conditionDialog]'=(variable.templateType && variable.templateType == "qdpAdvancedTemplate") ? "conditionDialog" : undefined '[controlType]'=variable.controlType ? "'" + variable.controlType + "'" : undefined class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) '[qoManagerCode]'=variable.qoManagerCode ? "'" + variable.qoManagerCode + "'" : undefined '[qoId]'=variable.qoId ? "'" + variable.qoId + "'" : undefined '[voId]'=variable.voId ? "'" + variable.voId + "'" : undefined '[queryRelativeUrl]'=variable.queryRelativeUrl?"'"+variable.queryRelativeUrl+"'":undefined '[queryId]'=variable.queryId ? "'" + variable.queryId + "'" : undefined '[queryName]'=variable.queryNameLang ? "" + variable.queryNameLang : undefined '[templateType]'=variable.templateType ? "'" + variable.templateType + "'" : undefined '(contentSizeChange)'="handleSizeChange($event)" '[isShowToolbar]'=variable.showToolbar?""+variable.showToolbar.value:undefined '[isInit]'=variable.initFilter?""+variable.initFilter.value:undefined)&attributes(attrs)
5
- | {{content}}
4
+ if (variable.inputTemplate && variable.inputTemplate.length)
5
+ -var attrsReferenceId = {};
6
+ -attrsReferenceId['#'+variable.id.replace(/\-/g, "")]=""
7
+ ng-template()&attributes(attrsReferenceId)
8
+ | !{variable.inputTemplate}
9
+ query-framework-layout(id=variable.replacedId?""+variable.replacedId:undefined '[inputTemplate]'=variable.id.replace(/\-/g, "") '[toolbarOption]'!=variable.toolbarOption ? variable.toolbarOption : undefined '[formPrintOption]'!=variable.formPrintOption ? variable.formPrintOption : undefined '[conditionDialog]'=(variable.templateType && variable.templateType == "qdpAdvancedTemplate") ? "conditionDialog" : undefined '[controlType]'=variable.controlType ? "'" + variable.controlType + "'" : undefined class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) '[qoManagerCode]'=variable.qoManagerCode ? "'" + variable.qoManagerCode + "'" : undefined '[qoId]'=variable.qoId ? "'" + variable.qoId + "'" : undefined '[voId]'=variable.voId ? "'" + variable.voId + "'" : undefined '[queryRelativeUrl]'=variable.queryRelativeUrl?"'"+variable.queryRelativeUrl+"'":undefined '[queryId]'=variable.queryId ? "'" + variable.queryId + "'" : undefined '[queryName]'=variable.queryNameLang ? "" + variable.queryNameLang : undefined '[templateType]'=variable.templateType ? "'" + variable.templateType + "'" : undefined '(contentSizeChange)'="handleSizeChange($event)" '[isShowToolbar]'=variable.showToolbar?""+variable.showToolbar.value:undefined '[isInit]'=variable.initFilter?""+variable.initFilter.value:undefined)&attributes(attrs)
10
+ | {{content}}
11
+ else
12
+ query-framework-layout(id=variable.replacedId?""+variable.replacedId:undefined '[toolbarOption]'!=variable.toolbarOption ? variable.toolbarOption : undefined '[formPrintOption]'!=variable.formPrintOption ? variable.formPrintOption : undefined '[conditionDialog]'=(variable.templateType && variable.templateType == "qdpAdvancedTemplate") ? "conditionDialog" : undefined '[controlType]'=variable.controlType ? "'" + variable.controlType + "'" : undefined class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) '[qoManagerCode]'=variable.qoManagerCode ? "'" + variable.qoManagerCode + "'" : undefined '[qoId]'=variable.qoId ? "'" + variable.qoId + "'" : undefined '[voId]'=variable.voId ? "'" + variable.voId + "'" : undefined '[queryRelativeUrl]'=variable.queryRelativeUrl?"'"+variable.queryRelativeUrl+"'":undefined '[queryId]'=variable.queryId ? "'" + variable.queryId + "'" : undefined '[queryName]'=variable.queryNameLang ? "" + variable.queryNameLang : undefined '[templateType]'=variable.templateType ? "'" + variable.templateType + "'" : undefined '(contentSizeChange)'="handleSizeChange($event)" '[isShowToolbar]'=variable.showToolbar?""+variable.showToolbar.value:undefined '[isInit]'=variable.initFilter?""+variable.initFilter.value:undefined)&attributes(attrs)
13
+ | {{content}}
@@ -3,12 +3,12 @@ if (variable.isScrollSpyItem)
3
3
  -attrs['[fScrollSpy]'] = "'"+variable.replacedId+"'";
4
4
  if(variable.includeInLoopContainer)
5
5
  -attrs['[context]'] = "row";
6
- farris-section(id=variable.replacedId?""+variable.replacedId:undefined class=(variable.appearance && variable.appearance.class) '[expandStatus]'=(variable.expanded || variable.expanded==false)?""+variable.expanded:undefined style=(variable.appearance && variable.appearance.style) '[contentCls]'!=variable.contentCls?"'"+variable.contentCls+"'":undefined '[mainTitle]'!=variable.mainTitleLang?""+variable.mainTitleLang:undefined '[subTitle]'!=variable.subTitleLang?""+variable.subTitleLang:undefined '[fill]'=(variable.fill||variable.fill==false)?variable.fill+"":undefined '[showHeader]'=(variable.showHeader||variable.showHeader==false)?variable.showHeader+'':undefined '[enableMaximize]'=(variable.enableMaximize||variable.enableMaximize==false)?variable.enableMaximize+'':undefined '[enableAccordion]'=variable.enableAccordion?"'"+variable.enableAccordion+"'":undefined '*ngIf'!=variable.visible ?variable.visible.value+"":undefined '[btnStates]'=variable.toolbarStatesName?""+variable.toolbarStatesName:undefined '[btnVisible]'=variable.toolbarVisibleName?""+variable.toolbarVisibleName:undefined '[toolbar]'=variable.toolbarName?""+variable.toolbarName:undefined)&attributes(attrs)
6
+ farris-section(id=variable.replacedId?""+variable.replacedId:undefined '[index]'="index" class=(variable.appearance && variable.appearance.class) '[expandStatus]'=(variable.expanded || variable.expanded==false)?""+variable.expanded:undefined style=(variable.appearance && variable.appearance.style) '[contentCls]'!=variable.contentCls?"'"+variable.contentCls+"'":undefined '[mainTitle]'!=variable.mainTitleLang?""+variable.mainTitleLang:undefined '[subTitle]'!=variable.subTitleLang?""+variable.subTitleLang:undefined '[fill]'=(variable.fill||variable.fill==false)?variable.fill+"":undefined '[showHeader]'=(variable.showHeader||variable.showHeader==false)?variable.showHeader+'':undefined '[enableMaximize]'=(variable.enableMaximize||variable.enableMaximize==false)?variable.enableMaximize+'':undefined '[enableAccordion]'=variable.enableAccordion?"'"+variable.enableAccordion+"'":undefined '*ngIf'!=variable.visible ?variable.visible.value+"":undefined '[btnStates]'=variable.toolbarStatesName?""+variable.toolbarStatesName:undefined '[btnVisible]'=variable.toolbarVisibleName?""+variable.toolbarVisibleName:undefined '[toolbar]'=variable.toolbarName?""+variable.toolbarName:undefined)&attributes(attrs)
7
7
  if(variable.farrisSectionHeader)
8
8
  ng-template(farrisSectionHeader '[headerCls]'!=variable.headerCls?"'"+variable.headerCls+"'":undefined )
9
9
  | !{variable.farrisSectionHeader}
10
10
  if(variable.farrisSectionTitle )
11
- ng-template(farrisSectionTitle '[titleCls]'!=variable.titleCls?"'"+variable.titleCls+"'":undefined )
11
+ ng-template(farrisSectionTitle 'let-index'="index" '[titleCls]'!=variable.titleCls?"'"+variable.titleCls+"'":undefined )
12
12
  | !{variable.farrisSectionTitle}
13
13
  if(variable.farrisSectionHcontent)
14
14
  ng-template(farrisSectionHcontent '[hcontentCls]'!=variable.hcontentCls?"'"+variable.hcontentCls+"'":undefined )
@@ -1,8 +1,8 @@
1
- //- -var variable={"appearance": {"class": "p-2", "style": "width:'20px'"}, queryId: "demo",controlType:''};
1
+ //- -var variable={"appearance": {"class": "p-2", "style": "width:'20px'"}, queryId: "demo",controlType:'', multiSheets: ["sheet1","sheet2"]};
2
2
  -var attrs = {};
3
3
  -attrs['#'+variable.referenceId] = "";
4
4
  if(variable.isJointSearch)
5
- qdp-view(id=variable.replacedId?""+variable.replacedId:undefined '[hostStyle]'="size" '[controlType]'=variable.controlType ? "'" + variable.controlType + "'" : undefined '[queryId]'=variable.queryId ? "'" + variable.queryId + "'" : undefined '[qoManagerCode]'=variable.qoManagerCode ? "'" + variable.qoManagerCode + "'" : undefined '[qoId]'=variable.qoId ? "'" + variable.qoId + "'" : undefined '[queryRelativeUrl]'=variable.queryRelativeUrl?"'"+variable.queryRelativeUrl+"'":undefined '(contextmenu)'="menuController.handleContextmenu($event,menuElement,qdpView,qdpViewElementRef)" '(click)'="menuController.handleClick(menuElement)" '[voId]'=variable.voId ? "'" + variable.voId + "'" : undefined '[templateType]'=variable.templateType ? "'" + variable.templateType + "'" : undefined '[isInitQdpView]'=variable.initQdpView?""+variable.initQdpView.value:undefined '[isShowDimension]'=variable.showDimension?""+variable.showDimension.value:undefined)&attributes(attrs)
5
+ qdp-view(id=variable.replacedId?""+variable.replacedId:undefined '[hostStyle]'="size" '[multiSheets]'=variable.multiSheets ? variable.multiSheets : undefined '[controlType]'=variable.controlType ? "'" + variable.controlType + "'" : undefined '[queryId]'=variable.queryId ? "'" + variable.queryId + "'" : undefined '[qoManagerCode]'=variable.qoManagerCode ? "'" + variable.qoManagerCode + "'" : undefined '[qoId]'=variable.qoId ? "'" + variable.qoId + "'" : undefined '[queryRelativeUrl]'=variable.queryRelativeUrl?"'"+variable.queryRelativeUrl+"'":undefined '(contextmenu)'="menuController.handleContextmenu($event,menuElement,qdpView,qdpViewElementRef)" '(click)'="menuController.handleClick(menuElement)" '[voId]'=variable.voId ? "'" + variable.voId + "'" : undefined '[templateType]'=variable.templateType ? "'" + variable.templateType + "'" : undefined '[isInitQdpView]'=variable.initQdpView?""+variable.initQdpView.value:undefined '[isShowDimension]'=variable.showDimension?""+variable.showDimension.value:undefined)&attributes(attrs)
6
6
  qdp-search-join-menu('[queryId]'=variable.queryId ? "'" + variable.queryId + "'" : undefined '#menu')
7
7
  else
8
- qdp-view(id=variable.replacedId?""+variable.replacedId:undefined '[hostStyle]'="size" '[controlType]'=variable.controlType ? "'" + variable.controlType + "'" : undefined '[queryId]'=variable.queryId ? "'" + variable.queryId + "'" : undefined '[qoManagerCode]'=variable.qoManagerCode ? "'" + variable.qoManagerCode + "'" : undefined '[qoId]'=variable.qoId ? "'" + variable.qoId + "'" : undefined '[queryRelativeUrl]'=variable.queryRelativeUrl?"'"+variable.queryRelativeUrl+"'":undefined '[voId]'=variable.voId ? "'" + variable.voId + "'" : undefined '[templateType]'=variable.templateType ? "'" + variable.templateType + "'" : undefined '[isInitQdpView]'=variable.initQdpView?""+variable.initQdpView.value:undefined '[isShowDimension]'=variable.showDimension?""+variable.showDimension.value:undefined)&attributes(attrs)
8
+ qdp-view(id=variable.replacedId?""+variable.replacedId:undefined '[hostStyle]'="size" '[multiSheets]'=variable.multiSheets ? variable.multiSheets : undefined '[controlType]'=variable.controlType ? "'" + variable.controlType + "'" : undefined '[queryId]'=variable.queryId ? "'" + variable.queryId + "'" : undefined '[qoManagerCode]'=variable.qoManagerCode ? "'" + variable.qoManagerCode + "'" : undefined '[qoId]'=variable.qoId ? "'" + variable.qoId + "'" : undefined '[queryRelativeUrl]'=variable.queryRelativeUrl?"'"+variable.queryRelativeUrl+"'":undefined '[voId]'=variable.voId ? "'" + variable.voId + "'" : undefined '[templateType]'=variable.templateType ? "'" + variable.templateType + "'" : undefined '[isInitQdpView]'=variable.initQdpView?""+variable.initQdpView.value:undefined '[isShowDimension]'=variable.showDimension?""+variable.showDimension.value:undefined)&attributes(attrs)
@@ -15,7 +15,7 @@ div(class="farris-input-wrap")
15
15
  else if (variable.includeInLoopContainer==false)
16
16
  -attrs['formControlName'] = (variable.binding && variable.binding.path);
17
17
  else
18
- -attrs['[(ngModel)]'] =variable.rowPrefix+ variable.binding && variable.binding.path;
18
+ -attrs['[(ngModel)]'] =variable.rowPrefix+ variable.ngModelPath;
19
19
  -attrs['name'] = variable.replacedId;
20
20
  -attrs['[ngModelOptions]'] = "{standalone:true}";
21
21
  input(id=variable.replacedId class="custom-control-input" type="checkbox" '[disabled]'!=variable.disable?variable.disable.toString():undefined '[readonly]'!=variable.readonly?""+variable.readonly.value:undefined '(ngModelChange)'!=variable.valueChange?"!"+variable.readonly.value+"&&"+variable.valueChange+"":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 '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[inputAppendControlType]'=variable.originalType?"'"+variable.originalType+"'":undefined )&attributes(attrs)
@@ -25,9 +25,6 @@ div(class="farris-input-wrap")
25
25
  else
26
26
  label(class="custom-control-label" '*ngSwitchCase'="true" ) {{'!{variable.resourceId}'|lang:lang:'!{variable.defaultI18nValue}'}}
27
27
  label(class="custom-control-label" '*ngSwitchCase'="false" for=variable.replacedId ) {{'!{variable.resourceId}'|lang:lang:'!{variable.defaultI18nValue}'}}
28
- if (variable.needValid && variable.binding && variable.binding.path)
29
- -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
30
- validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
31
28
  else
32
29
  div(class="custom-control custom-checkbox" '[ngSwitch]'=variable.readonly?variable.readonly.value+"":undefined )
33
30
  -var attrs = {};
@@ -38,7 +35,7 @@ div(class="farris-input-wrap")
38
35
  else if (variable.includeInLoopContainer==false)
39
36
  -attrs['formControlName'] = (variable.binding && variable.binding.path);
40
37
  else
41
- -attrs['[(ngModel)]'] =variable.rowPrefix+ variable.binding && variable.binding.path;
38
+ -attrs['[(ngModel)]'] =variable.rowPrefix+ ngModelPath;
42
39
  -attrs['name'] = variable.replacedId;
43
40
  -attrs['[ngModelOptions]'] = "{standalone:true}";
44
41
  if(variable.hasDefaultFocus)
@@ -52,9 +49,6 @@ div(class="farris-input-wrap")
52
49
  else
53
50
  label(class="custom-control-label" '*ngSwitchCase'="true" ) {{'!{variable.resourceId}'|lang:lang:'!{variable.defaultI18nValue}'}}
54
51
  label(class="custom-control-label" '*ngSwitchCase'="false" for=variable.replacedId ) {{'!{variable.resourceId}'|lang:lang:'!{variable.defaultI18nValue}'}}
55
- if (variable.needValid && variable.binding && variable.binding.path)
56
- -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
57
- validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
58
52
  if(variable.isTextArea)
59
53
  -var areaAttrs = {};
60
54
  -var areaLabelAttrs = {};
@@ -70,7 +64,7 @@ if(variable.isTextArea)
70
64
  else if (variable.includeInLoopContainer==false)
71
65
  -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
72
66
  else
73
- -areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
67
+ -areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
74
68
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
75
69
  if(variable.title)
76
70
  -areaLabelAttrs['title'] = "viewModel.bindingData['"+ (variable.binding && variable.binding.path)+"']";
@@ -11,7 +11,7 @@ div(class="farris-input-wrap")
11
11
  else if (variable.includeInLoopContainer==false)
12
12
  -attrs['formControlName'] = (variable.binding && variable.binding.path);
13
13
  else
14
- -attrs['[(ngModel)]'] = variable.rowPrefix+(item.binding && item.binding.path);
14
+ -attrs['[(ngModel)]'] = variable.rowPrefix+(item.ngModelPath);
15
15
  -attrs['name'] = variable.replacedId;
16
16
  -attrs['[ngModelOptions]'] = "{standalone:true}";
17
17
  if(variable.hasDefaultFocus)
@@ -6,7 +6,7 @@ div(class="farris-input-wrap")
6
6
  else if (variable.includeInLoopContainer==false)
7
7
  -attrs['formControlName'] = (variable.binding && variable.binding.path);
8
8
  else
9
- -attrs['[(ngModel)]'] = variable.rowPrefix+(item.binding && item.binding.path);
9
+ -attrs['[(ngModel)]'] = variable.rowPrefix+(item.ngModelPath);
10
10
  -attrs['name'] = variable.replacedId;
11
11
  -attrs['[ngModelOptions]'] = "{standalone:true}";
12
12
  if (variable.readonly)
@@ -24,9 +24,6 @@ div(class="farris-input-wrap")
24
24
  else
25
25
  -attrs["*ngIf"]="viewModel.stateMachine['editable']";
26
26
  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 '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[inputAppendControlType]'=variable.originalType?"'"+variable.originalType+"'":undefined )&attributes(attrs)
27
- if (variable.needValid && variable.binding && variable.binding.path)
28
- -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
29
- validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
30
27
  div(class="farris-feedback")
31
28
  if(variable.isTextArea)
32
29
  -var areaAttrs = {};
@@ -41,7 +38,7 @@ div(class="farris-input-wrap")
41
38
  -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
42
39
  else
43
40
  -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
44
- -areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
41
+ -areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
45
42
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
46
43
  farris-text('[type]'="'enum'" '[data]'!=variable.enumDataLang '[inputAppendControlType]'="'StaticText'" '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
47
44
  if(variable.titleTipsTemplate)
@@ -7,7 +7,7 @@ div(class="farris-input-wrap")
7
7
  else if (variable.includeInLoopContainer==false)
8
8
  -attrs['formControlName'] = (variable.binding && variable.binding.path);
9
9
  else
10
- -attrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
10
+ -attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
11
11
  -attrs['name'] = variable.replacedId;
12
12
  -attrs['[ngModelOptions]'] = "{standalone:true}";
13
13
  if (variable.valueChange)
@@ -24,9 +24,6 @@ div(class="farris-input-wrap")
24
24
  if(variable.focusState)
25
25
  -attrs["[focusState]"]=variable.focusState+"";
26
26
  kendo-datepicker(id=variable.replacedId "input-end-edit" class="form-control k-widget k-datepicker k-header" '[format]'=variable.format?variable.format:undefined '[disabled]'!=variable.disable?variable.disable.toString():undefined '[class.f-state-readonly]'=variable.readonly?variable.readonly.value+"":undefined '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined '[(value)]'=variable.value?variable.value:undefined '[min]'=(variable.minValue?("'"+variable.minValue+"'|parseStrToDate"):undefined) '[max]'=(variable.maxValue?("'"+variable.maxValue+"'|parseStrToDate"):undefined) '[formatPlaceholder]'=variable.format+"|dateFormatPlaceholder:'"+(variable.binding && variable.binding.path)+"'" '[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 '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[inputAppendControlType]'=variable.originalType?"'"+variable.originalType+"'":undefined )&attributes(attrs)
27
- if (variable.needValid && variable.binding && variable.binding.path)
28
- -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
29
- validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
30
27
  div(class="farris-feedback")
31
28
  if(variable.isTextArea)
32
29
  -var areaAttrs = {};
@@ -40,7 +37,7 @@ div(class="farris-input-wrap")
40
37
  else if (variable.includeInLoopContainer==false)
41
38
  -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
42
39
  else
43
- -areaAttrs['[(ngModel)]'] =variable.rowPrefix+(variable.binding && variable.binding.path);
40
+ -areaAttrs['[(ngModel)]'] =variable.rowPrefix+(variable.ngModelPath);
44
41
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
45
42
  farris-text('[type]'="'date'" '[showTime]'=(variable.showTime || variable.showTime== false)?""+variable.showTime:undefined '[format]'=variable.format?variable.format:undefined '[inputAppendControlType]'="'StaticText'" '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
46
43
  if(variable.titleTipsTemplate)
@@ -7,7 +7,7 @@ div(class="farris-input-wrap f-utils-hcenter-vcenter "+((variable.appearance &&
7
7
  else if (variable.includeInLoopContainer==false)
8
8
  -attrs['formControlName'] = (variable.binding && variable.binding.path);
9
9
  else
10
- -attrs['[(ngModel)]'] =variable.rowPrefix+ (variable.binding && variable.binding.path);
10
+ -attrs['[(ngModel)]'] =variable.rowPrefix+ (variable.ngModelPath);
11
11
  -attrs['name'] = variable.replacedId;
12
12
  -attrs['[ngModelOptions]'] = "{standalone:true}";
13
13
  -attrs["*ngIf"]=variable.visible?variable.visible.value+'':undefined;
@@ -7,7 +7,7 @@ if (variable.binding && variable.binding.type == 'Variable')
7
7
  else if (variable.includeInLoopContainer==false)
8
8
  -attrs['formControlName'] = (variable.binding && variable.binding.path);
9
9
  else
10
- -attrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
10
+ -attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
11
11
  -attrs['name'] = variable.replacedId;
12
12
  -attrs['[ngModelOptions]'] = "{standalone:true}";
13
13
  if(variable.isTextArea)
@@ -21,9 +21,6 @@ if(variable.hasDefaultFocus)
21
21
  -attrs["[focusState]"]=variable.focusState+"";
22
22
  div('class'='farris-input-wrap')
23
23
  farris-checkboxgroup(id=variable.replacedId "input-end-edit" '(setCheckboxData)'=variable.setCheckboxData?variable.setCheckboxData+"":undefined '(changeValue)'=variable.changeValue?variable.changeValue+"":undefined '[disable]'!=variable.readonly ?""+variable.readonly.value:undefined '[horizontal]'= ""+variable.isHorizontal+"" '[data]'=variable.itemsLang?""+variable.itemsLang:undefined '[separator]'=variable.separator?"'"+variable.separator+"'":undefined '[uri]'=variable.uri?"'"+variable.uri+"'":undefined '[valueField]'=variable.valueField?"'"+variable.valueField+"'":undefined '[textField]'=variable.textField?"'"+variable.textField+"'":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 '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[inputAppendControlType]'=variable.originalType?"'"+variable.originalType+"'":undefined )&attributes(attrs)
24
- if (variable.needValid && variable.binding && variable.binding.path)
25
- -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
26
- validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
27
24
  div(class="farris-feedback")
28
25
  if(variable.isTextArea)
29
26
  -var areaAttrs = {};
@@ -37,7 +34,7 @@ div('class'='farris-input-wrap')
37
34
  else if (variable.includeInLoopContainer==false)
38
35
  -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
39
36
  else
40
- -areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
37
+ -areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
41
38
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
42
39
  farris-text('[type]'="'enum'" '[data]'=variable.itemsLang?""+variable.itemsLang:undefined '[enumDelimiter]'=variable.separator?"'"+variable.separator+"'":undefined '[valueField]'=variable.valueField?"'"+variable.valueField+"'":undefined '[textField]'=variable.textField?"'"+variable.textField+"'":undefined '[inputAppendControlType]'="'StaticText'" '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined )&attributes(areaAttrs)
43
40
  if(variable.titleTipsTemplate)
@@ -7,7 +7,7 @@ div(class="farris-input-wrap")
7
7
  else if (variable.includeInLoopContainer==false)
8
8
  -attrs['formControlName'] = (variable.binding && variable.binding.path);
9
9
  else
10
- -attrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
10
+ -attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
11
11
  -attrs['name'] = variable.replacedId;
12
12
  -attrs['[ngModelOptions]'] = "{standalone:true}";
13
13
  if (variable.valueChanged)
@@ -25,9 +25,6 @@ div(class="farris-input-wrap")
25
25
  if(variable.focusState)
26
26
  -attrs["[focusState]"]=variable.focusState+"";
27
27
  farris-combo-list(id=variable.replacedId "input-end-edit" '[data]'!=variable.enumDataLang?variable.enumDataLang:undefined '(selectedValues)'=variable.selectedValues?variable.selectedValues:undefined '[disabled]'!=(variable.disable||variable.disable==false)?variable.disable.toString():undefined '[enableCancelSelected]'=(variable.enableCancelSelected || variable.enableCancelSelected==false)?""+variable.enableCancelSelected: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.idField?"'"+variable.idField+"'":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.onClear?variable.onClear:undefined '[autoWidth]'=(variable.autoWidth||variable.autoWidth==false)?variable.autoWidth.toString():undefined '[mappingField]'=variable.mappingField?"'"+variable.mappingField+"'":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 '[viewType]'=variable.viewType?"'"+variable.viewType+"'":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 '[nosearch]'=variable.noSearch?""+variable.noSearch.value:undefined '[maxLength]'=variable.maxSearchLength?""+variable.maxSearchLength:undefined '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[inputAppendControlType]'=variable.originalType?"'"+variable.originalType+"'":undefined )&attributes(attrs)
28
- if (variable.needValid && variable.binding && variable.binding.path)
29
- -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
30
- validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
31
28
  div(class="farris-feedback")
32
29
  if(variable.isTextArea)
33
30
  -var areaAttrs = {};
@@ -41,7 +38,7 @@ div(class="farris-input-wrap")
41
38
  else if (variable.includeInLoopContainer==false)
42
39
  -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
43
40
  else
44
- -areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
41
+ -areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
45
42
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
46
43
  farris-text('[type]'="'enum'" '[data]'!=variable.enumDataLang?variable.enumDataLang:undefined '[valueField]'=variable.idField?"'"+variable.idField+"'":undefined '[textField]'=variable.textField?"'"+variable.textField+"'":undefined '[inputAppendControlType]'="'StaticText'" '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined )&attributes(areaAttrs)
47
44
  if(variable.titleTipsTemplate)
@@ -7,7 +7,7 @@ div(class="farris-input-wrap")
7
7
  else if (variable.includeInLoopContainer==false)
8
8
  -attrs['formControlName'] = (variable.binding && variable.binding.path);
9
9
  else
10
- -attrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
10
+ -attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
11
11
  -attrs['name'] = variable.replacedId;
12
12
  -attrs['[ngModelOptions]'] = "{standalone:true}";
13
13
  if (variable.valueChanged)
@@ -21,9 +21,6 @@ div(class="farris-input-wrap")
21
21
  if(variable.focusState)
22
22
  -attrs["[focusState]"]=variable.focusState+"";
23
23
  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 '[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 '[nosearch]'=variable.noSearch?""+variable.noSearch.value:undefined '[maxLength]'=variable.maxSearchLength?""+variable.maxSearchLength:undefined '[showHeader]'=variable.showHeader?""+variable.showHeader.value:undefined '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[inputAppendControlType]'=variable.originalType?"'"+variable.originalType+"'":undefined )&attributes(attrs)
24
- if (variable.needValid && variable.binding && variable.binding.path)
25
- -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
26
- validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
27
24
  div(class="farris-feedback")
28
25
  if(variable.titleTipsTemplate)
29
26
  span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
@@ -8,7 +8,7 @@ div(class="farris-input-wrap")
8
8
  else if (variable.includeInLoopContainer==false)
9
9
  -attrs['formControlName'] = (variable.binding && variable.binding.path);
10
10
  else
11
- -attrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
11
+ -attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
12
12
  -attrs['name'] = variable.replacedId;
13
13
  -attrs['[ngModelOptions]'] = "{standalone:true}";
14
14
  if (variable.valueChange)
@@ -31,9 +31,6 @@ div(class="farris-input-wrap")
31
31
  if(variable.focusState)
32
32
  -attrs["[focusState]"]=variable.focusState+"";
33
33
  farris-datepicker(id=variable.replacedId "input-end-edit" "farris-date-localization"=variable.localization?"":undefined '[disabled]'!=variable.disable?variable.disable.toString():undefined '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined '[editable]'=(variable.editable||variable.editable==false)?variable.editable+"":undefined '[locale]'=variable.locale?"'"+variable.locale+"'":undefined '[dateRange]'!=(variable.dateRange||variable.dateRange==false)?variable.dateRange+"":undefined '[showTime]'=(variable.showTime || variable.showTime==false)?variable.showTime+"":undefined '[showType]'=(variable.showType || variable.showType==false)?""+variable.showType:undefined '[dateFormat]'!=variable.dateFormat?"'"+variable.dateFormat+"'":undefined '[disableDateRangesBegin]'!=variable.disableDateRangesBegin?variable.disableDateRangesBegin:undefined '[disableDateRangesEnd]'!=variable.disableDateRangesEnd?variable.disableDateRangesEnd:undefined '[disableDates]'!=variable.disableDates?variable.disableDates:undefined '[showWeekNumbers]'=(variable.showWeekNumbers || variable.showWeekNumbers==false)?variable.showWeekNumbers+"":undefined '[dateRangeDatesDelimiter]'!=variable.dateRangeDatesDelimiter?"'"+variable.dateRangeDatesDelimiter+"'":undefined '[shortcuts]'!=variable.shortcuts?variable.shortcuts:undefined '[returnType]'=variable.returnType?"'"+variable.returnType+"'":undefined '[useDefault]'=(variable.useDefault || variable.useDefault==false)?variable.useDefault.toString():undefined '[returnFormat]'=variable.returnFormat?"'"+variable.returnFormat+"'":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 '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[inputAppendControlType]'=variable.originalType?"'"+variable.originalType+"'":undefined )&attributes(attrs)
34
- if (variable.needValid && variable.binding && variable.binding.path)
35
- -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
36
- validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
37
34
  div(class="farris-feedback")
38
35
  if(variable.isTextArea)
39
36
  -var areaAttrs = {};
@@ -47,7 +44,7 @@ div(class="farris-input-wrap")
47
44
  else if (variable.includeInLoopContainer==false)
48
45
  -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
49
46
  else
50
- -areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
47
+ -areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
51
48
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
52
49
  farris-text('[type]'="'date'" '[localization]'=variable.localization?""+true:undefined '[localizationType]'=variable.localization?"'"+variable.localizationType+"'":undefined "farris-text-localization"=variable.localization?"":undefined '[showTime]'=(variable.showTime || variable.showTime== false)?""+variable.showTime:undefined '[showType]'=(variable.showType || variable.showType==false)?""+variable.showType:undefined '[format]'=variable.dateFormat?"'"+variable.dateFormat+"'":undefined '[dateRange]'!=(variable.dateRange||variable.dateRange==false)?variable.dateRange+"":undefined '[dateRangeDelimiter]'!=variable.dateRangeDatesDelimiter?"'"+variable.dateRangeDatesDelimiter+"'":undefined '[inputAppendControlType]'="'StaticText'" '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
53
50
  if(variable.titleTipsTemplate)
@@ -8,7 +8,7 @@ div(class="farris-input-wrap")
8
8
  else if (variable.includeInLoopContainer==false)
9
9
  -attrs['formControlName'] = (variable.binding && variable.binding.path);
10
10
  else
11
- -attrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
11
+ -attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
12
12
  -attrs['name'] = variable.replacedId;
13
13
  -attrs['[ngModelOptions]'] = "{standalone:true}";
14
14
  if(variable.isTextArea)
@@ -23,9 +23,6 @@ div(class="farris-input-wrap")
23
23
  if(variable.focusState)
24
24
  -attrs["[focusState]"]=variable.focusState+"";
25
25
  farris-number-range(id=variable.replacedId "input-end-edit" '[disabled]'!=variable.disable?variable.disable:undefined '[editable]'=(variable.editable || variable.editable==false)?variable.editable+"":undefined '[readonly]'!=variable.readonly ?""+variable.readonly.value:undefined '[precision]'=(variable.precision || variable.precision == 0)?variable.precision+"":undefined '[textAlign]'=variable.textAlign?"'"+variable.textAlign+"'":undefined '[useThousands]'=(variable.useThousands || variable.useThousands==false)?variable.useThousands+"":undefined '[step]'=(variable.step || variable.step == 0)?variable.step+"":undefined '[min]'=(variable.minValue||variable.minValue==0)?variable.minValue+"":undefined '[max]'=(variable.maxValue||variable.maxValue==0)?variable.maxValue+"":undefined '[formatter]'=variable.formatterName?variable.formatterName:undefined '[parser]'=variable.parserName?variable.parserName:undefined '(valueChange)'=variable.onChange?variable.onChange:undefined '(blur)'=variable.onBlur?variable.onBlur: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 '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[inputAppendControlType]'=variable.originalType?"'"+variable.originalType+"'":undefined )&attributes(attrs)
26
- if (variable.needValid && variable.binding && variable.binding.path)
27
- -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
28
- validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
29
26
  div(class="farris-feedback")
30
27
  if(variable.isTextArea)
31
28
  -var areaAttrs = {};
@@ -39,7 +36,7 @@ div(class="farris-input-wrap")
39
36
  else if (variable.includeInLoopContainer==false)
40
37
  -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
41
38
  else
42
- -areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
39
+ -areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
43
40
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
44
41
  farris-text('[type]'="'number'" '[textAlign]'=variable.textAlign?"'"+variable.textAlign+"'":undefined '[inputAppendControlType]'="'StaticText'" '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
45
42
  if(variable.titleTipsTemplate)
@@ -8,7 +8,7 @@ div(class="farris-input-wrap")
8
8
  else if (variable.includeInLoopContainer==false)
9
9
  -attrs['formControlName'] = (variable.binding && variable.binding.path);
10
10
  else
11
- -attrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
11
+ -attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
12
12
  -attrs['name'] = variable.replacedId;
13
13
  -attrs['[ngModelOptions]'] = "{standalone:true}";
14
14
  if(variable.isTextArea)
@@ -22,9 +22,6 @@ div(class="farris-input-wrap")
22
22
  if(variable.focusState)
23
23
  -attrs["[focusState]"]=variable.focusState+"";
24
24
  farris-number-spinner(id=variable.replacedId "input-end-edit" '[disabled]'!=variable.disable?variable.disable:undefined '[editable]'=(variable.editable || variable.editable==false)?variable.editable+"":undefined '[readonly]'!=variable.readonly?""+variable.readonly.value:undefined '[useThousands]'=(variable.useThousands || variable.useThousands==false)?variable.useThousands+"":undefined '[textAlign]'=variable.textAlign?"'"+variable.textAlign+"'":undefined '[step]'=(variable.step || variable.step == 0)?variable.step+"":undefined '[min]'=(variable.minValue||variable.minValue==0)?variable.minValue+"":undefined '[max]'=(variable.maxValue||variable.maxValue==0)?variable.maxValue+"":undefined '[formatter]'=variable.formatterName?variable.formatterName:undefined '[parser]'=variable.parserName?variable.parserName:undefined '[precision]'=(variable.precision || variable.precision == 0)?variable.precision+"":undefined '(valueChange)'=variable.valueChange?variable.valueChange:undefined '(blur)'=variable.onBlur?variable.onBlur:undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[canNull]'=(variable.canNull||variable.canNull==false)?""+variable.canNull:undefined '[bigNumber]'=(variable.bigNumber||variable.bigNumber==false)?""+variable.bigNumber: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 '[showZero]'=variable.showZero?""+variable.showZero.value:undefined '[showButton]'=variable.showButton?""+variable.showButton.value:undefined '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[inputAppendControlType]'=variable.originalType?"'"+variable.originalType+"'":undefined )&attributes(attrs)
25
- if (variable.needValid && variable.binding && variable.binding.path)
26
- -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
27
- validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
28
25
  div(class="farris-feedback")
29
26
  if(variable.isTextArea)
30
27
  -var areaAttrs = {};
@@ -38,7 +35,7 @@ div(class="farris-input-wrap")
38
35
  else if (variable.includeInLoopContainer==false)
39
36
  -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
40
37
  else
41
- -areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
38
+ -areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
42
39
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
43
40
  farris-text('[type]'="'number'" '[format]'=variable.format?"'"+variable.format+"'":undefined '[textAlign]'=variable.textAlign?"'"+variable.textAlign+"'":undefined '[option]'=variable.textOptionsName?variable.textOptionsName:undefined '[inputAppendControlType]'="'StaticText'" '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
44
41
  if(variable.titleTipsTemplate)
@@ -1,5 +1,5 @@
1
1
  div(class="farris-label-wrap")
2
2
  label(class="col-form-label")
3
- span(class="farris-label-info text-danger" '*ngIf'=variable.require?variable.require.value:undefined)
3
+ span(class="farris-label-info text-danger" '*ngIf'=variable.require?""+variable.require.value:undefined) *
4
4
  span(class="farris-label-text")
5
5
  |#{variable.text}
@@ -8,7 +8,7 @@ div(class="farris-input-wrap")
8
8
  else if (variable.includeInLoopContainer==false)
9
9
  -attrs['formControlName'] = (variable.binding && variable.binding.path);
10
10
  else
11
- -attrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
11
+ -attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
12
12
  -attrs['name'] = variable.replacedId;
13
13
  -attrs['[ngModelOptions]'] = "{standalone:true}";
14
14
  if(variable.isTextArea)
@@ -21,9 +21,6 @@ div(class="farris-input-wrap")
21
21
  if(variable.focusState)
22
22
  -attrs["[focusState]"]=variable.focusState+"";
23
23
  farris-switch(id=variable.replacedId "input-end-edit" '[disabled]'!=variable.disable?variable.disable:undefined '[editable]'!=variable.readonly?"!("+variable.readonly.value+")":undefined '[square]'=variable.square?""+variable.square:undefined '[checkedLabel]'=variable.checkedLabel?"'"+variable.checkedLabel+"'":undefined '[uncheckedLabel]'=variable.uncheckedLabel?"'"+variable.uncheckedLabel+"'":undefined '(valueChange)'=variable.valueChange?variable.valueChange:undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[inputAppendControlType]'=variable.originalType?"'"+variable.originalType+"'":undefined )&attributes(attrs)
24
- if (variable.needValid && variable.binding && variable.binding.path)
25
- -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
26
- validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
27
24
  div(class="farris-feedback")
28
25
  if(variable.isTextArea)
29
26
  -var areaAttrs = {};
@@ -37,7 +34,7 @@ div(class="farris-input-wrap")
37
34
  else if (variable.includeInLoopContainer==false)
38
35
  -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
39
36
  else
40
- -areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
37
+ -areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
41
38
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
42
39
  farris-text('[type]'="'boolean'" '[inputAppendControlType]'="'StaticText'" '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
43
40
  if(variable.titleTipsTemplate)
@@ -8,7 +8,7 @@ div(class="farris-input-wrap")
8
8
  else if (variable.includeInLoopContainer==false)
9
9
  -attrs['formControlName'] = (variable.binding && variable.binding.path);
10
10
  else
11
- -attrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
11
+ -attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
12
12
  -attrs['name'] = variable.replacedId;
13
13
  -attrs['[ngModelOptions]'] = "{standalone:true}";
14
14
  if (variable.valueChange)
@@ -26,9 +26,6 @@ div(class="farris-input-wrap")
26
26
  if(variable.focusState)
27
27
  -attrs["[focusState]"]=variable.focusState+"";
28
28
  farris-time-picker(id=variable.replacedId "input-end-edit" '[disabled]'!=variable.disable?variable.disable.toString():undefined '[readonly]'!=variable.readonly?""+variable.readonly.value:undefined '[editable]'=(variable.editable||variable.editable==false)?variable.editable.toString():undefined '[hourStep]'=variable.hourStep?variable.hourStep.toString():undefined '[minuteStep]'=variable.minuteStep?variable.minuteStep.toString():undefined '[secondStep]'=variable.secondStep?variable.secondStep.toString():undefined '[format]'=variable.format?"'"+variable.format+"'":undefined '[hideDisabledOptions]'=(variable.hideDisabledOptions || variable.hideDisabledOptions==false)?variable.hideDisabledOptions.toString():undefined '(clear)'=variable.clear?variable.clear:undefined '(valueChanged)'=variable.valueChanged?variable.valueChanged.toString():undefined '(openChange)'=variable.openChange?variable.openChange.toString():undefined '[use12Hours]'=(variable.use12Hours || variable.use12Hours==false)?variable.use12Hours+"":undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[inputAppendControlType]'=variable.originalType?"'"+variable.originalType+"'":undefined )&attributes(attrs)
29
- if (variable.needValid && variable.binding && variable.binding.path)
30
- -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
31
- validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
32
29
  div(class="farris-feedback")
33
30
  if(variable.isTextArea)
34
31
  -var areaAttrs = {};
@@ -42,7 +39,7 @@ div(class="farris-input-wrap")
42
39
  else if (variable.includeInLoopContainer==false)
43
40
  -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
44
41
  else
45
- -areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
42
+ -areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
46
43
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
47
44
  farris-text('[type]'="'date'" '[showTime]'=(variable.showTime || variable.showTime== false)?""+variable.showTime:undefined '[format]'=variable.format?"'"+variable.format+"'":undefined '[inputAppendControlType]'="'StaticText'" '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
48
45
  if(variable.titleTipsTemplate)
@@ -8,7 +8,7 @@ div(class="farris-input-wrap")
8
8
  else if (variable.includeInLoopContainer==false)
9
9
  -attrs['formControlName'] = (variable.binding && variable.binding.path);
10
10
  else
11
- -attrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
11
+ -attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
12
12
  -attrs['name'] = variable.replacedId;
13
13
  -attrs['[ngModelOptions]'] = "{standalone:true}";
14
14
  if(variable.hasDefaultFocus)
@@ -16,9 +16,6 @@ div(class="farris-input-wrap")
16
16
  if(variable.focusState)
17
17
  -attrs["[focusState]"]=variable.focusState+"";
18
18
  farris-time-spinner(id=variable.replacedId "input-end-edit" '[disabled]'!=(variable.disable||variable.disable==false)?variable.disable+"":undefined '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined '[editable]'=(variable.editable||variable.editable==false)?variable.editable+"":undefined '[use12Hours]'=(variable.use12Hours||variable.use12Hours==false)?variable.use12Hours+"":undefined '[format]'=variable.format?"'"+variable.format+"'":undefined '[placeHolder]'=variable.placeHolderLangName?variable.placeHolderLangName:undefined '[hourStep]'=(variable.hourStep||variable.hourStep==0)?"'"+variable.hourStep+"'":undefined '[minuteStep]'=(variable.minuteStep||variable.minuteStep==0)?"'"+variable.minuteStep+"'":undefined '[secondStep]'=(variable.secondStep||variable.secondStep==0)?"'"+variable.secondStep+"'":undefined '[max]'=variable.maxValue?"'"+variable.maxValue+"'":undefined '[min]'=variable.minValue?"'"+variable.minValue+"'":undefined '[disabledSeconds]'=(variable.disabledSeconds||variable.disabledSeconds==false)?variable.disabledSeconds+"":undefined '[separator]'=variable.splitter?"'"+variable.splitter+"'":undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[inputAppendControlType]'=variable.originalType?"'"+variable.originalType+"'":undefined )&attributes(attrs)
19
- if (variable.needValid && variable.binding && variable.binding.path)
20
- -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
21
- validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
22
19
  div(class="farris-feedback")
23
20
  if(variable.titleTipsTemplate)
24
21
  span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
@@ -7,7 +7,7 @@ if (variable.binding && variable.binding.type == 'Variable')
7
7
  else if (variable.includeInLoopContainer==false)
8
8
  -attrs['formControlName'] = (variable.binding && variable.binding.path);
9
9
  else
10
- -attrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
10
+ -attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
11
11
  -attrs['name'] = variable.replacedId;
12
12
  -attrs['[ngModelOptions]'] = "{standalone:true}";
13
13
  if(variable.isTextArea)
@@ -21,9 +21,6 @@ if(variable.hasDefaultFocus)
21
21
  -attrs["[focusState]"]=variable.focusState+"";
22
22
  div('class'='farris-input-wrap')
23
23
  input-group(id=variable.replacedId?""+variable.replacedId:undefined '[groupText]'=variable.groupTextLangName?""+variable.groupTextLangName:undefined "input-end-edit" '[disabled]'!=variable.disable?variable.disable+"":undefined '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined '[editable]'=(variable.editable || variable.editable == false)?variable.editable+"":undefined '[enableClear]'=variable.enableClear?variable.enableClear+"":undefined '[customCls]'=variable.customCls?"'"+variable.customCls+"'":undefined '[showButtonWhenDisabled]'=variable.showButtonWhenDisabled?variable.showButtonWhenDisabled+"":undefined '[placeholder]'=variable.placeHolderLangName?""+variable.placeHolderLangName:undefined '(clear)'=variable.onClear?variable.onClear:undefined '(valueChange)'=variable.valueChange?variable.valueChange+"":undefined '(clickHandle)'=variable.click?variable.click+"":undefined '(blurHandle)'=variable.onBlur?variable.onBlur+"":undefined '[isPassword]'=(variable.isPassword || variable.isPassword == false)?""+variable.isPassword:undefined '[enableViewPassword]'=(variable.enableViewPassword || variable.enableViewPassword == false)?""+variable.enableViewPassword:undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[inputAppendControlType]'=variable.originalType?"'"+variable.originalType+"'":undefined )&attributes(attrs)
24
- if (variable.needValid && variable.binding && variable.binding.path)
25
- -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
26
- validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
27
24
  if(variable.isTextArea)
28
25
  -var areaAttrs = {};
29
26
  if(variable.readonly && variable.readonly.isComposite)
@@ -36,7 +33,7 @@ div('class'='farris-input-wrap')
36
33
  else if (variable.includeInLoopContainer==false)
37
34
  -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
38
35
  else
39
- -areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
36
+ -areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
40
37
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
41
38
  farris-text('[type]'="'string'" '[isPassword]'=(variable.isPassword || variable.isPassword == false)?""+variable.isPassword:undefined '[inputAppendControlType]'="'StaticText'" '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
42
39
  if(variable.titleTipsTemplate)
@@ -8,7 +8,7 @@ div(class="farris-input-wrap")
8
8
  else if (variable.includeInLoopContainer==false)
9
9
  -attrs['formControlName'] = (variable.binding && variable.binding.path);
10
10
  else
11
- -attrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
11
+ -attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
12
12
  -attrs['name'] = variable.replacedId;
13
13
  -attrs['[ngModelOptions]'] = "{standalone:true}";
14
14
  if (variable.valueChange)
@@ -25,9 +25,6 @@ div(class="farris-input-wrap")
25
25
  if(variable.focusState)
26
26
  -attrs["[focusState]"]=variable.focusState+"";
27
27
  language-textbox(id=variable.replacedId "input-end-edit" '[disabled]'!=variable.disable?variable.disable.toString():undefined '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined '[languages]'=variable.useFrameworkLanguage?""+variable.currentLanguageListName:variable.currentLanguageListName '[enableClear]'=(variable.enableClear || variable.enableClear == false)?""+variable.enableClear:undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined '[editable]'=variable.editable?""+variable.editable.value:undefined '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[inputAppendControlType]'=variable.originalType?"'"+variable.originalType+"'":undefined )&attributes(attrs)
28
- if (variable.needValid && variable.binding && variable.binding.path)
29
- -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
30
- validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
31
28
  div(class="farris-feedback")
32
29
  if(variable.isTextArea)
33
30
  -var areaAttrs = {};
@@ -41,7 +38,7 @@ div(class="farris-input-wrap")
41
38
  else if (variable.includeInLoopContainer==false)
42
39
  -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
43
40
  else
44
- -areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.binding && variable.binding.path);
41
+ -areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
45
42
  -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
46
43
  farris-text('[type]'="'string'" '[currentLanguage]'="this.lang" '[inputAppendControlType]'="'StaticText'" '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
47
44
  if(variable.titleTipsTemplate)