@farris/jit-engine 1.3.351 → 1.3.352
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 +6 -22
- package/lib/domstructure/devkit/module/module.js +216 -216
- package/lib/domstructure/devkit/module/module.js.map +1 -1
- package/lib/domstructure/ui/common/binding.js +1 -1
- package/lib/domstructure/ui/data/index.js +68 -69
- package/lib/domstructure/ui/data/index.js.map +1 -1
- package/lib/domstructure/ui/queryScheme/query-scheme.js +0 -3
- package/lib/domstructure/ui/queryScheme/query-scheme.js.map +1 -1
- package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-index-vue-generator.js +93 -93
- package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-index-vue-generator.js.map +1 -1
- package/lib/template/ui/kendo/adminorganization-selector.pug +101 -101
- package/lib/template/ui/kendo/appointment-calendar.pug +39 -39
- package/lib/template/ui/kendo/button.pug +16 -16
- package/lib/template/ui/kendo/buttongroup.pug +7 -7
- package/lib/template/ui/kendo/chart.pug +9 -9
- package/lib/template/ui/kendo/checkbox.pug +118 -118
- package/lib/template/ui/kendo/checkboxgroup.pug +63 -63
- package/lib/template/ui/kendo/city-selector.pug +69 -69
- package/lib/template/ui/kendo/combobox.pug +70 -70
- package/lib/template/ui/kendo/componentref.pug +3 -3
- package/lib/template/ui/kendo/contentcontainer.pug +8 -8
- package/lib/template/ui/kendo/datepicker.pug +70 -70
- package/lib/template/ui/kendo/dialog.pug +10 -10
- package/lib/template/ui/kendo/dropdownlist.pug +18 -18
- package/lib/template/ui/kendo/dynamic-area-item.pug +1 -1
- package/lib/template/ui/kendo/employee-selector.pug +96 -96
- package/lib/template/ui/kendo/externalContainer.pug +12 -12
- package/lib/template/ui/kendo/externalRouteContainer.pug +1 -1
- package/lib/template/ui/kendo/farris-avatar.pug +18 -18
- package/lib/template/ui/kendo/farris-calendar.pug +5 -5
- package/lib/template/ui/kendo/farris-checkbox-group.pug +96 -96
- package/lib/template/ui/kendo/farris-combo-list.pug +111 -111
- package/lib/template/ui/kendo/farris-datagrid-template.pug +21 -21
- package/lib/template/ui/kendo/farris-datagrid.pug +37 -37
- package/lib/template/ui/kendo/farris-datepicker.pug +118 -118
- package/lib/template/ui/kendo/farris-dynamic-control-group.pug +14 -14
- package/lib/template/ui/kendo/farris-ext-intergration.pug +79 -79
- package/lib/template/ui/kendo/farris-file-preview.pug +6 -6
- package/lib/template/ui/kendo/farris-file-upload-preview.pug +1 -1
- package/lib/template/ui/kendo/farris-file-upload.pug +3 -3
- package/lib/template/ui/kendo/farris-light-list-filter.pug +10 -10
- package/lib/template/ui/kendo/farris-list-filter.pug +11 -11
- package/lib/template/ui/kendo/farris-list-view.pug +28 -27
- package/lib/template/ui/kendo/farris-number-range.pug +98 -98
- package/lib/template/ui/kendo/farris-number-spinner.pug +103 -103
- package/lib/template/ui/kendo/farris-query-solution.pug +17 -18
- package/lib/template/ui/kendo/farris-scrollspy.pug +10 -10
- package/lib/template/ui/kendo/farris-splitter-pane.pug +11 -11
- package/lib/template/ui/kendo/farris-splitter.pug +6 -6
- package/lib/template/ui/kendo/farris-switch.pug +88 -88
- package/lib/template/ui/kendo/farris-tags.pug +70 -70
- package/lib/template/ui/kendo/farris-time-picker.pug +102 -102
- package/lib/template/ui/kendo/farris-time-spinner.pug +71 -71
- package/lib/template/ui/kendo/farris-ui-footer.pug +15 -15
- package/lib/template/ui/kendo/farris-wizard-page-detail.pug +14 -14
- package/lib/template/ui/kendo/farris-wizard.pug +8 -8
- package/lib/template/ui/kendo/farrissidebar.pug +26 -26
- package/lib/template/ui/kendo/farristabpage.pug +14 -14
- package/lib/template/ui/kendo/farristabs.pug +13 -13
- package/lib/template/ui/kendo/farristag.pug +6 -6
- package/lib/template/ui/kendo/fieldset.pug +20 -20
- package/lib/template/ui/kendo/flexlayout.pug +5 -5
- package/lib/template/ui/kendo/form.pug +15 -15
- package/lib/template/ui/kendo/grid.pug +83 -83
- package/lib/template/ui/kendo/header.pug +9 -9
- package/lib/template/ui/kendo/hidden-container.pug +1 -1
- package/lib/template/ui/kendo/image-upload.pug +82 -82
- package/lib/template/ui/kendo/image.pug +18 -18
- package/lib/template/ui/kendo/input-group.pug +96 -96
- package/lib/template/ui/kendo/label.pug +18 -18
- package/lib/template/ui/kendo/lookup-employee.pug +109 -109
- package/lib/template/ui/kendo/lookup.pug +113 -113
- package/lib/template/ui/kendo/loop-container.pug +1 -1
- package/lib/template/ui/kendo/menu.pug +3 -3
- package/lib/template/ui/kendo/menuitem.pug +7 -7
- package/lib/template/ui/kendo/modal-footer.pug +9 -9
- package/lib/template/ui/kendo/multi-view-container.pug +7 -7
- package/lib/template/ui/kendo/multi-view-item.pug +8 -8
- package/lib/template/ui/kendo/multitextbox.pug +101 -101
- package/lib/template/ui/kendo/numericbox.pug +70 -70
- package/lib/template/ui/kendo/oa-relation.pug +20 -20
- package/lib/template/ui/kendo/organization-selector.pug +116 -116
- package/lib/template/ui/kendo/p-treetable.pug +28 -28
- package/lib/template/ui/kendo/popup.pug +3 -3
- package/lib/template/ui/kendo/portlet.pug +2 -2
- package/lib/template/ui/kendo/primeng-edittree/checkbox.pug +12 -12
- package/lib/template/ui/kendo/primeng-edittree/farris-combo-list.pug +16 -16
- package/lib/template/ui/kendo/primeng-edittree/farris-combo-lookup.pug +19 -19
- package/lib/template/ui/kendo/primeng-edittree/farris-datepicker.pug +31 -31
- package/lib/template/ui/kendo/primeng-edittree/farris-number-spinner.pug +18 -18
- package/lib/template/ui/kendo/primeng-edittree/farris-switch.pug +13 -13
- package/lib/template/ui/kendo/primeng-edittree/farris-time-picker.pug +17 -17
- package/lib/template/ui/kendo/primeng-edittree/input-group.pug +14 -14
- package/lib/template/ui/kendo/primeng-edittree/language-textbox.pug +14 -14
- package/lib/template/ui/kendo/primeng-edittree/lookup.pug +32 -32
- package/lib/template/ui/kendo/primeng-edittree/multitextbox.pug +17 -17
- package/lib/template/ui/kendo/primeng-edittree/textbox.pug +18 -18
- package/lib/template/ui/kendo/qdp-condition-dialog-tab.pug +3 -3
- package/lib/template/ui/kendo/qdp-condition-dialog.pug +3 -3
- package/lib/template/ui/kendo/qdpframework.pug +15 -15
- package/lib/template/ui/kendo/queryform.pug +7 -7
- package/lib/template/ui/kendo/radiobox.pug +60 -60
- package/lib/template/ui/kendo/radioboxgroup.pug +94 -94
- package/lib/template/ui/kendo/richtextbox.pug +53 -53
- package/lib/template/ui/kendo/scroll-collapse-area.pug +2 -2
- package/lib/template/ui/kendo/section.pug +44 -44
- package/lib/template/ui/kendo/select.pug +46 -46
- package/lib/template/ui/kendo/spreadsheet.pug +7 -7
- package/lib/template/ui/kendo/switch.pug +67 -67
- package/lib/template/ui/kendo/tab.pug +3 -3
- package/lib/template/ui/kendo/table/adminorganization-selector.pug +73 -73
- package/lib/template/ui/kendo/table/checkbox.pug +92 -92
- package/lib/template/ui/kendo/table/checkboxgroup.pug +30 -30
- package/lib/template/ui/kendo/table/combobox.pug +49 -49
- package/lib/template/ui/kendo/table/datepicker.pug +49 -49
- package/lib/template/ui/kendo/table/employee-selector.pug +70 -70
- package/lib/template/ui/kendo/table/farris-avatar.pug +25 -25
- package/lib/template/ui/kendo/table/farris-checkbox-group.pug +47 -47
- package/lib/template/ui/kendo/table/farris-combo-list.pug +60 -60
- package/lib/template/ui/kendo/table/farris-combo-lookup.pug +30 -30
- package/lib/template/ui/kendo/table/farris-datepicker.pug +61 -61
- package/lib/template/ui/kendo/table/farris-number-range.pug +59 -59
- package/lib/template/ui/kendo/table/farris-number-spinner.pug +61 -61
- package/lib/template/ui/kendo/table/farris-static-text.pug +3 -3
- package/lib/template/ui/kendo/table/farris-switch.pug +55 -55
- package/lib/template/ui/kendo/table/farris-table-column.pug +1 -1
- package/lib/template/ui/kendo/table/farris-table-row.pug +1 -1
- package/lib/template/ui/kendo/table/farris-tags.pug +55 -55
- package/lib/template/ui/kendo/table/farris-time-picker.pug +51 -51
- package/lib/template/ui/kendo/table/farris-time-spinner.pug +25 -25
- package/lib/template/ui/kendo/table/input-group.pug +46 -46
- package/lib/template/ui/kendo/table/lookup-employee.pug +71 -71
- package/lib/template/ui/kendo/table/lookup.pug +75 -75
- package/lib/template/ui/kendo/table/multitextbox.pug +47 -47
- package/lib/template/ui/kendo/table/numericbox.pug +59 -59
- package/lib/template/ui/kendo/table/organization-selector.pug +75 -75
- package/lib/template/ui/kendo/table/radiobox.pug +27 -27
- package/lib/template/ui/kendo/table/radioboxgroup.pug +47 -47
- package/lib/template/ui/kendo/table/richtextbox.pug +30 -30
- package/lib/template/ui/kendo/table/select.pug +21 -21
- package/lib/template/ui/kendo/table/switch.pug +55 -55
- package/lib/template/ui/kendo/table/textbox.pug +53 -53
- package/lib/template/ui/kendo/table/timebox.pug +33 -33
- package/lib/template/ui/kendo/table/timepicker.pug +25 -25
- package/lib/template/ui/kendo/table/tinymcerichtextbox.pug +36 -36
- package/lib/template/ui/kendo/tabpage.pug +10 -10
- package/lib/template/ui/kendo/template.pug +2 -2
- package/lib/template/ui/kendo/textbox.pug +98 -98
- package/lib/template/ui/kendo/timebox.pug +47 -47
- package/lib/template/ui/kendo/timepicker.pug +17 -17
- package/lib/template/ui/kendo/tinymcerichtextbox.pug +59 -59
- package/lib/template/ui/kendo/toolbar.pug +5 -5
- package/lib/template/ui/kendo/view-change.pug +1 -1
- package/lib/template/ui/kendo/wizarddetailcontainer.pug +6 -6
- package/lib/utility/config-hepler.js.map +1 -1
- package/lib/utility/declaration-trigger.js +3 -0
- package/lib/utility/devkit/component-creator.js +191 -192
- package/lib/utility/devkit/component-creator.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/component-parameter-collector-manager.js +221 -222
- package/lib/utility/devkit/component-parameter-collector/component-parameter-collector-manager.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/component-parameter-collector-type.js +56 -57
- package/lib/utility/devkit/component-parameter-collector/component-parameter-collector-type.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/farris-lookup-collector.js +64 -64
- package/lib/utility/devkit/component-parameter-collector/farris-lookup-collector.js.map +1 -1
- package/lib/utility/devkit/form-file-executor.js +1 -6
- package/lib/utility/devkit/form-file-executor.js.map +1 -1
- package/lib/utility/devkit/module-creator.js +167 -170
- package/lib/utility/devkit/module-creator.js.map +1 -1
- package/lib/utility/farris-datagrid/column-editor-manager.js +111 -115
- package/lib/utility/farris-datagrid/column-editor-manager.js.map +1 -1
- package/lib/utility/farris-datagrid/farris-grid-column-type-convertor.js +105 -112
- package/lib/utility/farris-datagrid/farris-grid-column-type-convertor.js.map +1 -1
- package/lib/utility/i18n/i18n-resource-manager.js +237 -237
- package/lib/utility/i18n/i18n-resource-manager.js.map +1 -1
- package/lib/utility/i18n/index.js +13 -13
- package/lib/utility/template-generator/devkit/lang-template-generator.js +2 -37
- package/lib/utility/template-generator/devkit/lang-template-generator.js.map +1 -1
- package/lib/utility/template-generator/devkit/module-generator/index.js +19 -19
- package/lib/utility/template-generator/devkit/module-generator/module-import-statement-generator.js +303 -304
- package/lib/utility/template-generator/devkit/module-generator/module-import-statement-generator.js.map +1 -1
- package/lib/utility/template-generator/devkit/module-generator/module-imports-statement-generator.js +282 -300
- package/lib/utility/template-generator/devkit/module-generator/module-imports-statement-generator.js.map +1 -1
- package/lib/utility/template-generator/devkit/module-generator/module-providers-generator.js +158 -158
- package/lib/utility/template-generator/devkit/module-generator/module-providers-generator.js.map +1 -1
- package/package.json +1 -1
- package/lib/domstructure/ui/data/fields/form/editable/inputs/reference/external-service-lookup.js +0 -48
- package/lib/domstructure/ui/data/fields/form/editable/inputs/reference/external-service-lookup.js.map +0 -1
- package/lib/template/ui/kendo/light-lookup.pug +0 -183
- package/lib/utility/farris-datagrid/external-service-lookup-editor.js +0 -96
- package/lib/utility/farris-datagrid/external-service-lookup-editor.js.map +0 -1
- package/lib/utility/template-generator/advanced-component-recognizer.js +0 -75
- package/lib/utility/template-generator/advanced-component-recognizer.js.map +0 -1
- package/lib/utility/template-generator/devkit-template-config.js +0 -580
- package/lib/utility/template-generator/devkit-template-config.js.map +0 -1
- package/lib/utility/template-generator/external-service-lookup-checker.js +0 -28
- package/lib/utility/template-generator/external-service-lookup-checker.js.map +0 -1
|
@@ -1,27 +1,28 @@
|
|
|
1
|
-
-var attrs = {};
|
|
2
|
-
if(variable.hasDefaultFocus)
|
|
3
|
-
-attrs["farris-set-focus"]="";
|
|
4
|
-
if(variable.focusState)
|
|
5
|
-
-attrs["[focusState]"]=variable.focusState+"";
|
|
6
|
-
farris-list-view(id=variable.replacedId farrisListviewBinding listViewRef
|
|
7
|
-
|
|
8
|
-
|
|
9
|
-
'
|
|
10
|
-
'
|
|
11
|
-
'[
|
|
12
|
-
'[
|
|
13
|
-
'
|
|
14
|
-
'
|
|
15
|
-
'[
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
1
|
+
-var attrs = {};
|
|
2
|
+
if(variable.hasDefaultFocus)
|
|
3
|
+
-attrs["farris-set-focus"]="";
|
|
4
|
+
if(variable.focusState)
|
|
5
|
+
-attrs["[focusState]"]=variable.focusState+"";
|
|
6
|
+
farris-list-view(id=variable.replacedId farrisListviewBinding listViewRef "*ngIf" = variable.visible?""+variable.visible.value:undefined
|
|
7
|
+
'[cardLayout]'=variable.cardLayout?""+variable.cardLayout:undefined
|
|
8
|
+
class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style)
|
|
9
|
+
'[fill]'=(variable.fill || variable.fill==false)?""+variable.fill:undefined '(listClick)'=variable.listClick?variable.listClick+"":undefined
|
|
10
|
+
'(checkChange)'=variable.checkChange?variable.checkChange+"":undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
|
|
11
|
+
'[multipleSelect]'=(variable.multiSelect || variable.multiSelect==false)?""+variable.multiSelect:undefined '[sort]'=variable.sort?"'"+variable.sort+"'":undefined
|
|
12
|
+
'[showPageList]'=(variable.showPageSize || variable.showPageSize==false)?""+variable.showPageSize:undefined '[pageSize]'=variable.pageSize?""+variable.pageSize:undefined
|
|
13
|
+
'[pageList]'=variable.pageList?""+variable.pageList:undefined '[supportPaged]'=(variable.supportPaging || variable.supportPaging==false)?""+variable.supportPaging:undefined
|
|
14
|
+
'(pageChanged)'=variable.pageChanged?""+variable.pageChanged:undefined '(pageSizeChanged)'=variable.pageSizeChanged?""+variable.pageSizeChanged:undefined
|
|
15
|
+
'[listClassName]'=variable.listClassName?"'"+variable.listClassName+"'":undefined '[(checkValues)]' = variable.checkValues?""+variable.checkValues.value:undefined
|
|
16
|
+
'[keepScrollPosition]'=(variable.keepScrollPosition || variable.keepScrollPosition==false)?""+variable.keepScrollPosition:undefined)&attributes(attrs)
|
|
17
|
+
if(variable.headerTemplate)
|
|
18
|
+
ng-template(listViewHeader)
|
|
19
|
+
| !{variable.headerTemplate}
|
|
20
|
+
if(variable.footerTemplate)
|
|
21
|
+
ng-template(listViewFooter)
|
|
22
|
+
| !{variable.footerTemplate}
|
|
23
|
+
if(variable.showEmpty && variable.emptyTemplate)
|
|
24
|
+
| !{variable.emptyTemplate}
|
|
25
|
+
if(variable.pageTemplate)
|
|
26
|
+
| !{variable.pageTemplate}
|
|
27
|
+
ng-template(listTemplate "let-item"="item")
|
|
28
|
+
| !{variable.contentTemplateHtml}
|
|
@@ -1,98 +1,98 @@
|
|
|
1
|
-
-var holdPlaceOuterAttrs = {};
|
|
2
|
-
-var holdPlaceInnerAttrs = {};
|
|
3
|
-
-var holdPlaceEmptyAttrs = {};
|
|
4
|
-
if(variable.holdPlace)
|
|
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
|
-
else
|
|
8
|
-
-holdPlaceOuterAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
|
|
9
|
-
div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
|
|
10
|
-
if(variable.holdPlace)
|
|
11
|
-
div(class="f-empty-input-placeholder")&attributes(holdPlaceEmptyAttrs)
|
|
12
|
-
div(class="farris-group-wrap")&attributes(holdPlaceInnerAttrs)
|
|
13
|
-
div(class="form-group farris-form-group" '[ngClass]'="{'form-group--has-tips':"+(variable.enableTitleTips?variable.enableTitleTips:false)+"}")
|
|
14
|
-
if (variable.title)
|
|
15
|
-
-var titleValue=variable.isStaticTitle?("'" + variable.resourceId + "'|lang:lang:'"+variable.defaultI18nValue+"'"):variable.dynamicTitleValue;
|
|
16
|
-
if(variable.linkedLabelEnabled)
|
|
17
|
-
label(class="col-form-label f-pretend-link f-cursor-pointer" title="{{"+titleValue+"}}" for=variable.replacedId '(click)'=variable.linkedLabelClick?variable.linkedLabelClick:undefined)
|
|
18
|
-
if (variable.require)
|
|
19
|
-
span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
|
|
20
|
-
span(class="farris-label-text") {{#{titleValue}}}
|
|
21
|
-
else
|
|
22
|
-
label(class="col-form-label" title="{{"+titleValue+"}}" for=variable.replacedId )
|
|
23
|
-
if (variable.require)
|
|
24
|
-
span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
|
|
25
|
-
span(class="farris-label-text") {{#{titleValue}}}
|
|
26
|
-
div(class="farris-input-wrap")
|
|
27
|
-
-var attrs = {};
|
|
28
|
-
if (variable.binding && variable.binding.type == 'Variable')
|
|
29
|
-
-attrs['[(ngModel)]'] = variable.binding.value;
|
|
30
|
-
-attrs['name'] = variable.replacedId;
|
|
31
|
-
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
32
|
-
else
|
|
33
|
-
-attrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
34
|
-
if(variable.isTextArea)
|
|
35
|
-
if(variable.readonly && variable.readonly.isComposite)
|
|
36
|
-
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
37
|
-
else
|
|
38
|
-
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
39
|
-
|
|
40
|
-
-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
41
|
-
if(variable.hasDefaultFocus)
|
|
42
|
-
-attrs["farris-set-focus"]="";
|
|
43
|
-
if(variable.focusState)
|
|
44
|
-
-attrs["[focusState]"]=variable.focusState+"";
|
|
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)
|
|
68
|
-
if (variable.needValid && variable.binding && variable.binding.path)
|
|
69
|
-
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
70
|
-
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
71
|
-
div(class="farris-feedback")
|
|
72
|
-
if(variable.isTextArea)
|
|
73
|
-
-var areaAttrs = {};
|
|
74
|
-
if(variable.readonly && variable.readonly.isComposite)
|
|
75
|
-
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
76
|
-
else
|
|
77
|
-
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
78
|
-
if (variable.binding && variable.binding.type == 'Variable')
|
|
79
|
-
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
80
|
-
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
81
|
-
else
|
|
82
|
-
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
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)
|
|
92
|
-
if(variable.titleTipsTemplate)
|
|
93
|
-
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
94
|
-
i(class="f-icon f-icon-description-tips")
|
|
95
|
-
-var tipsAttrs= {};
|
|
96
|
-
-tipsAttrs['#'+variable.titleTipsTemplateName] = "";
|
|
97
|
-
ng-template()&attributes(tipsAttrs)
|
|
98
|
-
| !{variable.titleTipsTemplate}
|
|
1
|
+
-var holdPlaceOuterAttrs = {};
|
|
2
|
+
-var holdPlaceInnerAttrs = {};
|
|
3
|
+
-var holdPlaceEmptyAttrs = {};
|
|
4
|
+
if(variable.holdPlace)
|
|
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
|
+
else
|
|
8
|
+
-holdPlaceOuterAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
|
|
9
|
+
div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
|
|
10
|
+
if(variable.holdPlace)
|
|
11
|
+
div(class="f-empty-input-placeholder")&attributes(holdPlaceEmptyAttrs)
|
|
12
|
+
div(class="farris-group-wrap")&attributes(holdPlaceInnerAttrs)
|
|
13
|
+
div(class="form-group farris-form-group" '[ngClass]'="{'form-group--has-tips':"+(variable.enableTitleTips?variable.enableTitleTips:false)+"}")
|
|
14
|
+
if (variable.title)
|
|
15
|
+
-var titleValue=variable.isStaticTitle?("'" + variable.resourceId + "'|lang:lang:'"+variable.defaultI18nValue+"'"):variable.dynamicTitleValue;
|
|
16
|
+
if(variable.linkedLabelEnabled)
|
|
17
|
+
label(class="col-form-label f-pretend-link f-cursor-pointer" title="{{"+titleValue+"}}" for=variable.replacedId '(click)'=variable.linkedLabelClick?variable.linkedLabelClick:undefined)
|
|
18
|
+
if (variable.require)
|
|
19
|
+
span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
|
|
20
|
+
span(class="farris-label-text") {{#{titleValue}}}
|
|
21
|
+
else
|
|
22
|
+
label(class="col-form-label" title="{{"+titleValue+"}}" for=variable.replacedId )
|
|
23
|
+
if (variable.require)
|
|
24
|
+
span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
|
|
25
|
+
span(class="farris-label-text") {{#{titleValue}}}
|
|
26
|
+
div(class="farris-input-wrap")
|
|
27
|
+
-var attrs = {};
|
|
28
|
+
if (variable.binding && variable.binding.type == 'Variable')
|
|
29
|
+
-attrs['[(ngModel)]'] = variable.binding.value;
|
|
30
|
+
-attrs['name'] = variable.replacedId;
|
|
31
|
+
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
32
|
+
else
|
|
33
|
+
-attrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
34
|
+
if(variable.isTextArea)
|
|
35
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
36
|
+
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
37
|
+
else
|
|
38
|
+
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
39
|
+
|
|
40
|
+
-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
41
|
+
if(variable.hasDefaultFocus)
|
|
42
|
+
-attrs["farris-set-focus"]="";
|
|
43
|
+
if(variable.focusState)
|
|
44
|
+
-attrs["[focusState]"]=variable.focusState+"";
|
|
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)
|
|
68
|
+
if (variable.needValid && variable.binding && variable.binding.path)
|
|
69
|
+
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
70
|
+
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
71
|
+
div(class="farris-feedback")
|
|
72
|
+
if(variable.isTextArea)
|
|
73
|
+
-var areaAttrs = {};
|
|
74
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
75
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
76
|
+
else
|
|
77
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
78
|
+
if (variable.binding && variable.binding.type == 'Variable')
|
|
79
|
+
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
80
|
+
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
81
|
+
else
|
|
82
|
+
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
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)
|
|
92
|
+
if(variable.titleTipsTemplate)
|
|
93
|
+
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
94
|
+
i(class="f-icon f-icon-description-tips")
|
|
95
|
+
-var tipsAttrs= {};
|
|
96
|
+
-tipsAttrs['#'+variable.titleTipsTemplateName] = "";
|
|
97
|
+
ng-template()&attributes(tipsAttrs)
|
|
98
|
+
| !{variable.titleTipsTemplate}
|
|
@@ -1,104 +1,104 @@
|
|
|
1
|
-
-var holdPlaceOuterAttrs = {};
|
|
2
|
-
-var holdPlaceInnerAttrs = {};
|
|
3
|
-
-var holdPlaceEmptyAttrs = {};
|
|
4
|
-
if(variable.holdPlace)
|
|
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
|
-
else
|
|
8
|
-
-holdPlaceOuterAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
|
|
9
|
-
div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
|
|
10
|
-
if(variable.holdPlace)
|
|
11
|
-
div(class="f-empty-input-placeholder")&attributes(holdPlaceEmptyAttrs)
|
|
12
|
-
div(class="farris-group-wrap")&attributes(holdPlaceInnerAttrs)
|
|
13
|
-
div(class="form-group farris-form-group" '[ngClass]'="{'form-group--has-tips':"+(variable.enableTitleTips?variable.enableTitleTips:false)+"}")
|
|
14
|
-
if (variable.title)
|
|
15
|
-
-var titleValue=variable.isStaticTitle?("'" + variable.resourceId + "'|lang:lang:'"+variable.defaultI18nValue+"'"):variable.dynamicTitleValue;
|
|
16
|
-
if(variable.linkedLabelEnabled)
|
|
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
|
-
if (variable.require)
|
|
19
|
-
span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
|
|
20
|
-
span(class="farris-label-text") {{#{titleValue}}}
|
|
21
|
-
else
|
|
22
|
-
label(class="col-form-label" title="{{"+titleValue+"}}" for=variable.replacedId '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined )
|
|
23
|
-
if (variable.require)
|
|
24
|
-
span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
|
|
25
|
-
span(class="farris-label-text") {{#{titleValue}}}
|
|
26
|
-
div(class="farris-input-wrap")
|
|
27
|
-
-var attrs = {};
|
|
28
|
-
if (variable.binding && variable.binding.type == 'Variable')
|
|
29
|
-
-attrs['[(ngModel)]'] = variable.binding.value;
|
|
30
|
-
-attrs['name'] = variable.replacedId;
|
|
31
|
-
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
32
|
-
else
|
|
33
|
-
-attrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
34
|
-
if(variable.isTextArea)
|
|
35
|
-
if(variable.readonly && variable.readonly.isComposite)
|
|
36
|
-
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
37
|
-
else
|
|
38
|
-
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
39
|
-
-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
40
|
-
if(variable.hasDefaultFocus)
|
|
41
|
-
-attrs["farris-set-focus"]="";
|
|
42
|
-
if(variable.focusState)
|
|
43
|
-
-attrs["[focusState]"]=variable.focusState+"";
|
|
44
|
-
farris-number-spinner(id=variable.replacedId "input-end-edit" 'numberSpinnerRef'
|
|
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)
|
|
72
|
-
if (variable.needValid && variable.binding && variable.binding.path)
|
|
73
|
-
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
74
|
-
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
75
|
-
div(class="farris-feedback")
|
|
76
|
-
if(variable.isTextArea)
|
|
77
|
-
-var areaAttrs = {};
|
|
78
|
-
if(variable.readonly && variable.readonly.isComposite)
|
|
79
|
-
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
80
|
-
else
|
|
81
|
-
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
82
|
-
if (variable.binding && variable.binding.type == 'Variable')
|
|
83
|
-
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
84
|
-
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
85
|
-
else
|
|
86
|
-
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
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)
|
|
98
|
-
if(variable.titleTipsTemplate)
|
|
99
|
-
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
100
|
-
i(class="f-icon f-icon-description-tips")
|
|
101
|
-
-var tipsAttrs= {};
|
|
102
|
-
-tipsAttrs['#'+variable.titleTipsTemplateName] = "";
|
|
103
|
-
ng-template()&attributes(tipsAttrs)
|
|
1
|
+
-var holdPlaceOuterAttrs = {};
|
|
2
|
+
-var holdPlaceInnerAttrs = {};
|
|
3
|
+
-var holdPlaceEmptyAttrs = {};
|
|
4
|
+
if(variable.holdPlace)
|
|
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
|
+
else
|
|
8
|
+
-holdPlaceOuterAttrs["*ngIf"]=variable.visible?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
|
|
9
|
+
div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
|
|
10
|
+
if(variable.holdPlace)
|
|
11
|
+
div(class="f-empty-input-placeholder")&attributes(holdPlaceEmptyAttrs)
|
|
12
|
+
div(class="farris-group-wrap")&attributes(holdPlaceInnerAttrs)
|
|
13
|
+
div(class="form-group farris-form-group" '[ngClass]'="{'form-group--has-tips':"+(variable.enableTitleTips?variable.enableTitleTips:false)+"}")
|
|
14
|
+
if (variable.title)
|
|
15
|
+
-var titleValue=variable.isStaticTitle?("'" + variable.resourceId + "'|lang:lang:'"+variable.defaultI18nValue+"'"):variable.dynamicTitleValue;
|
|
16
|
+
if(variable.linkedLabelEnabled)
|
|
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
|
+
if (variable.require)
|
|
19
|
+
span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
|
|
20
|
+
span(class="farris-label-text") {{#{titleValue}}}
|
|
21
|
+
else
|
|
22
|
+
label(class="col-form-label" title="{{"+titleValue+"}}" for=variable.replacedId '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined )
|
|
23
|
+
if (variable.require)
|
|
24
|
+
span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
|
|
25
|
+
span(class="farris-label-text") {{#{titleValue}}}
|
|
26
|
+
div(class="farris-input-wrap")
|
|
27
|
+
-var attrs = {};
|
|
28
|
+
if (variable.binding && variable.binding.type == 'Variable')
|
|
29
|
+
-attrs['[(ngModel)]'] = variable.binding.value;
|
|
30
|
+
-attrs['name'] = variable.replacedId;
|
|
31
|
+
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
32
|
+
else
|
|
33
|
+
-attrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
34
|
+
if(variable.isTextArea)
|
|
35
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
36
|
+
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
37
|
+
else
|
|
38
|
+
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
39
|
+
-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
40
|
+
if(variable.hasDefaultFocus)
|
|
41
|
+
-attrs["farris-set-focus"]="";
|
|
42
|
+
if(variable.focusState)
|
|
43
|
+
-attrs["[focusState]"]=variable.focusState+"";
|
|
44
|
+
farris-number-spinner(id=variable.replacedId "input-end-edit" 'numberSpinnerRef'
|
|
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)
|
|
72
|
+
if (variable.needValid && variable.binding && variable.binding.path)
|
|
73
|
+
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
74
|
+
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
75
|
+
div(class="farris-feedback")
|
|
76
|
+
if(variable.isTextArea)
|
|
77
|
+
-var areaAttrs = {};
|
|
78
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
79
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
80
|
+
else
|
|
81
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
82
|
+
if (variable.binding && variable.binding.type == 'Variable')
|
|
83
|
+
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
84
|
+
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
85
|
+
else
|
|
86
|
+
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
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)
|
|
98
|
+
if(variable.titleTipsTemplate)
|
|
99
|
+
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
100
|
+
i(class="f-icon f-icon-description-tips")
|
|
101
|
+
-var tipsAttrs= {};
|
|
102
|
+
-tipsAttrs['#'+variable.titleTipsTemplateName] = "";
|
|
103
|
+
ng-template()&attributes(tipsAttrs)
|
|
104
104
|
| !{variable.titleTipsTemplate}
|
|
@@ -1,19 +1,18 @@
|
|
|
1
|
-
-var attrs = {};
|
|
2
|
-
if(variable.hasDefaultFocus)
|
|
3
|
-
-attrs["farris-set-focus"]="";
|
|
4
|
-
if(variable.focusState)
|
|
5
|
-
-attrs["[focusState]"]=variable.focusState+"";
|
|
6
|
-
farris-querysolution(id=variable.replacedId?""+variable.replacedId:undefined class=(variable.appearance && variable.appearance.class)
|
|
7
|
-
style=(variable.appearance && variable.appearance.style) '[fieldConfigs]'!=variable.fieldConfigsLang?variable.fieldConfigsLang+"":undefined
|
|
8
|
-
'[formId]'=variable.formId?"'"+variable.formId+"'":undefined '[isDisabled]'!=(variable.isDisabled || variable.isDisabled==false)?variable.isDisabled+"":undefined
|
|
9
|
-
'[sessionId]'=variable.sessionId?variable.sessionId:undefined '[presetQuerySolutionName]'=variable.presetQuerySolutionNameLang?""+variable.presetQuerySolutionNameLang:undefined
|
|
10
|
-
'[presetFieldConfigs]'!=variable.presetFieldConfigsLang?variable.presetFieldConfigsLang+"":undefined '(queryEmitter)'=variable.onQuery?variable.onQuery+"":undefined
|
|
11
|
-
'*ngIf'!=variable.visible?""+variable.visible.value:undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
|
|
12
|
-
'[isControlInline]'=(variable.isControlInline || variable.isControlInline == false)?""+variable.isControlInline:undefined
|
|
13
|
-
'[defaultConfigs]'!=variable.binding?""+variable.binding.value:undefined '[enableInitQuery]'=(variable.enableInitQuery || variable.enableInitQuery==false)?""+variable.enableInitQuery:undefined
|
|
14
|
-
'[showCompleteLabel]'=variable.showCompleteLabel?""+variable.showCompleteLabel.value:undefined '[isFold]'=variable.expanded?"!"+(variable.expanded.value):undefined
|
|
15
|
-
'
|
|
16
|
-
'
|
|
17
|
-
'[
|
|
18
|
-
'[filterText]'=variable.filterTextLang?""+variable.filterTextLang:undefined '[queryAfterValueChange]'=variable.queryAfterValueChange?""+variable.queryAfterValueChange.value:undefined
|
|
1
|
+
-var attrs = {};
|
|
2
|
+
if(variable.hasDefaultFocus)
|
|
3
|
+
-attrs["farris-set-focus"]="";
|
|
4
|
+
if(variable.focusState)
|
|
5
|
+
-attrs["[focusState]"]=variable.focusState+"";
|
|
6
|
+
farris-querysolution(id=variable.replacedId?""+variable.replacedId:undefined class=(variable.appearance && variable.appearance.class)
|
|
7
|
+
style=(variable.appearance && variable.appearance.style) '[fieldConfigs]'!=variable.fieldConfigsLang?variable.fieldConfigsLang+"":undefined
|
|
8
|
+
'[formId]'=variable.formId?"'"+variable.formId+"'":undefined '[isDisabled]'!=(variable.isDisabled || variable.isDisabled==false)?variable.isDisabled+"":undefined
|
|
9
|
+
'[sessionId]'=variable.sessionId?variable.sessionId:undefined '[presetQuerySolutionName]'=variable.presetQuerySolutionNameLang?""+variable.presetQuerySolutionNameLang:undefined
|
|
10
|
+
'[presetFieldConfigs]'!=variable.presetFieldConfigsLang?variable.presetFieldConfigsLang+"":undefined '(queryEmitter)'=variable.onQuery?variable.onQuery+"":undefined
|
|
11
|
+
'*ngIf'!=variable.visible?""+variable.visible.value:undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
|
|
12
|
+
'[isControlInline]'=(variable.isControlInline || variable.isControlInline == false)?""+variable.isControlInline:undefined
|
|
13
|
+
'[defaultConfigs]'!=variable.binding?""+variable.binding.value:undefined '[enableInitQuery]'=(variable.enableInitQuery || variable.enableInitQuery==false)?""+variable.enableInitQuery:undefined
|
|
14
|
+
'[showCompleteLabel]'=variable.showCompleteLabel?""+variable.showCompleteLabel.value:undefined '[isFold]'=variable.expanded?"!"+(variable.expanded.value):undefined
|
|
15
|
+
'farris-querysolution-event-bind' '[enableHistory]'=variable.enableHistory?""+variable.enableHistory.value:undefined
|
|
16
|
+
'[resetFieldConfigs]'=variable.resetFieldConfigs?""+variable.resetFieldConfigs:undefined '[openAdvancedMode]'=variable.openAdvancedMode?""+variable.openAdvancedMode.value:undefined
|
|
17
|
+
'[filterText]'=variable.filterTextLang?""+variable.filterTextLang:undefined '[queryAfterValueChange]'=variable.queryAfterValueChange?""+variable.queryAfterValueChange.value:undefined
|
|
19
18
|
'[hideOrgselector]'=variable.hideOrgselector?""+variable.hideOrgselector.value:undefined)&attributes(attrs)
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
-var attrs = {};
|
|
2
|
-
if(variable.hasDefaultFocus)
|
|
3
|
-
-attrs["farris-set-focus"]="";
|
|
4
|
-
if(variable.focusState)
|
|
5
|
-
-attrs["[focusState]"]=variable.focusState+"";
|
|
6
|
-
if(variable.followType)
|
|
7
|
-
if(variable.followType.isVariable)
|
|
8
|
-
-attrs["[fFollowType]"]=variable.followType.value+"";
|
|
9
|
-
else
|
|
10
|
-
-attrs["[fFollowType]"]="'"+variable.followType.value+"'";
|
|
1
|
+
-var attrs = {};
|
|
2
|
+
if(variable.hasDefaultFocus)
|
|
3
|
+
-attrs["farris-set-focus"]="";
|
|
4
|
+
if(variable.focusState)
|
|
5
|
+
-attrs["[focusState]"]=variable.focusState+"";
|
|
6
|
+
if(variable.followType)
|
|
7
|
+
if(variable.followType.isVariable)
|
|
8
|
+
-attrs["[fFollowType]"]=variable.followType.value+"";
|
|
9
|
+
else
|
|
10
|
+
-attrs["[fFollowType]"]="'"+variable.followType.value+"'";
|
|
11
11
|
farris-scrollspy(id=variable.replacedId class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) '[scrollspyData]'=variable.itemsLang?""+variable.itemsLang:undefined '[currentSectionId]'=variable.currentSectionAttr?variable.currentSectionAttr+"":undefined '[scrollGroupId]'=variable.scrollGroupId?"'"+variable.scrollGroupId+"'":undefined '[sidetabWidth]'=(variable.size && (variable.size.width || variable.size.width ==0))?""+variable.size.width:undefined 'scrollspyRef' '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[hidden]'!=variable.visible?"!"+variable.visible.value:undefined )&attributes(attrs)
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
-var attrs = {};
|
|
2
|
-
if(variable.hasDefaultFocus)
|
|
3
|
-
-attrs["farris-set-focus"]="";
|
|
4
|
-
if(variable.focusState)
|
|
5
|
-
-attrs["[focusState]"]=variable.focusState+"";
|
|
6
|
-
if(variable.resizable)
|
|
7
|
-
farris-splitter-pane(id=variable.replacedId class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) ngResizable '[rzMinWidth]'=variable.rzMinWidth?variable.rzMinWidth.toString():undefined '[rzMaxWidth]'=variable.rzMaxWidth?variable.rzMaxWidth.toString():undefined '[rzHandles]'=variable.resizeHandlers?"'"+variable.resizeHandlers+"'":undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined)&attributes(attrs)
|
|
8
|
-
| {{content}}
|
|
9
|
-
else
|
|
10
|
-
farris-splitter-pane(id=variable.replacedId class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) '[rzMinWidth]'=variable.rzMinWidth?variable.rzMinWidth.toString():undefined '[rzMaxWidth]'=variable.rzMaxWidth?variable.rzMaxWidth.toString():undefined '[rzHandles]'=variable.resizeHandlers?"'"+variable.resizeHandlers+"'":undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined)&attributes(attrs)
|
|
11
|
-
| {{content}}
|
|
1
|
+
-var attrs = {};
|
|
2
|
+
if(variable.hasDefaultFocus)
|
|
3
|
+
-attrs["farris-set-focus"]="";
|
|
4
|
+
if(variable.focusState)
|
|
5
|
+
-attrs["[focusState]"]=variable.focusState+"";
|
|
6
|
+
if(variable.resizable)
|
|
7
|
+
farris-splitter-pane(id=variable.replacedId class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) ngResizable '[rzMinWidth]'=variable.rzMinWidth?variable.rzMinWidth.toString():undefined '[rzMaxWidth]'=variable.rzMaxWidth?variable.rzMaxWidth.toString():undefined '[rzHandles]'=variable.resizeHandlers?"'"+variable.resizeHandlers+"'":undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined)&attributes(attrs)
|
|
8
|
+
| {{content}}
|
|
9
|
+
else
|
|
10
|
+
farris-splitter-pane(id=variable.replacedId class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) '[rzMinWidth]'=variable.rzMinWidth?variable.rzMinWidth.toString():undefined '[rzMaxWidth]'=variable.rzMaxWidth?variable.rzMaxWidth.toString():undefined '[rzHandles]'=variable.resizeHandlers?"'"+variable.resizeHandlers+"'":undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined)&attributes(attrs)
|
|
11
|
+
| {{content}}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
-var attrs = {};
|
|
2
|
-
if(variable.hasDefaultFocus)
|
|
3
|
-
-attrs["farris-set-focus"]="";
|
|
4
|
-
if(variable.focusState)
|
|
5
|
-
-attrs["[focusState]"]=variable.focusState+"";
|
|
6
|
-
farris-splitter(id=variable.replacedId class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined)&attributes(attrs)
|
|
1
|
+
-var attrs = {};
|
|
2
|
+
if(variable.hasDefaultFocus)
|
|
3
|
+
-attrs["farris-set-focus"]="";
|
|
4
|
+
if(variable.focusState)
|
|
5
|
+
-attrs["[focusState]"]=variable.focusState+"";
|
|
6
|
+
farris-splitter(id=variable.replacedId class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined)&attributes(attrs)
|
|
7
7
|
| {{content}}
|