@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.
- package/README.md +5 -1
- package/lib/.DS_Store +0 -0
- package/lib/domstructure/.DS_Store +0 -0
- package/lib/domstructure/devkit/devkit.js +222 -220
- package/lib/domstructure/devkit/devkit.js.map +1 -1
- package/lib/domstructure/devkit/viewmodel/component/component.js +221 -221
- package/lib/domstructure/devkit/viewmodel/component/component.js.map +1 -1
- package/lib/domstructure/devkit/viewmodel/viewmodel.js +139 -138
- package/lib/domstructure/devkit/viewmodel/viewmodel.js.map +1 -1
- package/lib/domstructure/ui/.DS_Store +0 -0
- package/lib/domstructure/ui/common/basecomponent.js +163 -163
- package/lib/domstructure/ui/common/basecomponent.js.map +1 -1
- package/lib/domstructure/ui/data/collection/hierarchy/tree_grid.js +198 -198
- package/lib/domstructure/ui/data/collection/hierarchy/tree_grid.js.map +1 -1
- package/lib/domstructure/ui/farris-fileupload-preview/farris-file-upload-preview.js +3 -3
- package/lib/domstructure/ui/farris-fileupload-preview/farris-file-upload-preview.js.map +1 -1
- package/lib/domstructure/ui/list-filter/farris-list-filter.js +88 -78
- package/lib/domstructure/ui/list-filter/farris-list-filter.js.map +1 -1
- package/lib/template/.DS_Store +0 -0
- package/lib/template/ui/.DS_Store +0 -0
- package/lib/template/ui/kendo/adminorganization-selector.pug +108 -101
- package/lib/template/ui/kendo/checkbox.pug +133 -123
- package/lib/template/ui/kendo/checkboxgroup.pug +70 -63
- package/lib/template/ui/kendo/city-selector.pug +76 -69
- package/lib/template/ui/kendo/combobox.pug +77 -70
- package/lib/template/ui/kendo/datepicker.pug +77 -70
- package/lib/template/ui/kendo/employee-selector.pug +103 -96
- package/lib/template/ui/kendo/farris-checkbox-group.pug +103 -96
- package/lib/template/ui/kendo/farris-combo-list.pug +118 -111
- package/lib/template/ui/kendo/farris-combo-lookup.pug +105 -98
- package/lib/template/ui/kendo/farris-datepicker.pug +125 -118
- package/lib/template/ui/kendo/farris-ext-intergration.pug +86 -79
- package/lib/template/ui/kendo/farris-list-filter.pug +17 -12
- package/lib/template/ui/kendo/farris-number-range.pug +105 -98
- package/lib/template/ui/kendo/farris-number-spinner.pug +110 -103
- package/lib/template/ui/kendo/farris-switch.pug +95 -88
- package/lib/template/ui/kendo/farris-tags.pug +77 -70
- package/lib/template/ui/kendo/farris-time-picker.pug +109 -102
- package/lib/template/ui/kendo/farris-time-spinner.pug +78 -71
- package/lib/template/ui/kendo/image-upload.pug +89 -82
- package/lib/template/ui/kendo/input-group.pug +103 -96
- package/lib/template/ui/kendo/language-textbox.pug +99 -92
- package/lib/template/ui/kendo/light-lookup.pug +192 -185
- package/lib/template/ui/kendo/lookup-employee.pug +120 -113
- package/lib/template/ui/kendo/lookup.pug +120 -113
- package/lib/template/ui/kendo/multitextbox.pug +108 -101
- package/lib/template/ui/kendo/numericbox.pug +77 -70
- package/lib/template/ui/kendo/oa-relation.pug +24 -20
- package/lib/template/ui/kendo/organization-selector.pug +128 -121
- package/lib/template/ui/kendo/radiobox.pug +67 -60
- package/lib/template/ui/kendo/radioboxgroup.pug +101 -94
- package/lib/template/ui/kendo/richtextbox.pug +60 -53
- package/lib/template/ui/kendo/select.pug +53 -46
- package/lib/template/ui/kendo/switch.pug +74 -67
- package/lib/template/ui/kendo/textbox.pug +105 -98
- package/lib/template/ui/kendo/timebox.pug +54 -47
- package/lib/template/ui/kendo/tinymcerichtextbox.pug +66 -59
- package/lib/template/ui/kendo/treegrid.pug +43 -40
- package/lib/template/ui/mobileapprove/statictext-for-mobileapprove.pug +6 -4
- package/lib/utility/.DS_Store +0 -0
- package/lib/utility/devkit/component-parameter-collector/farris-list-filter-parameter-collector.js +183 -159
- package/lib/utility/devkit/component-parameter-collector/farris-list-filter-parameter-collector.js.map +1 -1
- package/lib/utility/devkit/form-file-executor.js +449 -444
- package/lib/utility/devkit/form-file-executor.js.map +1 -1
- package/lib/utility/internal-entity/component-parameter/component-listfilter-parameter.js +59 -59
- package/lib/utility/internal-entity/component-parameter/component-listfilter-parameter.js.map +1 -1
- package/lib/utility/mobile-approve/entity/static-text-for-mobileapprove.js +8 -2
- package/lib/utility/mobile-approve/entity/static-text-for-mobileapprove.js.map +1 -1
- package/lib/utility/template-generator/.DS_Store +0 -0
- package/lib/utility/template-generator/devkit/.DS_Store +0 -0
- package/lib/utility/template-generator/devkit/component-generator/component-import-generator.js +194 -189
- package/lib/utility/template-generator/devkit/component-generator/component-import-generator.js.map +1 -1
- package/lib/utility/template-generator/devkit/component-generator/component-listfilter-parameter-generator.js +259 -226
- package/lib/utility/template-generator/devkit/component-generator/component-listfilter-parameter-generator.js.map +1 -1
- package/lib/utility/template-generator/devkit/component-generator/component-provider-generator.js +185 -181
- package/lib/utility/template-generator/devkit/component-generator/component-provider-generator.js.map +1 -1
- package/lib/utility/template-generator/devkit/component-template-generator.js +537 -534
- package/lib/utility/template-generator/devkit/component-template-generator.js.map +1 -1
- package/package.json +1 -1
- package/lib/mobileapp/vue/static/.npmignore +0 -13
|
@@ -1,60 +1,67 @@
|
|
|
1
|
-
|
|
2
|
-
|
|
3
|
-
-var
|
|
4
|
-
-var
|
|
5
|
-
|
|
6
|
-
|
|
7
|
-
-
|
|
8
|
-
|
|
9
|
-
|
|
10
|
-
|
|
11
|
-
|
|
12
|
-
|
|
13
|
-
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
'
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
'[
|
|
48
|
-
'[
|
|
49
|
-
'[
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
56
|
-
|
|
57
|
-
|
|
58
|
-
|
|
59
|
-
|
|
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
|
-
|
|
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") {
|
|
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") {
|
|
35
|
+
span(class="fm-apply-list-item-text-inner") !{dotExpr}
|
|
Binary file
|