@farris/jit-engine 1.3.311 → 1.3.313

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 (320) hide show
  1. package/bin/index.js +0 -6
  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-expression.js +1 -1
  5. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-expression.js.map +1 -1
  6. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-filter-generator.js +8 -8
  7. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-index-resource-generator.js +2 -2
  8. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-index-vue-generator.js +17 -19
  9. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-index-vue-generator.js.map +1 -1
  10. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-model-provider-generator.js +9 -9
  11. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-model-proxy-generator.js +34 -34
  12. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-router-generator.js +17 -17
  13. package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-bindingdata-generator.js +11 -11
  14. package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-handler-generator.js +25 -25
  15. package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-provider-generator.js +51 -51
  16. package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-statemachine-generator.js +19 -19
  17. package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-viewmodel-generator.js +31 -31
  18. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/app-vue-generator.js +33 -7
  19. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/app-vue-generator.js.map +1 -1
  20. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/babel-config-js-generator.js +6 -6
  21. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/gitignore-generator.js +23 -23
  22. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/main-ts-generator.js +11 -11
  23. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/package-json-generator.js +47 -47
  24. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/readme-md-generator.js +20 -20
  25. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/router-generator.js +11 -7
  26. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/router-generator.js.map +1 -1
  27. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/shims-tsx-d-ts-generator.js +15 -15
  28. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/shimx-vue-d-ts-generator.js +31 -31
  29. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/tsconfig-json-generator.js +38 -38
  30. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/vue-config-js-generator.js +20 -20
  31. package/lib/mobileapp/vue/domstructure/devkit/befproxy/vue-bef-proxy-content.js +11 -11
  32. package/lib/mobileapp/vue/domstructure/devkit/befproxy/vue-bef-proxy-operation-parameter.js +18 -18
  33. package/lib/mobileapp/vue/domstructure/devkit/befproxy/vue-bef-proxy-operation.js +13 -13
  34. package/lib/mobileapp/vue/domstructure/devkit/befproxy/vue-bef-proxy-service.js +9 -9
  35. package/lib/mobileapp/vue/domstructure/devkit/befproxy/vue-bef-proxy.js +2 -2
  36. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/index.js +16 -0
  37. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/index.js.map +1 -0
  38. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-base-context.js +24 -0
  39. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-base-context.js.map +1 -0
  40. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-component-context.js +16 -0
  41. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-component-context.js.map +1 -0
  42. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-module-context.js +15 -0
  43. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-module-context.js.map +1 -0
  44. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-ui-node-context.js +33 -0
  45. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-ui-node-context.js.map +1 -0
  46. package/lib/mobileapp/vue/domstructure/internal-entity/page-flow/vue-page-flow-entity.js +2 -2
  47. package/lib/mobileapp/vue/domstructure/internal-entity/page-flow/vue-page-flow-page.js +2 -2
  48. package/lib/mobileapp/vue/domstructure/internal-entity/page-flow/vue-page-flow-project.js +2 -2
  49. package/lib/mobileapp/vue/domstructure/internal-entity/vue-app-index-vue-parameter.js.map +1 -1
  50. package/lib/mobileapp/vue/domstructure/ui/basic/action-bar/action-bar.js +2 -2
  51. package/lib/mobileapp/vue/domstructure/ui/basic/action-bar/action-bar.js.map +1 -1
  52. package/lib/mobileapp/vue/domstructure/ui/basic/button/button.js +12 -2
  53. package/lib/mobileapp/vue/domstructure/ui/basic/button/button.js.map +1 -1
  54. package/lib/mobileapp/vue/domstructure/ui/basic/icon/icon.js +42 -0
  55. package/lib/mobileapp/vue/domstructure/ui/basic/icon/icon.js.map +1 -0
  56. package/lib/mobileapp/vue/domstructure/ui/basic/icon/index.js +14 -0
  57. package/lib/mobileapp/vue/domstructure/ui/basic/icon/index.js.map +1 -0
  58. package/lib/mobileapp/vue/domstructure/ui/basic/image/image.js +21 -5
  59. package/lib/mobileapp/vue/domstructure/ui/basic/image/image.js.map +1 -1
  60. package/lib/mobileapp/vue/domstructure/ui/basic/index.js +3 -0
  61. package/lib/mobileapp/vue/domstructure/ui/basic/index.js.map +1 -1
  62. package/lib/mobileapp/vue/domstructure/ui/basic/label/index.js +14 -0
  63. package/lib/mobileapp/vue/domstructure/ui/basic/label/index.js.map +1 -0
  64. package/lib/mobileapp/vue/domstructure/ui/basic/label/label.js +35 -0
  65. package/lib/mobileapp/vue/domstructure/ui/basic/label/label.js.map +1 -0
  66. package/lib/mobileapp/vue/domstructure/ui/basic/nav-bar/vue-nav-bar.js +21 -7
  67. package/lib/mobileapp/vue/domstructure/ui/basic/nav-bar/vue-nav-bar.js.map +1 -1
  68. package/lib/mobileapp/vue/domstructure/ui/basic/search/search.js +12 -2
  69. package/lib/mobileapp/vue/domstructure/ui/basic/search/search.js.map +1 -1
  70. package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar-item.js +4 -7
  71. package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar-item.js.map +1 -1
  72. package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar.js +4 -7
  73. package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar.js.map +1 -1
  74. package/lib/mobileapp/vue/domstructure/ui/basic/tab/vue-tab-bar.js +22 -3
  75. package/lib/mobileapp/vue/domstructure/ui/basic/tab/vue-tab-bar.js.map +1 -1
  76. package/lib/mobileapp/vue/domstructure/ui/basic/tag/index.js +14 -0
  77. package/lib/mobileapp/vue/domstructure/ui/basic/tag/index.js.map +1 -0
  78. package/lib/mobileapp/vue/domstructure/ui/basic/tag/tag.js +42 -0
  79. package/lib/mobileapp/vue/domstructure/ui/basic/tag/tag.js.map +1 -0
  80. package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-area.js +34 -4
  81. package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-area.js.map +1 -1
  82. package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-item.js +15 -2
  83. package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-item.js.map +1 -1
  84. package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar.js +4 -7
  85. package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar.js.map +1 -1
  86. package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-comments.js +12 -2
  87. package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-comments.js.map +1 -1
  88. package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-info.js +14 -2
  89. package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-info.js.map +1 -1
  90. package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-logs.js +12 -2
  91. package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-logs.js.map +1 -1
  92. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-entry.js +2 -2
  93. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-entry.js.map +1 -1
  94. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-file.js +12 -2
  95. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-file.js.map +1 -1
  96. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-uploader.js +2 -2
  97. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-uploader.js.map +1 -1
  98. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment.js +2 -2
  99. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment.js.map +1 -1
  100. package/lib/mobileapp/vue/domstructure/ui/business/attachment/image-uploader.js +2 -2
  101. package/lib/mobileapp/vue/domstructure/ui/business/attachment/image-uploader.js.map +1 -1
  102. package/lib/mobileapp/vue/domstructure/ui/business/filter/filter.js +53 -2
  103. package/lib/mobileapp/vue/domstructure/ui/business/filter/filter.js.map +1 -1
  104. package/lib/mobileapp/vue/domstructure/ui/business/scroll-navbar.js +26 -2
  105. package/lib/mobileapp/vue/domstructure/ui/business/scroll-navbar.js.map +1 -1
  106. package/lib/mobileapp/vue/domstructure/ui/common/vue-background.js +38 -0
  107. package/lib/mobileapp/vue/domstructure/ui/common/vue-background.js.map +1 -0
  108. package/lib/mobileapp/vue/domstructure/ui/common/vue-binding.js +6 -1
  109. package/lib/mobileapp/vue/domstructure/ui/common/vue-binding.js.map +1 -1
  110. package/lib/mobileapp/vue/domstructure/ui/common/vue-border-radius.js +29 -0
  111. package/lib/mobileapp/vue/domstructure/ui/common/vue-border-radius.js.map +1 -0
  112. package/lib/mobileapp/vue/domstructure/ui/common/vue-position.js +2 -5
  113. package/lib/mobileapp/vue/domstructure/ui/common/vue-position.js.map +1 -1
  114. package/lib/mobileapp/vue/domstructure/ui/common/vue-toolbar.js +5 -1
  115. package/lib/mobileapp/vue/domstructure/ui/common/vue-toolbar.js.map +1 -1
  116. package/lib/mobileapp/vue/domstructure/ui/common/vue-variable.js +4 -0
  117. package/lib/mobileapp/vue/domstructure/ui/common/vue-variable.js.map +1 -1
  118. package/lib/mobileapp/vue/domstructure/ui/container/card.js +32 -2
  119. package/lib/mobileapp/vue/domstructure/ui/container/card.js.map +1 -1
  120. package/lib/mobileapp/vue/domstructure/ui/container/field-set.js +12 -2
  121. package/lib/mobileapp/vue/domstructure/ui/container/field-set.js.map +1 -1
  122. package/lib/mobileapp/vue/domstructure/ui/container/index.js +4 -0
  123. package/lib/mobileapp/vue/domstructure/ui/container/index.js.map +1 -1
  124. package/lib/mobileapp/vue/domstructure/ui/container/vue-container.js +13 -7
  125. package/lib/mobileapp/vue/domstructure/ui/container/vue-container.js.map +1 -1
  126. package/lib/mobileapp/vue/domstructure/ui/container/vue-content-container.js +2 -8
  127. package/lib/mobileapp/vue/domstructure/ui/container/vue-content-container.js.map +1 -1
  128. package/lib/mobileapp/vue/domstructure/ui/container/vue-float-container.js +2 -8
  129. package/lib/mobileapp/vue/domstructure/ui/container/vue-float-container.js.map +1 -1
  130. package/lib/mobileapp/vue/domstructure/ui/container/vue-form.js +2 -2
  131. package/lib/mobileapp/vue/domstructure/ui/container/vue-form.js.map +1 -1
  132. package/lib/mobileapp/vue/domstructure/ui/container/vue-item-container.js +4 -7
  133. package/lib/mobileapp/vue/domstructure/ui/container/vue-item-container.js.map +1 -1
  134. package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-col.js +27 -0
  135. package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-col.js.map +1 -0
  136. package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-row.js +27 -0
  137. package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-row.js.map +1 -0
  138. package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container.js +27 -0
  139. package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container.js.map +1 -0
  140. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-container.js +2 -2
  141. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-container.js.map +1 -1
  142. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-content-container.js +2 -2
  143. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-content-container.js.map +1 -1
  144. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-footer-container.js +2 -2
  145. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-footer-container.js.map +1 -1
  146. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-header-container.js +2 -2
  147. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-header-container.js.map +1 -1
  148. package/lib/mobileapp/vue/domstructure/ui/container/vue-section.js +14 -7
  149. package/lib/mobileapp/vue/domstructure/ui/container/vue-section.js.map +1 -1
  150. package/lib/mobileapp/vue/domstructure/ui/container/vue-tab-page.js +12 -2
  151. package/lib/mobileapp/vue/domstructure/ui/container/vue-tab-page.js.map +1 -1
  152. package/lib/mobileapp/vue/domstructure/ui/container/vue-tabs.js +2 -2
  153. package/lib/mobileapp/vue/domstructure/ui/container/vue-tabs.js.map +1 -1
  154. package/lib/mobileapp/vue/domstructure/ui/container/vue-template-container.js +28 -0
  155. package/lib/mobileapp/vue/domstructure/ui/container/vue-template-container.js.map +1 -0
  156. package/lib/mobileapp/vue/domstructure/ui/display/avatar/avatar.js +57 -0
  157. package/lib/mobileapp/vue/domstructure/ui/display/avatar/avatar.js.map +1 -0
  158. package/lib/mobileapp/vue/domstructure/ui/display/avatar/index.js +14 -0
  159. package/lib/mobileapp/vue/domstructure/ui/display/avatar/index.js.map +1 -0
  160. package/lib/mobileapp/vue/domstructure/ui/display/banner/vue-banner.js +2 -2
  161. package/lib/mobileapp/vue/domstructure/ui/display/banner/vue-banner.js.map +1 -1
  162. package/lib/mobileapp/vue/domstructure/ui/display/calendar/calendar.js +2 -2
  163. package/lib/mobileapp/vue/domstructure/ui/display/calendar/calendar.js.map +1 -1
  164. package/lib/mobileapp/vue/domstructure/ui/display/calendar/schedule.js +32 -3
  165. package/lib/mobileapp/vue/domstructure/ui/display/calendar/schedule.js.map +1 -1
  166. package/lib/mobileapp/vue/domstructure/ui/display/html-template/html-template.js +2 -2
  167. package/lib/mobileapp/vue/domstructure/ui/display/html-template/html-template.js.map +1 -1
  168. package/lib/mobileapp/vue/domstructure/ui/display/index.js +2 -0
  169. package/lib/mobileapp/vue/domstructure/ui/display/index.js.map +1 -1
  170. package/lib/mobileapp/vue/domstructure/ui/display/list-view/vue-list-view.js +38 -8
  171. package/lib/mobileapp/vue/domstructure/ui/display/list-view/vue-list-view.js.map +1 -1
  172. package/lib/mobileapp/vue/domstructure/ui/display/staff-info/staff-info.js +12 -2
  173. package/lib/mobileapp/vue/domstructure/ui/display/staff-info/staff-info.js.map +1 -1
  174. package/lib/mobileapp/vue/domstructure/ui/display/static-text/static-text.js +2 -2
  175. package/lib/mobileapp/vue/domstructure/ui/display/static-text/static-text.js.map +1 -1
  176. package/lib/mobileapp/vue/domstructure/ui/display/text/index.js +14 -0
  177. package/lib/mobileapp/vue/domstructure/ui/display/text/index.js.map +1 -0
  178. package/lib/mobileapp/vue/domstructure/ui/display/text/vue-text.js +50 -0
  179. package/lib/mobileapp/vue/domstructure/ui/display/text/vue-text.js.map +1 -0
  180. package/lib/mobileapp/vue/domstructure/ui/input/area-picker.js +2 -2
  181. package/lib/mobileapp/vue/domstructure/ui/input/area-picker.js.map +1 -1
  182. package/lib/mobileapp/vue/domstructure/ui/input/calendar-input.js +2 -2
  183. package/lib/mobileapp/vue/domstructure/ui/input/calendar-input.js.map +1 -1
  184. package/lib/mobileapp/vue/domstructure/ui/input/checkbox-group.js +20 -2
  185. package/lib/mobileapp/vue/domstructure/ui/input/checkbox-group.js.map +1 -1
  186. package/lib/mobileapp/vue/domstructure/ui/input/common.js +37 -3
  187. package/lib/mobileapp/vue/domstructure/ui/input/common.js.map +1 -1
  188. package/lib/mobileapp/vue/domstructure/ui/input/custom-box.js +2 -2
  189. package/lib/mobileapp/vue/domstructure/ui/input/custom-box.js.map +1 -1
  190. package/lib/mobileapp/vue/domstructure/ui/input/date-picker.js +2 -2
  191. package/lib/mobileapp/vue/domstructure/ui/input/date-picker.js.map +1 -1
  192. package/lib/mobileapp/vue/domstructure/ui/input/html-preview.js +2 -2
  193. package/lib/mobileapp/vue/domstructure/ui/input/html-preview.js.map +1 -1
  194. package/lib/mobileapp/vue/domstructure/ui/input/index.js +1 -0
  195. package/lib/mobileapp/vue/domstructure/ui/input/index.js.map +1 -1
  196. package/lib/mobileapp/vue/domstructure/ui/input/lookup-department.js +2 -2
  197. package/lib/mobileapp/vue/domstructure/ui/input/lookup-department.js.map +1 -1
  198. package/lib/mobileapp/vue/domstructure/ui/input/lookup-employee.js +2 -2
  199. package/lib/mobileapp/vue/domstructure/ui/input/lookup-employee.js.map +1 -1
  200. package/lib/mobileapp/vue/domstructure/ui/input/lookup-input.js +14 -2
  201. package/lib/mobileapp/vue/domstructure/ui/input/lookup-input.js.map +1 -1
  202. package/lib/mobileapp/vue/domstructure/ui/input/number.js +14 -3
  203. package/lib/mobileapp/vue/domstructure/ui/input/number.js.map +1 -1
  204. package/lib/mobileapp/vue/domstructure/ui/input/picker-city.js +46 -0
  205. package/lib/mobileapp/vue/domstructure/ui/input/picker-city.js.map +1 -0
  206. package/lib/mobileapp/vue/domstructure/ui/input/picker-relation.js +2 -2
  207. package/lib/mobileapp/vue/domstructure/ui/input/picker-relation.js.map +1 -1
  208. package/lib/mobileapp/vue/domstructure/ui/input/picker.js +20 -2
  209. package/lib/mobileapp/vue/domstructure/ui/input/picker.js.map +1 -1
  210. package/lib/mobileapp/vue/domstructure/ui/input/radio-group.js +20 -2
  211. package/lib/mobileapp/vue/domstructure/ui/input/radio-group.js.map +1 -1
  212. package/lib/mobileapp/vue/domstructure/ui/input/rich-text-editor.js +2 -2
  213. package/lib/mobileapp/vue/domstructure/ui/input/rich-text-editor.js.map +1 -1
  214. package/lib/mobileapp/vue/domstructure/ui/input/switch-input.js +2 -2
  215. package/lib/mobileapp/vue/domstructure/ui/input/switch-input.js.map +1 -1
  216. package/lib/mobileapp/vue/domstructure/ui/input/text-area.js +2 -2
  217. package/lib/mobileapp/vue/domstructure/ui/input/text-area.js.map +1 -1
  218. package/lib/mobileapp/vue/domstructure/ui/input/text-box-external.js +2 -2
  219. package/lib/mobileapp/vue/domstructure/ui/input/text-box-external.js.map +1 -1
  220. package/lib/mobileapp/vue/domstructure/ui/input/text-box.js +3 -2
  221. package/lib/mobileapp/vue/domstructure/ui/input/text-box.js.map +1 -1
  222. package/lib/mobileapp/vue/domstructure/ui/input/text-scan.js +2 -2
  223. package/lib/mobileapp/vue/domstructure/ui/input/text-scan.js.map +1 -1
  224. package/lib/mobileapp/vue/domstructure/ui/input/text-telphone.js +2 -2
  225. package/lib/mobileapp/vue/domstructure/ui/input/text-telphone.js.map +1 -1
  226. package/lib/mobileapp/vue/domstructure/ui/vue-base-component.js +44 -2
  227. package/lib/mobileapp/vue/domstructure/ui/vue-base-component.js.map +1 -1
  228. package/lib/mobileapp/vue/jit-engine-executor/mobile-vue-engine-executor.js.map +1 -1
  229. package/lib/mobileapp/vue/pug-template/config/ui-template-config.js +22 -2
  230. package/lib/mobileapp/vue/pug-template/config/ui-template-config.js.map +1 -1
  231. package/lib/mobileapp/vue/static/.editorconfig +9 -9
  232. package/lib/mobileapp/vue/static/.prettierrc +6 -6
  233. package/lib/mobileapp/vue/static/README.md +18 -18
  234. package/lib/mobileapp/vue/static/babel.config.js +13 -13
  235. package/lib/mobileapp/vue/static/src/app.vue +25 -4
  236. package/lib/mobileapp/vue/static/src/main.ts +9 -9
  237. package/lib/mobileapp/vue/static/src/shims-vue.d.ts +32 -32
  238. package/lib/mobileapp/vue/static/tsconfig.json +20 -20
  239. package/lib/mobileapp/vue/task/vue-recursiveGenerateDevkit.js +24 -4
  240. package/lib/mobileapp/vue/task/vue-recursiveGenerateDevkit.js.map +1 -1
  241. package/lib/mobileapp/vue/utility/devkit/form-file-executor.js +4 -1
  242. package/lib/mobileapp/vue/utility/devkit/form-file-executor.js.map +1 -1
  243. package/lib/mobileapp/vue/utility/devkit/vue-component-creator.js +10 -10
  244. package/lib/mobileapp/vue/utility/devkit/vue-component-creator.js.map +1 -1
  245. package/lib/mobileapp/vue/utility/devkit/vue-viewmodels-creator.js +2 -2
  246. package/lib/mobileapp/vue/utility/devkit/vue-viewmodels-creator.js.map +1 -1
  247. package/lib/mobileapp/vue/utility/i18n/i18n-resource-manager.js +121 -0
  248. package/lib/mobileapp/vue/utility/i18n/i18n-resource-manager.js.map +1 -0
  249. package/lib/mobileapp/vue/utility/i18n/index.js +14 -0
  250. package/lib/mobileapp/vue/utility/i18n/index.js.map +1 -0
  251. package/lib/mobileapp/vue/utility/index.js +1 -0
  252. package/lib/mobileapp/vue/utility/index.js.map +1 -1
  253. package/lib/mobileapp/vue/utility/parameter-collector/page-component-collector/page-component-ref-parameter.js +2 -2
  254. package/lib/mobileapp/vue/utility/template-generator/page-component-control-generator.js +2 -2
  255. package/lib/mobileapp/vue/utility/template-generator/page-component-ref-generator.js +1 -1
  256. package/lib/mobileapp/vue/utility/template-generator/page-statemachine-generator.js +21 -21
  257. package/lib/mobileapp/vue/utility/vue-content-type-creator.js +10 -0
  258. package/lib/mobileapp/vue/utility/vue-content-type-creator.js.map +1 -1
  259. package/lib/mobileapp/vue/utility/vue-object-creator.js +22 -0
  260. package/lib/mobileapp/vue/utility/vue-object-creator.js.map +1 -1
  261. package/lib/template/ui/mobilevue/action-bar.pug +10 -10
  262. package/lib/template/ui/mobilevue/approval-comments.pug +1 -1
  263. package/lib/template/ui/mobilevue/approval-info.pug +2 -8
  264. package/lib/template/ui/mobilevue/approval-logs.pug +1 -1
  265. package/lib/template/ui/mobilevue/attachment-file.pug +1 -1
  266. package/lib/template/ui/mobilevue/avatar.pug +19 -0
  267. package/lib/template/ui/mobilevue/banner.pug +4 -4
  268. package/lib/template/ui/mobilevue/button.pug +1 -1
  269. package/lib/template/ui/mobilevue/calendar-input.pug +5 -4
  270. package/lib/template/ui/mobilevue/card.pug +2 -2
  271. package/lib/template/ui/mobilevue/checkbox-group.pug +4 -4
  272. package/lib/template/ui/mobilevue/component-ref.pug +3 -3
  273. package/lib/template/ui/mobilevue/custom-box.pug +6 -4
  274. package/lib/template/ui/mobilevue/date-time-picker.pug +7 -5
  275. package/lib/template/ui/mobilevue/field-set.pug +3 -2
  276. package/lib/template/ui/mobilevue/filter.pug +2 -2
  277. package/lib/template/ui/mobilevue/html-preview.pug +1 -1
  278. package/lib/template/ui/mobilevue/icon.pug +12 -0
  279. package/lib/template/ui/mobilevue/image-uploader.pug +15 -15
  280. package/lib/template/ui/mobilevue/image.pug +19 -9
  281. package/lib/template/ui/mobilevue/label.pug +12 -0
  282. package/lib/template/ui/mobilevue/layout-container-col.pug +11 -0
  283. package/lib/template/ui/mobilevue/layout-container-row.pug +12 -0
  284. package/lib/template/ui/mobilevue/layout-container.pug +11 -0
  285. package/lib/template/ui/mobilevue/list-view.pug +9 -5
  286. package/lib/template/ui/mobilevue/lookup-department.pug +7 -5
  287. package/lib/template/ui/mobilevue/lookup-employee.pug +9 -8
  288. package/lib/template/ui/mobilevue/lookup-input.pug +9 -7
  289. package/lib/template/ui/mobilevue/nav-bar.pug +1 -1
  290. package/lib/template/ui/mobilevue/number.pug +10 -5
  291. package/lib/template/ui/mobilevue/{area-picker.pug → picker-area.pug} +6 -5
  292. package/lib/template/ui/mobilevue/picker-city.pug +65 -0
  293. package/lib/template/ui/mobilevue/picker-relation.pug +5 -3
  294. package/lib/template/ui/mobilevue/picker.pug +6 -6
  295. package/lib/template/ui/mobilevue/radio-group.pug +4 -4
  296. package/lib/template/ui/mobilevue/rich-text-editor.pug +8 -6
  297. package/lib/template/ui/mobilevue/schedule.pug +1 -1
  298. package/lib/template/ui/mobilevue/scroll-navbar.pug +1 -1
  299. package/lib/template/ui/mobilevue/search.pug +1 -1
  300. package/lib/template/ui/mobilevue/section.pug +1 -1
  301. package/lib/template/ui/mobilevue/sidebar-item.pug +9 -9
  302. package/lib/template/ui/mobilevue/sidebar.pug +11 -11
  303. package/lib/template/ui/mobilevue/staff-info.pug +1 -1
  304. package/lib/template/ui/mobilevue/static-text.pug +1 -1
  305. package/lib/template/ui/mobilevue/steps.pug +8 -8
  306. package/lib/template/ui/mobilevue/switch.pug +5 -4
  307. package/lib/template/ui/mobilevue/tab-bar.pug +2 -1
  308. package/lib/template/ui/mobilevue/tabpage.pug +1 -3
  309. package/lib/template/ui/mobilevue/tag.pug +33 -0
  310. package/lib/template/ui/mobilevue/text-area.pug +5 -4
  311. package/lib/template/ui/mobilevue/text-box-external.pug +6 -4
  312. package/lib/template/ui/mobilevue/text-box.pug +14 -7
  313. package/lib/template/ui/mobilevue/text-scan.pug +6 -4
  314. package/lib/template/ui/mobilevue/text-telphone.pug +13 -3
  315. package/lib/template/ui/mobilevue/text.pug +105 -0
  316. package/lib/template/ui/mobilevue/toolbar-area.pug +1 -1
  317. package/lib/template/ui/mobilevue/toolbar-item.pug +1 -1
  318. package/lib/template/ui/mobilevue/toolbar.pug +5 -5
  319. package/package.json +1 -1
  320. package/lib/mobileapp/vue/static/.npmignore +0 -13
