@farris/jit-engine 1.3.310 → 1.3.312
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 +4 -0
- package/bin/index.js +91 -12
- package/lib/command/check.js +102 -0
- package/lib/command/check.js.map +1 -0
- package/lib/mobileapp/vue/code-generator/devkit-manager/app-indexvue-manager.js +2 -1
- package/lib/mobileapp/vue/code-generator/devkit-manager/app-indexvue-manager.js.map +1 -1
- package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-index-vue-generator.js +17 -19
- package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-index-vue-generator.js.map +1 -1
- package/lib/mobileapp/vue/code-generator/file-generator/project-generator/app-vue-generator.js +33 -7
- package/lib/mobileapp/vue/code-generator/file-generator/project-generator/app-vue-generator.js.map +1 -1
- package/lib/mobileapp/vue/code-generator/file-generator/project-generator/router-generator.js +11 -7
- package/lib/mobileapp/vue/code-generator/file-generator/project-generator/router-generator.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/internal-entity/contexts/index.js +16 -0
- package/lib/mobileapp/vue/domstructure/internal-entity/contexts/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-base-context.js +24 -0
- package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-base-context.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-component-context.js +16 -0
- package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-component-context.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-module-context.js +15 -0
- package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-module-context.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-ui-node-context.js +33 -0
- package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-ui-node-context.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/internal-entity/vue-app-index-vue-parameter.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/action-bar/action-bar.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/basic/action-bar/action-bar.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/button/button.js +12 -2
- package/lib/mobileapp/vue/domstructure/ui/basic/button/button.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/icon/icon.js +41 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/icon/icon.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/icon/index.js +14 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/icon/index.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/basic/image/image.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/basic/image/image.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/nav-bar/vue-nav-bar.js +21 -7
- package/lib/mobileapp/vue/domstructure/ui/basic/nav-bar/vue-nav-bar.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/search/search.js +12 -2
- package/lib/mobileapp/vue/domstructure/ui/basic/search/search.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar-item.js +4 -7
- package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar-item.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar.js +4 -7
- package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/tab/vue-tab-bar.js +21 -2
- package/lib/mobileapp/vue/domstructure/ui/basic/tab/vue-tab-bar.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-area.js +29 -2
- package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-area.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-item.js +15 -2
- package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-item.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar.js +4 -7
- package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-comments.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-comments.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-info.js +14 -2
- package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-info.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-logs.js +12 -2
- package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-logs.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-entry.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-entry.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-file.js +12 -2
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-file.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-uploader.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-uploader.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/image-uploader.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/business/attachment/image-uploader.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/filter/filter.js +53 -2
- package/lib/mobileapp/vue/domstructure/ui/business/filter/filter.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/business/scroll-navbar.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/business/scroll-navbar.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/common/vue-binding.js +6 -1
- package/lib/mobileapp/vue/domstructure/ui/common/vue-binding.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/common/vue-toolbar.js +5 -1
- package/lib/mobileapp/vue/domstructure/ui/common/vue-toolbar.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/common/vue-variable.js +4 -0
- package/lib/mobileapp/vue/domstructure/ui/common/vue-variable.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/card.js +32 -2
- package/lib/mobileapp/vue/domstructure/ui/container/card.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/field-set.js +12 -2
- package/lib/mobileapp/vue/domstructure/ui/container/field-set.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-container.js +4 -7
- package/lib/mobileapp/vue/domstructure/ui/container/vue-container.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-content-container.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/container/vue-content-container.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-float-container.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/container/vue-float-container.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-form.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/container/vue-form.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-item-container.js +4 -7
- package/lib/mobileapp/vue/domstructure/ui/container/vue-item-container.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-page-container.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/container/vue-page-container.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-page-content-container.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/container/vue-page-content-container.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-page-footer-container.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/container/vue-page-footer-container.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-page-header-container.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/container/vue-page-header-container.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-section.js +4 -7
- package/lib/mobileapp/vue/domstructure/ui/container/vue-section.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-tab-page.js +12 -2
- package/lib/mobileapp/vue/domstructure/ui/container/vue-tab-page.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/container/vue-tabs.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/container/vue-tabs.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/display/banner/vue-banner.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/display/banner/vue-banner.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/display/calendar/calendar.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/display/calendar/calendar.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/display/calendar/schedule.js +32 -3
- package/lib/mobileapp/vue/domstructure/ui/display/calendar/schedule.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/display/html-template/html-template.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/display/html-template/html-template.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/display/list-view/vue-list-view.js +23 -9
- package/lib/mobileapp/vue/domstructure/ui/display/list-view/vue-list-view.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/display/staff-info/staff-info.js +12 -2
- package/lib/mobileapp/vue/domstructure/ui/display/staff-info/staff-info.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/display/static-text/static-text.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/display/static-text/static-text.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/area-picker.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/input/area-picker.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/calendar-input.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/input/calendar-input.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/checkbox-group.js +20 -2
- package/lib/mobileapp/vue/domstructure/ui/input/checkbox-group.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/common.js +33 -3
- package/lib/mobileapp/vue/domstructure/ui/input/common.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/custom-box.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/input/custom-box.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/date-picker.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/input/date-picker.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/html-preview.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/input/html-preview.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/index.js +1 -0
- package/lib/mobileapp/vue/domstructure/ui/input/index.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/lookup-department.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/input/lookup-department.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/lookup-employee.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/input/lookup-employee.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/lookup-input.js +14 -2
- package/lib/mobileapp/vue/domstructure/ui/input/lookup-input.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/number.js +13 -3
- package/lib/mobileapp/vue/domstructure/ui/input/number.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/picker-city.js +46 -0
- package/lib/mobileapp/vue/domstructure/ui/input/picker-city.js.map +1 -0
- package/lib/mobileapp/vue/domstructure/ui/input/picker-relation.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/input/picker-relation.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/picker.js +20 -2
- package/lib/mobileapp/vue/domstructure/ui/input/picker.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/radio-group.js +20 -2
- package/lib/mobileapp/vue/domstructure/ui/input/radio-group.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/rich-text-editor.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/input/rich-text-editor.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/switch-input.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/input/switch-input.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/text-area.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/input/text-area.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/text-box-external.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/input/text-box-external.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/text-box.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/input/text-box.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/text-scan.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/input/text-scan.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/input/text-telphone.js +2 -2
- package/lib/mobileapp/vue/domstructure/ui/input/text-telphone.js.map +1 -1
- package/lib/mobileapp/vue/domstructure/ui/vue-base-component.js +34 -2
- package/lib/mobileapp/vue/domstructure/ui/vue-base-component.js.map +1 -1
- package/lib/mobileapp/vue/jit-engine-executor/mobile-vue-engine-executor.js.map +1 -1
- package/lib/mobileapp/vue/pug-template/config/ui-template-config.js +5 -1
- package/lib/mobileapp/vue/pug-template/config/ui-template-config.js.map +1 -1
- package/lib/mobileapp/vue/static/.gitignore +13 -0
- package/lib/mobileapp/vue/static/src/app.vue +25 -4
- package/lib/mobileapp/vue/task/vue-recursiveGenerateDevkit.js +12 -4
- package/lib/mobileapp/vue/task/vue-recursiveGenerateDevkit.js.map +1 -1
- package/lib/mobileapp/vue/utility/devkit/form-file-executor.js +4 -1
- package/lib/mobileapp/vue/utility/devkit/form-file-executor.js.map +1 -1
- package/lib/mobileapp/vue/utility/devkit/vue-component-creator.js +10 -10
- package/lib/mobileapp/vue/utility/devkit/vue-component-creator.js.map +1 -1
- package/lib/mobileapp/vue/utility/devkit/vue-viewmodels-creator.js +2 -2
- package/lib/mobileapp/vue/utility/devkit/vue-viewmodels-creator.js.map +1 -1
- package/lib/mobileapp/vue/utility/i18n/i18n-resource-manager.js +121 -0
- package/lib/mobileapp/vue/utility/i18n/i18n-resource-manager.js.map +1 -0
- package/lib/mobileapp/vue/utility/i18n/index.js +14 -0
- package/lib/mobileapp/vue/utility/i18n/index.js.map +1 -0
- package/lib/mobileapp/vue/utility/index.js +1 -0
- package/lib/mobileapp/vue/utility/index.js.map +1 -1
- package/lib/mobileapp/vue/utility/vue-content-type-creator.js +2 -0
- package/lib/mobileapp/vue/utility/vue-content-type-creator.js.map +1 -1
- package/lib/mobileapp/vue/utility/vue-object-creator.js +22 -0
- package/lib/mobileapp/vue/utility/vue-object-creator.js.map +1 -1
- package/lib/template/ui/mobilevue/approval-info.pug +2 -8
- package/lib/template/ui/mobilevue/approval-logs.pug +1 -1
- package/lib/template/ui/mobilevue/attachment-file.pug +1 -1
- package/lib/template/ui/mobilevue/button.pug +1 -1
- package/lib/template/ui/mobilevue/calendar-input.pug +5 -4
- package/lib/template/ui/mobilevue/card.pug +2 -2
- package/lib/template/ui/mobilevue/checkbox-group.pug +4 -4
- package/lib/template/ui/mobilevue/custom-box.pug +6 -4
- package/lib/template/ui/mobilevue/date-time-picker.pug +7 -5
- package/lib/template/ui/mobilevue/field-set.pug +1 -1
- package/lib/template/ui/mobilevue/filter.pug +2 -2
- package/lib/template/ui/mobilevue/html-preview.pug +1 -1
- package/lib/template/ui/mobilevue/icon.pug +11 -0
- package/lib/template/ui/mobilevue/list-view.pug +4 -1
- package/lib/template/ui/mobilevue/lookup-department.pug +7 -5
- package/lib/template/ui/mobilevue/lookup-employee.pug +10 -7
- package/lib/template/ui/mobilevue/lookup-input.pug +9 -7
- package/lib/template/ui/mobilevue/nav-bar.pug +1 -1
- package/lib/template/ui/mobilevue/number.pug +8 -5
- package/lib/template/ui/mobilevue/picker-area.pug +56 -0
- package/lib/template/ui/mobilevue/picker-city.pug +65 -0
- package/lib/template/ui/mobilevue/picker-relation.pug +5 -3
- package/lib/template/ui/mobilevue/picker.pug +6 -6
- package/lib/template/ui/mobilevue/radio-group.pug +4 -4
- package/lib/template/ui/mobilevue/rich-text-editor.pug +8 -6
- package/lib/template/ui/mobilevue/schedule.pug +1 -1
- package/lib/template/ui/mobilevue/search.pug +1 -1
- package/lib/template/ui/mobilevue/staff-info.pug +1 -1
- package/lib/template/ui/mobilevue/switch.pug +4 -4
- package/lib/template/ui/mobilevue/tab-bar.pug +1 -1
- package/lib/template/ui/mobilevue/tabpage.pug +1 -3
- package/lib/template/ui/mobilevue/text-area.pug +5 -4
- package/lib/template/ui/mobilevue/text-box-external.pug +6 -4
- package/lib/template/ui/mobilevue/text-box.pug +7 -4
- package/lib/template/ui/mobilevue/text-scan.pug +6 -4
- package/lib/template/ui/mobilevue/text-telphone.pug +13 -3
- package/lib/template/ui/mobilevue/toolbar-area.pug +1 -1
- package/lib/template/ui/mobilevue/toolbar-item.pug +1 -1
- package/package.json +2 -1
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
-attrs.class = variable.appearance && variable.appearance.class;
|
|
4
4
|
-attrs.style = variable.appearance && variable.appearance.style;
|
|
5
5
|
-attrs.id = variable.replacedId? String(variable.replacedId) : undefined
|
|
6
|
-
-attrs.placeholder = variable.placeholder? String(variable.placeholder) : undefined
|
|
7
|
-
-attrs.label = variable.title? String(variable.title) : undefined
|
|
8
6
|
-attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
|
|
9
7
|
-attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
|
|
10
8
|
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
@@ -13,20 +11,24 @@
|
|
|
13
11
|
-var disable = variable.disable ? String(variable.disable.value) : undefined;
|
|
14
12
|
-var binding = variable.binding && variable.binding.path ? "form."+variable.binding.path+".value" : undefined
|
|
15
13
|
|
|
14
|
+
|
|
15
|
+
|
|
16
16
|
div(
|
|
17
17
|
v-if=visible
|
|
18
18
|
class="fm-input-wrapper"
|
|
19
19
|
)
|
|
20
20
|
fm-lookup-input(
|
|
21
21
|
v-model=binding
|
|
22
|
+
:label = variable.title? variable.i18nTitle : undefined
|
|
23
|
+
:placeholder = variable.placeholder? variable.i18nPlaceholder : undefined
|
|
22
24
|
:required=require
|
|
23
25
|
:readonly=readonly
|
|
24
26
|
:disabled=disable
|
|
25
27
|
:modelValue=variable.value ? variable.value+"":undefined
|
|
26
28
|
direction=variable.direction?variable.direction+"":undefined
|
|
27
|
-
title=variable.title?""+variable.
|
|
28
|
-
navTitle=variable.navTitle?""+variable.
|
|
29
|
-
groupTitle=variable.groupTitle?""+variable.
|
|
29
|
+
:title=variable.title?""+variable.i18nTitle:undefined
|
|
30
|
+
:navTitle=variable.navTitle?""+variable.i18nNavTitle:undefined
|
|
31
|
+
:groupTitle=variable.groupTitle?""+variable.i18nGroupTitle:undefined
|
|
30
32
|
:clearable!=variable.clearable?variable.clearable+"":undefined
|
|
31
33
|
url=variable.dataSource.uri?""+variable.dataSource.uri:undefined
|
|
32
34
|
data=variable.data?""+variable.data:undefined
|
|
@@ -87,10 +89,10 @@ div(
|
|
|
87
89
|
| !{variable.cellTemplate}
|
|
88
90
|
if(variable.labelTips)
|
|
89
91
|
template(#title)
|
|
90
|
-
<span>!{variable.
|
|
92
|
+
<span>!{variable.i18nTitleWithBrace}</span>
|
|
91
93
|
<fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
|
|
92
94
|
<fm-icon name="s-illustrate-o"/>
|
|
93
95
|
<template #content>
|
|
94
|
-
<div class="fm-input-label-tips-content"><span>!{variable.
|
|
96
|
+
<div class="fm-input-label-tips-content"><span>!{variable.i18nLabelTips}</span></div>
|
|
95
97
|
</template>
|
|
96
98
|
</fm-popover>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
fm-navbar(
|
|
7
7
|
v-if=visible
|
|
8
8
|
id=variable.replaceId
|
|
9
|
-
title=variable.title?
|
|
9
|
+
:title=variable.title ? variable.i18nTitle : undefined
|
|
10
10
|
:leftArrow=variable.leftArrow!==undefined?""+variable.leftArrow:undefined
|
|
11
11
|
@click-left=variable.leftClick?""+variable.leftClick:undefined
|
|
12
12
|
@click-right=variable.rightClick?""+variable.rightClick:undefined
|
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
-attrs.class = variable.appearance && variable.appearance.class;
|
|
5
5
|
-attrs.style = variable.appearance && variable.appearance.style;
|
|
6
6
|
-attrs.id = variable.replacedId? String(variable.replacedId) : undefined
|
|
7
|
-
-attrs.placeholder = variable.placeholder? String(variable.placeholder) : undefined
|
|
8
|
-
-attrs.label = variable.title? String(variable.title) : undefined
|
|
9
7
|
-attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
|
|
10
8
|
-attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
|
|
11
9
|
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
@@ -14,12 +12,16 @@
|
|
|
14
12
|
-var disable = variable.disable ? String(variable.disable.value) : undefined;
|
|
15
13
|
-var binding = variable.binding && variable.binding.path ? "form."+variable.binding.path+".value" : undefined
|
|
16
14
|
|
|
15
|
+
|
|
16
|
+
|
|
17
17
|
div(
|
|
18
18
|
v-if=visible
|
|
19
19
|
class="fm-input-wrapper"
|
|
20
20
|
)
|
|
21
21
|
fm-input(
|
|
22
22
|
v-model=binding
|
|
23
|
+
:label = variable.title? variable.i18nTitle : undefined
|
|
24
|
+
:placeholder = variable.placeholder? variable.i18nPlaceholder : undefined
|
|
23
25
|
:required=require
|
|
24
26
|
:readonly=readonly
|
|
25
27
|
:disabled=disable
|
|
@@ -29,10 +31,11 @@ div(
|
|
|
29
31
|
:minValue!=variable.minValue?variable.minValue+"":undefined
|
|
30
32
|
:maxValue!=variable.maxValue?variable.maxValue+"":undefined
|
|
31
33
|
:precision=variable.precision || variable.precision===0?variable.precision+"":undefined
|
|
34
|
+
:enableNull=variable.enableNull?variable.enableNull+"":undefined
|
|
32
35
|
input-align="right"
|
|
33
36
|
:labelWidth!=variable.labelWidth?variable.labelWidth+"":undefined
|
|
34
37
|
direction=variable.direction?variable.direction+"":undefined
|
|
35
|
-
extra=variable.suffix?variable.
|
|
38
|
+
:extra=variable.suffix?variable.i18nSuffix:undefined
|
|
36
39
|
:error-message!=variable.errorMessage
|
|
37
40
|
error-message-align=variable.errorMessage ? "right" : undefined
|
|
38
41
|
)&attributes(attrs)
|
|
@@ -41,10 +44,10 @@ div(
|
|
|
41
44
|
| !{variable.rightTemplate}
|
|
42
45
|
if(variable.labelTips)
|
|
43
46
|
template(#title)
|
|
44
|
-
<span>!{variable.
|
|
47
|
+
<span>!{variable.i18nTitleWithBrace}</span>
|
|
45
48
|
<fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
|
|
46
49
|
<fm-icon name="s-illustrate-o"/>
|
|
47
50
|
<template #content>
|
|
48
|
-
<div class="fm-input-label-tips-content"><span>!{variable.
|
|
51
|
+
<div class="fm-input-label-tips-content"><span>!{variable.i18nLabelTips}</span></div>
|
|
49
52
|
</template>
|
|
50
53
|
</fm-popover>
|
|
@@ -0,0 +1,56 @@
|
|
|
1
|
+
//- -variable.readonly = variable.readonly?String(variable.readonly).replace(/"/g, "'")+"":undefined;
|
|
2
|
+
-var attrs = {};
|
|
3
|
+
-attrs.class = variable.appearance && variable.appearance.class;
|
|
4
|
+
-attrs.style = variable.appearance && variable.appearance.style;
|
|
5
|
+
-attrs.id = variable.replacedId? String(variable.replacedId) : undefined
|
|
6
|
+
-attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
|
|
7
|
+
-attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
|
|
8
|
+
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
9
|
+
-var require = variable.require ? String(variable.require.value) : undefined;
|
|
10
|
+
-var readonly = variable.readonly ? String(variable.readonly.value) : undefined;
|
|
11
|
+
-var disable = variable.disable ? String(variable.disable.value) : undefined;
|
|
12
|
+
-var binding = variable.binding && variable.binding.path ? "form."+variable.binding.path+".value" : undefined
|
|
13
|
+
|
|
14
|
+
|
|
15
|
+
div(
|
|
16
|
+
v-if=visible
|
|
17
|
+
class="fm-input-wrapper"
|
|
18
|
+
)
|
|
19
|
+
fm-area-picker(
|
|
20
|
+
v-model=binding
|
|
21
|
+
:label = variable.title? variable.i18nTitle : undefined
|
|
22
|
+
:placeholder = variable.placeholder? variable.i18nPlaceholder : undefined
|
|
23
|
+
:required=require
|
|
24
|
+
:readonly=readonly
|
|
25
|
+
:disabled=disable
|
|
26
|
+
:modelValue=variable.modelValue ? variable.modelValue+"":undefined
|
|
27
|
+
direction=variable.direction?variable.direction+"":undefined
|
|
28
|
+
:title=variable.title?""+variable.i18nTitle:undefined
|
|
29
|
+
input-align="right"
|
|
30
|
+
:labelWidth!=variable.labelWidth?variable.labelWidth+"":undefined
|
|
31
|
+
:columns-num!=variable.displayType?variable.displayType+"":undefined
|
|
32
|
+
:error-message!=variable.errorMessage
|
|
33
|
+
error-message-align=variable.errorMessage ? "right" : undefined
|
|
34
|
+
@change=variable.change ? String(variable.change) : undefined
|
|
35
|
+
)&attributes(attrs)
|
|
36
|
+
if(variable.leftTemplate)
|
|
37
|
+
template(#left-icon)
|
|
38
|
+
| !{variable.leftTemplate}
|
|
39
|
+
if(variable.rightTemplate)
|
|
40
|
+
template(#right-icon)
|
|
41
|
+
| !{variable.rightTemplate}
|
|
42
|
+
if(variable.extraTemplate)
|
|
43
|
+
template(#extra)
|
|
44
|
+
| !{variable.extraTemplate}
|
|
45
|
+
if(variable.valueTemplate)
|
|
46
|
+
template(v-slot:value="slotProps")
|
|
47
|
+
| !{variable.valueTemplate}
|
|
48
|
+
if(variable.labelTips)
|
|
49
|
+
template(#title)
|
|
50
|
+
<span>!{variable.i18nTitleWithBrace}</span>
|
|
51
|
+
<fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
|
|
52
|
+
<fm-icon name="s-illustrate-o"/>
|
|
53
|
+
<template #content>
|
|
54
|
+
<div class="fm-input-label-tips-content"><span>!{variable.i18nLabelTips}</span></div>
|
|
55
|
+
</template>
|
|
56
|
+
</fm-popover>
|
|
@@ -0,0 +1,65 @@
|
|
|
1
|
+
//- -variable.readonly = variable.readonly?String(variable.readonly).replace(/"/g, "'")+"":undefined;
|
|
2
|
+
-var attrs = {};
|
|
3
|
+
-attrs.class = variable.appearance && variable.appearance.class;
|
|
4
|
+
-attrs.style = variable.appearance && variable.appearance.style;
|
|
5
|
+
-attrs.id = variable.replacedId? String(variable.replacedId) : undefined
|
|
6
|
+
-attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
|
|
7
|
+
-attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
|
|
8
|
+
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
9
|
+
-var require = variable.require ? String(variable.require.value) : undefined;
|
|
10
|
+
-var readonly = variable.readonly ? String(variable.readonly.value) : undefined;
|
|
11
|
+
-var disable = variable.disable ? String(variable.disable.value) : undefined;
|
|
12
|
+
-var request = variable.request ? String(variable.request) : undefined;
|
|
13
|
+
-var data = variable.data ? String(variable.data.value) : undefined;
|
|
14
|
+
-var hotCity = variable.hotCity && variable.hotCity.value ? String(variable.hotCity.value) : undefined;
|
|
15
|
+
//- -var binding = variable.binding && variable.binding.path ? "form."+variable.binding.path+".value" : undefined
|
|
16
|
+
-var bindingtext = variable.bindingtext ? String(variable.bindingtext) : undefined
|
|
17
|
+
-var bindingvalue = variable.bindingvalue ? String(variable.bindingvalue) : undefined
|
|
18
|
+
|
|
19
|
+
div(
|
|
20
|
+
v-if=visible
|
|
21
|
+
class="fm-input-wrapper"
|
|
22
|
+
)
|
|
23
|
+
fm-city-picker(
|
|
24
|
+
v-model:text=bindingtext
|
|
25
|
+
v-model:value=bindingvalue
|
|
26
|
+
:label = variable.title? variable.i18nTitle : undefined
|
|
27
|
+
:placeholder = variable.placeholder? variable.i18nPlaceholder : undefined
|
|
28
|
+
:required=require
|
|
29
|
+
:readonly=readonly
|
|
30
|
+
:disabled=disable
|
|
31
|
+
:data=data
|
|
32
|
+
:request=request
|
|
33
|
+
:hotCity=hotCity
|
|
34
|
+
input-align="right"
|
|
35
|
+
:title=variable.title?""+variable.i18nTitle:undefined
|
|
36
|
+
direction=variable.direction?variable.direction+"":undefined
|
|
37
|
+
:labelWidth!=variable.labelWidth?variable.labelWidth+"":undefined
|
|
38
|
+
:error-message!=variable.errorMessage
|
|
39
|
+
error-message-align=variable.errorMessage ? "right" : undefined
|
|
40
|
+
@change=variable.change ? String(variable.change) : undefined
|
|
41
|
+
)&attributes(attrs)
|
|
42
|
+
if(variable.leftTemplate)
|
|
43
|
+
template(#left-icon)
|
|
44
|
+
| !{variable.leftTemplate}
|
|
45
|
+
if(variable.rightTemplate)
|
|
46
|
+
template(#right-icon)
|
|
47
|
+
| !{variable.rightTemplate}
|
|
48
|
+
if(variable.extraTemplate)
|
|
49
|
+
template(#extra)
|
|
50
|
+
| !{variable.extraTemplate}
|
|
51
|
+
if(variable.valueTemplate)
|
|
52
|
+
template(v-slot:value="slotProps")
|
|
53
|
+
| !{variable.valueTemplate}
|
|
54
|
+
if(variable.inputTemplate)
|
|
55
|
+
template(v-slot:input="slotProps")
|
|
56
|
+
| !{variable.inputTemplate}
|
|
57
|
+
if(variable.labelTips)
|
|
58
|
+
template(#title)
|
|
59
|
+
<span>!{variable.i18nTitleWithBrace}</span>
|
|
60
|
+
<fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
|
|
61
|
+
<fm-icon name="s-illustrate-o"/>
|
|
62
|
+
<template #content>
|
|
63
|
+
<div class="fm-input-label-tips-content"><span>!{variable.i18nLabelTips}</span></div>
|
|
64
|
+
</template>
|
|
65
|
+
</fm-popover>
|
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
-attrs.class = variable.appearance && variable.appearance.class;
|
|
4
4
|
-attrs.style = variable.appearance && variable.appearance.style;
|
|
5
5
|
-attrs.id = variable.replacedId? String(variable.replacedId) : undefined
|
|
6
|
-
-attrs.placeholder = variable.placeholder? String(variable.placeholder) : undefined
|
|
7
|
-
-attrs.label = variable.title? String(variable.title) : undefined
|
|
8
6
|
-attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
|
|
9
7
|
-attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
|
|
10
8
|
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
@@ -13,19 +11,23 @@
|
|
|
13
11
|
-var disable = variable.disable ? String(variable.disable.value) : undefined;
|
|
14
12
|
-var binding = variable.binding && variable.binding.path ? "form."+variable.binding.path+".value" : undefined
|
|
15
13
|
|
|
14
|
+
|
|
15
|
+
|
|
16
16
|
div(
|
|
17
17
|
v-if=visible
|
|
18
18
|
class="fm-input-wrapper"
|
|
19
19
|
)
|
|
20
20
|
fm-link-relation(
|
|
21
21
|
v-model=binding
|
|
22
|
+
:label = variable.title? variable.i18nTitle : undefined
|
|
23
|
+
:placeholder = variable.placeholder? variable.i18nPlaceholder : undefined
|
|
22
24
|
:required=require
|
|
23
25
|
:readonly=readonly
|
|
24
26
|
:disabled=disable
|
|
25
27
|
:modelValue=variable.modelValue ? variable.modelValue+"":undefined
|
|
26
28
|
:mapFields=variable.mapFields ? variable.mapFields+"":undefined
|
|
27
29
|
taskCategoryIds=variable.taskCategoryIds ? variable.taskCategoryIds+"":undefined
|
|
28
|
-
title=variable.title?""+variable.
|
|
30
|
+
:title=variable.title?""+variable.i18nTitle:undefined
|
|
29
31
|
input-align="right"
|
|
30
32
|
direction=variable.direction?variable.direction+"":undefined
|
|
31
33
|
:labelWidth!=variable.labelWidth?variable.labelWidth+"":undefined
|
|
@@ -3,8 +3,6 @@
|
|
|
3
3
|
-attrs.class = variable.appearance && variable.appearance.class;
|
|
4
4
|
-attrs.style = variable.appearance && variable.appearance.style;
|
|
5
5
|
-attrs.id = variable.replacedId? String(variable.replacedId) : undefined
|
|
6
|
-
-attrs.placeholder = variable.placeholder? String(variable.placeholder) : undefined
|
|
7
|
-
-attrs.label = variable.title? String(variable.title) : undefined
|
|
8
6
|
-attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
|
|
9
7
|
-attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
|
|
10
8
|
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
@@ -12,7 +10,7 @@
|
|
|
12
10
|
-var readonly = variable.readonly ? String(variable.readonly.value) : undefined;
|
|
13
11
|
-var disable = variable.disable ? String(variable.disable.value) : undefined;
|
|
14
12
|
-var binding = variable.binding && variable.binding.path ? "form."+variable.binding.path+".value" : undefined
|
|
15
|
-
-var items = variable.dataSourceType === 'dynamic' ? String(variable.bindDataSource.value) : variable.
|
|
13
|
+
-var items = variable.dataSourceType === 'dynamic' ? String(variable.bindDataSource.value) : variable.i18nEnumData
|
|
16
14
|
-var showDisabledItem = variable.showDisabledItem === false ? "false" : "true";
|
|
17
15
|
|
|
18
16
|
div(
|
|
@@ -21,11 +19,13 @@ div(
|
|
|
21
19
|
)
|
|
22
20
|
fm-picker(
|
|
23
21
|
v-model=binding
|
|
22
|
+
:placeholder = variable.placeholder? variable.i18nPlaceholder : undefined
|
|
23
|
+
:label = variable.title? variable.i18nTitle : undefined
|
|
24
24
|
:required=require
|
|
25
25
|
:readonly=readonly
|
|
26
26
|
:disabled=disable
|
|
27
27
|
:modelValue=variable.modelValue ? variable.modelValue+"":undefined
|
|
28
|
-
title=variable.title?""+variable.
|
|
28
|
+
:title=variable.title?""+variable.i18nTitle:undefined
|
|
29
29
|
show-toolbar
|
|
30
30
|
:data=items
|
|
31
31
|
idField=variable.idField?""+variable.idField:undefined
|
|
@@ -52,10 +52,10 @@ div(
|
|
|
52
52
|
| !{variable.valueTemplate}
|
|
53
53
|
if(variable.labelTips)
|
|
54
54
|
template(#title)
|
|
55
|
-
<span>!{variable.
|
|
55
|
+
<span>!{variable.i18nTitleWithBrace}</span>
|
|
56
56
|
<fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
|
|
57
57
|
<fm-icon name="s-illustrate-o"/>
|
|
58
58
|
<template #content>
|
|
59
|
-
<div class="fm-input-label-tips-content"><span>!{variable.
|
|
59
|
+
<div class="fm-input-label-tips-content"><span>!{variable.i18nLabelTips}</span></div>
|
|
60
60
|
</template>
|
|
61
61
|
</fm-popover>
|
|
@@ -2,7 +2,6 @@
|
|
|
2
2
|
-var attrs = {};
|
|
3
3
|
-attrs.class = variable.appearance && variable.appearance.class;
|
|
4
4
|
-attrs.style = variable.appearance && variable.appearance.style;
|
|
5
|
-
-attrs.label = variable.title? String(variable.title) : undefined
|
|
6
5
|
-attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
|
|
7
6
|
-attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
|
|
8
7
|
-var checkerStyle = variable.checkerWidth ? { width: variable.checkerWidth + 'px' } : undefined
|
|
@@ -14,7 +13,7 @@
|
|
|
14
13
|
-var inputDirection = variable.displayType !== 'button' ? 'vertical' : variable.direction
|
|
15
14
|
-var direction = variable.displayType === 'button' ? 'horizontal' : variable.direction
|
|
16
15
|
-var groupClass = inputDirection === 'horizontal' ? 'd-flex justify-content-end' : undefined
|
|
17
|
-
-var items = variable.dataSourceType === 'dynamic' ? String(variable.bindDataSource.value) : variable.
|
|
16
|
+
-var items = variable.dataSourceType === 'dynamic' ? String(variable.bindDataSource.value) : variable.i18nEnumData
|
|
18
17
|
|
|
19
18
|
div(
|
|
20
19
|
v-if=visible
|
|
@@ -22,6 +21,7 @@ div(
|
|
|
22
21
|
)
|
|
23
22
|
fm-input(
|
|
24
23
|
center
|
|
24
|
+
:label = variable.title? variable.i18nTitle: undefined
|
|
25
25
|
:required=require
|
|
26
26
|
input-align="right"
|
|
27
27
|
:labelWidth!=variable.labelWidth?variable.labelWidth+"":undefined
|
|
@@ -45,10 +45,10 @@ div(
|
|
|
45
45
|
)
|
|
46
46
|
if(variable.labelTips)
|
|
47
47
|
template(#title)
|
|
48
|
-
<span>!{variable.
|
|
48
|
+
<span>!{variable.i18nTitleWithBrace}</span>
|
|
49
49
|
<fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
|
|
50
50
|
<fm-icon name="s-illustrate-o"/>
|
|
51
51
|
<template #content>
|
|
52
|
-
<div class="fm-input-label-tips-content"><span>!{variable.
|
|
52
|
+
<div class="fm-input-label-tips-content"><span>!{variable.i18nLabelTips}</span></div>
|
|
53
53
|
</template>
|
|
54
54
|
</fm-popover>
|
|
@@ -14,13 +14,15 @@
|
|
|
14
14
|
-readonly = readonly && readonly !== 'false' ? readonly : disable
|
|
15
15
|
-var binding = variable.binding && variable.binding.path ? "form."+variable.binding.path+".value" : undefined
|
|
16
16
|
|
|
17
|
+
|
|
18
|
+
|
|
17
19
|
if(variable.noInput)
|
|
18
20
|
fm-rich-editor(
|
|
19
21
|
v-if=visible
|
|
20
|
-
v-model=binding
|
|
22
|
+
v-model=binding
|
|
21
23
|
:readonly=readonly
|
|
22
24
|
:modelValue=variable.modelValue ? variable.modelValue+"":undefined
|
|
23
|
-
placeholder=placeholder
|
|
25
|
+
:placeholder = variable.placeholder? variable.i18nPlaceholder : undefined
|
|
24
26
|
position=variable.position ?""+variable.position:undefined
|
|
25
27
|
:border=variable.border ?""+variable.border:"false"
|
|
26
28
|
)&attributes(attrs)
|
|
@@ -33,7 +35,7 @@ else
|
|
|
33
35
|
id=id
|
|
34
36
|
class="fm-input-vertical"
|
|
35
37
|
:required=require
|
|
36
|
-
label=
|
|
38
|
+
:label = variable.title? variable.i18nTitle : undefined
|
|
37
39
|
:labelWidth!=variable.labelWidth?variable.labelWidth+"":undefined
|
|
38
40
|
:error-message!=variable.errorMessage
|
|
39
41
|
error-message-align=variable.errorMessage ? "right" : undefined
|
|
@@ -41,18 +43,18 @@ else
|
|
|
41
43
|
template(#value)
|
|
42
44
|
fm-rich-editor(
|
|
43
45
|
v-model=binding
|
|
46
|
+
:placeholder = variable.placeholder? variable.i18nPlaceholder : undefined
|
|
44
47
|
:readonly=readonly
|
|
45
48
|
:modelValue=variable.modelValue ? variable.modelValue+"":undefined
|
|
46
|
-
placeholder=placeholder
|
|
47
49
|
position=variable.position ?""+variable.position:undefined
|
|
48
50
|
:border=variable.border ?""+variable.border:"false"
|
|
49
51
|
)
|
|
50
52
|
if(variable.labelTips)
|
|
51
53
|
template(#title)
|
|
52
|
-
<span>!{variable.
|
|
54
|
+
<span>!{variable.i18nTitleWithBrace}</span>
|
|
53
55
|
<fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
|
|
54
56
|
<fm-icon name="s-illustrate-o"/>
|
|
55
57
|
<template #content>
|
|
56
|
-
<div class="fm-input-label-tips-content"><span>!{variable.
|
|
58
|
+
<div class="fm-input-label-tips-content"><span>!{variable.i18nLabelTips}</span></div>
|
|
57
59
|
</template>
|
|
58
60
|
</fm-popover>
|
|
@@ -8,7 +8,7 @@ fm-scheadule(
|
|
|
8
8
|
v-if=visible
|
|
9
9
|
:startTime=variable.startTime?""+variable.startTime:undefined
|
|
10
10
|
:endTime=variable.endTime?""+variable.endTime:undefined
|
|
11
|
-
:events=variable.events?variable.
|
|
11
|
+
:events=variable.events?variable.i18nEvents:undefined
|
|
12
12
|
eventColor=variable.eventColor?""+variable.eventColor:undefined
|
|
13
13
|
@event-click=variable.onEventClick?""+variable.onEventClick:undefined
|
|
14
14
|
)&attributes(attrs)
|
|
@@ -13,7 +13,7 @@ fm-search(
|
|
|
13
13
|
:disabled=disabled
|
|
14
14
|
:modelValue=value
|
|
15
15
|
:clearable=variable.clearable?String(variable.clearable):undefined
|
|
16
|
-
placeholder=variable.placeholder?
|
|
16
|
+
:placeholder=variable.placeholder?variable.i18nPlaceholder:undefined
|
|
17
17
|
shape=variable.shape?String(variable.shape):undefined
|
|
18
18
|
@input=variable.change?String(variable.change):undefined
|
|
19
19
|
@search=variable.search?String(variable.search):undefined
|
|
@@ -5,7 +5,7 @@
|
|
|
5
5
|
|
|
6
6
|
fm-staff-info(
|
|
7
7
|
v-if=visible
|
|
8
|
-
title!=variable.titleText?
|
|
8
|
+
:title!=variable.titleText? variable.i18nTitleText:undefined
|
|
9
9
|
:name!=variable.staffName?"" + variable.staffName:undefined
|
|
10
10
|
:sub-title!=variable.departmentName?"" + variable.departmentName:undefined
|
|
11
11
|
:staffId!=variable.staffId?"" + variable.staffId:undefined
|
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
-attrs.class = variable.appearance && variable.appearance.class;
|
|
5
5
|
-attrs.style = variable.appearance && variable.appearance.style;
|
|
6
6
|
-attrs.id = variable.replacedId? String(variable.replacedId) : undefined
|
|
7
|
-
-attrs.placeholder = variable.placeholder? String(variable.placeholder) : undefined
|
|
8
|
-
-attrs.title = variable.title? String(variable.title) : undefined
|
|
9
7
|
-attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
|
|
10
8
|
-attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
|
|
11
9
|
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
@@ -20,6 +18,8 @@ div(
|
|
|
20
18
|
)
|
|
21
19
|
fm-switch-cell(
|
|
22
20
|
v-model=binding
|
|
21
|
+
:title = variable.title? variable.i18nTitle: undefined
|
|
22
|
+
:placeholder = variable.placeholder? variable.i18nPlaceholder : undefined
|
|
23
23
|
:required=require
|
|
24
24
|
:readonly=readonly
|
|
25
25
|
:disabled=disable
|
|
@@ -37,10 +37,10 @@ div(
|
|
|
37
37
|
| !{variable.extraTemplate}
|
|
38
38
|
if(variable.labelTips)
|
|
39
39
|
template(#title)
|
|
40
|
-
<span>!{variable.
|
|
40
|
+
<span>!{variable.i18nTitleWithBrace}</span>
|
|
41
41
|
<fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
|
|
42
42
|
<fm-icon name="s-illustrate-o"/>
|
|
43
43
|
<template #content>
|
|
44
|
-
<div class="fm-input-label-tips-content"><span>!{variable.
|
|
44
|
+
<div class="fm-input-label-tips-content"><span>!{variable.i18nLabelTips}</span></div>
|
|
45
45
|
</template>
|
|
46
46
|
</fm-popover>
|
|
@@ -8,7 +8,7 @@ fm-tab-bar(
|
|
|
8
8
|
v-if=visible
|
|
9
9
|
type=variable.displayType?variable.displayType:undefined
|
|
10
10
|
:modelValue=binding
|
|
11
|
-
:items=variable.items?variable.
|
|
11
|
+
:items=variable.items?variable.i18nItems:undefined
|
|
12
12
|
@change=variable.change?String(variable.change):undefined
|
|
13
13
|
)&attributes(attrs)
|
|
14
14
|
| {{content}}
|
|
@@ -4,12 +4,10 @@
|
|
|
4
4
|
-attrs.name = variable.replacedId ? String(variable.replacedId) : undefined;
|
|
5
5
|
-var bindTitle = variable.bindTitle ? variable.bindTitle.path ? 'uiState.' + variable.bindTitle.path : variable.bindTitle : undefined
|
|
6
6
|
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
7
|
-
-var title = !bindTitle && variable.title ? String(variable.title) : undefined
|
|
8
7
|
|
|
9
8
|
fm-tab(
|
|
10
9
|
v-if=visible
|
|
11
|
-
title=
|
|
12
|
-
:title=bindTitle
|
|
10
|
+
:title=bindTitle ? bindTitle : variable.i18nTitle
|
|
13
11
|
id=variable.replacedId ? String(variable.replacedId) : undefined
|
|
14
12
|
)&attributes(attrs)
|
|
15
13
|
| {{content}}
|
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
-attrs.class = variable.appearance && variable.appearance.class;
|
|
5
5
|
-attrs.style = variable.appearance && variable.appearance.style;
|
|
6
6
|
-attrs.id = variable.replacedId? String(variable.replacedId) : undefined
|
|
7
|
-
-attrs.placeholder = variable.placeholder? String(variable.placeholder) : undefined
|
|
8
|
-
-attrs.label = variable.title? String(variable.title) : undefined
|
|
9
7
|
-attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
|
|
10
8
|
-attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
|
|
11
9
|
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
@@ -14,12 +12,15 @@
|
|
|
14
12
|
-var disable = variable.disable ? String(variable.disable.value) : undefined;
|
|
15
13
|
-var binding = variable.binding && variable.binding.path ? "form."+variable.binding.path+".value" : undefined
|
|
16
14
|
|
|
15
|
+
|
|
17
16
|
div(
|
|
18
17
|
v-if=visible
|
|
19
18
|
class="fm-input-wrapper"
|
|
20
19
|
)
|
|
21
20
|
fm-input(
|
|
22
21
|
v-model=binding
|
|
22
|
+
:label = variable.title? variable.i18nTitle : undefined
|
|
23
|
+
:placeholder = variable.placeholder? variable.i18nPlaceholder : undefined
|
|
23
24
|
:required=require
|
|
24
25
|
:readonly=readonly
|
|
25
26
|
:disabled=disable
|
|
@@ -37,10 +38,10 @@ div(
|
|
|
37
38
|
| !{variable.rightTemplate}
|
|
38
39
|
if(variable.labelTips)
|
|
39
40
|
template(#title)
|
|
40
|
-
<span>!{variable.
|
|
41
|
+
<span>!{variable.i18nTitleWithBrace}</span>
|
|
41
42
|
<fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
|
|
42
43
|
<fm-icon name="s-illustrate-o"/>
|
|
43
44
|
<template #content>
|
|
44
|
-
<div class="fm-input-label-tips-content"><span>!{variable.
|
|
45
|
+
<div class="fm-input-label-tips-content"><span>!{variable.i18nLabelTips}</span></div>
|
|
45
46
|
</template>
|
|
46
47
|
</fm-popover>
|
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
-attrs.class = variable.appearance && variable.appearance.class;
|
|
5
5
|
-attrs.style = variable.appearance && variable.appearance.style;
|
|
6
6
|
-attrs.id = variable.replacedId? String(variable.replacedId) : undefined
|
|
7
|
-
-attrs.placeholder = variable.placeholder? String(variable.placeholder) : undefined
|
|
8
|
-
-attrs.label = variable.title? String(variable.title) : undefined
|
|
9
7
|
-attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
|
|
10
8
|
-attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
|
|
11
9
|
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
@@ -15,6 +13,8 @@
|
|
|
15
13
|
-var binding = variable.binding && variable.binding.path ? "form."+variable.binding.path+".value" : undefined
|
|
16
14
|
|
|
17
15
|
|
|
16
|
+
|
|
17
|
+
|
|
18
18
|
div(
|
|
19
19
|
v-if=visible
|
|
20
20
|
class="fm-input-wrapper"
|
|
@@ -22,6 +22,8 @@ div(
|
|
|
22
22
|
fm-input(
|
|
23
23
|
ref=variable.id?"" + variable.id:undefined
|
|
24
24
|
v-model=binding
|
|
25
|
+
:label = variable.title? variable.i18nTitle : undefined
|
|
26
|
+
:placeholder = variable.placeholder? variable.i18nPlaceholder : undefined
|
|
25
27
|
:required=require
|
|
26
28
|
:readonly=readonly
|
|
27
29
|
:disabled=disable
|
|
@@ -56,11 +58,11 @@ div(
|
|
|
56
58
|
| !{variable.extraTemplate}
|
|
57
59
|
if(variable.labelTips)
|
|
58
60
|
template(#title)
|
|
59
|
-
<span>!{variable.
|
|
61
|
+
<span>!{variable.i18nTitleWithBrace}</span>
|
|
60
62
|
<fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
|
|
61
63
|
<fm-icon name="s-illustrate-o"/>
|
|
62
64
|
<template #content>
|
|
63
|
-
<div class="fm-input-label-tips-content"><span>!{variable.
|
|
65
|
+
<div class="fm-input-label-tips-content"><span>!{variable.i18nLabelTips}</span></div>
|
|
64
66
|
</template>
|
|
65
67
|
</fm-popover>
|
|
66
68
|
|
|
@@ -4,8 +4,6 @@
|
|
|
4
4
|
-attrs.class = variable.appearance && variable.appearance.class;
|
|
5
5
|
-attrs.style = variable.appearance && variable.appearance.style;
|
|
6
6
|
-attrs.id = variable.replacedId? String(variable.replacedId) : undefined
|
|
7
|
-
-attrs.placeholder = variable.placeholder? String(variable.placeholder) : undefined
|
|
8
|
-
-attrs.label = variable.title? String(variable.title) : undefined
|
|
9
7
|
-attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
|
|
10
8
|
-attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
|
|
11
9
|
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
@@ -14,12 +12,16 @@
|
|
|
14
12
|
-var disable = variable.disable ? String(variable.disable.value) : undefined;
|
|
15
13
|
-var binding = variable.binding && variable.binding.path ? "form."+variable.binding.path+".value" : undefined
|
|
16
14
|
|
|
15
|
+
|
|
16
|
+
|
|
17
17
|
div(
|
|
18
18
|
v-if=visible
|
|
19
19
|
class="fm-input-wrapper"
|
|
20
20
|
)
|
|
21
21
|
fm-input(
|
|
22
22
|
v-model=binding
|
|
23
|
+
:label = variable.title? variable.i18nTitle : undefined
|
|
24
|
+
:placeholder = variable.placeholder? variable.i18nPlaceholder : undefined
|
|
23
25
|
:required=require
|
|
24
26
|
:readonly=readonly
|
|
25
27
|
:disabled=disable
|
|
@@ -28,6 +30,7 @@ div(
|
|
|
28
30
|
:is-link!=variable.isLink?variable.isLink+"":undefined
|
|
29
31
|
:labelWidth!=variable.labelWidth?variable.labelWidth+"":undefined
|
|
30
32
|
:formatter=variable.formatter?variable.formatter+"":undefined
|
|
33
|
+
updateOn=variable.updateOn?variable.updateOn+"":undefined
|
|
31
34
|
direction=variable.direction?variable.direction+"":undefined
|
|
32
35
|
input-align="right"
|
|
33
36
|
extra=variable.suffix?variable.suffix+"":undefined
|
|
@@ -50,11 +53,11 @@ div(
|
|
|
50
53
|
| !{variable.extraTemplate}
|
|
51
54
|
if(variable.labelTips)
|
|
52
55
|
template(#title)
|
|
53
|
-
<span>!{variable.
|
|
56
|
+
<span>!{variable.i18nTitleWithBrace}</span>
|
|
54
57
|
<fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
|
|
55
58
|
<fm-icon name="s-illustrate-o"/>
|
|
56
59
|
<template #content>
|
|
57
|
-
<div class="fm-input-label-tips-content"><span>!{variable.
|
|
60
|
+
<div class="fm-input-label-tips-content"><span>!{variable.i18nLabelTips}</span></div>
|
|
58
61
|
</template>
|
|
59
62
|
</fm-popover>
|
|
60
63
|
|