@farris/jit-engine 1.3.285 → 1.3.290
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 +8 -0
- package/ioc.config +0 -0
- package/lib/.DS_Store +0 -0
- package/lib/domstructure/devkit/devkit.js +5 -1
- package/lib/domstructure/devkit/devkit.js.map +1 -1
- package/lib/domstructure/devkit/section-toolbar/farris-section-toolbar-item.js +8 -1
- package/lib/domstructure/devkit/section-toolbar/farris-section-toolbar-item.js.map +1 -1
- package/lib/domstructure/devkit/tab-toolbar/farris-tab-toolbar-Item.js +8 -1
- package/lib/domstructure/devkit/tab-toolbar/farris-tab-toolbar-Item.js.map +1 -1
- package/lib/domstructure/devkit/viewmodel/component/component.js +15 -8
- package/lib/domstructure/devkit/viewmodel/component/component.js.map +1 -1
- package/lib/domstructure/devkit/viewmodel/viewmodel.js +2 -0
- package/lib/domstructure/devkit/viewmodel/viewmodel.js.map +1 -1
- package/lib/domstructure/ui/commands/button.js +2 -0
- package/lib/domstructure/ui/commands/button.js.map +1 -1
- package/lib/domstructure/ui/commands/toolbar.js +2 -0
- package/lib/domstructure/ui/commands/toolbar.js.map +1 -1
- package/lib/domstructure/ui/common/basecomponent.js +11 -0
- package/lib/domstructure/ui/common/basecomponent.js.map +1 -1
- package/lib/domstructure/ui/data/fields/form/form_field.js +17 -16
- package/lib/domstructure/ui/data/fields/form/form_field.js.map +1 -1
- package/lib/domstructure/ui/section/section.js +2 -0
- package/lib/domstructure/ui/section/section.js.map +1 -1
- package/lib/domstructure/ui/table/farris-table-column.js.map +1 -1
- package/lib/domstructure/ui/table/farris-table-static-text.js.map +1 -1
- package/lib/domstructure/ui/tabs/farris-tabs.js +2 -0
- package/lib/domstructure/ui/tabs/farris-tabs.js.map +1 -1
- package/lib/index.js +0 -0
- package/lib/index.js.map +0 -0
- package/lib/mobileapp/.DS_Store +0 -0
- package/lib/template/.DS_Store +0 -0
- package/lib/template/ui/.DS_Store +0 -0
- package/lib/template/ui/kendo/button.pug +7 -1
- package/lib/template/ui/kendo/checkbox.pug +26 -7
- package/lib/template/ui/kendo/checkboxgroup.pug +18 -6
- package/lib/template/ui/kendo/farris-avatar.pug +8 -2
- package/lib/template/ui/kendo/farris-checkbox-group.pug +36 -7
- package/lib/template/ui/kendo/farris-combo-list.pug +48 -8
- package/lib/template/ui/kendo/farris-combo-lookup.pug +23 -8
- package/lib/template/ui/kendo/farris-datepicker.pug +22 -8
- package/lib/template/ui/kendo/farris-number-range.pug +37 -7
- package/lib/template/ui/kendo/farris-number-spinner.pug +43 -23
- package/lib/template/ui/kendo/farris-switch.pug +29 -7
- package/lib/template/ui/kendo/farris-tags.pug +6 -6
- package/lib/template/ui/kendo/farris-time-picker.pug +38 -7
- package/lib/template/ui/kendo/farris-time-spinner.pug +29 -6
- package/lib/template/ui/kendo/farristabs.pug +12 -1
- package/lib/template/ui/kendo/image.pug +1 -1
- package/lib/template/ui/kendo/input-group.pug +37 -7
- package/lib/template/ui/kendo/language-textbox.pug +29 -7
- package/lib/template/ui/kendo/lookup-employee.pug +23 -10
- package/lib/template/ui/kendo/lookup.pug +23 -8
- package/lib/template/ui/kendo/multitextbox.pug +41 -7
- package/lib/template/ui/kendo/organization-selector.pug +23 -10
- package/lib/template/ui/kendo/radiobox.pug +13 -1
- package/lib/template/ui/kendo/radioboxgroup.pug +32 -7
- package/lib/template/ui/kendo/richtextbox.pug +6 -6
- package/lib/template/ui/kendo/section.pug +14 -1
- package/lib/template/ui/kendo/table/checkbox.pug +14 -3
- package/lib/template/ui/kendo/table/checkboxgroup.pug +1 -1
- package/lib/template/ui/kendo/table/combobox.pug +3 -3
- package/lib/template/ui/kendo/table/datepicker.pug +2 -2
- package/lib/template/ui/kendo/table/employee-selector.pug +1 -1
- package/lib/template/ui/kendo/table/farris-avatar.pug +10 -2
- package/lib/template/ui/kendo/table/farris-checkbox-group.pug +2 -2
- package/lib/template/ui/kendo/table/farris-combo-list.pug +3 -3
- package/lib/template/ui/kendo/table/farris-combo-lookup.pug +2 -2
- package/lib/template/ui/kendo/table/farris-datepicker.pug +2 -2
- package/lib/template/ui/kendo/table/farris-number-range.pug +13 -2
- package/lib/template/ui/kendo/table/farris-number-spinner.pug +17 -2
- package/lib/template/ui/kendo/table/farris-static-text.pug +2 -2
- package/lib/template/ui/kendo/table/farris-switch.pug +11 -2
- package/lib/template/ui/kendo/table/farris-tags.pug +8 -1
- package/lib/template/ui/kendo/table/farris-time-picker.pug +2 -2
- package/lib/template/ui/kendo/table/farris-time-spinner.pug +1 -1
- package/lib/template/ui/kendo/table/input-group.pug +2 -2
- package/lib/template/ui/kendo/table/language-textbox.pug +2 -2
- package/lib/template/ui/kendo/table/lookup-employee.pug +1 -1
- package/lib/template/ui/kendo/table/lookup.pug +22 -22
- package/lib/template/ui/kendo/table/multi-select.pug +1 -1
- package/lib/template/ui/kendo/table/multitextbox.pug +2 -2
- package/lib/template/ui/kendo/table/numericbox.pug +12 -2
- package/lib/template/ui/kendo/table/organization-selector.pug +1 -1
- package/lib/template/ui/kendo/table/radiobox.pug +1 -1
- package/lib/template/ui/kendo/table/radioboxgroup.pug +2 -2
- package/lib/template/ui/kendo/table/richtextbox.pug +1 -1
- package/lib/template/ui/kendo/table/select.pug +10 -2
- package/lib/template/ui/kendo/table/switch.pug +11 -2
- package/lib/template/ui/kendo/table/textbox.pug +3 -3
- package/lib/template/ui/kendo/table/timebox.pug +9 -1
- package/lib/template/ui/kendo/table/timepicker.pug +5 -1
- package/lib/template/ui/kendo/table/tinymcerichtextbox.pug +11 -3
- package/lib/template/ui/kendo/textbox.pug +31 -7
- package/lib/template/ui/kendo/tinymcerichtextbox.pug +16 -8
- package/lib/template/ui/kendo/toolbar.pug +6 -2
- package/lib/template/ui/mobilevue2/action-bar.pug +10 -10
- package/lib/template/ui/mobilevue2/attachment-entry.pug +8 -8
- package/lib/template/ui/mobilevue2/attachment.pug +13 -13
- package/lib/template/ui/mobilevue2/button.pug +11 -11
- package/lib/template/ui/mobilevue2/calendar.pug +11 -11
- package/lib/template/ui/mobilevue2/checkbox-group.pug +11 -11
- package/lib/template/ui/mobilevue2/component-ref.pug +3 -3
- package/lib/template/ui/mobilevue2/contentcontainer.pug +4 -4
- package/lib/template/ui/mobilevue2/date-time-picker.pug +27 -27
- package/lib/template/ui/mobilevue2/field-set.pug +29 -29
- package/lib/template/ui/mobilevue2/filter.pug +8 -8
- package/lib/template/ui/mobilevue2/footer.pug +10 -10
- package/lib/template/ui/mobilevue2/form.pug +11 -11
- package/lib/template/ui/mobilevue2/image.pug +11 -11
- package/lib/template/ui/mobilevue2/label.pug +19 -19
- package/lib/template/ui/mobilevue2/list-view.pug +37 -37
- package/lib/template/ui/mobilevue2/lookup-input.pug +40 -40
- package/lib/template/ui/mobilevue2/nav-bar.pug +10 -10
- package/lib/template/ui/mobilevue2/number.pug +27 -27
- package/lib/template/ui/mobilevue2/picker.pug +29 -29
- package/lib/template/ui/mobilevue2/radio-group.pug +29 -29
- package/lib/template/ui/mobilevue2/schedule.pug +8 -8
- package/lib/template/ui/mobilevue2/section.pug +15 -15
- package/lib/template/ui/mobilevue2/steps.pug +8 -8
- package/lib/template/ui/mobilevue2/switch.pug +16 -16
- package/lib/template/ui/mobilevue2/tabpage.pug +6 -6
- package/lib/template/ui/mobilevue2/tabs.pug +9 -9
- package/lib/template/ui/mobilevue2/text-area.pug +23 -23
- package/lib/template/ui/mobilevue2/text-box.pug +25 -25
- package/lib/template/ui/mobilevue2/toolbar-item.pug +6 -6
- package/lib/template/ui/mobilevue2/toolbar.pug +3 -3
- package/lib/template/ui/mobilevue2/vant-tabpage.pug +5 -5
- package/lib/template/ui/mobilevue2/vant-tabs.pug +5 -5
- package/lib/type.js +0 -0
- package/lib/type.js.map +0 -0
- package/lib/utility/.DS_Store +0 -0
- package/lib/utility/behavior/behavior-manager.js +46 -7
- package/lib/utility/behavior/behavior-manager.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/farris-section-collector.js +3 -1
- 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 +2 -0
- package/lib/utility/devkit/component-parameter-collector/farris-tabs-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/query-schema-collector.js +6 -2
- package/lib/utility/devkit/component-parameter-collector/query-schema-collector.js.map +1 -1
- package/lib/utility/devkit/component-parameter-collector/toolbar-collector.js +7 -3
- package/lib/utility/devkit/component-parameter-collector/toolbar-collector.js.map +1 -1
- package/lib/utility/devkit/form-file-executor.js +8 -1
- package/lib/utility/devkit/form-file-executor.js.map +1 -1
- package/lib/utility/farris-datagrid/lookup-editor.js +1 -1
- package/lib/utility/farris-datagrid/lookup-editor.js.map +1 -1
- package/lib/utility/template-generator/devkit/component-generator/component-farristabs-parameter-generator.js +47 -44
- package/lib/utility/template-generator/devkit/component-generator/component-farristabs-parameter-generator.js.map +1 -1
- package/lib/utility/template-generator/devkit/component-generator/component-import-generator.js +6 -1
- package/lib/utility/template-generator/devkit/component-generator/component-import-generator.js.map +1 -1
- package/lib/utility/template-generator/devkit/component-generator/component-provider-generator.js +5 -0
- package/lib/utility/template-generator/devkit/component-generator/component-provider-generator.js.map +1 -1
- package/lib/utility/template-generator/devkit/component-generator/component-queryschema-parameter-generator.js +22 -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-section-parameter-generator.js +27 -44
- package/lib/utility/template-generator/devkit/component-generator/component-section-parameter-generator.js.map +1 -1
- package/lib/utility/template-generator/devkit/component-generator/component-toolbar-parameter-generator.js +63 -19
- package/lib/utility/template-generator/devkit/component-generator/component-toolbar-parameter-generator.js.map +1 -1
- package/lib/utility/template-generator/devkit/component-template-generator.js +2 -1
- package/lib/utility/template-generator/devkit/component-template-generator.js.map +1 -1
- package/lib/utility/template-generator/project/angularJson-generator.js +1 -0
- package/lib/utility/template-generator/project/angularJson-generator.js.map +1 -1
- package/lib/utility/template-generator/project-app/app-module-ts-generator.js +5 -1
- package/lib/utility/template-generator/project-app/app-module-ts-generator.js.map +1 -1
- package/package.json +1 -1
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/approval-comments.js +0 -37
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/approval-comments.js.map +0 -1
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/employeeorg-selector.js +0 -45
- package/lib/domstructure/ui/data/fields/form/editable/inputs/value/employeeorg-selector.js.map +0 -1
- package/lib/utility/behavior/type.js +0 -7
- package/lib/utility/behavior/type.js.map +0 -1
- package/lib/utility/behavior/typeparam.js +0 -22
- package/lib/utility/behavior/typeparam.js.map +0 -1
|
@@ -1,28 +1,28 @@
|
|
|
1
|
-
-variable.readonly = variable.readonly?String(variable.readonly).replace(/"/g, "'")+"":undefined;
|
|
2
|
-
|
|
3
|
-
div(v-if=variable.visible?variable.visible+"":"false" class="fm-input-wrapper")
|
|
4
|
-
farris-mobile-number(
|
|
5
|
-
v-if=variable.isTextArea?"!stateMachine['showStaticText']":undefined
|
|
6
|
-
id=variable.id?""+variable.id:undefined
|
|
7
|
-
label=variable.title?""+variable.title:undefined
|
|
8
|
-
disabled=variable.disabled?""+variable.disabled:undefined
|
|
9
|
-
:readonly=variable.readonly?""+variable.readonly:undefined
|
|
10
|
-
:required!=variable.require?variable.require+"":undefined
|
|
11
|
-
placeholder=variable.placeholder?""+variable.placeholder:undefined
|
|
12
|
-
v-model=variable.binding && variable.binding.path?"form."+variable.binding.path+".value":undefined
|
|
13
|
-
maxValue=variable.maxValue?""+variable.maxValue:undefined
|
|
14
|
-
minValue=variable.minValue?""+variable.minValue:undefined
|
|
15
|
-
step=variable.step?""+variable.step:undefined
|
|
16
|
-
:precision=variable.precision?""+variable.precision:undefined
|
|
17
|
-
:error-message!=variable.errorMessage
|
|
18
|
-
error-message-align=variable.errorMessage ? "right" : undefined
|
|
19
|
-
)
|
|
20
|
-
if(variable.rightTemplate)
|
|
21
|
-
template(#right-icon)
|
|
22
|
-
| !{variable.rightTemplate}
|
|
23
|
-
if(variable.isTextArea)
|
|
24
|
-
farris-mobile-text(
|
|
25
|
-
v-if="stateMachine['showStaticText']"
|
|
26
|
-
label=variable.title?variable.title:undefined
|
|
27
|
-
:value=variable.binding && variable.binding.path?"form."+variable.binding.path+".value":undefined
|
|
1
|
+
-variable.readonly = variable.readonly?String(variable.readonly).replace(/"/g, "'")+"":undefined;
|
|
2
|
+
|
|
3
|
+
div(v-if=variable.visible?variable.visible+"":"false" class="fm-input-wrapper")
|
|
4
|
+
farris-mobile-number(
|
|
5
|
+
v-if=variable.isTextArea?"!stateMachine['showStaticText']":undefined
|
|
6
|
+
id=variable.id?""+variable.id:undefined
|
|
7
|
+
label=variable.title?""+variable.title:undefined
|
|
8
|
+
disabled=variable.disabled?""+variable.disabled:undefined
|
|
9
|
+
:readonly=variable.readonly?""+variable.readonly:undefined
|
|
10
|
+
:required!=variable.require?variable.require+"":undefined
|
|
11
|
+
placeholder=variable.placeholder?""+variable.placeholder:undefined
|
|
12
|
+
v-model=variable.binding && variable.binding.path?"form."+variable.binding.path+".value":undefined
|
|
13
|
+
maxValue=variable.maxValue?""+variable.maxValue:undefined
|
|
14
|
+
minValue=variable.minValue?""+variable.minValue:undefined
|
|
15
|
+
step=variable.step?""+variable.step:undefined
|
|
16
|
+
:precision=variable.precision?""+variable.precision:undefined
|
|
17
|
+
:error-message!=variable.errorMessage
|
|
18
|
+
error-message-align=variable.errorMessage ? "right" : undefined
|
|
19
|
+
)
|
|
20
|
+
if(variable.rightTemplate)
|
|
21
|
+
template(#right-icon)
|
|
22
|
+
| !{variable.rightTemplate}
|
|
23
|
+
if(variable.isTextArea)
|
|
24
|
+
farris-mobile-text(
|
|
25
|
+
v-if="stateMachine['showStaticText']"
|
|
26
|
+
label=variable.title?variable.title:undefined
|
|
27
|
+
:value=variable.binding && variable.binding.path?"form."+variable.binding.path+".value":undefined
|
|
28
28
|
)
|
|
@@ -1,30 +1,30 @@
|
|
|
1
|
-
-variable.readonly = variable.readonly?String(variable.readonly).replace(/"/g, "'")+"":undefined;
|
|
2
|
-
|
|
3
|
-
div(class="fm-input-wrapper" v-if=variable.visible?variable.visible+"":"false")
|
|
4
|
-
farris-mobile-picker(
|
|
5
|
-
v-if=variable.isTextArea?"!stateMachine['showStaticText']":undefined
|
|
6
|
-
id=variable.title?""+variable.id:undefined
|
|
7
|
-
label=variable.title?""+variable.title:undefined
|
|
8
|
-
disable=variable.disable?""+variable.disable:undefined
|
|
9
|
-
:readonly=variable.readonly?""+variable.readonly:undefined
|
|
10
|
-
:required!=variable.require?variable.require+"":undefined
|
|
11
|
-
placeholder=variable.placeholder?""+variable.placeholder:undefined
|
|
12
|
-
show-toolbar
|
|
13
|
-
v-model=variable.binding && variable.binding.path?"form."+variable.binding.path+".value":undefined
|
|
14
|
-
:data!=variable.enumData? JSON.stringify(variable.enumData).replace(/"/g, "'") :undefined
|
|
15
|
-
idField=variable.idField?""+variable.idField:undefined
|
|
16
|
-
textField=variable.textField?""+variable.textField:undefined
|
|
17
|
-
valueField=variable.valueField?""+variable.valueField:undefined
|
|
18
|
-
input-align="right"
|
|
19
|
-
:error-message!=variable.errorMessage
|
|
20
|
-
error-message-align=variable.errorMessage ? "right" : undefined
|
|
21
|
-
)
|
|
22
|
-
if(variable.rightTemplate)
|
|
23
|
-
template(#right-icon)
|
|
24
|
-
| !{variable.rightTemplate}
|
|
25
|
-
if(variable.isTextArea)
|
|
26
|
-
farris-mobile-text(
|
|
27
|
-
v-if="stateMachine['showStaticText']"
|
|
28
|
-
label=variable.title?variable.title:undefined
|
|
29
|
-
:value=variable.binding && variable.binding.path?"form."+variable.binding.path+".value":undefined
|
|
1
|
+
-variable.readonly = variable.readonly?String(variable.readonly).replace(/"/g, "'")+"":undefined;
|
|
2
|
+
|
|
3
|
+
div(class="fm-input-wrapper" v-if=variable.visible?variable.visible+"":"false")
|
|
4
|
+
farris-mobile-picker(
|
|
5
|
+
v-if=variable.isTextArea?"!stateMachine['showStaticText']":undefined
|
|
6
|
+
id=variable.title?""+variable.id:undefined
|
|
7
|
+
label=variable.title?""+variable.title:undefined
|
|
8
|
+
disable=variable.disable?""+variable.disable:undefined
|
|
9
|
+
:readonly=variable.readonly?""+variable.readonly:undefined
|
|
10
|
+
:required!=variable.require?variable.require+"":undefined
|
|
11
|
+
placeholder=variable.placeholder?""+variable.placeholder:undefined
|
|
12
|
+
show-toolbar
|
|
13
|
+
v-model=variable.binding && variable.binding.path?"form."+variable.binding.path+".value":undefined
|
|
14
|
+
:data!=variable.enumData? JSON.stringify(variable.enumData).replace(/"/g, "'") :undefined
|
|
15
|
+
idField=variable.idField?""+variable.idField:undefined
|
|
16
|
+
textField=variable.textField?""+variable.textField:undefined
|
|
17
|
+
valueField=variable.valueField?""+variable.valueField:undefined
|
|
18
|
+
input-align="right"
|
|
19
|
+
:error-message!=variable.errorMessage
|
|
20
|
+
error-message-align=variable.errorMessage ? "right" : undefined
|
|
21
|
+
)
|
|
22
|
+
if(variable.rightTemplate)
|
|
23
|
+
template(#right-icon)
|
|
24
|
+
| !{variable.rightTemplate}
|
|
25
|
+
if(variable.isTextArea)
|
|
26
|
+
farris-mobile-text(
|
|
27
|
+
v-if="stateMachine['showStaticText']"
|
|
28
|
+
label=variable.title?variable.title:undefined
|
|
29
|
+
:value=variable.binding && variable.binding.path?"form."+variable.binding.path+".value":undefined
|
|
30
30
|
)
|
|
@@ -1,29 +1,29 @@
|
|
|
1
|
-
-variable.readonly = variable.readonly?String(variable.readonly).replace(/"/g, "'")+"":undefined;
|
|
2
|
-
|
|
3
|
-
div(class="fm-input-wrapper" v-if=variable.visible?undefined:"false")
|
|
4
|
-
//- farris-mobile-radio-group(
|
|
5
|
-
//- v-if=variable.isTextArea?"!stateMachine['showStaticText']":undefined
|
|
6
|
-
//- id=variable.id?""+variable.id:undefined
|
|
7
|
-
//- title=variable.title?""+variable.title:undefined
|
|
8
|
-
//- :disabled!=variable.readonly?variable.readonly+"":undefined
|
|
9
|
-
//- v-model=variable.binding && variable.binding.path?"form."+variable.binding.path+".value":undefined
|
|
10
|
-
//- size=variable.size?""+variable.size:undefined
|
|
11
|
-
//- )
|
|
12
|
-
//- if(variable.isTextArea)
|
|
13
|
-
//- farris-mobile-text(
|
|
14
|
-
//- v-if="stateMachine['showStaticText']"
|
|
15
|
-
//- label=variable.title?variable.title:undefined
|
|
16
|
-
//- :value=variable.binding && variable.binding.path?"form."+variable.binding.path+".value":undefined
|
|
17
|
-
//- )
|
|
18
|
-
van-cell(title=variable.title?""+variable.title:undefined class=variable.require?"van-cell--required":undefined id=variable.id?"" + variable.id:undefined )
|
|
19
|
-
template(#label)
|
|
20
|
-
farris-mobile-radio-group(
|
|
21
|
-
v-model=variable.binding && variable.binding.path?"form."+variable.binding.path+".value":undefined
|
|
22
|
-
:items=variable.enumData?""+variable.enumData:undefined
|
|
23
|
-
valueField=variable.valueField?""+variable.valueField:undefined
|
|
24
|
-
textField=variable.textField?""+variable.textField:undefined
|
|
25
|
-
:disabled=variable.readonly?variable.readonly+"":undefined
|
|
26
|
-
:readonly=variable.readonly?variable.readonly+"":undefined
|
|
27
|
-
:direction=variable.direction?variable.direction+"":undefined
|
|
28
|
-
:checked-color=variable.checkedColor?variable.checkedColor+"":undefined
|
|
29
|
-
)
|
|
1
|
+
-variable.readonly = variable.readonly?String(variable.readonly).replace(/"/g, "'")+"":undefined;
|
|
2
|
+
|
|
3
|
+
div(class="fm-input-wrapper" v-if=variable.visible?undefined:"false")
|
|
4
|
+
//- farris-mobile-radio-group(
|
|
5
|
+
//- v-if=variable.isTextArea?"!stateMachine['showStaticText']":undefined
|
|
6
|
+
//- id=variable.id?""+variable.id:undefined
|
|
7
|
+
//- title=variable.title?""+variable.title:undefined
|
|
8
|
+
//- :disabled!=variable.readonly?variable.readonly+"":undefined
|
|
9
|
+
//- v-model=variable.binding && variable.binding.path?"form."+variable.binding.path+".value":undefined
|
|
10
|
+
//- size=variable.size?""+variable.size:undefined
|
|
11
|
+
//- )
|
|
12
|
+
//- if(variable.isTextArea)
|
|
13
|
+
//- farris-mobile-text(
|
|
14
|
+
//- v-if="stateMachine['showStaticText']"
|
|
15
|
+
//- label=variable.title?variable.title:undefined
|
|
16
|
+
//- :value=variable.binding && variable.binding.path?"form."+variable.binding.path+".value":undefined
|
|
17
|
+
//- )
|
|
18
|
+
van-cell(title=variable.title?""+variable.title:undefined class=variable.require?"van-cell--required":undefined id=variable.id?"" + variable.id:undefined )
|
|
19
|
+
template(#label)
|
|
20
|
+
farris-mobile-radio-group(
|
|
21
|
+
v-model=variable.binding && variable.binding.path?"form."+variable.binding.path+".value":undefined
|
|
22
|
+
:items=variable.enumData?""+variable.enumData:undefined
|
|
23
|
+
valueField=variable.valueField?""+variable.valueField:undefined
|
|
24
|
+
textField=variable.textField?""+variable.textField:undefined
|
|
25
|
+
:disabled=variable.readonly?variable.readonly+"":undefined
|
|
26
|
+
:readonly=variable.readonly?variable.readonly+"":undefined
|
|
27
|
+
:direction=variable.direction?variable.direction+"":undefined
|
|
28
|
+
:checked-color=variable.checkedColor?variable.checkedColor+"":undefined
|
|
29
|
+
)
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
farris-mobile-scheadule(
|
|
2
|
-
class=(variable.appearance && variable.appearance.class)
|
|
3
|
-
style=(variable.appearance && variable.appearance.style)
|
|
4
|
-
v-if=variable.visible?variable.visible+"":"false"
|
|
5
|
-
:startTime=variable.startTime?""+variable.startTime:undefined
|
|
6
|
-
:endTime=variable.endTime?""+variable.endTime:undefined
|
|
7
|
-
:events=variable.events?variable.events:undefined
|
|
8
|
-
eventColor=variable.eventColor?""+variable.eventColor:undefined
|
|
1
|
+
farris-mobile-scheadule(
|
|
2
|
+
class=(variable.appearance && variable.appearance.class)
|
|
3
|
+
style=(variable.appearance && variable.appearance.style)
|
|
4
|
+
v-if=variable.visible?variable.visible+"":"false"
|
|
5
|
+
:startTime=variable.startTime?""+variable.startTime:undefined
|
|
6
|
+
:endTime=variable.endTime?""+variable.endTime:undefined
|
|
7
|
+
:events=variable.events?variable.events:undefined
|
|
8
|
+
eventColor=variable.eventColor?""+variable.eventColor:undefined
|
|
9
9
|
)
|
|
@@ -1,16 +1,16 @@
|
|
|
1
|
-
div(
|
|
2
|
-
v-if=variable.visible?variable.visible+"":"false"
|
|
3
|
-
id=variable.replacedId?""+variable.replacedId:undefined
|
|
4
|
-
class="fm-tmpl-struct-wrapper"
|
|
5
|
-
style=(variable.appearance && variable.appearance.style)
|
|
6
|
-
)
|
|
7
|
-
div(class="fm-tmpl-section fm-tmpl-section-form")
|
|
8
|
-
div(class="fm-tmpl-section-header")
|
|
9
|
-
if(variable.headerTemplate)
|
|
10
|
-
| !{variable.headerTemplate}
|
|
11
|
-
else
|
|
12
|
-
<div class="fm-title">
|
|
13
|
-
<span class="fm-title-text">标题</span>
|
|
14
|
-
</div>
|
|
15
|
-
div(class="fm-tmpl-section-content")
|
|
1
|
+
div(
|
|
2
|
+
v-if=variable.visible?variable.visible+"":"false"
|
|
3
|
+
id=variable.replacedId?""+variable.replacedId:undefined
|
|
4
|
+
class="fm-tmpl-struct-wrapper"
|
|
5
|
+
style=(variable.appearance && variable.appearance.style)
|
|
6
|
+
)
|
|
7
|
+
div(class="fm-tmpl-section fm-tmpl-section-form")
|
|
8
|
+
div(class="fm-tmpl-section-header")
|
|
9
|
+
if(variable.headerTemplate)
|
|
10
|
+
| !{variable.headerTemplate}
|
|
11
|
+
else
|
|
12
|
+
<div class="fm-title">
|
|
13
|
+
<span class="fm-title-text">标题</span>
|
|
14
|
+
</div>
|
|
15
|
+
div(class="fm-tmpl-section-content")
|
|
16
16
|
| {{content}}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
farris-mobile-steps(
|
|
2
|
-
class=(variable.appearance && variable.appearance.class)
|
|
3
|
-
style=(variable.appearance && variable.appearance.style)
|
|
4
|
-
v-if=variable.visible?variable.visible+"":"false"
|
|
5
|
-
:steps=variable.size?""+variable.size:undefined
|
|
6
|
-
direction=variable.size?""+variable.size:undefined
|
|
7
|
-
:current=variable.size?""+variable.size:undefined
|
|
8
|
-
:fill=variable.size?""+variable.size:undefined
|
|
1
|
+
farris-mobile-steps(
|
|
2
|
+
class=(variable.appearance && variable.appearance.class)
|
|
3
|
+
style=(variable.appearance && variable.appearance.style)
|
|
4
|
+
v-if=variable.visible?variable.visible+"":"false"
|
|
5
|
+
:steps=variable.size?""+variable.size:undefined
|
|
6
|
+
direction=variable.size?""+variable.size:undefined
|
|
7
|
+
:current=variable.size?""+variable.size:undefined
|
|
8
|
+
:fill=variable.size?""+variable.size:undefined
|
|
9
9
|
)
|
|
@@ -1,17 +1,17 @@
|
|
|
1
|
-
-variable.readonly = variable.readonly?String(variable.readonly).replace(/"/g, "'")+"":undefined;
|
|
2
|
-
|
|
3
|
-
div(class="fm-input-wrapper" v-if=variable.visible?variable.visible+"":"false")
|
|
4
|
-
farris-mobile-switch-cell(
|
|
5
|
-
v-if=variable.isTextArea?"!stateMachine['showStaticText']":undefined
|
|
6
|
-
id=variable.id?""+variable.id:undefined
|
|
7
|
-
title=variable.title?""+variable.title:undefined
|
|
8
|
-
:disabled!=variable.readonly?variable.readonly+"":undefined
|
|
9
|
-
v-model=variable.binding && variable.binding.path?"form."+variable.binding.path+".value":undefined
|
|
10
|
-
size=variable.size?""+variable.size:undefined
|
|
11
|
-
)
|
|
12
|
-
if(variable.isTextArea)
|
|
13
|
-
farris-mobile-text(
|
|
14
|
-
v-if="stateMachine['showStaticText']"
|
|
15
|
-
label=variable.title?variable.title:undefined
|
|
16
|
-
:value=variable.binding && variable.binding.path?"form."+variable.binding.path+".value":undefined
|
|
1
|
+
-variable.readonly = variable.readonly?String(variable.readonly).replace(/"/g, "'")+"":undefined;
|
|
2
|
+
|
|
3
|
+
div(class="fm-input-wrapper" v-if=variable.visible?variable.visible+"":"false")
|
|
4
|
+
farris-mobile-switch-cell(
|
|
5
|
+
v-if=variable.isTextArea?"!stateMachine['showStaticText']":undefined
|
|
6
|
+
id=variable.id?""+variable.id:undefined
|
|
7
|
+
title=variable.title?""+variable.title:undefined
|
|
8
|
+
:disabled!=variable.readonly?variable.readonly+"":undefined
|
|
9
|
+
v-model=variable.binding && variable.binding.path?"form."+variable.binding.path+".value":undefined
|
|
10
|
+
size=variable.size?""+variable.size:undefined
|
|
11
|
+
)
|
|
12
|
+
if(variable.isTextArea)
|
|
13
|
+
farris-mobile-text(
|
|
14
|
+
v-if="stateMachine['showStaticText']"
|
|
15
|
+
label=variable.title?variable.title:undefined
|
|
16
|
+
:value=variable.binding && variable.binding.path?"form."+variable.binding.path+".value":undefined
|
|
17
17
|
)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
farris-mobile-tab(
|
|
2
|
-
v-if=variable.visible?variable.visible+"":"false"
|
|
3
|
-
title=variable.title?""+variable.title:undefined
|
|
4
|
-
:title=variable.bindTitle?""+variable.bindTitle:undefined
|
|
5
|
-
name=variable.id?""+variable.id:undefined
|
|
6
|
-
)
|
|
1
|
+
farris-mobile-tab(
|
|
2
|
+
v-if=variable.visible?variable.visible+"":"false"
|
|
3
|
+
title=variable.title?""+variable.title:undefined
|
|
4
|
+
:title=variable.bindTitle?""+variable.bindTitle:undefined
|
|
5
|
+
name=variable.id?""+variable.id:undefined
|
|
6
|
+
)
|
|
7
7
|
| {{content}}
|
|
@@ -1,10 +1,10 @@
|
|
|
1
|
-
farris-mobile-tabs(
|
|
2
|
-
class=(variable.appearance && variable.appearance.class)
|
|
3
|
-
v-if=variable.visible?variable.visible+"":"false"
|
|
4
|
-
v-bind-tab-extender
|
|
5
|
-
@change=variable.tabChange?""+variable.tabChange:undefined
|
|
6
|
-
)
|
|
7
|
-
if(variable.titleTemplate)
|
|
8
|
-
template(v-slot:title="props")
|
|
9
|
-
| !{variable.titleTemplate}
|
|
1
|
+
farris-mobile-tabs(
|
|
2
|
+
class=(variable.appearance && variable.appearance.class)
|
|
3
|
+
v-if=variable.visible?variable.visible+"":"false"
|
|
4
|
+
v-bind-tab-extender
|
|
5
|
+
@change=variable.tabChange?""+variable.tabChange:undefined
|
|
6
|
+
)
|
|
7
|
+
if(variable.titleTemplate)
|
|
8
|
+
template(v-slot:title="props")
|
|
9
|
+
| !{variable.titleTemplate}
|
|
10
10
|
| {{content}}
|
|
@@ -1,24 +1,24 @@
|
|
|
1
|
-
-variable.readonly = variable.readonly?String(variable.readonly).replace(/"/g, "'")+"":undefined;
|
|
2
|
-
|
|
3
|
-
div(class="fm-input-wrapper" v-if=variable.visible?variable.visible+"":"false")
|
|
4
|
-
farris-mobile-textarea(
|
|
5
|
-
v-if=variable.isTextArea?"!stateMachine['showStaticText']":undefined
|
|
6
|
-
:readonly!=variable.readonly?variable.readonly+"":undefined
|
|
7
|
-
:required!=variable.require?variable.require+"":undefined
|
|
8
|
-
id=variable.id?"" + variable.id:undefined
|
|
9
|
-
label=variable.title?variable.title:undefined
|
|
10
|
-
placeholder=variable.placeholder?""+variable.placeholder:undefined
|
|
11
|
-
input-align="right"
|
|
12
|
-
v-model=variable.binding && variable.binding.path?"form."+variable.binding.path+".value":undefined
|
|
13
|
-
:error-message!=variable.errorMessage
|
|
14
|
-
error-message-align=variable.errorMessage ? "right" : undefined
|
|
15
|
-
)
|
|
16
|
-
if(variable.rightTemplate)
|
|
17
|
-
template(#right-icon)
|
|
18
|
-
| !{variable.rightTemplate}
|
|
19
|
-
if(variable.isTextArea)
|
|
20
|
-
farris-mobile-text(
|
|
21
|
-
v-if="stateMachine['showStaticText']"
|
|
22
|
-
label=variable.title?variable.title:undefined
|
|
23
|
-
:value=variable.binding && variable.binding.path?"form."+variable.binding.path+".value":undefined
|
|
1
|
+
-variable.readonly = variable.readonly?String(variable.readonly).replace(/"/g, "'")+"":undefined;
|
|
2
|
+
|
|
3
|
+
div(class="fm-input-wrapper" v-if=variable.visible?variable.visible+"":"false")
|
|
4
|
+
farris-mobile-textarea(
|
|
5
|
+
v-if=variable.isTextArea?"!stateMachine['showStaticText']":undefined
|
|
6
|
+
:readonly!=variable.readonly?variable.readonly+"":undefined
|
|
7
|
+
:required!=variable.require?variable.require+"":undefined
|
|
8
|
+
id=variable.id?"" + variable.id:undefined
|
|
9
|
+
label=variable.title?variable.title:undefined
|
|
10
|
+
placeholder=variable.placeholder?""+variable.placeholder:undefined
|
|
11
|
+
input-align="right"
|
|
12
|
+
v-model=variable.binding && variable.binding.path?"form."+variable.binding.path+".value":undefined
|
|
13
|
+
:error-message!=variable.errorMessage
|
|
14
|
+
error-message-align=variable.errorMessage ? "right" : undefined
|
|
15
|
+
)
|
|
16
|
+
if(variable.rightTemplate)
|
|
17
|
+
template(#right-icon)
|
|
18
|
+
| !{variable.rightTemplate}
|
|
19
|
+
if(variable.isTextArea)
|
|
20
|
+
farris-mobile-text(
|
|
21
|
+
v-if="stateMachine['showStaticText']"
|
|
22
|
+
label=variable.title?variable.title:undefined
|
|
23
|
+
:value=variable.binding && variable.binding.path?"form."+variable.binding.path+".value":undefined
|
|
24
24
|
)
|
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
-variable.readonly = variable.readonly?String(variable.readonly).replace(/"/g, "'")+"":undefined;
|
|
2
|
-
//- -variable.errorMessage = variable.binding && variable.binding.path? `form.${variable.binding.path}.validationResult && form.${variable.binding.path}.validationResult.message`:undefined
|
|
3
|
-
|
|
4
|
-
div(class="fm-input-wrapper" v-if=variable.visible?variable.visible+"":"false")
|
|
5
|
-
farris-mobile-textbox(
|
|
6
|
-
id=variable.id?"" + variable.id:undefined
|
|
7
|
-
v-if=variable.isTextArea?"!stateMachine['showStaticText']":undefined
|
|
8
|
-
:readonly!=variable.readonly?variable.readonly+"":undefined
|
|
9
|
-
:required!=variable.require?variable.require+"":undefined
|
|
10
|
-
label=variable.title?variable.title:undefined
|
|
11
|
-
placeholder=variable.placeholder?""+variable.placeholder:undefined
|
|
12
|
-
v-model=variable.binding && variable.binding.path?"form."+variable.binding.path+".value":undefined
|
|
13
|
-
input-align="right"
|
|
14
|
-
:error-message!=variable.errorMessage
|
|
15
|
-
error-message-align=variable.errorMessage ? "right" : undefined
|
|
16
|
-
)
|
|
17
|
-
if(variable.rightTemplate)
|
|
18
|
-
template(#right-icon)
|
|
19
|
-
| !{variable.rightTemplate}
|
|
20
|
-
if(variable.isTextArea)
|
|
21
|
-
farris-mobile-text(
|
|
22
|
-
v-if="stateMachine['showStaticText']"
|
|
23
|
-
label=variable.title?variable.title:undefined
|
|
24
|
-
:value=variable.binding && variable.binding.path?"form."+variable.binding.path+".value":undefined
|
|
25
|
-
)
|
|
1
|
+
-variable.readonly = variable.readonly?String(variable.readonly).replace(/"/g, "'")+"":undefined;
|
|
2
|
+
//- -variable.errorMessage = variable.binding && variable.binding.path? `form.${variable.binding.path}.validationResult && form.${variable.binding.path}.validationResult.message`:undefined
|
|
3
|
+
|
|
4
|
+
div(class="fm-input-wrapper" v-if=variable.visible?variable.visible+"":"false")
|
|
5
|
+
farris-mobile-textbox(
|
|
6
|
+
id=variable.id?"" + variable.id:undefined
|
|
7
|
+
v-if=variable.isTextArea?"!stateMachine['showStaticText']":undefined
|
|
8
|
+
:readonly!=variable.readonly?variable.readonly+"":undefined
|
|
9
|
+
:required!=variable.require?variable.require+"":undefined
|
|
10
|
+
label=variable.title?variable.title:undefined
|
|
11
|
+
placeholder=variable.placeholder?""+variable.placeholder:undefined
|
|
12
|
+
v-model=variable.binding && variable.binding.path?"form."+variable.binding.path+".value":undefined
|
|
13
|
+
input-align="right"
|
|
14
|
+
:error-message!=variable.errorMessage
|
|
15
|
+
error-message-align=variable.errorMessage ? "right" : undefined
|
|
16
|
+
)
|
|
17
|
+
if(variable.rightTemplate)
|
|
18
|
+
template(#right-icon)
|
|
19
|
+
| !{variable.rightTemplate}
|
|
20
|
+
if(variable.isTextArea)
|
|
21
|
+
farris-mobile-text(
|
|
22
|
+
v-if="stateMachine['showStaticText']"
|
|
23
|
+
label=variable.title?variable.title:undefined
|
|
24
|
+
:value=variable.binding && variable.binding.path?"form."+variable.binding.path+".value":undefined
|
|
25
|
+
)
|
|
@@ -1,7 +1,7 @@
|
|
|
1
|
-
-var iconClass = "fm-popover-item-icon " + variable.iconType ? variable.iconType : '';
|
|
2
|
-
div(class="fm-popover-item" "v-on:click"=variable.click?""+variable.click:undefined v-if=variable.visible?variable.visible+"":"false")
|
|
3
|
-
div(class="fm-popover-item-container")
|
|
4
|
-
if(variable.iconType)
|
|
5
|
-
div(class=iconClass)
|
|
6
|
-
div(class="fm-popover-item-content")
|
|
1
|
+
-var iconClass = "fm-popover-item-icon " + variable.iconType ? variable.iconType : '';
|
|
2
|
+
div(class="fm-popover-item" "v-on:click"=variable.click?""+variable.click:undefined v-if=variable.visible?variable.visible+"":"false")
|
|
3
|
+
div(class="fm-popover-item-container")
|
|
4
|
+
if(variable.iconType)
|
|
5
|
+
div(class=iconClass)
|
|
6
|
+
div(class="fm-popover-item-content")
|
|
7
7
|
| !{variable.text?variable.text:""}
|
|
@@ -1,4 +1,4 @@
|
|
|
1
|
-
farris-mobile-popover(v-if=variable.visible?variable.visible+"":"false")
|
|
2
|
-
span(class="fm-icon fm-icon-other")
|
|
3
|
-
template(slot="content")
|
|
1
|
+
farris-mobile-popover(v-if=variable.visible?variable.visible+"":"false")
|
|
2
|
+
span(class="fm-icon fm-icon-other")
|
|
3
|
+
template(slot="content")
|
|
4
4
|
| {{content}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
van-tab(
|
|
2
|
-
v-if=variable.visible?variable.visible+"":"false"
|
|
3
|
-
title=variable.title?""+variable.title:undefined
|
|
4
|
-
name=variable.id?""+variable.id:undefined
|
|
5
|
-
)
|
|
1
|
+
van-tab(
|
|
2
|
+
v-if=variable.visible?variable.visible+"":"false"
|
|
3
|
+
title=variable.title?""+variable.title:undefined
|
|
4
|
+
name=variable.id?""+variable.id:undefined
|
|
5
|
+
)
|
|
6
6
|
| {{content}}
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
van-tabs(
|
|
2
|
-
class=(variable.appearance && variable.appearance.class)
|
|
3
|
-
v-if=variable.visible?variable.visible+"":"false"
|
|
4
|
-
@change=variable.tabChange?""+variable.tabChange:undefined
|
|
5
|
-
)
|
|
1
|
+
van-tabs(
|
|
2
|
+
class=(variable.appearance && variable.appearance.class)
|
|
3
|
+
v-if=variable.visible?variable.visible+"":"false"
|
|
4
|
+
@change=variable.tabChange?""+variable.tabChange:undefined
|
|
5
|
+
)
|
|
6
6
|
| {{content}}
|
package/lib/type.js
CHANGED
|
File without changes
|
package/lib/type.js.map
CHANGED
|
File without changes
|
|
Binary file
|
|
@@ -90,14 +90,14 @@ class BehaviorManager {
|
|
|
90
90
|
let targetButton = {
|
|
91
91
|
"id": singleButton.id,
|
|
92
92
|
"type": singleButton.type,
|
|
93
|
-
"parentId":
|
|
93
|
+
"parentId": singleButton.id,
|
|
94
94
|
"rules": [
|
|
95
95
|
{
|
|
96
|
-
"
|
|
96
|
+
"type": "visible",
|
|
97
97
|
"rule": this.behaviorValueHandler(singleButton.visible)
|
|
98
98
|
},
|
|
99
99
|
{
|
|
100
|
-
"
|
|
100
|
+
"type": "disabled",
|
|
101
101
|
"rule": this.behaviorValueHandler(singleButton.disable)
|
|
102
102
|
}
|
|
103
103
|
]
|
|
@@ -161,11 +161,47 @@ class BehaviorManager {
|
|
|
161
161
|
if (item.fields && toolhepler_1.ToolHelper.isArray(item.fields, false)) {
|
|
162
162
|
this.collectFields(fieId, item.fields, targetLabel, controlParams);
|
|
163
163
|
}
|
|
164
|
+
if (item.columns && toolhepler_1.ToolHelper.isArray(item.columns, false)) {
|
|
165
|
+
this.collectTableFields(fieId, item.columns, targetLabel, controlParams);
|
|
166
|
+
}
|
|
167
|
+
if (item.rows && toolhepler_1.ToolHelper.isArray(item.rows, false)) {
|
|
168
|
+
this.collectFields(fieId, item.rows, targetLabel, controlParams);
|
|
169
|
+
}
|
|
164
170
|
if (toolhepler_1.ToolHelper.isArray(item.contents, false)) {
|
|
165
171
|
this.collectFields(fieId, item.contents, targetLabel, controlParams);
|
|
166
172
|
}
|
|
167
173
|
});
|
|
168
174
|
}
|
|
175
|
+
static collectTableFields(fieId, columns, targetLabel, controlParams) {
|
|
176
|
+
columns.forEach((column) => {
|
|
177
|
+
if (column.editor && column.editor.binding && column.editor.binding.field === fieId) {
|
|
178
|
+
let targetField = {
|
|
179
|
+
"id": column.editor.id,
|
|
180
|
+
"type": column.editor.type,
|
|
181
|
+
"binding": targetLabel ? `${targetLabel}.${column.editor.path}` : column.editor.path,
|
|
182
|
+
"rules": [
|
|
183
|
+
{
|
|
184
|
+
"type": "visible",
|
|
185
|
+
"rule": this.behaviorValueHandler(column.editor.visible)
|
|
186
|
+
},
|
|
187
|
+
{
|
|
188
|
+
"type": "readonly",
|
|
189
|
+
"rule": this.behaviorValueHandler(column.editor.readonly)
|
|
190
|
+
},
|
|
191
|
+
{
|
|
192
|
+
"type": "required",
|
|
193
|
+
"rule": this.behaviorValueHandler(column.editor.require)
|
|
194
|
+
},
|
|
195
|
+
{
|
|
196
|
+
"type": "disabled",
|
|
197
|
+
"rule": this.behaviorValueHandler(column.editor.disable)
|
|
198
|
+
},
|
|
199
|
+
]
|
|
200
|
+
};
|
|
201
|
+
controlParams.push(targetField);
|
|
202
|
+
}
|
|
203
|
+
});
|
|
204
|
+
}
|
|
169
205
|
static labelIterator(fieId, entity, parentEntity) {
|
|
170
206
|
if (!parentEntity) {
|
|
171
207
|
entity['finalPath'] = entity.label;
|
|
@@ -191,6 +227,9 @@ class BehaviorManager {
|
|
|
191
227
|
if (toolhepler_1.ToolHelper.isNullOrUndefined(value)) {
|
|
192
228
|
return "";
|
|
193
229
|
}
|
|
230
|
+
if (value == true || value == false) {
|
|
231
|
+
return value;
|
|
232
|
+
}
|
|
194
233
|
if (value.type && value.type == 'Expression') {
|
|
195
234
|
return `this.viewModel.expressionResult['${value.expressionId}']`;
|
|
196
235
|
}
|
|
@@ -236,9 +275,9 @@ class BehaviorManager {
|
|
|
236
275
|
}
|
|
237
276
|
]
|
|
238
277
|
};
|
|
239
|
-
directory_file_helper_1.DirectoryFileHelper.createFile(targetPath, formName, JSON.stringify(this.formContent));
|
|
278
|
+
directory_file_helper_1.DirectoryFileHelper.createFile(targetPath, formName, JSON.stringify(this.formContent), true);
|
|
240
279
|
if (controlParams) {
|
|
241
|
-
directory_file_helper_1.DirectoryFileHelper.createFile(targetPath, fileName, JSON.stringify(controlParams));
|
|
280
|
+
directory_file_helper_1.DirectoryFileHelper.createFile(targetPath, fileName, JSON.stringify(controlParams), true);
|
|
242
281
|
}
|
|
243
282
|
}
|
|
244
283
|
}
|
|
@@ -273,9 +312,9 @@ class BehaviorManager {
|
|
|
273
312
|
"ns": value.externalComponentNameSpace
|
|
274
313
|
};
|
|
275
314
|
this.formContent.viewRules.push(extCompFormContent);
|
|
276
|
-
directory_file_helper_1.DirectoryFileHelper.createFile(targetPath, formName, JSON.stringify(this.formContent));
|
|
315
|
+
directory_file_helper_1.DirectoryFileHelper.createFile(targetPath, formName, JSON.stringify(this.formContent), true);
|
|
277
316
|
if (controlParams) {
|
|
278
|
-
directory_file_helper_1.DirectoryFileHelper.createFile(targetPath, fileName, JSON.stringify(controlParams));
|
|
317
|
+
directory_file_helper_1.DirectoryFileHelper.createFile(targetPath, fileName, JSON.stringify(controlParams), true);
|
|
279
318
|
}
|
|
280
319
|
}
|
|
281
320
|
}
|