@farris/jit-engine 1.4.126 → 1.4.128
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 +5 -1
- package/lib/.DS_Store +0 -0
- package/lib/domstructure/.DS_Store +0 -0
- package/lib/domstructure/devkit/devkit.js +222 -220
- package/lib/domstructure/devkit/devkit.js.map +1 -1
- package/lib/domstructure/devkit/viewmodel/component/component.js +221 -221
- package/lib/domstructure/devkit/viewmodel/component/component.js.map +1 -1
- package/lib/domstructure/devkit/viewmodel/viewmodel.js +139 -138
- package/lib/domstructure/devkit/viewmodel/viewmodel.js.map +1 -1
- package/lib/domstructure/ui/.DS_Store +0 -0
- package/lib/domstructure/ui/common/basecomponent.js +163 -163
- package/lib/domstructure/ui/common/basecomponent.js.map +1 -1
- package/lib/domstructure/ui/data/collection/hierarchy/tree_grid.js +198 -198
- package/lib/domstructure/ui/data/collection/hierarchy/tree_grid.js.map +1 -1
- package/lib/domstructure/ui/farris-fileupload-preview/farris-file-upload-preview.js +3 -3
- package/lib/domstructure/ui/farris-fileupload-preview/farris-file-upload-preview.js.map +1 -1
- package/lib/domstructure/ui/list-filter/farris-list-filter.js +88 -78
- package/lib/domstructure/ui/list-filter/farris-list-filter.js.map +1 -1
- package/lib/template/.DS_Store +0 -0
- package/lib/template/ui/.DS_Store +0 -0
- package/lib/template/ui/kendo/adminorganization-selector.pug +108 -101
- package/lib/template/ui/kendo/checkbox.pug +133 -123
- package/lib/template/ui/kendo/checkboxgroup.pug +70 -63
- package/lib/template/ui/kendo/city-selector.pug +76 -69
- package/lib/template/ui/kendo/combobox.pug +77 -70
- package/lib/template/ui/kendo/datepicker.pug +77 -70
- package/lib/template/ui/kendo/employee-selector.pug +103 -96
- package/lib/template/ui/kendo/farris-checkbox-group.pug +103 -96
- package/lib/template/ui/kendo/farris-combo-list.pug +118 -111
- package/lib/template/ui/kendo/farris-combo-lookup.pug +105 -98
- package/lib/template/ui/kendo/farris-datepicker.pug +125 -118
- package/lib/template/ui/kendo/farris-ext-intergration.pug +86 -79
- package/lib/template/ui/kendo/farris-list-filter.pug +17 -12
- package/lib/template/ui/kendo/farris-number-range.pug +105 -98
- package/lib/template/ui/kendo/farris-number-spinner.pug +110 -103
- package/lib/template/ui/kendo/farris-switch.pug +95 -88
- package/lib/template/ui/kendo/farris-tags.pug +77 -70
- package/lib/template/ui/kendo/farris-time-picker.pug +109 -102
- package/lib/template/ui/kendo/farris-time-spinner.pug +78 -71
- package/lib/template/ui/kendo/image-upload.pug +89 -82
- package/lib/template/ui/kendo/input-group.pug +103 -96
- package/lib/template/ui/kendo/language-textbox.pug +99 -92
- package/lib/template/ui/kendo/light-lookup.pug +192 -185
- package/lib/template/ui/kendo/lookup-employee.pug +120 -113
- package/lib/template/ui/kendo/lookup.pug +120 -113
- package/lib/template/ui/kendo/multitextbox.pug +108 -101
- package/lib/template/ui/kendo/numericbox.pug +77 -70
- package/lib/template/ui/kendo/oa-relation.pug +24 -20
- package/lib/template/ui/kendo/organization-selector.pug +128 -121
- package/lib/template/ui/kendo/radiobox.pug +67 -60
- package/lib/template/ui/kendo/radioboxgroup.pug +101 -94
- package/lib/template/ui/kendo/richtextbox.pug +60 -53
- package/lib/template/ui/kendo/select.pug +53 -46
- package/lib/template/ui/kendo/switch.pug +74 -67
- package/lib/template/ui/kendo/textbox.pug +105 -98
- package/lib/template/ui/kendo/timebox.pug +54 -47
- package/lib/template/ui/kendo/tinymcerichtextbox.pug +66 -59
- package/lib/template/ui/kendo/treegrid.pug +43 -40
- package/lib/template/ui/mobileapprove/statictext-for-mobileapprove.pug +6 -4
- package/lib/utility/.DS_Store +0 -0
- package/lib/utility/devkit/component-parameter-collector/farris-list-filter-parameter-collector.js +183 -159
- package/lib/utility/devkit/component-parameter-collector/farris-list-filter-parameter-collector.js.map +1 -1
- package/lib/utility/devkit/form-file-executor.js +449 -444
- package/lib/utility/devkit/form-file-executor.js.map +1 -1
- package/lib/utility/internal-entity/component-parameter/component-listfilter-parameter.js +59 -59
- package/lib/utility/internal-entity/component-parameter/component-listfilter-parameter.js.map +1 -1
- package/lib/utility/mobile-approve/entity/static-text-for-mobileapprove.js +8 -2
- package/lib/utility/mobile-approve/entity/static-text-for-mobileapprove.js.map +1 -1
- package/lib/utility/template-generator/.DS_Store +0 -0
- package/lib/utility/template-generator/devkit/.DS_Store +0 -0
- package/lib/utility/template-generator/devkit/component-generator/component-import-generator.js +194 -189
- package/lib/utility/template-generator/devkit/component-generator/component-import-generator.js.map +1 -1
- package/lib/utility/template-generator/devkit/component-generator/component-listfilter-parameter-generator.js +259 -226
- package/lib/utility/template-generator/devkit/component-generator/component-listfilter-parameter-generator.js.map +1 -1
- package/lib/utility/template-generator/devkit/component-generator/component-provider-generator.js +185 -181
- package/lib/utility/template-generator/devkit/component-generator/component-provider-generator.js.map +1 -1
- package/lib/utility/template-generator/devkit/component-template-generator.js +537 -534
- package/lib/utility/template-generator/devkit/component-template-generator.js.map +1 -1
- package/package.json +1 -1
- package/lib/mobileapp/vue/static/.npmignore +0 -13
|
@@ -1,185 +1,192 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
|
|
4
|
-
-var
|
|
5
|
-
-var
|
|
6
|
-
|
|
7
|
-
|
|
8
|
-
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
if (variable.
|
|
38
|
-
-attrs['[
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
if(variable.
|
|
51
|
-
-attrs[
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
62
|
-
|
|
63
|
-
|
|
64
|
-
'[
|
|
65
|
-
'[
|
|
66
|
-
'[
|
|
67
|
-
'[
|
|
68
|
-
'[
|
|
69
|
-
'[
|
|
70
|
-
'[
|
|
71
|
-
'[
|
|
72
|
-
'[
|
|
73
|
-
'[
|
|
74
|
-
'[
|
|
75
|
-
'[
|
|
76
|
-
'[
|
|
77
|
-
'[
|
|
78
|
-
|
|
79
|
-
|
|
80
|
-
|
|
81
|
-
|
|
82
|
-
|
|
83
|
-
|
|
84
|
-
|
|
85
|
-
|
|
86
|
-
|
|
87
|
-
//-
|
|
88
|
-
//-
|
|
89
|
-
//- '[
|
|
90
|
-
//- '[
|
|
91
|
-
//- '[
|
|
92
|
-
//- '[
|
|
93
|
-
//- '[
|
|
94
|
-
//-
|
|
95
|
-
//- "
|
|
96
|
-
//- '
|
|
97
|
-
//- '
|
|
98
|
-
//-
|
|
99
|
-
//- '[
|
|
100
|
-
//- '[
|
|
101
|
-
//-
|
|
102
|
-
//-
|
|
103
|
-
//-
|
|
104
|
-
//- '
|
|
105
|
-
//-
|
|
106
|
-
//- '[
|
|
107
|
-
//- '[
|
|
108
|
-
//- '[
|
|
109
|
-
//-
|
|
110
|
-
//-
|
|
111
|
-
//- '
|
|
112
|
-
//- '[
|
|
113
|
-
//- '[
|
|
114
|
-
//- '[
|
|
115
|
-
//- '[
|
|
116
|
-
//- '[
|
|
117
|
-
//- '[
|
|
118
|
-
//- '
|
|
119
|
-
//- '[
|
|
120
|
-
//- '[
|
|
121
|
-
//- '[
|
|
122
|
-
//- '[
|
|
123
|
-
//- '[
|
|
124
|
-
//- '[
|
|
125
|
-
//- '[
|
|
126
|
-
//- '[
|
|
127
|
-
//- '
|
|
128
|
-
//- '[
|
|
129
|
-
//- '[
|
|
130
|
-
//- '[
|
|
131
|
-
//- '[
|
|
132
|
-
//- '[
|
|
133
|
-
//- '[
|
|
134
|
-
//- '
|
|
135
|
-
//- '[
|
|
136
|
-
//- '[
|
|
137
|
-
//- '[
|
|
138
|
-
//- '[
|
|
139
|
-
//- '[
|
|
140
|
-
//- '[
|
|
141
|
-
//- '[
|
|
142
|
-
//- '[
|
|
143
|
-
//- '[
|
|
144
|
-
//- '[
|
|
145
|
-
//- '[
|
|
146
|
-
//- '[
|
|
147
|
-
//- '[
|
|
148
|
-
//- '[
|
|
149
|
-
//- '[
|
|
150
|
-
//- '[
|
|
151
|
-
//- '
|
|
152
|
-
//- '[
|
|
153
|
-
//-
|
|
154
|
-
|
|
155
|
-
|
|
156
|
-
|
|
157
|
-
|
|
158
|
-
|
|
159
|
-
|
|
160
|
-
|
|
161
|
-
|
|
162
|
-
|
|
163
|
-
|
|
164
|
-
|
|
165
|
-
|
|
166
|
-
|
|
167
|
-
|
|
168
|
-
|
|
169
|
-
|
|
170
|
-
-areaAttrs[
|
|
171
|
-
|
|
172
|
-
|
|
173
|
-
|
|
174
|
-
|
|
175
|
-
|
|
176
|
-
|
|
177
|
-
|
|
178
|
-
|
|
179
|
-
|
|
180
|
-
|
|
181
|
-
|
|
182
|
-
|
|
183
|
-
|
|
184
|
-
|
|
185
|
-
|
|
1
|
+
-var isTitleTipsAfterLabel = variable.titleTipsTemplate && variable.titleTipsPosition == "afterLabel";
|
|
2
|
+
//- -var variable={};
|
|
3
|
+
|
|
4
|
+
-var holdPlaceOuterAttrs={};
|
|
5
|
+
-var holdPlaceInnerAttrs={};
|
|
6
|
+
-var holdPlaceEmptyAttrs={};
|
|
7
|
+
if(variable.holdPlace)
|
|
8
|
+
-holdPlaceInnerAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
|
|
9
|
+
-holdPlaceEmptyAttrs['*ngIf']=variable.visible?variable.visiblePipeSuffix?'!'+variable.visible.value+variable.visiblePipeSuffix+'':'!'+variable.visible.value+'':undefined;
|
|
10
|
+
else
|
|
11
|
+
-holdPlaceOuterAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
|
|
12
|
+
div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
|
|
13
|
+
if(variable.holdPlace)
|
|
14
|
+
div(class="f-empty-input-placeholder")&attributes(holdPlaceEmptyAttrs)
|
|
15
|
+
div(class="farris-group-wrap")&attributes(holdPlaceInnerAttrs)
|
|
16
|
+
div(class="form-group farris-form-group" '[ngClass]'="{'form-group--has-tips':"+(variable.enableTitleTips?variable.enableTitleTips:false)+"}")
|
|
17
|
+
if (variable.title)
|
|
18
|
+
-var titleValue=variable.isStaticTitle?("'"+variable.resourceId+"'|lang:lang:'"+variable.defaultI18nValue+"'"):variable.dynamicTitleValue;
|
|
19
|
+
if(variable.linkedLabelEnabled)
|
|
20
|
+
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)
|
|
21
|
+
if (variable.require)
|
|
22
|
+
span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
|
|
23
|
+
span(class="farris-label-text") {{#{titleValue}}}
|
|
24
|
+
if(isTitleTipsAfterLabel)
|
|
25
|
+
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
26
|
+
i(class="f-icon f-icon-description-tips")
|
|
27
|
+
else
|
|
28
|
+
label(class="col-form-label" title="{{"+titleValue+"}}" for=variable.replacedId '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined)
|
|
29
|
+
if (variable.require)
|
|
30
|
+
span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
|
|
31
|
+
span(class="farris-label-text") {{#{titleValue}}}
|
|
32
|
+
if(isTitleTipsAfterLabel)
|
|
33
|
+
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
34
|
+
i(class="f-icon f-icon-description-tips")
|
|
35
|
+
div(class="farris-input-wrap")
|
|
36
|
+
-var attrs={};
|
|
37
|
+
if (variable.binding && variable.binding.type=='Variable')
|
|
38
|
+
-attrs['[(UIStateBinding)]']=variable.binding.value;
|
|
39
|
+
-attrs['name']=variable.replacedId;
|
|
40
|
+
else
|
|
41
|
+
-attrs['formControlName']=(variable.binding && variable.binding.path);
|
|
42
|
+
if (variable.lookupPicking)
|
|
43
|
+
-attrs['[dictPicking]']=variable.lookupPicking;
|
|
44
|
+
if (variable.lookupPicked)
|
|
45
|
+
-attrs['[dictPicked]']=variable.lookupPicked;
|
|
46
|
+
if (variable.beforeSelectData)
|
|
47
|
+
-attrs['[beforeSelectData]']=variable.beforeSelectData;
|
|
48
|
+
if (variable.readonly)
|
|
49
|
+
-attrs['[readonly]']=variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"";
|
|
50
|
+
if (variable.placeHolder&&variable.placeHolderResourceId)
|
|
51
|
+
-attrs['placeholder']="{{'"+variable.placeHolderResourceId+"'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
52
|
+
if(variable.isTextArea)
|
|
53
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
54
|
+
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
55
|
+
else
|
|
56
|
+
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
57
|
+
if(variable.hasDefaultFocus)
|
|
58
|
+
-attrs["farris-set-focus"]="";
|
|
59
|
+
if(variable.focusState)
|
|
60
|
+
-attrs["[focusState]"]=variable.focusState+"";
|
|
61
|
+
-attrs['#'+variable.replacedId]="";
|
|
62
|
+
farris-lookup-light(
|
|
63
|
+
id=variable.replacedId
|
|
64
|
+
'[custom-params]'= variable.customRequestParams?variable.customRequestParams:undefined
|
|
65
|
+
'[columns]'=variable.columns?variable.columns:[]
|
|
66
|
+
'[light-mapping]'=variable.mapFields?variable.mapFields:undefined
|
|
67
|
+
'[striped]'=!(variable.striped===null||variable.striped===undefined)?variable.striped+"":undefined
|
|
68
|
+
'[uri]'=(variable.dataSource&&variable.dataSource.uri)?"'"+variable.dataSource.uri+"'":undefined
|
|
69
|
+
'[separator]'=variable.multipleChoiceSeparator?"'"+variable.multipleChoiceSeparator.value+"'":undefined
|
|
70
|
+
'[displayType]'=(variable.displayType!=null)?"'"+variable.displayType+"'":undefined
|
|
71
|
+
'[multiSelect]'=(variable.multiSelect!=null)?variable.multiSelect+"":undefined
|
|
72
|
+
'[pageList]'=variable.arrPageList?variable.arrPageList:undefined
|
|
73
|
+
'[pageSize]'=variable.pageSize?(variable.pageSize||20):undefined
|
|
74
|
+
'[pagination]'=(variable.pagination===null||variable.pagination===undefined)?"true":variable.pagination+""
|
|
75
|
+
'[idField]'=(variable.dataSource&&variable.dataSource.idField)?"'"+variable.dataSource.idField+"'":undefined
|
|
76
|
+
'[textField]'=(variable.textField!=null)?"'"+variable.textField+"'":undefined
|
|
77
|
+
'[title]'=variable.dialogTitleLang?""+variable.dialogTitleLang:undefined
|
|
78
|
+
'[enableClear]'=(variable.enableClear||variable.enableClear===false)?""+variable.enableClear:undefined
|
|
79
|
+
'[disabled]'!=variable.disable?variable.disable.toString():undefined
|
|
80
|
+
'[pageIndex]'=(variable.pageIndex||1)
|
|
81
|
+
'[showFilterBar]'=(variable.showFilterBar||variable.showFilterBar===false)?""+variable.showFilterBar:undefined
|
|
82
|
+
'[valueField]'=(variable.valueField!=null)?"'"+variable.valueField+"'":undefined
|
|
83
|
+
'[enableFilter]'=(variable.enableFilter||variable.enableFilter===false)?""+variable.enableFilter:undefined
|
|
84
|
+
'[filterFields]'!=variable.serializedFilterFields?variable.serializedFilterFields:undefined
|
|
85
|
+
)&attributes(attrs)
|
|
86
|
+
|
|
87
|
+
//- farris-lookup-light(
|
|
88
|
+
//- id=variable.replacedId
|
|
89
|
+
//- '[uri]'=(variable.dataSource&&variable.dataSource.uri)?"'"+variable.dataSource.uri+"'":undefined
|
|
90
|
+
//- '[separator]'=variable.multipleChoiceSeparator?"'"+variable.multipleChoiceSeparator.value+"'":undefined
|
|
91
|
+
//- '[displayType]'="'"+variable.displayType+"'"
|
|
92
|
+
//- '[multiSelect]'=(variable.multiSelect)+""
|
|
93
|
+
//- '[pageList]'=variable.arrPageList?variable.arrPageList:undefined
|
|
94
|
+
//- '[pageSize]'=(variable.pageSize||20)
|
|
95
|
+
//- '[pagination]'=(variable.pagination===null||variable.pagination===undefined)?"true":variable.pagination+""
|
|
96
|
+
//- '[idField]'=(variable.dataSource&&variable.dataSource.idField)?"'"+variable.dataSource.idField+"'":undefined
|
|
97
|
+
//- '[textField]'="'"+variable.textField+"'"
|
|
98
|
+
//- '[title]'=variable.dialogTitleLang?""+variable.dialogTitleLang:undefined
|
|
99
|
+
//- '[enableClear]'=(variable.enableClear||variable.enableClear===false)?""+variable.enableClear:undefined
|
|
100
|
+
//- '[disabled]'!=variable.disable?variable.disable.toString():undefined
|
|
101
|
+
//- ============================================================================================================
|
|
102
|
+
//- "input-end-edit"
|
|
103
|
+
//- 'lookupGridRef'
|
|
104
|
+
//- 'data-mapping'
|
|
105
|
+
//- ============================================================================================================
|
|
106
|
+
//- '[pageIndex]'=(variable.pageIndex||1)
|
|
107
|
+
//- '[valueField]'="'"+variable.valueField+"'"
|
|
108
|
+
//- '[mapFields]'=variable.mapFields?variable.mapFields:undefined
|
|
109
|
+
//- ============================================================================================================
|
|
110
|
+
//- ============================================================================================================
|
|
111
|
+
//- '[useTip]'=(variable.useTip||variable.useTip===false)?variable.useTip+"":undefined
|
|
112
|
+
//- '[useFavorite]'=(variable.useFavorite||variable.useFavorite===false)?variable.useFavorite+"":undefined
|
|
113
|
+
//- '[nosearch]'=variable.noSearch?""+variable.noSearch.value:undefined
|
|
114
|
+
//- '[editable]'=(variable.editable||variable.editable===false)?""+variable.editable:undefined
|
|
115
|
+
//- '[showMaxButton]'=(variable.showMaxButton==null||variable.showMaxButton===undefined)?"true":variable.showMaxButton+""
|
|
116
|
+
//- '[showCloseButton]'=(variable.showCloseButton==null||variable.showCloseButton===undefined)?"true":variable.showCloseButton+""
|
|
117
|
+
//- '[resizable]'=(variable.resizable===null||variable.resizable===undefined)?"true":variable.resizable+""
|
|
118
|
+
//- '(clear)'=variable.clear?variable.clear:undefined
|
|
119
|
+
//- '[context]'=variable.context?variable.context:undefined
|
|
120
|
+
//- '[enableToSelect]'=(variable.enableToSelect||variable.enableToSelect===false)?""+variable.enableToSelect:undefined
|
|
121
|
+
//- '[expandLevel]'=""+variable.expandLevel
|
|
122
|
+
//- '[isRecordSize]'=(variable.isRecordSize||variable.isRecordSize===false)?""+variable.isRecordSize:undefined
|
|
123
|
+
//- '[enableFullTree]'=(variable.enableFullTree||variable.enableFullTree===false)?""+variable.enableFullTree:undefined
|
|
124
|
+
//- '[loadTreeDataType]'=variable.loadTreeDataType?"'"+variable.loadTreeDataType+"'":undefined
|
|
125
|
+
//- '[tab-index]'=(variable.tabindex||variable.tabindex===0)?""+variable.tabindex:undefined
|
|
126
|
+
//- '[dialogWidth]'=variable.panelWidth?""+variable.panelWidth:undefined
|
|
127
|
+
//- '[dialogHeight]'=variable.panelHeight?""+variable.panelHeight:undefined
|
|
128
|
+
//- '[enableCascade]'=variable.enableCascade?""+variable.enableCascade:undefined
|
|
129
|
+
//- '[cascadeStatus]'=variable.cascadeStatus?"'"+variable.cascadeStatus+"'":undefined
|
|
130
|
+
//- '[useExtendInfo]'=(variable.useExtendInfo||variable.useExtendInfo===false)?""+variable.useExtendInfo:undefined
|
|
131
|
+
//- '[extInfoFields]'=variable.extInfoFields?"'"+variable.extInfoFields+"'":undefined
|
|
132
|
+
//- '[extInfoFormatter]'=variable.extInfoFormatterName?""+variable.extInfoFormatterName:undefined
|
|
133
|
+
//- '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
|
|
134
|
+
//- 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
|
|
135
|
+
//- '[customFormatter]'=variable.customFormatterName?""+variable.customFormatterName:undefined
|
|
136
|
+
//- '[selectFirstInNav]'=variable.selectFirstInNav?""+variable.selectFirstInNav.value:undefined
|
|
137
|
+
//- '[loadDataWhenOpen]'=variable.loadDataWhenOpen?""+variable.loadDataWhenOpen.value:undefined
|
|
138
|
+
//- '[customNavFormatter]'=variable.customNavFormatterName?""+variable.customNavFormatterName:undefined
|
|
139
|
+
//- '[treeInfo]'=variable.treeInfo?variable.treeInfo:undefined
|
|
140
|
+
//- '[maxLength]'=variable.maxSearchLength?""+variable.maxSearchLength:undefined
|
|
141
|
+
//- '[viewType]'=variable.viewType?"'"+variable.viewType+"'":undefined
|
|
142
|
+
//- '[treeTableOptions]'=variable.treeTableOptions?variable.treeTableOptions:undefined
|
|
143
|
+
//- '[showCheckAll]'=variable.showCheckAll?""+variable.showCheckAll.value:undefined
|
|
144
|
+
//- '[quickSelect]'=variable.quickSelectName?""+variable.quickSelectName:undefined
|
|
145
|
+
//- '[treeToList]'=variable.treeToList?""+variable.treeToList.value:undefined
|
|
146
|
+
//- '[navTreeToList]'=variable.navTreeToList?""+variable.navTreeToList.value:undefined
|
|
147
|
+
//- '[showNavigation]'=variable.showNavigation?""+variable.showNavigation.value:undefined
|
|
148
|
+
//- '[showCascadeControl]'=variable.showCascadeControl?""+variable.showCascadeControl.value:undefined
|
|
149
|
+
//- '[showSelected]'=variable.showSelected?""+variable.showSelected.value:undefined
|
|
150
|
+
//- '[useNewLayout]'=variable.useNewLayout?""+variable.useNewLayout.value:undefined
|
|
151
|
+
//- '[enableMultiFieldSearch]'=variable.enableMultiFieldSearch?""+variable.enableMultiFieldSearch.value:undefined
|
|
152
|
+
//- '[showDisabledItem]'=variable.showDisabledItem?""+variable.showDisabledItem.value:undefined
|
|
153
|
+
//- '[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
154
|
+
//- '[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
|
|
155
|
+
//- '[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
156
|
+
//- '[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
157
|
+
//- '[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
158
|
+
//- '(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
|
|
159
|
+
//- '[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined
|
|
160
|
+
//- )&attributes(attrs)
|
|
161
|
+
|
|
162
|
+
if (variable.needValid && variable.binding && variable.binding.path)
|
|
163
|
+
-var path=`viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
164
|
+
validationMessage('[errors]'!=`${path}`
|
|
165
|
+
'[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
166
|
+
div(class="farris-feedback")
|
|
167
|
+
if(variable.isTextArea)
|
|
168
|
+
-var areaAttrs={};
|
|
169
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
170
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
171
|
+
else
|
|
172
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
173
|
+
if (variable.binding && variable.binding.type=='Variable')
|
|
174
|
+
-areaAttrs['[(ngModel)]']=variable.binding.value;
|
|
175
|
+
-areaAttrs['[ngModelOptions]']="{standalone:true}";
|
|
176
|
+
else
|
|
177
|
+
-areaAttrs['formControlName']=(variable.binding && variable.binding.path);
|
|
178
|
+
farris-text('[type]'="'string'" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
|
|
179
|
+
'[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined
|
|
180
|
+
'[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
|
|
181
|
+
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
182
|
+
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
183
|
+
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
184
|
+
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
185
|
+
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
|
|
186
|
+
if(variable.titleTipsTemplate && !isTitleTipsAfterLabel)
|
|
187
|
+
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
188
|
+
i(class="f-icon f-icon-description-tips")
|
|
189
|
+
-var tipsAttrs={};
|
|
190
|
+
-tipsAttrs['#'+variable.titleTipsTemplateName]="";
|
|
191
|
+
ng-template()&attributes(tipsAttrs)
|
|
192
|
+
|!{variable.titleTipsTemplate}
|