@farris/jit-engine 1.4.126 → 1.4.128

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.
Files changed (80) hide show
  1. package/README.md +5 -1
  2. package/lib/.DS_Store +0 -0
  3. package/lib/domstructure/.DS_Store +0 -0
  4. package/lib/domstructure/devkit/devkit.js +222 -220
  5. package/lib/domstructure/devkit/devkit.js.map +1 -1
  6. package/lib/domstructure/devkit/viewmodel/component/component.js +221 -221
  7. package/lib/domstructure/devkit/viewmodel/component/component.js.map +1 -1
  8. package/lib/domstructure/devkit/viewmodel/viewmodel.js +139 -138
  9. package/lib/domstructure/devkit/viewmodel/viewmodel.js.map +1 -1
  10. package/lib/domstructure/ui/.DS_Store +0 -0
  11. package/lib/domstructure/ui/common/basecomponent.js +163 -163
  12. package/lib/domstructure/ui/common/basecomponent.js.map +1 -1
  13. package/lib/domstructure/ui/data/collection/hierarchy/tree_grid.js +198 -198
  14. package/lib/domstructure/ui/data/collection/hierarchy/tree_grid.js.map +1 -1
  15. package/lib/domstructure/ui/farris-fileupload-preview/farris-file-upload-preview.js +3 -3
  16. package/lib/domstructure/ui/farris-fileupload-preview/farris-file-upload-preview.js.map +1 -1
  17. package/lib/domstructure/ui/list-filter/farris-list-filter.js +88 -78
  18. package/lib/domstructure/ui/list-filter/farris-list-filter.js.map +1 -1
  19. package/lib/template/.DS_Store +0 -0
  20. package/lib/template/ui/.DS_Store +0 -0
  21. package/lib/template/ui/kendo/adminorganization-selector.pug +108 -101
  22. package/lib/template/ui/kendo/checkbox.pug +133 -123
  23. package/lib/template/ui/kendo/checkboxgroup.pug +70 -63
  24. package/lib/template/ui/kendo/city-selector.pug +76 -69
  25. package/lib/template/ui/kendo/combobox.pug +77 -70
  26. package/lib/template/ui/kendo/datepicker.pug +77 -70
  27. package/lib/template/ui/kendo/employee-selector.pug +103 -96
  28. package/lib/template/ui/kendo/farris-checkbox-group.pug +103 -96
  29. package/lib/template/ui/kendo/farris-combo-list.pug +118 -111
  30. package/lib/template/ui/kendo/farris-combo-lookup.pug +105 -98
  31. package/lib/template/ui/kendo/farris-datepicker.pug +125 -118
  32. package/lib/template/ui/kendo/farris-ext-intergration.pug +86 -79
  33. package/lib/template/ui/kendo/farris-list-filter.pug +17 -12
  34. package/lib/template/ui/kendo/farris-number-range.pug +105 -98
  35. package/lib/template/ui/kendo/farris-number-spinner.pug +110 -103
  36. package/lib/template/ui/kendo/farris-switch.pug +95 -88
  37. package/lib/template/ui/kendo/farris-tags.pug +77 -70
  38. package/lib/template/ui/kendo/farris-time-picker.pug +109 -102
  39. package/lib/template/ui/kendo/farris-time-spinner.pug +78 -71
  40. package/lib/template/ui/kendo/image-upload.pug +89 -82
  41. package/lib/template/ui/kendo/input-group.pug +103 -96
  42. package/lib/template/ui/kendo/language-textbox.pug +99 -92
  43. package/lib/template/ui/kendo/light-lookup.pug +192 -185
  44. package/lib/template/ui/kendo/lookup-employee.pug +120 -113
  45. package/lib/template/ui/kendo/lookup.pug +120 -113
  46. package/lib/template/ui/kendo/multitextbox.pug +108 -101
  47. package/lib/template/ui/kendo/numericbox.pug +77 -70
  48. package/lib/template/ui/kendo/oa-relation.pug +24 -20
  49. package/lib/template/ui/kendo/organization-selector.pug +128 -121
  50. package/lib/template/ui/kendo/radiobox.pug +67 -60
  51. package/lib/template/ui/kendo/radioboxgroup.pug +101 -94
  52. package/lib/template/ui/kendo/richtextbox.pug +60 -53
  53. package/lib/template/ui/kendo/select.pug +53 -46
  54. package/lib/template/ui/kendo/switch.pug +74 -67
  55. package/lib/template/ui/kendo/textbox.pug +105 -98
  56. package/lib/template/ui/kendo/timebox.pug +54 -47
  57. package/lib/template/ui/kendo/tinymcerichtextbox.pug +66 -59
  58. package/lib/template/ui/kendo/treegrid.pug +43 -40
  59. package/lib/template/ui/mobileapprove/statictext-for-mobileapprove.pug +6 -4
  60. package/lib/utility/.DS_Store +0 -0
  61. package/lib/utility/devkit/component-parameter-collector/farris-list-filter-parameter-collector.js +183 -159
  62. package/lib/utility/devkit/component-parameter-collector/farris-list-filter-parameter-collector.js.map +1 -1
  63. package/lib/utility/devkit/form-file-executor.js +449 -444
  64. package/lib/utility/devkit/form-file-executor.js.map +1 -1
  65. package/lib/utility/internal-entity/component-parameter/component-listfilter-parameter.js +59 -59
  66. package/lib/utility/internal-entity/component-parameter/component-listfilter-parameter.js.map +1 -1
  67. package/lib/utility/mobile-approve/entity/static-text-for-mobileapprove.js +8 -2
  68. package/lib/utility/mobile-approve/entity/static-text-for-mobileapprove.js.map +1 -1
  69. package/lib/utility/template-generator/.DS_Store +0 -0
  70. package/lib/utility/template-generator/devkit/.DS_Store +0 -0
  71. package/lib/utility/template-generator/devkit/component-generator/component-import-generator.js +194 -189
  72. package/lib/utility/template-generator/devkit/component-generator/component-import-generator.js.map +1 -1
  73. package/lib/utility/template-generator/devkit/component-generator/component-listfilter-parameter-generator.js +259 -226
  74. package/lib/utility/template-generator/devkit/component-generator/component-listfilter-parameter-generator.js.map +1 -1
  75. package/lib/utility/template-generator/devkit/component-generator/component-provider-generator.js +185 -181
  76. package/lib/utility/template-generator/devkit/component-generator/component-provider-generator.js.map +1 -1
  77. package/lib/utility/template-generator/devkit/component-template-generator.js +537 -534
  78. package/lib/utility/template-generator/devkit/component-template-generator.js.map +1 -1
  79. package/package.json +1 -1
  80. package/lib/mobileapp/vue/static/.npmignore +0 -13
