@farris/jit-engine 1.3.350 → 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 -18
- 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/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/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/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/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,37 +1,37 @@
|
|
|
1
|
-
-var attrs = {};
|
|
2
|
-
if(variable.elementId)
|
|
3
|
-
-attrs["#"+variable.elementId]="";
|
|
4
|
-
if(variable.hasDefaultFocus)
|
|
5
|
-
-attrs["farris-set-focus"]="";
|
|
6
|
-
if(variable.focusState)
|
|
7
|
-
-attrs["[focusState]"]=variable.focusState+"";
|
|
8
|
-
if(variable.enableFilterRow || variable.enableSmartFilter)
|
|
9
|
-
if(variable.enableFilterRow)
|
|
10
|
-
-attrs["[enableFilterRow]"]=variable.enableFilterRow+"";
|
|
11
|
-
if(variable.enableSmartFilter)
|
|
12
|
-
-attrs["[enableSmartFilter]"]=variable.enableSmartFilter+"";
|
|
13
|
-
if(variable.remoteFilter || variable.remoteFilter == false)
|
|
14
|
-
-attrs["[remoteFilter]"]=variable.remoteFilter+"";
|
|
15
|
-
if(variable.showFilterBar || variable.showFilterBar == false)
|
|
16
|
-
-attrs["[showFilterBar]"]=variable.showFilterBar+"";
|
|
17
|
-
doctype html
|
|
18
|
-
|
|
|
19
|
-
div( 'class'="f-utils-fill")
|
|
20
|
-
farris-datagrid(id=variable.replacedId farris-use-binding-data datagridRef "farris-grid-end-edit" class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) '[enableHighlightCell]'=variable.enableHighlightCell?""+variable.enableHighlightCell.value:undefined '[disabled]'!=variable.disable?variable.disable.toString():undefined '[fitColumns]'=variable.fitColumns+"" '[fields]'=variable.fieldsName?variable.fieldsName:undefined '[showLineNumber]'=(variable.showLineNumber||variable.showLineNumber==false)?variable.showLineNumber+"":undefined '[striped]'=(variable.striped || variable.striped==false)?variable.striped+"":undefined '[virtualized]'=(variable.virtualized||variable.virtualized==false)?variable.virtualized+"":undefined '[pagination]'=variable.pagination?variable.pagination.toString():undefined '[pageSize]'=variable.pageSize?variable.pageSize:undefined '[pageIndex]'=variable.pageIndex?variable.pageIndex:undefined '[total]'=variable.total?variable.total:undefined '[virtualizedAsyncLoad]'=variable.virtualizedAsyncLoad+"" '[width]'=variable.width '[height]'=variable.height '[maxHeight]'=variable.maxHeight '[multiSelect]'=variable.multiSelect?""+variable.multiSelect.value:undefined '[idField]'=variable.idField?"'"+variable.idField+"'":undefined '[editMode]'="'"+variable.editMode+"'" '(pageChanged)'=variable.pageChange?variable.pageChange:undefined '[fit]'=(variable.fit || variable.fit==false)?variable.fit+"":undefined '[showCheckbox]'=variable.showCheckbox?variable.showCheckbox.value+"":undefined '[groupRows]'=variable.groupable?variable.groupable+"":undefined '[groupFormatter]'=variable.groupFormatterName?variable.groupFormatterName+"":undefined '[groupStyler]'=variable.groupStylerName?variable.groupStylerName+"":undefined '[groupFooter]'=variable.groupFooter?variable.groupFooter+"":undefined '[groupField]'=variable.group?"'"+variable.group+"'":undefined '[remoteSort]'=variable.remoteSort?variable.remoteSort+"":undefined '[multiSort]'=variable.multiSort?variable.multiSort+"":undefined '[sortName]'=variable.sortName?"'"+variable.sortName+"'":undefined '[sortOrder]'=variable.sortOrder?"'"+variable.sortOrder+"'":undefined '[farris-datagrid-editable]'!= (variable.editable || variable.editable == false )?variable.editable+"":"viewModel.stateMachine && viewModel.stateMachine['editable']" '[disableGroupOnEditing]'=variable.disableGroupOnEditing?""+variable.disableGroupOnEditing.value:undefined '[lockPagination]'!=(variable.lockPagination || variable.lockPagination==false)?variable.lockPagination+"":"viewModel.stateMachine&&viewModel.stateMachine['editable']" '(rowClass)'=variable.rowClass?variable.rowClass:undefined '[showFooter]'=variable.showFooter?variable.showFooter.toString():undefined '[footerTemplate]'=variable.footerTemplateName?variable.footerTemplateName:undefined '[footerHeight]'=variable.footerHeight?variable.footerHeight:undefined '(scrollYLoad)'=variable.scrollYLoad?""+variable.scrollYLoad:undefined '(selectedRowChange)'=variable.onSelectionChange?variable.onSelectionChange:undefined '[rowStyler]'=variable.rowStylerName?variable.rowStylerName:undefined '[showSelectedList]'=variable.showSelectedList?""+variable.showSelectedList:undefined '[selectedItemFormatter]'=variable.selectedItemFormatterName?""+variable.selectedItemFormatterName:undefined '[showAllCheckbox]'=variable.showAllCheckbox?variable.showAllCheckbox.value+"":undefined '(checkedChange)'=variable.checkedChange?variable.checkedChange:undefined '[beforeSelect]'=variable.beforeSelect?variable.beforeSelect+"":undefined '[beforeUnselect]'=variable.beforeUnSelect?variable.beforeUnSelect+"":undefined '[beforeCheck]'=variable.beforeCheck?variable.beforeCheck+"":undefined '[beforeUncheck]'=variable.beforeUnCheck?variable.beforeUnCheck+"":undefined '[disableRow]'=variable.disableRowName?variable.disableRowName+"":undefined '[lineNumberTitle]'=variable.lineNumberTitleLang?""+variable.lineNumberTitleLang:undefined '(dblclickRow)'=variable.dblClickRow?""+variable.dblClickRow:undefined '[beforeEdit]'=variable.beforeEdit?""+variable.beforeEdit:undefined '[mergeCell]'=""+variable.mergeCell '[mergeFields]'=variable.mergeFields?variable.mergeFields:undefined '[showBorder]'=(variable.showBorder || variable.showBorder ==false)?""+variable.showBorder:undefined '[checkOnSelect]'=(variable.checkOnSelect || variable.checkOnSelect == false)?""+variable.checkOnSelect:undefined '[selectOnCheck]'=(variable.selectOnCheck || variable.selectOnCheck == false)?""+variable.selectOnCheck:undefined '[nowrap]'=(variable.nowrap || variable.nowrap ==false)?""+variable.nowrap:undefined '(columnSorted)'=variable.columnSorted?""+variable.columnSorted:undefined '[footerDataFrom]'=variable. footerDataFrom?"'"+variable. footerDataFrom+"'":undefined '*ngIf'!=variable.visible?""+variable.visible.value:undefined 'farris-remote-summary-command'=variable.footerDataCommand?variable.footerDataCommand:"" '[autoFitColumns]'=(variable.autoFitColumns|| variable.autoFitColumns==false)?""+variable.autoFitColumns:undefined '[showGroupColumn]'=(variable.showGroupColumn || variable.showGroupColumn == false)?""+variable.showGroupColumn:undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[useControlPanel]'=variable.useControlPanel?""+variable.useControlPanel:undefined '[autoHeight]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[AutoColumnWidthUseDblclick]'=(variable.AutoColumnWidthUseDblclick || variable.AutoColumnWidthUseDblclick==false)?""+variable.AutoColumnWidthUseDblclick:undefined '(checked)'=variable.checked?""+variable.checked:undefined '(unChecked)'=variable.unChecked?""+variable.unChecked:undefined '(rowClick)'=variable.rowClick?""+variable.rowClick:undefined '[showPageList]'=(variable.showPageSize || variable.showPageSize==false)?""+variable.showPageSize:undefined '(pageSizeChanged)'=variable.pageSizeChanged?""+variable.pageSizeChanged:undefined '[enableMorePageSelect]'=variable.enableMorePageSelect?""+variable.enableMorePageSelect:undefined '[pageList]'=variable.pageList?""+variable.pageList:undefined '[lineNumberWidth]'=variable.lineNumberWidth?""+variable.lineNumberWidth:undefined '[headerWrap]'=variable.headerWrap?""+variable.headerWrap.value:undefined '[pagerContentTemplate]'=variable.pagerContentTemplateName?""+variable.pagerContentTemplateName:undefined '[emptyTemplate]'=variable.emptyTemplateName?""+variable.emptyTemplateName:undefined '[rowHeight]'=variable.rowHeight?""+variable.rowHeight:undefined '[enableEditCellStyle]'=variable.enableEditCellStyle?""+variable.enableEditCellStyle.value:undefined '(checkAll)'=variable.checkAll?""+variable.checkAll:undefined '(unCheckAll)'=variable.unCheckAll?""+variable.unCheckAll:undefined '[enableDragColumn]'=variable.enableDragColumn?""+variable.enableDragColumn.value:undefined '[showRowGroupPanel]'=variable.showRowGroupPanel?""+variable.showRowGroupPanel.value:undefined '[groupSummaryPosition]'=variable.groupSummaryPosition?"'"+variable.groupSummaryPosition+"'":undefined '[keepSelect]'=variable.keepSelect?""+variable.keepSelect.value:undefined '[clearSelectionsWhenDataIsEmpty]'=variable.clearSelectionsWhenDataIsEmpty?""+variable.clearSelectionsWhenDataIsEmpty.value:undefined '(filterChanged)'=variable.filterChanged?""+variable.filterChanged:undefined '[(checkValues)]' = variable.checkValues?""+variable.checkValues.value:undefined '[selectOnEditing]'=variable.selectOnEditing?""+variable.selectOnEditing.value:undefined '[footerPosition]'=variable.footerPosition?"'"+variable.footerPosition+"'":undefined '[showGotoInput]'=variable.showGotoInput?""+variable.showGotoInput.value:undefined
|
|
21
|
-
'[scrollBarShowMode]'=variable.scrollBarShowMode?"'"+variable.scrollBarShowMode+"'":undefined
|
|
22
|
-
'[showScrollArrow]'=variable.showScrollArrow?""+variable.showScrollArrow.value:undefined
|
|
23
|
-
'[enableContextMenu]'=variable.enableContextMenu?""+variable.enableContextMenu.value:undefined
|
|
24
|
-
'[contextMenus]'=variable.contextMenuName?""+variable.contextMenuName:undefined
|
|
25
|
-
'[expandGroupRows]'=""+variable.expandGroupRows
|
|
26
|
-
'[enableSimpleMode]'=variable.enableSimpleMode?""+variable.enableSimpleMode.value:undefined
|
|
27
|
-
'[useBlankWhenDataIsEmpty]'=variable.useBlankWhenDataIsEmpty?""+variable.useBlankWhenDataIsEmpty.value:undefined
|
|
28
|
-
'[emptyDataHeight]'=variable.emptyDataHeight?""+variable.emptyDataHeight:undefined
|
|
29
|
-
'[selectionMode]'=variable.selectionMode?"'"+variable.selectionMode+"'":undefined '[enableScheme]'=(variable.enableScheme||variable.enableScheme==false)?""+variable.enableScheme:undefined '[footerStyler]'=variable.footerStylerName?""+variable.footerStylerName:undefined
|
|
30
|
-
'[enableSetMultiHeaders]'=variable.enableSetMultiHeaders?""+variable.enableSetMultiHeaders.value:undefined '[showConfirmWhenSchemeChanged]'=variable.showConfirmWhenSchemeChanged?""+variable.showConfirmWhenSchemeChanged.value:undefined
|
|
31
|
-
'[custom-size]'=variable.customsize?""+variable.customsize.value:undefined '[sizeApiUri]'=variable.sizeApiUri?""+variable.sizeApiUri:undefined )&attributes(attrs)
|
|
32
|
-
//- if(variable.fields && variable.fields.length)
|
|
33
|
-
//- each field ,index in variable.fields
|
|
34
|
-
//- if(field.colTemplate)
|
|
35
|
-
//- | <ng-template #{'#'+field.colTemplateName} let-ctx>
|
|
36
|
-
//- | !{field.colTemplate}
|
|
37
|
-
//- | </ng-template>
|
|
1
|
+
-var attrs = {};
|
|
2
|
+
if(variable.elementId)
|
|
3
|
+
-attrs["#"+variable.elementId]="";
|
|
4
|
+
if(variable.hasDefaultFocus)
|
|
5
|
+
-attrs["farris-set-focus"]="";
|
|
6
|
+
if(variable.focusState)
|
|
7
|
+
-attrs["[focusState]"]=variable.focusState+"";
|
|
8
|
+
if(variable.enableFilterRow || variable.enableSmartFilter)
|
|
9
|
+
if(variable.enableFilterRow)
|
|
10
|
+
-attrs["[enableFilterRow]"]=variable.enableFilterRow+"";
|
|
11
|
+
if(variable.enableSmartFilter)
|
|
12
|
+
-attrs["[enableSmartFilter]"]=variable.enableSmartFilter+"";
|
|
13
|
+
if(variable.remoteFilter || variable.remoteFilter == false)
|
|
14
|
+
-attrs["[remoteFilter]"]=variable.remoteFilter+"";
|
|
15
|
+
if(variable.showFilterBar || variable.showFilterBar == false)
|
|
16
|
+
-attrs["[showFilterBar]"]=variable.showFilterBar+"";
|
|
17
|
+
doctype html
|
|
18
|
+
|
|
|
19
|
+
div( 'class'="f-utils-fill")
|
|
20
|
+
farris-datagrid(id=variable.replacedId farris-use-binding-data datagridRef "farris-grid-end-edit" class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) '[enableHighlightCell]'=variable.enableHighlightCell?""+variable.enableHighlightCell.value:undefined '[disabled]'!=variable.disable?variable.disable.toString():undefined '[fitColumns]'=variable.fitColumns+"" '[fields]'=variable.fieldsName?variable.fieldsName:undefined '[showLineNumber]'=(variable.showLineNumber||variable.showLineNumber==false)?variable.showLineNumber+"":undefined '[striped]'=(variable.striped || variable.striped==false)?variable.striped+"":undefined '[virtualized]'=(variable.virtualized||variable.virtualized==false)?variable.virtualized+"":undefined '[pagination]'=variable.pagination?variable.pagination.toString():undefined '[pageSize]'=variable.pageSize?variable.pageSize:undefined '[pageIndex]'=variable.pageIndex?variable.pageIndex:undefined '[total]'=variable.total?variable.total:undefined '[virtualizedAsyncLoad]'=variable.virtualizedAsyncLoad+"" '[width]'=variable.width '[height]'=variable.height '[maxHeight]'=variable.maxHeight '[multiSelect]'=variable.multiSelect?""+variable.multiSelect.value:undefined '[idField]'=variable.idField?"'"+variable.idField+"'":undefined '[editMode]'="'"+variable.editMode+"'" '(pageChanged)'=variable.pageChange?variable.pageChange:undefined '[fit]'=(variable.fit || variable.fit==false)?variable.fit+"":undefined '[showCheckbox]'=variable.showCheckbox?variable.showCheckbox.value+"":undefined '[groupRows]'=variable.groupable?variable.groupable+"":undefined '[groupFormatter]'=variable.groupFormatterName?variable.groupFormatterName+"":undefined '[groupStyler]'=variable.groupStylerName?variable.groupStylerName+"":undefined '[groupFooter]'=variable.groupFooter?variable.groupFooter+"":undefined '[groupField]'=variable.group?"'"+variable.group+"'":undefined '[remoteSort]'=variable.remoteSort?variable.remoteSort+"":undefined '[multiSort]'=variable.multiSort?variable.multiSort+"":undefined '[sortName]'=variable.sortName?"'"+variable.sortName+"'":undefined '[sortOrder]'=variable.sortOrder?"'"+variable.sortOrder+"'":undefined '[farris-datagrid-editable]'!= (variable.editable || variable.editable == false )?variable.editable+"":"viewModel.stateMachine && viewModel.stateMachine['editable']" '[disableGroupOnEditing]'=variable.disableGroupOnEditing?""+variable.disableGroupOnEditing.value:undefined '[lockPagination]'!=(variable.lockPagination || variable.lockPagination==false)?variable.lockPagination+"":"viewModel.stateMachine&&viewModel.stateMachine['editable']" '(rowClass)'=variable.rowClass?variable.rowClass:undefined '[showFooter]'=variable.showFooter?variable.showFooter.toString():undefined '[footerTemplate]'=variable.footerTemplateName?variable.footerTemplateName:undefined '[footerHeight]'=variable.footerHeight?variable.footerHeight:undefined '(scrollYLoad)'=variable.scrollYLoad?""+variable.scrollYLoad:undefined '(selectedRowChange)'=variable.onSelectionChange?variable.onSelectionChange:undefined '[rowStyler]'=variable.rowStylerName?variable.rowStylerName:undefined '[showSelectedList]'=variable.showSelectedList?""+variable.showSelectedList:undefined '[selectedItemFormatter]'=variable.selectedItemFormatterName?""+variable.selectedItemFormatterName:undefined '[showAllCheckbox]'=variable.showAllCheckbox?variable.showAllCheckbox.value+"":undefined '(checkedChange)'=variable.checkedChange?variable.checkedChange:undefined '[beforeSelect]'=variable.beforeSelect?variable.beforeSelect+"":undefined '[beforeUnselect]'=variable.beforeUnSelect?variable.beforeUnSelect+"":undefined '[beforeCheck]'=variable.beforeCheck?variable.beforeCheck+"":undefined '[beforeUncheck]'=variable.beforeUnCheck?variable.beforeUnCheck+"":undefined '[disableRow]'=variable.disableRowName?variable.disableRowName+"":undefined '[lineNumberTitle]'=variable.lineNumberTitleLang?""+variable.lineNumberTitleLang:undefined '(dblclickRow)'=variable.dblClickRow?""+variable.dblClickRow:undefined '[beforeEdit]'=variable.beforeEdit?""+variable.beforeEdit:undefined '[mergeCell]'=""+variable.mergeCell '[mergeFields]'=variable.mergeFields?variable.mergeFields:undefined '[showBorder]'=(variable.showBorder || variable.showBorder ==false)?""+variable.showBorder:undefined '[checkOnSelect]'=(variable.checkOnSelect || variable.checkOnSelect == false)?""+variable.checkOnSelect:undefined '[selectOnCheck]'=(variable.selectOnCheck || variable.selectOnCheck == false)?""+variable.selectOnCheck:undefined '[nowrap]'=(variable.nowrap || variable.nowrap ==false)?""+variable.nowrap:undefined '(columnSorted)'=variable.columnSorted?""+variable.columnSorted:undefined '[footerDataFrom]'=variable. footerDataFrom?"'"+variable. footerDataFrom+"'":undefined '*ngIf'!=variable.visible?""+variable.visible.value:undefined 'farris-remote-summary-command'=variable.footerDataCommand?variable.footerDataCommand:"" '[autoFitColumns]'=(variable.autoFitColumns|| variable.autoFitColumns==false)?""+variable.autoFitColumns:undefined '[showGroupColumn]'=(variable.showGroupColumn || variable.showGroupColumn == false)?""+variable.showGroupColumn:undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[useControlPanel]'=variable.useControlPanel?""+variable.useControlPanel:undefined '[autoHeight]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[AutoColumnWidthUseDblclick]'=(variable.AutoColumnWidthUseDblclick || variable.AutoColumnWidthUseDblclick==false)?""+variable.AutoColumnWidthUseDblclick:undefined '(checked)'=variable.checked?""+variable.checked:undefined '(unChecked)'=variable.unChecked?""+variable.unChecked:undefined '(rowClick)'=variable.rowClick?""+variable.rowClick:undefined '[showPageList]'=(variable.showPageSize || variable.showPageSize==false)?""+variable.showPageSize:undefined '(pageSizeChanged)'=variable.pageSizeChanged?""+variable.pageSizeChanged:undefined '[enableMorePageSelect]'=variable.enableMorePageSelect?""+variable.enableMorePageSelect:undefined '[pageList]'=variable.pageList?""+variable.pageList:undefined '[lineNumberWidth]'=variable.lineNumberWidth?""+variable.lineNumberWidth:undefined '[headerWrap]'=variable.headerWrap?""+variable.headerWrap.value:undefined '[pagerContentTemplate]'=variable.pagerContentTemplateName?""+variable.pagerContentTemplateName:undefined '[emptyTemplate]'=variable.emptyTemplateName?""+variable.emptyTemplateName:undefined '[rowHeight]'=variable.rowHeight?""+variable.rowHeight:undefined '[enableEditCellStyle]'=variable.enableEditCellStyle?""+variable.enableEditCellStyle.value:undefined '(checkAll)'=variable.checkAll?""+variable.checkAll:undefined '(unCheckAll)'=variable.unCheckAll?""+variable.unCheckAll:undefined '[enableDragColumn]'=variable.enableDragColumn?""+variable.enableDragColumn.value:undefined '[showRowGroupPanel]'=variable.showRowGroupPanel?""+variable.showRowGroupPanel.value:undefined '[groupSummaryPosition]'=variable.groupSummaryPosition?"'"+variable.groupSummaryPosition+"'":undefined '[keepSelect]'=variable.keepSelect?""+variable.keepSelect.value:undefined '[clearSelectionsWhenDataIsEmpty]'=variable.clearSelectionsWhenDataIsEmpty?""+variable.clearSelectionsWhenDataIsEmpty.value:undefined '(filterChanged)'=variable.filterChanged?""+variable.filterChanged:undefined '[(checkValues)]' = variable.checkValues?""+variable.checkValues.value:undefined '[selectOnEditing]'=variable.selectOnEditing?""+variable.selectOnEditing.value:undefined '[footerPosition]'=variable.footerPosition?"'"+variable.footerPosition+"'":undefined '[showGotoInput]'=variable.showGotoInput?""+variable.showGotoInput.value:undefined
|
|
21
|
+
'[scrollBarShowMode]'=variable.scrollBarShowMode?"'"+variable.scrollBarShowMode+"'":undefined
|
|
22
|
+
'[showScrollArrow]'=variable.showScrollArrow?""+variable.showScrollArrow.value:undefined
|
|
23
|
+
'[enableContextMenu]'=variable.enableContextMenu?""+variable.enableContextMenu.value:undefined
|
|
24
|
+
'[contextMenus]'=variable.contextMenuName?""+variable.contextMenuName:undefined
|
|
25
|
+
'[expandGroupRows]'=""+variable.expandGroupRows
|
|
26
|
+
'[enableSimpleMode]'=variable.enableSimpleMode?""+variable.enableSimpleMode.value:undefined
|
|
27
|
+
'[useBlankWhenDataIsEmpty]'=variable.useBlankWhenDataIsEmpty?""+variable.useBlankWhenDataIsEmpty.value:undefined
|
|
28
|
+
'[emptyDataHeight]'=variable.emptyDataHeight?""+variable.emptyDataHeight:undefined
|
|
29
|
+
'[selectionMode]'=variable.selectionMode?"'"+variable.selectionMode+"'":undefined '[enableScheme]'=(variable.enableScheme||variable.enableScheme==false)?""+variable.enableScheme:undefined '[footerStyler]'=variable.footerStylerName?""+variable.footerStylerName:undefined
|
|
30
|
+
'[enableSetMultiHeaders]'=variable.enableSetMultiHeaders?""+variable.enableSetMultiHeaders.value:undefined '[showConfirmWhenSchemeChanged]'=variable.showConfirmWhenSchemeChanged?""+variable.showConfirmWhenSchemeChanged.value:undefined
|
|
31
|
+
'[custom-size]'=variable.customsize?""+variable.customsize.value:undefined '[sizeApiUri]'=variable.sizeApiUri?""+variable.sizeApiUri:undefined )&attributes(attrs)
|
|
32
|
+
//- if(variable.fields && variable.fields.length)
|
|
33
|
+
//- each field ,index in variable.fields
|
|
34
|
+
//- if(field.colTemplate)
|
|
35
|
+
//- | <ng-template #{'#'+field.colTemplateName} let-ctx>
|
|
36
|
+
//- | !{field.colTemplate}
|
|
37
|
+
//- | </ng-template>
|
|
@@ -1,118 +1,118 @@
|
|
|
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
|
-
-attrs['#'+variable.replacedId] = "";
|
|
39
|
-
if(variable.maxValue)
|
|
40
|
-
-attrs["[maxDate]"]=variable.maxValue?((variable.maxValue.useQuote?"'":"")+variable.maxValue.value+(variable.maxValue.useQuote?"'":"")):undefined
|
|
41
|
-
if(variable.minValue)
|
|
42
|
-
-attrs["[minDate]"]=variable.minValue?((variable.minValue.useQuote?"'":"")+variable.minValue.value+(variable.minValue.useQuote?"'":"")):undefined
|
|
43
|
-
- var readonlyValue=variable.readonly && variable.readonly.value
|
|
44
|
-
if(variable.isTextArea)
|
|
45
|
-
if(variable.readonly && variable.readonly.isComposite)
|
|
46
|
-
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
47
|
-
else
|
|
48
|
-
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
49
|
-
if(variable.hasDefaultFocus)
|
|
50
|
-
-attrs["farris-set-focus"]="";
|
|
51
|
-
if(variable.focusState)
|
|
52
|
-
-attrs["[focusState]"]=variable.focusState+"";
|
|
53
|
-
farris-datepicker(id=variable.replacedId "input-end-edit" "farris-date-localization"=variable.localization?"":undefined
|
|
54
|
-
'[disabled]'!=variable.disable?variable.disable.toString():undefined
|
|
55
|
-
'[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"":undefined
|
|
56
|
-
'[editable]'=(variable.editable||variable.editable==false)?variable.editable+"":undefined
|
|
57
|
-
'[viewType]'=variable.viewType ? "'" + variable.viewType + "'":undefined
|
|
58
|
-
'[locale]'=variable.locale?"'"+variable.locale+"'":undefined '[dateRange]'!=(variable.dateRange||variable.dateRange==false)?variable.dateRange+"":undefined
|
|
59
|
-
'[showTime]'=(variable.showTime || variable.showTime==false)?variable.showTime+"":undefined
|
|
60
|
-
'[showType]'=(variable.showType || variable.showType==false)?""+variable.showType:undefined
|
|
61
|
-
'[dateFormat]'!=variable.dateFormat?"'"+variable.dateFormat+"'":undefined
|
|
62
|
-
'[disableDateRangesBegin]'!=variable.disableDateRangesBegin?variable.disableDateRangesBegin:undefined
|
|
63
|
-
'[disableDateRangesEnd]'!=variable.disableDateRangesEnd?variable.disableDateRangesEnd:undefined
|
|
64
|
-
'[disableDates]'!=variable.disableDates?variable.disableDates:undefined '[showWeekNumbers]'=(variable.showWeekNumbers || variable.showWeekNumbers==false)?variable.showWeekNumbers+"":undefined
|
|
65
|
-
'[dateRangeDatesDelimiter]'!=variable.dateRangeDatesDelimiter?"'"+variable.dateRangeDatesDelimiter+"'":undefined
|
|
66
|
-
'[shortcuts]'!=variable.shortcuts?variable.shortcuts:undefined '[returnType]'=variable.returnType?"'"+variable.returnType+"'":undefined
|
|
67
|
-
'[useDefault]'=(variable.useDefault || variable.useDefault==false)?variable.useDefault.toString():undefined
|
|
68
|
-
'[returnFormat]'=variable.returnFormat?"'"+variable.returnFormat+"'":undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
|
|
69
|
-
'[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
|
|
70
|
-
'datepickerRef' 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
|
|
71
|
-
'[hourStep]'=(variable.hourStep || variable.hourStep==0)?""+variable.hourStep:undefined
|
|
72
|
-
'[minuteStep]'=(variable.minuteStep || variable.minuteStep==0)?""+variable.minuteStep:undefined
|
|
73
|
-
'[secondStep]'=(variable.secondStep || variable.secondStep==0)?""+variable.secondStep:undefined
|
|
74
|
-
'[firstDayOfWeek]'=variable.firstDayOfWeek?"'"+variable.firstDayOfWeek+"'":undefined
|
|
75
|
-
'[multiSelect]'=(variable.multiSelect || variable.multiSelect==false)?""+variable.multiSelect:undefined
|
|
76
|
-
'[separator]'=variable.separator?"'"+variable.separator+"'":undefined '[maxSelected]'=(variable.maxSelected || variable.maxSelected==0)?""+variable.maxSelected:undefined
|
|
77
|
-
'[selectedOrderBy]'=variable.selectedOrderBy?"'"+variable.selectedOrderBy+"'":undefined
|
|
78
|
-
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
79
|
-
'[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
|
|
80
|
-
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
81
|
-
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
82
|
-
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
83
|
-
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
|
|
84
|
-
'[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
|
|
85
|
-
if (variable.needValid && variable.binding && variable.binding.path)
|
|
86
|
-
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
87
|
-
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
88
|
-
div(class="farris-feedback")
|
|
89
|
-
if(variable.isTextArea)
|
|
90
|
-
-var areaAttrs = {};
|
|
91
|
-
if(variable.readonly && variable.readonly.isComposite)
|
|
92
|
-
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
93
|
-
else
|
|
94
|
-
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
95
|
-
if (variable.binding && variable.binding.type == 'Variable')
|
|
96
|
-
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
97
|
-
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
98
|
-
else
|
|
99
|
-
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
100
|
-
farris-text('[type]'="'date'" '[localization]'=variable.localization?""+true:undefined '[localizationType]'=variable.localization?"'"+variable.localizationType+"'":undefined "farris-text-localization"=variable.localization?"":undefined
|
|
101
|
-
'[showTime]'=(variable.showTime || variable.showTime== false)?""+variable.showTime:undefined '[showType]'=(variable.showType || variable.showType==false)?""+variable.showType:undefined '[format]'=variable.dateFormat?"'"+variable.dateFormat+"'":undefined
|
|
102
|
-
'[dateRange]'!=(variable.dateRange||variable.dateRange==false)?variable.dateRange+"":undefined '[dateRangeDelimiter]'!=variable.dateRangeDatesDelimiter?"'"+variable.dateRangeDatesDelimiter+"'":undefined
|
|
103
|
-
'[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined
|
|
104
|
-
'[multiSelect]'=(variable.multiSelect || variable.multiSelect==false)?""+variable.multiSelect:undefined
|
|
105
|
-
'[separator]'=variable.separator?"'"+variable.separator+"'":undefined
|
|
106
|
-
'[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
|
|
107
|
-
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
108
|
-
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
109
|
-
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
110
|
-
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
111
|
-
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
|
|
112
|
-
if(variable.titleTipsTemplate)
|
|
113
|
-
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
114
|
-
i(class="f-icon f-icon-description-tips")
|
|
115
|
-
-var tipsAttrs= {};
|
|
116
|
-
-tipsAttrs['#'+variable.titleTipsTemplateName] = "";
|
|
117
|
-
ng-template()&attributes(tipsAttrs)
|
|
118
|
-
| !{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
|
+
-attrs['#'+variable.replacedId] = "";
|
|
39
|
+
if(variable.maxValue)
|
|
40
|
+
-attrs["[maxDate]"]=variable.maxValue?((variable.maxValue.useQuote?"'":"")+variable.maxValue.value+(variable.maxValue.useQuote?"'":"")):undefined
|
|
41
|
+
if(variable.minValue)
|
|
42
|
+
-attrs["[minDate]"]=variable.minValue?((variable.minValue.useQuote?"'":"")+variable.minValue.value+(variable.minValue.useQuote?"'":"")):undefined
|
|
43
|
+
- var readonlyValue=variable.readonly && variable.readonly.value
|
|
44
|
+
if(variable.isTextArea)
|
|
45
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
46
|
+
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
47
|
+
else
|
|
48
|
+
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
49
|
+
if(variable.hasDefaultFocus)
|
|
50
|
+
-attrs["farris-set-focus"]="";
|
|
51
|
+
if(variable.focusState)
|
|
52
|
+
-attrs["[focusState]"]=variable.focusState+"";
|
|
53
|
+
farris-datepicker(id=variable.replacedId "input-end-edit" "farris-date-localization"=variable.localization?"":undefined
|
|
54
|
+
'[disabled]'!=variable.disable?variable.disable.toString():undefined
|
|
55
|
+
'[readonly]'!=variable.readonly?variable.readonlyPipeSuffix?variable.readonly.value+variable.readonlyPipeSuffix+"":variable.readonly.value+"":undefined
|
|
56
|
+
'[editable]'=(variable.editable||variable.editable==false)?variable.editable+"":undefined
|
|
57
|
+
'[viewType]'=variable.viewType ? "'" + variable.viewType + "'":undefined
|
|
58
|
+
'[locale]'=variable.locale?"'"+variable.locale+"'":undefined '[dateRange]'!=(variable.dateRange||variable.dateRange==false)?variable.dateRange+"":undefined
|
|
59
|
+
'[showTime]'=(variable.showTime || variable.showTime==false)?variable.showTime+"":undefined
|
|
60
|
+
'[showType]'=(variable.showType || variable.showType==false)?""+variable.showType:undefined
|
|
61
|
+
'[dateFormat]'!=variable.dateFormat?"'"+variable.dateFormat+"'":undefined
|
|
62
|
+
'[disableDateRangesBegin]'!=variable.disableDateRangesBegin?variable.disableDateRangesBegin:undefined
|
|
63
|
+
'[disableDateRangesEnd]'!=variable.disableDateRangesEnd?variable.disableDateRangesEnd:undefined
|
|
64
|
+
'[disableDates]'!=variable.disableDates?variable.disableDates:undefined '[showWeekNumbers]'=(variable.showWeekNumbers || variable.showWeekNumbers==false)?variable.showWeekNumbers+"":undefined
|
|
65
|
+
'[dateRangeDatesDelimiter]'!=variable.dateRangeDatesDelimiter?"'"+variable.dateRangeDatesDelimiter+"'":undefined
|
|
66
|
+
'[shortcuts]'!=variable.shortcuts?variable.shortcuts:undefined '[returnType]'=variable.returnType?"'"+variable.returnType+"'":undefined
|
|
67
|
+
'[useDefault]'=(variable.useDefault || variable.useDefault==false)?variable.useDefault.toString():undefined
|
|
68
|
+
'[returnFormat]'=variable.returnFormat?"'"+variable.returnFormat+"'":undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
|
|
69
|
+
'[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
|
|
70
|
+
'datepickerRef' 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
|
|
71
|
+
'[hourStep]'=(variable.hourStep || variable.hourStep==0)?""+variable.hourStep:undefined
|
|
72
|
+
'[minuteStep]'=(variable.minuteStep || variable.minuteStep==0)?""+variable.minuteStep:undefined
|
|
73
|
+
'[secondStep]'=(variable.secondStep || variable.secondStep==0)?""+variable.secondStep:undefined
|
|
74
|
+
'[firstDayOfWeek]'=variable.firstDayOfWeek?"'"+variable.firstDayOfWeek+"'":undefined
|
|
75
|
+
'[multiSelect]'=(variable.multiSelect || variable.multiSelect==false)?""+variable.multiSelect:undefined
|
|
76
|
+
'[separator]'=variable.separator?"'"+variable.separator+"'":undefined '[maxSelected]'=(variable.maxSelected || variable.maxSelected==0)?""+variable.maxSelected:undefined
|
|
77
|
+
'[selectedOrderBy]'=variable.selectedOrderBy?"'"+variable.selectedOrderBy+"'":undefined
|
|
78
|
+
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
79
|
+
'[inputAppendScene]'=variable.inputAppendScene?"'"+variable.inputAppendScene+"'":undefined
|
|
80
|
+
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
81
|
+
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
82
|
+
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
83
|
+
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined
|
|
84
|
+
'[inputAppendControlType]'=variable.enableAppend?variable.originalType?"'"+variable.originalType+"'":undefined:undefined)&attributes(attrs)
|
|
85
|
+
if (variable.needValid && variable.binding && variable.binding.path)
|
|
86
|
+
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
87
|
+
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
88
|
+
div(class="farris-feedback")
|
|
89
|
+
if(variable.isTextArea)
|
|
90
|
+
-var areaAttrs = {};
|
|
91
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
92
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
93
|
+
else
|
|
94
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
95
|
+
if (variable.binding && variable.binding.type == 'Variable')
|
|
96
|
+
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
97
|
+
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
98
|
+
else
|
|
99
|
+
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
100
|
+
farris-text('[type]'="'date'" '[localization]'=variable.localization?""+true:undefined '[localizationType]'=variable.localization?"'"+variable.localizationType+"'":undefined "farris-text-localization"=variable.localization?"":undefined
|
|
101
|
+
'[showTime]'=(variable.showTime || variable.showTime== false)?""+variable.showTime:undefined '[showType]'=(variable.showType || variable.showType==false)?""+variable.showType:undefined '[format]'=variable.dateFormat?"'"+variable.dateFormat+"'":undefined
|
|
102
|
+
'[dateRange]'!=(variable.dateRange||variable.dateRange==false)?variable.dateRange+"":undefined '[dateRangeDelimiter]'!=variable.dateRangeDatesDelimiter?"'"+variable.dateRangeDatesDelimiter+"'":undefined
|
|
103
|
+
'[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined
|
|
104
|
+
'[multiSelect]'=(variable.multiSelect || variable.multiSelect==false)?""+variable.multiSelect:undefined
|
|
105
|
+
'[separator]'=variable.separator?"'"+variable.separator+"'":undefined
|
|
106
|
+
'[inputAppendControlType]'=variable.enableAppend?"'StaticText'":undefined
|
|
107
|
+
'[input-append]'=variable.enableAppend?""+variable.enableAppend.value:undefined
|
|
108
|
+
'[inputAppendText]'=variable.inputAppendText?"'"+variable.inputAppendText+"'":undefined
|
|
109
|
+
'[inputAppendType]'=variable.inputAppendType?"'"+variable.inputAppendType+"'":undefined
|
|
110
|
+
'[inputAppendDisabled]'=variable.inputAppendDisabled?""+variable.inputAppendDisabled.value:undefined
|
|
111
|
+
'(inputAppendClickEvent)'=variable.inputAppendClickEvent?""+variable.inputAppendClickEvent:undefined)&attributes(areaAttrs)
|
|
112
|
+
if(variable.titleTipsTemplate)
|
|
113
|
+
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
114
|
+
i(class="f-icon f-icon-description-tips")
|
|
115
|
+
-var tipsAttrs= {};
|
|
116
|
+
-tipsAttrs['#'+variable.titleTipsTemplateName] = "";
|
|
117
|
+
ng-template()&attributes(tipsAttrs)
|
|
118
|
+
| !{variable.titleTipsTemplate}
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
-var attrs = {};
|
|
2
|
-
-attrs["*ngIf"]=variable.visible ?variable.visible.value+'':undefined;
|
|
3
|
-
if(variable.hasDefaultFocus)
|
|
4
|
-
-attrs["farris-set-focus"]="";
|
|
5
|
-
if(variable.focusState)
|
|
6
|
-
-attrs["[focusState]"]=variable.focusState+"";
|
|
7
|
-
farris-dynamic-control-group(id=variable.replacedId class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style)
|
|
8
|
-
'[contents]'!=variable.controls?variable.controls.value:undefined '[uri]'=variable.uri?variable.uri:undefined '[formData]'=variable.formData?variable.formData.value:undefined
|
|
9
|
-
'[form]'=variable.form?variable.form.value:undefined
|
|
10
|
-
'[isControlInline]'=(variable.isControlInline||variable.isControlInline==false)?""+variable.isControlInline:undefined
|
|
11
|
-
'[isEmbedded]'=variable.isEmbedded?""+variable.isEmbedded:undefined
|
|
12
|
-
'[extraClassNames]'=variable.extraClassNames?"'"+variable.extraClassNames+"'":undefined
|
|
13
|
-
'[isGrouped]'=(variable.isGrouped || variable.isGrouped == false)?""+variable.isGrouped:undefined
|
|
14
|
-
'[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined)&attributes(attrs)
|
|
1
|
+
-var attrs = {};
|
|
2
|
+
-attrs["*ngIf"]=variable.visible ?variable.visible.value+'':undefined;
|
|
3
|
+
if(variable.hasDefaultFocus)
|
|
4
|
+
-attrs["farris-set-focus"]="";
|
|
5
|
+
if(variable.focusState)
|
|
6
|
+
-attrs["[focusState]"]=variable.focusState+"";
|
|
7
|
+
farris-dynamic-control-group(id=variable.replacedId class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style)
|
|
8
|
+
'[contents]'!=variable.controls?variable.controls.value:undefined '[uri]'=variable.uri?variable.uri:undefined '[formData]'=variable.formData?variable.formData.value:undefined
|
|
9
|
+
'[form]'=variable.form?variable.form.value:undefined
|
|
10
|
+
'[isControlInline]'=(variable.isControlInline||variable.isControlInline==false)?""+variable.isControlInline:undefined
|
|
11
|
+
'[isEmbedded]'=variable.isEmbedded?""+variable.isEmbedded:undefined
|
|
12
|
+
'[extraClassNames]'=variable.extraClassNames?"'"+variable.extraClassNames+"'":undefined
|
|
13
|
+
'[isGrouped]'=(variable.isGrouped || variable.isGrouped == false)?""+variable.isGrouped:undefined
|
|
14
|
+
'[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined)&attributes(attrs)
|
|
@@ -1,79 +1,79 @@
|
|
|
1
|
-
-var holdPlaceOuterAttrs = {};
|
|
2
|
-
-var holdPlaceInnerAttrs = {};
|
|
3
|
-
-var holdPlaceEmptyAttrs = {};
|
|
4
|
-
if(variable.holdPlace)
|
|
5
|
-
-holdPlaceInnerAttrs["*ngIf"]=variable.visible ?variable.visible.value+'':undefined;
|
|
6
|
-
-holdPlaceEmptyAttrs['*ngIf']=variable.visible ?'!'+variable.visible.value+'':undefined;
|
|
7
|
-
else
|
|
8
|
-
-holdPlaceOuterAttrs["*ngIf"]=variable.visible ?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.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.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
|
-
web-external-integration(
|
|
49
|
-
id=variable.replacedId
|
|
50
|
-
extIntegration-dataMapping
|
|
51
|
-
'[serviceCode]'=variable.serviceCode?"'"+variable.serviceCode+"'":undefined
|
|
52
|
-
'[mapFields]'!=variable.mapFields?""+variable.mapFields:undefined
|
|
53
|
-
'[externalParams]'=variable.externalParams?""+variable.externalParams:undefined
|
|
54
|
-
'tab-index'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
|
|
55
|
-
'[extTableSchemas]'!=variable.extTableSchemas?""+variable.extTableSchemas:undefined
|
|
56
|
-
)&attributes(attrs)
|
|
57
|
-
if (variable.needValid && variable.binding && variable.binding.path)
|
|
58
|
-
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
59
|
-
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
60
|
-
div(class="farris-feedback")
|
|
61
|
-
if(variable.isTextArea)
|
|
62
|
-
-var areaAttrs = {};
|
|
63
|
-
if(variable.readonly && variable.readonly.isComposite)
|
|
64
|
-
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
65
|
-
else
|
|
66
|
-
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
67
|
-
if (variable.binding && variable.binding.type == 'Variable')
|
|
68
|
-
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
69
|
-
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
70
|
-
else
|
|
71
|
-
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
72
|
-
farris-text('[type]'="'string'" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined )&attributes(areaAttrs)
|
|
73
|
-
if(variable.titleTipsTemplate)
|
|
74
|
-
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
75
|
-
i(class="f-icon f-icon-description-tips")
|
|
76
|
-
-var tipsAttrs= {};
|
|
77
|
-
-tipsAttrs['#'+variable.titleTipsTemplateName] = "";
|
|
78
|
-
ng-template()&attributes(tipsAttrs)
|
|
79
|
-
| !{variable.titleTipsTemplate}
|
|
1
|
+
-var holdPlaceOuterAttrs = {};
|
|
2
|
+
-var holdPlaceInnerAttrs = {};
|
|
3
|
+
-var holdPlaceEmptyAttrs = {};
|
|
4
|
+
if(variable.holdPlace)
|
|
5
|
+
-holdPlaceInnerAttrs["*ngIf"]=variable.visible ?variable.visible.value+'':undefined;
|
|
6
|
+
-holdPlaceEmptyAttrs['*ngIf']=variable.visible ?'!'+variable.visible.value+'':undefined;
|
|
7
|
+
else
|
|
8
|
+
-holdPlaceOuterAttrs["*ngIf"]=variable.visible ?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.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.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
|
+
web-external-integration(
|
|
49
|
+
id=variable.replacedId
|
|
50
|
+
extIntegration-dataMapping
|
|
51
|
+
'[serviceCode]'=variable.serviceCode?"'"+variable.serviceCode+"'":undefined
|
|
52
|
+
'[mapFields]'!=variable.mapFields?""+variable.mapFields:undefined
|
|
53
|
+
'[externalParams]'=variable.externalParams?""+variable.externalParams:undefined
|
|
54
|
+
'tab-index'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
|
|
55
|
+
'[extTableSchemas]'!=variable.extTableSchemas?""+variable.extTableSchemas:undefined
|
|
56
|
+
)&attributes(attrs)
|
|
57
|
+
if (variable.needValid && variable.binding && variable.binding.path)
|
|
58
|
+
-var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
|
|
59
|
+
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
60
|
+
div(class="farris-feedback")
|
|
61
|
+
if(variable.isTextArea)
|
|
62
|
+
-var areaAttrs = {};
|
|
63
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
64
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
65
|
+
else
|
|
66
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
67
|
+
if (variable.binding && variable.binding.type == 'Variable')
|
|
68
|
+
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
69
|
+
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
70
|
+
else
|
|
71
|
+
-areaAttrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
72
|
+
farris-text('[type]'="'string'" '[autoSize]'=variable.autoHeight?""+variable.autoHeight.value:undefined '[maxHeight]'=variable.maxHeight?""+variable.maxHeight:undefined )&attributes(areaAttrs)
|
|
73
|
+
if(variable.titleTipsTemplate)
|
|
74
|
+
span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
|
|
75
|
+
i(class="f-icon f-icon-description-tips")
|
|
76
|
+
-var tipsAttrs= {};
|
|
77
|
+
-tipsAttrs['#'+variable.titleTipsTemplateName] = "";
|
|
78
|
+
ng-template()&attributes(tipsAttrs)
|
|
79
|
+
| !{variable.titleTipsTemplate}
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
f-file-preview(id=variable.replacedId class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) fFilePreviewAdaptUnifile farrisFilePreviewBinding farrisFileIdKey=variable.fieldIdKey?variable.fieldIdKey.value+"":undefined farrisFileNameKey=variable.fileNameKey?variable.fileNameKey.value+"":undefined '[readonly]'!=variable.readonly?""+variable.readonly.value:undefined '(fileRemoveEvent)'=variable.removeFile?""+variable.removeFile:undefined '[type]'=variable.showType?"'"+variable.showType+"'":undefined '[itemCls]'=variable.itemCls?"'"+variable.itemCls+"'":undefined '[extendServerConfig]'!=variable.serializedExtendServerConfig?variable.serializedExtendServerConfig+"":undefined '[enableMulti]'=variable.enableBatchDownload?variable.enableBatchDownload.value+"":undefined '[canRename]'=variable.canRename?""+variable.canRename.value:undefined '[defaultRename]'=variable.defaultRename?"'"+variable.defaultRename+"'":undefined )
|
|
2
|
-
if(variable.previewAreaTemplate)
|
|
3
|
-
ng-template(filePreviewListTypeTemplate 'let-data' 'let-readonly'="readonly" 'let-settings'="settings")
|
|
4
|
-
|!{variable.previewAreaTemplate}
|
|
5
|
-
if(variable.filePreviewToolbarTemplate)
|
|
6
|
-
ng-template(filePreviewToolbarTemplate 'let-data' 'let-readonly' 'let-enableMulti' let-settings="settings")
|
|
1
|
+
f-file-preview(id=variable.replacedId class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) fFilePreviewAdaptUnifile farrisFilePreviewBinding farrisFileIdKey=variable.fieldIdKey?variable.fieldIdKey.value+"":undefined farrisFileNameKey=variable.fileNameKey?variable.fileNameKey.value+"":undefined '[readonly]'!=variable.readonly?""+variable.readonly.value:undefined '(fileRemoveEvent)'=variable.removeFile?""+variable.removeFile:undefined '[type]'=variable.showType?"'"+variable.showType+"'":undefined '[itemCls]'=variable.itemCls?"'"+variable.itemCls+"'":undefined '[extendServerConfig]'!=variable.serializedExtendServerConfig?variable.serializedExtendServerConfig+"":undefined '[enableMulti]'=variable.enableBatchDownload?variable.enableBatchDownload.value+"":undefined '[canRename]'=variable.canRename?""+variable.canRename.value:undefined '[defaultRename]'=variable.defaultRename?"'"+variable.defaultRename+"'":undefined )
|
|
2
|
+
if(variable.previewAreaTemplate)
|
|
3
|
+
ng-template(filePreviewListTypeTemplate 'let-data' 'let-readonly'="readonly" 'let-settings'="settings")
|
|
4
|
+
|!{variable.previewAreaTemplate}
|
|
5
|
+
if(variable.filePreviewToolbarTemplate)
|
|
6
|
+
ng-template(filePreviewToolbarTemplate 'let-data' 'let-readonly' 'let-enableMulti' let-settings="settings")
|
|
7
7
|
|!{variable.filePreviewToolbarTemplate}
|
|
@@ -7,7 +7,7 @@ if (variable.title)
|
|
|
7
7
|
else
|
|
8
8
|
label(class="col-form-label" title="{{"+titleValue+"}}" for=variable.replacedId '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined )
|
|
9
9
|
span(class="farris-label-text") {{#{titleValue}}}
|
|
10
|
-
f-file-upload-and-preview(id=variable.replacedId class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) fFilePreviewAdaptUnifile farrisFilePreviewBinding
|
|
10
|
+
f-file-upload-and-preview(id=variable.replacedId class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) fFilePreviewAdaptUnifile farrisFilePreviewBinding
|
|
11
11
|
"*ngIf" = variable.visible?""+variable.visible.value:undefined
|
|
12
12
|
'[previewReadonly]'!=variable.previewReadonly?""+variable.previewReadonly.value:undefined
|
|
13
13
|
'(fileRemoveEvent)'=variable.fileRemoveEvent?""+variable.fileRemoveEvent:undefined
|