@@ -20,97 +20,97 @@ class PageProviderGenerator extends abstract_file_generator_1.AbstractFileGenera
20
20
  const lowerCaseComponentId = componentId.toLowerCase();
21
21
  const serviceRefs = vueViewModel.serviceRefs.filter(item => item.isCommon ? false : true);
22
22
  let generateString = "";
23
- generateString += `
24
- import {
25
- StaticProvider, Injector, Repository,
26
- ViewModel, BindingData, UIState, StateMachine, Form, ViewModelContext, COMMAND_HANDLERS_TOKEN
27
- } from '@farris/mobile-devkit';
28
- import { BEF_VIEWMODEL_PROVIDERS } from '@farris/mobile-bef';
29
- import {
30
- LoadDataService,
31
- RemoveDataService,
32
- RouterService,
33
- CreateDataService,
34
- COMMAND_SERVICES_VIEWMODEL_PROVIDERS,
35
- CommandService,SaveDataService,
36
- CancelDataService,
37
- ApproveService,
38
- StateMachineService,
39
- AttachmentService,
40
- EditDataService,
41
- UpdateDataService,
42
- CcWorkService,
43
- ValidatorServices,
44
- BusinessAttachmentService,
45
- CheckDataService,
46
- DiscussionGroupService,
47
- DialogService,
48
- LoadingService,
49
- NotifyService,
50
- ToastService,
51
- JsBridgeService,
52
- VoVariableService,
53
- UIDataService
54
- } from '@farris/mobile-command-services';
55
- import { ModelRepository } from '../../models/model.repository'
56
- ${serviceRefs.map(item => 'import { ' + item.name + ' as ' + item.alias + ' } from "../../services/' + item.fileName.toLowerCase() + '";').join('')}
23
+ generateString += `
24
+ import {
25
+ StaticProvider, Injector, Repository,
26
+ ViewModel, BindingData, UIState, StateMachine, Form, ViewModelContext, COMMAND_HANDLERS_TOKEN
27
+ } from '@farris/mobile-devkit';
28
+ import { BEF_VIEWMODEL_PROVIDERS } from '@farris/mobile-bef';
29
+ import {
30
+ LoadDataService,
31
+ RemoveDataService,
32
+ RouterService,
33
+ CreateDataService,
34
+ COMMAND_SERVICES_VIEWMODEL_PROVIDERS,
35
+ CommandService,SaveDataService,
36
+ CancelDataService,
37
+ ApproveService,
38
+ StateMachineService,
39
+ AttachmentService,
40
+ EditDataService,
41
+ UpdateDataService,
42
+ CcWorkService,
43
+ ValidatorServices,
44
+ BusinessAttachmentService,
45
+ CheckDataService,
46
+ DiscussionGroupService,
47
+ DialogService,
48
+ LoadingService,
49
+ NotifyService,
50
+ ToastService,
51
+ JsBridgeService,
52
+ VoVariableService,
53
+ UIDataService
54
+ } from '@farris/mobile-command-services';
55
+ import { ModelRepository } from '../../models/model.repository'
56
+ ${serviceRefs.map(item => 'import { ' + item.name + ' as ' + item.alias + ' } from "../../services/' + item.fileName.toLowerCase() + '";').join('')}
57
57
  `;
58
58
  if (vueViewModel.form) {
59
- generateString += `
59
+ generateString += `
60
60
  import { ${page_form_manager_1.PageFormManager.generatePageFormName(componentId)} } from "./${lowerCaseComponentId}.form";`;
