@farris/jit-engine 1.3.126 → 1.3.129
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.
- package/README.md +1 -1
- package/lib/domstructure/devkit/devkit.js +2 -1
- package/lib/domstructure/devkit/devkit.js.map +1 -1
- package/lib/domstructure/ui/container/loop-container.js +14 -2
- package/lib/domstructure/ui/container/loop-container.js.map +1 -1
- package/lib/domstructure/ui/container/qdp_framework.js +36 -2
- package/lib/domstructure/ui/container/qdp_framework.js.map +1 -1
- package/lib/domstructure/ui/data/collection/qdp/spread_sheet.js +3 -2
- package/lib/domstructure/ui/data/collection/qdp/spread_sheet.js.map +1 -1
- package/lib/domstructure/ui/data/data.js +12 -0
- package/lib/domstructure/ui/data/data.js.map +1 -1
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/farris-combo-lookup.js +1 -1
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/farris-combo-lookup.js.map +1 -1
- package/lib/domstructure/ui/farris-fileupload-preview/farris-file-upload-preview.js +4 -1
- package/lib/domstructure/ui/farris-fileupload-preview/farris-file-upload-preview.js.map +1 -1
- package/lib/domstructure/ui/table/farris-table-column.js +1 -1
- package/lib/domstructure/ui/table/farris-table-column.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/devkit/form/vue-control.js +5 -2
- package/lib/mobileapp/vue/domstructure/devkit/form/vue-control.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-file.js +1 -1
- package/lib/task/recursiveGenerateDevkit.js +16 -1
- package/lib/task/recursiveGenerateDevkit.js.map +1 -1
- package/lib/template/ui/kendo/button.pug +0 -1
- package/lib/template/ui/kendo/farris-combo-lookup.pug +1 -1
- package/lib/template/ui/kendo/farris-file-upload-preview.pug +2 -1
- package/lib/template/ui/kendo/qdpframework.pug +10 -2
- package/lib/template/ui/kendo/spreadsheet.pug +3 -3
- package/lib/template/ui/kendo/table/checkbox.pug +3 -3
- package/lib/template/ui/kendo/table/checkboxgroup.pug +1 -1
- package/lib/template/ui/kendo/table/combobox.pug +2 -2
- package/lib/template/ui/kendo/table/datepicker.pug +2 -2
- package/lib/template/ui/kendo/table/farris-avatar.pug +2 -2
- package/lib/template/ui/kendo/table/farris-checkbox-group.pug +2 -2
- package/lib/template/ui/kendo/table/farris-combo-list.pug +2 -2
- package/lib/template/ui/kendo/table/farris-combo-lookup.pug +1 -1
- package/lib/template/ui/kendo/table/farris-datepicker.pug +2 -2
- package/lib/template/ui/kendo/table/farris-number-range.pug +2 -2
- package/lib/template/ui/kendo/table/farris-number-spinner.pug +2 -2
- package/lib/template/ui/kendo/table/farris-static-text.pug +1 -1
- package/lib/template/ui/kendo/table/farris-switch.pug +2 -2
- package/lib/template/ui/kendo/table/farris-time-picker.pug +2 -2
- package/lib/template/ui/kendo/table/farris-time-spinner.pug +1 -1
- package/lib/template/ui/kendo/table/input-group.pug +2 -2
- package/lib/template/ui/kendo/table/language-textbox.pug +2 -2
- package/lib/template/ui/kendo/table/lookup.pug +2 -2
- package/lib/template/ui/kendo/table/multitextbox.pug +2 -2
- package/lib/template/ui/kendo/table/numericbox.pug +2 -2
- package/lib/template/ui/kendo/table/radiobox.pug +1 -1
- package/lib/template/ui/kendo/table/radioboxgroup.pug +2 -2
- package/lib/template/ui/kendo/table/richtextbox.pug +1 -1
- package/lib/template/ui/kendo/table/switch.pug +2 -2
- package/lib/template/ui/kendo/table/textbox.pug +2 -2
- package/lib/template/ui/kendo/table/timebox.pug +1 -1
- package/lib/template/ui/kendo/table/timepicker.pug +1 -1
- package/lib/template/ui/kendo/table/tinymcerichtextbox.pug +30 -0
- package/lib/template/ui/mobilevue/attachment-file.pug +1 -0
- package/lib/template/ui/mobilevue/calendar-input.pug +2 -0
- package/lib/template/ui/mobilevue/calendar.pug +11 -9
- package/lib/utility/devkit/component-parameter-collector/component-button-collector.js +6 -0
- package/lib/utility/devkit/component-parameter-collector/component-button-collector.js.map +1 -1
- package/lib/utility/devkit/form-file-executor.js +3 -2
- package/lib/utility/devkit/form-file-executor.js.map +1 -1
- package/lib/utility/devkit/viewmodels-creator.js +11 -0
- package/lib/utility/devkit/viewmodels-creator.js.map +1 -1
- package/lib/utility/farris-datagrid/date-picker-editor.js.map +1 -1
- package/lib/utility/farris-datagrid/switch-editor.js +4 -2
- package/lib/utility/farris-datagrid/switch-editor.js.map +1 -1
- package/lib/utility/personnel-selector-checker.js +12 -1
- package/lib/utility/personnel-selector-checker.js.map +1 -1
- package/package.json +1 -1
|
@@ -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.
|
|
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)
|
|
@@ -38,7 +38,7 @@ div(class="farris-input-wrap")
|
|
|
38
38
|
else if (variable.includeInLoopContainer==false)
|
|
39
39
|
-attrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
40
40
|
else
|
|
41
|
-
-attrs['[(ngModel)]'] =variable.rowPrefix+
|
|
41
|
+
-attrs['[(ngModel)]'] =variable.rowPrefix+ ngModelPath;
|
|
42
42
|
-attrs['name'] = variable.replacedId;
|
|
43
43
|
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
44
44
|
if(variable.hasDefaultFocus)
|
|
@@ -70,7 +70,7 @@ if(variable.isTextArea)
|
|
|
70
70
|
else if (variable.includeInLoopContainer==false)
|
|
71
71
|
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
72
72
|
else
|
|
73
|
-
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.
|
|
73
|
+
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
74
74
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
75
75
|
if(variable.title)
|
|
76
76
|
-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.
|
|
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.
|
|
9
|
+
-attrs['[(ngModel)]'] = variable.rowPrefix+(item.ngModelPath);
|
|
10
10
|
-attrs['name'] = variable.replacedId;
|
|
11
11
|
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
12
12
|
if (variable.readonly)
|
|
@@ -41,7 +41,7 @@ div(class="farris-input-wrap")
|
|
|
41
41
|
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
42
42
|
else
|
|
43
43
|
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
44
|
-
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.
|
|
44
|
+
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
45
45
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
46
46
|
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
47
|
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.
|
|
10
|
+
-attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
11
11
|
-attrs['name'] = variable.replacedId;
|
|
12
12
|
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
13
13
|
if (variable.valueChange)
|
|
@@ -40,7 +40,7 @@ div(class="farris-input-wrap")
|
|
|
40
40
|
else if (variable.includeInLoopContainer==false)
|
|
41
41
|
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
42
42
|
else
|
|
43
|
-
-areaAttrs['[(ngModel)]'] =variable.rowPrefix+(variable.
|
|
43
|
+
-areaAttrs['[(ngModel)]'] =variable.rowPrefix+(variable.ngModelPath);
|
|
44
44
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
45
45
|
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
46
|
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.
|
|
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;
|
|
@@ -15,4 +15,4 @@ div(class="farris-input-wrap f-utils-hcenter-vcenter "+((variable.appearance &&
|
|
|
15
15
|
-attrs["farris-set-focus"]="";
|
|
16
16
|
if(variable.focusState)
|
|
17
17
|
-attrs["[focusState]"]=variable.focusState+"";
|
|
18
|
-
farris-avatar(id=variable.replacedId "input-end-edit" '[imgShape]'=variable.imgShape?"'"+variable.imgShape+"'":undefined '[avatarWidth]'=(variable.size && variable.size.width)?"'"+variable.size.width+"'":undefined '[avatarHeight]'=(variable.size && variable.size.height)?"'"+variable.size.height+"'":undefined '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined '[type]'=variable.imgType?"'"+variable.imgType+"'":undefined '[imgTitle]'=variable.imgTitle?"'"+variable.imgTitle+"'":undefined '[size]'=(variable.maxSize || variable.maxSize==0)?variable.maxSize.toString():undefined '(imgChange)'=variable.imgChange?variable.imgChange+"":undefined '[cover]'=variable.cover?"'"+variable.cover+"'":undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
|
|
18
|
+
farris-avatar(id=variable.replacedId "input-end-edit" '[imgShape]'=variable.imgShape?"'"+variable.imgShape+"'":undefined '[avatarWidth]'=(variable.size && variable.size.width)?"'"+variable.size.width+"'":undefined '[avatarHeight]'=(variable.size && variable.size.height)?"'"+variable.size.height+"'":undefined '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined '[type]'=variable.imgType?"'"+variable.imgType+"'":undefined '[imgTitle]'=variable.imgTitle?"'"+variable.imgTitle+"'":undefined '[size]'=(variable.maxSize || variable.maxSize==0)?variable.maxSize.toString():undefined '(imgChange)'=variable.imgChange?variable.imgChange+"":undefined '[cover]'=variable.cover?"'"+variable.cover+"'":undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined )&attributes(attrs)
|
|
@@ -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.
|
|
10
|
+
-attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
11
11
|
-attrs['name'] = variable.replacedId;
|
|
12
12
|
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
13
13
|
if(variable.isTextArea)
|
|
@@ -37,7 +37,7 @@ div('class'='farris-input-wrap')
|
|
|
37
37
|
else if (variable.includeInLoopContainer==false)
|
|
38
38
|
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
39
39
|
else
|
|
40
|
-
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.
|
|
40
|
+
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
41
41
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
42
42
|
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
43
|
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.
|
|
10
|
+
-attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
11
11
|
-attrs['name'] = variable.replacedId;
|
|
12
12
|
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
13
13
|
if (variable.valueChanged)
|
|
@@ -41,7 +41,7 @@ div(class="farris-input-wrap")
|
|
|
41
41
|
else if (variable.includeInLoopContainer==false)
|
|
42
42
|
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
43
43
|
else
|
|
44
|
-
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.
|
|
44
|
+
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
45
45
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
46
46
|
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
47
|
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.
|
|
10
|
+
-attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
11
11
|
-attrs['name'] = variable.replacedId;
|
|
12
12
|
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
13
13
|
if (variable.valueChanged)
|
|
@@ -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.
|
|
11
|
+
-attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
12
12
|
-attrs['name'] = variable.replacedId;
|
|
13
13
|
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
14
14
|
if (variable.valueChange)
|
|
@@ -47,7 +47,7 @@ div(class="farris-input-wrap")
|
|
|
47
47
|
else if (variable.includeInLoopContainer==false)
|
|
48
48
|
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
49
49
|
else
|
|
50
|
-
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.
|
|
50
|
+
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
51
51
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
52
52
|
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
53
|
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.
|
|
11
|
+
-attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
12
12
|
-attrs['name'] = variable.replacedId;
|
|
13
13
|
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
14
14
|
if(variable.isTextArea)
|
|
@@ -39,7 +39,7 @@ div(class="farris-input-wrap")
|
|
|
39
39
|
else if (variable.includeInLoopContainer==false)
|
|
40
40
|
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
41
41
|
else
|
|
42
|
-
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.
|
|
42
|
+
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
43
43
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
44
44
|
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
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.
|
|
11
|
+
-attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
12
12
|
-attrs['name'] = variable.replacedId;
|
|
13
13
|
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
14
14
|
if(variable.isTextArea)
|
|
@@ -38,7 +38,7 @@ div(class="farris-input-wrap")
|
|
|
38
38
|
else if (variable.includeInLoopContainer==false)
|
|
39
39
|
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
40
40
|
else
|
|
41
|
-
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.
|
|
41
|
+
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
42
42
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
43
43
|
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
44
|
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.
|
|
11
|
+
-attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
12
12
|
-attrs['name'] = variable.replacedId;
|
|
13
13
|
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
14
14
|
if(variable.isTextArea)
|
|
@@ -37,7 +37,7 @@ div(class="farris-input-wrap")
|
|
|
37
37
|
else if (variable.includeInLoopContainer==false)
|
|
38
38
|
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
39
39
|
else
|
|
40
|
-
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.
|
|
40
|
+
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
41
41
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
42
42
|
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
43
|
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.
|
|
11
|
+
-attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
12
12
|
-attrs['name'] = variable.replacedId;
|
|
13
13
|
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
14
14
|
if (variable.valueChange)
|
|
@@ -42,7 +42,7 @@ div(class="farris-input-wrap")
|
|
|
42
42
|
else if (variable.includeInLoopContainer==false)
|
|
43
43
|
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
44
44
|
else
|
|
45
|
-
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.
|
|
45
|
+
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
46
46
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
47
47
|
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
48
|
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.
|
|
11
|
+
-attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
12
12
|
-attrs['name'] = variable.replacedId;
|
|
13
13
|
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
14
14
|
if(variable.hasDefaultFocus)
|
|
@@ -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.
|
|
10
|
+
-attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
11
11
|
-attrs['name'] = variable.replacedId;
|
|
12
12
|
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
13
13
|
if(variable.isTextArea)
|
|
@@ -36,7 +36,7 @@ div('class'='farris-input-wrap')
|
|
|
36
36
|
else if (variable.includeInLoopContainer==false)
|
|
37
37
|
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
38
38
|
else
|
|
39
|
-
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.
|
|
39
|
+
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
40
40
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
41
41
|
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
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.
|
|
11
|
+
-attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
12
12
|
-attrs['name'] = variable.replacedId;
|
|
13
13
|
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
14
14
|
if (variable.valueChange)
|
|
@@ -41,7 +41,7 @@ div(class="farris-input-wrap")
|
|
|
41
41
|
else if (variable.includeInLoopContainer==false)
|
|
42
42
|
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
43
43
|
else
|
|
44
|
-
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.
|
|
44
|
+
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
45
45
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
46
46
|
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
47
|
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.
|
|
10
|
+
-attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
11
11
|
-attrs['name'] = variable.replacedId;
|
|
12
12
|
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
13
13
|
if (variable.lookupPicking)
|
|
@@ -47,7 +47,7 @@ div(class="farris-input-wrap")
|
|
|
47
47
|
else if (variable.includeInLoopContainer==false)
|
|
48
48
|
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
49
49
|
else
|
|
50
|
-
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.
|
|
50
|
+
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
51
51
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
52
52
|
farris-text('[type]'="'string'" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[maxHeight]'=variable.maxHeight?""+variable.maxHeight: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
53
|
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.
|
|
11
|
+
-attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
12
12
|
-attrs['name'] = variable.replacedId;
|
|
13
13
|
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
14
14
|
if(variable.isTextArea)
|
|
@@ -39,7 +39,7 @@ div(class="farris-input-wrap")
|
|
|
39
39
|
else if (variable.includeInLoopContainer==false)
|
|
40
40
|
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
41
41
|
else
|
|
42
|
-
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.
|
|
42
|
+
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
43
43
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
44
44
|
farris-text('[type]'="'string'" '[isTextArea]'="true" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[maxHeight]'= variable.maxHeight?""+variable.maxHeight:undefined '[textarea-zoom]'=variable.enableDialog+"" '[title]'=variable.enableDialog?""+titleValue:undefined '[dialogWidth]'=variable.enableDialog?variable.dialogWidth+"":undefined '[dialogHeight]'=variable.enableDialog?variable.dialogHeight+"":undefined '[attr.maxLength]'=variable.maxLength?""+variable.maxLength: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
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.
|
|
11
|
+
-attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
12
12
|
-attrs['name'] = variable.replacedId;
|
|
13
13
|
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
14
14
|
|
|
@@ -40,7 +40,7 @@ div(class="farris-input-wrap")
|
|
|
40
40
|
else if (variable.includeInLoopContainer==false)
|
|
41
41
|
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
42
42
|
else
|
|
43
|
-
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.
|
|
43
|
+
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
44
44
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
45
45
|
farris-text('[type]'="'number'" '[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
46
|
if(variable.titleTipsTemplate)
|
|
@@ -9,7 +9,7 @@ div(class="farris-input-wrap")
|
|
|
9
9
|
else if (variable.includeInLoopContainer==false)
|
|
10
10
|
-attrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
11
11
|
else
|
|
12
|
-
-attrs['[(ngModel)]'] = variable.rowPrefix+(variable.
|
|
12
|
+
-attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
13
13
|
-attrs['name'] = variable.replacedId;
|
|
14
14
|
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
15
15
|
if(variable.hasDefaultFocus)
|
|
@@ -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.
|
|
10
|
+
-attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
11
11
|
-attrs['name'] = variable.replacedId;
|
|
12
12
|
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
13
13
|
if(variable.isTextArea)
|
|
@@ -37,7 +37,7 @@ div('class'='farris-input-wrap')
|
|
|
37
37
|
else if (variable.includeInLoopContainer==false)
|
|
38
38
|
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
39
39
|
else
|
|
40
|
-
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.
|
|
40
|
+
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
41
41
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
42
42
|
farris-text('[type]'="'enum'" '[data]'!=variable.enumDataLang?""+variable.enumDataLang: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
43
|
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.
|
|
11
|
+
-attrs['[(ngModel)]'] =variable.rowPrefix+ variable.ngModelPath;
|
|
12
12
|
-attrs['name'] = variable.replacedId;
|
|
13
13
|
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
14
14
|
|
|
@@ -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.
|
|
11
|
+
-attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
12
12
|
-attrs['name'] = variable.replacedId;
|
|
13
13
|
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
14
14
|
if(variable.isTextArea)
|
|
@@ -37,7 +37,7 @@ div(class="farris-input-wrap")
|
|
|
37
37
|
else if (variable.includeInLoopContainer==false)
|
|
38
38
|
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
39
39
|
else
|
|
40
|
-
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.
|
|
40
|
+
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
41
41
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
42
42
|
farris-text('[type]'="'string'" '[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
43
|
if(variable.titleTipsTemplate)
|
|
@@ -9,7 +9,7 @@ div(class="farris-input-wrap")
|
|
|
9
9
|
else if (variable.includeInLoopContainer==false)
|
|
10
10
|
-attrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
11
11
|
else
|
|
12
|
-
-attrs['[(ngModel)]'] = variable.rowPrefix+(variable.
|
|
12
|
+
-attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
13
13
|
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
14
14
|
-attrs['name'] = variable.replacedId;
|
|
15
15
|
|
|
@@ -45,7 +45,7 @@ div(class="farris-input-wrap")
|
|
|
45
45
|
else if (variable.includeInLoopContainer==false)
|
|
46
46
|
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
47
47
|
else
|
|
48
|
-
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.
|
|
48
|
+
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
49
49
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
50
50
|
farris-text('[type]'="'string'" '[isPassword]'=variable.isPassword?""+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)
|
|
51
51
|
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.
|
|
11
|
+
-attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
12
12
|
-attrs['name'] = variable.replacedId;
|
|
13
13
|
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
14
14
|
if(variable.hasDefaultFocus)
|
|
@@ -9,7 +9,7 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
9
9
|
else if (variable.includeInLoopContainer==false)
|
|
10
10
|
-attrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
11
11
|
else
|
|
12
|
-
-attrs['[(ngModel)]'] = variable.rowPrefix+(variable.
|
|
12
|
+
-attrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
13
13
|
-attrs['name'] = variable.replacedId;
|
|
14
14
|
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
15
15
|
if(variable.hasDefaultFocus)
|
|
@@ -0,0 +1,30 @@
|
|
|
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
|
+
|
|
15
|
+
if(variable.hasDefaultFocus)
|
|
16
|
+
-attrs["farris-set-focus"]="";
|
|
17
|
+
if(variable.focusState)
|
|
18
|
+
-attrs["[focusState]"]=variable.focusState+"";
|
|
19
|
+
farris-editor(id=variable.replacedId 'farris-editor-bind' '[readOnly]'!=variable.readonly?variable.readonly.value+"":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 '[height]'=(variable.size && variable.size.height) '[showBorder]'=(variable.isTextArea ||variable.isTextArea==false)?""+variable.isTextArea:undefined '[fontFamilyList]'!=variable.fontFamilyList?variable.fontFamilyList:undefined '[defaultFontFamily]'!=variable.defaultFontFamily?"'"+variable.defaultFontFamily+"'":undefined )&attributes(attrs)
|
|
20
|
+
if (variable.needValid && variable.binding && variable.binding.path)
|
|
21
|
+
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
22
|
+
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
23
|
+
div(class="farris-feedback")
|
|
24
|
+
if(variable.titleTipsTemplate)
|
|
25
|
+
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
26
|
+
i(class="f-icon f-icon-description-tips")
|
|
27
|
+
-var tipsAttrs= {};
|
|
28
|
+
-tipsAttrs['#'+variable.titleTipsTemplateName] = "";
|
|
29
|
+
ng-template()&attributes(tipsAttrs)
|
|
30
|
+
| !{variable.titleTipsTemplate}
|
|
@@ -4,6 +4,7 @@ fm-attachment-file(
|
|
|
4
4
|
class=(variable.appearance && variable.appearance.class)
|
|
5
5
|
v-if=variable.visible?variable.visible+"":"false"
|
|
6
6
|
:fileList=fileList
|
|
7
|
+
:title=variable.title?"" + variable.title:undefined
|
|
7
8
|
:disabled=variable.disabled?"" + variable.disabled:undefined
|
|
8
9
|
:removable=variable.removable?"" + variable.removable:undefined
|
|
9
10
|
:maxSize=variable.maxSize?"" + variable.maxSize:undefined
|
|
@@ -19,6 +19,8 @@ div(class="fm-input-wrapper" v-if=variable.visible?variable.visible+"":"false")
|
|
|
19
19
|
view=variable.view?""+variable.view:undefined
|
|
20
20
|
:firstDay=variable.firstDay?""+variable.firstDay:undefined
|
|
21
21
|
:mark=variable.mark?""+variable.mark:undefined
|
|
22
|
+
:minDate!=variable.minValue?""+variable.minValue:undefined
|
|
23
|
+
:maxDate!=variable.maxValue?""+variable.maxValue:undefined
|
|
22
24
|
:event=variable.event?""+variable.event:undefined
|
|
23
25
|
:events=variable.events?""+variable.events:undefined
|
|
24
26
|
:useLunar=variable.useLunar
|
|
@@ -1,18 +1,20 @@
|
|
|
1
1
|
fm-calendar(
|
|
2
2
|
class=(variable.appearance && variable.appearance.class)
|
|
3
|
-
style
|
|
4
|
-
v-if
|
|
3
|
+
style!=(variable.appearance && variable.appearance.style)
|
|
4
|
+
v-if!=variable.visible?variable.visible+"":"false"
|
|
5
5
|
title=variable.title?""+variable.title:undefined
|
|
6
6
|
prevText=variable.prevText?""+variable.prevText:undefined
|
|
7
7
|
nextText=variable.nextText?""+variable.nextText:undefined
|
|
8
|
-
:modelValue
|
|
9
|
-
:firstDay
|
|
8
|
+
:modelValue!=variable.value?""+variable.value:undefined
|
|
9
|
+
:firstDay!=variable.firstDay?""+variable.firstDay:undefined
|
|
10
10
|
view=variable.view?""+variable.view:undefined
|
|
11
11
|
type=variable.valueType?""+variable.valueType:undefined
|
|
12
12
|
theme=variable.theme?""+variable.theme:undefined
|
|
13
|
-
:mark
|
|
14
|
-
:
|
|
15
|
-
:
|
|
16
|
-
|
|
17
|
-
|
|
13
|
+
:mark!=variable.mark?""+variable.mark:undefined
|
|
14
|
+
:minDate!=variable.minValue?""+variable.minValue:undefined
|
|
15
|
+
:maxDate!=variable.maxValue?""+variable.maxValue:undefined
|
|
16
|
+
:event!=variable.event?""+variable.event:undefined
|
|
17
|
+
:events!=variable.events?""+variable.events:undefined
|
|
18
|
+
@dayClick!=variable.dayClick?""+variable.dayClick:undefined
|
|
19
|
+
@render!=variable.render?""+variable.render:undefined
|
|
18
20
|
)
|
|
@@ -25,6 +25,12 @@ class ComponentButtonCollector extends abstract_component_parameter_collector_1.
|
|
|
25
25
|
}
|
|
26
26
|
});
|
|
27
27
|
}
|
|
28
|
+
const inputTemplate = component.inputTemplate;
|
|
29
|
+
if (inputTemplate && inputTemplate.length && component.type == 'QdpFramework') {
|
|
30
|
+
inputTemplate.forEach((field) => {
|
|
31
|
+
this.collectionComponentButton(field, componentButtons, i18nResourcePrefix);
|
|
32
|
+
});
|
|
33
|
+
}
|
|
28
34
|
if (component && component.type == "Button") {
|
|
29
35
|
const componentButtonParameter = new component_button_parameter_1.ComponentButtonParameter();
|
|
30
36
|
componentButtonParameter.bindingName = component_button_parameter_1.ComponentButtonCreator.createBindingName(component.id);
|