@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,70 +1,70 @@
|
|
|
1
|
-
|
|
2
|
-
-var holdPlaceOuterAttrs = {};
|
|
3
|
-
-var holdPlaceInnerAttrs = {};
|
|
4
|
-
-var holdPlaceEmptyAttrs = {};
|
|
5
|
-
if(variable.holdPlace)
|
|
6
|
-
-holdPlaceInnerAttrs["*ngIf"]=variable.visible ?variable.visible.value+'':undefined;
|
|
7
|
-
-holdPlaceEmptyAttrs['*ngIf']=variable.visible ?'!'+variable.visible.value+'':undefined;
|
|
8
|
-
else
|
|
9
|
-
-holdPlaceOuterAttrs["*ngIf"]=variable.visible ?variable.visible.value+'':undefined;
|
|
10
|
-
div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
|
|
11
|
-
if(variable.holdPlace)
|
|
12
|
-
div(class="f-empty-input-placeholder")&attributes(holdPlaceEmptyAttrs)
|
|
13
|
-
div(class="farris-group-wrap")&attributes(holdPlaceInnerAttrs)
|
|
14
|
-
div(class="form-group farris-form-group" '[ngClass]'="{'form-group--has-tips':"+(variable.enableTitleTips?variable.enableTitleTips:false)+"}")
|
|
15
|
-
if (variable.title)
|
|
16
|
-
-var titleValue=variable.isStaticTitle?("'" + variable.resourceId + "'|lang:lang:'"+variable.defaultI18nValue+"'"):variable.dynamicTitleValue;
|
|
17
|
-
if(variable.linkedLabelEnabled)
|
|
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
|
-
if (variable.require)
|
|
20
|
-
span(class="farris-label-info text-danger" "*ngIf"=""+variable.require.value) *
|
|
21
|
-
span(class="farris-label-text") {{#{titleValue}}}
|
|
22
|
-
else
|
|
23
|
-
label(class="col-form-label" title="{{"+titleValue+"}}" for=variable.replacedId '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined)
|
|
24
|
-
if (variable.require)
|
|
25
|
-
span(class="farris-label-info text-danger" "*ngIf"=""+variable.require.value) *
|
|
26
|
-
span(class="farris-label-text") {{#{titleValue}}}
|
|
27
|
-
div(class="farris-input-wrap")
|
|
28
|
-
-var attrs = {};
|
|
29
|
-
if (variable.binding && variable.binding.type == 'Variable')
|
|
30
|
-
-attrs['[(ngModel)]'] = variable.binding.value;
|
|
31
|
-
-attrs['name'] = variable.replacedId;
|
|
32
|
-
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
33
|
-
else
|
|
34
|
-
-attrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
35
|
-
|
|
36
|
-
-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
37
|
-
if(variable.isTextArea)
|
|
38
|
-
if(variable.readonly && variable.readonly.isComposite)
|
|
39
|
-
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
40
|
-
else
|
|
41
|
-
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
42
|
-
if(variable.hasDefaultFocus)
|
|
43
|
-
-attrs["farris-set-focus"]="";
|
|
44
|
-
if(variable.focusState)
|
|
45
|
-
-attrs["[focusState]"]=variable.focusState+"";
|
|
46
|
-
kendo-numerictextbox(id=variable.replacedId "input-end-edit" class="form-control k-widget k-numerictextbox" '[format]'=variable.format?"'"+variable.format+"'":undefined '[decimals]'=(variable.precision || variable.precision==0)? variable.precision+'':undefined '[disabled]'!=variable.disable?variable.disable.toString():undefined '[class.f-state-readonly]'=variable.readonly?variable.readonly.value+"":undefined '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined '[value]'=variable.value?variable.value:undefined '[step]'=variable.step?variable.step:undefined '[min]'=variable.minValue!=null?variable.minValue:undefined '[max]'=variable.maxValue!=null?variable.maxValue:undefined '[autoCorrect]'="true" '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined )&attributes(attrs)
|
|
47
|
-
kendo-numerictextbox-messages('[decrement]'="'减少'" '[increment]'="'增加'")
|
|
48
|
-
if (variable.needValid)
|
|
49
|
-
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
50
|
-
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
51
|
-
div(class="farris-feedback")
|
|
52
|
-
if(variable.isTextArea)
|
|
53
|
-
-var areaAttrs = {};
|
|
54
|
-
if(variable.readonly && variable.readonly.isComposite)
|
|
55
|
-
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
56
|
-
else
|
|
57
|
-
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
58
|
-
if (variable.binding && variable.binding.type == 'Variable')
|
|
59
|
-
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
60
|
-
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
61
|
-
else
|
|
62
|
-
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
63
|
-
farris-text('[type]'="'number'" '[format]'=variable.format?"'"+variable.format+"'":undefined '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined )&attributes(areaAttrs)
|
|
64
|
-
if(variable.titleTipsTemplate)
|
|
65
|
-
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
66
|
-
i(class="f-icon f-icon-description-tips")
|
|
67
|
-
-var tipsAttrs= {};
|
|
68
|
-
-tipsAttrs['#'+variable.titleTipsTemplateName] = "";
|
|
69
|
-
ng-template()&attributes(tipsAttrs)
|
|
70
|
-
| !{variable.titleTipsTemplate}
|
|
1
|
+
|
|
2
|
+
-var holdPlaceOuterAttrs = {};
|
|
3
|
+
-var holdPlaceInnerAttrs = {};
|
|
4
|
+
-var holdPlaceEmptyAttrs = {};
|
|
5
|
+
if(variable.holdPlace)
|
|
6
|
+
-holdPlaceInnerAttrs["*ngIf"]=variable.visible ?variable.visible.value+'':undefined;
|
|
7
|
+
-holdPlaceEmptyAttrs['*ngIf']=variable.visible ?'!'+variable.visible.value+'':undefined;
|
|
8
|
+
else
|
|
9
|
+
-holdPlaceOuterAttrs["*ngIf"]=variable.visible ?variable.visible.value+'':undefined;
|
|
10
|
+
div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
|
|
11
|
+
if(variable.holdPlace)
|
|
12
|
+
div(class="f-empty-input-placeholder")&attributes(holdPlaceEmptyAttrs)
|
|
13
|
+
div(class="farris-group-wrap")&attributes(holdPlaceInnerAttrs)
|
|
14
|
+
div(class="form-group farris-form-group" '[ngClass]'="{'form-group--has-tips':"+(variable.enableTitleTips?variable.enableTitleTips:false)+"}")
|
|
15
|
+
if (variable.title)
|
|
16
|
+
-var titleValue=variable.isStaticTitle?("'" + variable.resourceId + "'|lang:lang:'"+variable.defaultI18nValue+"'"):variable.dynamicTitleValue;
|
|
17
|
+
if(variable.linkedLabelEnabled)
|
|
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
|
+
if (variable.require)
|
|
20
|
+
span(class="farris-label-info text-danger" "*ngIf"=""+variable.require.value) *
|
|
21
|
+
span(class="farris-label-text") {{#{titleValue}}}
|
|
22
|
+
else
|
|
23
|
+
label(class="col-form-label" title="{{"+titleValue+"}}" for=variable.replacedId '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined)
|
|
24
|
+
if (variable.require)
|
|
25
|
+
span(class="farris-label-info text-danger" "*ngIf"=""+variable.require.value) *
|
|
26
|
+
span(class="farris-label-text") {{#{titleValue}}}
|
|
27
|
+
div(class="farris-input-wrap")
|
|
28
|
+
-var attrs = {};
|
|
29
|
+
if (variable.binding && variable.binding.type == 'Variable')
|
|
30
|
+
-attrs['[(ngModel)]'] = variable.binding.value;
|
|
31
|
+
-attrs['name'] = variable.replacedId;
|
|
32
|
+
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
33
|
+
else
|
|
34
|
+
-attrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
35
|
+
|
|
36
|
+
-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
37
|
+
if(variable.isTextArea)
|
|
38
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
39
|
+
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
40
|
+
else
|
|
41
|
+
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
42
|
+
if(variable.hasDefaultFocus)
|
|
43
|
+
-attrs["farris-set-focus"]="";
|
|
44
|
+
if(variable.focusState)
|
|
45
|
+
-attrs["[focusState]"]=variable.focusState+"";
|
|
46
|
+
kendo-numerictextbox(id=variable.replacedId "input-end-edit" class="form-control k-widget k-numerictextbox" '[format]'=variable.format?"'"+variable.format+"'":undefined '[decimals]'=(variable.precision || variable.precision==0)? variable.precision+'':undefined '[disabled]'!=variable.disable?variable.disable.toString():undefined '[class.f-state-readonly]'=variable.readonly?variable.readonly.value+"":undefined '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined '[value]'=variable.value?variable.value:undefined '[step]'=variable.step?variable.step:undefined '[min]'=variable.minValue!=null?variable.minValue:undefined '[max]'=variable.maxValue!=null?variable.maxValue:undefined '[autoCorrect]'="true" '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined )&attributes(attrs)
|
|
47
|
+
kendo-numerictextbox-messages('[decrement]'="'减少'" '[increment]'="'增加'")
|
|
48
|
+
if (variable.needValid)
|
|
49
|
+
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
50
|
+
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
51
|
+
div(class="farris-feedback")
|
|
52
|
+
if(variable.isTextArea)
|
|
53
|
+
-var areaAttrs = {};
|
|
54
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
55
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
56
|
+
else
|
|
57
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
58
|
+
if (variable.binding && variable.binding.type == 'Variable')
|
|
59
|
+
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
60
|
+
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
61
|
+
else
|
|
62
|
+
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
63
|
+
farris-text('[type]'="'number'" '[format]'=variable.format?"'"+variable.format+"'":undefined '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined )&attributes(areaAttrs)
|
|
64
|
+
if(variable.titleTipsTemplate)
|
|
65
|
+
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
66
|
+
i(class="f-icon f-icon-description-tips")
|
|
67
|
+
-var tipsAttrs= {};
|
|
68
|
+
-tipsAttrs['#'+variable.titleTipsTemplateName] = "";
|
|
69
|
+
ng-template()&attributes(tipsAttrs)
|
|
70
|
+
| !{variable.titleTipsTemplate}
|
|
@@ -1,21 +1,21 @@
|
|
|
1
|
-
div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style))
|
|
2
|
-
div(class="farris-group-wrap")
|
|
3
|
-
div(class="form-group farris-form-group" '[ngClass]'="{'form-group--has-tips':"+(variable.enableTitleTips?variable.enableTitleTips:false)+"}")
|
|
4
|
-
label(class="col-form-label" title="{{'"+variable.title+"'}}" for=variable.replacedId '(click)'=variable.linkedLabelClick?variable.linkedLabelClick:undefined '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined)
|
|
5
|
-
span(class="farris-label-text") {{'#{variable.title}'}}
|
|
6
|
-
div(class="farris-input-wrap")
|
|
7
|
-
farris-oa-relation(
|
|
8
|
-
'farrisOaRelationDataMapping'
|
|
9
|
-
input-end-edit
|
|
10
|
-
id=variable.replacedId
|
|
11
|
-
'[readonly]'!=variable.readonly?variable.readonly.value+"":undefined
|
|
12
|
-
'[taskCategoryIds]'!=variable.taskCategoryIds?variable.taskCategoryIds+"":undefined
|
|
13
|
-
'formControlName'=variable.formControlName?""+variable.formControlName:undefined
|
|
14
|
-
)
|
|
15
|
-
if(variable.titleTipsTemplate)
|
|
16
|
-
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
17
|
-
i(class="f-icon f-icon-description-tips")
|
|
18
|
-
-var tipsAttrs= {};
|
|
19
|
-
-tipsAttrs['#'+variable.titleTipsTemplateName] = "";
|
|
20
|
-
ng-template()&attributes(tipsAttrs)
|
|
1
|
+
div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style))
|
|
2
|
+
div(class="farris-group-wrap")
|
|
3
|
+
div(class="form-group farris-form-group" '[ngClass]'="{'form-group--has-tips':"+(variable.enableTitleTips?variable.enableTitleTips:false)+"}")
|
|
4
|
+
label(class="col-form-label" title="{{'"+variable.title+"'}}" for=variable.replacedId '(click)'=variable.linkedLabelClick?variable.linkedLabelClick:undefined '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined)
|
|
5
|
+
span(class="farris-label-text") {{'#{variable.title}'}}
|
|
6
|
+
div(class="farris-input-wrap")
|
|
7
|
+
farris-oa-relation(
|
|
8
|
+
'farrisOaRelationDataMapping'
|
|
9
|
+
input-end-edit
|
|
10
|
+
id=variable.replacedId
|
|
11
|
+
'[readonly]'!=variable.readonly?variable.readonly.value+"":undefined
|
|
12
|
+
'[taskCategoryIds]'!=variable.taskCategoryIds?variable.taskCategoryIds+"":undefined
|
|
13
|
+
'formControlName'=variable.formControlName?""+variable.formControlName:undefined
|
|
14
|
+
)
|
|
15
|
+
if(variable.titleTipsTemplate)
|
|
16
|
+
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
17
|
+
i(class="f-icon f-icon-description-tips")
|
|
18
|
+
-var tipsAttrs= {};
|
|
19
|
+
-tipsAttrs['#'+variable.titleTipsTemplateName] = "";
|
|
20
|
+
ng-template()&attributes(tipsAttrs)
|
|
21
21
|
| !{variable.titleTipsTemplate}
|
|
@@ -1,116 +1,116 @@
|
|
|
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.valueChange)
|
|
35
|
-
-attrs['(valueChange)'] = variable.valueChange ;
|
|
36
|
-
|
|
37
|
-
-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
38
|
-
|
|
39
|
-
if(variable.isTextArea)
|
|
40
|
-
if(variable.readonly && variable.readonly.isComposite)
|
|
41
|
-
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
42
|
-
else
|
|
43
|
-
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
44
|
-
if(variable.hasDefaultFocus)
|
|
45
|
-
-attrs["farris-set-focus"]="";
|
|
46
|
-
if(variable.focusState)
|
|
47
|
-
-attrs["[focusState]"]=variable.focusState+"";
|
|
48
|
-
farris-organization-selector(
|
|
49
|
-
organization-selector-data-mapping
|
|
50
|
-
input-end-edit
|
|
51
|
-
'[searchPlaceholder]'=variable.searchPlaceholder?"'"+variable.searchPlaceholder+"'":undefined
|
|
52
|
-
'[disabled]'!=variable.disable?variable.disable.toString():undefined
|
|
53
|
-
'[primaryField]'=variable.primaryField?"'"+variable.primaryField+"'":undefined
|
|
54
|
-
'[displayField]'=variable.displayField?"'"+variable.displayField+"'":undefined
|
|
55
|
-
'[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"":undefined
|
|
56
|
-
'[viewType]'!=variable.viewType?"'"+variable.viewType+"'":undefined
|
|
57
|
-
'[busNum]'!=variable.busNum?"'"+variable.busNum+"'":undefined
|
|
58
|
-
'[absOrgType]'=variable.absOrgType?"'"+variable.absOrgType+"'":undefined
|
|
59
|
-
'[layer]'= (variable.expandLevel || variable.expandLevel==0)?""+variable.expandLevel:undefined
|
|
60
|
-
'[multiSelect]'!=variable.multiSelect?""+variable.multiSelect.value:undefined
|
|
61
|
-
'[mapFields]'=variable.mapFields?variable.mapFields:undefined
|
|
62
|
-
'[orgIds]'=variable.orgIds?""+variable.orgIds.value:undefined
|
|
63
|
-
'[disableOrgList]'=variable.disableOrgList?""+variable.disableOrgList.value:undefined
|
|
64
|
-
'[filterType]'=variable.filterType?"'"+variable.filterType+"'":undefined
|
|
65
|
-
'(tagRemoved)'!=variable.tagRemoved?variable.tagRemoved+"":undefined
|
|
66
|
-
'(selectionsChange)'!=variable.selectionsChange?variable.selectionsChange+"":undefined
|
|
67
|
-
'[showTabIds]'=variable.showTabIds?"'"+variable.showTabIds+"'":undefined
|
|
68
|
-
'[activeTabId]'=variable.activeTabId?"'"+variable.activeTabId+"'":undefined
|
|
69
|
-
'[enableHierarchicalLoading]'=variable.enableHierarchicalLoading?""+variable.enableHierarchicalLoading.value:undefined
|
|
70
|
-
'[showCheckAll]'=variable.showAllCheckBox?""+variable.showAllCheckBox.value:undefined
|
|
71
|
-
'[cascadeCheck]'=variable.cascadeCheck?""+variable.cascadeCheck.value:undefined
|
|
72
|
-
'[cascadeDown]'=variable.cascadeDown?""+variable.cascadeDown.value:undefined
|
|
73
|
-
'[cascadeUp]'=variable.cascadeUp?""+variable.cascadeUp.value:undefined
|
|
74
|
-
"[formatFn]"=variable.formatterName?""+variable.formatterName:undefined
|
|
75
|
-
'(inputClear)'!=variable.inputClear?variable.inputClear+"":undefined
|
|
76
|
-
'tab-index'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
|
|
77
|
-
'[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
|
|
78
|
-
'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
|
|
79
|
-
'[showDisabledItem]'=variable.showDisabledItem?""+variable.showDisabledItem.value:undefined
|
|
80
|
-
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
81
|
-
'[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
|
|
82
|
-
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
83
|
-
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
84
|
-
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
85
|
-
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
|
|
86
|
-
'[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
|
|
87
|
-
if (variable.needValid && variable.binding && variable.binding.path)
|
|
88
|
-
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
89
|
-
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
90
|
-
div(class="farris-feedback")
|
|
91
|
-
if(variable.isTextArea)
|
|
92
|
-
-var areaAttrs = {};
|
|
93
|
-
if(variable.readonly && variable.readonly.isComposite)
|
|
94
|
-
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
95
|
-
else
|
|
96
|
-
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
97
|
-
if (variable.binding && variable.binding.type == 'Variable')
|
|
98
|
-
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
99
|
-
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
100
|
-
else
|
|
101
|
-
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
102
|
-
farris-text('[type]'="'string'" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
|
|
103
|
-
'[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined
|
|
104
|
-
'[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
|
|
105
|
-
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
106
|
-
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
107
|
-
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
108
|
-
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
109
|
-
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
|
|
110
|
-
if(variable.titleTipsTemplate)
|
|
111
|
-
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
112
|
-
i(class="f-icon f-icon-description-tips")
|
|
113
|
-
-var tipsAttrs= {};
|
|
114
|
-
-tipsAttrs['#'+variable.titleTipsTemplateName] = "";
|
|
115
|
-
ng-template()&attributes(tipsAttrs)
|
|
116
|
-
| !{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 '[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.valueChange)
|
|
35
|
+
-attrs['(valueChange)'] = variable.valueChange ;
|
|
36
|
+
|
|
37
|
+
-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
38
|
+
|
|
39
|
+
if(variable.isTextArea)
|
|
40
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
41
|
+
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
42
|
+
else
|
|
43
|
+
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
44
|
+
if(variable.hasDefaultFocus)
|
|
45
|
+
-attrs["farris-set-focus"]="";
|
|
46
|
+
if(variable.focusState)
|
|
47
|
+
-attrs["[focusState]"]=variable.focusState+"";
|
|
48
|
+
farris-organization-selector(
|
|
49
|
+
organization-selector-data-mapping
|
|
50
|
+
input-end-edit
|
|
51
|
+
'[searchPlaceholder]'=variable.searchPlaceholder?"'"+variable.searchPlaceholder+"'":undefined
|
|
52
|
+
'[disabled]'!=variable.disable?variable.disable.toString():undefined
|
|
53
|
+
'[primaryField]'=variable.primaryField?"'"+variable.primaryField+"'":undefined
|
|
54
|
+
'[displayField]'=variable.displayField?"'"+variable.displayField+"'":undefined
|
|
55
|
+
'[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"":undefined
|
|
56
|
+
'[viewType]'!=variable.viewType?"'"+variable.viewType+"'":undefined
|
|
57
|
+
'[busNum]'!=variable.busNum?"'"+variable.busNum+"'":undefined
|
|
58
|
+
'[absOrgType]'=variable.absOrgType?"'"+variable.absOrgType+"'":undefined
|
|
59
|
+
'[layer]'= (variable.expandLevel || variable.expandLevel==0)?""+variable.expandLevel:undefined
|
|
60
|
+
'[multiSelect]'!=variable.multiSelect?""+variable.multiSelect.value:undefined
|
|
61
|
+
'[mapFields]'=variable.mapFields?variable.mapFields:undefined
|
|
62
|
+
'[orgIds]'=variable.orgIds?""+variable.orgIds.value:undefined
|
|
63
|
+
'[disableOrgList]'=variable.disableOrgList?""+variable.disableOrgList.value:undefined
|
|
64
|
+
'[filterType]'=variable.filterType?"'"+variable.filterType+"'":undefined
|
|
65
|
+
'(tagRemoved)'!=variable.tagRemoved?variable.tagRemoved+"":undefined
|
|
66
|
+
'(selectionsChange)'!=variable.selectionsChange?variable.selectionsChange+"":undefined
|
|
67
|
+
'[showTabIds]'=variable.showTabIds?"'"+variable.showTabIds+"'":undefined
|
|
68
|
+
'[activeTabId]'=variable.activeTabId?"'"+variable.activeTabId+"'":undefined
|
|
69
|
+
'[enableHierarchicalLoading]'=variable.enableHierarchicalLoading?""+variable.enableHierarchicalLoading.value:undefined
|
|
70
|
+
'[showCheckAll]'=variable.showAllCheckBox?""+variable.showAllCheckBox.value:undefined
|
|
71
|
+
'[cascadeCheck]'=variable.cascadeCheck?""+variable.cascadeCheck.value:undefined
|
|
72
|
+
'[cascadeDown]'=variable.cascadeDown?""+variable.cascadeDown.value:undefined
|
|
73
|
+
'[cascadeUp]'=variable.cascadeUp?""+variable.cascadeUp.value:undefined
|
|
74
|
+
"[formatFn]"=variable.formatterName?""+variable.formatterName:undefined
|
|
75
|
+
'(inputClear)'!=variable.inputClear?variable.inputClear+"":undefined
|
|
76
|
+
'tab-index'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
|
|
77
|
+
'[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
|
|
78
|
+
'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
|
|
79
|
+
'[showDisabledItem]'=variable.showDisabledItem?""+variable.showDisabledItem.value:undefined
|
|
80
|
+
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
81
|
+
'[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
|
|
82
|
+
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
83
|
+
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
84
|
+
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
85
|
+
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
|
|
86
|
+
'[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
|
|
87
|
+
if (variable.needValid && variable.binding && variable.binding.path)
|
|
88
|
+
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
89
|
+
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
90
|
+
div(class="farris-feedback")
|
|
91
|
+
if(variable.isTextArea)
|
|
92
|
+
-var areaAttrs = {};
|
|
93
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
94
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
95
|
+
else
|
|
96
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
97
|
+
if (variable.binding && variable.binding.type == 'Variable')
|
|
98
|
+
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
99
|
+
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
100
|
+
else
|
|
101
|
+
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
102
|
+
farris-text('[type]'="'string'" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined
|
|
103
|
+
'[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined
|
|
104
|
+
'[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
|
|
105
|
+
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
106
|
+
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
107
|
+
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
108
|
+
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
109
|
+
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
|
|
110
|
+
if(variable.titleTipsTemplate)
|
|
111
|
+
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
112
|
+
i(class="f-icon f-icon-description-tips")
|
|
113
|
+
-var tipsAttrs= {};
|
|
114
|
+
-tipsAttrs['#'+variable.titleTipsTemplateName] = "";
|
|
115
|
+
ng-template()&attributes(tipsAttrs)
|
|
116
|
+
| !{variable.titleTipsTemplate}
|
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
p-treeTable(id=variable.replacedId dataKey="id" class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) '[columns]'=variable.columnsName?""+variable.columnsName:undefined 'farrisPrimengTreeTableBinding' 'farrisHierarchyInfoKey'=variable.udtField?""+variable.udtField:undefined '[resizableColumns]'=(variable.resizableColumns || variable.resizableColumns==false)?""+variable.resizableColumns:undefined 'farrisPrimengTreeTableIdField'=variable.idField?""+variable.idField:undefined '(onNodeSelect)'=variable.onSelectionChange?""+variable.onSelectionChange:undefined '[scrollable]'="true" '[scrollHeight]'="'flex'" '[styleClass]'="'ui-treetable-flex-scrollable'" 'selectionMode'=variable.selectionMode?""+variable.selectionMode:undefined 'columnResizeMode'=variable.columnResizeMode?""+variable.columnResizeMode:undefined )
|
|
2
|
-
ng-template('pTemplate'="colgroup" 'let-columns')
|
|
3
|
-
colgroup()
|
|
4
|
-
col('*ngFor'="let col of columns" '[ngStyle]'="{'width.px':col.width}")
|
|
5
|
-
ng-template('pTemplate'="header" 'let-columns')
|
|
6
|
-
if(variable.headerGroupColumnName)
|
|
7
|
-
tr('*ngFor'="let columnHeader of "+variable.headerGroupColumnName)
|
|
8
|
-
th('*ngFor'="let col of columnHeader" 'ttResizableColumn' '[attr.rowspan]'="col.rowspan" '[attr.colspan]'="col.colspan" 'title'="{{col.title}}" '[ngStyle]'="{'text-align':col.hAlign}" '[ttSortableColumn]'!="col.sortable&&col.field")
|
|
9
|
-
| {{col.title}} <p-treeTableSortIcon [field]="col.field" *ngIf="col.sortable"></p-treeTableSortIcon>
|
|
10
|
-
else
|
|
11
|
-
tr()
|
|
12
|
-
th('*ngFor'="let col of columns" 'ttResizableColumn' 'title'="{{col.title}}" '[ngStyle]'="{'text-align':col.hAlign}" '[ttSortableColumn]'!="col.sortable&&col.field")
|
|
13
|
-
| {{col.title}} <p-treeTableSortIcon [field]="col.field" *ngIf="col.sortable"></p-treeTableSortIcon>
|
|
14
|
-
ng-template('pTemplate'="body" 'let-rowNode' 'let-rowData'="rowData" 'let-columns'="columns")
|
|
15
|
-
tr('[ttSelectableRow]'="rowNode")
|
|
16
|
-
ng-container('*ngFor'="let col of columns;let index=index")
|
|
17
|
-
ng-template('[ngIf]'=""+variable.editable)
|
|
18
|
-
td('ttEditableColumn' '[ttEditableColumn]'="rowData" '[ttEditableColumnField]'="col.field" '[attr.align]'="col.textAlign" '[title]'="(col | formatPrimeNgTreeTableCellData : rowData) || ''" '[ttEditableColumnDisabled]'="col.readonly" )
|
|
19
|
-
p-treeTableToggler('[rowNode]'="rowNode" '*ngIf'="index===0")
|
|
20
|
-
p-treeTableCellEditor()
|
|
21
|
-
ng-template('pTemplate'="input")
|
|
22
|
-
| {{content}}
|
|
23
|
-
ng-template('pTemplate'="output")
|
|
24
|
-
| {{col | formatPrimeNgTreeTableCellData : rowData}}
|
|
25
|
-
ng-template('[ngIf]'="!"+variable.editable)
|
|
26
|
-
td('[attr.align]'="col.textAlign" '[title]'="(col | formatPrimeNgTreeTableCellData : rowData) || ''")
|
|
27
|
-
p-treeTableToggler('[rowNode]'="rowNode" '*ngIf'="index===0")
|
|
28
|
-
| {{col | formatPrimeNgTreeTableCellData : rowData}}
|
|
1
|
+
p-treeTable(id=variable.replacedId dataKey="id" class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) '[columns]'=variable.columnsName?""+variable.columnsName:undefined 'farrisPrimengTreeTableBinding' 'farrisHierarchyInfoKey'=variable.udtField?""+variable.udtField:undefined '[resizableColumns]'=(variable.resizableColumns || variable.resizableColumns==false)?""+variable.resizableColumns:undefined 'farrisPrimengTreeTableIdField'=variable.idField?""+variable.idField:undefined '(onNodeSelect)'=variable.onSelectionChange?""+variable.onSelectionChange:undefined '[scrollable]'="true" '[scrollHeight]'="'flex'" '[styleClass]'="'ui-treetable-flex-scrollable'" 'selectionMode'=variable.selectionMode?""+variable.selectionMode:undefined 'columnResizeMode'=variable.columnResizeMode?""+variable.columnResizeMode:undefined )
|
|
2
|
+
ng-template('pTemplate'="colgroup" 'let-columns')
|
|
3
|
+
colgroup()
|
|
4
|
+
col('*ngFor'="let col of columns" '[ngStyle]'="{'width.px':col.width}")
|
|
5
|
+
ng-template('pTemplate'="header" 'let-columns')
|
|
6
|
+
if(variable.headerGroupColumnName)
|
|
7
|
+
tr('*ngFor'="let columnHeader of "+variable.headerGroupColumnName)
|
|
8
|
+
th('*ngFor'="let col of columnHeader" 'ttResizableColumn' '[attr.rowspan]'="col.rowspan" '[attr.colspan]'="col.colspan" 'title'="{{col.title}}" '[ngStyle]'="{'text-align':col.hAlign}" '[ttSortableColumn]'!="col.sortable&&col.field")
|
|
9
|
+
| {{col.title}} <p-treeTableSortIcon [field]="col.field" *ngIf="col.sortable"></p-treeTableSortIcon>
|
|
10
|
+
else
|
|
11
|
+
tr()
|
|
12
|
+
th('*ngFor'="let col of columns" 'ttResizableColumn' 'title'="{{col.title}}" '[ngStyle]'="{'text-align':col.hAlign}" '[ttSortableColumn]'!="col.sortable&&col.field")
|
|
13
|
+
| {{col.title}} <p-treeTableSortIcon [field]="col.field" *ngIf="col.sortable"></p-treeTableSortIcon>
|
|
14
|
+
ng-template('pTemplate'="body" 'let-rowNode' 'let-rowData'="rowData" 'let-columns'="columns")
|
|
15
|
+
tr('[ttSelectableRow]'="rowNode")
|
|
16
|
+
ng-container('*ngFor'="let col of columns;let index=index")
|
|
17
|
+
ng-template('[ngIf]'=""+variable.editable)
|
|
18
|
+
td('ttEditableColumn' '[ttEditableColumn]'="rowData" '[ttEditableColumnField]'="col.field" '[attr.align]'="col.textAlign" '[title]'="(col | formatPrimeNgTreeTableCellData : rowData) || ''" '[ttEditableColumnDisabled]'="col.readonly" )
|
|
19
|
+
p-treeTableToggler('[rowNode]'="rowNode" '*ngIf'="index===0")
|
|
20
|
+
p-treeTableCellEditor()
|
|
21
|
+
ng-template('pTemplate'="input")
|
|
22
|
+
| {{content}}
|
|
23
|
+
ng-template('pTemplate'="output")
|
|
24
|
+
| {{col | formatPrimeNgTreeTableCellData : rowData}}
|
|
25
|
+
ng-template('[ngIf]'="!"+variable.editable)
|
|
26
|
+
td('[attr.align]'="col.textAlign" '[title]'="(col | formatPrimeNgTreeTableCellData : rowData) || ''")
|
|
27
|
+
p-treeTableToggler('[rowNode]'="rowNode" '*ngIf'="index===0")
|
|
28
|
+
| {{col | formatPrimeNgTreeTableCellData : rowData}}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
//- -var variable={anchor:'anchor',appearance:{class:'popup class'},contentTemplate:'<div>'}
|
|
2
|
-
|
|
3
|
-
kendo-popup(id=variable.replacedId '[anchor]'=variable.anchor?variable.anchor:undefined '[popupClass]'=(variable.appearance && variable.appearance.class) '*ngIf'!=variable.visible?variable.visible.value+'':undefined )
|
|
1
|
+
//- -var variable={anchor:'anchor',appearance:{class:'popup class'},contentTemplate:'<div>'}
|
|
2
|
+
|
|
3
|
+
kendo-popup(id=variable.replacedId '[anchor]'=variable.anchor?variable.anchor:undefined '[popupClass]'=(variable.appearance && variable.appearance.class) '*ngIf'!=variable.visible?variable.visible.value+'':undefined )
|
|
4
4
|
| !{variable.contentTemplate}
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
div(id=variable.replacedId class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) '*ngIf'!=variable.visible ?variable.visible.value+'':undefined )
|
|
2
|
-
lib-portlet('[portletId]'=variable.portletId?"'"+variable.portletId+"'":undefined '[portlet-filter-binding]'!=variable.mappingFields?variable.mappingFields:undefined)
|
|
1
|
+
div(id=variable.replacedId class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) '*ngIf'!=variable.visible ?variable.visible.value+'':undefined )
|
|
2
|
+
lib-portlet('[portletId]'=variable.portletId?"'"+variable.portletId+"'":undefined '[portlet-filter-binding]'!=variable.mappingFields?variable.mappingFields:undefined)
|
|
@@ -1,12 +1,12 @@
|
|
|
1
|
-
|
|
2
|
-
-var holdPlaceOuterAttrs = {};
|
|
3
|
-
-var holdPlaceInnerAttrs = {};
|
|
4
|
-
-var holdPlaceEmptyAttrs = {};
|
|
5
|
-
-holdPlaceOuterAttrs['*ngIf']=(variable.controlIndex||variable.controlIndex==0)?""+"index==="+variable.controlIndex:undefined;
|
|
6
|
-
div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
|
|
7
|
-
-var attrs = {};
|
|
8
|
-
-var [frameComponentId, variablePath] = variable.binding.path.split('.');
|
|
9
|
-
-attrs['[(ngModel)]'] = "rowData"+variable.fieldSplit;
|
|
10
|
-
-attrs['name'] = variable.replacedId;
|
|
11
|
-
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
12
|
-
input(id=variable.replacedId "input-end-edit" type="checkbox" '[disabled]'!=variable.disable?variable.disable.toString():undefined '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined '(ngModelChange)'!=variable.valueChange?"!"+variable.readonly.value+"&&"+variable.valueChange+"":undefined tabindex=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined)&attributes(attrs)
|
|
1
|
+
|
|
2
|
+
-var holdPlaceOuterAttrs = {};
|
|
3
|
+
-var holdPlaceInnerAttrs = {};
|
|
4
|
+
-var holdPlaceEmptyAttrs = {};
|
|
5
|
+
-holdPlaceOuterAttrs['*ngIf']=(variable.controlIndex||variable.controlIndex==0)?""+"index==="+variable.controlIndex:undefined;
|
|
6
|
+
div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
|
|
7
|
+
-var attrs = {};
|
|
8
|
+
-var [frameComponentId, variablePath] = variable.binding.path.split('.');
|
|
9
|
+
-attrs['[(ngModel)]'] = "rowData"+variable.fieldSplit;
|
|
10
|
+
-attrs['name'] = variable.replacedId;
|
|
11
|
+
-attrs['[ngModelOptions]'] = "{standalone:true}";
|
|
12
|
+
input(id=variable.replacedId "input-end-edit" type="checkbox" '[disabled]'!=variable.disable?variable.disable.toString():undefined '[readonly]'!=variable.readonly?variable.readonly.value+"":undefined '(ngModelChange)'!=variable.valueChange?"!"+variable.readonly.value+"&&"+variable.valueChange+"":undefined tabindex=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined)&attributes(attrs)
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
-var holdPlaceOuterAttrs = {};
|
|
2
|
-
-var holdPlaceInnerAttrs = {};
|
|
3
|
-
-var holdPlaceEmptyAttrs = {};
|
|
4
|
-
-holdPlaceOuterAttrs['*ngIf']=(variable.controlIndex||variable.controlIndex==0)?""+"index==="+variable.controlIndex:undefined;
|
|
5
|
-
div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
|
|
6
|
-
-var attrs = {};
|
|
7
|
-
-var [frameComponentId, variablePath] = variable.binding.path.split('.');
|
|
8
|
-
-attrs['[(ngModel)]'] = "rowData"+variable.fieldSplit;
|
|
9
|
-
-attrs['name'] = variable.replacedId;
|
|
10
|
-
if (variable.valueChanged)
|
|
11
|
-
-attrs['(valueChange)'] = variable.valueChanged + '';
|
|
12
|
-
if (variable.readonly)
|
|
13
|
-
-attrs['[readonly]'] = variable.readonly.value+"";
|
|
14
|
-
|
|
15
|
-
-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
16
|
-
farris-combo-list(id=variable.replacedId "input-end-edit" '[data]'!=variable.data?variable.data:undefined '(selectedValues)'=variable.selectedValues?variable.selectedValues:undefined '[disabled]'!=(variable.disable||variable.disable==false)?variable.disable.toString():undefined '[editable]'=(variable.editable||variable.editable==false)?variable.editable.toString():undefined '[panelWidth]'=variable.panelWidth?"'"+variable.panelWidth+"'":undefined '[panelHeight]'=variable.panelHeight?"'"+variable.panelHeight+"'":undefined '[idField]'=variable.idField?"'"+variable.idField+"'":undefined '[valueField]'=variable.valueField?"'"+variable.valueField+"'":undefined '[textField]'=variable.textField?"'"+variable.textField+"'":undefined '[uri]'=variable.uri?"'"+variable.uri+"'":undefined '[multiSelect]'=(variable.multiSelect || variable.multiSelect==false)?variable.multiSelect.toString():undefined '(showPanel)'=variable.onShown?variable.onShown:undefined '(hidePanel)'=variable.onHidden?variable.onHidden:undefined '(clear)'=variable.onClear?variable.onClear:undefined '[autoWidth]'=(variable.autoWidth||variable.autoWidth==false)?variable.autoWidth.toString():undefined '[mappingField]'=variable.mappingField?"'"+variable.mappingField+"'":undefined '[beforeShow]'=variable.beforeShow?""+variable.beforeShow:undefined '[beforeHide]'=variable.beforeHide?""+variable.beforeHide:undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[enableClear]'=(variable.enableClear || variable.enableClear==false)?""+variable.enableClear:undefined '[viewType]'=variable.viewType?"'"+variable.viewType+"'":undefined )&attributes(attrs)
|
|
1
|
+
-var holdPlaceOuterAttrs = {};
|
|
2
|
+
-var holdPlaceInnerAttrs = {};
|
|
3
|
+
-var holdPlaceEmptyAttrs = {};
|
|
4
|
+
-holdPlaceOuterAttrs['*ngIf']=(variable.controlIndex||variable.controlIndex==0)?""+"index==="+variable.controlIndex:undefined;
|
|
5
|
+
div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
|
|
6
|
+
-var attrs = {};
|
|
7
|
+
-var [frameComponentId, variablePath] = variable.binding.path.split('.');
|
|
8
|
+
-attrs['[(ngModel)]'] = "rowData"+variable.fieldSplit;
|
|
9
|
+
-attrs['name'] = variable.replacedId;
|
|
10
|
+
if (variable.valueChanged)
|
|
11
|
+
-attrs['(valueChange)'] = variable.valueChanged + '';
|
|
12
|
+
if (variable.readonly)
|
|
13
|
+
-attrs['[readonly]'] = variable.readonly.value+"";
|
|
14
|
+
|
|
15
|
+
-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
16
|
+
farris-combo-list(id=variable.replacedId "input-end-edit" '[data]'!=variable.data?variable.data:undefined '(selectedValues)'=variable.selectedValues?variable.selectedValues:undefined '[disabled]'!=(variable.disable||variable.disable==false)?variable.disable.toString():undefined '[editable]'=(variable.editable||variable.editable==false)?variable.editable.toString():undefined '[panelWidth]'=variable.panelWidth?"'"+variable.panelWidth+"'":undefined '[panelHeight]'=variable.panelHeight?"'"+variable.panelHeight+"'":undefined '[idField]'=variable.idField?"'"+variable.idField+"'":undefined '[valueField]'=variable.valueField?"'"+variable.valueField+"'":undefined '[textField]'=variable.textField?"'"+variable.textField+"'":undefined '[uri]'=variable.uri?"'"+variable.uri+"'":undefined '[multiSelect]'=(variable.multiSelect || variable.multiSelect==false)?variable.multiSelect.toString():undefined '(showPanel)'=variable.onShown?variable.onShown:undefined '(hidePanel)'=variable.onHidden?variable.onHidden:undefined '(clear)'=variable.onClear?variable.onClear:undefined '[autoWidth]'=(variable.autoWidth||variable.autoWidth==false)?variable.autoWidth.toString():undefined '[mappingField]'=variable.mappingField?"'"+variable.mappingField+"'":undefined '[beforeShow]'=variable.beforeShow?""+variable.beforeShow:undefined '[beforeHide]'=variable.beforeHide?""+variable.beforeHide:undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[enableClear]'=(variable.enableClear || variable.enableClear==false)?""+variable.enableClear:undefined '[viewType]'=variable.viewType?"'"+variable.viewType+"'":undefined )&attributes(attrs)
|