61
61
  }
62
62
  if (vueViewModel.states) {
63
- generateString += `
63
+ generateString += `
64
64
  import { ${page_uistate_manager_1.PageUIStateManager.generateUIStateName(componentId)} } from "./${lowerCaseComponentId}.uistate";`;
65
65
  }
66
66
  if (vueViewModel.stateMachine) {
67
- generateString += `
67
+ generateString += `
68
68
  import { ${page_statemachine_manager_1.PageStateMachineManager.generateStateMachineName(componentId)} } from "./${lowerCaseComponentId}.statemachine";`;
69
69
  }
70
- generateString += `
70
+ generateString += `
71
71
  import { ${page_viewmodel_manager_1.PageViewModelManager.generateViewModelName(componentId)} } from "./${lowerCaseComponentId}.viewmodel";`;
72
72
  if (utility_1.ToolHelper.isArray(vueViewModel.commands, false)) {
73
73
  vueViewModel.commands.forEach((item) => {
74
- generateString += `
74
+ generateString += `
75
75
  import { ${page_command_handler_manager_1.PageCommandHandlerManager.generateCommandHandlerName(item.code)} } from "./handlers/${item.code.toLowerCase()}.handler";`;
76
76
  });
77
77
  }
78
- generateString += `
78
+ generateString += `
79
79
  import {${page_binding_data_manager_1.PageBindingDataManager.generateBindingName(componentId)}} from "./${lowerCaseComponentId}.bindingdata";`;
80
- generateString += `
81
-
80
+ generateString += `
81
+
82
82
  export const ${providerName}: StaticProvider[] = [`;
