@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 = {};
|
|
@@ -42,23 +42,33 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
42
42
|
if(variable.focusState)
|
|
43
43
|
-attrs["[focusState]"]=variable.focusState+"";
|
|
44
44
|
farris-number-spinner(id=variable.replacedId "input-end-edit" 'numberSpinnerRef'
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
60
|
-
|
|
61
|
-
|
|
45
|
+
'[disabled]'!=variable.disable?variable.disable:undefined
|
|
46
|
+
'[editable]'=(variable.editable || variable.editable==false)?variable.editable+"":undefined
|
|
47
|
+
'[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?""+variable.readonly.value+variable.readonlyPipeSuffix:""+variable.readonly.value:undefined
|
|
48
|
+
'[useThousands]'=(variable.useThousands || variable.useThousands==false)?variable.useThousands+"":undefined
|
|
49
|
+
'[textAlign]'=variable.textAlign?"'"+variable.textAlign+"'":undefined
|
|
50
|
+
'[step]'=(variable.step || variable.step == 0)?variable.step+"":undefined
|
|
51
|
+
'[min]'=(variable.minValue||variable.minValue==0)?variable.minValue+"":undefined
|
|
52
|
+
'[max]'=(variable.maxValue||variable.maxValue==0)?variable.maxValue+"":undefined
|
|
53
|
+
'[formatter]'=variable.formatterName?variable.formatterName:undefined
|
|
54
|
+
'[parser]'=variable.parserName?variable.parserName:undefined
|
|
55
|
+
'[precision]'=(variable.precision || variable.precision == 0)?variable.precision+"":undefined
|
|
56
|
+
'(valueChange)'=variable.valueChange?variable.valueChange:undefined
|
|
57
|
+
'(blur)'=variable.onBlur?variable.onBlur:undefined
|
|
58
|
+
'[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
|
|
59
|
+
'[canNull]'=(variable.canNull||variable.canNull==false)?""+variable.canNull:undefined
|
|
60
|
+
'[bigNumber]'=(variable.bigNumber||variable.bigNumber==false)?""+variable.bigNumber:undefined
|
|
61
|
+
'[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
|
|
62
|
+
'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
|
|
63
|
+
'[showZero]'=variable.showZero?""+variable.showZero.value:undefined '[showButton]'=variable.showButton?""+variable.showButton.value:undefined
|
|
64
|
+
'[showDisabledItem]'=variable.showDisabledItem?""+variable.showDisabledItem.value:undefined
|
|
65
|
+
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
66
|
+
'[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
|
|
67
|
+
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
68
|
+
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
69
|
+
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
70
|
+
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
|
|
71
|
+
'[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
|
|
62
72
|
if (variable.needValid && variable.binding && variable.binding.path)
|
|
63
73
|
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
64
74
|
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
@@ -74,7 +84,17 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
74
84
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
75
85
|
else
|
|
76
86
|
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
77
|
-
farris-text('[type]'="'number'" '[format]'=variable.format?"'"+variable.format+"'":undefined
|
|
87
|
+
farris-text('[type]'="'number'" '[format]'=variable.format?"'"+variable.format+"'":undefined
|
|
88
|
+
'[textAlign]'=variable.textAlign?"'"+variable.textAlign+"'":undefined
|
|
89
|
+
'[option]'=variable.textOptionsName?variable.textOptionsName:undefined
|
|
90
|
+
'[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
|
|
91
|
+
'[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined
|
|
92
|
+
'[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
|
|
93
|
+
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
94
|
+
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
95
|
+
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
96
|
+
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
97
|
+
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
|
|
78
98
|
if(variable.titleTipsTemplate)
|
|
79
99
|
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
80
100
|
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?variable.visible.value+'':undefined;
|
|
6
|
-
-holdPlaceEmptyAttrs['*ngIf']=variable.visible?'!'+variable.visible.value+'':undefined;
|
|
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?variable.visible.value+'':undefined;
|
|
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 = {};
|
|
@@ -40,7 +40,22 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
40
40
|
-attrs["farris-set-focus"]="";
|
|
41
41
|
if(variable.focusState)
|
|
42
42
|
-attrs["[focusState]"]=variable.focusState+"";
|
|
43
|
-
farris-switch(id=variable.replacedId "input-end-edit" '[disabled]'!=variable.disable?variable.disable:undefined
|
|
43
|
+
farris-switch(id=variable.replacedId "input-end-edit" '[disabled]'!=variable.disable?variable.disable:undefined
|
|
44
|
+
'[editable]'!=variable.readonly?variable.readonlyPipeSuffix?"!("+variable.readonly.value+")"+variable.readonlyPipeSuffix:"!("+variable.readonly.value+")":undefined
|
|
45
|
+
'[square]'=variable.square?""+variable.square:undefined
|
|
46
|
+
'[checkedLabel]'=variable.checkedLabel?"'"+variable.checkedLabel+"'":undefined
|
|
47
|
+
'[uncheckedLabel]'=variable.uncheckedLabel?"'"+variable.uncheckedLabel+"'":undefined
|
|
48
|
+
'(valueChange)'=variable.valueChange?variable.valueChange:undefined
|
|
49
|
+
'[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
|
|
50
|
+
'[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
|
|
51
|
+
'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
|
|
52
|
+
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
53
|
+
'[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
|
|
54
|
+
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
55
|
+
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
56
|
+
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
57
|
+
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
|
|
58
|
+
'[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
|
|
44
59
|
if (variable.needValid && variable.binding && variable.binding.path)
|
|
45
60
|
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
46
61
|
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
@@ -56,7 +71,14 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
56
71
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
57
72
|
else
|
|
58
73
|
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
59
|
-
farris-text('[type]'="'boolean'" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
|
|
74
|
+
farris-text('[type]'="'boolean'" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
|
|
75
|
+
'[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined
|
|
76
|
+
'[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
|
|
77
|
+
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
78
|
+
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
79
|
+
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
80
|
+
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
81
|
+
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
|
|
60
82
|
if(variable.titleTipsTemplate)
|
|
61
83
|
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
62
84
|
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 = {};
|
|
@@ -44,7 +44,7 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
44
44
|
-attrs["farris-set-focus"]="";
|
|
45
45
|
if(variable.focusState)
|
|
46
46
|
-attrs["[focusState]"]=variable.focusState+"";
|
|
47
|
-
farris-tags(id=variable.replacedId?""+variable.replacedId:undefined '*ngIf'!=variable.visible ?variable.visible.value+'':undefined '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined '[checkable]'=(variable.checkable || variable.checkable==false)?""+variable.checkable:undefined '[className]'=variable.className?"'"+variable.className+"'":undefined '[color]'=variable.color?"'"+variable.color+"'":undefined '[tagType]'=variable.tagType?"'"+variable.tagType+"'":undefined '(tagClick)'=variable.click?""+variable.click:undefined '(dataChanged)'=variable.dataChanged?""+variable.dataChanged:undefined '(closed)'=variable.closed?""+variable.closed: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)
|
|
47
|
+
farris-tags(id=variable.replacedId?""+variable.replacedId:undefined '*ngIf'!=variable.visible ?variable.visible.value+'':undefined '[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"":undefined '[checkable]'=(variable.checkable || variable.checkable==false)?""+variable.checkable:undefined '[className]'=variable.className?"'"+variable.className+"'":undefined '[color]'=variable.color?"'"+variable.color+"'":undefined '[tagType]'=variable.tagType?"'"+variable.tagType+"'":undefined '(tagClick)'=variable.click?""+variable.click:undefined '(dataChanged)'=variable.dataChanged?""+variable.dataChanged:undefined '(closed)'=variable.closed?""+variable.closed: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)
|
|
48
48
|
if (variable.needValid && variable.binding && variable.binding.path)
|
|
49
49
|
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
50
50
|
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
@@ -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 = {};
|
|
@@ -45,7 +45,30 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
45
45
|
-attrs["farris-set-focus"]="";
|
|
46
46
|
if(variable.focusState)
|
|
47
47
|
-attrs["[focusState]"]=variable.focusState+"";
|
|
48
|
-
farris-time-picker(id=variable.replacedId "input-end-edit" "timePickerRef"
|
|
48
|
+
farris-time-picker(id=variable.replacedId "input-end-edit" "timePickerRef"
|
|
49
|
+
'[disabled]'!=variable.disable?variable.disable.toString():undefined
|
|
50
|
+
'[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?""+variable.readonly.value+variable.readonlyPipeSuffix:""+variable.readonly.value:undefined
|
|
51
|
+
'[editable]'=(variable.editable||variable.editable==false)?variable.editable.toString():undefined
|
|
52
|
+
'[hourStep]'=variable.hourStep?variable.hourStep.toString():undefined
|
|
53
|
+
'[minuteStep]'=variable.minuteStep?variable.minuteStep.toString():undefined
|
|
54
|
+
'[secondStep]'=variable.secondStep?variable.secondStep.toString():undefined
|
|
55
|
+
'[format]'=variable.format?"'"+variable.format+"'":undefined
|
|
56
|
+
'[hideDisabledOptions]'=(variable.hideDisabledOptions || variable.hideDisabledOptions==false)?variable.hideDisabledOptions.toString():undefined
|
|
57
|
+
'(clear)'=variable.clear?variable.clear:undefined '(valueChanged)'=variable.valueChanged?variable.valueChanged.toString():undefined
|
|
58
|
+
'(openChange)'=variable.openChange?variable.openChange.toString():undefined
|
|
59
|
+
'[use12Hours]'=(variable.use12Hours || variable.use12Hours==false)?variable.use12Hours+"":undefined
|
|
60
|
+
'[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
|
|
61
|
+
'[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
|
|
62
|
+
'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
|
|
63
|
+
'[showHeader]'=variable.showHeader?""+variable.showHeader.value:undefined
|
|
64
|
+
'[showDisabledItem]'=variable.showDisabledItem?""+variable.showDisabledItem.value:undefined
|
|
65
|
+
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
66
|
+
'[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
|
|
67
|
+
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
68
|
+
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
69
|
+
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
70
|
+
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
|
|
71
|
+
'[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
|
|
49
72
|
if (variable.needValid && variable.binding && variable.binding.path)
|
|
50
73
|
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
51
74
|
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
@@ -61,7 +84,15 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
61
84
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
62
85
|
else
|
|
63
86
|
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
64
|
-
farris-text('[type]'="'date'" '[showTime]'=(variable.showTime || variable.showTime== false)?""+variable.showTime:undefined
|
|
87
|
+
farris-text('[type]'="'date'" '[showTime]'=(variable.showTime || variable.showTime== false)?""+variable.showTime:undefined
|
|
88
|
+
'[format]'=variable.format?"'"+variable.format+"'":undefined '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
|
|
89
|
+
'[maxHeight]'=variable.maxHeight?""+variable.maxHeight: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)
|
|
65
96
|
if(variable.titleTipsTemplate)
|
|
66
97
|
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
67
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?variable.visible.value+'':undefined;
|
|
6
|
-
-holdPlaceEmptyAttrs['*ngIf']=variable.visible?'!'+variable.visible.value+'':undefined;
|
|
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?variable.visible.value+'':undefined;
|
|
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 = {};
|
|
@@ -35,7 +35,30 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
35
35
|
-attrs["farris-set-focus"]="";
|
|
36
36
|
if(variable.focusState)
|
|
37
37
|
-attrs["[focusState]"]=variable.focusState+"";
|
|
38
|
-
farris-time-spinner(id=variable.replacedId "input-end-edit"
|
|
38
|
+
farris-time-spinner(id=variable.replacedId "input-end-edit"
|
|
39
|
+
'[disabled]'!=(variable.disable||variable.disable==false)?variable.disable+"":undefined
|
|
40
|
+
'[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?""+variable.readonly.value+variable.readonlyPipeSuffix:""+variable.readonly.value:undefined
|
|
41
|
+
'[editable]'=(variable.editable||variable.editable==false)?variable.editable+"":undefined
|
|
42
|
+
'[use12Hours]'=(variable.use12Hours||variable.use12Hours==false)?variable.use12Hours+"":undefined
|
|
43
|
+
'[format]'=variable.format?"'"+variable.format+"'":undefined
|
|
44
|
+
'[placeHolder]'=variable.placeHolderLangName?variable.placeHolderLangName:undefined
|
|
45
|
+
'[hourStep]'=(variable.hourStep||variable.hourStep==0)?"'"+variable.hourStep+"'":undefined
|
|
46
|
+
'[minuteStep]'=(variable.minuteStep||variable.minuteStep==0)?"'"+variable.minuteStep+"'":undefined
|
|
47
|
+
'[secondStep]'=(variable.secondStep||variable.secondStep==0)?"'"+variable.secondStep+"'":undefined
|
|
48
|
+
'[max]'=variable.maxValue?"'"+variable.maxValue+"'":undefined '[min]'=variable.minValue?"'"+variable.minValue+"'":undefined
|
|
49
|
+
'[disabledSeconds]'=(variable.disabledSeconds||variable.disabledSeconds==false)?variable.disabledSeconds+"":undefined
|
|
50
|
+
'[separator]'=variable.splitter?"'"+variable.splitter+"'":undefined
|
|
51
|
+
'[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
|
|
52
|
+
'[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
|
|
53
|
+
'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
|
|
54
|
+
'[showDisabledItem]'=variable.showDisabledItem?""+variable.showDisabledItem.value:undefined
|
|
55
|
+
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
56
|
+
'[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
|
|
57
|
+
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
58
|
+
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
59
|
+
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
60
|
+
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
|
|
61
|
+
'[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
|
|
39
62
|
if (variable.needValid && variable.binding && variable.binding.path)
|
|
40
63
|
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
41
64
|
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
@@ -1,3 +1,14 @@
|
|
|
1
|
-
farris-tabs('id'=variable.replacedId 'class'=(variable.appearance && variable.appearance.class) ? variable.appearance.class+"":undefined
|
|
1
|
+
farris-tabs('id'=variable.replacedId 'class'=(variable.appearance && variable.appearance.class) ? variable.appearance.class+"":undefined
|
|
2
|
+
'style'=(variable.appearance && variable.appearance.style) ? variable.appearance.style+"":undefined
|
|
3
|
+
'[value]'=variable.selectedValue?(variable.selectedIsString?"'"+variable.selectedValue+"'":""+variable.selectedValue):undefined
|
|
4
|
+
'[height]'=(variable.size && variable.size.height)?"'"+variable.size.height+"'":undefined '[width]'=(variable.size && variable.size.width)?"'"+variable.size.width+"'":undefined
|
|
5
|
+
'[fill]'=variable.tabFill?"'"+variable.tabFill+"'":undefined '[position]'=variable.tabPosition?"'"+variable.tabPosition+"'":undefined
|
|
6
|
+
'(tabChange)'=variable.tabChange?variable.tabChange:undefined '(tabRemove)'=variable.tabRemove?variable.tabRemove+"":undefined
|
|
7
|
+
'[btnStates]'=variable.disableTabPipeSuffix?"tabsToolbarStates"+variable.disableTabPipeSuffix:"tabsToolbarStates"
|
|
8
|
+
'[btnVisible]'=variable.visibleTabPipeSuffix?"tabsToolbarVisibleStates"+variable.visibleTabPipeSuffix:"tabsToolbarVisibleStates"
|
|
9
|
+
'[contentFill]'=(variable.contentFill ||variable.contentFill==false)?variable.contentFill.toString():undefined
|
|
10
|
+
'[autoTitleWidth]'=(variable.autoTitleWidth || variable.autoTitleWidth == false)?""+variable.autoTitleWidth:undefined
|
|
11
|
+
'[titleLength]'=(variable.titleLength || variable.titleLength==0)?""+variable.titleLength:undefined '[titleWidth]'=(variable.titleWidth || variable.titleWidth==0)?""+variable.titleWidth:undefined
|
|
12
|
+
'*ngIf'!=variable.visible?variable.visible.value+"":undefined '[beforeSelect]'=variable.beforeSelect?""+variable.beforeSelect:undefined)
|
|
2
13
|
= '\n'
|
|
3
14
|
| {{content}}
|
|
@@ -16,4 +16,4 @@ div(class='f-imgcontainer-in-form')
|
|
|
16
16
|
-areaAttrs['src'] = "{{this.viewModel.bindingData['"+ variable.binding.path+"'] | imageIdToUrl"+rootIdAttrs+"}}";
|
|
17
17
|
else
|
|
18
18
|
-areaAttrs['src'] = "{{this.viewModel.bindingData['"+ (variable.binding && variable.binding.path)+"'] | imageIdToUrl"+rootIdAttrs+"}}";
|
|
19
|
-
img(id=variable.replacedId?""+variable.replacedId:undefined "input-end-edit" click=variable.click?variable.click:undefined class=(variable.appearance && variable.appearance.class)?variable.appearance.class:undefined style=(variable.appearance && variable.appearance.style) '*ngIf'!=variable.visible?""+variable.visible.value:undefined tabindex=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined)&attributes(areaAttrs)
|
|
19
|
+
img(id=variable.replacedId?""+variable.replacedId:undefined "input-end-edit" click=variable.click?variable.click:undefined class=(variable.appearance && variable.appearance.class)?variable.appearance.class:undefined style=(variable.appearance && variable.appearance.style) '*ngIf'!=variable.visible?variable.visiblePipeSuffix?""+variable.visible.value+variable.visiblePipeSuffix:""+variable.visible.value:undefined tabindex=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined)&attributes(areaAttrs)
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
-var holdPlaceInnerAttrs = {};
|
|
3
3
|
-var holdPlaceEmptyAttrs = {};
|
|
4
4
|
if(variable.holdPlace)
|
|
5
|
-
-holdPlaceInnerAttrs["*ngIf"]=variable.visible?variable.visible.value+'':undefined;
|
|
6
|
-
-holdPlaceEmptyAttrs['*ngIf']=variable.visible?'!'+variable.visible.value+'':undefined;
|
|
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?variable.visible.value+'':undefined;
|
|
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
|
-var attrs = {};
|
|
27
27
|
if (variable.binding && variable.binding.type == 'Variable')
|
|
@@ -40,7 +40,7 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
40
40
|
if(variable.focusState)
|
|
41
41
|
-attrs["[focusState]"]=variable.focusState+"";
|
|
42
42
|
div('class'='farris-input-wrap')
|
|
43
|
-
input-group(id=variable.replacedId?""+variable.replacedId:undefined '[groupText]'=variable.groupTextLangName?""+variable.groupTextLangName:undefined "input-end-edit" "inputGroupRef" '[disabled]'!=variable.disable?variable.disable+"":undefined '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined '[editable]'=(variable.editable || variable.editable == false)?variable.editable+"":undefined '[enableClear]'=(variable.enableClear || variable.enableClear==false)?variable.enableClear+"":undefined '[customCls]'=variable.customCls?"'"+variable.customCls+"'":undefined '[showButtonWhenDisabled]'=variable.showButtonWhenDisabled?variable.showButtonWhenDisabled+"":undefined '[placeholder]'=variable.placeHolderLangName?""+variable.placeHolderLangName:undefined '(clear)'=variable.onClear?variable.onClear:undefined '(valueChange)'=variable.valueChange?variable.valueChange+"":undefined '(clickHandle)'=variable.click?variable.click+"":undefined '(blurHandle)'=variable.onBlur?variable.onBlur+"":undefined '[isPassword]'=(variable.isPassword || variable.isPassword == false)?""+variable.isPassword:undefined '[enableViewPassword]'=(variable.enableViewPassword || variable.enableViewPassword == false)?""+variable.enableViewPassword:undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined '[textAlign]'=variable.textAlign?"'"+variable.textAlign+"'":undefined )&attributes(attrs)
|
|
43
|
+
input-group(id=variable.replacedId?""+variable.replacedId:undefined '[groupText]'=variable.groupTextLangName?""+variable.groupTextLangName:undefined "input-end-edit" "inputGroupRef" '[disabled]'!=variable.disable?variable.disable+"":undefined '[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"":undefined '[editable]'=(variable.editable || variable.editable == false)?variable.editable+"":undefined '[enableClear]'=(variable.enableClear || variable.enableClear==false)?variable.enableClear+"":undefined '[customCls]'=variable.customCls?"'"+variable.customCls+"'":undefined '[showButtonWhenDisabled]'=variable.showButtonWhenDisabled?variable.showButtonWhenDisabled+"":undefined '[placeholder]'=variable.placeHolderLangName?""+variable.placeHolderLangName:undefined '(clear)'=variable.onClear?variable.onClear:undefined '(valueChange)'=variable.valueChange?variable.valueChange+"":undefined '(clickHandle)'=variable.click?variable.click+"":undefined '(blurHandle)'=variable.onBlur?variable.onBlur+"":undefined '[isPassword]'=(variable.isPassword || variable.isPassword == false)?""+variable.isPassword:undefined '[enableViewPassword]'=(variable.enableViewPassword || variable.enableViewPassword == false)?""+variable.enableViewPassword:undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined '[textAlign]'=variable.textAlign?"'"+variable.textAlign+"'":undefined )&attributes(attrs)
|
|
44
44
|
if (variable.needValid && variable.binding && variable.binding.path)
|
|
45
45
|
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
46
46
|
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
-var holdPlaceInnerAttrs = {};
|
|
3
3
|
-var holdPlaceEmptyAttrs = {};
|
|
4
4
|
if(variable.holdPlace)
|
|
5
|
-
-holdPlaceInnerAttrs["*ngIf"]=variable.visible?variable.visible.value+'':undefined;
|
|
6
|
-
-holdPlaceEmptyAttrs['*ngIf']=variable.visible?'!'+variable.visible.value+'':undefined;
|
|
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?variable.visible.value+'':undefined;
|
|
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 = {};
|
|
@@ -44,7 +44,22 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
44
44
|
-attrs["farris-set-focus"]="";
|
|
45
45
|
if(variable.focusState)
|
|
46
46
|
-attrs["[focusState]"]=variable.focusState+"";
|
|
47
|
-
language-textbox(id=variable.replacedId "input-end-edit" '[disabled]'!=variable.disable?variable.disable.toString():undefined
|
|
47
|
+
language-textbox(id=variable.replacedId "input-end-edit" '[disabled]'!=variable.disable?variable.disable.toString():undefined
|
|
48
|
+
'[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"":undefined
|
|
49
|
+
'[languages]'=variable.useFrameworkLanguage?""+variable.currentLanguageListName:variable.currentLanguageListName
|
|
50
|
+
'[enableClear]'=(variable.enableClear || variable.enableClear == false)?""+variable.enableClear:undefined
|
|
51
|
+
'[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
|
|
52
|
+
'[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
|
|
53
|
+
'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
|
|
54
|
+
'[editable]'=variable.editable?""+variable.editable.value:undefined
|
|
55
|
+
'[showDisabledItem]'=variable.showDisabledItem?""+variable.showDisabledItem.value:undefined
|
|
56
|
+
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
57
|
+
'[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
|
|
58
|
+
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
59
|
+
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
60
|
+
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
61
|
+
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
|
|
62
|
+
'[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
|
|
48
63
|
if (variable.needValid && variable.binding && variable.binding.path)
|
|
49
64
|
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
50
65
|
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
@@ -60,7 +75,14 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
60
75
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
61
76
|
else
|
|
62
77
|
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
63
|
-
farris-text('[type]'="'string'" '[currentLanguage]'="this.lang" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
|
|
78
|
+
farris-text('[type]'="'string'" '[currentLanguage]'="this.lang" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
|
|
79
|
+
'[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined
|
|
80
|
+
'[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
|
|
81
|
+
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
82
|
+
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
83
|
+
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
84
|
+
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
85
|
+
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
|
|
64
86
|
if(variable.titleTipsTemplate)
|
|
65
87
|
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
66
88
|
i(class="f-icon f-icon-description-tips")
|