@farris/jit-engine 1.3.269 → 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 (266) hide show
  1. package/README.md +4 -0
  2. package/lib/mobileapp/vue/code-generator/devkit-manager/app-indexvue-manager.js +2 -1
  3. package/lib/mobileapp/vue/code-generator/devkit-manager/app-indexvue-manager.js.map +1 -1
  4. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-index-vue-generator.js +17 -6
  5. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-index-vue-generator.js.map +1 -1
  6. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/router-generator.js +11 -7
  7. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/router-generator.js.map +1 -1
  8. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/index.js +16 -0
  9. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/index.js.map +1 -0
  10. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-base-context.js +24 -0
  11. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-base-context.js.map +1 -0
  12. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-component-context.js +16 -0
  13. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-component-context.js.map +1 -0
  14. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-module-context.js +15 -0
  15. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-module-context.js.map +1 -0
  16. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-ui-node-context.js +33 -0
  17. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-ui-node-context.js.map +1 -0
  18. package/lib/mobileapp/vue/domstructure/internal-entity/vue-app-index-vue-parameter.js.map +1 -1
  19. package/lib/mobileapp/vue/domstructure/ui/basic/action-bar/action-bar.js +2 -2
  20. package/lib/mobileapp/vue/domstructure/ui/basic/action-bar/action-bar.js.map +1 -1
  21. package/lib/mobileapp/vue/domstructure/ui/basic/button/button.js +12 -2
  22. package/lib/mobileapp/vue/domstructure/ui/basic/button/button.js.map +1 -1
  23. package/lib/mobileapp/vue/domstructure/ui/basic/icon/icon.js +41 -0
  24. package/lib/mobileapp/vue/domstructure/ui/basic/icon/icon.js.map +1 -0
  25. package/lib/mobileapp/vue/domstructure/ui/basic/icon/index.js +14 -0
  26. package/lib/mobileapp/vue/domstructure/ui/basic/icon/index.js.map +1 -0
  27. package/lib/mobileapp/vue/domstructure/ui/basic/image/image.js +2 -2
  28. package/lib/mobileapp/vue/domstructure/ui/basic/image/image.js.map +1 -1
  29. package/lib/mobileapp/vue/domstructure/ui/basic/label/index.js +14 -0
  30. package/lib/mobileapp/vue/domstructure/ui/basic/label/index.js.map +1 -0
  31. package/lib/mobileapp/vue/domstructure/ui/basic/label/label.js +35 -0
  32. package/lib/mobileapp/vue/domstructure/ui/basic/label/label.js.map +1 -0
  33. package/lib/mobileapp/vue/domstructure/ui/basic/nav-bar/vue-nav-bar.js +21 -7
  34. package/lib/mobileapp/vue/domstructure/ui/basic/nav-bar/vue-nav-bar.js.map +1 -1
  35. package/lib/mobileapp/vue/domstructure/ui/basic/search/search.js +12 -2
  36. package/lib/mobileapp/vue/domstructure/ui/basic/search/search.js.map +1 -1
  37. package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar-item.js +4 -7
  38. package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar-item.js.map +1 -1
  39. package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar.js +4 -7
  40. package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar.js.map +1 -1
  41. package/lib/mobileapp/vue/domstructure/ui/basic/tab/vue-tab-bar.js +21 -2
  42. package/lib/mobileapp/vue/domstructure/ui/basic/tab/vue-tab-bar.js.map +1 -1
  43. package/lib/mobileapp/vue/domstructure/ui/basic/tag/index.js +14 -0
  44. package/lib/mobileapp/vue/domstructure/ui/basic/tag/index.js.map +1 -0
  45. package/lib/mobileapp/vue/domstructure/ui/basic/tag/tag.js +42 -0
  46. package/lib/mobileapp/vue/domstructure/ui/basic/tag/tag.js.map +1 -0
  47. package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-area.js +2 -2
  48. package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-area.js.map +1 -1
  49. package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-item.js +15 -2
  50. package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-item.js.map +1 -1
  51. package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar.js +4 -7
  52. package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar.js.map +1 -1
  53. package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-comments.js +2 -2
  54. package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-comments.js.map +1 -1
  55. package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-info.js +14 -2
  56. package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-info.js.map +1 -1
  57. package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-logs.js +12 -2
  58. package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-logs.js.map +1 -1
  59. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-entry.js +2 -2
  60. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-entry.js.map +1 -1
  61. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-file.js +12 -2
  62. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-file.js.map +1 -1
  63. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-uploader.js +2 -2
  64. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-uploader.js.map +1 -1
  65. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment.js +2 -2
  66. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment.js.map +1 -1
  67. package/lib/mobileapp/vue/domstructure/ui/business/attachment/image-uploader.js +2 -2
  68. package/lib/mobileapp/vue/domstructure/ui/business/attachment/image-uploader.js.map +1 -1
  69. package/lib/mobileapp/vue/domstructure/ui/business/filter/filter.js +51 -2
  70. package/lib/mobileapp/vue/domstructure/ui/business/filter/filter.js.map +1 -1
  71. package/lib/mobileapp/vue/domstructure/ui/business/scroll-navbar.js +2 -2
  72. package/lib/mobileapp/vue/domstructure/ui/business/scroll-navbar.js.map +1 -1
  73. package/lib/mobileapp/vue/domstructure/ui/common/vue-background.js +38 -0
  74. package/lib/mobileapp/vue/domstructure/ui/common/vue-background.js.map +1 -0
  75. package/lib/mobileapp/vue/domstructure/ui/common/vue-binding.js +6 -1
  76. package/lib/mobileapp/vue/domstructure/ui/common/vue-binding.js.map +1 -1
  77. package/lib/mobileapp/vue/domstructure/ui/common/vue-border-radius.js +29 -0
  78. package/lib/mobileapp/vue/domstructure/ui/common/vue-border-radius.js.map +1 -0
  79. package/lib/mobileapp/vue/domstructure/ui/common/vue-toolbar.js +5 -1
  80. package/lib/mobileapp/vue/domstructure/ui/common/vue-toolbar.js.map +1 -1
  81. package/lib/mobileapp/vue/domstructure/ui/common/vue-variable.js +4 -0
  82. package/lib/mobileapp/vue/domstructure/ui/common/vue-variable.js.map +1 -1
  83. package/lib/mobileapp/vue/domstructure/ui/container/card.js +32 -2
  84. package/lib/mobileapp/vue/domstructure/ui/container/card.js.map +1 -1
  85. package/lib/mobileapp/vue/domstructure/ui/container/field-set.js +12 -2
  86. package/lib/mobileapp/vue/domstructure/ui/container/field-set.js.map +1 -1
  87. package/lib/mobileapp/vue/domstructure/ui/container/vue-container.js +4 -7
  88. package/lib/mobileapp/vue/domstructure/ui/container/vue-container.js.map +1 -1
  89. package/lib/mobileapp/vue/domstructure/ui/container/vue-content-container.js +2 -2
  90. package/lib/mobileapp/vue/domstructure/ui/container/vue-content-container.js.map +1 -1
  91. package/lib/mobileapp/vue/domstructure/ui/container/vue-float-container.js +2 -2
  92. package/lib/mobileapp/vue/domstructure/ui/container/vue-float-container.js.map +1 -1
  93. package/lib/mobileapp/vue/domstructure/ui/container/vue-form.js +2 -2
  94. package/lib/mobileapp/vue/domstructure/ui/container/vue-form.js.map +1 -1
  95. package/lib/mobileapp/vue/domstructure/ui/container/vue-item-container.js +4 -7
  96. package/lib/mobileapp/vue/domstructure/ui/container/vue-item-container.js.map +1 -1
  97. package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-col.js +27 -0
  98. package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-col.js.map +1 -0
  99. package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-row.js +27 -0
  100. package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-row.js.map +1 -0
  101. package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container.js +27 -0
  102. package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container.js.map +1 -0
  103. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-container.js +2 -2
  104. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-container.js.map +1 -1
  105. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-content-container.js +2 -2
  106. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-content-container.js.map +1 -1
  107. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-footer-container.js +2 -2
  108. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-footer-container.js.map +1 -1
  109. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-header-container.js +2 -2
  110. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-header-container.js.map +1 -1
  111. package/lib/mobileapp/vue/domstructure/ui/container/vue-section.js +4 -7
  112. package/lib/mobileapp/vue/domstructure/ui/container/vue-section.js.map +1 -1
  113. package/lib/mobileapp/vue/domstructure/ui/container/vue-tab-page.js +12 -2
  114. package/lib/mobileapp/vue/domstructure/ui/container/vue-tab-page.js.map +1 -1
  115. package/lib/mobileapp/vue/domstructure/ui/container/vue-tabs.js +2 -2
  116. package/lib/mobileapp/vue/domstructure/ui/container/vue-tabs.js.map +1 -1
  117. package/lib/mobileapp/vue/domstructure/ui/container/vue-template-container.js +28 -0
  118. package/lib/mobileapp/vue/domstructure/ui/container/vue-template-container.js.map +1 -0
  119. package/lib/mobileapp/vue/domstructure/ui/display/avatar/avatar.js +57 -0
  120. package/lib/mobileapp/vue/domstructure/ui/display/avatar/avatar.js.map +1 -0
  121. package/lib/mobileapp/vue/domstructure/ui/display/avatar/index.js +14 -0
  122. package/lib/mobileapp/vue/domstructure/ui/display/avatar/index.js.map +1 -0
  123. package/lib/mobileapp/vue/domstructure/ui/display/banner/vue-banner.js +2 -2
  124. package/lib/mobileapp/vue/domstructure/ui/display/banner/vue-banner.js.map +1 -1
  125. package/lib/mobileapp/vue/domstructure/ui/display/calendar/calendar.js +2 -2
  126. package/lib/mobileapp/vue/domstructure/ui/display/calendar/calendar.js.map +1 -1
  127. package/lib/mobileapp/vue/domstructure/ui/display/calendar/schedule.js +32 -3
  128. package/lib/mobileapp/vue/domstructure/ui/display/calendar/schedule.js.map +1 -1
  129. package/lib/mobileapp/vue/domstructure/ui/display/html-template/html-template.js +2 -2
  130. package/lib/mobileapp/vue/domstructure/ui/display/html-template/html-template.js.map +1 -1
  131. package/lib/mobileapp/vue/domstructure/ui/display/list-view/vue-list-view.js +22 -8
  132. package/lib/mobileapp/vue/domstructure/ui/display/list-view/vue-list-view.js.map +1 -1
  133. package/lib/mobileapp/vue/domstructure/ui/display/show-image/index.js +14 -0
  134. package/lib/mobileapp/vue/domstructure/ui/display/show-image/index.js.map +1 -0
  135. package/lib/mobileapp/vue/domstructure/ui/display/show-image/show-image.js +46 -0
  136. package/lib/mobileapp/vue/domstructure/ui/display/show-image/show-image.js.map +1 -0
  137. package/lib/mobileapp/vue/domstructure/ui/display/staff-info/staff-info.js +12 -2
  138. package/lib/mobileapp/vue/domstructure/ui/display/staff-info/staff-info.js.map +1 -1
  139. package/lib/mobileapp/vue/domstructure/ui/display/static-text/static-text.js +2 -2
  140. package/lib/mobileapp/vue/domstructure/ui/display/static-text/static-text.js.map +1 -1
  141. package/lib/mobileapp/vue/domstructure/ui/display/text/index.js +14 -0
  142. package/lib/mobileapp/vue/domstructure/ui/display/text/index.js.map +1 -0
  143. package/lib/mobileapp/vue/domstructure/ui/display/text/vue-text.js +47 -0
  144. package/lib/mobileapp/vue/domstructure/ui/display/text/vue-text.js.map +1 -0
  145. package/lib/mobileapp/vue/domstructure/ui/input/area-picker.js +2 -2
  146. package/lib/mobileapp/vue/domstructure/ui/input/area-picker.js.map +1 -1
  147. package/lib/mobileapp/vue/domstructure/ui/input/calendar-input.js +2 -2
  148. package/lib/mobileapp/vue/domstructure/ui/input/calendar-input.js.map +1 -1
  149. package/lib/mobileapp/vue/domstructure/ui/input/checkbox-group.js +20 -2
  150. package/lib/mobileapp/vue/domstructure/ui/input/checkbox-group.js.map +1 -1
  151. package/lib/mobileapp/vue/domstructure/ui/input/common.js +28 -2
  152. package/lib/mobileapp/vue/domstructure/ui/input/common.js.map +1 -1
  153. package/lib/mobileapp/vue/domstructure/ui/input/custom-box.js +2 -2
  154. package/lib/mobileapp/vue/domstructure/ui/input/custom-box.js.map +1 -1
  155. package/lib/mobileapp/vue/domstructure/ui/input/date-picker.js +2 -2
  156. package/lib/mobileapp/vue/domstructure/ui/input/date-picker.js.map +1 -1
  157. package/lib/mobileapp/vue/domstructure/ui/input/html-preview.js +2 -2
  158. package/lib/mobileapp/vue/domstructure/ui/input/html-preview.js.map +1 -1
  159. package/lib/mobileapp/vue/domstructure/ui/input/index.js +1 -0
  160. package/lib/mobileapp/vue/domstructure/ui/input/index.js.map +1 -1
  161. package/lib/mobileapp/vue/domstructure/ui/input/lookup-department.js +2 -2
  162. package/lib/mobileapp/vue/domstructure/ui/input/lookup-department.js.map +1 -1
  163. package/lib/mobileapp/vue/domstructure/ui/input/lookup-employee.js +2 -2
  164. package/lib/mobileapp/vue/domstructure/ui/input/lookup-employee.js.map +1 -1
  165. package/lib/mobileapp/vue/domstructure/ui/input/lookup-input.js +2 -2
  166. package/lib/mobileapp/vue/domstructure/ui/input/lookup-input.js.map +1 -1
  167. package/lib/mobileapp/vue/domstructure/ui/input/number.js +12 -2
  168. package/lib/mobileapp/vue/domstructure/ui/input/number.js.map +1 -1
  169. package/lib/mobileapp/vue/domstructure/ui/input/picker-city.js +46 -0
  170. package/lib/mobileapp/vue/domstructure/ui/input/picker-city.js.map +1 -0
  171. package/lib/mobileapp/vue/domstructure/ui/input/picker-relation.js +2 -2
  172. package/lib/mobileapp/vue/domstructure/ui/input/picker-relation.js.map +1 -1
  173. package/lib/mobileapp/vue/domstructure/ui/input/picker.js +20 -2
  174. package/lib/mobileapp/vue/domstructure/ui/input/picker.js.map +1 -1
  175. package/lib/mobileapp/vue/domstructure/ui/input/radio-group.js +20 -2
  176. package/lib/mobileapp/vue/domstructure/ui/input/radio-group.js.map +1 -1
  177. package/lib/mobileapp/vue/domstructure/ui/input/rich-text-editor.js +2 -2
  178. package/lib/mobileapp/vue/domstructure/ui/input/rich-text-editor.js.map +1 -1
  179. package/lib/mobileapp/vue/domstructure/ui/input/switch-input.js +2 -2
  180. package/lib/mobileapp/vue/domstructure/ui/input/switch-input.js.map +1 -1
  181. package/lib/mobileapp/vue/domstructure/ui/input/text-area.js +2 -2
  182. package/lib/mobileapp/vue/domstructure/ui/input/text-area.js.map +1 -1
  183. package/lib/mobileapp/vue/domstructure/ui/input/text-box-external.js +2 -2
  184. package/lib/mobileapp/vue/domstructure/ui/input/text-box-external.js.map +1 -1
  185. package/lib/mobileapp/vue/domstructure/ui/input/text-box.js +2 -2
  186. package/lib/mobileapp/vue/domstructure/ui/input/text-box.js.map +1 -1
  187. package/lib/mobileapp/vue/domstructure/ui/input/text-scan.js +2 -2
  188. package/lib/mobileapp/vue/domstructure/ui/input/text-scan.js.map +1 -1
  189. package/lib/mobileapp/vue/domstructure/ui/input/text-telphone.js +2 -2
  190. package/lib/mobileapp/vue/domstructure/ui/input/text-telphone.js.map +1 -1
  191. package/lib/mobileapp/vue/domstructure/ui/vue-base-component.js +30 -2
  192. package/lib/mobileapp/vue/domstructure/ui/vue-base-component.js.map +1 -1
  193. package/lib/mobileapp/vue/jit-engine-executor/mobile-vue-engine-executor.js.map +1 -1
  194. package/lib/mobileapp/vue/pug-template/config/ui-template-config.js +5 -1
  195. package/lib/mobileapp/vue/pug-template/config/ui-template-config.js.map +1 -1
  196. package/lib/mobileapp/vue/task/vue-recursiveGenerateDevkit.js +12 -4
  197. package/lib/mobileapp/vue/task/vue-recursiveGenerateDevkit.js.map +1 -1
  198. package/lib/mobileapp/vue/utility/devkit/form-file-executor.js +4 -1
  199. package/lib/mobileapp/vue/utility/devkit/form-file-executor.js.map +1 -1
  200. package/lib/mobileapp/vue/utility/devkit/vue-component-creator.js +10 -10
  201. package/lib/mobileapp/vue/utility/devkit/vue-component-creator.js.map +1 -1
  202. package/lib/mobileapp/vue/utility/devkit/vue-viewmodels-creator.js +1 -1
  203. package/lib/mobileapp/vue/utility/devkit/vue-viewmodels-creator.js.map +1 -1
  204. package/lib/mobileapp/vue/utility/i18n/i18n-resource-manager.js +121 -0
  205. package/lib/mobileapp/vue/utility/i18n/i18n-resource-manager.js.map +1 -0
  206. package/lib/mobileapp/vue/utility/i18n/index.js +14 -0
  207. package/lib/mobileapp/vue/utility/i18n/index.js.map +1 -0
  208. package/lib/mobileapp/vue/utility/index.js +1 -0
  209. package/lib/mobileapp/vue/utility/index.js.map +1 -1
  210. package/lib/mobileapp/vue/utility/vue-content-type-creator.js +2 -0
  211. package/lib/mobileapp/vue/utility/vue-content-type-creator.js.map +1 -1
  212. package/lib/mobileapp/vue/utility/vue-object-creator.js +22 -0
  213. package/lib/mobileapp/vue/utility/vue-object-creator.js.map +1 -1
  214. package/lib/template/ui/mobilevue/approval-info.pug +3 -3
  215. package/lib/template/ui/mobilevue/approval-logs.pug +1 -1
  216. package/lib/template/ui/mobilevue/area-picker.pug +0 -2
  217. package/lib/template/ui/mobilevue/attachment-file.pug +1 -1
  218. package/lib/template/ui/mobilevue/avatar.pug +19 -0
  219. package/lib/template/ui/mobilevue/button.pug +1 -1
  220. package/lib/template/ui/mobilevue/calendar-input.pug +4 -3
  221. package/lib/template/ui/mobilevue/card.pug +2 -2
  222. package/lib/template/ui/mobilevue/checkbox-group.pug +3 -3
  223. package/lib/template/ui/mobilevue/common/text-common.pug +80 -0
  224. package/lib/template/ui/mobilevue/custom-box.pug +5 -3
  225. package/lib/template/ui/mobilevue/date-time-picker.pug +5 -3
  226. package/lib/template/ui/mobilevue/field-set.pug +1 -1
  227. package/lib/template/ui/mobilevue/filter.pug +2 -2
  228. package/lib/template/ui/mobilevue/fm-staff-info.pug +10 -0
  229. package/lib/template/ui/mobilevue/html-preview.pug +1 -1
  230. package/lib/template/ui/mobilevue/icon.pug +11 -0
  231. package/lib/template/ui/mobilevue/label.pug +9 -12
  232. package/lib/template/ui/mobilevue/layout-container-col.pug +11 -0
  233. package/lib/template/ui/mobilevue/layout-container-row.pug +12 -0
  234. package/lib/template/ui/mobilevue/layout-container.pug +11 -0
  235. package/lib/template/ui/mobilevue/list-view.pug +1 -1
  236. package/lib/template/ui/mobilevue/lookup-department.pug +5 -3
  237. package/lib/template/ui/mobilevue/lookup-employee.pug +5 -3
  238. package/lib/template/ui/mobilevue/lookup-input.pug +5 -3
  239. package/lib/template/ui/mobilevue/nav-bar.pug +1 -1
  240. package/lib/template/ui/mobilevue/number.pug +6 -4
  241. package/lib/template/ui/mobilevue/page-content-container.pug +10 -0
  242. package/lib/template/ui/mobilevue/page-footer-container.pug +10 -0
  243. package/lib/template/ui/mobilevue/page-header-container.pug +10 -0
  244. package/lib/template/ui/mobilevue/picker-area.pug +56 -0
  245. package/lib/template/ui/mobilevue/picker-city.pug +62 -0
  246. package/lib/template/ui/mobilevue/picker-relation.pug +4 -2
  247. package/lib/template/ui/mobilevue/picker.pug +4 -4
  248. package/lib/template/ui/mobilevue/radio-group.pug +3 -3
  249. package/lib/template/ui/mobilevue/rich-text-editor.pug +7 -5
  250. package/lib/template/ui/mobilevue/schedule.pug +1 -1
  251. package/lib/template/ui/mobilevue/search.pug +1 -1
  252. package/lib/template/ui/mobilevue/show-image.pug +22 -0
  253. package/lib/template/ui/mobilevue/staff-info.pug +1 -1
  254. package/lib/template/ui/mobilevue/switch.pug +3 -3
  255. package/lib/template/ui/mobilevue/tab-bar.pug +1 -1
  256. package/lib/template/ui/mobilevue/tabpage.pug +1 -3
  257. package/lib/template/ui/mobilevue/tag.pug +33 -0
  258. package/lib/template/ui/mobilevue/text-area.pug +4 -3
  259. package/lib/template/ui/mobilevue/text-box-external.pug +5 -3
  260. package/lib/template/ui/mobilevue/text-box.pug +5 -3
  261. package/lib/template/ui/mobilevue/text-scan.pug +5 -3
  262. package/lib/template/ui/mobilevue/text-telphone.pug +4 -2
  263. package/lib/template/ui/mobilevue/text.pug +118 -0
  264. package/lib/template/ui/mobilevue/toolbar-item.pug +1 -1
  265. package/package.json +1 -1
  266. package/lib/mobileapp/vue/static/.npmignore +0 -13