83
- generateString += `
83
+ generateString += `
84
84
  { provide: Repository, useExisting: ModelRepository, deps: []},`;
85
- generateString += `
85
+ generateString += `
86
86
  { provide: BindingData, useClass: ${page_binding_data_manager_1.PageBindingDataManager.generateBindingName(componentId)}, deps: []},`;
87
87
  if (vueViewModel.states) {
88
- generateString += `
88
+ generateString += `
89
89
  { provide: UIState, useClass: ${page_uistate_manager_1.PageUIStateManager.generateUIStateName(componentId)}, deps: []},`;
90
90
  }
91
91
  if (vueViewModel.stateMachine) {
92
- generateString += `
92
+ generateString += `
93
93
  { provide: StateMachine, useClass: ${page_statemachine_manager_1.PageStateMachineManager.generateStateMachineName(componentId)}, deps: []},`;
94
94
  }
95
95
  if (vueViewModel.form) {
96
- generateString += `
96
+ generateString += `
97
97
  { provide: Form, useClass: ${page_form_manager_1.PageFormManager.generatePageFormName(componentId)}, deps: [ViewModelContext ] },`;
98
98
  }
99
- generateString += `
99
+ generateString += `
100
100
  { provide: ViewModel, useClass: ${page_viewmodel_manager_1.PageViewModelManager.generateViewModelName(componentId)}, deps: [Injector] },`;
101
101
  if (utility_1.ToolHelper.isArray(vueViewModel.commands, false)) {
102
102
  vueViewModel.commands.forEach((itemCommand) => {
103
- generateString += `
103
+ generateString += `
104
104
  { provide: COMMAND_HANDLERS_TOKEN, useClass: ${page_command_handler_manager_1.PageCommandHandlerManager.generateCommandHandlerName(itemCommand.code)}, deps: [${this.generateHandlerService(itemCommand, serviceRefs)}], multi: true},`;
105
105
  });
106
106
  }
107
107
  if (utility_1.ToolHelper.isArray(serviceRefs, false)) {
108
108
  serviceRefs.forEach((service) => {
109
- generateString += `
109
+ generateString += `
110
110
  { provide: ${service.alias}, useClass: ${service.alias}, deps: [ViewModelContext]},`;
111
111
  });
112
112
  }
113
- generateString += `
113
+ generateString += `
114
114
  ].concat(COMMAND_SERVICES_VIEWMODEL_PROVIDERS).concat(BEF_VIEWMODEL_PROVIDERS);`;
115
115
  this.createFile(context.basePath, context.fileName, generateString);
116
116
  return response;
@@ -12,58 +12,58 @@ class PageStateMachineGenerator extends abstract_file_generator_1.AbstractFileGe
12
12
  const variable = externalParameter.value;
13
13
  let generateString = "";
14
14
  const eol = this.getEol();
15
- generateString += `
16
- import { StateMachine, State, StatePropMeta, RenderState, RenderStatePropMeta, Action, ActionMethodMeta } from '@farris/mobile-devkit';
15
+ generateString += `
16
+ import { StateMachine, State, StatePropMeta, RenderState, RenderStatePropMeta, Action, ActionMethodMeta } from '@farris/mobile-devkit';
17
17
  `;
