@farris/jit-engine 1.3.270 → 1.3.271

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.
Files changed (209) hide show
  1. package/lib/mobileapp/vue/code-generator/devkit-manager/app-indexvue-manager.js +2 -1
  2. package/lib/mobileapp/vue/code-generator/devkit-manager/app-indexvue-manager.js.map +1 -1
  3. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-index-vue-generator.js +17 -6
  4. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-index-vue-generator.js.map +1 -1
  5. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/router-generator.js +11 -7
  6. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/router-generator.js.map +1 -1
  7. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/index.js +16 -0
  8. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/index.js.map +1 -0
  9. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-base-context.js +24 -0
  10. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-base-context.js.map +1 -0
  11. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-component-context.js +16 -0
  12. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-component-context.js.map +1 -0
  13. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-module-context.js +15 -0
  14. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-module-context.js.map +1 -0
  15. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-ui-node-context.js +33 -0
  16. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-ui-node-context.js.map +1 -0
  17. package/lib/mobileapp/vue/domstructure/internal-entity/vue-app-index-vue-parameter.js.map +1 -1
  18. package/lib/mobileapp/vue/domstructure/ui/basic/action-bar/action-bar.js +2 -2
  19. package/lib/mobileapp/vue/domstructure/ui/basic/action-bar/action-bar.js.map +1 -1
  20. package/lib/mobileapp/vue/domstructure/ui/basic/button/button.js +12 -2
  21. package/lib/mobileapp/vue/domstructure/ui/basic/button/button.js.map +1 -1
  22. package/lib/mobileapp/vue/domstructure/ui/basic/icon/icon.js +2 -2
  23. package/lib/mobileapp/vue/domstructure/ui/basic/icon/icon.js.map +1 -1
  24. package/lib/mobileapp/vue/domstructure/ui/basic/image/image.js +2 -2
  25. package/lib/mobileapp/vue/domstructure/ui/basic/image/image.js.map +1 -1
  26. package/lib/mobileapp/vue/domstructure/ui/basic/nav-bar/vue-nav-bar.js +21 -7
  27. package/lib/mobileapp/vue/domstructure/ui/basic/nav-bar/vue-nav-bar.js.map +1 -1
  28. package/lib/mobileapp/vue/domstructure/ui/basic/search/search.js +12 -2
  29. package/lib/mobileapp/vue/domstructure/ui/basic/search/search.js.map +1 -1
  30. package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar-item.js +4 -7
  31. package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar-item.js.map +1 -1
  32. package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar.js +4 -7
  33. package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar.js.map +1 -1
  34. package/lib/mobileapp/vue/domstructure/ui/basic/tab/vue-tab-bar.js +21 -2
  35. package/lib/mobileapp/vue/domstructure/ui/basic/tab/vue-tab-bar.js.map +1 -1
  36. package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-area.js +2 -2
  37. package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-area.js.map +1 -1
  38. package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-item.js +15 -2
  39. package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-item.js.map +1 -1
  40. package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar.js +4 -7
  41. package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar.js.map +1 -1
  42. package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-comments.js +2 -2
  43. package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-comments.js.map +1 -1
  44. package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-info.js +14 -2
  45. package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-info.js.map +1 -1
  46. package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-logs.js +12 -2
  47. package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-logs.js.map +1 -1
  48. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-entry.js +2 -2
  49. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-entry.js.map +1 -1
  50. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-file.js +12 -2
  51. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-file.js.map +1 -1
  52. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-uploader.js +2 -2
  53. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-uploader.js.map +1 -1
  54. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment.js +2 -2
  55. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment.js.map +1 -1
  56. package/lib/mobileapp/vue/domstructure/ui/business/attachment/image-uploader.js +2 -2
  57. package/lib/mobileapp/vue/domstructure/ui/business/attachment/image-uploader.js.map +1 -1
  58. package/lib/mobileapp/vue/domstructure/ui/business/filter/filter.js +51 -2
  59. package/lib/mobileapp/vue/domstructure/ui/business/filter/filter.js.map +1 -1
  60. package/lib/mobileapp/vue/domstructure/ui/business/scroll-navbar.js +2 -2
  61. package/lib/mobileapp/vue/domstructure/ui/business/scroll-navbar.js.map +1 -1
  62. package/lib/mobileapp/vue/domstructure/ui/common/vue-toolbar.js +5 -1
  63. package/lib/mobileapp/vue/domstructure/ui/common/vue-toolbar.js.map +1 -1
  64. package/lib/mobileapp/vue/domstructure/ui/container/card.js +32 -2
  65. package/lib/mobileapp/vue/domstructure/ui/container/card.js.map +1 -1
  66. package/lib/mobileapp/vue/domstructure/ui/container/field-set.js +12 -2
  67. package/lib/mobileapp/vue/domstructure/ui/container/field-set.js.map +1 -1
  68. package/lib/mobileapp/vue/domstructure/ui/container/vue-container.js +4 -7
  69. package/lib/mobileapp/vue/domstructure/ui/container/vue-container.js.map +1 -1
  70. package/lib/mobileapp/vue/domstructure/ui/container/vue-content-container.js +2 -2
  71. package/lib/mobileapp/vue/domstructure/ui/container/vue-content-container.js.map +1 -1
  72. package/lib/mobileapp/vue/domstructure/ui/container/vue-float-container.js +2 -2
  73. package/lib/mobileapp/vue/domstructure/ui/container/vue-float-container.js.map +1 -1
  74. package/lib/mobileapp/vue/domstructure/ui/container/vue-form.js +2 -2
  75. package/lib/mobileapp/vue/domstructure/ui/container/vue-form.js.map +1 -1
  76. package/lib/mobileapp/vue/domstructure/ui/container/vue-item-container.js +4 -7
  77. package/lib/mobileapp/vue/domstructure/ui/container/vue-item-container.js.map +1 -1
  78. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-container.js +2 -2
  79. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-container.js.map +1 -1
  80. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-content-container.js +2 -2
  81. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-content-container.js.map +1 -1
  82. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-footer-container.js +2 -2
  83. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-footer-container.js.map +1 -1
  84. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-header-container.js +2 -2
  85. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-header-container.js.map +1 -1
  86. package/lib/mobileapp/vue/domstructure/ui/container/vue-section.js +4 -7
  87. package/lib/mobileapp/vue/domstructure/ui/container/vue-section.js.map +1 -1
  88. package/lib/mobileapp/vue/domstructure/ui/container/vue-tab-page.js +12 -2
  89. package/lib/mobileapp/vue/domstructure/ui/container/vue-tab-page.js.map +1 -1
  90. package/lib/mobileapp/vue/domstructure/ui/container/vue-tabs.js +2 -2
  91. package/lib/mobileapp/vue/domstructure/ui/container/vue-tabs.js.map +1 -1
  92. package/lib/mobileapp/vue/domstructure/ui/display/banner/vue-banner.js +2 -2
  93. package/lib/mobileapp/vue/domstructure/ui/display/banner/vue-banner.js.map +1 -1
  94. package/lib/mobileapp/vue/domstructure/ui/display/calendar/calendar.js +2 -2
  95. package/lib/mobileapp/vue/domstructure/ui/display/calendar/calendar.js.map +1 -1
  96. package/lib/mobileapp/vue/domstructure/ui/display/calendar/schedule.js +32 -3
  97. package/lib/mobileapp/vue/domstructure/ui/display/calendar/schedule.js.map +1 -1
  98. package/lib/mobileapp/vue/domstructure/ui/display/html-template/html-template.js +2 -2
  99. package/lib/mobileapp/vue/domstructure/ui/display/html-template/html-template.js.map +1 -1
  100. package/lib/mobileapp/vue/domstructure/ui/display/list-view/vue-list-view.js +22 -8
  101. package/lib/mobileapp/vue/domstructure/ui/display/list-view/vue-list-view.js.map +1 -1
  102. package/lib/mobileapp/vue/domstructure/ui/display/staff-info/staff-info.js +12 -2
  103. package/lib/mobileapp/vue/domstructure/ui/display/staff-info/staff-info.js.map +1 -1
  104. package/lib/mobileapp/vue/domstructure/ui/display/static-text/static-text.js +2 -2
  105. package/lib/mobileapp/vue/domstructure/ui/display/static-text/static-text.js.map +1 -1
  106. package/lib/mobileapp/vue/domstructure/ui/input/area-picker.js +2 -2
  107. package/lib/mobileapp/vue/domstructure/ui/input/area-picker.js.map +1 -1
  108. package/lib/mobileapp/vue/domstructure/ui/input/calendar-input.js +2 -2
  109. package/lib/mobileapp/vue/domstructure/ui/input/calendar-input.js.map +1 -1
  110. package/lib/mobileapp/vue/domstructure/ui/input/checkbox-group.js +20 -2
  111. package/lib/mobileapp/vue/domstructure/ui/input/checkbox-group.js.map +1 -1
  112. package/lib/mobileapp/vue/domstructure/ui/input/common.js +16 -2
  113. package/lib/mobileapp/vue/domstructure/ui/input/common.js.map +1 -1
  114. package/lib/mobileapp/vue/domstructure/ui/input/custom-box.js +2 -2
  115. package/lib/mobileapp/vue/domstructure/ui/input/custom-box.js.map +1 -1
  116. package/lib/mobileapp/vue/domstructure/ui/input/date-picker.js +2 -2
  117. package/lib/mobileapp/vue/domstructure/ui/input/date-picker.js.map +1 -1
  118. package/lib/mobileapp/vue/domstructure/ui/input/html-preview.js +2 -2
  119. package/lib/mobileapp/vue/domstructure/ui/input/html-preview.js.map +1 -1
  120. package/lib/mobileapp/vue/domstructure/ui/input/lookup-department.js +2 -2
  121. package/lib/mobileapp/vue/domstructure/ui/input/lookup-department.js.map +1 -1
  122. package/lib/mobileapp/vue/domstructure/ui/input/lookup-employee.js +2 -2
  123. package/lib/mobileapp/vue/domstructure/ui/input/lookup-employee.js.map +1 -1
  124. package/lib/mobileapp/vue/domstructure/ui/input/lookup-input.js +2 -2
  125. package/lib/mobileapp/vue/domstructure/ui/input/lookup-input.js.map +1 -1
  126. package/lib/mobileapp/vue/domstructure/ui/input/number.js +12 -2
  127. package/lib/mobileapp/vue/domstructure/ui/input/number.js.map +1 -1
  128. package/lib/mobileapp/vue/domstructure/ui/input/picker-city.js +9 -4
  129. package/lib/mobileapp/vue/domstructure/ui/input/picker-city.js.map +1 -1
  130. package/lib/mobileapp/vue/domstructure/ui/input/picker-relation.js +2 -2
  131. package/lib/mobileapp/vue/domstructure/ui/input/picker-relation.js.map +1 -1
  132. package/lib/mobileapp/vue/domstructure/ui/input/picker.js +20 -2
  133. package/lib/mobileapp/vue/domstructure/ui/input/picker.js.map +1 -1
  134. package/lib/mobileapp/vue/domstructure/ui/input/radio-group.js +20 -2
  135. package/lib/mobileapp/vue/domstructure/ui/input/radio-group.js.map +1 -1
  136. package/lib/mobileapp/vue/domstructure/ui/input/rich-text-editor.js +2 -2
  137. package/lib/mobileapp/vue/domstructure/ui/input/rich-text-editor.js.map +1 -1
  138. package/lib/mobileapp/vue/domstructure/ui/input/switch-input.js +2 -2
  139. package/lib/mobileapp/vue/domstructure/ui/input/switch-input.js.map +1 -1
  140. package/lib/mobileapp/vue/domstructure/ui/input/text-area.js +2 -2
  141. package/lib/mobileapp/vue/domstructure/ui/input/text-area.js.map +1 -1
  142. package/lib/mobileapp/vue/domstructure/ui/input/text-box-external.js +2 -2
  143. package/lib/mobileapp/vue/domstructure/ui/input/text-box-external.js.map +1 -1
  144. package/lib/mobileapp/vue/domstructure/ui/input/text-box.js +2 -2
  145. package/lib/mobileapp/vue/domstructure/ui/input/text-box.js.map +1 -1
  146. package/lib/mobileapp/vue/domstructure/ui/input/text-scan.js +2 -2
  147. package/lib/mobileapp/vue/domstructure/ui/input/text-scan.js.map +1 -1
  148. package/lib/mobileapp/vue/domstructure/ui/input/text-telphone.js +2 -2
  149. package/lib/mobileapp/vue/domstructure/ui/input/text-telphone.js.map +1 -1
  150. package/lib/mobileapp/vue/domstructure/ui/vue-base-component.js +23 -2
  151. package/lib/mobileapp/vue/domstructure/ui/vue-base-component.js.map +1 -1
  152. package/lib/mobileapp/vue/jit-engine-executor/mobile-vue-engine-executor.js.map +1 -1
  153. package/lib/mobileapp/vue/pug-template/config/ui-template-config.js +2 -0
  154. package/lib/mobileapp/vue/pug-template/config/ui-template-config.js.map +1 -1
  155. package/lib/mobileapp/vue/task/vue-recursiveGenerateDevkit.js +12 -4
  156. package/lib/mobileapp/vue/task/vue-recursiveGenerateDevkit.js.map +1 -1
  157. package/lib/mobileapp/vue/utility/devkit/form-file-executor.js +4 -1
  158. package/lib/mobileapp/vue/utility/devkit/form-file-executor.js.map +1 -1
  159. package/lib/mobileapp/vue/utility/devkit/vue-component-creator.js +10 -10
  160. package/lib/mobileapp/vue/utility/devkit/vue-component-creator.js.map +1 -1
  161. package/lib/mobileapp/vue/utility/devkit/vue-viewmodels-creator.js +1 -1
  162. package/lib/mobileapp/vue/utility/devkit/vue-viewmodels-creator.js.map +1 -1
  163. package/lib/mobileapp/vue/utility/i18n/i18n-resource-manager.js +121 -0
  164. package/lib/mobileapp/vue/utility/i18n/i18n-resource-manager.js.map +1 -0
  165. package/lib/mobileapp/vue/utility/i18n/index.js +14 -0
  166. package/lib/mobileapp/vue/utility/i18n/index.js.map +1 -0
  167. package/lib/mobileapp/vue/utility/index.js +1 -0
  168. package/lib/mobileapp/vue/utility/index.js.map +1 -1
  169. package/lib/mobileapp/vue/utility/vue-content-type-creator.js +1 -0
  170. package/lib/mobileapp/vue/utility/vue-content-type-creator.js.map +1 -1
  171. package/lib/mobileapp/vue/utility/vue-object-creator.js +22 -0
  172. package/lib/mobileapp/vue/utility/vue-object-creator.js.map +1 -1
  173. package/lib/template/ui/mobilevue/approval-info.pug +3 -3
  174. package/lib/template/ui/mobilevue/approval-logs.pug +1 -1
  175. package/lib/template/ui/mobilevue/attachment-file.pug +1 -1
  176. package/lib/template/ui/mobilevue/button.pug +1 -1
  177. package/lib/template/ui/mobilevue/calendar-input.pug +4 -3
  178. package/lib/template/ui/mobilevue/card.pug +2 -2
  179. package/lib/template/ui/mobilevue/checkbox-group.pug +3 -3
  180. package/lib/template/ui/mobilevue/custom-box.pug +5 -3
  181. package/lib/template/ui/mobilevue/date-time-picker.pug +5 -3
  182. package/lib/template/ui/mobilevue/field-set.pug +1 -1
  183. package/lib/template/ui/mobilevue/filter.pug +2 -2
  184. package/lib/template/ui/mobilevue/html-preview.pug +1 -1
  185. package/lib/template/ui/mobilevue/list-view.pug +1 -1
  186. package/lib/template/ui/mobilevue/lookup-department.pug +5 -3
  187. package/lib/template/ui/mobilevue/lookup-employee.pug +5 -3
  188. package/lib/template/ui/mobilevue/lookup-input.pug +5 -3
  189. package/lib/template/ui/mobilevue/nav-bar.pug +1 -1
  190. package/lib/template/ui/mobilevue/number.pug +6 -4
  191. package/lib/template/ui/mobilevue/picker-area.pug +4 -3
  192. package/lib/template/ui/mobilevue/picker-city.pug +4 -3
  193. package/lib/template/ui/mobilevue/picker-relation.pug +4 -2
  194. package/lib/template/ui/mobilevue/picker.pug +4 -4
  195. package/lib/template/ui/mobilevue/radio-group.pug +3 -3
  196. package/lib/template/ui/mobilevue/rich-text-editor.pug +7 -5
  197. package/lib/template/ui/mobilevue/schedule.pug +1 -1
  198. package/lib/template/ui/mobilevue/search.pug +1 -1
  199. package/lib/template/ui/mobilevue/staff-info.pug +1 -1
  200. package/lib/template/ui/mobilevue/switch.pug +3 -3
  201. package/lib/template/ui/mobilevue/tab-bar.pug +1 -1
  202. package/lib/template/ui/mobilevue/tabpage.pug +1 -3
  203. package/lib/template/ui/mobilevue/text-area.pug +4 -3
  204. package/lib/template/ui/mobilevue/text-box-external.pug +5 -3
  205. package/lib/template/ui/mobilevue/text-box.pug +5 -3
  206. package/lib/template/ui/mobilevue/text-scan.pug +5 -3
  207. package/lib/template/ui/mobilevue/text-telphone.pug +4 -2
  208. package/lib/template/ui/mobilevue/toolbar-item.pug +1 -1
  209. 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';
