@farris/jit-engine 1.3.84 → 1.3.90
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 +10 -0
- package/lib/domstructure/devkit/viewmodel/component/component.js +1 -1
- package/lib/domstructure/devkit/viewmodel/component/component.js.map +1 -1
- package/lib/domstructure/devkit/viewmodel/form/form.js +4 -4
- package/lib/domstructure/devkit/viewmodel/form/form.js.map +1 -1
- package/lib/domstructure/ui/commands/button.js +1 -1
- package/lib/domstructure/ui/commands/button.js.map +1 -1
- package/lib/domstructure/ui/common/base-title-component.js +1 -1
- package/lib/domstructure/ui/common/base-title-component.js.map +1 -1
- package/lib/domstructure/ui/common/basecomponent.js +13 -8
- package/lib/domstructure/ui/common/basecomponent.js.map +1 -1
- package/lib/domstructure/ui/common/binding.js +49 -2
- package/lib/domstructure/ui/common/binding.js.map +1 -1
- package/lib/domstructure/ui/container/qdp_condition_dialog.js +6 -2
- package/lib/domstructure/ui/container/qdp_condition_dialog.js.map +1 -1
- package/lib/domstructure/ui/container/qdp_condition_dialog_tab.js +1 -1
- package/lib/domstructure/ui/container/qdp_condition_dialog_tab.js.map +1 -1
- package/lib/domstructure/ui/data/collection/farris-datagrid/farris-datagrid.js +17 -11
- package/lib/domstructure/ui/data/collection/farris-datagrid/farris-datagrid.js.map +1 -1
- package/lib/domstructure/ui/data/collection/hierarchy/tree_grid.js +1 -1
- package/lib/domstructure/ui/data/collection/hierarchy/tree_grid.js.map +1 -1
- package/lib/domstructure/ui/data/data.js +1 -1
- package/lib/domstructure/ui/data/data.js.map +1 -1
- package/lib/domstructure/ui/data/fields/form/combo-list.js +3 -3
- package/lib/domstructure/ui/data/fields/form/combo-list.js.map +1 -1
- package/lib/domstructure/ui/data/fields/form/datepicker.js +1 -1
- package/lib/domstructure/ui/data/fields/form/datepicker.js.map +1 -1
- package/lib/domstructure/ui/data/fields/form/editable/inputs/reference/lookup_edit.js +9 -6
- package/lib/domstructure/ui/data/fields/form/editable/inputs/reference/lookup_edit.js.map +1 -1
- package/lib/domstructure/ui/data/fields/form/editable/inputs/text/multi_text_box.js +1 -1
- package/lib/domstructure/ui/data/fields/form/editable/inputs/text/multi_text_box.js.map +1 -1
- package/lib/domstructure/ui/data/fields/form/editable/inputs/text/text_box.js +1 -1
- package/lib/domstructure/ui/data/fields/form/editable/inputs/text/text_box.js.map +1 -1
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/ext-intergration.js +1 -1
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/ext-intergration.js.map +1 -1
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/farris-combo-lookup.js +6 -3
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/farris-combo-lookup.js.map +1 -1
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/farris-number-range.js +2 -2
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/farris-number-range.js.map +1 -1
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/farris-number-spinner.js +3 -3
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/farris-number-spinner.js.map +1 -1
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/language-textbox.js +1 -1
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/language-textbox.js.map +1 -1
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/lookup_employee.js +2 -2
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/lookup_employee.js.map +1 -1
- package/lib/domstructure/ui/data/fields/form/editable/switch/checkbox-group.js +1 -1
- package/lib/domstructure/ui/data/fields/form/editable/switch/checkbox-group.js.map +1 -1
- package/lib/domstructure/ui/data/fields/form/editable/switch/radio_group.js +1 -1
- package/lib/domstructure/ui/data/fields/form/editable/switch/radio_group.js.map +1 -1
- package/lib/domstructure/ui/data/scrollcollapse/scroll-collapsible-area.js +1 -1
- package/lib/domstructure/ui/data/scrollcollapse/scroll-collapsible-area.js.map +1 -1
- package/lib/domstructure/ui/farris-avatar/farris-avatar.js +1 -1
- package/lib/domstructure/ui/farris-avatar/farris-avatar.js.map +1 -1
- package/lib/domstructure/ui/farris-file-preview/farris-file-preview.js +4 -4
- package/lib/domstructure/ui/farris-file-preview/farris-file-preview.js.map +1 -1
- package/lib/domstructure/ui/farris-file-upload/farris-file-upload.js +2 -2
- package/lib/domstructure/ui/farris-file-upload/farris-file-upload.js.map +1 -1
- package/lib/domstructure/ui/farris-fileupload-preview/farris-file-upload-preview.js +9 -9
- package/lib/domstructure/ui/farris-fileupload-preview/farris-file-upload-preview.js.map +1 -1
- package/lib/domstructure/ui/farris-scrollspy/farris-scrollspy.js +4 -4
- package/lib/domstructure/ui/farris-scrollspy/farris-scrollspy.js.map +1 -1
- package/lib/domstructure/ui/farrisprogressstep/farris-progress-step.js +1 -1
- package/lib/domstructure/ui/farrisprogressstep/farris-progress-step.js.map +1 -1
- package/lib/domstructure/ui/light-listfilter/farris-light-listfilter.js +3 -3
- package/lib/domstructure/ui/light-listfilter/farris-light-listfilter.js.map +1 -1
- package/lib/domstructure/ui/list-filter/farris-list-filter.js +2 -2
- package/lib/domstructure/ui/list-filter/farris-list-filter.js.map +1 -1
- package/lib/domstructure/ui/listview/list-view-contenttemplate-field.js +3 -2
- package/lib/domstructure/ui/listview/list-view-contenttemplate-field.js.map +1 -1
- package/lib/domstructure/ui/listview/list-view.js +1 -1
- package/lib/domstructure/ui/listview/list-view.js.map +1 -1
- package/lib/domstructure/ui/multi-select/multi-select.js +1 -1
- package/lib/domstructure/ui/multi-select/multi-select.js.map +1 -1
- package/lib/domstructure/ui/nav-tab/nav-tab.js +3 -3
- package/lib/domstructure/ui/nav-tab/nav-tab.js.map +1 -1
- package/lib/domstructure/ui/p-treetable/p-treetable.js +2 -2
- package/lib/domstructure/ui/p-treetable/p-treetable.js.map +1 -1
- package/lib/domstructure/ui/queryScheme/query-scheme.js +4 -4
- package/lib/domstructure/ui/queryScheme/query-scheme.js.map +1 -1
- package/lib/domstructure/ui/section/section.js +1 -1
- package/lib/domstructure/ui/section/section.js.map +1 -1
- package/lib/template/ui/kendo/checkbox.pug +12 -3
- package/lib/template/ui/kendo/combobox.pug +9 -3
- package/lib/template/ui/kendo/datepicker.pug +8 -2
- package/lib/template/ui/kendo/farris-checkbox-group.pug +8 -2
- package/lib/template/ui/kendo/farris-combo-list.pug +8 -2
- package/lib/template/ui/kendo/farris-datagrid.pug +1 -1
- package/lib/template/ui/kendo/farris-datepicker.pug +9 -2
- package/lib/template/ui/kendo/farris-ext-intergration.pug +8 -2
- package/lib/template/ui/kendo/farris-number-range.pug +8 -2
- package/lib/template/ui/kendo/farris-number-spinner.pug +8 -2
- package/lib/template/ui/kendo/farris-switch.pug +8 -2
- package/lib/template/ui/kendo/farris-tags.pug +8 -2
- package/lib/template/ui/kendo/farris-time-picker.pug +8 -2
- package/lib/template/ui/kendo/input-group.pug +8 -2
- package/lib/template/ui/kendo/language-textbox.pug +8 -2
- package/lib/template/ui/kendo/lookup-employee.pug +8 -2
- package/lib/template/ui/kendo/lookup.pug +10 -2
- package/lib/template/ui/kendo/multitextbox.pug +8 -2
- package/lib/template/ui/kendo/numericbox.pug +8 -2
- package/lib/template/ui/kendo/primeng-edittree/farris-combo-lookup.pug +1 -1
- package/lib/template/ui/kendo/primeng-edittree/lookup.pug +2 -0
- package/lib/template/ui/kendo/qdp-condition-dialog.pug +1 -1
- package/lib/template/ui/kendo/radioboxgroup.pug +8 -2
- package/lib/template/ui/kendo/section.pug +1 -1
- package/lib/template/ui/kendo/switch.pug +8 -2
- package/lib/template/ui/kendo/textbox.pug +8 -2
- package/lib/utility/component-title-executor.js +1 -1
- package/lib/utility/component-title-executor.js.map +1 -1
- package/lib/utility/devkit/component-condition-dialog-parameter.js +29 -0
- package/lib/utility/devkit/component-condition-dialog-parameter.js.map +1 -0
- package/lib/utility/devkit/component-creator.js +2 -0
- package/lib/utility/devkit/component-creator.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/component-condition-dialog-collector.js +35 -0
- package/lib/utility/devkit/component-parameter-collector/component-condition-dialog-collector.js.map +1 -0
- package/lib/utility/devkit/component-parameter-collector/component-events-collector.js +15 -0
- package/lib/utility/devkit/component-parameter-collector/component-events-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/component-file-upload-parameter-collector.js +1 -1
- package/lib/utility/devkit/component-parameter-collector/component-file-upload-parameter-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/component-header-parameter-collector.js +5 -5
- package/lib/utility/devkit/component-parameter-collector/component-header-parameter-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/component-listview-parameter-collector.js +2 -2
- package/lib/utility/devkit/component-parameter-collector/component-listview-parameter-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/component-parameter-collector-manager.js +8 -0
- 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 +2 -0
- package/lib/utility/devkit/component-parameter-collector/component-parameter-collector-type.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/component-readonly-parameter-collector.js +38 -0
- package/lib/utility/devkit/component-parameter-collector/component-readonly-parameter-collector.js.map +1 -0
- package/lib/utility/devkit/component-parameter-collector/component-viewchange-parameter-collector.js +4 -4
- package/lib/utility/devkit/component-parameter-collector/component-viewchange-parameter-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/farris-checkbox-group-collector.js +1 -1
- package/lib/utility/devkit/component-parameter-collector/farris-checkbox-group-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/farris-datagrid-collector.js +9 -2
- package/lib/utility/devkit/component-parameter-collector/farris-datagrid-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/farris-input-group-collector.js +4 -4
- package/lib/utility/devkit/component-parameter-collector/farris-input-group-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/farris-nav-tab-parameter-collector.js +2 -2
- package/lib/utility/devkit/component-parameter-collector/farris-nav-tab-parameter-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/farris-radiogroup-collector.js +1 -1
- package/lib/utility/devkit/component-parameter-collector/farris-radiogroup-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/farris-section-collector.js +6 -6
- package/lib/utility/devkit/component-parameter-collector/farris-section-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/farris-tabs-collector.js +6 -6
- package/lib/utility/devkit/component-parameter-collector/farris-tabs-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/scrollspy-collector.js +3 -3
- package/lib/utility/devkit/component-parameter-collector/scrollspy-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/toolbar-collector.js +2 -2
- package/lib/utility/devkit/component-parameter-collector/toolbar-collector.js.map +1 -1
- package/lib/utility/devkit/component-readonly-parameter-creator.js +11 -0
- package/lib/utility/devkit/component-readonly-parameter-creator.js.map +1 -0
- package/lib/utility/devkit/component-readonly-parameter.js +7 -0
- package/lib/utility/devkit/component-readonly-parameter.js.map +1 -0
- package/lib/utility/farris-datagrid/abstract-editor.js +4 -3
- package/lib/utility/farris-datagrid/abstract-editor.js.map +1 -1
- package/lib/utility/farris-datagrid/abstract-lookup-editor.js +7 -6
- package/lib/utility/farris-datagrid/abstract-lookup-editor.js.map +1 -1
- package/lib/utility/farris-datagrid/combo-list-editor.js +4 -4
- package/lib/utility/farris-datagrid/combo-list-editor.js.map +1 -1
- package/lib/utility/farris-datagrid/combo-lookup-editor.js +7 -2
- package/lib/utility/farris-datagrid/combo-lookup-editor.js.map +1 -1
- package/lib/utility/farris-datagrid/date-picker-editor.js +1 -1
- package/lib/utility/farris-datagrid/date-picker-editor.js.map +1 -1
- package/lib/utility/farris-datagrid/enum-editor.js +1 -1
- package/lib/utility/farris-datagrid/enum-editor.js.map +1 -1
- package/lib/utility/farris-datagrid/language-textbox-generator.js +1 -1
- package/lib/utility/farris-datagrid/language-textbox-generator.js.map +1 -1
- package/lib/utility/farris-datagrid/lookup-editor.js +5 -0
- package/lib/utility/farris-datagrid/lookup-editor.js.map +1 -1
- package/lib/utility/farris-datagrid/number-box-editor.js +5 -5
- package/lib/utility/farris-datagrid/number-box-editor.js.map +1 -1
- package/lib/utility/farris-datagrid/personnel-selector-editor.js +1 -1
- package/lib/utility/farris-datagrid/personnel-selector-editor.js.map +1 -1
- package/lib/utility/template-generator/devkit/component-generator/component-import-generator.js +2 -2
- package/lib/utility/template-generator/devkit/component-generator/component-import-generator.js.map +1 -1
- package/lib/utility/template-generator/devkit/component-generator/component-queryschema-parameter-generator.js +2 -2
- package/lib/utility/template-generator/devkit/component-generator/component-queryschema-parameter-generator.js.map +1 -1
- package/lib/utility/template-generator/devkit/component-generator/component-readonly-parameter-generator.js +21 -0
- package/lib/utility/template-generator/devkit/component-generator/component-readonly-parameter-generator.js.map +1 -0
- package/lib/utility/template-generator/devkit/component-template-generator.js +28 -1
- package/lib/utility/template-generator/devkit/component-template-generator.js.map +1 -1
- package/lib/utility/toolhepler.js +11 -9
- package/lib/utility/toolhepler.js.map +1 -1
- package/package.json +1 -1
- package/lib/mobileapp/vue/static/.gitignore +0 -13
- package/lib/mobileapp/vue/static/.npmignore +0 -13
|
@@ -31,7 +31,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
31
31
|
else
|
|
32
32
|
-attrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
33
33
|
if(variable.isTextArea)
|
|
34
|
-
|
|
34
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
35
|
+
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
36
|
+
else
|
|
37
|
+
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
35
38
|
if(variable.hasDefaultFocus)
|
|
36
39
|
-attrs["farris-set-focus"]="";
|
|
37
40
|
if(variable.focusState)
|
|
@@ -44,7 +47,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
44
47
|
div(class="farris-feedback")
|
|
45
48
|
if(variable.isTextArea)
|
|
46
49
|
-var areaAttrs = {};
|
|
47
|
-
|
|
50
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
51
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
52
|
+
else
|
|
53
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
48
54
|
if (variable.binding && variable.binding.type == 'Variable')
|
|
49
55
|
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
50
56
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
@@ -37,7 +37,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
37
37
|
if (variable.readonly)
|
|
38
38
|
-attrs['[readonly]'] = variable.readonly.value+"";
|
|
39
39
|
if(variable.isTextArea)
|
|
40
|
-
|
|
40
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
41
|
+
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
42
|
+
else
|
|
43
|
+
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
41
44
|
-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
42
45
|
if(variable.hasDefaultFocus)
|
|
43
46
|
-attrs["farris-set-focus"]="";
|
|
@@ -50,7 +53,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
50
53
|
div(class="farris-feedback")
|
|
51
54
|
if(variable.isTextArea)
|
|
52
55
|
-var areaAttrs = {};
|
|
53
|
-
|
|
56
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
57
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
58
|
+
else
|
|
59
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
54
60
|
if (variable.binding && variable.binding.type == 'Variable')
|
|
55
61
|
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
56
62
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
@@ -17,7 +17,7 @@
|
|
|
17
17
|
doctype html
|
|
18
18
|
|
|
|
19
19
|
div( 'class'="f-utils-fill")
|
|
20
|
-
farris-datagrid(id=variable.replacedId farris-use-binding-data "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 '[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']" '[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==false)?""+variable.autoHeight: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 '[emptyTemplate]'=variable.emptyTemplateName?""+variable.emptyTemplateName:undefined '[emptyDataHeight]'=variable.emptyDataHeight?""+variable.emptyDataHeight: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 )&attributes(attrs)
|
|
20
|
+
farris-datagrid(id=variable.replacedId farris-use-binding-data "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 '[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']" '[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==false)?""+variable.autoHeight: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 '[emptyTemplate]'=variable.emptyTemplateName?""+variable.emptyTemplateName:undefined '[emptyDataHeight]'=variable.emptyDataHeight?""+variable.emptyDataHeight: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 '[scrollBarShowMode]'=variable.scrollBarShowMode?"'"+variable.scrollBarShowMode+"'":undefined)&attributes(attrs)
|
|
21
21
|
//- if(variable.fields && variable.fields.length)
|
|
22
22
|
//- each field ,index in variable.fields
|
|
23
23
|
//- if(field.colTemplate)
|
|
@@ -40,8 +40,12 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
40
40
|
-attrs["[maxDate]"]=variable.maxValue?((variable.maxValue.useQuote?"'":"")+variable.maxValue.value+(variable.maxValue.useQuote?"'":"")):undefined
|
|
41
41
|
if(variable.minValue)
|
|
42
42
|
-attrs["[minDate]"]=variable.minValue?((variable.minValue.useQuote?"'":"")+variable.minValue.value+(variable.minValue.useQuote?"'":"")):undefined
|
|
43
|
+
- var readonlyValue=variable.readonly && variable.readonly.value
|
|
43
44
|
if(variable.isTextArea)
|
|
44
|
-
|
|
45
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
46
|
+
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
47
|
+
else
|
|
48
|
+
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
45
49
|
if(variable.hasDefaultFocus)
|
|
46
50
|
-attrs["farris-set-focus"]="";
|
|
47
51
|
if(variable.focusState)
|
|
@@ -53,7 +57,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
53
57
|
div(class="farris-feedback")
|
|
54
58
|
if(variable.isTextArea)
|
|
55
59
|
-var areaAttrs = {};
|
|
56
|
-
|
|
60
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
61
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
62
|
+
else
|
|
63
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
57
64
|
if (variable.binding && variable.binding.type == 'Variable')
|
|
58
65
|
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
59
66
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
@@ -37,7 +37,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
37
37
|
-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
38
38
|
|
|
39
39
|
if(variable.isTextArea)
|
|
40
|
-
|
|
40
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
41
|
+
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
42
|
+
else
|
|
43
|
+
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
41
44
|
if(variable.hasDefaultFocus)
|
|
42
45
|
-attrs["farris-set-focus"]="";
|
|
43
46
|
if(variable.focusState)
|
|
@@ -57,7 +60,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
57
60
|
div(class="farris-feedback")
|
|
58
61
|
if(variable.isTextArea)
|
|
59
62
|
-var areaAttrs = {};
|
|
60
|
-
|
|
63
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
64
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
65
|
+
else
|
|
66
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
61
67
|
if (variable.binding && variable.binding.type == 'Variable')
|
|
62
68
|
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
63
69
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
@@ -32,7 +32,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
32
32
|
else
|
|
33
33
|
-attrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
34
34
|
if(variable.isTextArea)
|
|
35
|
-
|
|
35
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
36
|
+
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
37
|
+
else
|
|
38
|
+
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
36
39
|
|
|
37
40
|
-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
38
41
|
if(variable.hasDefaultFocus)
|
|
@@ -46,7 +49,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
46
49
|
div(class="farris-feedback")
|
|
47
50
|
if(variable.isTextArea)
|
|
48
51
|
-var areaAttrs = {};
|
|
49
|
-
|
|
52
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
53
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
54
|
+
else
|
|
55
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
50
56
|
if (variable.binding && variable.binding.type == 'Variable')
|
|
51
57
|
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
52
58
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
@@ -32,7 +32,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
32
32
|
else
|
|
33
33
|
-attrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
34
34
|
if(variable.isTextArea)
|
|
35
|
-
|
|
35
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
36
|
+
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
37
|
+
else
|
|
38
|
+
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
36
39
|
-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
37
40
|
if(variable.hasDefaultFocus)
|
|
38
41
|
-attrs["farris-set-focus"]="";
|
|
@@ -45,7 +48,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
45
48
|
div(class="farris-feedback")
|
|
46
49
|
if(variable.isTextArea)
|
|
47
50
|
-var areaAttrs = {};
|
|
48
|
-
|
|
51
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
52
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
53
|
+
else
|
|
54
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
49
55
|
if (variable.binding && variable.binding.type == 'Variable')
|
|
50
56
|
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
51
57
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
@@ -32,7 +32,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
32
32
|
else
|
|
33
33
|
-attrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
34
34
|
if(variable.isTextArea)
|
|
35
|
-
|
|
35
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
36
|
+
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
37
|
+
else
|
|
38
|
+
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
36
39
|
if(variable.hasDefaultFocus)
|
|
37
40
|
-attrs["farris-set-focus"]="";
|
|
38
41
|
if(variable.focusState)
|
|
@@ -44,7 +47,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
44
47
|
div(class="farris-feedback")
|
|
45
48
|
if(variable.isTextArea)
|
|
46
49
|
-var areaAttrs = {};
|
|
47
|
-
|
|
50
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
51
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
52
|
+
else
|
|
53
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
48
54
|
if (variable.binding && variable.binding.type == 'Variable')
|
|
49
55
|
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
50
56
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
@@ -36,7 +36,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
36
36
|
|
|
37
37
|
-attrs['#'+variable.replacedId] = "";
|
|
38
38
|
if(variable.isTextArea)
|
|
39
|
-
|
|
39
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
40
|
+
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
41
|
+
else
|
|
42
|
+
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
40
43
|
if(variable.hasDefaultFocus)
|
|
41
44
|
-attrs["farris-set-focus"]="";
|
|
42
45
|
if(variable.focusState)
|
|
@@ -48,7 +51,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
48
51
|
div(class="farris-feedback")
|
|
49
52
|
if(variable.isTextArea)
|
|
50
53
|
-var areaAttrs = {};
|
|
51
|
-
|
|
54
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
55
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
56
|
+
else
|
|
57
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
52
58
|
if (variable.binding && variable.binding.type == 'Variable')
|
|
53
59
|
-areaAttrs['[(ngModel)]'] =variable.binding.value;
|
|
54
60
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
@@ -37,7 +37,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
37
37
|
-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
38
38
|
-attrs['#'+variable.replacedId] = "";
|
|
39
39
|
if(variable.isTextArea)
|
|
40
|
-
|
|
40
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
41
|
+
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
42
|
+
else
|
|
43
|
+
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
41
44
|
if(variable.hasDefaultFocus)
|
|
42
45
|
-attrs["farris-set-focus"]="";
|
|
43
46
|
if(variable.focusState)
|
|
@@ -49,7 +52,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
49
52
|
div(class="farris-feedback")
|
|
50
53
|
if(variable.isTextArea)
|
|
51
54
|
-var areaAttrs = {};
|
|
52
|
-
|
|
55
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
56
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
57
|
+
else
|
|
58
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
53
59
|
if (variable.binding && variable.binding.type == 'Variable')
|
|
54
60
|
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
55
61
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
@@ -31,7 +31,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
31
31
|
else
|
|
32
32
|
-attrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
33
33
|
if(variable.isTextArea)
|
|
34
|
-
|
|
34
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
35
|
+
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
36
|
+
else
|
|
37
|
+
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
35
38
|
if(variable.hasDefaultFocus)
|
|
36
39
|
-attrs["farris-set-focus"]="";
|
|
37
40
|
if(variable.focusState)
|
|
@@ -43,7 +46,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
43
46
|
validationMessage('[errors]'!=`${path}` '[hidden]'="!viewModel.form.isShowValidationMsg" )
|
|
44
47
|
if(variable.isTextArea)
|
|
45
48
|
-var areaAttrs = {};
|
|
46
|
-
|
|
49
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
50
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
51
|
+
else
|
|
52
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
47
53
|
if (variable.binding && variable.binding.type == 'Variable')
|
|
48
54
|
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
49
55
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
@@ -36,7 +36,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
36
36
|
|
|
37
37
|
//-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
38
38
|
if(variable.isTextArea)
|
|
39
|
-
|
|
39
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
40
|
+
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
41
|
+
else
|
|
42
|
+
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
40
43
|
if(variable.hasDefaultFocus)
|
|
41
44
|
-attrs["farris-set-focus"]="";
|
|
42
45
|
if(variable.focusState)
|
|
@@ -48,7 +51,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
48
51
|
div(class="farris-feedback")
|
|
49
52
|
if(variable.isTextArea)
|
|
50
53
|
-var areaAttrs = {};
|
|
51
|
-
|
|
54
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
55
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
56
|
+
else
|
|
57
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
52
58
|
if (variable.binding && variable.binding.type == 'Variable')
|
|
53
59
|
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
54
60
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
@@ -37,7 +37,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
37
37
|
-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
38
38
|
|
|
39
39
|
if(variable.isTextArea)
|
|
40
|
-
|
|
40
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
41
|
+
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
42
|
+
else
|
|
43
|
+
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
41
44
|
if(variable.hasDefaultFocus)
|
|
42
45
|
-attrs["farris-set-focus"]="";
|
|
43
46
|
if(variable.focusState)
|
|
@@ -65,7 +68,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
65
68
|
div(class="farris-feedback")
|
|
66
69
|
if(variable.isTextArea)
|
|
67
70
|
-var areaAttrs = {};
|
|
68
|
-
|
|
71
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
72
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
73
|
+
else
|
|
74
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
69
75
|
if (variable.binding && variable.binding.type == 'Variable')
|
|
70
76
|
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
71
77
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
@@ -36,12 +36,17 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
36
36
|
-attrs['[dictPicking]'] = variable.lookupPicking;
|
|
37
37
|
if (variable.lookupPicked)
|
|
38
38
|
-attrs['[dictPicked]'] = variable.lookupPicked;
|
|
39
|
+
if (variable.beforeSelectData)
|
|
40
|
+
-attrs['[beforeSelectData]'] = variable.beforeSelectData;
|
|
39
41
|
if (variable.readonly)
|
|
40
42
|
-attrs['[readonly]'] = variable.readonly.value+"";
|
|
41
43
|
|
|
42
44
|
-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
43
45
|
if(variable.isTextArea)
|
|
44
|
-
|
|
46
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
47
|
+
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
48
|
+
else
|
|
49
|
+
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
45
50
|
if(variable.hasDefaultFocus)
|
|
46
51
|
-attrs["farris-set-focus"]="";
|
|
47
52
|
if(variable.focusState)
|
|
@@ -54,7 +59,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
54
59
|
div(class="farris-feedback")
|
|
55
60
|
if(variable.isTextArea)
|
|
56
61
|
-var areaAttrs = {};
|
|
57
|
-
|
|
62
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
63
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
64
|
+
else
|
|
65
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
58
66
|
if (variable.binding && variable.binding.type == 'Variable')
|
|
59
67
|
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
60
68
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
@@ -32,7 +32,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
32
32
|
else
|
|
33
33
|
-attrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
34
34
|
if(variable.isTextArea)
|
|
35
|
-
|
|
35
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
36
|
+
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
37
|
+
else
|
|
38
|
+
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
36
39
|
|
|
37
40
|
-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
38
41
|
if(variable.hasDefaultFocus)
|
|
@@ -46,7 +49,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
46
49
|
div(class="farris-feedback")
|
|
47
50
|
if(variable.isTextArea)
|
|
48
51
|
-var areaAttrs = {};
|
|
49
|
-
|
|
52
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
53
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
54
|
+
else
|
|
55
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
50
56
|
if (variable.binding && variable.binding.type == 'Variable')
|
|
51
57
|
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
52
58
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
@@ -35,7 +35,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
35
35
|
|
|
36
36
|
-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
37
37
|
if(variable.isTextArea)
|
|
38
|
-
|
|
38
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
39
|
+
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
40
|
+
else
|
|
41
|
+
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
39
42
|
if(variable.hasDefaultFocus)
|
|
40
43
|
-attrs["farris-set-focus"]="";
|
|
41
44
|
if(variable.focusState)
|
|
@@ -48,7 +51,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
48
51
|
div(class="farris-feedback")
|
|
49
52
|
if(variable.isTextArea)
|
|
50
53
|
-var areaAttrs = {};
|
|
51
|
-
|
|
54
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
55
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
56
|
+
else
|
|
57
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
52
58
|
if (variable.binding && variable.binding.type == 'Variable')
|
|
53
59
|
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
54
60
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
@@ -16,4 +16,4 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
16
16
|
-attrs["farris-set-focus"]="";
|
|
17
17
|
if(variable.focusState)
|
|
18
18
|
-attrs["[focusState]"]=variable.focusState+"";
|
|
19
|
-
farris-combo-lookup(id=variable.replacedId "input-end-edit" '(selectedValues)'=variable.selectedValues?variable.selectedValues:undefined '[displayType]'=variable.displayType?"'"+variable.displayType+"'":undefined '[disabled]'!=(variable.disable||variable.disable==false)?variable.disable.toString():undefined '[editable]'=(variable.editable||variable.editable==false)?variable.editable.toString():undefined '[panelWidth]'=variable.panelWidth?""+variable.panelWidth:undefined '[panelHeight]'=variable.panelHeight?""+variable.panelHeight:undefined '[idField]'=variable.idField?"'"+variable.idField+"'":undefined '[valueField]'=variable.valueField?"'"+variable.valueField+"'":undefined '[textField]'=variable.textField?"'"+variable.textField+"'":undefined '[uri]'=variable.uri?"'"+variable.uri+"'":undefined '[multiSelect]'=(variable.multiSelect || variable.multiSelect==false)?variable.multiSelect.toString():undefined '(showPanel)'=variable.onShown?variable.onShown:undefined '(hidePanel)'=variable.onHidden?variable.onHidden:undefined '(clear)'=variable.clear?variable.clear:undefined '[autoWidth]'=(variable.autoWidth||variable.autoWidth==false)?variable.autoWidth.toString():undefined '[mapFields]'=variable.mapFields?""+variable.mapFields:undefined '[beforeShow]'=variable.beforeShow?""+variable.beforeShow:undefined '[beforeHide]'=variable.beforeHide?""+variable.beforeHide:undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[enableClear]'=(variable.enableClear || variable.enableClear==false)?""+variable.enableClear:undefined '[context]'!=variable.context?""+variable.context:undefined
|
|
19
|
+
farris-combo-lookup(id=variable.replacedId "input-end-edit" '(selectedValues)'=variable.selectedValues?variable.selectedValues:undefined '[displayType]'=variable.displayType?"'"+variable.displayType+"'":undefined '[disabled]'!=(variable.disable||variable.disable==false)?variable.disable.toString():undefined '[editable]'=(variable.editable||variable.editable==false)?variable.editable.toString():undefined '[panelWidth]'=variable.panelWidth?""+variable.panelWidth:undefined '[panelHeight]'=variable.panelHeight?""+variable.panelHeight:undefined '[idField]'=variable.idField?"'"+variable.idField+"'":undefined '[valueField]'=variable.valueField?"'"+variable.valueField+"'":undefined '[textField]'=variable.textField?"'"+variable.textField+"'":undefined '[uri]'=variable.uri?"'"+variable.uri+"'":undefined '[multiSelect]'=(variable.multiSelect || variable.multiSelect==false)?variable.multiSelect.toString():undefined '(showPanel)'=variable.onShown?variable.onShown:undefined '(hidePanel)'=variable.onHidden?variable.onHidden:undefined '(clear)'=variable.clear?variable.clear:undefined '[autoWidth]'=(variable.autoWidth||variable.autoWidth==false)?variable.autoWidth.toString():undefined '[mapFields]'=variable.mapFields?""+variable.mapFields:undefined '[beforeShow]'=variable.beforeShow?""+variable.beforeShow:undefined '[beforeHide]'=variable.beforeHide?""+variable.beforeHide:undefined '[tab-index]'=(variable.tabindex || variable.tabindex ==0)?""+variable.tabindex:undefined '[enableClear]'=(variable.enableClear || variable.enableClear==false)?""+variable.enableClear:undefined '[context]'!=variable.context?""+variable.context:undefined '[beforeSelectData]'=variable.beforeSelectData?""+variable.beforeSelectData:undefined )&attributes(attrs)
|
|
@@ -21,6 +21,8 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
21
21
|
-attrs['[dictPicking]'] = variable.lookupPicking;
|
|
22
22
|
if (variable.lookupPicked)
|
|
23
23
|
-attrs['[dictPicked]'] = variable.lookupPicked;
|
|
24
|
+
if (variable.beforeSelectData)
|
|
25
|
+
-attrs['[beforeSelectData]'] = variable.beforeSelectData;
|
|
24
26
|
if (variable.readonly)
|
|
25
27
|
-attrs['[readonly]'] = variable.readonly.value+"";
|
|
26
28
|
|
|
@@ -1,4 +1,4 @@
|
|
|
1
1
|
//- -var variable={"appearance": {"class": "p-2", "style": "width:'20px'"}, queryId: "a", queryName: "a", qoManagerCode:"a",controlType:''};
|
|
2
2
|
|
|
3
|
-
condition-dialog('[controlType]'=variable.controlType ? "'" + variable.controlType + "'" : undefined '[queryId]'=variable.queryId ? "'" + variable.queryId + "'" : undefined)
|
|
3
|
+
condition-dialog('[controlType]'=variable.controlType ? "'" + variable.controlType + "'" : undefined '[queryId]'=variable.queryId ? "'" + variable.queryId + "'" : undefined '[beforeQuery]'=variable.beforeQueryName?""+variable.beforeQueryName:undefined)
|
|
4
4
|
| {{content}}
|
|
@@ -33,7 +33,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
33
33
|
else
|
|
34
34
|
-attrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
35
35
|
if(variable.isTextArea)
|
|
36
|
-
|
|
36
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
37
|
+
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
38
|
+
else
|
|
39
|
+
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
37
40
|
if(variable.hasDefaultFocus)
|
|
38
41
|
-attrs["farris-set-focus"]="";
|
|
39
42
|
if(variable.focusState)
|
|
@@ -46,7 +49,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
46
49
|
div(class="farris-feedback")
|
|
47
50
|
if(variable.isTextArea)
|
|
48
51
|
-var areaAttrs = {};
|
|
49
|
-
|
|
52
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
53
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
54
|
+
else
|
|
55
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
50
56
|
if (variable.binding && variable.binding.type == 'Variable')
|
|
51
57
|
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
52
58
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
@@ -1,7 +1,7 @@
|
|
|
1
1
|
-var attrs = {};
|
|
2
2
|
if (variable.isScrollSpyItem)
|
|
3
3
|
-attrs['[fScrollSpy]'] = "'"+variable.replacedId+"'";
|
|
4
|
-
farris-section(id=variable.replacedId?""+variable.replacedId:undefined class=(variable.appearance && variable.appearance.class) '[expandStatus]'=(variable.expanded || variable.expanded==false)?""+variable.expanded:undefined style=(variable.appearance && variable.appearance.style) '[contentCls]'!=variable.contentCls?"'"+variable.contentCls+"'":undefined '[mainTitle]'!=variable.mainTitleLang?""+variable.mainTitleLang:undefined '[subTitle]'!=variable.subTitleLang?""+variable.subTitleLang:undefined '[fill]'=(variable.fill||variable.fill==false)?variable.fill+"":undefined '[showHeader]'=(variable.showHeader||variable.showHeader==false)?variable.showHeader+'':undefined '[enableMaximize]'=(variable.enableMaximize||variable.enableMaximize==false)?variable.enableMaximize+'':undefined '[enableAccordion]'=variable.enableAccordion?"'"+variable.enableAccordion+"'":undefined '*ngIf'!=variable.visible ?variable.visible.value+"":undefined
|
|
4
|
+
farris-section(id=variable.replacedId?""+variable.replacedId:undefined class=(variable.appearance && variable.appearance.class) '[expandStatus]'=(variable.expanded || variable.expanded==false)?""+variable.expanded:undefined style=(variable.appearance && variable.appearance.style) '[contentCls]'!=variable.contentCls?"'"+variable.contentCls+"'":undefined '[mainTitle]'!=variable.mainTitleLang?""+variable.mainTitleLang:undefined '[subTitle]'!=variable.subTitleLang?""+variable.subTitleLang:undefined '[fill]'=(variable.fill||variable.fill==false)?variable.fill+"":undefined '[showHeader]'=(variable.showHeader||variable.showHeader==false)?variable.showHeader+'':undefined '[enableMaximize]'=(variable.enableMaximize||variable.enableMaximize==false)?variable.enableMaximize+'':undefined '[enableAccordion]'=variable.enableAccordion?"'"+variable.enableAccordion+"'":undefined '*ngIf'!=variable.visible ?variable.visible.value+"":undefined '[btnStates]'=variable.toolbarStatesName?""+variable.toolbarStatesName:undefined '[btnVisible]'=variable.toolbarVisibleName?""+variable.toolbarVisibleName:undefined '[toolbar]'=variable.toolbarName?""+variable.toolbarName:undefined)&attributes(attrs)
|
|
5
5
|
if(variable.farrisSectionHeader)
|
|
6
6
|
ng-template(farrisSectionHeader '[headerCls]'!=variable.headerCls?"'"+variable.headerCls+"'":undefined )
|
|
7
7
|
| !{variable.farrisSectionHeader}
|
|
@@ -33,7 +33,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
33
33
|
else
|
|
34
34
|
-attrs['formControlName'] = (variable.binding && variable.binding.path);
|
|
35
35
|
if(variable.isTextArea)
|
|
36
|
-
|
|
36
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
37
|
+
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
38
|
+
else
|
|
39
|
+
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
37
40
|
if(variable.hasDefaultFocus)
|
|
38
41
|
-attrs["farris-set-focus"]="";
|
|
39
42
|
if(variable.focusState)
|
|
@@ -45,7 +48,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
45
48
|
div(class="farris-feedback")
|
|
46
49
|
if(variable.isTextArea)
|
|
47
50
|
-var areaAttrs = {};
|
|
48
|
-
|
|
51
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
52
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
53
|
+
else
|
|
54
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
49
55
|
if (variable.binding && variable.binding.type == 'Variable')
|
|
50
56
|
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
51
57
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
@@ -36,7 +36,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
36
36
|
|
|
37
37
|
-attrs['placeholder'] = "{{'" + variable.placeHolderResourceId + "'|lang:lang:'"+variable.placeHolder+"'}}";
|
|
38
38
|
if(variable.isTextArea)
|
|
39
|
-
|
|
39
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
40
|
+
-attrs["*ngIf"]="!"+variable.readonly.value;
|
|
41
|
+
else
|
|
42
|
+
-attrs["*ngIf"]="viewModel.stateMachine['editable']";
|
|
40
43
|
if(variable.hasDefaultFocus)
|
|
41
44
|
-attrs["farris-set-focus"]="";
|
|
42
45
|
if(variable.focusState)
|
|
@@ -53,7 +56,10 @@ div(class=(variable.appearance && variable.appearance.class) style=(variable.app
|
|
|
53
56
|
div(class="farris-feedback")
|
|
54
57
|
if(variable.isTextArea)
|
|
55
58
|
-var areaAttrs = {};
|
|
56
|
-
|
|
59
|
+
if(variable.readonly && variable.readonly.isComposite)
|
|
60
|
+
-areaAttrs["*ngIf"]=variable.readonly.value;
|
|
61
|
+
else
|
|
62
|
+
-areaAttrs["*ngIf"]="!viewModel.stateMachine['editable']";
|
|
57
63
|
if (variable.binding && variable.binding.type == 'Variable')
|
|
58
64
|
-areaAttrs['[(ngModel)]'] = variable.binding.value;
|
|
59
65
|
-areaAttrs['[ngModelOptions]'] = "{standalone:true}";
|
|
@@ -11,7 +11,7 @@ class ComponentTitleExecutor {
|
|
|
11
11
|
if (!titleSource) {
|
|
12
12
|
return null;
|
|
13
13
|
}
|
|
14
|
-
return toolhepler_1.ToolHelper.createBinding(titleSource, null, externalComponentNameSpace);
|
|
14
|
+
return toolhepler_1.ToolHelper.createBinding(titleSource, null, externalComponentNameSpace, null);
|
|
15
15
|
}
|
|
16
16
|
static getTitleValue(titleSource, defaultValue) {
|
|
17
17
|
if (!titleSource) {
|
|
@@ -1 +1 @@
|
|
|
1
|
-
{"version":3,"file":"component-title-executor.js","sourceRoot":"","sources":["../../src/utility/component-title-executor.ts"],"names":[],"mappings":";;;AACA,qCAA0C;AAC1C,6CAA0C;AAE1C,MAAa,sBAAsB;IAU/B,MAAM,CAAC,QAAQ,CAAC,eAAuB;QACnC,OAAO,CAAC,eAAe,IAAI,eAAe,IAAI,uBAAc,CAAC,qBAAqB,CAAC;IACvF,CAAC;IAWD,MAAM,CAAC,iBAAiB,CAAC,WAAgB,EAAE,0BAAkC;QACzE,IAAI,CAAC,WAAW,EAAE;YACd,OAAO,IAAI,CAAC;SACf;QACD,OAAO,uBAAU,CAAC,aAAa,CAAC,WAAW,
|
|
1
|
+
{"version":3,"file":"component-title-executor.js","sourceRoot":"","sources":["../../src/utility/component-title-executor.ts"],"names":[],"mappings":";;;AACA,qCAA0C;AAC1C,6CAA0C;AAE1C,MAAa,sBAAsB;IAU/B,MAAM,CAAC,QAAQ,CAAC,eAAuB;QACnC,OAAO,CAAC,eAAe,IAAI,eAAe,IAAI,uBAAc,CAAC,qBAAqB,CAAC;IACvF,CAAC;IAWD,MAAM,CAAC,iBAAiB,CAAC,WAAgB,EAAE,0BAAkC;QACzE,IAAI,CAAC,WAAW,EAAE;YACd,OAAO,IAAI,CAAC;SACf;QACD,OAAO,uBAAU,CAAC,aAAa,CAAC,WAAW,EAAE,IAAI,EAAE,0BAA0B,EAAE,IAAI,CAAC,CAAC;IACzF,CAAC;IAWD,MAAM,CAAC,aAAa,CAAC,WAAoB,EAAE,YAAoB;QAE3D,IAAI,CAAC,WAAW,EAAE;YACd,OAAO,YAAY,CAAC;SACvB;QACD,OAAO,WAAW,CAAC,KAAK,CAAC;IAC7B,CAAC;CAEJ;AA/CD,wDA+CC"}
|
|
@@ -0,0 +1,29 @@
|
|
|
1
|
+
"use strict";
|
|
2
|
+
Object.defineProperty(exports, "__esModule", { value: true });
|
|
3
|
+
exports.ComponentConditionDialogParameter = void 0;
|
|
4
|
+
const toolhepler_1 = require("../toolhepler");
|
|
5
|
+
class ComponentConditionDialogParameter {
|
|
6
|
+
constructor(param) {
|
|
7
|
+
let obj;
|
|
8
|
+
if (typeof param === 'string') {
|
|
9
|
+
obj = JSON.parse(param);
|
|
10
|
+
}
|
|
11
|
+
else {
|
|
12
|
+
obj = param;
|
|
13
|
+
}
|
|
14
|
+
if (!obj) {
|
|
15
|
+
return;
|
|
16
|
+
}
|
|
17
|
+
const keys = 'id,type,queryId,beforeQuery';
|
|
18
|
+
Object.keys(obj).forEach(key => {
|
|
19
|
+
if (keys.includes(key)) {
|
|
20
|
+
this[key] = obj[key];
|
|
21
|
+
}
|
|
22
|
+
});
|
|
23
|
+
if (this.beforeQuery) {
|
|
24
|
+
this.beforeQueryName = "QdpConditionDialog" + toolhepler_1.ToolHelper.tf(this.id) + "BeforeQuery";
|
|
25
|
+
}
|
|
26
|
+
}
|
|
27
|
+
}
|
|
28
|
+
exports.ComponentConditionDialogParameter = ComponentConditionDialogParameter;
|
|
29
|
+
//# sourceMappingURL=component-condition-dialog-parameter.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"file":"component-condition-dialog-parameter.js","sourceRoot":"","sources":["../../../src/utility/devkit/component-condition-dialog-parameter.ts"],"names":[],"mappings":";;;AACA,8CAA2C;AAE3C,MAAa,iCAAiC;IAO1C,YAAY,KAAmB;QAC3B,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QAED,MAAM,IAAI,GAAG,6BAA6B,CAAC;QAC3C,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;aACxB;QACL,CAAC,CAAC,CAAC;QAEH,IAAI,IAAI,CAAC,WAAW,EAAE;YAClB,IAAI,CAAC,eAAe,GAAG,oBAAoB,GAAG,uBAAU,CAAC,EAAE,CAAC,IAAI,CAAC,EAAE,CAAC,GAAG,aAAa,CAAC;SACxF;IACL,CAAC;CACJ;AA9BD,8EA8BC"}
|