@farris/jit-engine 1.3.286 → 1.3.291
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 +9 -1
- 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/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/utility/behavior/behavior-manager.js +73 -37
- package/lib/utility/behavior/behavior-manager.js.map +1 -1
- package/lib/utility/behavior/behavior-params.js +3 -0
- package/lib/utility/behavior/behavior-params.js.map +1 -0
- package/lib/utility/config-hepler.js +25 -1
- package/lib/utility/config-hepler.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/devkit-creator.js +3 -2
- package/lib/utility/devkit/devkit-creator.js.map +1 -1
- package/lib/utility/devkit/external-component/external-component-creator.js +4 -3
- package/lib/utility/devkit/external-component/external-component-creator.js.map +1 -1
- package/lib/utility/devkit/external-component/external-components-creator.js +3 -2
- package/lib/utility/devkit/external-component/external-components-creator.js.map +1 -1
- package/lib/utility/devkit/form-file-executor.js +9 -2
- 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/jit-path-helper.js +3 -0
- package/lib/utility/jit-path-helper.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}}
|