@farris/jit-engine 1.3.245 → 1.3.247
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/template/ui/mobilevue/action-bar.pug +10 -10
- package/lib/template/ui/mobilevue/approval-info.pug +18 -18
- package/lib/template/ui/mobilevue/approval-logs.pug +11 -11
- package/lib/template/ui/mobilevue/area-picker.pug +2 -0
- package/lib/template/ui/mobilevue/attachment-entry.pug +17 -17
- package/lib/template/ui/mobilevue/attachment-uploader.pug +18 -18
- package/lib/template/ui/mobilevue/attachment.pug +28 -28
- package/lib/template/ui/mobilevue/banner.pug +4 -4
- package/lib/template/ui/mobilevue/button.pug +22 -22
- package/lib/template/ui/mobilevue/calendar-input.pug +2 -0
- package/lib/template/ui/mobilevue/calendar.pug +30 -30
- package/lib/template/ui/mobilevue/card.pug +19 -19
- package/lib/template/ui/mobilevue/checkbox-group.pug +2 -0
- package/lib/template/ui/mobilevue/component-ref.pug +3 -3
- package/lib/template/ui/mobilevue/container.pug +9 -9
- package/lib/template/ui/mobilevue/contentcontainer.pug +11 -11
- package/lib/template/ui/mobilevue/custom-box.pug +2 -0
- package/lib/template/ui/mobilevue/date-time-picker.pug +2 -0
- package/lib/template/ui/mobilevue/field-set.pug +14 -14
- package/lib/template/ui/mobilevue/filter.pug +23 -23
- package/lib/template/ui/mobilevue/form.pug +7 -7
- package/lib/template/ui/mobilevue/html-preview.pug +25 -25
- package/lib/template/ui/mobilevue/image-uploader.pug +15 -15
- package/lib/template/ui/mobilevue/lookup-department.pug +2 -0
- package/lib/template/ui/mobilevue/lookup-employee.pug +2 -0
- package/lib/template/ui/mobilevue/lookup-input.pug +2 -0
- package/lib/template/ui/mobilevue/nav-bar.pug +30 -30
- package/lib/template/ui/mobilevue/number.pug +2 -0
- package/lib/template/ui/mobilevue/picker-relation.pug +2 -0
- package/lib/template/ui/mobilevue/picker.pug +2 -0
- package/lib/template/ui/mobilevue/radio-group.pug +2 -0
- package/lib/template/ui/mobilevue/rich-text-editor.pug +57 -55
- package/lib/template/ui/mobilevue/schedule.pug +13 -13
- package/lib/template/ui/mobilevue/scroll-navbar.pug +13 -13
- package/lib/template/ui/mobilevue/search.pug +19 -19
- package/lib/template/ui/mobilevue/section.pug +33 -33
- package/lib/template/ui/mobilevue/sidebar-item.pug +9 -9
- package/lib/template/ui/mobilevue/sidebar.pug +11 -11
- package/lib/template/ui/mobilevue/staff-info.pug +12 -12
- package/lib/template/ui/mobilevue/static-text.pug +1 -1
- package/lib/template/ui/mobilevue/steps.pug +8 -8
- package/lib/template/ui/mobilevue/switch.pug +45 -43
- package/lib/template/ui/mobilevue/tabpage.pug +14 -14
- package/lib/template/ui/mobilevue/tabs.pug +16 -16
- package/lib/template/ui/mobilevue/text-area.pug +4 -0
- package/lib/template/ui/mobilevue/text-box-external.pug +2 -0
- package/lib/template/ui/mobilevue/text-box.pug +2 -0
- package/lib/template/ui/mobilevue/text-scan.pug +2 -0
- package/lib/template/ui/mobilevue/text-telphone.pug +2 -0
- package/lib/template/ui/mobilevue/toolbar-area.pug +9 -9
- package/lib/template/ui/mobilevue/toolbar-item.pug +14 -14
- package/lib/template/ui/mobilevue/toolbar.pug +5 -5
- package/package.json +85 -56
|
@@ -1,25 +1,25 @@
|
|
|
1
|
-
-variable.readonly = variable.readonly?String(variable.readonly).replace(/"/g, "'")+"":undefined;
|
|
2
|
-
//- -variable.errorMessage = variable.binding && variable.binding.path? `form.${variable.binding.path}.validationResult && form.${variable.binding.path}.validationResult.message`:undefined
|
|
3
|
-
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
4
|
-
|
|
5
|
-
div(
|
|
6
|
-
v-if=visible
|
|
7
|
-
class="fm-input-wrapper"
|
|
8
|
-
)
|
|
9
|
-
fm-input(
|
|
10
|
-
id=variable.id?"" + variable.id:undefined
|
|
11
|
-
label=variable.title?variable.title:undefined
|
|
12
|
-
)
|
|
13
|
-
template(#value)
|
|
14
|
-
fm-html(
|
|
15
|
-
:html=variable.binding && variable.binding.path?"form."+variable.binding.path+".value":undefined
|
|
16
|
-
)
|
|
17
|
-
if(variable.labelTips)
|
|
18
|
-
template(#title)
|
|
19
|
-
<span>!{variable.title}</span>
|
|
20
|
-
<fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
|
|
21
|
-
<fm-icon name="s-illustrate-o"/>
|
|
22
|
-
<template #content>
|
|
23
|
-
<div class="fm-input-label-tips-content"><span>!{variable.labelTips}</span></div>
|
|
24
|
-
</template>
|
|
25
|
-
</fm-popover>
|
|
1
|
+
-variable.readonly = variable.readonly?String(variable.readonly).replace(/"/g, "'")+"":undefined;
|
|
2
|
+
//- -variable.errorMessage = variable.binding && variable.binding.path? `form.${variable.binding.path}.validationResult && form.${variable.binding.path}.validationResult.message`:undefined
|
|
3
|
+
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
4
|
+
|
|
5
|
+
div(
|
|
6
|
+
v-if=visible
|
|
7
|
+
class="fm-input-wrapper"
|
|
8
|
+
)
|
|
9
|
+
fm-input(
|
|
10
|
+
id=variable.id?"" + variable.id:undefined
|
|
11
|
+
label=variable.title?variable.title:undefined
|
|
12
|
+
)
|
|
13
|
+
template(#value)
|
|
14
|
+
fm-html(
|
|
15
|
+
:html=variable.binding && variable.binding.path?"form."+variable.binding.path+".value":undefined
|
|
16
|
+
)
|
|
17
|
+
if(variable.labelTips)
|
|
18
|
+
template(#title)
|
|
19
|
+
<span>!{variable.title}</span>
|
|
20
|
+
<fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
|
|
21
|
+
<fm-icon name="s-illustrate-o"/>
|
|
22
|
+
<template #content>
|
|
23
|
+
<div class="fm-input-label-tips-content"><span>!{variable.labelTips}</span></div>
|
|
24
|
+
</template>
|
|
25
|
+
</fm-popover>
|
|
@@ -1,15 +1,15 @@
|
|
|
1
|
-
-var imageInfo =`$formatUtils.fileInfo(currentEntityData.${variable.binding.bindingPath}, '${variable.rootId}')`
|
|
2
|
-
-var extendContext =`{ rootId: '${variable.rootId}', formId: '${variable.parentDirName}', fieldPath: '/${variable.binding.bindingPath}'}`
|
|
3
|
-
|
|
4
|
-
div(class="fm-input-wrapper" v-if=variable.visible?variable.visible+"":"false")
|
|
5
|
-
fm-image-uploader(
|
|
6
|
-
style=(variable.appearance && variable.appearance.style)
|
|
7
|
-
class=variable.className
|
|
8
|
-
id=variable.id?"" + variable.id:undefined
|
|
9
|
-
title=variable.title?variable.title:undefined
|
|
10
|
-
:disabled!=variable.disabled?variable.disabled+"":undefined
|
|
11
|
-
:imageInfo!=imageInfo
|
|
12
|
-
:extendContext!=extendContext
|
|
13
|
-
)
|
|
14
|
-
|
|
15
|
-
|
|
1
|
+
-var imageInfo =`$formatUtils.fileInfo(currentEntityData.${variable.binding.bindingPath}, '${variable.rootId}')`
|
|
2
|
+
-var extendContext =`{ rootId: '${variable.rootId}', formId: '${variable.parentDirName}', fieldPath: '/${variable.binding.bindingPath}'}`
|
|
3
|
+
|
|
4
|
+
div(class="fm-input-wrapper" v-if=variable.visible?variable.visible+"":"false")
|
|
5
|
+
fm-image-uploader(
|
|
6
|
+
style=(variable.appearance && variable.appearance.style)
|
|
7
|
+
class=variable.className
|
|
8
|
+
id=variable.id?"" + variable.id:undefined
|
|
9
|
+
title=variable.title?variable.title:undefined
|
|
10
|
+
:disabled!=variable.disabled?variable.disabled+"":undefined
|
|
11
|
+
:imageInfo!=imageInfo
|
|
12
|
+
:extendContext!=extendContext
|
|
13
|
+
)
|
|
14
|
+
|
|
15
|
+
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
-attrs.id = variable.replacedId? String(variable.replacedId) : undefined
|
|
6
6
|
-attrs.placeholder = variable.placeholder? String(variable.placeholder) : undefined
|
|
7
7
|
-attrs.label = variable.title? String(variable.title) : undefined
|
|
8
|
+
-attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
|
|
9
|
+
-attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
|
|
8
10
|
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
9
11
|
-var require = variable.require ? String(variable.require.value) : undefined;
|
|
10
12
|
-var readonly = variable.readonly ? String(variable.readonly.value) : undefined;
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
-attrs.id = variable.replacedId? String(variable.replacedId) : undefined
|
|
6
6
|
-attrs.placeholder = variable.placeholder? String(variable.placeholder) : undefined
|
|
7
7
|
-attrs.label = variable.title? String(variable.title) : undefined
|
|
8
|
+
-attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
|
|
9
|
+
-attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
|
|
8
10
|
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
9
11
|
-var require = variable.require ? String(variable.require.value) : undefined;
|
|
10
12
|
-var readonly = variable.readonly ? String(variable.readonly.value) : undefined;
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
-attrs.id = variable.replacedId? String(variable.replacedId) : undefined
|
|
6
6
|
-attrs.placeholder = variable.placeholder? String(variable.placeholder) : undefined
|
|
7
7
|
-attrs.label = variable.title? String(variable.title) : undefined
|
|
8
|
+
-attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
|
|
9
|
+
-attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
|
|
8
10
|
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
9
11
|
-var require = variable.require ? String(variable.require.value) : undefined;
|
|
10
12
|
-var readonly = variable.readonly ? String(variable.readonly.value) : undefined;
|
|
@@ -1,31 +1,31 @@
|
|
|
1
|
-
-var attrs = {};
|
|
2
|
-
-attrs.class = variable.appearance && variable.appearance.class;
|
|
3
|
-
-attrs.style = variable.appearance && variable.appearance.style;
|
|
4
|
-
-var visible = variable.visible ? String(variable.visible.value) : undefined;
|
|
5
|
-
|
|
6
|
-
fm-navbar(
|
|
7
|
-
v-if=visible
|
|
8
|
-
id=variable.replaceId
|
|
9
|
-
title=variable.title?""+variable.title:undefined
|
|
10
|
-
:leftArrow=variable.leftArrow!==undefined?""+variable.leftArrow:undefined
|
|
11
|
-
@click-left=variable.leftClick?""+variable.leftClick:undefined
|
|
12
|
-
@click-right=variable.rightClick?""+variable.rightClick:undefined
|
|
13
|
-
)&attributes(attrs)
|
|
14
|
-
if variable.leftTemplate
|
|
15
|
-
template(#left)
|
|
16
|
-
| !{variable.leftTemplate}
|
|
17
|
-
if variable.titleTemplate
|
|
18
|
-
template(#title)
|
|
19
|
-
| !{variable.titleTemplate}
|
|
20
|
-
template(#right)
|
|
21
|
-
if variable.rightTemplate
|
|
22
|
-
| !{variable.rightTemplate}
|
|
23
|
-
else if(variable.toolbar && variable.toolbar.items && variable.toolbar.items.length > 0)
|
|
24
|
-
fm-popover(
|
|
25
|
-
v-if=variable.toolbar.visible !== undefined ? "" + variable.toolbar.visible : undefined
|
|
26
|
-
ref="popover"
|
|
27
|
-
:offset="{top:0, left:7}"
|
|
28
|
-
)
|
|
29
|
-
fm-icon(name="other")
|
|
30
|
-
template(#content)
|
|
1
|
+
-var attrs = {};
|
|
2
|
+
-attrs.class = variable.appearance && variable.appearance.class;
|
|
3
|
+
-attrs.style = variable.appearance && variable.appearance.style;
|
|
4
|
+
-var visible = variable.visible ? String(variable.visible.value) : undefined;
|
|
5
|
+
|
|
6
|
+
fm-navbar(
|
|
7
|
+
v-if=visible
|
|
8
|
+
id=variable.replaceId
|
|
9
|
+
title=variable.title?""+variable.title:undefined
|
|
10
|
+
:leftArrow=variable.leftArrow!==undefined?""+variable.leftArrow:undefined
|
|
11
|
+
@click-left=variable.leftClick?""+variable.leftClick:undefined
|
|
12
|
+
@click-right=variable.rightClick?""+variable.rightClick:undefined
|
|
13
|
+
)&attributes(attrs)
|
|
14
|
+
if variable.leftTemplate
|
|
15
|
+
template(#left)
|
|
16
|
+
| !{variable.leftTemplate}
|
|
17
|
+
if variable.titleTemplate
|
|
18
|
+
template(#title)
|
|
19
|
+
| !{variable.titleTemplate}
|
|
20
|
+
template(#right)
|
|
21
|
+
if variable.rightTemplate
|
|
22
|
+
| !{variable.rightTemplate}
|
|
23
|
+
else if(variable.toolbar && variable.toolbar.items && variable.toolbar.items.length > 0)
|
|
24
|
+
fm-popover(
|
|
25
|
+
v-if=variable.toolbar.visible !== undefined ? "" + variable.toolbar.visible : undefined
|
|
26
|
+
ref="popover"
|
|
27
|
+
:offset="{top:0, left:7}"
|
|
28
|
+
)
|
|
29
|
+
fm-icon(name="other")
|
|
30
|
+
template(#content)
|
|
31
31
|
| {{content}}
|
|
@@ -6,6 +6,8 @@
|
|
|
6
6
|
-attrs.id = variable.replacedId? String(variable.replacedId) : undefined
|
|
7
7
|
-attrs.placeholder = variable.placeholder? String(variable.placeholder) : undefined
|
|
8
8
|
-attrs.label = variable.title? String(variable.title) : undefined
|
|
9
|
+
-attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
|
|
10
|
+
-attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
|
|
9
11
|
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
10
12
|
-var require = variable.require ? String(variable.require.value) : undefined;
|
|
11
13
|
-var readonly = variable.readonly ? String(variable.readonly.value) : undefined;
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
-attrs.id = variable.replacedId? String(variable.replacedId) : undefined
|
|
6
6
|
-attrs.placeholder = variable.placeholder? String(variable.placeholder) : undefined
|
|
7
7
|
-attrs.label = variable.title? String(variable.title) : undefined
|
|
8
|
+
-attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
|
|
9
|
+
-attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
|
|
8
10
|
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
9
11
|
-var require = variable.require ? String(variable.require.value) : undefined;
|
|
10
12
|
-var readonly = variable.readonly ? String(variable.readonly.value) : undefined;
|
|
@@ -5,6 +5,8 @@
|
|
|
5
5
|
-attrs.id = variable.replacedId? String(variable.replacedId) : undefined
|
|
6
6
|
-attrs.placeholder = variable.placeholder? String(variable.placeholder) : undefined
|
|
7
7
|
-attrs.label = variable.title? String(variable.title) : undefined
|
|
8
|
+
-attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
|
|
9
|
+
-attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
|
|
8
10
|
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
9
11
|
-var require = variable.require ? String(variable.require.value) : undefined;
|
|
10
12
|
-var readonly = variable.readonly ? String(variable.readonly.value) : undefined;
|
|
@@ -3,6 +3,8 @@
|
|
|
3
3
|
-attrs.class = variable.appearance && variable.appearance.class;
|
|
4
4
|
-attrs.style = variable.appearance && variable.appearance.style;
|
|
5
5
|
-attrs.label = variable.title? String(variable.title) : undefined
|
|
6
|
+
-attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
|
|
7
|
+
-attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
|
|
6
8
|
-var checkerStyle = variable.checkerWidth ? { width: variable.checkerWidth + 'px' } : undefined
|
|
7
9
|
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
8
10
|
-var require = variable.require ? String(variable.require.value) : undefined;
|
|
@@ -1,56 +1,58 @@
|
|
|
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
|
-
-
|
|
6
|
-
-
|
|
7
|
-
-var
|
|
8
|
-
-var
|
|
9
|
-
-var
|
|
10
|
-
-var
|
|
11
|
-
-var
|
|
12
|
-
-readonly = readonly
|
|
13
|
-
-var
|
|
14
|
-
|
|
15
|
-
|
|
16
|
-
|
|
17
|
-
|
|
18
|
-
|
|
19
|
-
|
|
20
|
-
|
|
21
|
-
|
|
22
|
-
|
|
23
|
-
|
|
24
|
-
|
|
25
|
-
|
|
26
|
-
|
|
27
|
-
|
|
28
|
-
|
|
29
|
-
|
|
30
|
-
fm-input
|
|
31
|
-
|
|
32
|
-
|
|
33
|
-
|
|
34
|
-
|
|
35
|
-
:
|
|
36
|
-
|
|
37
|
-
|
|
38
|
-
|
|
39
|
-
|
|
40
|
-
|
|
41
|
-
|
|
42
|
-
|
|
43
|
-
|
|
44
|
-
|
|
45
|
-
|
|
46
|
-
|
|
47
|
-
|
|
48
|
-
|
|
49
|
-
|
|
50
|
-
|
|
51
|
-
|
|
52
|
-
|
|
53
|
-
|
|
54
|
-
|
|
55
|
-
|
|
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.ref = variable.replacedId? String(variable.replacedId) : undefined
|
|
6
|
+
-attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
|
|
7
|
+
-var placeholder = variable.placeholder? String(variable.placeholder) : undefined
|
|
8
|
+
-var id = variable.replacedId? String(variable.replacedId) : undefined
|
|
9
|
+
-var label = variable.title? String(variable.title) : undefined
|
|
10
|
+
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
11
|
+
-var require = variable.require ? String(variable.require.value) : undefined;
|
|
12
|
+
-var readonly = variable.readonly ? String(variable.readonly.value) : undefined;
|
|
13
|
+
-var disable = variable.disable ? String(variable.disable.value) : undefined;
|
|
14
|
+
-readonly = readonly && readonly !== 'false' ? readonly : disable
|
|
15
|
+
-var binding = variable.binding && variable.binding.path ? "form."+variable.binding.path+".value" : undefined
|
|
16
|
+
|
|
17
|
+
if(variable.noInput)
|
|
18
|
+
fm-rich-editor(
|
|
19
|
+
v-if=visible
|
|
20
|
+
v-model=binding
|
|
21
|
+
:readonly=readonly
|
|
22
|
+
:modelValue=variable.modelValue ? variable.modelValue+"":undefined
|
|
23
|
+
placeholder=placeholder
|
|
24
|
+
position=variable.position ?""+variable.position:undefined
|
|
25
|
+
:border=variable.border ?""+variable.border:"false"
|
|
26
|
+
)&attributes(attrs)
|
|
27
|
+
else
|
|
28
|
+
div(
|
|
29
|
+
v-if=visible
|
|
30
|
+
class="fm-input-wrapper"
|
|
31
|
+
)
|
|
32
|
+
fm-input(
|
|
33
|
+
id=id
|
|
34
|
+
class="fm-input-vertical"
|
|
35
|
+
:required=require
|
|
36
|
+
label=label
|
|
37
|
+
:labelWidth!=variable.labelWidth?variable.labelWidth+"":undefined
|
|
38
|
+
:error-message!=variable.errorMessage
|
|
39
|
+
error-message-align=variable.errorMessage ? "right" : undefined
|
|
40
|
+
)&attributes(attrs)
|
|
41
|
+
template(#value)
|
|
42
|
+
fm-rich-editor(
|
|
43
|
+
v-model=binding
|
|
44
|
+
:readonly=readonly
|
|
45
|
+
:modelValue=variable.modelValue ? variable.modelValue+"":undefined
|
|
46
|
+
placeholder=placeholder
|
|
47
|
+
position=variable.position ?""+variable.position:undefined
|
|
48
|
+
:border=variable.border ?""+variable.border:"false"
|
|
49
|
+
)
|
|
50
|
+
if(variable.labelTips)
|
|
51
|
+
template(#title)
|
|
52
|
+
<span>!{variable.title}</span>
|
|
53
|
+
<fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
|
|
54
|
+
<fm-icon name="s-illustrate-o"/>
|
|
55
|
+
<template #content>
|
|
56
|
+
<div class="fm-input-label-tips-content"><span>!{variable.labelTips}</span></div>
|
|
57
|
+
</template>
|
|
56
58
|
</fm-popover>
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
-var attrs = {};
|
|
2
|
-
-attrs.class = variable.appearance && variable.appearance.class;
|
|
3
|
-
-attrs.style = variable.appearance && variable.appearance.style;
|
|
4
|
-
-attrs.id = variable.replacedId ? String(variable.replacedId) : undefined;
|
|
5
|
-
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
6
|
-
|
|
7
|
-
fm-scheadule(
|
|
8
|
-
v-if=visible
|
|
9
|
-
:startTime=variable.startTime?""+variable.startTime:undefined
|
|
10
|
-
:endTime=variable.endTime?""+variable.endTime:undefined
|
|
11
|
-
:events=variable.events?variable.events:undefined
|
|
12
|
-
eventColor=variable.eventColor?""+variable.eventColor:undefined
|
|
13
|
-
@event-click=variable.onEventClick?""+variable.onEventClick:undefined
|
|
1
|
+
-var attrs = {};
|
|
2
|
+
-attrs.class = variable.appearance && variable.appearance.class;
|
|
3
|
+
-attrs.style = variable.appearance && variable.appearance.style;
|
|
4
|
+
-attrs.id = variable.replacedId ? String(variable.replacedId) : undefined;
|
|
5
|
+
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
6
|
+
|
|
7
|
+
fm-scheadule(
|
|
8
|
+
v-if=visible
|
|
9
|
+
:startTime=variable.startTime?""+variable.startTime:undefined
|
|
10
|
+
:endTime=variable.endTime?""+variable.endTime:undefined
|
|
11
|
+
:events=variable.events?variable.events:undefined
|
|
12
|
+
eventColor=variable.eventColor?""+variable.eventColor:undefined
|
|
13
|
+
@event-click=variable.onEventClick?""+variable.onEventClick:undefined
|
|
14
14
|
)&attributes(attrs)
|
|
@@ -1,14 +1,14 @@
|
|
|
1
|
-
-var attrs = {};
|
|
2
|
-
-attrs.class = variable.appearance && variable.appearance.class;
|
|
3
|
-
-attrs.style = variable.appearance && variable.appearance.style;
|
|
4
|
-
-var visible = variable.visible ? String(variable.visible.value) : undefined;
|
|
5
|
-
|
|
6
|
-
fm-scroll-navbar(
|
|
7
|
-
v-if=visible
|
|
8
|
-
id=variable.replacedId ? String(variable.replacedId) : undefined
|
|
9
|
-
contentRef=variable.scrollContainer?""+variable.scrollContainer:undefined
|
|
10
|
-
:itemRef=variable.scrollItems?""+variable.scrollItems:undefined
|
|
11
|
-
:alwaysShow=variable.alwaysShow?""+variable.alwaysShow:undefined
|
|
12
|
-
:extendable=variable.extendable?""+variable.extendable:undefined
|
|
13
|
-
extendTitle=variable.extendTitle?""+variable.extendTitle:undefined
|
|
1
|
+
-var attrs = {};
|
|
2
|
+
-attrs.class = variable.appearance && variable.appearance.class;
|
|
3
|
+
-attrs.style = variable.appearance && variable.appearance.style;
|
|
4
|
+
-var visible = variable.visible ? String(variable.visible.value) : undefined;
|
|
5
|
+
|
|
6
|
+
fm-scroll-navbar(
|
|
7
|
+
v-if=visible
|
|
8
|
+
id=variable.replacedId ? String(variable.replacedId) : undefined
|
|
9
|
+
contentRef=variable.scrollContainer?""+variable.scrollContainer:undefined
|
|
10
|
+
:itemRef=variable.scrollItems?""+variable.scrollItems:undefined
|
|
11
|
+
:alwaysShow=variable.alwaysShow?""+variable.alwaysShow:undefined
|
|
12
|
+
:extendable=variable.extendable?""+variable.extendable:undefined
|
|
13
|
+
extendTitle=variable.extendTitle?""+variable.extendTitle:undefined
|
|
14
14
|
)&attributes(attrs)
|
|
@@ -1,20 +1,20 @@
|
|
|
1
|
-
-var attrs = {};
|
|
2
|
-
-attrs.class = variable.appearance && variable.appearance.class;
|
|
3
|
-
-attrs.style = variable.appearance && variable.appearance.style;
|
|
4
|
-
-attrs.id = variable.replacedId ? String(variable.replacedId) : undefined;
|
|
5
|
-
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
6
|
-
-var disabled = variable.disabled ? String(variable.disabled.value) : undefined;
|
|
7
|
-
-var readonly = variable.readonly ? String(variable.readonly.value) : undefined;
|
|
8
|
-
-var value = variable.value ? String(variable.value.value) : undefined;
|
|
9
|
-
|
|
10
|
-
fm-search(
|
|
11
|
-
v-if=visible
|
|
12
|
-
:readonly=readonly
|
|
13
|
-
:disabled=disabled
|
|
14
|
-
:modelValue=value
|
|
15
|
-
:clearable=variable.clearable?String(variable.clearable):undefined
|
|
16
|
-
placeholder=variable.placeholder?String(variable.placeholder):undefined
|
|
17
|
-
shape=variable.shape?String(variable.shape):undefined
|
|
18
|
-
@input=variable.change?String(variable.change):undefined
|
|
19
|
-
@search=variable.search?String(variable.search):undefined
|
|
1
|
+
-var attrs = {};
|
|
2
|
+
-attrs.class = variable.appearance && variable.appearance.class;
|
|
3
|
+
-attrs.style = variable.appearance && variable.appearance.style;
|
|
4
|
+
-attrs.id = variable.replacedId ? String(variable.replacedId) : undefined;
|
|
5
|
+
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
6
|
+
-var disabled = variable.disabled ? String(variable.disabled.value) : undefined;
|
|
7
|
+
-var readonly = variable.readonly ? String(variable.readonly.value) : undefined;
|
|
8
|
+
-var value = variable.value ? String(variable.value.value) : undefined;
|
|
9
|
+
|
|
10
|
+
fm-search(
|
|
11
|
+
v-if=visible
|
|
12
|
+
:readonly=readonly
|
|
13
|
+
:disabled=disabled
|
|
14
|
+
:modelValue=value
|
|
15
|
+
:clearable=variable.clearable?String(variable.clearable):undefined
|
|
16
|
+
placeholder=variable.placeholder?String(variable.placeholder):undefined
|
|
17
|
+
shape=variable.shape?String(variable.shape):undefined
|
|
18
|
+
@input=variable.change?String(variable.change):undefined
|
|
19
|
+
@search=variable.search?String(variable.search):undefined
|
|
20
20
|
)&attributes(attrs)
|
|
@@ -1,34 +1,34 @@
|
|
|
1
|
-
-var attrs = {};
|
|
2
|
-
-attrs.class = variable.appearance && variable.appearance.class ? 'fm-tmpl-struct-wrapper'+variable.appearance.class : 'fm-tmpl-struct-wrapper';
|
|
3
|
-
-attrs.style = variable.appearance && variable.appearance.style;
|
|
4
|
-
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
5
|
-
|
|
6
|
-
div(
|
|
7
|
-
v-if=visible
|
|
8
|
-
id=variable.replacedId ? String(variable.replacedId) : undefined
|
|
9
|
-
)&attributes(attrs)
|
|
10
|
-
div(class="fm-tmpl-section fm-tmpl-section-form")
|
|
11
|
-
div(class="fm-tmpl-section-header")
|
|
12
|
-
if(variable.headerTemplate)
|
|
13
|
-
| !{variable.headerTemplate}
|
|
14
|
-
else
|
|
15
|
-
div(class="fm-title")
|
|
16
|
-
span(class="fm-title-text")
|
|
17
|
-
| !{variable.mainTitle}
|
|
18
|
-
| {{content}}
|
|
19
|
-
div(class="fm-card-footer")
|
|
20
|
-
if(variable.footerToolbar)
|
|
21
|
-
each item in variable.footerToolbar.items
|
|
22
|
-
fm-button(
|
|
23
|
-
v-if=item.visible?item.visible+"":"false"
|
|
24
|
-
class="fm-card-footer-btn"
|
|
25
|
-
type="info"
|
|
26
|
-
block
|
|
27
|
-
plain
|
|
28
|
-
noBorder
|
|
29
|
-
icon=item.iconType?""+item.iconType:undefined
|
|
30
|
-
:disabled=item.disable?""+item.disable:undefined
|
|
31
|
-
@click=item.click
|
|
32
|
-
)=item.text
|
|
33
|
-
else if(variable.footerTemplate)
|
|
1
|
+
-var attrs = {};
|
|
2
|
+
-attrs.class = variable.appearance && variable.appearance.class ? 'fm-tmpl-struct-wrapper'+variable.appearance.class : 'fm-tmpl-struct-wrapper';
|
|
3
|
+
-attrs.style = variable.appearance && variable.appearance.style;
|
|
4
|
+
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
5
|
+
|
|
6
|
+
div(
|
|
7
|
+
v-if=visible
|
|
8
|
+
id=variable.replacedId ? String(variable.replacedId) : undefined
|
|
9
|
+
)&attributes(attrs)
|
|
10
|
+
div(class="fm-tmpl-section fm-tmpl-section-form")
|
|
11
|
+
div(class="fm-tmpl-section-header")
|
|
12
|
+
if(variable.headerTemplate)
|
|
13
|
+
| !{variable.headerTemplate}
|
|
14
|
+
else
|
|
15
|
+
div(class="fm-title")
|
|
16
|
+
span(class="fm-title-text")
|
|
17
|
+
| !{variable.mainTitle}
|
|
18
|
+
| {{content}}
|
|
19
|
+
div(class="fm-card-footer")
|
|
20
|
+
if(variable.footerToolbar)
|
|
21
|
+
each item in variable.footerToolbar.items
|
|
22
|
+
fm-button(
|
|
23
|
+
v-if=item.visible?item.visible+"":"false"
|
|
24
|
+
class="fm-card-footer-btn"
|
|
25
|
+
type="info"
|
|
26
|
+
block
|
|
27
|
+
plain
|
|
28
|
+
noBorder
|
|
29
|
+
icon=item.iconType?""+item.iconType:undefined
|
|
30
|
+
:disabled=item.disable?""+item.disable:undefined
|
|
31
|
+
@click=item.click
|
|
32
|
+
)=item.text
|
|
33
|
+
else if(variable.footerTemplate)
|
|
34
34
|
| !{variable.footerTemplate}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
fm-sidebar-item(
|
|
2
|
-
id=variable.id?"" + variable.id:undefined
|
|
3
|
-
v-if=variable.visible?variable.visible+"":"false"
|
|
4
|
-
style=(variable.appearance && variable.appearance.style)
|
|
5
|
-
class=(variable.appearance && variable.appearance.class)
|
|
6
|
-
title=variable.title?"" + variable.title:undefined
|
|
7
|
-
name=variable.name?"" + variable.name:undefined
|
|
8
|
-
)
|
|
9
|
-
| {{content}}
|
|
1
|
+
fm-sidebar-item(
|
|
2
|
+
id=variable.id?"" + variable.id:undefined
|
|
3
|
+
v-if=variable.visible?variable.visible+"":"false"
|
|
4
|
+
style=(variable.appearance && variable.appearance.style)
|
|
5
|
+
class=(variable.appearance && variable.appearance.class)
|
|
6
|
+
title=variable.title?"" + variable.title:undefined
|
|
7
|
+
name=variable.name?"" + variable.name:undefined
|
|
8
|
+
)
|
|
9
|
+
| {{content}}
|
|
@@ -1,11 +1,11 @@
|
|
|
1
|
-
fm-sidebar(
|
|
2
|
-
id=variable.id?"" + variable.id:undefined
|
|
3
|
-
v-if=variable.visible?variable.visible+"":"false"
|
|
4
|
-
style=(variable.appearance && variable.appearance.style)
|
|
5
|
-
class=(variable.appearance && variable.appearance.class)
|
|
6
|
-
modelValue=variable.selected?"" + variable.selected:undefined
|
|
7
|
-
sidebarWidth=variable.sidebarWidth?"" + variable.sidebarWidth:undefined
|
|
8
|
-
@change=variable.change?"" + variable.change:undefined
|
|
9
|
-
)
|
|
10
|
-
| {{content}}
|
|
11
|
-
|
|
1
|
+
fm-sidebar(
|
|
2
|
+
id=variable.id?"" + variable.id:undefined
|
|
3
|
+
v-if=variable.visible?variable.visible+"":"false"
|
|
4
|
+
style=(variable.appearance && variable.appearance.style)
|
|
5
|
+
class=(variable.appearance && variable.appearance.class)
|
|
6
|
+
modelValue=variable.selected?"" + variable.selected:undefined
|
|
7
|
+
sidebarWidth=variable.sidebarWidth?"" + variable.sidebarWidth:undefined
|
|
8
|
+
@change=variable.change?"" + variable.change:undefined
|
|
9
|
+
)
|
|
10
|
+
| {{content}}
|
|
11
|
+
|
|
@@ -1,13 +1,13 @@
|
|
|
1
|
-
-var attrs = {};
|
|
2
|
-
-attrs.class = variable.appearance && variable.appearance.class;
|
|
3
|
-
-attrs.style = variable.appearance && variable.appearance.style;
|
|
4
|
-
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
5
|
-
|
|
6
|
-
fm-staff-info(
|
|
7
|
-
v-if=visible
|
|
8
|
-
title!=variable.titleText?"" + variable.titleText:undefined
|
|
9
|
-
:name!=variable.staffName?"" + variable.staffName:undefined
|
|
10
|
-
:sub-title!=variable.departmentName?"" + variable.departmentName:undefined
|
|
11
|
-
:staffId!=variable.staffId?"" + variable.staffId:undefined
|
|
12
|
-
avatarType!=variable.avatarType?"" + variable.avatarType:undefined
|
|
1
|
+
-var attrs = {};
|
|
2
|
+
-attrs.class = variable.appearance && variable.appearance.class;
|
|
3
|
+
-attrs.style = variable.appearance && variable.appearance.style;
|
|
4
|
+
-var visible = variable.visible ? String(variable.visible.value) : 'false';
|
|
5
|
+
|
|
6
|
+
fm-staff-info(
|
|
7
|
+
v-if=visible
|
|
8
|
+
title!=variable.titleText?"" + variable.titleText:undefined
|
|
9
|
+
:name!=variable.staffName?"" + variable.staffName:undefined
|
|
10
|
+
:sub-title!=variable.departmentName?"" + variable.departmentName:undefined
|
|
11
|
+
:staffId!=variable.staffId?"" + variable.staffId:undefined
|
|
12
|
+
avatarType!=variable.avatarType?"" + variable.avatarType:undefined
|
|
13
13
|
)&attributes(attrs)
|
|
@@ -1,2 +1,2 @@
|
|
|
1
|
-
div(class="fm-static-text-common")
|
|
1
|
+
div(class="fm-static-text-common")
|
|
2
2
|
| !{variable.html}
|
|
@@ -1,9 +1,9 @@
|
|
|
1
|
-
fm-steps(
|
|
2
|
-
class=(variable.appearance && variable.appearance.class)
|
|
3
|
-
style=(variable.appearance && variable.appearance.style)
|
|
4
|
-
v-if=variable.visible?variable.visible+"":"false"
|
|
5
|
-
:steps=variable.size?""+variable.size:undefined
|
|
6
|
-
direction=variable.size?""+variable.size:undefined
|
|
7
|
-
:current=variable.size?""+variable.size:undefined
|
|
8
|
-
:fill=variable.size?""+variable.size:undefined
|
|
1
|
+
fm-steps(
|
|
2
|
+
class=(variable.appearance && variable.appearance.class)
|
|
3
|
+
style=(variable.appearance && variable.appearance.style)
|
|
4
|
+
v-if=variable.visible?variable.visible+"":"false"
|
|
5
|
+
:steps=variable.size?""+variable.size:undefined
|
|
6
|
+
direction=variable.size?""+variable.size:undefined
|
|
7
|
+
:current=variable.size?""+variable.size:undefined
|
|
8
|
+
:fill=variable.size?""+variable.size:undefined
|
|
9
9
|
)
|