@farris/jit-engine 1.3.273 → 1.3.280
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 +3 -0
- package/lib/domstructure/devkit/section-toolbar/farris-section-toolbar-item.js +8 -1
- package/lib/domstructure/devkit/section-toolbar/farris-section-toolbar-item.js.map +1 -1
- package/lib/domstructure/devkit/tab-toolbar/farris-tab-toolbar-Item.js +8 -1
- package/lib/domstructure/devkit/tab-toolbar/farris-tab-toolbar-Item.js.map +1 -1
- package/lib/domstructure/ui/commands/button.js +6 -0
- package/lib/domstructure/ui/commands/button.js.map +1 -1
- package/lib/domstructure/ui/commands/toolbar.js +2 -0
- package/lib/domstructure/ui/commands/toolbar.js.map +1 -1
- package/lib/domstructure/ui/common/basecomponent.js +11 -0
- package/lib/domstructure/ui/common/basecomponent.js.map +1 -1
- package/lib/domstructure/ui/data/fields/form/form_field.js +17 -16
- package/lib/domstructure/ui/data/fields/form/form_field.js.map +1 -1
- package/lib/domstructure/ui/section/section.js +2 -0
- package/lib/domstructure/ui/section/section.js.map +1 -1
- package/lib/domstructure/ui/table/farris-table-column.js.map +1 -1
- package/lib/domstructure/ui/table/farris-table-static-text.js.map +1 -1
- package/lib/domstructure/ui/tabs/farris-tabs.js +2 -0
- package/lib/domstructure/ui/tabs/farris-tabs.js.map +1 -1
- package/lib/mobileapp/vue/static/.gitignore +13 -0
- package/lib/mobileapp/vue/static/.npmignore +13 -0
- package/lib/mobileapp/vue/utility/devkit/vue-viewmodels-creator.js +8 -0
- package/lib/mobileapp/vue/utility/devkit/vue-viewmodels-creator.js.map +1 -1
- package/lib/template/ui/kendo/button.pug +7 -1
- package/lib/template/ui/kendo/checkbox.pug +27 -7
- package/lib/template/ui/kendo/checkboxgroup.pug +18 -6
- package/lib/template/ui/kendo/farris-checkbox-group.pug +36 -7
- package/lib/template/ui/kendo/farris-combo-list.pug +48 -8
- package/lib/template/ui/kendo/farris-combo-lookup.pug +23 -8
- package/lib/template/ui/kendo/farris-datepicker.pug +22 -8
- package/lib/template/ui/kendo/farris-number-range.pug +37 -7
- package/lib/template/ui/kendo/farris-number-spinner.pug +43 -23
- package/lib/template/ui/kendo/farris-switch.pug +29 -7
- package/lib/template/ui/kendo/farris-tags.pug +6 -6
- package/lib/template/ui/kendo/farris-time-picker.pug +38 -7
- package/lib/template/ui/kendo/farris-time-spinner.pug +29 -6
- package/lib/template/ui/kendo/farristabs.pug +12 -1
- package/lib/template/ui/kendo/image.pug +1 -1
- package/lib/template/ui/kendo/input-group.pug +6 -6
- package/lib/template/ui/kendo/language-textbox.pug +29 -7
- package/lib/template/ui/kendo/lookup-employee.pug +23 -10
- package/lib/template/ui/kendo/lookup.pug +23 -8
- package/lib/template/ui/kendo/multitextbox.pug +41 -7
- package/lib/template/ui/kendo/organization-selector.pug +23 -10
- package/lib/template/ui/kendo/radiobox.pug +13 -1
- package/lib/template/ui/kendo/radioboxgroup.pug +32 -7
- package/lib/template/ui/kendo/richtextbox.pug +6 -6
- package/lib/template/ui/kendo/section.pug +14 -1
- 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 +3 -3
- package/lib/template/ui/kendo/table/datepicker.pug +2 -2
- package/lib/template/ui/kendo/table/employee-selector.pug +1 -1
- package/lib/template/ui/kendo/table/farris-avatar.pug +1 -1
- package/lib/template/ui/kendo/table/farris-checkbox-group.pug +2 -2
- package/lib/template/ui/kendo/table/farris-combo-list.pug +3 -3
- package/lib/template/ui/kendo/table/farris-combo-lookup.pug +2 -2
- package/lib/template/ui/kendo/table/farris-datepicker.pug +2 -2
- package/lib/template/ui/kendo/table/farris-number-range.pug +13 -2
- package/lib/template/ui/kendo/table/farris-number-spinner.pug +17 -2
- package/lib/template/ui/kendo/table/farris-static-text.pug +2 -2
- package/lib/template/ui/kendo/table/farris-switch.pug +11 -2
- package/lib/template/ui/kendo/table/farris-tags.pug +8 -1
- 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-employee.pug +1 -1
- package/lib/template/ui/kendo/table/lookup.pug +22 -22
- package/lib/template/ui/kendo/table/multi-select.pug +1 -1
- package/lib/template/ui/kendo/table/multitextbox.pug +2 -2
- package/lib/template/ui/kendo/table/numericbox.pug +12 -2
- package/lib/template/ui/kendo/table/organization-selector.pug +1 -1
- 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/select.pug +10 -2
- package/lib/template/ui/kendo/table/switch.pug +11 -2
- package/lib/template/ui/kendo/table/textbox.pug +3 -3
- package/lib/template/ui/kendo/table/timebox.pug +9 -1
- package/lib/template/ui/kendo/table/timepicker.pug +5 -1
- package/lib/template/ui/kendo/table/tinymcerichtextbox.pug +1 -1
- package/lib/template/ui/kendo/textbox.pug +31 -7
- package/lib/template/ui/kendo/toolbar.pug +6 -2
- package/lib/template/ui/mobilevue/form.pug +2 -0
- package/lib/utility/behavior/behavior-manager.js +36 -0
- package/lib/utility/behavior/behavior-manager.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/farris-section-collector.js +3 -1
- package/lib/utility/devkit/component-parameter-collector/farris-section-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/farris-tabs-collector.js +2 -0
- package/lib/utility/devkit/component-parameter-collector/farris-tabs-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/toolbar-collector.js +7 -3
- package/lib/utility/devkit/component-parameter-collector/toolbar-collector.js.map +1 -1
- package/lib/utility/devkit/form-file-executor.js +2 -0
- package/lib/utility/devkit/form-file-executor.js.map +1 -1
- package/lib/utility/template-generator/devkit/component-generator/component-farristabs-parameter-generator.js +32 -29
- package/lib/utility/template-generator/devkit/component-generator/component-farristabs-parameter-generator.js.map +1 -1
- package/lib/utility/template-generator/devkit/component-generator/component-import-generator.js +1 -1
- package/lib/utility/template-generator/devkit/component-generator/component-provider-generator.js +1 -0
- package/lib/utility/template-generator/devkit/component-generator/component-provider-generator.js.map +1 -1
- package/lib/utility/template-generator/devkit/component-generator/component-section-parameter-generator.js +19 -36
- package/lib/utility/template-generator/devkit/component-generator/component-section-parameter-generator.js.map +1 -1
- package/lib/utility/template-generator/devkit/component-generator/component-toolbar-parameter-generator.js +63 -19
- package/lib/utility/template-generator/devkit/component-generator/component-toolbar-parameter-generator.js.map +1 -1
- package/lib/utility/template-generator/project/angularJson-generator.js +1 -0
- package/lib/utility/template-generator/project/angularJson-generator.js.map +1 -1
- package/lib/utility/template-generator/project-app/app-module-ts-generator.js +5 -1
- package/lib/utility/template-generator/project-app/app-module-ts-generator.js.map +1 -1
- package/package.json +1 -1
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
-var holdPlaceInnerAttrs = {};
|
|
3
3
|
-var holdPlaceEmptyAttrs = {};
|
|
4
4
|
if(variable.holdPlace)
|
|
5
|
-
-holdPlaceInnerAttrs["*ngIf"]=variable.visible
|
|
6
|
-
-holdPlaceEmptyAttrs['*ngIf']=variable.visible
|
|
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
7
|
else
|
|
8
|
-
-holdPlaceOuterAttrs["*ngIf"]=variable.visible
|
|
8
|
+
-holdPlaceOuterAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
|
|
9
9
|
div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
|
|
10
10
|
if(variable.holdPlace)
|
|
11
11
|
div(class="f-empty-input-placeholder")&attributes(holdPlaceEmptyAttrs)
|
|
@@ -16,12 +16,12 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
16
16
|
if(variable.linkedLabelEnabled)
|
|
17
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
18
|
if (variable.require)
|
|
19
|
-
span(class="farris-label-info text-danger" "*ngIf"=""+variable.require.value) *
|
|
19
|
+
span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
|
|
20
20
|
span(class="farris-label-text") {{#{titleValue}}}
|
|
21
21
|
else
|
|
22
22
|
label(class="col-form-label" title="{{"+titleValue+"}}" for=variable.replacedId '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined)
|
|
23
23
|
if (variable.require)
|
|
24
|
-
span(class="farris-label-info text-danger" "*ngIf"=""+variable.require.value) *
|
|
24
|
+
span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
|
|
25
25
|
span(class="farris-label-text") {{#{titleValue}}}
|
|
26
26
|
div(class="farris-input-wrap")
|
|
27
27
|
-var attrs = {};
|
|
@@ -50,7 +50,7 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
50
50
|
personnel-selector-data-mapping
|
|
51
51
|
input-end-edit
|
|
52
52
|
'[disabled]'!=variable.disable?variable.disable.toString():undefined
|
|
53
|
-
'[readonly]'!=variable.readonly?variable.readonly.value+"":undefined
|
|
53
|
+
'[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"":undefined
|
|
54
54
|
'[viewType]'!=variable.viewType?"'"+variable.viewType+"'":undefined
|
|
55
55
|
'[busNum]'!=variable.busNum?"'"+variable.busNum+"'":undefined
|
|
56
56
|
'[absOrgType]'=variable.absOrgType?"'"+variable.absOrgType+"'":undefined
|
|
@@ -68,9 +68,15 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
68
68
|
'(inputClear)'!=variable.inputClear?variable.inputClear+"":undefined
|
|
69
69
|
'[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
|
|
70
70
|
'[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
|
|
71
|
-
'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
|
|
72
|
-
|
|
73
|
-
|
|
71
|
+
'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
|
|
72
|
+
'[showDisabledItem]'=variable.showDisabledItem?""+variable.showDisabledItem.value:undefined
|
|
73
|
+
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
74
|
+
'[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
|
|
75
|
+
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
76
|
+
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
77
|
+
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
78
|
+
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
|
|
79
|
+
'[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
|
|
74
80
|
if (variable.needValid && variable.binding && variable.binding.path)
|
|
75
81
|
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
76
82
|
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
@@ -86,7 +92,14 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
86
92
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
87
93
|
else
|
|
88
94
|
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
89
|
-
farris-text('[type]'="'string'" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
|
|
95
|
+
farris-text('[type]'="'string'" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
|
|
96
|
+
'[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined
|
|
97
|
+
'[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
|
|
98
|
+
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
99
|
+
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
100
|
+
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
101
|
+
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
102
|
+
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
|
|
90
103
|
if(variable.titleTipsTemplate)
|
|
91
104
|
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
92
105
|
i(class="f-icon f-icon-description-tips")
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
-var holdPlaceInnerAttrs = {};
|
|
5
5
|
-var holdPlaceEmptyAttrs = {};
|
|
6
6
|
if(variable.holdPlace)
|
|
7
|
-
-holdPlaceInnerAttrs["*ngIf"]=variable.visible
|
|
8
|
-
-holdPlaceEmptyAttrs['*ngIf']=variable.visible
|
|
7
|
+
-holdPlaceInnerAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
|
|
8
|
+
-holdPlaceEmptyAttrs['*ngIf']=variable.visible?variable.visiblePipeSuffix?'!'+variable.visible.value+variable.visiblePipeSuffix+'':'!'+variable.visible.value+'':undefined;
|
|
9
9
|
else
|
|
10
|
-
-holdPlaceOuterAttrs["*ngIf"]=variable.visible
|
|
10
|
+
-holdPlaceOuterAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
|
|
11
11
|
div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
|
|
12
12
|
if(variable.holdPlace)
|
|
13
13
|
div(class="f-empty-input-placeholder")&attributes(holdPlaceEmptyAttrs)
|
|
@@ -18,12 +18,12 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
18
18
|
if(variable.linkedLabelEnabled)
|
|
19
19
|
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)
|
|
20
20
|
if (variable.require)
|
|
21
|
-
span(class="farris-label-info text-danger" "*ngIf"=""+variable.require.value) *
|
|
21
|
+
span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
|
|
22
22
|
span(class="farris-label-text") {{#{titleValue}}}
|
|
23
23
|
else
|
|
24
24
|
label(class="col-form-label" title="{{"+titleValue+"}}" for=variable.replacedId '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined)
|
|
25
25
|
if (variable.require)
|
|
26
|
-
span(class="farris-label-info text-danger" "*ngIf"=""+variable.require.value) *
|
|
26
|
+
span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
|
|
27
27
|
span(class="farris-label-text") {{#{titleValue}}}
|
|
28
28
|
div(class="farris-input-wrap")
|
|
29
29
|
-var attrs = {};
|
|
@@ -39,7 +39,7 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
39
39
|
if (variable.beforeSelectData)
|
|
40
40
|
-attrs['[beforeSelectData]'] = variable.beforeSelectData;
|
|
41
41
|
if (variable.readonly)
|
|
42
|
-
-attrs['[readonly]'] = variable.readonly.value+"";
|
|
42
|
+
-attrs['[readonly]'] = variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"";
|
|
43
43
|
|
|
44
44
|
-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
45
45
|
if(variable.isTextArea)
|
|
@@ -73,7 +73,15 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
73
73
|
'[quickSelect]'=variable.quickSelectName?""+variable.quickSelectName:undefined '[treeToList]'=variable.treeToList?""+variable.treeToList.value:undefined '[navTreeToList]'=variable.navTreeToList?""+variable.navTreeToList.value:undefined
|
|
74
74
|
'[showNavigation]'=variable.showNavigation?""+variable.showNavigation.value:undefined '[showCascadeControl]'=variable.showCascadeControl?""+variable.showCascadeControl.value:undefined
|
|
75
75
|
'[showSelected]'=variable.showSelected?""+variable.showSelected.value:undefined '[multipleChoiceSeparator]'=variable.multipleChoiceSeparator?"'"+variable.multipleChoiceSeparator.value+"'":undefined
|
|
76
|
-
'[useNewLayout]'=variable.useNewLayout?""+variable.useNewLayout.value:undefined '[enableMultiFieldSearch]'=variable.enableMultiFieldSearch?""+variable.enableMultiFieldSearch.value:undefined
|
|
76
|
+
'[useNewLayout]'=variable.useNewLayout?""+variable.useNewLayout.value:undefined '[enableMultiFieldSearch]'=variable.enableMultiFieldSearch?""+variable.enableMultiFieldSearch.value:undefined
|
|
77
|
+
'[showDisabledItem]'=variable.showDisabledItem?""+variable.showDisabledItem.value:undefined
|
|
78
|
+
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
79
|
+
'[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
|
|
80
|
+
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
81
|
+
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
82
|
+
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
83
|
+
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
|
|
84
|
+
'[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
|
|
77
85
|
if (variable.needValid && variable.binding && variable.binding.path)
|
|
78
86
|
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
79
87
|
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
@@ -89,7 +97,14 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
89
97
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
90
98
|
else
|
|
91
99
|
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
92
|
-
farris-text('[type]'="'string'" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
|
|
100
|
+
farris-text('[type]'="'string'" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
|
|
101
|
+
'[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined
|
|
102
|
+
'[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
|
|
103
|
+
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
104
|
+
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
105
|
+
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
106
|
+
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
107
|
+
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
|
|
93
108
|
if(variable.titleTipsTemplate)
|
|
94
109
|
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
95
110
|
i(class="f-icon f-icon-description-tips")
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
-var holdPlaceInnerAttrs = {};
|
|
3
3
|
-var holdPlaceEmptyAttrs = {};
|
|
4
4
|
if(variable.holdPlace)
|
|
5
|
-
-holdPlaceInnerAttrs["*ngIf"]=variable.visible
|
|
6
|
-
-holdPlaceEmptyAttrs['*ngIf']=variable.visible
|
|
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
7
|
else
|
|
8
|
-
-holdPlaceOuterAttrs["*ngIf"]=variable.visible
|
|
8
|
+
-holdPlaceOuterAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
|
|
9
9
|
div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
|
|
10
10
|
if(variable.holdPlace)
|
|
11
11
|
div(class="f-empty-input-placeholder")&attributes(holdPlaceEmptyAttrs)
|
|
@@ -16,12 +16,12 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
16
16
|
if(variable.linkedLabelEnabled)
|
|
17
17
|
label(class="col-form-label col-form-label-multi 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
18
|
if (variable.require)
|
|
19
|
-
span(class="farris-label-info text-danger" "*ngIf"=""+variable.require.value) *
|
|
19
|
+
span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
|
|
20
20
|
span(class="farris-label-text") {{#{titleValue}}}
|
|
21
21
|
else
|
|
22
22
|
label(class="col-form-label col-form-label-multi" title="{{"+titleValue+"}}" for=variable.replacedId '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined )
|
|
23
23
|
if (variable.require)
|
|
24
|
-
span(class="farris-label-info text-danger" "*ngIf"=""+variable.require.value) *
|
|
24
|
+
span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
|
|
25
25
|
span(class="farris-label-text") {{#{titleValue}}}
|
|
26
26
|
div(class="farris-input-wrap")
|
|
27
27
|
-var attrs = {};
|
|
@@ -42,7 +42,31 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
42
42
|
-attrs["farris-set-focus"]="";
|
|
43
43
|
if(variable.focusState)
|
|
44
44
|
-attrs["[focusState]"]=variable.focusState+"";
|
|
45
|
-
textarea(id=variable.replacedId '[style.height]'=(variable.size&&variable.size.height)?"'"+variable.size.height+"px"+"'":undefined
|
|
45
|
+
textarea(id=variable.replacedId '[style.height]'=(variable.size&&variable.size.height)?"'"+variable.size.height+"px"+"'":undefined
|
|
46
|
+
'[maxHeight]'= variable.maxHeight?""+variable.maxHeight:undefined
|
|
47
|
+
'[style.width]'=(variable.size&&variable.size.width)?"'"+variable.size.width+"px"+"'":undefined
|
|
48
|
+
class="form-control"
|
|
49
|
+
"input-end-edit" 'kendoTextArea' '[disabled]'!=variable.disable?variable.disable.toString():undefined
|
|
50
|
+
'[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"":undefined
|
|
51
|
+
'[value]'=variable.value?variable.value:undefined
|
|
52
|
+
tabindex=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
|
|
53
|
+
'[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
|
|
54
|
+
'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
|
|
55
|
+
'[auto-size]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[textarea-zoom]'=variable.enableDialog+""
|
|
56
|
+
'[title]'=variable.enableDialog?""+titleValue:undefined '[dialogWidth]'=variable.enableDialog?variable.dialogWidth+"":undefined
|
|
57
|
+
'[dialogHeight]'=variable.enableDialog?variable.dialogHeight+"":undefined
|
|
58
|
+
'maxlength'=(variable.maxLength && variable.maxLength!=0)?""+variable.maxLength:undefined
|
|
59
|
+
'[word-count]'=(variable.enableWordCount || variable.enableWordCount==false)?""+variable.enableWordCount:undefined
|
|
60
|
+
'[countType]'=variable.countType?"'"+variable.countType+"'":undefined
|
|
61
|
+
'[onlyShowInDialog]'=(variable.onlyShowInDialog||variable.onlyShowInDialog==false)?""+variable.onlyShowInDialog:undefined
|
|
62
|
+
'[common-comments]'=variable.useComments?""+variable.useComments.value:undefined
|
|
63
|
+
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
64
|
+
'[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
|
|
65
|
+
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
66
|
+
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
67
|
+
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
68
|
+
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
|
|
69
|
+
'[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
|
|
46
70
|
if (variable.needValid && variable.binding && variable.binding.path)
|
|
47
71
|
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
48
72
|
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
@@ -58,7 +82,17 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
58
82
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
59
83
|
else
|
|
60
84
|
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
61
|
-
farris-text('[type]'="'string'"
|
|
85
|
+
farris-text('[type]'="'string'" '[isTextArea]'="true" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
|
|
86
|
+
'[maxHeight]'= variable.maxHeight?""+variable.maxHeight:undefined '[textarea-zoom]'=variable.enableDialog+""
|
|
87
|
+
'[title]'=variable.enableDialog?""+titleValue:undefined '[dialogWidth]'=variable.enableDialog?variable.dialogWidth+"":undefined
|
|
88
|
+
'[dialogHeight]'=variable.enableDialog?variable.dialogHeight+"":undefined
|
|
89
|
+
'[attr.maxLength]'=variable.maxLength?""+variable.maxLength:undefined
|
|
90
|
+
'[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
|
|
91
|
+
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
92
|
+
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
93
|
+
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
94
|
+
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
95
|
+
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
|
|
62
96
|
if(variable.titleTipsTemplate)
|
|
63
97
|
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
64
98
|
i(class="f-icon f-icon-description-tips")
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
-var holdPlaceInnerAttrs = {};
|
|
3
3
|
-var holdPlaceEmptyAttrs = {};
|
|
4
4
|
if(variable.holdPlace)
|
|
5
|
-
-holdPlaceInnerAttrs["*ngIf"]=variable.visible
|
|
6
|
-
-holdPlaceEmptyAttrs['*ngIf']=variable.visible
|
|
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
7
|
else
|
|
8
|
-
-holdPlaceOuterAttrs["*ngIf"]=variable.visible
|
|
8
|
+
-holdPlaceOuterAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
|
|
9
9
|
div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
|
|
10
10
|
if(variable.holdPlace)
|
|
11
11
|
div(class="f-empty-input-placeholder")&attributes(holdPlaceEmptyAttrs)
|
|
@@ -16,12 +16,12 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
16
16
|
if(variable.linkedLabelEnabled)
|
|
17
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
18
|
if (variable.require)
|
|
19
|
-
span(class="farris-label-info text-danger" "*ngIf"=""+variable.require.value) *
|
|
19
|
+
span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
|
|
20
20
|
span(class="farris-label-text") {{#{titleValue}}}
|
|
21
21
|
else
|
|
22
22
|
label(class="col-form-label" title="{{"+titleValue+"}}" for=variable.replacedId '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined)
|
|
23
23
|
if (variable.require)
|
|
24
|
-
span(class="farris-label-info text-danger" "*ngIf"=""+variable.require.value) *
|
|
24
|
+
span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
|
|
25
25
|
span(class="farris-label-text") {{#{titleValue}}}
|
|
26
26
|
div(class="farris-input-wrap")
|
|
27
27
|
-var attrs = {};
|
|
@@ -52,7 +52,7 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
52
52
|
'[disabled]'!=variable.disable?variable.disable.toString():undefined
|
|
53
53
|
'[primaryField]'=variable.primaryField?"'"+variable.primaryField+"'":undefined
|
|
54
54
|
'[displayField]'=variable.displayField?"'"+variable.displayField+"'":undefined
|
|
55
|
-
'[readonly]'!=variable.readonly?variable.readonly.value+"":undefined
|
|
55
|
+
'[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"":undefined
|
|
56
56
|
'[viewType]'!=variable.viewType?"'"+variable.viewType+"'":undefined
|
|
57
57
|
'[busNum]'!=variable.busNum?"'"+variable.busNum+"'":undefined
|
|
58
58
|
'[absOrgType]'=variable.absOrgType?"'"+variable.absOrgType+"'":undefined
|
|
@@ -75,9 +75,15 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
75
75
|
'(inputClear)'!=variable.inputClear?variable.inputClear+"":undefined
|
|
76
76
|
'tab-index'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
|
|
77
77
|
'[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
|
|
78
|
-
'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
|
|
79
|
-
|
|
80
|
-
|
|
78
|
+
'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
|
|
79
|
+
'[showDisabledItem]'=variable.showDisabledItem?""+variable.showDisabledItem.value:undefined
|
|
80
|
+
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
81
|
+
'[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":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
|
|
86
|
+
'[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
|
|
81
87
|
if (variable.needValid && variable.binding && variable.binding.path)
|
|
82
88
|
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
83
89
|
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
@@ -93,7 +99,14 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
93
99
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
94
100
|
else
|
|
95
101
|
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
96
|
-
farris-text('[type]'="'string'" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
|
|
102
|
+
farris-text('[type]'="'string'" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
|
|
103
|
+
'[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined
|
|
104
|
+
'[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
|
|
105
|
+
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
106
|
+
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
107
|
+
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
108
|
+
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
109
|
+
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
|
|
97
110
|
if(variable.titleTipsTemplate)
|
|
98
111
|
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
99
112
|
i(class="f-icon f-icon-description-tips")
|
|
@@ -37,7 +37,19 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
37
37
|
-attrs["farris-set-focus"]="";
|
|
38
38
|
if(variable.focusState)
|
|
39
39
|
-attrs["[focusState]"]=variable.focusState+"";
|
|
40
|
-
input(class="custom-control-input" "input-end-edit" type="radio" id=variable.replacedId
|
|
40
|
+
input(class="custom-control-input" "input-end-edit" type="radio" id=variable.replacedId
|
|
41
|
+
'[disabled]'!=variable.disable?variable.disable.toString():undefined
|
|
42
|
+
'[readonly]'!=variable.readonly?variable.readonly.value+"":undefined
|
|
43
|
+
tabindex=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
|
|
44
|
+
'[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
|
|
45
|
+
'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
|
|
46
|
+
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
47
|
+
'[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
|
|
48
|
+
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
49
|
+
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
50
|
+
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
51
|
+
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
|
|
52
|
+
'[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
|
|
41
53
|
label(class="custom-control-label" for=variable.replacedId)
|
|
42
54
|
if(variable.titleTipsTemplate)
|
|
43
55
|
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
@@ -4,10 +4,10 @@
|
|
|
4
4
|
-var holdPlaceInnerAttrs = {};
|
|
5
5
|
-var holdPlaceEmptyAttrs = {};
|
|
6
6
|
if(variable.holdPlace)
|
|
7
|
-
-holdPlaceInnerAttrs["*ngIf"]=variable.visible?variable.visible.value+'':undefined;
|
|
8
|
-
-holdPlaceEmptyAttrs['*ngIf']=variable.visible
|
|
7
|
+
-holdPlaceInnerAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
|
|
8
|
+
-holdPlaceEmptyAttrs['*ngIf']=variable.visible?variable.visiblePipeSuffix?'!'+variable.visible.value+variable.visiblePipeSuffix+'':'!'+variable.visible.value+'':undefined;
|
|
9
9
|
else
|
|
10
|
-
-holdPlaceOuterAttrs["*ngIf"]=variable.visible?variable.visible.value+'':undefined;
|
|
10
|
+
-holdPlaceOuterAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
|
|
11
11
|
div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
|
|
12
12
|
if(variable.holdPlace)
|
|
13
13
|
div(class="f-empty-input-placeholder")&attributes(holdPlaceEmptyAttrs)
|
|
@@ -18,12 +18,12 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
18
18
|
if(variable.linkedLabelEnabled)
|
|
19
19
|
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)
|
|
20
20
|
if (variable.require)
|
|
21
|
-
span(class="farris-label-info text-danger" "*ngIf"=""+variable.require.value) *
|
|
21
|
+
span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
|
|
22
22
|
span('class'="farris-label-text") {{#{titleValue}}}
|
|
23
23
|
else
|
|
24
24
|
label('class'='col-form-label' title="{{"+titleValue+"}}" for=variable.replacedId '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined)
|
|
25
25
|
if (variable.require)
|
|
26
|
-
span(class="farris-label-info text-danger" "*ngIf"=""+variable.require.value) *
|
|
26
|
+
span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
|
|
27
27
|
span('class'="farris-label-text") {{#{titleValue}}}
|
|
28
28
|
-var attrs = {};
|
|
29
29
|
if (variable.binding && variable.binding.type == 'Variable')
|
|
@@ -42,7 +42,22 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
42
42
|
if(variable.focusState)
|
|
43
43
|
-attrs["[focusState]"]=variable.focusState+"";
|
|
44
44
|
div('class'='farris-input-wrap')
|
|
45
|
-
farris-radiogroup(id=variable.replacedId?""+variable.replacedId:undefined "input-end-edit"
|
|
45
|
+
farris-radiogroup(id=variable.replacedId?""+variable.replacedId:undefined "input-end-edit"
|
|
46
|
+
'[disabled]'!=variable.readonly?variable.readonlyPipeSuffix?""+variable.readonly.value+variable.readonlyPipeSuffix:""+variable.readonly.value:undefined '[horizontal]'= ""+variable.isHorizontal+""
|
|
47
|
+
'[data]'=variable.enumDataLang?""+variable.enumDataLang:undefined
|
|
48
|
+
'[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
|
|
49
|
+
'(setRadioData)'=variable.setRadioData?""+variable.setRadioData:undefined
|
|
50
|
+
'[valueField]'=variable.valueField?"'"+variable.valueField+"'":undefined
|
|
51
|
+
'[textField]'=variable.textField?"'"+variable.textField+"'":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
|
+
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
55
|
+
'[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
|
|
56
|
+
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
57
|
+
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
58
|
+
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
59
|
+
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
|
|
60
|
+
'[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
|
|
46
61
|
if (variable.needValid && variable.binding && variable.binding.path)
|
|
47
62
|
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
48
63
|
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
@@ -58,7 +73,17 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
58
73
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
59
74
|
else
|
|
60
75
|
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
61
|
-
farris-text('[type]'="'enum'" '[data]'!=variable.enumDataLang?""+variable.enumDataLang:undefined
|
|
76
|
+
farris-text('[type]'="'enum'" '[data]'!=variable.enumDataLang?""+variable.enumDataLang:undefined
|
|
77
|
+
'[valueField]'=variable.valueField?"'"+variable.valueField+"'":undefined
|
|
78
|
+
'[textField]'=variable.textField?"'"+variable.textField+"'":undefined
|
|
79
|
+
'[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
|
|
80
|
+
'[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined
|
|
81
|
+
'[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
|
|
82
|
+
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
83
|
+
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
84
|
+
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
85
|
+
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
86
|
+
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
|
|
62
87
|
if(variable.titleTipsTemplate)
|
|
63
88
|
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
64
89
|
i(class="f-icon f-icon-description-tips")
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
-var holdPlaceInnerAttrs = {};
|
|
3
3
|
-var holdPlaceEmptyAttrs = {};
|
|
4
4
|
if(variable.holdPlace)
|
|
5
|
-
-holdPlaceInnerAttrs["*ngIf"]=variable.visible
|
|
6
|
-
-holdPlaceEmptyAttrs['*ngIf']=variable.visible
|
|
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
7
|
else
|
|
8
|
-
-holdPlaceOuterAttrs["*ngIf"]=variable.visible
|
|
8
|
+
-holdPlaceOuterAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
|
|
9
9
|
div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
|
|
10
10
|
if(variable.holdPlace)
|
|
11
11
|
div(class="f-empty-input-placeholder")&attributes(holdPlaceEmptyAttrs)
|
|
@@ -16,12 +16,12 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
16
16
|
if(variable.linkedLabelEnabled)
|
|
17
17
|
label(class="col-form-label col-form-label-multi 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
18
|
if (variable.require)
|
|
19
|
-
span(class="farris-label-info text-danger" "*ngIf"=""+variable.require.value) *
|
|
19
|
+
span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
|
|
20
20
|
span(class="farris-label-text") {{#{titleValue}}}
|
|
21
21
|
else
|
|
22
22
|
label(class="col-form-label col-form-label-multi" title="{{"+titleValue+"}}" for=variable.replacedId '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined)
|
|
23
23
|
if (variable.require)
|
|
24
|
-
span(class="farris-label-info text-danger" "*ngIf"=""+variable.require.value) *
|
|
24
|
+
span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
|
|
25
25
|
span(class="farris-label-text") {{#{titleValue}}}
|
|
26
26
|
div(class="farris-input-wrap")
|
|
27
27
|
-var attrs = {};
|
|
@@ -38,7 +38,7 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
38
38
|
-attrs["farris-set-focus"]="";
|
|
39
39
|
if(variable.focusState)
|
|
40
40
|
-attrs["[focusState]"]=variable.focusState+"";
|
|
41
|
-
farris-html-editor(id=variable.replacedId "html-editor-end-edit" class="form-control" "htmlEditorRef" '[disabled]'!=variable.disable?variable.disable.toString():undefined '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined '[value]'=variable.value?variable.value:undefined '[format]'=variable.format?"'"+variable.format+"'":undefined '[theme]'=variable.theme?"'"+variable.theme+"'":undefined '[maxLength]'=variable.maxLength?"'"+variable.maxLength+"'":undefined '[minLength]'=variable.minLength?"'"+variable.minLength+"'":undefined '[required]'=variable.require?""+variable.require.value:undefined '[customToolbarPosition]'=variable.customToolbarPosition?"'"+variable.customToolbarPosition+"'":undefined '(onEditorCreated)'=variable.onEditorCreated?variable.onEditorCreated+"(param)":undefined '(onContentChanged)'=variable.onContentChanged?variable.onContentChanged+"(param)":undefined '(onSelectionChanged)'=variable.onSelectionChanged?variable.onSelectionChanged+"":undefined '(onFocus)'=variable.onFocus?variable.onFocus+"(param)":undefined '(onBlur)'=variable.onBlur?variable.onBlur+"(param)":undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[styles]'=variable.customEditorStyle?""+variable.customEditorStyle:undefined '[showBorder]'=(variable.isTextArea ||variable.isTextArea==false)?""+variable.isTextArea: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 '[customToolbar]'=variable.customToolbar?""+variable.customToolbar.value:undefined '[toolbar]'=variable.toolbar?variable.toolbar:undefined '[maxHeight]'=(variable.maxHeight||variable.maxHeight==0)?""+variable.maxHeight:undefined
|
|
41
|
+
farris-html-editor(id=variable.replacedId "html-editor-end-edit" class="form-control" "htmlEditorRef" '[disabled]'!=variable.disable?variable.disable.toString():undefined '[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"":undefined '[value]'=variable.value?variable.value:undefined '[format]'=variable.format?"'"+variable.format+"'":undefined '[theme]'=variable.theme?"'"+variable.theme+"'":undefined '[maxLength]'=variable.maxLength?"'"+variable.maxLength+"'":undefined '[minLength]'=variable.minLength?"'"+variable.minLength+"'":undefined '[required]'=variable.require?""+variable.require.value:undefined '[customToolbarPosition]'=variable.customToolbarPosition?"'"+variable.customToolbarPosition+"'":undefined '(onEditorCreated)'=variable.onEditorCreated?variable.onEditorCreated+"(param)":undefined '(onContentChanged)'=variable.onContentChanged?variable.onContentChanged+"(param)":undefined '(onSelectionChanged)'=variable.onSelectionChanged?variable.onSelectionChanged+"":undefined '(onFocus)'=variable.onFocus?variable.onFocus+"(param)":undefined '(onBlur)'=variable.onBlur?variable.onBlur+"(param)":undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[styles]'=variable.customEditorStyle?""+variable.customEditorStyle:undefined '[showBorder]'=(variable.isTextArea ||variable.isTextArea==false)?""+variable.isTextArea: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 '[customToolbar]'=variable.customToolbar?""+variable.customToolbar.value:undefined '[toolbar]'=variable.toolbar?variable.toolbar:undefined '[maxHeight]'=(variable.maxHeight||variable.maxHeight==0)?""+variable.maxHeight:undefined
|
|
42
42
|
'[limitImageSize]'=variable.limitImageSize?""+variable.limitImageSize.value:undefined '[maxImgSize]'=variable.maxImgSize?""+variable.maxImgSize:undefined
|
|
43
43
|
)&attributes(attrs)
|
|
44
44
|
if (variable.needValid && variable.binding && variable.binding.path)
|
|
@@ -3,7 +3,20 @@ if (variable.isScrollSpyItem)
|
|
|
3
3
|
-attrs['[fScrollSpy]'] = "'"+variable.replacedId+"'";
|
|
4
4
|
if(variable.includeInLoopContainer)
|
|
5
5
|
-attrs['[context]'] = "row";
|
|
6
|
-
farris-section(id=variable.replacedId?""+variable.replacedId:undefined '[index]'="index"
|
|
6
|
+
farris-section(id=variable.replacedId?""+variable.replacedId:undefined '[index]'="index"
|
|
7
|
+
class=(variable.appearance && variable.appearance.class)
|
|
8
|
+
'[expandStatus]'=(variable.expanded || variable.expanded==false)?""+variable.expanded:undefined
|
|
9
|
+
style=(variable.appearance && variable.appearance.style) '[contentCls]'!=variable.contentCls?"'"+variable.contentCls+"'":undefined
|
|
10
|
+
'[mainTitle]'!=variable.mainTitleLang?""+variable.mainTitleLang:undefined
|
|
11
|
+
'[subTitle]'!=variable.subTitleLang?""+variable.subTitleLang:undefined
|
|
12
|
+
'[fill]'=(variable.fill||variable.fill==false)?variable.fill+"":undefined
|
|
13
|
+
'[showHeader]'=(variable.showHeader||variable.showHeader==false)?variable.showHeader+'':undefined
|
|
14
|
+
'[enableMaximize]'=(variable.enableMaximize||variable.enableMaximize==false)?variable.enableMaximize+'':undefined
|
|
15
|
+
'[enableAccordion]'=variable.enableAccordion?"'"+variable.enableAccordion+"'":undefined
|
|
16
|
+
'*ngIf'!=variable.visible ?variable.visible.value+"":undefined
|
|
17
|
+
'[btnStates]'=variable.toolbarStatesName?variable.disableSecPipeSuffix?""+variable.toolbarStatesName+variable.disableSecPipeSuffix:""+variable.toolbarStatesName:undefined 'sectionRef'
|
|
18
|
+
'[btnVisible]'=variable.toolbarVisibleName?variable.visibleSecPipeSuffix?""+variable.toolbarVisibleName+variable.visibleSecPipeSuffix:""+variable.toolbarVisibleName:undefined
|
|
19
|
+
'[toolbar]'=variable.toolbarName?""+variable.toolbarName:undefined)&attributes(attrs)
|
|
7
20
|
if(variable.farrisSectionHeader)
|
|
8
21
|
ng-template(farrisSectionHeader '[headerCls]'!=variable.headerCls?"'"+variable.headerCls+"'":undefined )
|
|
9
22
|
| !{variable.farrisSectionHeader}
|
|
@@ -18,7 +18,7 @@ div(class="farris-input-wrap")
|
|
|
18
18
|
-attrs['[(ngModel)]'] =variable.rowPrefix+ variable.ngModelPath;
|
|
19
19
|
-attrs['name'] = variable.replacedId;
|
|
20
20
|
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
21
|
-
input(id=variable.replacedId class="custom-control-input" type="checkbox" '[index]'="index" 'farris-checkbox-modification' '[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)
|
|
21
|
+
input(id=variable.replacedId class="custom-control-input" type="checkbox" '[index]'="index" 'farris-checkbox-modification' '[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.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined )&attributes(attrs)
|
|
22
22
|
if(variable.linkedLabelEnabled)
|
|
23
23
|
label(class="custom-control-label f-pretend-link f-cursor-pointer" '*ngSwitchCase'="true" '(click)'=variable.linkedLabelClick?variable.linkedLabelClick:undefined) {{'!{variable.resourceId}'|lang:lang:'!{variable.defaultI18nValue}'}}
|
|
24
24
|
label(class="custom-control-label f-pretend-link f-cursor-pointer" 'farris-label-modification' '[index]'="index" '*ngSwitchCase'="false" for=variable.replacedId '(click)'=variable.linkedLabelClick?variable.linkedLabelClick:undefined) {{'!{variable.resourceId}'|lang:lang:'!{variable.defaultI18nValue}'}}
|
|
@@ -42,7 +42,7 @@ div(class="farris-input-wrap")
|
|
|
42
42
|
-attrs["farris-set-focus"]="";
|
|
43
43
|
if(variable.focusState)
|
|
44
44
|
-attrs["[focusState]"]=variable.focusState+"";
|
|
45
|
-
input(id=variable.replacedId "input-end-edit" class="custom-control-input" type="checkbox" 'farris-checkbox-modification' '[index]'="index" '[disabled]'!=variable.disable?variable.disable.toString():undefined '[readonly]'!=variable.readonly?""+variable.readonly.value:undefined '(ngModelChange)'!=variable.valueChange?"!"+variable.readonly.value+"&&"+variable.valueChange+"":undefined tabindex=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[inputAppendControlType]'=variable.originalType?"'"+variable.originalType+"'":undefined )&attributes(attrs)
|
|
45
|
+
input(id=variable.replacedId "input-end-edit" class="custom-control-input" type="checkbox" 'farris-checkbox-modification' '[index]'="index" '[disabled]'!=variable.disable?variable.disable.toString():undefined '[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?""+variable.readonly.value+variable.readonlyPipeSuffix:""+variable.readonly.value:undefined '(ngModelChange)'!=variable.valueChange?"!"+variable.readonly.value+"&&"+variable.valueChange+"":undefined tabindex=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined )&attributes(attrs)
|
|
46
46
|
if(variable.linkedLabelEnabled)
|
|
47
47
|
label(class="custom-control-label f-pretend-link f-cursor-pointer" '*ngSwitchCase'="true" '(click)'=variable.linkedLabelClick?variable.linkedLabelClick:undefined) {{'!{variable.resourceId}'|lang:lang:'!{variable.defaultI18nValue}'}}
|
|
48
48
|
label(class="custom-control-label f-pretend-link f-cursor-pointer" '*ngSwitchCase'="false" 'farris-label-modification' '[index]'="index" for=variable.replacedId '(click)'=variable.linkedLabelClick?variable.linkedLabelClick:undefined) {{'!{variable.resourceId}'|lang:lang:'!{variable.defaultI18nValue}'}}
|
|
@@ -71,7 +71,7 @@ if(variable.isTextArea)
|
|
|
71
71
|
label(class="col-form-label" )&attributes(areaLabelAttrs)
|
|
72
72
|
span(class="farris-label-text")
|
|
73
73
|
| {{'!{variable.resourceId}'|lang:lang:'!{variable.defaultI18nValue}'}}
|
|
74
|
-
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 '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined )&attributes(areaAttrs)
|
|
74
|
+
farris-text('[type]'="'boolean'" '[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)
|
|
75
75
|
if(variable.titleTipsTemplate)
|
|
76
76
|
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
77
77
|
i(class="f-icon f-icon-description-tips")
|
|
@@ -18,7 +18,7 @@ div(class="farris-input-wrap")
|
|
|
18
18
|
-attrs["farris-set-focus"]="";
|
|
19
19
|
if(variable.focusState)
|
|
20
20
|
-attrs["[focusState]"]=variable.focusState+"";
|
|
21
|
-
input(class="custom-control-input" "input-end-edit" type="checkbox" id=item.id disabled!=item.disable?item.disable.toString():undefined readonly!=item.readonly?""+item.readonly.value:undefined tabindex=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined )&attributes(attrs)
|
|
21
|
+
input(class="custom-control-input" "input-end-edit" type="checkbox" id=item.id disabled!=item.disable?item.disable.toString():undefined readonly!=item.readonly?item.readonlyPipeSuffix?""+item.readonly.value+item.readonlyPipeSuffix:""+item.readonly.value:undefined tabindex=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined )&attributes(attrs)
|
|
22
22
|
if (item.title)
|
|
23
23
|
label(class="custom-control-label" for=item.id) !{item.title}
|
|
24
24
|
if(variable.titleTipsTemplate)
|
|
@@ -10,7 +10,7 @@ div(class="farris-input-wrap")
|
|
|
10
10
|
-attrs['name'] = variable.replacedId;
|
|
11
11
|
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
12
12
|
if (variable.readonly)
|
|
13
|
-
-attrs['[readonly]'] = variable.readonly.value+"";
|
|
13
|
+
-attrs['[readonly]'] = variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix"":variable.readonly.value+"";
|
|
14
14
|
-attrs['[class.f-state-readonly]']=variable.readonly.value+"";
|
|
15
15
|
|
|
16
16
|
-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
@@ -23,7 +23,7 @@ div(class="farris-input-wrap")
|
|
|
23
23
|
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
24
24
|
else
|
|
25
25
|
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
26
|
-
kendo-combobox(id=variable.replacedId "input-end-edit" '[data]'!=variable.enumDataLang+"" '[textField]'="'name'" '[valueField]'="'value'" '[valuePrimitive]'="true" class="form-control" '(valueChange)'=variable.valueChange?variable.valueChange+"":undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[inputAppendControlType]'=variable.originalType?"'"+variable.originalType+"'":undefined )&attributes(attrs)
|
|
26
|
+
kendo-combobox(id=variable.replacedId "input-end-edit" '[data]'!=variable.enumDataLang+"" '[textField]'="'name'" '[valueField]'="'value'" '[valuePrimitive]'="true" class="form-control" '(valueChange)'=variable.valueChange?variable.valueChange+"":undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined )&attributes(attrs)
|
|
27
27
|
div(class="farris-feedback")
|
|
28
28
|
if(variable.isTextArea)
|
|
29
29
|
-var areaAttrs = {};
|
|
@@ -40,7 +40,7 @@ div(class="farris-input-wrap")
|
|
|
40
40
|
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
41
41
|
-areaAttrs['[(ngModel)]'] = variable.rowPrefix+(variable.ngModelPath);
|
|
42
42
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
43
|
-
farris-text('[type]'="'enum'" '[data]'!=variable.enumDataLang '[inputAppendControlType]'="'StaticText'" '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined ' [inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined )&attributes(areaAttrs)
|
|
43
|
+
farris-text('[type]'="'enum'" '[data]'!=variable.enumDataLang '[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
44
|
if(variable.titleTipsTemplate)
|
|
45
45
|
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
46
46
|
i(class="f-icon f-icon-description-tips")
|