18
- generateString += `
19
- export class ${page_statemachine_manager_1.PageStateMachineManager.generateStateMachineName(variable.componentId)} extends StateMachine {
18
+ generateString += `
19
+ export class ${page_statemachine_manager_1.PageStateMachineManager.generateStateMachineName(variable.componentId)} extends StateMachine {
20
20
  `;
21
21
  if (toolhepler_1.ToolHelper.isArray(variable.ngStates, false)) {
22
22
  variable.ngStates.forEach((ngState) => {
23
23
  if (ngState.initialState) {
24
- generateString += `
25
- @StatePropMeta({
26
- initialState: true
24
+ generateString += `
25
+ @StatePropMeta({
26
+ initialState: true
27
27
  })`;
28
28
  }
29
29
  else {
30
- generateString += `
30
+ generateString += `
31
31
  @StatePropMeta()`;
32
32
  }
33
- generateString += `
33
+ generateString += `
34
34
  ${ngState.name}: State;`;
35
35
  generateString += eol;
36
36
  });
37
37
  }
38
38
  if (toolhepler_1.ToolHelper.isArray(variable.ngRenderStates, false)) {
39
39
  variable.ngRenderStates.forEach((ngRenderState) => {
40
- generateString += `
41
- @RenderStatePropMeta({
42
- render: ${ngRenderState.render}
43
- })
40
+ generateString += `
41
+ @RenderStatePropMeta({
42
+ render: ${ngRenderState.render}
43
+ })
44
44
  ${ngRenderState.name}: RenderState;`;
45
45
  generateString += this.getEol();
46
46
  });
47
47
  }
48
48
  if (toolhepler_1.ToolHelper.isArray(variable.ngActions, false)) {
49
49
  variable.ngActions.forEach((ngAction) => {
50
- generateString += `
50
+ generateString += `
51
51
  @ActionMethodMeta({`;
52
52
  if (ngAction.precondition) {
53
- generateString += `
53
+ generateString += `
54
54
  precondition: ${ngAction.precondition},`;
55
55
  }
56
56
  if (ngAction.transitTo) {
57
- generateString += `
57
+ generateString += `
58
58
  transitTo: '${ngAction.transitTo}'`;
59
59
  }
60
- generateString += `
61
- })
60
+ generateString += `
61
+ })
62
62
  ${ngAction.name}: Action;`;
63
63
  generateString += this.getEol();
64
64
  });
65
65
  }
66
- generateString += `
66
+ generateString += `
67
67
  }`;
68
68
  this.createFile(context.basePath, context.fileName, generateString);
69
69
  return response;
@@ -14,79 +14,79 @@ class PageViewModelGenerator extends abstract_file_generator_1.AbstractFileGener
14
14
  let generateString = "";
15
15
  const eol = this.getEol();
16
16
  const externalPrefix = this.convertNullToEmpty(variable.externalPrefix);
17
- generateString += `
18
- import { Injector, ViewModel, CommandMethodMeta } from '@farris/mobile-devkit';
19
- import { Observable } from 'rxjs';
17
+ generateString += `
18
+ import { Injector, ViewModel, CommandMethodMeta } from '@farris/mobile-devkit';
19
+ import { Observable } from 'rxjs';
20
20
  `;
21
- generateString += `
22
-
21
+ generateString += `
22
+
23
23
  export class ${viewModelName} extends ViewModel {`;
24
24
  if (variable.bindTo) {
25
- generateString += `
25
+ generateString += `
26
26
  public bindingPath = '${variable.bindTo}';`;
27
27
  }
28
28
  if (variable.component && variable.component.id) {
29
- generateString += `
29
+ generateString += `
30
30
  public id = '${variable.component.id}';`;
31
31
  }
32
- generateString += `
33
-
34
- constructor(injector: Injector){
35
- super(injector, "${variable.component && variable.component.id ? variable.component.id : ''}");
36
- }
32
+ generateString += `
33
+
34
+ constructor(injector: Injector){
35
+ super(injector, "${variable.component && variable.component.id ? variable.component.id : ''}");
36
+ }
37
37
  `;
38
38
  if (toolhepler_1.ToolHelper.isArray(variable.commands, false)) {
39
39
  variable.commands.forEach((command) => {
40
- generateString += `
41
- @CommandMethodMeta({
40
+ generateString += `
41
+ @CommandMethodMeta({
42
42
  name: '${command.code}'`;
43
43
  generateString += ",";
44
- generateString += `
44
+ generateString += `
45
45
  params: {`;
46
46
  if (toolhepler_1.ToolHelper.isArray(command.params, false)) {
47
47
  command.params.forEach((param, index) => {
48
- generateString += `
48
+ generateString += `
49
49
  ${param.name}: '${param.value}'`;
50
50
  if (index < (command.params.length - 1)) {
51
51
  generateString += `,`;
52
52
  }
53
53
  });
54
54
  }
55
- generateString += `
55
+ generateString += `
56
56
  }`;
57
57
  if (toolhepler_1.ToolHelper.isArray(command.paramDescriptions, false)) {
58
58
  generateString += ",";
59
- generateString += `
59
+ generateString += `
60
60
  paramDescriptions: {`;
