@farris/jit-engine 1.3.325 → 1.3.327

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 (32) hide show
  1. package/README.md +4 -0
  2. package/lib/domstructure/ui/farris-fileupload-preview/farris-file-upload-preview.js +176 -176
  3. package/lib/domstructure/ui/farris-fileupload-preview/farris-file-upload-preview.js.map +1 -1
  4. package/lib/domstructure/ui/farris-fileupload-preview/index.js +13 -13
  5. package/lib/template/ui/kendo/farris-file-upload-preview.pug +48 -48
  6. package/lib/template/ui/kendo/language-textbox.pug +92 -92
  7. package/lib/template/ui/kendo/table/language-textbox.pug +50 -50
  8. package/lib/template/ui/mobilevue/calendar-input.pug +4 -3
  9. package/lib/template/ui/mobilevue/checkbox-group.pug +4 -3
  10. package/lib/template/ui/mobilevue/custom-box.pug +4 -3
  11. package/lib/template/ui/mobilevue/date-time-picker.pug +4 -3
  12. package/lib/template/ui/mobilevue/lookup-department.pug +4 -3
  13. package/lib/template/ui/mobilevue/lookup-employee.pug +4 -3
  14. package/lib/template/ui/mobilevue/lookup-input.pug +4 -3
  15. package/lib/template/ui/mobilevue/number.pug +4 -3
  16. package/lib/template/ui/mobilevue/picker-area.pug +4 -3
  17. package/lib/template/ui/mobilevue/picker-city.pug +4 -3
  18. package/lib/template/ui/mobilevue/picker-relation.pug +4 -3
  19. package/lib/template/ui/mobilevue/picker.pug +4 -3
  20. package/lib/template/ui/mobilevue/radio-group.pug +4 -3
  21. package/lib/template/ui/mobilevue/rich-text-editor.pug +4 -3
  22. package/lib/template/ui/mobilevue/switch.pug +4 -3
  23. package/lib/template/ui/mobilevue/text-area.pug +4 -3
  24. package/lib/template/ui/mobilevue/text-box-external.pug +4 -3
  25. package/lib/template/ui/mobilevue/text-box.pug +4 -3
  26. package/lib/template/ui/mobilevue/text-scan.pug +4 -3
  27. package/lib/template/ui/mobilevue/text-telphone.pug +4 -3
  28. package/lib/utility/devkit/component-parameter-collector/query-schema-collector.js +247 -247
  29. package/lib/utility/devkit/component-parameter-collector/query-schema-collector.js.map +1 -1
  30. package/lib/utility/devkit/component-parameter-collector/toolbar-collector.js +114 -114
  31. package/lib/utility/devkit/component-parameter-collector/toolbar-collector.js.map +1 -1
  32. package/package.json +1 -1