@@ -13,12 +11,15 @@
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
+
16
15
  div(
17
16
  v-if=visible
18
17
  class="fm-input-wrapper"
19
18
  )
20
19
  fm-area-picker(
21
20
  v-model=binding
21
+ :label = variable.title? variable.i18nTitle : undefined
22
+ :placeholder = variable.placeholder? variable.i18nPlaceholder : undefined
22
23
  :required=require
23
24
  :readonly=readonly
24
25
  :disabled=disable
@@ -50,6 +51,6 @@ div(
50
51
  <fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
51
52
  <fm-icon name="s-illustrate-o"/>
52
53
  <template #content>
53
- <div class="fm-input-label-tips-content"><span>!{variable.labelTips}</span></div>
54
+ <div class="fm-input-label-tips-content"><span>!{variable.i18nLabelTips}</span></div>
54
55
  </template>
55
56
  </fm-popover>
@@ -12,9 +12,10 @@
12
12
  -var readonly = variable.readonly ? String(variable.readonly.value) : undefined;
13
13
  -var disable = variable.disable ? String(variable.disable.value) : undefined;
14
14
  -var request = variable.request ? String(variable.request) : undefined;
15
- -var data = variable.data.value ? String(variable.data.value) : undefined;
15
+ -var data = variable.data ? String(variable.data.value) : undefined;
16
16
  -var hotCity = variable.hotCity.value ? String(variable.hotCity.value) : undefined;
17
- -var binding = variable.binding && variable.binding.path ? "form."+variable.binding.path+".value" : undefined
17
+ //- -var binding = variable.binding && variable.binding.path ? "form."+variable.binding.path+".value" : undefined
18
+ -var bindingtext = variable.bindingtext ? String(variable.bindingtext) : undefined
18
19
  -var bindingvalue = variable.bindingvalue ? String(variable.bindingvalue) : undefined
19
20
 
20
21
  div(
@@ -22,7 +23,7 @@ div(
22
23
  class="fm-input-wrapper"
23
24
  )
24
25
  fm-city-picker(
25
- v-model=binding
26
+ v-model:text=bindingtext
26
27
  v-model:value=bindingvalue
27
28
  :required=require
28
29
  :readonly=readonly
@@ -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,12 +11,16 @@
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
@@ -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.enumData
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,6 +19,8 @@ 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
@@ -56,6 +56,6 @@ div(
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.labelTips}</span></div>
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.enumData
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
@@ -49,6 +49,6 @@ div(
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.labelTips}</span></div>
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=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,9 +43,9 @@ 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
  )
@@ -53,6 +55,6 @@ else
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.labelTips}</span></div>
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.events:undefined
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?String(variable.placeholder):undefined
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?"" + variable.titleText:undefined
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
@@ -41,6 +41,6 @@ div(
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.labelTips}</span></div>
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.items:undefined
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= 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
@@ -41,6 +42,6 @@ div(
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.labelTips}</span></div>
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
@@ -60,7 +62,7 @@ div(
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.labelTips}</span></div>
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
@@ -54,7 +56,7 @@ div(
54
56
  <fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
55
57
  <fm-icon name="s-illustrate-o"/>
56
58
  <template #content>
57
- <div class="fm-input-label-tips-content"><span>!{variable.labelTips}</span></div>
59
+ <div class="fm-input-label-tips-content"><span>!{variable.i18nLabelTips}</span></div>
58
60
  </template>
59
61
  </fm-popover>
60
62
 
@@ -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,12 +11,16 @@
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-scan-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
@@ -47,7 +49,7 @@ div(
47
49
  <fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
48
50
  <fm-icon name="s-illustrate-o"/>
49
51
  <template #content>
50
- <div class="fm-input-label-tips-content"><span>!{variable.labelTips}</span></div>
52
+ <div class="fm-input-label-tips-content"><span>!{variable.i18nLabelTips}</span></div>
51
53
  </template>
52
54
  </fm-popover>
53
55
 
@@ -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,12 +11,16 @@
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-telphone-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
@@ -12,4 +12,4 @@ div(
12
12
  if(variable.iconType)
13
13
  div(class=iconClass)
14
14
  div(class="fm-popover-item-content")
15
- | !{variable.text?variable.text:""}
15
+ | !{variable.text?variable.i18nText:""}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farris/jit-engine",
3
- "version": "1.3.270",
3
+ "version": "1.3.271",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "bin": {