61
61
  command.paramDescriptions.forEach((paramDesc, index) => {
62
- generateString += `
62
+ generateString += `
63
63
  ${paramDesc.name}: { type: '${paramDesc.type ? paramDesc.type : ""}' }`;
64
64
  if (index < (command.paramDescriptions.length - 1)) {
65
65
  generateString += ",";
66
66
  }
67
67
  });
68
- generateString += `
68
+ generateString += `
69
69
  }`;
70
70
  }
71
71
  if (command.shortcut) {
72
- generateString += `
73
- | ,
74
- | keyBinding:{
75
- | ctrlKey:${command.shortcut.ctrl},
76
- | altKey:${command.shortcut.alt},
77
- | shiftKey:${command.shortcut.shift},
78
- | key:'${command.shortcut.key}'
79
- }
72
+ generateString += `
73
+ | ,
74
+ | keyBinding:{
75
+ | ctrlKey:${command.shortcut.ctrl},
76
+ | altKey:${command.shortcut.alt},
77
+ | shiftKey:${command.shortcut.shift},
78
+ | key:'${command.shortcut.key}'
79
+ }
80
80
  `;
81
81
  }
82
- generateString += `
82
+ generateString += `
83
83
  })`;
84
- generateString += `
84
+ generateString += `
85
85
  public ${command.code}(commandParam?: any): Observable<any> { return; }`;
86
86
  generateString += this.getEol();
87
87
  });
88
88
  }
89
- generateString += `
89
+ generateString += `
90
90
  }`;
91
91
  this.createFile(context.basePath, context.fileName, generateString);
92
92
  return response;
@@ -6,13 +6,39 @@ const abstract_file_generator_1 = require("../abstract-file-generator");
6
6
  class AppVueGenerator extends abstract_file_generator_1.AbstractFileGenerator {
7
7
  generate(context) {
8
8
  const result = file_generator_response_1.FileGeneratorResponse.getNewEmptyInstance();
9
- const initContent = `
10
- <template>
11
- <router-view/>
12
- </template>
13
-
14
- <style>
15
- </style>
9
+ const initContent = `
10
+
11
+ <template>
12
+ <router-view v-slot="{ Component }">
13
+ <transition :name="transitionName">
14
+ <component :is="Component" />
15
+ </transition>
16
+ </router-view>
17
+ </template>
18
+
19
+ <script>
20
+ export default{
21
+ data() {
22
+ return {
23
+ transitionName: '',
24
+ };
25
+ },
26
+ watch: {
27
+ $route(to, from) {
28
+ if (to.query.FmRouterType === 'back') {
29
+ this.transitionName = 'fm-slide-out';
30
+ } else if (to.query.routeType === 'Forward') {
31
+ this.transitionName = 'fm-slide-in';
32
+ } else {
33
+ this.transitionName = '';
34
+ }
35
+ },
36
+ }
37
+ };
38
+ </script>
39
+
40
+ <style>
41
+ </style>
16
42
  `;
17
43
  this.createFile(context.basePath, context.fileName, initContent);
18
44
  return result;
@@ -1 +1 @@
1
- {"version":3,"file":"app-vue-generator.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/code-generator/file-generator/project-generator/app-vue-generator.ts"],"names":[],"mappings":";;;AAEA,wEAAmE;AAEnE,wEAAmE;AAUnE,MAAa,eAAgB,SAAQ,+CAAqB;IAStD,QAAQ,CAAC,OAA6B;QAClC,MAAM,MAAM,GAA0B,+CAAqB,CAAC,mBAAmB,EAAE,CAAC;QAClF,MAAM,WAAW,GACb;;;;;;;CAOX,CAAC;QAEM,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,QAAQ,EAAE,OAAO,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC;QACjE,OAAO,MAAM,CAAC;IAClB,CAAC;CAEJ;AAzBD,0CAyBC"}
1
+ {"version":3,"file":"app-vue-generator.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/code-generator/file-generator/project-generator/app-vue-generator.ts"],"names":[],"mappings":";;;AAEA,wEAAmE;AAEnE,wEAAmE;AAUnE,MAAa,eAAgB,SAAQ,+CAAqB;IAStD,QAAQ,CAAC,OAA6B;QAClC,MAAM,MAAM,GAA0B,+CAAqB,CAAC,mBAAmB,EAAE,CAAC;QAClF,MAAM,WAAW,GACb;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;;CAiCX,CAAC;QAEM,IAAI,CAAC,UAAU,CAAC,OAAO,CAAC,QAAQ,EAAE,OAAO,CAAC,QAAQ,EAAE,WAAW,CAAC,CAAC;QACjE,OAAO,MAAM,CAAC;IAClB,CAAC;CAEJ;AAnDD,0CAmDC"}
@@ -6,12 +6,12 @@ const abstract_file_generator_1 = require("../abstract-file-generator");
6
6
  class BabelConfigJsGenerator extends abstract_file_generator_1.AbstractFileGenerator {
7
7
  generate(context) {
8
8
  const response = file_generator_response_1.FileGeneratorResponse.getNewEmptyInstance();
9
- const initContent = `
10
- module.exports = {
11
- presets: [
12
- '@vue/cli-plugin-babel/preset'
13
- ]
14
- }
9
+ const initContent = `
10
+ module.exports = {
11
+ presets: [
12
+ '@vue/cli-plugin-babel/preset'
13
+ ]
14
+ }
15
15
  `;
16
16
  this.createFile(context.basePath, context.fileName, initContent);
17
17
  return response;
@@ -6,29 +6,29 @@ const abstract_file_generator_1 = require("../abstract-file-generator");
6
6
  class GitIgnoreGenerator extends abstract_file_generator_1.AbstractFileGenerator {
7
7
  generate(context) {
8
8
  const response = file_generator_response_1.FileGeneratorResponse.getNewEmptyInstance();
9
- const initContent = `
10
- .DS_Store
11
- node_modules
12
- /dist
13
-
14
- # local env files
15
- .env.local
16
- .env.*.local
17
-
18
- # Log files
19
- npm-debug.log*
20
- yarn-debug.log*
21
- yarn-error.log*
22
- pnpm-debug.log*
23
-
24
- # Editor directories and files
25
- .idea
26
- .vscode
27
- *.suo
28
- *.ntvs*
29
- *.njsproj
30
- *.sln
31
- *.sw?
9
+ const initContent = `
10
+ .DS_Store
11
+ node_modules
12
+ /dist
13
+
14
+ # local env files
15
+ .env.local
16
+ .env.*.local
17
+
18
+ # Log files
19
+ npm-debug.log*
20
+ yarn-debug.log*
21
+ yarn-error.log*
22
+ pnpm-debug.log*
23
+
24
+ # Editor directories and files
25
+ .idea
26
+ .vscode
27
+ *.suo
28
+ *.ntvs*
29
+ *.njsproj
30
+ *.sln
31
+ *.sw?
32
32
  `;
33
33
  this.createFile(context.basePath, context.fileName, initContent);
34
34
  return response;
@@ -6,17 +6,17 @@ const abstract_file_generator_1 = require("../abstract-file-generator");
6
6
  class MainTsGenerator extends abstract_file_generator_1.AbstractFileGenerator {
7
7
  generate(context) {
8
8
  const response = file_generator_response_1.FileGeneratorResponse.getNewEmptyInstance();
9
- const initContent = `
10
- import Vue from 'vue';
11
- import App from './app.vue';
12
- import router from './router';
13
-
14
- Vue.config.productionTip = false;
15
-
16
- new Vue({
17
- router,
18
- render: h => h(App)
19
- }).$mount('#app');
9
+ const initContent = `
10
+ import Vue from 'vue';
11
+ import App from './app.vue';
12
+ import router from './router';
13
+
14
+ Vue.config.productionTip = false;
15
+
16
+ new Vue({
17
+ router,
18
+ render: h => h(App)
19
+ }).$mount('#app');
20
20
  `;
21
21
  this.createFile(context.basePath, context.fileName, initContent);
22
22
  return response;
@@ -9,53 +9,53 @@ class PackageJsonGenerator extends abstract_file_generator_1.AbstractFileGenerat
9
9
  const response = file_generator_response_1.FileGeneratorResponse.getNewEmptyInstance();
10
10
  const project = context.pageFlowEntity.project;
11
11
  const isRuntime = (_a = context.metaDataConfig) === null || _a === void 0 ? void 0 : _a.isRuntime;
12
- const initJson = `
13
- {
14
- "name": "${project.name ? project.name.toLowerCase() : "farris-mobile-vue-project"}",
15
- "description": "A Vue.js project",
16
- "version": "1.0.0",
17
- "author": "tsing",
18
- "license": "MIT",
19
- "private": true,
20
- "scripts": {
21
- "build": "cross-env NODE_ENV=production ${isRuntime ? 'RUNTIME=true ' : ''}fm -b project",
22
- "dev": "cross-env NODE_ENV=development ${isRuntime ? 'RUNTIME=true ' : ''}fm -b project"
23
- },
24
- "dependencies": {
25
- "@farris/mobile-bef": "latest",
26
- "@farris/mobile-business-ui": "latest",
27
- "@farris/mobile-command-services": "latest",
28
- "@farris/mobile-devkit": "latest",
29
- "@farris/mobile-ui": "latest",
30
- "@farris/mobile-vue-adapter": "latest",
31
- "@vue/compiler-core": "3.0.5",
32
- "axios": "0.21.1",
33
- "date-fns": "2.16.1",
34
- "dayjs": "1.10.3",
35
- "reflect-metadata": "0.1.13",
36
- "rxjs": "6.6.3",
37
- "vant": "3.0.3",
38
- "vue": "3.0.5",
39
- "vue-router": "4.0.3"
40
- },
41
- "devDependencies": {
42
- "@babel/core": "^7.12.9",
43
- "@babel/preset-env": "^7.12.7",
44
- "@babel/preset-typescript": "^7.12.7",
45
- "@farris/mobile-cli": "latest",
46
- "@typescript-eslint/eslint-plugin": "^4.9.1",
47
- "@typescript-eslint/parser": "^4.9.1",
48
- "cross-env": "^7.0.3",
49
- "eslint": "^7.15.0",
50
- "typescript": "^4.1.2"
51
- },
52
- "linkedNodeModules":"",
53
- "browserslist": [
54
- "> 1%",
55
- "last 2 versions",
56
- "not ie <= 8"
57
- ]
58
- }
12
+ const initJson = `
13
+ {
14
+ "name": "${project.name ? project.name.toLowerCase() : "farris-mobile-vue-project"}",
15
+ "description": "A Vue.js project",
16
+ "version": "1.0.0",
17
+ "author": "tsing",
18
+ "license": "MIT",
19
+ "private": true,
20
+ "scripts": {
21
+ "build": "cross-env NODE_ENV=production ${isRuntime ? 'RUNTIME=true ' : ''}fm -b project",
22
+ "dev": "cross-env NODE_ENV=development ${isRuntime ? 'RUNTIME=true ' : ''}fm -b project"
23
+ },
24
+ "dependencies": {
25
+ "@farris/mobile-bef": "latest",
26
+ "@farris/mobile-business-ui": "latest",
27
+ "@farris/mobile-command-services": "latest",
28
+ "@farris/mobile-devkit": "latest",
29
+ "@farris/mobile-ui": "latest",
30
+ "@farris/mobile-vue-adapter": "latest",
31
+ "@vue/compiler-core": "3.0.5",
32
+ "axios": "0.21.1",
33
+ "date-fns": "2.16.1",
34
+ "dayjs": "1.10.3",
35
+ "reflect-metadata": "0.1.13",
36
+ "rxjs": "6.6.3",
37
+ "vant": "3.0.3",
38
+ "vue": "3.0.5",
39
+ "vue-router": "4.0.3"
40
+ },
41
+ "devDependencies": {
42
+ "@babel/core": "^7.12.9",
43
+ "@babel/preset-env": "^7.12.7",
44
+ "@babel/preset-typescript": "^7.12.7",
45
+ "@farris/mobile-cli": "latest",
46
+ "@typescript-eslint/eslint-plugin": "^4.9.1",
47
+ "@typescript-eslint/parser": "^4.9.1",
48
+ "cross-env": "^7.0.3",
49
+ "eslint": "^7.15.0",
50
+ "typescript": "^4.1.2"
51
+ },
52
+ "linkedNodeModules":"",
53
+ "browserslist": [
54
+ "> 1%",
55
+ "last 2 versions",
56
+ "not ie <= 8"
57
+ ]
58
+ }
59
59
  `;
60
60
  this.createFile(context.basePath, context.fileName, initJson);
61
61
  return response;
@@ -5,26 +5,26 @@ const abstract_file_generator_1 = require("../abstract-file-generator");
5
5
  class ReadMeMdGenerator extends abstract_file_generator_1.AbstractFileGenerator {
6
6
  generate(context) {
7
7
  const response = this.getDefaultFileGeneratorResponse();
8
- const initJson = `
9
- # farris-mobile-vue-demos
10
-
11
- ## Project setup
12
- \`\`\`
13
- npm install
14
- \`\`\`
15
-
16
- ### Compiles and hot-reloads for development
17
- \`\`\`
18
- npm run serve
19
- \`\`\`
20
-
21
- ### Compiles and minifies for production
22
- \`\`\`
23
- npm run build
24
- \`\`\`
25
-
26
- ### Customize configuration
27
- See [Configuration Reference](https://cli.vuejs.org/config/).
8
+ const initJson = `
9
+ # farris-mobile-vue-demos
10
+
11
+ ## Project setup
12
+ \`\`\`
13
+ npm install
14
+ \`\`\`
15
+
16
+ ### Compiles and hot-reloads for development
17
+ \`\`\`
18
+ npm run serve
19
+ \`\`\`
20
+
21
+ ### Compiles and minifies for production
22
+ \`\`\`
23
+ npm run build
24
+ \`\`\`
25
+
26
+ ### Customize configuration
27
+ See [Configuration Reference](https://cli.vuejs.org/config/).
28
28
  `;
29
29
  this.createFile(context.basePath, context.fileName, initJson);
30
30
  return response;