@@ -1,92 +1,92 @@
1
- -var holdPlaceOuterAttrs = {};
2
- -var holdPlaceInnerAttrs = {};
3
- -var holdPlaceEmptyAttrs = {};
4
- if(variable.holdPlace)
5
- -holdPlaceInnerAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
6
- -holdPlaceEmptyAttrs['*ngIf']=variable.visible?variable.visiblePipeSuffix?'!'+variable.visible.value+variable.visiblePipeSuffix+'':'!'+variable.visible.value+'':undefined;
7
- else
8
- -holdPlaceOuterAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
9
- div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
10
- if(variable.holdPlace)
11
- div(class="f-empty-input-placeholder")&attributes(holdPlaceEmptyAttrs)
12
- div(class="farris-group-wrap")&attributes(holdPlaceInnerAttrs)
13
- div(class="form-group farris-form-group" '[ngClass]'="{'form-group--has-tips':"+(variable.enableTitleTips?variable.enableTitleTips:false)+"}")
14
- if (variable.title)
15
- -var titleValue=variable.isStaticTitle?("'" + variable.resourceId + "'|lang:lang:'"+variable.defaultI18nValue+"'"):variable.dynamicTitleValue;
16
- if(variable.linkedLabelEnabled)
17
- 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)
18
- if (variable.require)
19
- span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
20
- span(class="farris-label-text") {{#{titleValue}}}
21
- else
22
- label(class="col-form-label" title="{{"+titleValue+"}}" for=variable.replacedId '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined)
23
- if (variable.require)
24
- span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
25
- span(class="farris-label-text") {{#{titleValue}}}
26
- div(class="farris-input-wrap")
27
- -var attrs = {};
28
- if (variable.binding && variable.binding.type == 'Variable')
29
- -attrs['[(ngModel)]'] = variable.binding.value;
30
- -attrs['name'] = variable.replacedId;
31
- -attrs['[ngModelOptions]'] = "{standalone:true}";
32
- else
33
- -attrs['formControlName'] = (variable.binding && variable.binding.path);
34
- if (variable.valueChange)
35
- -attrs['(valueChange)'] = variable.valueChange ;
36
-
37
- //-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
38
- if(variable.isTextArea)
39
- if(variable.readonly && variable.readonly.isComposite)
40
- -attrs["*ngIf"]="!"+variable.readonly.value;
41
- else
42
- -attrs["*ngIf"]="viewModel.stateMachine['editable']";
43
- if(variable.hasDefaultFocus)
44
- -attrs["farris-set-focus"]="";
45
- if(variable.focusState)
46
- -attrs["[focusState]"]=variable.focusState+"";
47
- language-textbox(id=variable.replacedId "input-end-edit" '[disabled]'!=variable.disable?variable.disable.toString():undefined
48
- '[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"":undefined
49
- '[languages]'=variable.useFrameworkLanguage?""+variable.currentLanguageListName:variable.currentLanguageListName
50
- '[enableClear]'=(variable.enableClear || variable.enableClear == false)?""+variable.enableClear:undefined
51
- '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
52
- '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
53
- 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
54
- '[editable]'=variable.editable?""+variable.editable.value:undefined
55
- '[showDisabledItem]'=variable.showDisabledItem?""+variable.showDisabledItem.value:undefined
56
- '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
57
- '[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
58
- '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
59
- '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
60
- '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
61
- '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
62
- '[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
63
- if (variable.needValid && variable.binding && variable.binding.path)
64
- -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
65
- validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
66
- div(class="farris-feedback")
67
- if(variable.isTextArea)
68
- -var areaAttrs = {};
69
- if(variable.readonly && variable.readonly.isComposite)
70
- -areaAttrs["*ngIf"]=variable.readonly.value;
71
- else
72
- -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
73
- if (variable.binding && variable.binding.type == 'Variable')
74
- -areaAttrs['[(ngModel)]'] = variable.binding.value;
75
- -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
76
- else
77
- -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
78
- farris-text('[type]'="'string'" '[currentLanguage]'="this.lang" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
79
- '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined
80
- '[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
81
- '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
82
- '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
83
- '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
84
- '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
85
- '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
86
- if(variable.titleTipsTemplate)
87
- span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
88
- i(class="f-icon f-icon-description-tips")
89
- -var tipsAttrs= {};
90
- -tipsAttrs['#'+variable.titleTipsTemplateName] = "";
91
- ng-template()&attributes(tipsAttrs)
92
- | !{variable.titleTipsTemplate}
1
+ -var holdPlaceOuterAttrs = {};
2
+ -var holdPlaceInnerAttrs = {};
3
+ -var holdPlaceEmptyAttrs = {};
4
+ if(variable.holdPlace)
5
+ -holdPlaceInnerAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
6
+ -holdPlaceEmptyAttrs['*ngIf']=variable.visible?variable.visiblePipeSuffix?'!'+variable.visible.value+variable.visiblePipeSuffix+'':'!'+variable.visible.value+'':undefined;
7
+ else
8
+ -holdPlaceOuterAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
9
+ div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
10
+ if(variable.holdPlace)
11
+ div(class="f-empty-input-placeholder")&attributes(holdPlaceEmptyAttrs)
12
+ div(class="farris-group-wrap")&attributes(holdPlaceInnerAttrs)
13
+ div(class="form-group farris-form-group" '[ngClass]'="{'form-group--has-tips':"+(variable.enableTitleTips?variable.enableTitleTips:false)+"}")
14
+ if (variable.title)
15
+ -var titleValue=variable.isStaticTitle?("'" + variable.resourceId + "'|lang:lang:'"+variable.defaultI18nValue+"'"):variable.dynamicTitleValue;
16
+ if(variable.linkedLabelEnabled)
17
+ 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)
18
+ if (variable.require)
19
+ span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
20
+ span(class="farris-label-text") {{#{titleValue}}}
21
+ else
22
+ label(class="col-form-label" title="{{"+titleValue+"}}" for=variable.replacedId '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined)
23
+ if (variable.require)
24
+ span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
25
+ span(class="farris-label-text") {{#{titleValue}}}
26
+ div(class="farris-input-wrap")
27
+ -var attrs = {};
28
+ if (variable.binding && variable.binding.type == 'Variable')
29
+ -attrs['[(ngModel)]'] = variable.binding.value;
30
+ -attrs['name'] = variable.replacedId;
31
+ -attrs['[ngModelOptions]'] = "{standalone:true}";
32
+ else
33
+ -attrs['formControlName'] = (variable.binding && variable.binding.path);
34
+ if (variable.valueChange)
35
+ -attrs['(valueChange)'] = variable.valueChange ;
36
+
37
+ - attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
38
+ if(variable.isTextArea)
39
+ if(variable.readonly && variable.readonly.isComposite)
40
+ -attrs["*ngIf"]="!"+variable.readonly.value;
41
+ else
42
+ -attrs["*ngIf"]="viewModel.stateMachine['editable']";
43
+ if(variable.hasDefaultFocus)
44
+ -attrs["farris-set-focus"]="";
45
+ if(variable.focusState)
46
+ -attrs["[focusState]"]=variable.focusState+"";
47
+ language-textbox(id=variable.replacedId "input-end-edit" '[disabled]'!=variable.disable?variable.disable.toString():undefined
48
+ '[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"":undefined
49
+ '[languages]'=variable.useFrameworkLanguage?""+variable.currentLanguageListName:variable.currentLanguageListName
50
+ '[enableClear]'=(variable.enableClear || variable.enableClear == false)?""+variable.enableClear:undefined
51
+ '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
52
+ '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
53
+ 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
54
+ '[editable]'=variable.editable?""+variable.editable.value:undefined
55
+ '[showDisabledItem]'=variable.showDisabledItem?""+variable.showDisabledItem.value:undefined
56
+ '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
57
+ '[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
58
+ '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
59
+ '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
60
+ '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
61
+ '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
62
+ '[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
63
+ if (variable.needValid && variable.binding && variable.binding.path)
64
+ -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
65
+ validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
66
+ div(class="farris-feedback")
67
+ if(variable.isTextArea)
68
+ -var areaAttrs = {};
69
+ if(variable.readonly && variable.readonly.isComposite)
70
+ -areaAttrs["*ngIf"]=variable.readonly.value;
71
+ else
72
+ -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
73
+ if (variable.binding && variable.binding.type == 'Variable')
74
+ -areaAttrs['[(ngModel)]'] = variable.binding.value;
75
+ -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
76
+ else
77
+ -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
78
+ farris-text('[type]'="'string'" '[currentLanguage]'="this.lang" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
79
+ '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined
80
+ '[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
81
+ '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
82
+ '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
83
+ '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
84
+ '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
85
+ '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
86
+ if(variable.titleTipsTemplate)
87
+ span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
88
+ i(class="f-icon f-icon-description-tips")
89
+ -var tipsAttrs= {};
90
+ -tipsAttrs['#'+variable.titleTipsTemplateName] = "";
91
+ ng-template()&attributes(tipsAttrs)
92
+ | !{variable.titleTipsTemplate}
@@ -1,50 +1,50 @@
1
-
2
- div(class="farris-input-wrap")
3
- -var attrs = {};
4
- if (variable.binding && variable.binding.type == 'Variable')
5
- -attrs['[(ngModel)]'] = variable.binding.value;
6
- -attrs['name'] = variable.replacedId;
7
- -attrs['[ngModelOptions]'] = "{standalone:true}";
8
- else if (variable.includeInLoopContainer==false)
9
- -attrs['formControlName'] = (variable.binding && variable.binding.path);
10
- else
11
- -attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
12
- -attrs['name'] = variable.replacedId;
13
- -attrs['[ngModelOptions]'] = "{standalone:true}";
14
- if (variable.valueChange)
15
- -attrs['(valueChange)'] = variable.valueChange ;
16
-
17
- //-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
18
- if(variable.isTextArea)
19
- if(variable.readonly && variable.readonly.isComposite)
20
- -attrs["*ngIf"]="!"+variable.readonly.value;
21
- else
22
- -attrs["*ngIf"]="viewModel.stateMachine['editable']";
23
- if(variable.hasDefaultFocus)
24
- -attrs["farris-set-focus"]="";
25
- if(variable.focusState)
26
- -attrs["[focusState]"]=variable.focusState+"";
27
- language-textbox(id=variable.replacedId "input-end-edit" '[disabled]'!=variable.disable?variable.disable.toString():undefined '[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":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.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
28
- div(class="farris-feedback")
29
- if(variable.isTextArea)
30
- -var areaAttrs = {};
31
- if(variable.readonly && variable.readonly.isComposite)
32
- -areaAttrs["*ngIf"]=variable.readonly.value;
33
- else
34
- -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
35
- if (variable.binding && variable.binding.type == 'Variable')
36
- -areaAttrs['[(ngModel)]'] = variable.binding.value;
37
- -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
38
- else if (variable.includeInLoopContainer==false)
39
- -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
40
- else
41
- -areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
42
- -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
43
- farris-text('[type]'="'string'" '[currentLanguage]'="this.lang" '[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined )&attributes(areaAttrs)
44
- if(variable.titleTipsTemplate)
45
- span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
46
- i(class="f-icon f-icon-description-tips")
47
- -var tipsAttrs= {};
48
- -tipsAttrs['#'+variable.titleTipsTemplateName] = "";
49
- ng-template()&attributes(tipsAttrs)
50
- | !{variable.titleTipsTemplate}
1
+
2
+ div(class="farris-input-wrap")
3
+ -var attrs = {};
4
+ if (variable.binding && variable.binding.type == 'Variable')
5
+ -attrs['[(ngModel)]'] = variable.binding.value;
6
+ -attrs['name'] = variable.replacedId;
7
+ -attrs['[ngModelOptions]'] = "{standalone:true}";
8
+ else if (variable.includeInLoopContainer==false)
9
+ -attrs['formControlName'] = (variable.binding && variable.binding.path);
10
+ else
11
+ -attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
12
+ -attrs['name'] = variable.replacedId;
13
+ -attrs['[ngModelOptions]'] = "{standalone:true}";
14
+ if (variable.valueChange)
15
+ -attrs['(valueChange)'] = variable.valueChange ;
16
+
17
+ -attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
18
+ if(variable.isTextArea)
19
+ if(variable.readonly && variable.readonly.isComposite)
20
+ -attrs["*ngIf"]="!"+variable.readonly.value;
21
+ else
22
+ -attrs["*ngIf"]="viewModel.stateMachine['editable']";
23
+ if(variable.hasDefaultFocus)
24
+ -attrs["farris-set-focus"]="";
25
+ if(variable.focusState)
26
+ -attrs["[focusState]"]=variable.focusState+"";
27
+ language-textbox(id=variable.replacedId "input-end-edit" '[disabled]'!=variable.disable?variable.disable.toString():undefined '[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":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.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
28
+ div(class="farris-feedback")
29
+ if(variable.isTextArea)
30
+ -var areaAttrs = {};
31
+ if(variable.readonly && variable.readonly.isComposite)
32
+ -areaAttrs["*ngIf"]=variable.readonly.value;
33
+ else
34
+ -areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
35
+ if (variable.binding && variable.binding.type == 'Variable')
36
+ -areaAttrs['[(ngModel)]'] = variable.binding.value;
37
+ -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
38
+ else if (variable.includeInLoopContainer==false)
39
+ -areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
40
+ else
41
+ -areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
42
+ -areaAttrs['[ngModelOptions]'] = "{standalone:true}";
43
+ farris-text('[type]'="'string'" '[currentLanguage]'="this.lang" '[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined )&attributes(areaAttrs)
44
+ if(variable.titleTipsTemplate)
45
+ span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
46
+ i(class="f-icon f-icon-description-tips")
47
+ -var tipsAttrs= {};
48
+ -tipsAttrs['#'+variable.titleTipsTemplateName] = "";
49
+ ng-template()&attributes(tipsAttrs)
50
+ | !{variable.titleTipsTemplate}
@@ -3,8 +3,9 @@
3
3
  -attrs.class = variable.appearance && variable.appearance.class;
4
4
  -attrs.style = variable.appearance && variable.appearance.style;
5
5
  -attrs.id = variable.replacedId? String(variable.replacedId) : undefined
6
- -attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
7
- -attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
6
+ -var divAttrs = {};
7
+ -divAttrs.ref = variable.replacedId? String(variable.replacedId+"_div") : undefined
8
+ -divAttrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
8
9
  -var visible = variable.visible ? String(variable.visible.value) : 'false';
9
10
  -var require = variable.require ? String(variable.require.value) : undefined;
10
11
  -var readonly = variable.readonly ? String(variable.readonly.value) : undefined;
@@ -17,7 +18,7 @@
17
18
  div(
18
19
  v-if=visible
19
20
  class="fm-input-wrapper"
20
- )
21
+ )&attributes(divAttrs)
21
22
  fm-calendar-input(
22
23
  v-model=binding
23
24
  :label = variable.title? variable.i18nTitle : undefined
@@ -2,8 +2,9 @@
2
2
  -var attrs = {};
3
3
  -attrs.class = variable.appearance && variable.appearance.class;
4
4
  -attrs.style = variable.appearance && variable.appearance.style;
5
- -attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
6
- -attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
5
+ -var divAttrs = {};
6
+ -divAttrs.ref = variable.replacedId? String(variable.replacedId+"_div") : undefined
7
+ -divAttrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
7
8
  -var checkerStyle = variable.checkerWidth ? { width: variable.checkerWidth + 'px' } : undefined
8
9
  -var visible = variable.visible ? String(variable.visible.value) : 'false';
9
10
  -var require = variable.require ? String(variable.require.value) : undefined;
@@ -18,7 +19,7 @@
18
19
  div(
19
20
  v-if=visible
20
21
  class="fm-input-wrapper"
21
- )
22
+ )&attributes(divAttrs)
22
23
  fm-input(
23
24
  center
24
25
  :required=require
@@ -3,8 +3,9 @@
3
3
  -attrs.class = variable.appearance && variable.appearance.class;
4
4
  -attrs.style = variable.appearance && variable.appearance.style;
5
5
  -attrs.id = variable.replacedId? String(variable.replacedId) : undefined
6
- -attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
7
- -attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
6
+ -var divAttrs = {};
7
+ -divAttrs.ref = variable.replacedId? String(variable.replacedId+"_div") : undefined
8
+ -divAttrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
8
9
  -var visible = variable.visible ? String(variable.visible.value) : 'false';
9
10
  -var require = variable.require ? String(variable.require.value) : undefined;
10
11
  -var readonly = variable.readonly ? String(variable.readonly.value) : undefined;
@@ -17,7 +18,7 @@
17
18
  div(
18
19
  v-if=visible
19
20
  class="fm-input-wrapper"
20
- )
21
+ )&attributes(divAttrs)
21
22
  component(
22
23
  v-model=binding
23
24
  :label = variable.title? variable.i18nTitle : undefined
@@ -3,8 +3,9 @@
3
3
  -attrs.class = variable.appearance && variable.appearance.class;
4
4
  -attrs.style = variable.appearance && variable.appearance.style;
5
5
  -attrs.id = variable.replacedId? String(variable.replacedId) : undefined
6
- -attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
7
- -attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
6
+ -var divAttrs = {};
7
+ -divAttrs.ref = variable.replacedId? String(variable.replacedId+"_div") : undefined
8
+ -divAttrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
8
9
  -var visible = variable.visible ? String(variable.visible.value) : 'false';
9
10
  -var require = variable.require ? String(variable.require.value) : undefined;
10
11
  -var readonly = variable.readonly ? String(variable.readonly.value) : undefined;
@@ -18,7 +19,7 @@
18
19
  div(
19
20
  v-if=visible
20
21
  class="fm-input-wrapper"
21
- )
22
+ )&attributes(divAttrs)
22
23
  fm-datetime-picker(
23
24
  v-model=binding
24
25
  :label = variable.title? variable.i18nTitle : undefined
@@ -3,8 +3,9 @@
3
3
  -attrs.class = variable.appearance && variable.appearance.class;
4
4
  -attrs.style = variable.appearance && variable.appearance.style;
5
5
  -attrs.id = variable.replacedId? String(variable.replacedId) : undefined
6
- -attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
7
- -attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
6
+ -var divAttrs = {};
7
+ -divAttrs.ref = variable.replacedId? String(variable.replacedId+"_div") : undefined
8
+ -divAttrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
8
9
  -var visible = variable.visible ? String(variable.visible.value) : 'false';
9
10
  -var require = variable.require ? String(variable.require.value) : undefined;
10
11
  -var readonly = variable.readonly ? String(variable.readonly.value) : undefined;
@@ -16,7 +17,7 @@
16
17
  div(
17
18
  v-if=visible
18
19
  class="fm-input-wrapper"
19
- )
20
+ )&attributes(divAttrs)
20
21
  fm-lookup-department(
21
22
  v-model=binding
22
23
  :label = variable.title? variable.i18nTitle : undefined
@@ -3,8 +3,9 @@
3
3
  -attrs.class = variable.appearance && variable.appearance.class;
4
4
  -attrs.style = variable.appearance && variable.appearance.style;
5
5
  -attrs.id = variable.replacedId? String(variable.replacedId) : undefined
6
- -attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
7
- -attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
6
+ -var divAttrs = {};
7
+ -divAttrs.ref = variable.replacedId? String(variable.replacedId+"_div") : undefined
8
+ -divAttrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
8
9
  -var visible = variable.visible ? String(variable.visible.value) : 'false';
9
10
  -var require = variable.require ? String(variable.require.value) : undefined;
10
11
  -var readonly = variable.readonly ? String(variable.readonly.value) : undefined;
@@ -17,7 +18,7 @@
17
18
  div(
18
19
  v-if=visible
19
20
  class="fm-input-wrapper"
20
- )
21
+ )&attributes(divAttrs)
21
22
  fm-lookup-employee(
22
23
  v-model=binding
23
24
  :required=require
@@ -3,8 +3,9 @@
3
3
  -attrs.class = variable.appearance && variable.appearance.class;
4
4
  -attrs.style = variable.appearance && variable.appearance.style;
5
5
  -attrs.id = variable.replacedId? String(variable.replacedId) : undefined
6
- -attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
7
- -attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
6
+ -var divAttrs = {};
7
+ -divAttrs.ref = variable.replacedId? String(variable.replacedId+"_div") : undefined
8
+ -divAttrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
8
9
  -var visible = variable.visible ? String(variable.visible.value) : 'false';
9
10
  -var require = variable.require ? String(variable.require.value) : undefined;
10
11
  -var readonly = variable.readonly ? String(variable.readonly.value) : undefined;
@@ -16,7 +17,7 @@
16
17
  div(
17
18
  v-if=visible
18
19
  class="fm-input-wrapper"
19
- )
20
+ )&attributes(divAttrs)
20
21
  fm-lookup-input(
21
22
  v-model=binding
22
23
  :label = variable.title? variable.i18nTitle : undefined
@@ -4,8 +4,9 @@
4
4
  -attrs.class = variable.appearance && variable.appearance.class;
5
5
  -attrs.style = variable.appearance && variable.appearance.style;
6
6
  -attrs.id = variable.replacedId? String(variable.replacedId) : undefined
7
- -attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
8
- -attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
7
+ -var divAttrs = {};
8
+ -divAttrs.ref = variable.replacedId? String(variable.replacedId+"_div") : undefined
9
+ -divAttrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
9
10
  -var visible = variable.visible ? String(variable.visible.value) : 'false';
10
11
  -var require = variable.require ? String(variable.require.value) : undefined;
11
12
  -var readonly = variable.readonly ? String(variable.readonly.value) : undefined;
@@ -17,7 +18,7 @@
17
18
  div(
18
19
  v-if=visible
19
20
  class="fm-input-wrapper"
20
- )
21
+ )&attributes(divAttrs)
21
22
  fm-input(
22
23
  v-model=binding
23
24
  :label = variable.title? variable.i18nTitle : undefined
@@ -3,8 +3,9 @@
3
3
  -attrs.class = variable.appearance && variable.appearance.class;
4
4
  -attrs.style = variable.appearance && variable.appearance.style;
5
5
  -attrs.id = variable.replacedId? String(variable.replacedId) : undefined
6
- -attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
7
- -attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
6
+ -var divAttrs = {};
7
+ -divAttrs.ref = variable.replacedId? String(variable.replacedId+"_div") : undefined
8
+ -divAttrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
8
9
  -var visible = variable.visible ? String(variable.visible.value) : 'false';
9
10
  -var require = variable.require ? String(variable.require.value) : undefined;
10
11
  -var readonly = variable.readonly ? String(variable.readonly.value) : undefined;
@@ -15,7 +16,7 @@
15
16
  div(
16
17
  v-if=visible
17
18
  class="fm-input-wrapper"
18
- )
19
+ )&attributes(divAttrs)
19
20
  fm-area-picker(
20
21
  v-model=binding
21
22
  :label = variable.title? variable.i18nTitle : undefined
@@ -3,8 +3,9 @@
3
3
  -attrs.class = variable.appearance && variable.appearance.class;
4
4
  -attrs.style = variable.appearance && variable.appearance.style;
5
5
  -attrs.id = variable.replacedId? String(variable.replacedId) : undefined
6
- -attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
7
- -attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
6
+ -var divAttrs = {};
7
+ -divAttrs.ref = variable.replacedId? String(variable.replacedId+"_div") : undefined
8
+ -divAttrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
8
9
  -var visible = variable.visible ? String(variable.visible.value) : 'false';
9
10
  -var require = variable.require ? String(variable.require.value) : undefined;
10
11
  -var readonly = variable.readonly ? String(variable.readonly.value) : undefined;
@@ -19,7 +20,7 @@
19
20
  div(
20
21
  v-if=visible
21
22
  class="fm-input-wrapper"
22
- )
23
+ )&attributes(divAttrs)
23
24
  fm-city-picker(
24
25
  v-model:text=bindingtext
25
26
  v-model:value=bindingvalue
@@ -3,8 +3,9 @@
3
3
  -attrs.class = variable.appearance && variable.appearance.class;
4
4
  -attrs.style = variable.appearance && variable.appearance.style;
5
5
  -attrs.id = variable.replacedId? String(variable.replacedId) : undefined
6
- -attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
7
- -attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
6
+ -var divAttrs = {};
7
+ -divAttrs.ref = variable.replacedId? String(variable.replacedId+"_div") : undefined
8
+ -divAttrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
8
9
  -var visible = variable.visible ? String(variable.visible.value) : 'false';
9
10
  -var require = variable.require ? String(variable.require.value) : undefined;
10
11
  -var readonly = variable.readonly ? String(variable.readonly.value) : undefined;
@@ -16,7 +17,7 @@
16
17
  div(
17
18
  v-if=visible
18
19
  class="fm-input-wrapper"
19
- )
20
+ )&attributes(divAttrs)
20
21
  fm-link-relation(
21
22
  v-model=binding
22
23
  :label = variable.title? variable.i18nTitle : undefined
@@ -3,8 +3,9 @@
3
3
  -attrs.class = variable.appearance && variable.appearance.class;
4
4
  -attrs.style = variable.appearance && variable.appearance.style;
5
5
  -attrs.id = variable.replacedId? String(variable.replacedId) : undefined
6
- -attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
7
- -attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
6
+ -var divAttrs = {};
7
+ -divAttrs.ref = variable.replacedId? String(variable.replacedId+"_div") : undefined
8
+ -divAttrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
8
9
  -var visible = variable.visible ? String(variable.visible.value) : 'false';
9
10
  -var require = variable.require ? String(variable.require.value) : undefined;
10
11
  -var readonly = variable.readonly ? String(variable.readonly.value) : undefined;
@@ -16,7 +17,7 @@
16
17
  div(
17
18
  v-if=visible
18
19
  class="fm-input-wrapper"
19
- )
20
+ )&attributes(divAttrs)
20
21
  fm-picker(
21
22
  v-model=binding
22
23
  :placeholder = variable.placeholder? variable.i18nPlaceholder : undefined
@@ -2,8 +2,9 @@
2
2
  -var attrs = {};
3
3
  -attrs.class = variable.appearance && variable.appearance.class;
4
4
  -attrs.style = variable.appearance && variable.appearance.style;
5
- -attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
6
- -attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
5
+ -var divAttrs = {};
6
+ -divAttrs.ref = variable.replacedId? String(variable.replacedId+"_div") : undefined
7
+ -divAttrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
7
8
  -var checkerStyle = variable.checkerWidth ? { width: variable.checkerWidth + 'px' } : undefined
8
9
  -var visible = variable.visible ? String(variable.visible.value) : 'false';
9
10
  -var require = variable.require ? String(variable.require.value) : undefined;
@@ -18,7 +19,7 @@
18
19
  div(
19
20
  v-if=visible
20
21
  class="fm-input-wrapper"
21
- )
22
+ )&attributes(divAttrs)
22
23
  fm-input(
23
24
  center
24
25
  :label = variable.title? variable.i18nTitle: undefined
@@ -2,8 +2,9 @@
2
2
  -var attrs = {};
3
3
  -attrs.class = variable.appearance && variable.appearance.class;
4
4
  -attrs.style = variable.appearance && variable.appearance.style;
5
- -attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
6
- -attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
5
+ -var divAttrs = {};
6
+ -divAttrs.ref = variable.replacedId? String(variable.replacedId+"_div") : undefined
7
+ -divAttrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
7
8
  -var placeholder = variable.placeholder? String(variable.placeholder) : undefined
8
9
  -var id = variable.replacedId? String(variable.replacedId) : undefined
9
10
  -var label = variable.title? String(variable.title) : undefined
@@ -30,7 +31,7 @@ else
30
31
  div(
31
32
  v-if=visible
32
33
  class="fm-input-wrapper"
33
- )
34
+ )&attributes(divAttrs)
34
35
  fm-input(
35
36
  id=id
36
37
  class="fm-input-vertical"