@@ -1,60 +1,67 @@
1
-
2
- -var holdPlaceOuterAttrs = {};
3
- -var holdPlaceInnerAttrs = {};
4
- -var holdPlaceEmptyAttrs = {};
5
- if(variable.holdPlace)
6
- -holdPlaceInnerAttrs["*ngIf"]=variable.visible ?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
7
- -holdPlaceEmptyAttrs['*ngIf']=variable.visible ?variable.visiblePipeSuffix?'!'+variable.visible.value+variable.visiblePipeSuffix+'':'!'+variable.visible.value+'':undefined;
8
- else
9
- -holdPlaceOuterAttrs["*ngIf"]=variable.visible ?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':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 col-form-label-multi 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.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
21
- span(class="farris-label-text") {{#{titleValue}}}
22
- else
23
- label(class="col-form-label col-form-label-multi" 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.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+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
- if(variable.hasDefaultFocus)
36
- -attrs["farris-set-focus"]="";
37
- if(variable.focusState)
38
- -attrs["[focusState]"]=variable.focusState+"";
39
- farris-editor(id=variable.replacedId 'farris-editor-bind'
40
- '[readOnly]'!=variable.readonly?variable.readonlyPipeSuffix?""+variable.readonly.value+variable.readonlyPipeSuffix:variable.readonly.value+"":undefined
41
- '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
42
- '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
43
- 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
44
- '[maxHeight]'=(variable.maxHeight||variable.maxHeight==0)?""+variable.maxHeight:undefined
45
- '[height]'=(variable.size && variable.size.height) '[showBorder]'=(variable.isTextArea ||variable.isTextArea==false)?""+variable.isTextArea:undefined
46
- '[fontFamilyList]'!=variable.fontFamilyList?variable.fontFamilyList:undefined
47
- '[defaultFontFamily]'!=variable.defaultFontFamily?"'"+variable.defaultFontFamily+"'":undefined
48
- '[customToolbar]'=variable.customToolbar?""+variable.customToolbar.value:undefined '[toolbar]'=variable.toolbar?variable.toolbar:undefined
49
- '[limitImageSize]'=variable.limitImageSize?""+variable.limitImageSize.value:undefined '[maxImgSize]'=variable.maxImgSize?""+variable.maxImgSize:undefined )&attributes(attrs)
50
- if (variable.needValid && variable.binding && variable.binding.path)
51
- -var path = `viewModel.form.getCardControlErrors('${variable.binding.path}')`
52
- validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
53
- div(class="farris-feedback")
54
- if(variable.titleTipsTemplate)
55
- span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
56
- i(class="f-icon f-icon-description-tips")
57
- -var tipsAttrs= {};
58
- -tipsAttrs['#'+variable.titleTipsTemplateName] = "";
59
- ng-template()&attributes(tipsAttrs)
1
+ -var isTitleTipsAfterLabel = variable.titleTipsTemplate && variable.titleTipsPosition == "afterLabel";
2
+
3
+ -var holdPlaceOuterAttrs = {};
4
+ -var holdPlaceInnerAttrs = {};
5
+ -var holdPlaceEmptyAttrs = {};
6
+ if(variable.holdPlace)
7
+ -holdPlaceInnerAttrs["*ngIf"]=variable.visible ?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
8
+ -holdPlaceEmptyAttrs['*ngIf']=variable.visible ?variable.visiblePipeSuffix?'!'+variable.visible.value+variable.visiblePipeSuffix+'':'!'+variable.visible.value+'':undefined;
9
+ else
10
+ -holdPlaceOuterAttrs["*ngIf"]=variable.visible ?variable.visiblePipeSuffix?variable.visible.value+variable.visiblePipeSuffix+'':variable.visible.value+'':undefined;
11
+ div(class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style) )&attributes(holdPlaceOuterAttrs)
12
+ if(variable.holdPlace)
13
+ div(class="f-empty-input-placeholder")&attributes(holdPlaceEmptyAttrs)
14
+ div(class="farris-group-wrap")&attributes(holdPlaceInnerAttrs)
15
+ div(class="form-group farris-form-group" '[ngClass]'="{'form-group--has-tips':"+(variable.enableTitleTips?variable.enableTitleTips:false)+"}")
16
+ if (variable.title)
17
+ -var titleValue=variable.isStaticTitle?("'" + variable.resourceId + "'|lang:lang:'"+variable.defaultI18nValue+"'"):variable.dynamicTitleValue;
18
+ if(variable.linkedLabelEnabled)
19
+ label(class="col-form-label col-form-label-multi f-pretend-link f-cursor-pointer" title="{{"+titleValue+"}}" for=variable.replacedId '(click)'=variable.linkedLabelClick?variable.linkedLabelClick:undefined '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined)
20
+ if (variable.require)
21
+ span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
22
+ span(class="farris-label-text") {{#{titleValue}}}
23
+ if(isTitleTipsAfterLabel)
24
+ span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
25
+ i(class="f-icon f-icon-description-tips")
26
+ else
27
+ label(class="col-form-label col-form-label-multi" title="{{"+titleValue+"}}" for=variable.replacedId '[style.width]'=variable.titleWidth?"'"+variable.titleWidth+"px"+"'":undefined)
28
+ if (variable.require)
29
+ span(class="farris-label-info text-danger" "*ngIf"=variable.requirePipeSuffix?""+variable.require.value+variable.requirePipeSuffix:""+variable.require.value) *
30
+ span(class="farris-label-text") {{#{titleValue}}}
31
+ if(isTitleTipsAfterLabel)
32
+ span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
33
+ i(class="f-icon f-icon-description-tips")
34
+ div(class="farris-input-wrap")
35
+ -var attrs = {};
36
+ if (variable.binding && variable.binding.type == 'Variable')
37
+ -attrs['[(ngModel)]'] = variable.binding.value;
38
+ -attrs['name'] = variable.replacedId;
39
+ -attrs['[ngModelOptions]'] = "{standalone:true}";
40
+ else
41
+ -attrs['formControlName'] = (variable.binding && variable.binding.path);
42
+ if(variable.hasDefaultFocus)
43
+ -attrs["farris-set-focus"]="";
44
+ if(variable.focusState)
45
+ -attrs["[focusState]"]=variable.focusState+"";
46
+ farris-editor(id=variable.replacedId 'farris-editor-bind'
47
+ '[readOnly]'!=variable.readonly?variable.readonlyPipeSuffix?""+variable.readonly.value+variable.readonlyPipeSuffix:variable.readonly.value+"":undefined
48
+ '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined
49
+ '[requiredOn]'=(variable.isCustomRequire && variable.require && !variable.require.isExpression)?""+variable.require.value:undefined
50
+ 'farris-dynamic-required'=(variable.isCustomRequire && variable.binding && variable.binding.path)?""+(variable.binding && variable.binding.path):undefined
51
+ '[maxHeight]'=(variable.maxHeight||variable.maxHeight==0)?""+variable.maxHeight:undefined
52
+ '[height]'=(variable.size && variable.size.height) '[showBorder]'=(variable.isTextArea ||variable.isTextArea==false)?""+variable.isTextArea:undefined
53
+ '[fontFamilyList]'!=variable.fontFamilyList?variable.fontFamilyList:undefined
54
+ '[defaultFontFamily]'!=variable.defaultFontFamily?"'"+variable.defaultFontFamily+"'":undefined
55
+ '[customToolbar]'=variable.customToolbar?""+variable.customToolbar.value:undefined '[toolbar]'=variable.toolbar?variable.toolbar:undefined
56
+ '[limitImageSize]'=variable.limitImageSize?""+variable.limitImageSize.value:undefined '[maxImgSize]'=variable.maxImgSize?""+variable.maxImgSize:undefined )&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.titleTipsTemplate && !isTitleTipsAfterLabel)
62
+ span(class="farris-label-tips" farrisTooltip [content]=variable.titleTipsTemplateName?""+variable.titleTipsTemplateName:undefined)
63
+ i(class="f-icon f-icon-description-tips")
64
+ -var tipsAttrs= {};
65
+ -tipsAttrs['#'+variable.titleTipsTemplateName] = "";
66
+ ng-template()&attributes(tipsAttrs)
60
67
  | !{variable.titleTipsTemplate}
@@ -1,40 +1,43 @@
1
- farris-treetable(id=variable.replacedId class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style)
2
- '[enableFindText]'=(variable.enableFindText || variable.enableFindText==false)?variable.enableFindText+"":undefined 'farrisTreeTableFormat' '*ngIf'!=variable.visible?variable.visible.value+'':undefined
3
- '[columns]'!=variable.treeGridColumnsLang?""+variable.treeGridColumnsLang:undefined '[idField]'="'id'" '[fixedHeader]'="" + variable.fixedHeader + ""
4
- '[fit]'="" + variable.fit + "" '[fitColumns]'=(variable.fitColumns || variable.fitColumns == false)?""+variable.fitColumns:undefined 'farrisTreeTableBinding' 'treetableRef'
5
- farrisHierarchyInfoKey=variable.udtField?variable.udtField:undefined '(nodeSelected)'=variable.onSelectionChange?variable.onSelectionChange:undefined
6
- '[disabled]'!=(variable.disable || variable.disable == false)?""+variable.disable:undefined '[expandLevel]'=(variable.expandLevel || variable.expandLevel == 0)?""+variable.expandLevel:undefined
7
- '(expand)'=variable.expandNode?variable.expandNode:undefined '(rowClass)'=variable.rowClass?variable.rowClass+"":undefined '(cellClass)'=variable.cellClass?variable.cellClass+"":undefined
8
- '[virtualized]'=(variable.virtualized || variable.virtualized==false)?variable.virtualized+"":undefined '[remoteSort]'=(variable.remoteSort ||variable.remoteSort == false)?variable.remoteSort+"":undefined
9
- '[showBorder]'=(variable.showBorder || variable.showBorder==false)?variable.showBorder+"":undefined '[showHeader]'=(variable.showHeader || variable.showHeader==false)?variable.showHeader+"":undefined
10
- '[striped]'=(variable.striped || variable.striped==false)?variable.striped+"":undefined
11
- '[multiSelect]'=variable.multiselect?""+variable.multiselect.value:undefined
12
- '[showCheckbox]'=variable.showCheckbox?""+variable.showCheckbox.value:undefined
13
- '[showCheckAll]'=variable.showAllCheckbox?""+variable.showAllCheckbox.value:undefined
14
- '[cascadeCheck]'=(variable.cascadeCheck || variable.cascadeCheck == false)?""+variable.cascadeCheck:undefined
15
- '[cascadeDown]'=(variable.cascadeDown || variable.cascadeDown ==false)?""+variable.cascadeDown:undefined
16
- '[cascadeUp]'=(variable.cascadeUp || variable.cascadeUp == false)?""+variable.cascadeUp:undefined
17
- '[keepSelect]'=(variable.keepSelect || variable.keepSelect ==false)?""+variable.keepSelect:undefined
18
- '[onlySelectSelf]'=(variable.onlySelectSelf || variable.onlySelectSelf ==false)?""+variable.onlySelectSelf:undefined
19
- '[checkOnSelect]'=variable.checkOnSelect?""+variable.checkOnSelect:undefined
20
- '[selectOnCheck]'=variable.selectOnCheck?""+variable.selectOnCheck:undefined
21
- '[rowStyler]'=variable.rowStylerName?""+variable.rowStylerName:undefined '[nowrap]'=(variable.nowrap || variable.nowrap==false)?""+variable.nowrap:undefined
22
- '[showLines]'=(variable.showLines || variable.showLines==false)?""+variable.showLines:undefined '[showLinesOnHover]'=(variable.showLinesOnHover || variable.showLinesOnHover==false)?""+variable.showLinesOnHover:undefined
23
- '[showIcon]'=(variable.showIcon || variable.showIcon==false)?""+variable.showIcon:undefined
24
- '[useIconFromData]'=(variable.useIconFromData || variable.useIconFromData==false)?""+variable.useIconFromData:undefined '[leafIcon]'=variable.leafIcon?"'"+variable.leafIcon+"'":undefined
25
- '[expandIcon]'=variable.expandIcon?"'"+variable.expandIcon+"'":undefined '[collapseIcon]'=variable.collapseIcon?"'"+variable.collapseIcon+"'":undefined
26
- '[iconField]'!=variable.iconField?""+variable.iconField:undefined '[beforeClickNode]'=variable.beforeClickNode?""+variable.beforeClickNode:undefined
27
- '[beforeCheckAll]'=variable.beforeCheckAll?""+variable.beforeCheckAll:undefined '[beforeUnCheckAll]'=variable.beforeUnCheckAll?""+variable.beforeUnCheckAll:undefined
28
- '[pagination]'=variable.pagination?""+variable.pagination:undefined '[pageSize]'=variable.pageSize?""+variable.pageSize:undefined
29
- '[showPageList]'=variable.showPageSize?""+variable.showPageSize:undefined
30
- '[pageList]'=variable.pageList?"["+variable.pageList+"]":undefined
31
- '(pageChanged)'=variable.pageChange?""+variable.pageChange:undefined
32
- '(pageSizeChanged)'=variable.pageSizeChanged?""+variable.pageSizeChanged:undefined
33
- '(nodeUnSelect)'=variable.nodeUnSelected?""+variable.nodeUnSelected:undefined
34
- '(nodeChecked)'=variable.nodeChecked?""+variable.nodeChecked:undefined '(nodeUnChecked)'=variable.nodeUnChecked?""+variable.nodeUnChecked:undefined
35
- '[paginationForChildren]'=variable.paginationForChildren?""+variable.paginationForChildren.value:undefined
36
- '[showGotoInput]'=(variable.showGotoInput || variable.showGotoInput==false)?""+variable.showGotoInput:undefined
37
- '(childsPageChanged)'=variable.childsPageChanged?""+variable.childsPageChanged:undefined
38
- '(checkAll)'=variable.checkAll?""+variable.checkAll:undefined '(unCheckAll)'=variable.unCheckAll?""+variable.unCheckAll:undefined '[headerWrap]'=variable.headerWrap?""+variable.headerWrap.value:undefined '[autoWidth]'=variable.autoWidth?""+variable.autoWidth.value:false
39
- '[useGroupHeader]'=(variable.enableHeaderGroup || variable.enableHeaderGroup==false)?""+variable.enableHeaderGroup:undefined
40
- '[groupColumns]'!=variable.treeGridGroupColumnsLang?""+variable.treeGridGroupColumnsLang:undefined '[showTotalForChildren]'=(variable.showTotalForChildren || variable.showTotalForChildren==false)?""+variable.showTotalForChildren:undefined )
1
+ farris-treetable(id=variable.replacedId class=(variable.appearance && variable.appearance.class) style=(variable.appearance && variable.appearance.style)
2
+ '[enableFindText]'=(variable.enableFindText || variable.enableFindText==false)?variable.enableFindText+"":undefined 'farrisTreeTableFormat' '*ngIf'!=variable.visible?variable.visible.value+'':undefined
3
+ '[columns]'!=variable.treeGridColumnsLang?""+variable.treeGridColumnsLang:undefined '[idField]'="'id'" '[fixedHeader]'="" + variable.fixedHeader + ""
4
+ '[fit]'="" + variable.fit + "" '[fitColumns]'=(variable.fitColumns || variable.fitColumns == false)?""+variable.fitColumns:undefined 'farrisTreeTableBinding' 'treetableRef'
5
+ farrisHierarchyInfoKey=variable.udtField?variable.udtField:undefined '(nodeSelected)'=variable.onSelectionChange?variable.onSelectionChange:undefined
6
+ '[disabled]'!=(variable.disable || variable.disable == false)?""+variable.disable:undefined '[expandLevel]'=(variable.expandLevel || variable.expandLevel == 0)?""+variable.expandLevel:undefined
7
+ '(expand)'=variable.expandNode?variable.expandNode:undefined '(rowClass)'=variable.rowClass?variable.rowClass+"":undefined '(cellClass)'=variable.cellClass?variable.cellClass+"":undefined
8
+ '[virtualized]'=(variable.virtualized || variable.virtualized==false)?variable.virtualized+"":undefined '[remoteSort]'=(variable.remoteSort ||variable.remoteSort == false)?variable.remoteSort+"":undefined
9
+ '[showBorder]'=(variable.showBorder || variable.showBorder==false)?variable.showBorder+"":undefined '[showHeader]'=(variable.showHeader || variable.showHeader==false)?variable.showHeader+"":undefined
10
+ '[striped]'=(variable.striped || variable.striped==false)?variable.striped+"":undefined
11
+ '[multiSelect]'=variable.multiselect?""+variable.multiselect.value:undefined
12
+ '[showCheckbox]'=variable.showCheckbox?""+variable.showCheckbox.value:undefined
13
+ '[showCheckAll]'=variable.showAllCheckbox?""+variable.showAllCheckbox.value:undefined
14
+ '[cascadeCheck]'=(variable.cascadeCheck || variable.cascadeCheck == false)?""+variable.cascadeCheck:undefined
15
+ '[cascadeDown]'=(variable.cascadeDown || variable.cascadeDown ==false)?""+variable.cascadeDown:undefined
16
+ '[cascadeUp]'=(variable.cascadeUp || variable.cascadeUp == false)?""+variable.cascadeUp:undefined
17
+ '[keepSelect]'=(variable.keepSelect || variable.keepSelect ==false)?""+variable.keepSelect:undefined
18
+ '[onlySelectSelf]'=(variable.onlySelectSelf || variable.onlySelectSelf ==false)?""+variable.onlySelectSelf:undefined
19
+ '[checkOnSelect]'=variable.checkOnSelect?""+variable.checkOnSelect:undefined
20
+ '[selectOnCheck]'=variable.selectOnCheck?""+variable.selectOnCheck:undefined
21
+ '[rowStyler]'=variable.rowStylerName?""+variable.rowStylerName:undefined '[nowrap]'=(variable.nowrap || variable.nowrap==false)?""+variable.nowrap:undefined
22
+ '[showLines]'=(variable.showLines || variable.showLines==false)?""+variable.showLines:undefined '[showLinesOnHover]'=(variable.showLinesOnHover || variable.showLinesOnHover==false)?""+variable.showLinesOnHover:undefined
23
+ '[showIcon]'=(variable.showIcon || variable.showIcon==false)?""+variable.showIcon:undefined
24
+ '[useIconFromData]'=(variable.useIconFromData || variable.useIconFromData==false)?""+variable.useIconFromData:undefined '[leafIcon]'=variable.leafIcon?"'"+variable.leafIcon+"'":undefined
25
+ '[expandIcon]'=variable.expandIcon?"'"+variable.expandIcon+"'":undefined '[collapseIcon]'=variable.collapseIcon?"'"+variable.collapseIcon+"'":undefined
26
+ '[iconField]'!=variable.iconField?""+variable.iconField:undefined '[beforeClickNode]'=variable.beforeClickNode?""+variable.beforeClickNode:undefined
27
+ '[beforeCheckAll]'=variable.beforeCheckAll?""+variable.beforeCheckAll:undefined '[beforeUnCheckAll]'=variable.beforeUnCheckAll?""+variable.beforeUnCheckAll:undefined
28
+ '[pagination]'=variable.pagination?""+variable.pagination:undefined '[pageSize]'=variable.pageSize?""+variable.pageSize:undefined
29
+ '[showPageList]'=variable.showPageSize?""+variable.showPageSize:undefined
30
+ '[pageList]'=variable.pageList?"["+variable.pageList+"]":undefined
31
+ '(pageChanged)'=variable.pageChange?""+variable.pageChange:undefined
32
+ '(pageSizeChanged)'=variable.pageSizeChanged?""+variable.pageSizeChanged:undefined
33
+ '(nodeUnSelect)'=variable.nodeUnSelected?""+variable.nodeUnSelected:undefined
34
+ '(nodeChecked)'=variable.nodeChecked?""+variable.nodeChecked:undefined '(nodeUnChecked)'=variable.nodeUnChecked?""+variable.nodeUnChecked:undefined
35
+ '[paginationForChildren]'=variable.paginationForChildren?""+variable.paginationForChildren.value:undefined
36
+ '[showGotoInput]'=(variable.showGotoInput || variable.showGotoInput==false)?""+variable.showGotoInput:undefined
37
+ '(childsPageChanged)'=variable.childsPageChanged?""+variable.childsPageChanged:undefined
38
+ '(checkAll)'=variable.checkAll?""+variable.checkAll:undefined '(unCheckAll)'=variable.unCheckAll?""+variable.unCheckAll:undefined '[headerWrap]'=variable.headerWrap?""+variable.headerWrap.value:undefined '[autoWidth]'=variable.autoWidth?""+variable.autoWidth.value:false
39
+ '[useGroupHeader]'=(variable.enableHeaderGroup || variable.enableHeaderGroup==false)?""+variable.enableHeaderGroup:undefined
40
+ '[groupColumns]'!=variable.treeGridGroupColumnsLang?""+variable.treeGridGroupColumnsLang:undefined '[showTotalForChildren]'=(variable.showTotalForChildren || variable.showTotalForChildren==false)?""+variable.showTotalForChildren:undefined
41
+ '[useDefaultContextMenu]'=(variable.useDefaultContextMenu || variable.useDefaultContextMenu==false)?""+variable.useDefaultContextMenu+"":undefined
42
+ '[enableContextMenu]'=(variable.enableContextMenu || variable.enableContextMenu==false)?""+variable.enableContextMenu+"":undefined
43
+ )
@@ -9,25 +9,27 @@
9
9
  -var extractInnerText = str => str.replace(/^\s*\{\{=\s*([\s\S]+?)\s*\}\}\s*$/, '$1')
10
10
  -var translatedEmptyValueText = !emptyValueText ? '' : (dotRegex.test(emptyValueText) ? extractInnerText(emptyValueText) : `translate("${escapedEmptyValueText}") || "${escapedEmptyValueText}"`)
11
11
  -var dataText = translatedEmptyValueText ? `${variable.bindingModelName} || ${translatedEmptyValueText}` : variable.bindingModelName
12
+ -var dotExpr = (variable.isRichText === false) ? `{{!${dataText}}}` : `{{=${dataText}}}`
12
13
  -var emptyValueClass = `{{=${variable.bindingModelName} ? '' : ' fm-apply-list-item-empty'}}`
13
14
  -var collapseClass = `{{=${variable.bindingModelName} ? ' fma-text-collapse' : ''}}`
15
+ -var richTextClass = variable.isRichText === true ? ' fm-apply-list-item-rich-text' : ''
14
16
  -var dataTypeClass = variable.dataTypeClass
15
17
  -var randomKey = Math.floor(Math.random() * 1000000)
16
18
  -var bindingKey = (variable.binding && variable.binding.path ? variable.binding.path : variable.title) + randomKey
17
19
 
18
- div(class!=itemClass+verticalClass+alignClass+emptyValueClass+dataTypeClass style != variable.hideFunc ? variable.hideFunc : undefined)
20
+ div(class!=itemClass+verticalClass+alignClass+emptyValueClass+richTextClass+dataTypeClass style != variable.hideFunc ? variable.hideFunc : undefined)
19
21
  div(class="fm-apply-list-item-label")
20
22
  |!{localTitle}
21
23
  if(variable.highlight)
22
24
  div(class="fm-apply-list-item-text fm-text-warning fm-weight")
23
- |{{=!{dataText}}}
25
+ |!{dotExpr}
24
26
  else
25
27
  if(variable.isCollapse)
26
28
  div(class="fm-apply-list-item-text-collapse")
27
29
  input(id=`{{='${bindingKey}'+(itemIndex || '')}}` class="fm-apply-list-item-collapse-status" type="checkbox")
28
30
  div(class!="fm-apply-list-item-text fma-text-hidden"+collapseClass)
29
31
  label(class="fma-text-hidden-toggle" for=`{{='${bindingKey}'+(itemIndex || '')}}`)
30
- span(class="fm-apply-list-item-text-inner") {{=!{dataText}}}
32
+ span(class="fm-apply-list-item-text-inner") !{dotExpr}
31
33
  else
32
34
  div(class="fm-apply-list-item-text")
33
- span(class="fm-apply-list-item-text-inner") {{=!{dataText}}}
35
+ span(class="fm-apply-list-item-text-inner") !{dotExpr}
Binary file