@farris/jit-engine 1.3.285 → 1.3.290
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 +8 -0
- package/ioc.config +0 -0
- package/lib/.DS_Store +0 -0
- package/lib/domstructure/devkit/devkit.js +5 -1
- package/lib/domstructure/devkit/devkit.js.map +1 -1
- 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/devkit/viewmodel/component/component.js +15 -8
- package/lib/domstructure/devkit/viewmodel/component/component.js.map +1 -1
- package/lib/domstructure/devkit/viewmodel/viewmodel.js +2 -0
- package/lib/domstructure/devkit/viewmodel/viewmodel.js.map +1 -1
- package/lib/domstructure/ui/commands/button.js +2 -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/index.js +0 -0
- package/lib/index.js.map +0 -0
- package/lib/mobileapp/.DS_Store +0 -0
- package/lib/template/.DS_Store +0 -0
- package/lib/template/ui/.DS_Store +0 -0
- package/lib/template/ui/kendo/button.pug +7 -1
- package/lib/template/ui/kendo/checkbox.pug +26 -7
- package/lib/template/ui/kendo/checkboxgroup.pug +18 -6
- package/lib/template/ui/kendo/farris-avatar.pug +8 -2
- 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 +37 -7
- 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 +14 -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 +10 -2
- 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 +11 -3
- package/lib/template/ui/kendo/textbox.pug +31 -7
- package/lib/template/ui/kendo/tinymcerichtextbox.pug +16 -8
- package/lib/template/ui/kendo/toolbar.pug +6 -2
- package/lib/template/ui/mobilevue2/action-bar.pug +10 -10
- package/lib/template/ui/mobilevue2/attachment-entry.pug +8 -8
- package/lib/template/ui/mobilevue2/attachment.pug +13 -13
- package/lib/template/ui/mobilevue2/button.pug +11 -11
- package/lib/template/ui/mobilevue2/calendar.pug +11 -11
- package/lib/template/ui/mobilevue2/checkbox-group.pug +11 -11
- package/lib/template/ui/mobilevue2/component-ref.pug +3 -3
- package/lib/template/ui/mobilevue2/contentcontainer.pug +4 -4
- package/lib/template/ui/mobilevue2/date-time-picker.pug +27 -27
- package/lib/template/ui/mobilevue2/field-set.pug +29 -29
- package/lib/template/ui/mobilevue2/filter.pug +8 -8
- package/lib/template/ui/mobilevue2/footer.pug +10 -10
- package/lib/template/ui/mobilevue2/form.pug +11 -11
- package/lib/template/ui/mobilevue2/image.pug +11 -11
- package/lib/template/ui/mobilevue2/label.pug +19 -19
- package/lib/template/ui/mobilevue2/list-view.pug +37 -37
- package/lib/template/ui/mobilevue2/lookup-input.pug +40 -40
- package/lib/template/ui/mobilevue2/nav-bar.pug +10 -10
- package/lib/template/ui/mobilevue2/number.pug +27 -27
- package/lib/template/ui/mobilevue2/picker.pug +29 -29
- package/lib/template/ui/mobilevue2/radio-group.pug +29 -29
- package/lib/template/ui/mobilevue2/schedule.pug +8 -8
- package/lib/template/ui/mobilevue2/section.pug +15 -15
- package/lib/template/ui/mobilevue2/steps.pug +8 -8
- package/lib/template/ui/mobilevue2/switch.pug +16 -16
- package/lib/template/ui/mobilevue2/tabpage.pug +6 -6
- package/lib/template/ui/mobilevue2/tabs.pug +9 -9
- package/lib/template/ui/mobilevue2/text-area.pug +23 -23
- package/lib/template/ui/mobilevue2/text-box.pug +25 -25
- package/lib/template/ui/mobilevue2/toolbar-item.pug +6 -6
- package/lib/template/ui/mobilevue2/toolbar.pug +3 -3
- package/lib/template/ui/mobilevue2/vant-tabpage.pug +5 -5
- package/lib/template/ui/mobilevue2/vant-tabs.pug +5 -5
- package/lib/type.js +0 -0
- package/lib/type.js.map +0 -0
- package/lib/utility/.DS_Store +0 -0
- package/lib/utility/behavior/behavior-manager.js +46 -7
- 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/query-schema-collector.js +6 -2
- package/lib/utility/devkit/component-parameter-collector/query-schema-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 +8 -1
- package/lib/utility/devkit/form-file-executor.js.map +1 -1
- package/lib/utility/farris-datagrid/lookup-editor.js +1 -1
- package/lib/utility/farris-datagrid/lookup-editor.js.map +1 -1
- package/lib/utility/template-generator/devkit/component-generator/component-farristabs-parameter-generator.js +47 -44
- 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 +6 -1
- package/lib/utility/template-generator/devkit/component-generator/component-import-generator.js.map +1 -1
- package/lib/utility/template-generator/devkit/component-generator/component-provider-generator.js +5 -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-queryschema-parameter-generator.js +22 -2
- package/lib/utility/template-generator/devkit/component-generator/component-queryschema-parameter-generator.js.map +1 -1
- package/lib/utility/template-generator/devkit/component-generator/component-section-parameter-generator.js +27 -44
- 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/devkit/component-template-generator.js +2 -1
- package/lib/utility/template-generator/devkit/component-template-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
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/approval-comments.js +0 -37
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/approval-comments.js.map +0 -1
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/employeeorg-selector.js +0 -45
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/employeeorg-selector.js.map +0 -1
- package/lib/utility/behavior/type.js +0 -7
- package/lib/utility/behavior/type.js.map +0 -1
- package/lib/utility/behavior/typeparam.js +0 -22
- package/lib/utility/behavior/typeparam.js.map +0 -1
|
@@ -2,10 +2,10 @@
|
|
|
2
2
|
-var holdPlaceInnerAttrs = {};
|
|
3
3
|
-var holdPlaceEmptyAttrs = {};
|
|
4
4
|
if(variable.holdPlace)
|
|
5
|
-
-holdPlaceInnerAttrs[
|
|
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[
|
|
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
|
label(class="col-form-label" '*ngIf'="viewModel.stateMachine['editable']" '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined )
|
|
17
17
|
span(class="farris-label-text")
|
|
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
|
else
|
|
21
21
|
label(class="col-form-label" '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined)
|
|
22
22
|
span(class="farris-label-text")
|
|
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
|
div(class="farris-input-wrap")
|
|
26
26
|
if(variable.isTextArea)
|
|
27
27
|
-var divAttr = {};
|
|
@@ -60,7 +60,19 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
60
60
|
-attrs["farris-set-focus"]="";
|
|
61
61
|
if(variable.focusState)
|
|
62
62
|
-attrs["[focusState]"]=variable.focusState+"";
|
|
63
|
-
input(id=variable.replacedId "input-end-edit" class="custom-control-input" type="checkbox"
|
|
63
|
+
input(id=variable.replacedId "input-end-edit" class="custom-control-input" type="checkbox"
|
|
64
|
+
'[disabled]'!=variable.disable?variable.readonlyPipeSuffix?variable.disable.toString()+variable.readonlyPipeSuffix:variable.disable.toString():undefined
|
|
65
|
+
'(ngModelChange)'!=variable.valueChange?"!"+variable.readonly.value+"&&"+variable.valueChange+"":undefined
|
|
66
|
+
tabindex=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
|
|
67
|
+
'[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
|
|
68
|
+
'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
|
|
69
|
+
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
70
|
+
'[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
|
|
71
|
+
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
72
|
+
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
73
|
+
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
74
|
+
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
|
|
75
|
+
'[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
|
|
64
76
|
if(variable.linkedLabelEnabled)
|
|
65
77
|
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}'}}
|
|
66
78
|
label(class="custom-control-label f-pretend-link f-cursor-pointer" '*ngSwitchCase'="false" for=variable.replacedId '(click)'=variable.linkedLabelClick?variable.linkedLabelClick:undefined) {{'!{variable.resourceId}'|lang:lang:'!{variable.defaultI18nValue}'}}
|
|
@@ -89,7 +101,14 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
89
101
|
label(class="col-form-label" )&attributes(areaLabelAttrs)
|
|
90
102
|
span(class="farris-label-text")
|
|
91
103
|
| {{'!{variable.resourceId}'|lang:lang:'!{variable.defaultI18nValue}'}}
|
|
92
|
-
farris-text('[type]'="'boolean'" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
|
|
104
|
+
farris-text('[type]'="'boolean'" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
|
|
105
|
+
'[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined
|
|
106
|
+
'[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
|
|
107
|
+
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
108
|
+
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
109
|
+
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
110
|
+
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
111
|
+
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
|
|
93
112
|
if(variable.titleTipsTemplate)
|
|
94
113
|
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
95
114
|
i(class="f-icon f-icon-description-tips")
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
-var holdPlaceInnerAttrs = {};
|
|
4
4
|
-var holdPlaceEmptyAttrs = {};
|
|
5
5
|
if(variable.holdPlace)
|
|
6
|
-
-holdPlaceInnerAttrs["*ngIf"]=variable.visible?variable.visible.value+'':undefined;
|
|
7
|
-
-holdPlaceEmptyAttrs['*ngIf']=variable.visible?'!'+variable.visible.value+'':undefined;
|
|
6
|
+
-holdPlaceInnerAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
|
|
7
|
+
-holdPlaceEmptyAttrs['*ngIf']=variable.visible?variable.visiblePipeSuffix?'!'+variable.visible.value+variable.visiblePipeSuffix+'':'!'+variable.visible.value+'':undefined;
|
|
8
8
|
else
|
|
9
|
-
-holdPlaceOuterAttrs["*ngIf"]=variable.visible?variable.visible.value+'':undefined;
|
|
9
|
+
-holdPlaceOuterAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
|
|
10
10
|
div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
|
|
11
11
|
if(variable.holdPlace)
|
|
12
12
|
div(class="f-empty-input-placeholder")&attributes(holdPlaceEmptyAttrs)
|
|
@@ -17,12 +17,12 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
17
17
|
if(variable.linkedLabelEnabled)
|
|
18
18
|
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)
|
|
19
19
|
if (variable.require)
|
|
20
|
-
span(class="farris-label-info text-danger" "*ngIf"=""+variable.require.value) *
|
|
20
|
+
span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
|
|
21
21
|
span(class="farris-label-text") {{#{titleValue}}}
|
|
22
22
|
else
|
|
23
23
|
label(class="col-form-label" title="{{"+titleValue+"}}" for=variable.replacedId '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined)
|
|
24
24
|
if (variable.require)
|
|
25
|
-
span(class="farris-label-info text-danger" "*ngIf"=""+variable.require.value) *
|
|
25
|
+
span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
|
|
26
26
|
span(class="farris-label-text") {{#{titleValue}}}
|
|
27
27
|
div(class="farris-input-wrap")
|
|
28
28
|
if (variable.items)
|
|
@@ -39,7 +39,19 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
39
39
|
-attrs["farris-set-focus"]="";
|
|
40
40
|
if(variable.focusState)
|
|
41
41
|
-attrs["[focusState]"]=variable.focusState+"";
|
|
42
|
-
input(class="custom-control-input" "input-end-edit" type="checkbox" id=item.id
|
|
42
|
+
input(class="custom-control-input" "input-end-edit" type="checkbox" id=item.id
|
|
43
|
+
disabled!=item.disable?item.disable.toString():undefined
|
|
44
|
+
readonly!=item.readonly?""+item.readonly.value:undefined
|
|
45
|
+
tabindex=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
|
|
46
|
+
'[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
|
|
47
|
+
'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
|
|
48
|
+
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
49
|
+
'[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
|
|
50
|
+
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
51
|
+
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
52
|
+
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
53
|
+
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
|
|
54
|
+
'[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
|
|
43
55
|
if (item.title)
|
|
44
56
|
label(class="custom-control-label" for=item.id) !{item.title}
|
|
45
57
|
if(variable.titleTipsTemplate)
|
|
@@ -5,9 +5,15 @@ if (variable.binding && variable.binding.type == 'Variable')
|
|
|
5
5
|
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
6
6
|
else
|
|
7
7
|
-attrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
8
|
-
-attrs["*ngIf"]=variable.visible?variable.visible.value+'':undefined;
|
|
8
|
+
-attrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
|
|
9
9
|
if(variable.hasDefaultFocus)
|
|
10
10
|
-attrs["farris-set-focus"]="";
|
|
11
11
|
if(variable.focusState)
|
|
12
12
|
-attrs["[focusState]"]=variable.focusState+"";
|
|
13
|
-
farris-avatar(id=variable.replacedId "input-end-edit" class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style)
|
|
13
|
+
farris-avatar(id=variable.replacedId "input-end-edit" class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style)
|
|
14
|
+
'[imgShape]'=variable.imgShape?"'"+variable.imgShape+"'":undefined '[imgTitle]'=variable.imgTitleLangName?""+variable.imgTitleLangName:undefined
|
|
15
|
+
'[avatarWidth]'=(variable.size && variable.size.width)?"'"+variable.size.width+"'":undefined '[avatarHeight]'=(variable.size && variable.size.height)?"'"+variable.size.height+"'":undefined
|
|
16
|
+
'[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"":undefined
|
|
17
|
+
'[type]'=variable.imgType?"'"+variable.imgType+"'":undefined
|
|
18
|
+
'[size]'=(variable.maxSize || variable.maxSize==0)?variable.maxSize.toString():undefined '(imgChange)'=variable.imgChange?variable.imgChange+"":undefined
|
|
19
|
+
'[cover]'=variable.cover?"'"+variable.cover+"'":undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined)&attributes(attrs)
|
|
@@ -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
|
-var attrs = {};
|
|
27
27
|
if (variable.binding && variable.binding.type == 'Variable')
|
|
@@ -40,7 +40,25 @@ 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
|
-
farris-checkboxgroup(id=variable.replacedId "input-end-edit"
|
|
43
|
+
farris-checkboxgroup(id=variable.replacedId "input-end-edit"
|
|
44
|
+
'(setCheckboxData)'=variable.setCheckboxData?variable.setCheckboxData+"":undefined
|
|
45
|
+
'(changeValue)'=variable.changeValue?variable.changeValue+"":undefined
|
|
46
|
+
'[disable]'!=variable.readonly?variable.readonlyPipeSuffix?""+variable.readonly.value+variable.readonlyPipeSuffix:""+variable.readonly.value:undefined
|
|
47
|
+
'[horizontal]'= ""+variable.isHorizontal+"" '[data]'=variable.itemsLang?""+variable.itemsLang:undefined
|
|
48
|
+
'[separator]'=variable.separator?"'"+variable.separator+"'":undefined
|
|
49
|
+
'[uri]'=variable.uri?"'"+variable.uri+"'":undefined
|
|
50
|
+
'[valueField]'=variable.valueField?"'"+variable.valueField+"'":undefined
|
|
51
|
+
'[textField]'=variable.textField?"'"+variable.textField+"'":undefined
|
|
52
|
+
'[tab-index]'=(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
|
+
'[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)
|
|
44
62
|
if (variable.needValid && variable.binding && variable.binding.path)
|
|
45
63
|
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
46
64
|
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
@@ -56,7 +74,18 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
56
74
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
57
75
|
else
|
|
58
76
|
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
59
|
-
farris-text('[type]'="'enum'" '[data]'=variable.itemsLang?""+variable.itemsLang:undefined
|
|
77
|
+
farris-text('[type]'="'enum'" '[data]'=variable.itemsLang?""+variable.itemsLang:undefined
|
|
78
|
+
'[enumDelimiter]'=variable.separator?"'"+variable.separator+"'":undefined
|
|
79
|
+
'[valueField]'=variable.valueField?"'"+variable.valueField+"'":undefined
|
|
80
|
+
'[textField]'=variable.textField?"'"+variable.textField+"'":undefined
|
|
81
|
+
'[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
|
|
82
|
+
'[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined
|
|
83
|
+
'[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
|
|
84
|
+
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
85
|
+
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
86
|
+
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
87
|
+
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
88
|
+
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
|
|
60
89
|
if(variable.titleTipsTemplate)
|
|
61
90
|
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
62
91
|
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?variable.visible.value+'':undefined;
|
|
8
|
-
-holdPlaceEmptyAttrs['*ngIf']=variable.visible ?'!'+variable.visible.value+'':undefined;
|
|
7
|
+
-holdPlaceInnerAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
|
|
8
|
+
-holdPlaceEmptyAttrs['*ngIf']=variable.visible ?'!'+variable.visible.value+variable.visiblePipeSuffix+'':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
|
div(class="farris-input-wrap")
|
|
29
29
|
-var attrs = {};
|
|
@@ -35,7 +35,7 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
35
35
|
if (variable.valueChanged)
|
|
36
36
|
-attrs['(valueChange)'] = variable.valueChanged + '';
|
|
37
37
|
if (variable.readonly)
|
|
38
|
-
-attrs['[readonly]'] = variable.readonly.value+"";
|
|
38
|
+
-attrs['[readonly]'] = variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"";
|
|
39
39
|
if(variable.isTextArea)
|
|
40
40
|
if(variable.readonly && variable.readonly.isComposite)
|
|
41
41
|
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
@@ -46,7 +46,37 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
46
46
|
-attrs["farris-set-focus"]="";
|
|
47
47
|
if(variable.focusState)
|
|
48
48
|
-attrs["[focusState]"]=variable.focusState+"";
|
|
49
|
-
farris-combo-list(id=variable.replacedId "input-end-edit" '[data]'!=variable.enumDataLang?variable.enumDataLang:undefined
|
|
49
|
+
farris-combo-list(id=variable.replacedId "input-end-edit" '[data]'!=variable.enumDataLang?variable.enumDataLang:undefined
|
|
50
|
+
'(selectedValues)'=variable.selectedValues?variable.selectedValues:undefined
|
|
51
|
+
'[disabled]'!=(variable.disable||variable.disable==false)?variable.disable.toString():undefined
|
|
52
|
+
'[enableCancelSelected]'=(variable.enableCancelSelected || variable.enableCancelSelected==false)?""+variable.enableCancelSelected:undefined
|
|
53
|
+
'[editable]'=(variable.editable||variable.editable==false)?variable.editable.toString():undefined
|
|
54
|
+
'[panelWidth]'=variable.panelWidth?"'"+variable.panelWidth+"'":undefined
|
|
55
|
+
'[panelHeight]'=variable.panelHeight?"'"+variable.panelHeight+"'":undefined
|
|
56
|
+
'[idField]'=variable.idField?"'"+variable.idField+"'":undefined '[valueField]'=variable.idField?"'"+variable.idField+"'":undefined
|
|
57
|
+
'[textField]'=variable.textField?"'"+variable.textField+"'":undefined '[uri]'=variable.uri?"'"+variable.uri+"'":undefined
|
|
58
|
+
'[multiSelect]'=(variable.multiSelect || variable.multiSelect==false)?variable.multiSelect.toString():undefined
|
|
59
|
+
'(showPanel)'=variable.onShown?variable.onShown:undefined '(hidePanel)'=variable.onHidden?variable.onHidden:undefined
|
|
60
|
+
'(clear)'=variable.onClear?variable.onClear:undefined
|
|
61
|
+
'[autoWidth]'=(variable.autoWidth||variable.autoWidth==false)?variable.autoWidth.toString():undefined
|
|
62
|
+
'[mappingField]'=variable.mappingField?"'"+variable.mappingField+"'":undefined
|
|
63
|
+
'[beforeShow]'=variable.beforeShow?""+variable.beforeShow:undefined
|
|
64
|
+
'[beforeHide]'=variable.beforeHide?""+variable.beforeHide:undefined
|
|
65
|
+
'[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
|
|
66
|
+
'[enableClear]'=(variable.enableClear || variable.enableClear==false)?""+variable.enableClear:undefined
|
|
67
|
+
'[viewType]'=variable.viewType?"'"+variable.viewType+"'":undefined
|
|
68
|
+
'[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
|
|
69
|
+
'comboListRef' 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
|
|
70
|
+
'[nosearch]'=variable.noSearch?""+variable.noSearch.value:undefined
|
|
71
|
+
'[maxLength]'=variable.maxSearchLength?""+variable.maxSearchLength: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)
|
|
50
80
|
if (variable.needValid && variable.binding && variable.binding.path)
|
|
51
81
|
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
52
82
|
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
@@ -62,7 +92,17 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
62
92
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
63
93
|
else
|
|
64
94
|
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
65
|
-
farris-text('[type]'="'enum'" '[data]'!=variable.enumDataLang?variable.enumDataLang:undefined
|
|
95
|
+
farris-text('[type]'="'enum'" '[data]'!=variable.enumDataLang?variable.enumDataLang:undefined
|
|
96
|
+
'[valueField]'=variable.idField?"'"+variable.idField+"'":undefined
|
|
97
|
+
'[textField]'=variable.textField?"'"+variable.textField+"'":undefined
|
|
98
|
+
'[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
|
|
99
|
+
'[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined
|
|
100
|
+
'[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
|
|
101
|
+
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
102
|
+
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
103
|
+
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
104
|
+
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
105
|
+
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
|
|
66
106
|
if(variable.titleTipsTemplate)
|
|
67
107
|
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
68
108
|
i(class="f-icon f-icon-description-tips")
|
|
@@ -3,10 +3,10 @@
|
|
|
3
3
|
-var holdPlaceInnerAttrs = {};
|
|
4
4
|
-var holdPlaceEmptyAttrs = {};
|
|
5
5
|
if(variable.holdPlace)
|
|
6
|
-
-holdPlaceInnerAttrs["*ngIf"]=variable.visible?variable.visible.value+'':undefined;
|
|
7
|
-
-holdPlaceEmptyAttrs['*ngIf']=variable.visible
|
|
6
|
+
-holdPlaceInnerAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
|
|
7
|
+
-holdPlaceEmptyAttrs['*ngIf']=variable.visible?variable.visiblePipeSuffix?'!'+variable.visible.value+variable.visiblePipeSuffix+'':'!'+variable.visible.value+'':undefined;
|
|
8
8
|
else
|
|
9
|
-
-holdPlaceOuterAttrs["*ngIf"]=variable.visible ?variable.visible.value+'':undefined;
|
|
9
|
+
-holdPlaceOuterAttrs["*ngIf"]=variable.visible ?variable.visible.value+variable.visiblePipeSuffix+'':undefined;
|
|
10
10
|
div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
|
|
11
11
|
if(variable.holdPlace)
|
|
12
12
|
div(class="f-empty-input-placeholder")&attributes(holdPlaceEmptyAttrs)
|
|
@@ -17,12 +17,12 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
17
17
|
if(variable.linkedLabelEnabled)
|
|
18
18
|
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)
|
|
19
19
|
if (variable.require)
|
|
20
|
-
span(class="farris-label-info text-danger" "*ngIf"=""+variable.require.value) *
|
|
20
|
+
span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
|
|
21
21
|
span(class="farris-label-text") {{#{titleValue}}}
|
|
22
22
|
else
|
|
23
23
|
label(class="col-form-label" title="{{"+titleValue+"}}" for=variable.replacedId '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined)
|
|
24
24
|
if (variable.require)
|
|
25
|
-
span(class="farris-label-info text-danger" "*ngIf"=""+variable.require.value) *
|
|
25
|
+
span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
|
|
26
26
|
span(class="farris-label-text") {{#{titleValue}}}
|
|
27
27
|
div(class="farris-input-wrap")
|
|
28
28
|
-var attrs = {};
|
|
@@ -34,7 +34,7 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
34
34
|
if (variable.valueChanged)
|
|
35
35
|
-attrs['(valueChange)'] = variable.valueChanged + '';
|
|
36
36
|
if (variable.readonly)
|
|
37
|
-
-attrs['[readonly]'] = variable.readonly.value+'';
|
|
37
|
+
-attrs['[readonly]'] = variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+'':variable.readonly.value+'';
|
|
38
38
|
|
|
39
39
|
-attrs['placeholder'] ="{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
40
40
|
if(variable.isTextArea)
|
|
@@ -58,7 +58,15 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
58
58
|
'comboLookupRef' 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined '[nosearch]'=variable.noSearch?""+variable.noSearch.value:undefined
|
|
59
59
|
'[maxLength]'=variable.maxSearchLength?""+variable.maxSearchLength:undefined '[showHeader]'=variable.showHeader?""+variable.showHeader.value:undefined '[enableFullTree]'=(variable.enableFullTree || variable.enableFullTree == false)?""+variable.enableFullTree:undefined
|
|
60
60
|
'[treeToList]'=variable.treeToList?""+variable.treeToList.value:undefined '[navTreeToList]'=variable.navTreeToList?""+variable.navTreeToList.value:undefined '[loadTreeDataType]'=variable.loadTreeDataType ?"'"+variable.loadTreeDataType+"'":undefined
|
|
61
|
-
'[separator]'=variable.separator?"'"+variable.separator.value+"'":undefined '[expandLevel]'=(variable.expandLevel || variable.expandLevel==0)?""+variable.expandLevel:undefined
|
|
61
|
+
'[separator]'=variable.separator?"'"+variable.separator.value+"'":undefined '[expandLevel]'=(variable.expandLevel || variable.expandLevel==0)?""+variable.expandLevel:undefined
|
|
62
|
+
'[showDisabledItem]'=variable.showDisabledItem?""+variable.showDisabledItem.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)
|
|
62
70
|
if (variable.needValid && variable.binding && variable.binding.path)
|
|
63
71
|
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
64
72
|
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
@@ -74,7 +82,14 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
74
82
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
75
83
|
else
|
|
76
84
|
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
77
|
-
farris-text('[type]'="'string'" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
|
|
85
|
+
farris-text('[type]'="'string'" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
|
|
86
|
+
'[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined
|
|
87
|
+
'[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
|
|
88
|
+
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
89
|
+
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
90
|
+
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
91
|
+
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
92
|
+
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
|
|
78
93
|
if(variable.titleTipsTemplate)
|
|
79
94
|
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
80
95
|
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 = {};
|
|
@@ -51,7 +51,8 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
51
51
|
if(variable.focusState)
|
|
52
52
|
-attrs["[focusState]"]=variable.focusState+"";
|
|
53
53
|
farris-datepicker(id=variable.replacedId "input-end-edit" "farris-date-localization"=variable.localization?"":undefined
|
|
54
|
-
'[disabled]'!=variable.disable?variable.disable.toString():undefined
|
|
54
|
+
'[disabled]'!=variable.disable?variable.disable.toString():undefined
|
|
55
|
+
'[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"":undefined
|
|
55
56
|
'[editable]'=(variable.editable||variable.editable==false)?variable.editable+"":undefined
|
|
56
57
|
'[viewType]'=variable.viewType ? "'" + variable.viewType + "'":undefined
|
|
57
58
|
'[locale]'=variable.locale?"'"+variable.locale+"'":undefined '[dateRange]'!=(variable.dateRange||variable.dateRange==false)?variable.dateRange+"":undefined
|
|
@@ -73,7 +74,14 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
73
74
|
'[firstDayOfWeek]'=variable.firstDayOfWeek?"'"+variable.firstDayOfWeek+"'":undefined
|
|
74
75
|
'[multiSelect]'=(variable.multiSelect || variable.multiSelect==false)?""+variable.multiSelect:undefined
|
|
75
76
|
'[separator]'=variable.separator?"'"+variable.separator+"'":undefined '[maxSelected]'=(variable.maxSelected || variable.maxSelected==0)?""+variable.maxSelected:undefined
|
|
76
|
-
'[selectedOrderBy]'=variable.selectedOrderBy?"'"+variable.selectedOrderBy+"'":undefined
|
|
77
|
+
'[selectedOrderBy]'=variable.selectedOrderBy?"'"+variable.selectedOrderBy+"'":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" )
|
|
@@ -94,7 +102,13 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
94
102
|
'[dateRange]'!=(variable.dateRange||variable.dateRange==false)?variable.dateRange+"":undefined '[dateRangeDelimiter]'!=variable.dateRangeDatesDelimiter?"'"+variable.dateRangeDatesDelimiter+"'":undefined
|
|
95
103
|
'[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined
|
|
96
104
|
'[multiSelect]'=(variable.multiSelect || variable.multiSelect==false)?""+variable.multiSelect:undefined
|
|
97
|
-
'[separator]'=variable.separator?"'"+variable.separator+"'":undefined
|
|
105
|
+
'[separator]'=variable.separator?"'"+variable.separator+"'":undefined
|
|
106
|
+
'[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
|
|
107
|
+
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
108
|
+
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
109
|
+
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
110
|
+
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
111
|
+
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
|
|
98
112
|
if(variable.titleTipsTemplate)
|
|
99
113
|
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
100
114
|
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)
|
|
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 )
|
|
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,29 @@ 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
|
-
farris-number-range(id=variable.replacedId "input-end-edit" '[disabled]'!=variable.disable?variable.disable:undefined
|
|
45
|
+
farris-number-range(id=variable.replacedId "input-end-edit" '[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
|
+
'[precision]'=(variable.precision || variable.precision == 0)?variable.precision+"":undefined
|
|
49
|
+
'[textAlign]'=variable.textAlign?"'"+variable.textAlign+"'":undefined
|
|
50
|
+
'[useThousands]'=(variable.useThousands || variable.useThousands==false)?variable.useThousands+"":undefined
|
|
51
|
+
'[step]'=(variable.step || variable.step == 0)?variable.step+"":undefined
|
|
52
|
+
'[min]'=(variable.minValue||variable.minValue==0)?variable.minValue+"":undefined
|
|
53
|
+
'[max]'=(variable.maxValue||variable.maxValue==0)?variable.maxValue+"":undefined
|
|
54
|
+
'[formatter]'=variable.formatterName?variable.formatterName:undefined
|
|
55
|
+
'[parser]'=variable.parserName?variable.parserName:undefined '(valueChange)'=variable.onChange?variable.onChange:undefined
|
|
56
|
+
'(blur)'=variable.onBlur?variable.onBlur:undefined
|
|
57
|
+
'[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
|
|
58
|
+
'[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
|
|
59
|
+
'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
|
|
60
|
+
'[showDisabledItem]'=variable.showDisabledItem?""+variable.showDisabledItem.value:undefined
|
|
61
|
+
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
62
|
+
'[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
|
|
63
|
+
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
64
|
+
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
65
|
+
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
66
|
+
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
|
|
67
|
+
'[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
|
|
46
68
|
if (variable.needValid && variable.binding && variable.binding.path)
|
|
47
69
|
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
48
70
|
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
@@ -58,7 +80,15 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
58
80
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
59
81
|
else
|
|
60
82
|
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
61
|
-
farris-text('[type]'="'number'" '[textAlign]'=variable.textAlign?"'"+variable.textAlign+"'":undefined
|
|
83
|
+
farris-text('[type]'="'number'" '[textAlign]'=variable.textAlign?"'"+variable.textAlign+"'":undefined
|
|
84
|
+
'[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
|
|
85
|
+
'[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined
|
|
86
|
+
'[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
|
|
87
|
+
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
88
|
+
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
89
|
+
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
90
|
+
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
91
|
+
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
|
|
62
92
|
if(variable.titleTipsTemplate)
|
|
63
93
|
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
64
94
|
i(class="f-icon f-icon-description-tips")
|