@@ -0,0 +1,22 @@
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
+ -var previewPath =`$formatUtils.imageThumbnailPath(${variable.attachId}, '${variable.rootId}')`
6
+ -var srcMode = variable.srcMode
7
+ if(srcMode == "dynamicUrl")
8
+ -attrs[`:src`] = variable.dynamicSrc;
9
+ else if(srcMode == "staticUrl")
10
+ -attrs.src = variable.staticSrc;
11
+ else
12
+ -attrs[`:src`] = previewPath;
13
+
14
+ fm-image(
15
+ v-if!=""+visible
16
+ id!=variable.id?"" + variable.id:undefined
17
+ width!=variable.width?"" + variable.width:undefined
18
+ height!=variable.height?"" + variable.height:undefined
19
+ radius!=variable.radius?"" + variable.radius:undefined
20
+ :fit=variable.fit?"" + variable.fit:undefined
21
+ :round=variable.round?"" + variable.round:undefined
22
+ )&attributes(attrs)
@@ -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}}
@@ -0,0 +1,33 @@
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
+ -var binding = variable.binding? variable.binding : undefined
7
+ -var formatter = variable.formatter? variable.formatter : undefined
8
+ -var formBindingPrefix = variable.formBindingPrefix? String(variable.formBindingPrefix):undefined
9
+ -var formatterType = 'string'
10
+
11
+ -var valueStr = ''
12
+
13
+ if(binding && binding.type)
14
+ if(binding.type === 'Const')
15
+ -valueStr = `'${binding.value}'`;
16
+ if(binding.type === 'Form')
17
+ -valueStr = `${formBindingPrefix}${binding.bindingPath}`;
18
+ if(binding.type === 'LocaleVariable' || binding.type === 'RemoteVariable')
19
+ -valueStr = `uiState.${binding.code}`;
20
+
21
+ if(formatter && formatter.type)
22
+ -formatterType = formatter.type
23
+ -delete formatter.type
24
+
25
+ -var content = `{{$formatUtils.${formatterType}(${valueStr},${JSON.stringify(formatter)})}}`
26
+
27
+ fm-tag(
28
+ v-if=visible
29
+ type=variable.displayType ? String(variable.displayType) : undefined
30
+ size=variable.tagSize ? String(variable.tagSize) : undefined
31
+ color=variable.tagColor ? String(variable.tagColor) : undefined
32
+ )&attributes(attrs)
33
+ | !{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
@@ -0,0 +1,118 @@
1
+ -var enableLabel = variable.enableLabel
2
+ -var attrs = {};
3
+ -attrs.class = variable.appearance && variable.appearance.class ?variable.appearance.class:'';
4
+ -attrs.style = variable.appearance && variable.appearance.style?variable.appearance.style:'';
5
+ -attrs.id = variable.replacedId? String(variable.replacedId) : undefined
6
+ -var visible = variable.visible ? String(variable.visible.value) : 'false';
7
+ -var binding = variable.binding? variable.binding : undefined
8
+ -var fontSize = variable.fontSize? String(variable.fontSize) : undefined
9
+ -var lineHeight = variable.lineHeight? String(variable.lineHeight) : undefined
10
+ -var textColor = variable.textColor? String(variable.textColor) : undefined
11
+ -var formatter = variable.formatter ? variable.formatter:{}
12
+ -var displayType = variable.displayType? String(variable.displayType) : undefined
13
+ -var formatterType = 'string'
14
+ -var valueStr = ''
15
+ -var formBindingPrefix = variable.formBindingPrefix? String(variable.formBindingPrefix):undefined
16
+ -var wrapPosition = variable.wrapPosition? variable.wrapPosition : undefined
17
+
18
+ -var label = variable.label
19
+ -var labelAppearance = variable.labelAppearance;
20
+ -var labelSize = variable.labelSize
21
+ -var labelFontSize = variable.labelFontSize
22
+ -var labelLineHeight = variable.labelLineHeight
23
+ -var labelColor = variable.labelColor
24
+ -var labelattrs = {};
25
+ -labelattrs.class = 'fm-common-label ';
26
+ -labelattrs.class += variable.labelAppearance && variable.labelAppearance.class ?variable.labelAppearance.class:'';
27
+ -labelattrs.style = variable.labelAppearance && variable.labelAppearance.style?variable.labelAppearance.style:'';
28
+
29
+
30
+ //--启用标签时,文本的样式
31
+ -var textCls = 'fm-common-text '
32
+
33
+ //--样式class
34
+ -attrs.class = `fm-common-field ${attrs.class} `
35
+ -attrs.class += displayType && displayType.startsWith('title-') ? 'fm-common-title':''
36
+ if(displayType)
37
+ -attrs.class += ` fm-${displayType}`
38
+
39
+ if(enableLabel && wrapPosition === 'afterLabel')
40
+ -attrs.class += ' d-flex ';
41
+
42
+ if(binding && binding.type)
43
+ if(binding.type === 'Const')
44
+ -valueStr = `'${binding.value}'`;
45
+ if(binding.type === 'Form')
46
+ -valueStr = `${formBindingPrefix}${binding.bindingPath}`;
47
+ if(binding.type === 'LocaleVariable' || binding.type === 'RemoteVariable')
48
+ -valueStr = `uiState.${binding.code}`;
49
+
50
+ -var labelContent = ''
51
+ if(enableLabel)
52
+ if(typeof label==='string')
53
+ -labelContent = `${label}`;
54
+ else if(label && typeof label==='object' && label.fullPath)
55
+ -labelContent = `{{ uiState.${label.fullPath} }}`;
56
+ else
57
+ -labelContent = '';
58
+
59
+ if(formatter && formatter.type)
60
+ -formatterType = formatter.type
61
+ -delete formatter.type
62
+
63
+ -var content = `{{$formatUtils.${formatterType}(${valueStr},${JSON.stringify(formatter)})}}`
64
+
65
+
66
+ //--样式
67
+ if(attrs.style)
68
+ -attrs.style += `;`
69
+
70
+ if(textColor)
71
+ -attrs.style += ` color:${textColor};`
72
+
73
+ //--内容
74
+ if(variable.size && variable.size.width)
75
+ -attrs.style += `width:${variable.size.width}px;`
76
+
77
+
78
+ if(variable.size && variable.size.height)
79
+ -attrs.style += `height:${variable.size.height}px;`
80
+
81
+ if(fontSize)
82
+ -attrs.style += `font-size:${fontSize}px;`
83
+
84
+ if(lineHeight)
85
+ -attrs.style += `line-height:${lineHeight}px;`
86
+
87
+ //--标签样式
88
+ if(enableLabel)
89
+ if(labelattrs.style)
90
+ -labelattrs.style += `;`
91
+
92
+ if(labelColor)
93
+ -labelattrs.style += ` color:${labelColor};`
94
+
95
+ if(variable.labelSize && variable.labelSize.width)
96
+ -labelattrs.style += `width:${variable.labelSize.width}px;`
97
+
98
+
99
+ if(variable.labelSize && variable.labelSize.height)
100
+ -labelattrs.style += `height:${variable.labelSize.height}px;`
101
+
102
+ if(labelFontSize)
103
+ -labelattrs.style += `font-size:${labelFontSize}px;`
104
+
105
+ if(labelLineHeight)
106
+ -labelattrs.style += `line-height:${labelLineHeight}px;`
107
+
108
+ div(
109
+ v-if=visible
110
+ )&attributes(attrs)
111
+ if(enableLabel)
112
+ label()&attributes(labelattrs)
113
+ | !{labelContent}
114
+
115
+ span(
116
+ class=textCls
117
+ )
118
+ | !{content}
@@ -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.269",
3
+ "version": "1.3.271",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "bin": {
@@ -1,13 +0,0 @@
1
- .DS_Store
2
- node_modules/
3
- dist/
4
- dist-rollup/
5
- npm-debug.log
6
- yarn-error.log
7
-
8
- # Editor directories and files
9
- .idea
10
- *.suo
11
- *.ntvs*
12
- *.njsproj
13
- *.sln