@farris/jit-engine 1.3.311 → 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/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 +1 -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';
|
|
@@ -15,12 +13,15 @@
|
|
|
15
13
|
-var minValue = variable.minValue ? String(variable.minValue.value) : undefined;
|
|
16
14
|
-var maxValue = variable.maxValue ? String(variable.maxValue.value) : undefined;
|
|
17
15
|
|
|
16
|
+
|
|
18
17
|
div(
|
|
19
18
|
v-if=visible
|
|
20
19
|
class="fm-input-wrapper"
|
|
21
20
|
)
|
|
22
21
|
fm-calendar-input(
|
|
23
22
|
v-model=binding
|
|
23
|
+
:label = variable.title? variable.i18nTitle : undefined
|
|
24
|
+
:placeholder = variable.placeholder? variable.i18nPlaceholder : undefined
|
|
24
25
|
:required=require
|
|
25
26
|
:readonly=readonly
|
|
26
27
|
:disabled=disable
|
|
@@ -55,10 +56,10 @@ div(
|
|
|
55
56
|
| !{variable.extraTemplate}
|
|
56
57
|
if(variable.labelTips)
|
|
57
58
|
template(#title)
|
|
58
|
-
<span>!{variable.
|
|
59
|
+
<span>!{variable.i18nTitleWithBrace}</span>
|
|
59
60
|
<fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
|
|
60
61
|
<fm-icon name="s-illustrate-o"/>
|
|
61
62
|
<template #content>
|
|
62
|
-
<div class="fm-input-label-tips-content"><span>!{variable.
|
|
63
|
+
<div class="fm-input-label-tips-content"><span>!{variable.i18nLabelTips}</span></div>
|
|
63
64
|
</template>
|
|
64
65
|
</fm-popover>
|
|
@@ -7,9 +7,9 @@ fm-card(
|
|
|
7
7
|
v-if=visible
|
|
8
8
|
id=variable.replacedId ? String(variable.replacedId) : undefined
|
|
9
9
|
icon=variable.icon?String(variable.icon):undefined
|
|
10
|
-
title=variable.title?
|
|
10
|
+
:title=variable.title?variable.i18nTitle:undefined
|
|
11
11
|
:collapsible=variable.collapsible?String(variable.collapsible) : 'false'
|
|
12
|
-
:actions=variable.actions?
|
|
12
|
+
:actions=variable.actions?variable.i18nActions:undefined
|
|
13
13
|
)&attributes(attrs)
|
|
14
14
|
if(variable.headerTemplate)
|
|
15
15
|
template(#header)
|
|
@@ -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 direction = variable.displayType === 'button' ? 'horizontal' : variable.direction
|
|
15
14
|
-var binding = variable.binding && variable.binding.path ? "form."+variable.binding.path+".value" : undefined
|
|
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
|
|
@@ -23,6 +22,7 @@ div(
|
|
|
23
22
|
fm-input(
|
|
24
23
|
center
|
|
25
24
|
:required=require
|
|
25
|
+
:label = variable.title? variable.i18nTitle : undefined
|
|
26
26
|
input-align="right"
|
|
27
27
|
:labelWidth!=variable.labelWidth?variable.labelWidth+"":undefined
|
|
28
28
|
direction=inputDirection?inputDirection+"":undefined
|
|
@@ -44,10 +44,10 @@ div(
|
|
|
44
44
|
)
|
|
45
45
|
if(variable.labelTips)
|
|
46
46
|
template(#title)
|
|
47
|
-
<span>!{variable.
|
|
47
|
+
<span>!{variable.i18nTitleWithBrace}</span>
|
|
48
48
|
<fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
|
|
49
49
|
<fm-icon name="s-illustrate-o"/>
|
|
50
50
|
<template #content>
|
|
51
|
-
<div class="fm-input-label-tips-content"><span>!{variable.
|
|
51
|
+
<div class="fm-input-label-tips-content"><span>!{variable.i18nLabelTips}</span></div>
|
|
52
52
|
</template>
|
|
53
53
|
</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';
|
|
@@ -14,12 +12,16 @@
|
|
|
14
12
|
-var binding = variable.binding && variable.binding.path ? "form."+variable.binding.path+".value" : undefined
|
|
15
13
|
-var bind = variable.bind ? String(variable.bind) : undefined;
|
|
16
14
|
|
|
15
|
+
|
|
16
|
+
|
|
17
17
|
div(
|
|
18
18
|
v-if=visible
|
|
19
19
|
class="fm-input-wrapper"
|
|
20
20
|
)
|
|
21
21
|
component(
|
|
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
|
|
@@ -48,11 +50,11 @@ div(
|
|
|
48
50
|
| !{variable.extraTemplate}
|
|
49
51
|
if(variable.labelTips)
|
|
50
52
|
template(#title)
|
|
51
|
-
<span>!{variable.
|
|
53
|
+
<span>!{variable.i18nTitleWithBrace}</span>
|
|
52
54
|
<fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
|
|
53
55
|
<fm-icon name="s-illustrate-o"/>
|
|
54
56
|
<template #content>
|
|
55
|
-
<div class="fm-input-label-tips-content"><span>!{variable.
|
|
57
|
+
<div class="fm-input-label-tips-content"><span>!{variable.i18nLabelTips}</span></div>
|
|
56
58
|
</template>
|
|
57
59
|
</fm-popover>
|
|
58
60
|
|
|
@@ -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';
|
|
@@ -15,12 +13,16 @@
|
|
|
15
13
|
-var minValue = variable.minValue ? String(variable.minValue.value) : undefined;
|
|
16
14
|
-var maxValue = variable.maxValue ? String(variable.maxValue.value) : undefined;
|
|
17
15
|
|
|
16
|
+
|
|
17
|
+
|
|
18
18
|
div(
|
|
19
19
|
v-if=visible
|
|
20
20
|
class="fm-input-wrapper"
|
|
21
21
|
)
|
|
22
22
|
fm-datetime-picker(
|
|
23
23
|
v-model=binding
|
|
24
|
+
:label = variable.title? variable.i18nTitle : undefined
|
|
25
|
+
:placeholder = variable.placeholder? variable.i18nPlaceholder : undefined
|
|
24
26
|
:required=require
|
|
25
27
|
:readonly=readonly
|
|
26
28
|
:disabled=disable
|
|
@@ -29,7 +31,7 @@ div(
|
|
|
29
31
|
:modelValue=variable.modelValue ? variable.modelValue+"":undefined
|
|
30
32
|
inputClass=variable.direction === 'vertical' ? "fm-input-vertical" : undefined
|
|
31
33
|
type=variable.showType?""+variable.showType:undefined
|
|
32
|
-
title=variable.title?""+variable.
|
|
34
|
+
:title=variable.title?""+variable.i18nTitle:undefined
|
|
33
35
|
format=variable.format?""+variable.format:undefined
|
|
34
36
|
input-align="right"
|
|
35
37
|
direction=variable.direction?variable.direction+"":undefined
|
|
@@ -49,10 +51,10 @@ div(
|
|
|
49
51
|
| !{variable.extraTemplate}
|
|
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>
|
|
@@ -6,7 +6,7 @@
|
|
|
6
6
|
fm-collapse-item(
|
|
7
7
|
v-if=visible
|
|
8
8
|
id=variable.replacedId ? String(variable.replacedId) : undefined
|
|
9
|
-
title=variable.title?
|
|
9
|
+
:title=variable.title?variable.i18nTitle : undefined
|
|
10
10
|
position=variable.isInner ? 'bottom' : 'top'
|
|
11
11
|
:collapse=variable.collapse?String(variable.collapse): undefined
|
|
12
12
|
)&attributes(attrs)
|
|
@@ -12,10 +12,10 @@ fm-filter(
|
|
|
12
12
|
v-model=variable.binding?""+variable.binding:undefined
|
|
13
13
|
type=variable.showType?""+variable.showType:undefined
|
|
14
14
|
position=variable.position?""+variable.position:undefined
|
|
15
|
-
placeholder=variable.placeholder?
|
|
15
|
+
:placeholder=variable.placeholder?variable.i18nPlaceholder:undefined
|
|
16
16
|
:searchBoxValue=variable.searchBoxValue?""+variable.searchBoxValue:undefined
|
|
17
17
|
:useSearch=variable.useSearch?""+variable.useSearch:undefined
|
|
18
|
-
:fieldConfigs=variable.fieldConfigs?
|
|
18
|
+
:fieldConfigs=variable.fieldConfigs?variable.i18nFieldConfigs:[]
|
|
19
19
|
@confirm=variable.onQuery?""+variable.onQuery:undefined
|
|
20
20
|
@searchBoxChange=variable.searchBoxChange?""+variable.searchBoxChange:undefined
|
|
21
21
|
)&attributes(attrs)
|
|
@@ -20,6 +20,6 @@ div(
|
|
|
20
20
|
<fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
|
|
21
21
|
<fm-icon name="s-illustrate-o"/>
|
|
22
22
|
<template #content>
|
|
23
|
-
<div class="fm-input-label-tips-content"><span>!{variable.
|
|
23
|
+
<div class="fm-input-label-tips-content"><span>!{variable.i18nLabelTips}</span></div>
|
|
24
24
|
</template>
|
|
25
25
|
</fm-popover>
|
|
@@ -0,0 +1,11 @@
|
|
|
1
|
+
|
|
2
|
+
-var attrs = {};
|
|
3
|
+
-attrs.class = variable.appearance && variable.appearance.class;
|
|
4
|
+
-attrs.style = variable.appearance && variable.appearance.style;
|
|
5
|
+
- var visible = variable.visible ? String(variable.visible.value) : undefined;
|
|
6
|
+
|
|
7
|
+
|
|
8
|
+
fm-icon(
|
|
9
|
+
v-if=visible
|
|
10
|
+
name=variable.name ? String(variable.iconName) : undefined;
|
|
11
|
+
)&attributes(attrs)
|
|
@@ -70,7 +70,7 @@ fm-listview(
|
|
|
70
70
|
class=item.appearance && item.appearance.class? item.appearance.class + " fm-list-view-swipe-toolbar" : "fm-list-view-swipe-toolbar"
|
|
71
71
|
style!=item.appearance && item.appearance.style
|
|
72
72
|
@click.stop=item.click?item.click+"({ swipecellClose: close })":undefined
|
|
73
|
-
)=item.
|
|
73
|
+
)=item.i18nText
|
|
74
74
|
div(
|
|
75
75
|
class="fm-listview-item-tmpl-wrapper"
|
|
76
76
|
@click=variable.listClick?""+variable.listClick:undefined
|
|
@@ -82,3 +82,6 @@ fm-listview(
|
|
|
82
82
|
@click=variable.listClick?""+variable.listClick:undefined
|
|
83
83
|
)
|
|
84
84
|
!=variable.contentTemplate?variable.contentTemplate:''
|
|
85
|
+
if(variable.listviewEmpty)
|
|
86
|
+
template(#listviewEmpty)
|
|
87
|
+
!=variable.listviewEmpty
|
|
@@ -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,17 +11,21 @@
|
|
|
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-department(
|
|
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
|
-
title=variable.title?""+variable.
|
|
28
|
+
:title=variable.title?""+variable.i18nTitle:undefined
|
|
27
29
|
navTitle=variable.navTitle?""+variable.navTitle:undefined
|
|
28
30
|
:clearable!=variable.clearable?variable.clearable+"":undefined
|
|
29
31
|
url=variable.dataSource.uri?""+variable.dataSource.uri:undefined
|
|
@@ -86,10 +88,10 @@ div(
|
|
|
86
88
|
| !{variable.extraTemplate}
|
|
87
89
|
if(variable.labelTips)
|
|
88
90
|
template(#title)
|
|
89
|
-
<span>!{variable.
|
|
91
|
+
<span>!{variable.i18nTitleWithBrace}</span>
|
|
90
92
|
<fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
|
|
91
93
|
<fm-icon name="s-illustrate-o"/>
|
|
92
94
|
<template #content>
|
|
93
|
-
<div class="fm-input-label-tips-content"><span>!{variable.
|
|
95
|
+
<div class="fm-input-label-tips-content"><span>!{variable.i18nLabelTips}</span></div>
|
|
94
96
|
</template>
|
|
95
97
|
</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';
|
|
@@ -12,6 +10,9 @@
|
|
|
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
|
|
13
|
+
-var uri = variable.dataSource && variable.dataSource.uri?""+variable.dataSource.uri:undefined
|
|
14
|
+
-var idField = variable.dataSource && variable.dataSource.idField?""+variable.dataSource.idField:'id'
|
|
15
|
+
|
|
15
16
|
|
|
16
17
|
div(
|
|
17
18
|
v-if=visible
|
|
@@ -22,14 +23,16 @@ div(
|
|
|
22
23
|
:required=require
|
|
23
24
|
:readonly=readonly
|
|
24
25
|
:disabled=disable
|
|
26
|
+
url=uri
|
|
27
|
+
idField=idField
|
|
28
|
+
:label = variable.title? variable.i18nTitle : undefined
|
|
29
|
+
:placeholder = variable.placeholder? variable.i18nPlaceholder : undefined
|
|
25
30
|
:modelValue=variable.value ? variable.value+"":undefined
|
|
26
|
-
title=variable.title?""+variable.
|
|
31
|
+
:title=variable.title?""+variable.i18nTitle:undefined
|
|
27
32
|
navTitle=variable.navTitle?""+variable.navTitle:undefined
|
|
28
33
|
groupTitle=variable.groupTitle?""+variable.groupTitle:undefined
|
|
29
34
|
:clearable!=variable.clearable?variable.clearable+"":undefined
|
|
30
|
-
url=variable.dataSource.uri?""+variable.dataSource.uri:undefined
|
|
31
35
|
data=variable.data?""+variable.data:undefined
|
|
32
|
-
idField=variable.dataSource.idField?""+variable.dataSource.idField:undefined
|
|
33
36
|
textField=variable.textField?""+variable.textField:undefined
|
|
34
37
|
pageSize=variable.pageSize?""+variable.pageSize:undefined
|
|
35
38
|
navTextField=variable.navTextField?""+variable.navTextField:undefined
|
|
@@ -87,10 +90,10 @@ div(
|
|
|
87
90
|
| !{variable.extraTemplate}
|
|
88
91
|
if(variable.labelTips)
|
|
89
92
|
template(#title)
|
|
90
|
-
<span>!{variable.
|
|
93
|
+
<span>!{variable.i18nTitleWithBrace}</span>
|
|
91
94
|
<fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
|
|
92
95
|
<fm-icon name="s-illustrate-o"/>
|
|
93
96
|
<template #content>
|
|
94
|
-
<div class="fm-input-label-tips-content"><span>!{variable.
|
|
97
|
+
<div class="fm-input-label-tips-content"><span>!{variable.i18nLabelTips}</span></div>
|
|
95
98
|
</template>
|
|
96
99
|
</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,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
|