@farris/jit-engine 1.3.307 → 1.3.310

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 (317) hide show
  1. package/README.md +3 -8
  2. package/bin/index.js +12 -91
  3. package/lib/mobileapp/vue/code-generator/devkit-manager/app-indexvue-manager.js +1 -2
  4. package/lib/mobileapp/vue/code-generator/devkit-manager/app-indexvue-manager.js.map +1 -1
  5. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-expression.js +1 -1
  6. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-expression.js.map +1 -1
  7. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-filter-generator.js +8 -8
  8. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-index-resource-generator.js +2 -2
  9. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-index-vue-generator.js +6 -17
  10. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-index-vue-generator.js.map +1 -1
  11. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-model-provider-generator.js +9 -9
  12. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-model-proxy-generator.js +34 -34
  13. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-router-generator.js +17 -17
  14. package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-bindingdata-generator.js +11 -11
  15. package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-handler-generator.js +25 -25
  16. package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-provider-generator.js +51 -51
  17. package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-statemachine-generator.js +19 -19
  18. package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-viewmodel-generator.js +31 -31
  19. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/app-vue-generator.js +7 -7
  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 +7 -11
  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/page-flow/vue-page-flow-entity.js +2 -2
  37. package/lib/mobileapp/vue/domstructure/internal-entity/page-flow/vue-page-flow-page.js +2 -2
  38. package/lib/mobileapp/vue/domstructure/internal-entity/page-flow/vue-page-flow-project.js +2 -2
  39. package/lib/mobileapp/vue/domstructure/internal-entity/vue-app-index-vue-parameter.js.map +1 -1
  40. package/lib/mobileapp/vue/domstructure/ui/basic/action-bar/action-bar.js +2 -2
  41. package/lib/mobileapp/vue/domstructure/ui/basic/action-bar/action-bar.js.map +1 -1
  42. package/lib/mobileapp/vue/domstructure/ui/basic/button/button.js +2 -12
  43. package/lib/mobileapp/vue/domstructure/ui/basic/button/button.js.map +1 -1
  44. package/lib/mobileapp/vue/domstructure/ui/basic/image/image.js +5 -21
  45. package/lib/mobileapp/vue/domstructure/ui/basic/image/image.js.map +1 -1
  46. package/lib/mobileapp/vue/domstructure/ui/basic/index.js +0 -3
  47. package/lib/mobileapp/vue/domstructure/ui/basic/index.js.map +1 -1
  48. package/lib/mobileapp/vue/domstructure/ui/basic/nav-bar/vue-nav-bar.js +7 -21
  49. package/lib/mobileapp/vue/domstructure/ui/basic/nav-bar/vue-nav-bar.js.map +1 -1
  50. package/lib/mobileapp/vue/domstructure/ui/basic/search/search.js +2 -12
  51. package/lib/mobileapp/vue/domstructure/ui/basic/search/search.js.map +1 -1
  52. package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar-item.js +7 -4
  53. package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar-item.js.map +1 -1
  54. package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar.js +7 -4
  55. package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar.js.map +1 -1
  56. package/lib/mobileapp/vue/domstructure/ui/basic/tab/vue-tab-bar.js +3 -22
  57. package/lib/mobileapp/vue/domstructure/ui/basic/tab/vue-tab-bar.js.map +1 -1
  58. package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-area.js +3 -31
  59. package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-area.js.map +1 -1
  60. package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-item.js +2 -15
  61. package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-item.js.map +1 -1
  62. package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar.js +7 -4
  63. package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar.js.map +1 -1
  64. package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-comments.js +2 -12
  65. package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-comments.js.map +1 -1
  66. package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-info.js +2 -14
  67. package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-info.js.map +1 -1
  68. package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-logs.js +2 -12
  69. package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-logs.js.map +1 -1
  70. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-entry.js +2 -2
  71. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-entry.js.map +1 -1
  72. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-file.js +2 -12
  73. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-file.js.map +1 -1
  74. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-uploader.js +2 -2
  75. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-uploader.js.map +1 -1
  76. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment.js +2 -2
  77. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment.js.map +1 -1
  78. package/lib/mobileapp/vue/domstructure/ui/business/attachment/image-uploader.js +2 -2
  79. package/lib/mobileapp/vue/domstructure/ui/business/attachment/image-uploader.js.map +1 -1
  80. package/lib/mobileapp/vue/domstructure/ui/business/filter/filter.js +2 -53
  81. package/lib/mobileapp/vue/domstructure/ui/business/filter/filter.js.map +1 -1
  82. package/lib/mobileapp/vue/domstructure/ui/business/scroll-navbar.js +2 -26
  83. package/lib/mobileapp/vue/domstructure/ui/business/scroll-navbar.js.map +1 -1
  84. package/lib/mobileapp/vue/domstructure/ui/common/vue-position.js +5 -2
  85. package/lib/mobileapp/vue/domstructure/ui/common/vue-position.js.map +1 -1
  86. package/lib/mobileapp/vue/domstructure/ui/common/vue-toolbar.js +1 -5
  87. package/lib/mobileapp/vue/domstructure/ui/common/vue-toolbar.js.map +1 -1
  88. package/lib/mobileapp/vue/domstructure/ui/container/card.js +2 -32
  89. package/lib/mobileapp/vue/domstructure/ui/container/card.js.map +1 -1
  90. package/lib/mobileapp/vue/domstructure/ui/container/field-set.js +2 -12
  91. package/lib/mobileapp/vue/domstructure/ui/container/field-set.js.map +1 -1
  92. package/lib/mobileapp/vue/domstructure/ui/container/index.js +0 -4
  93. package/lib/mobileapp/vue/domstructure/ui/container/index.js.map +1 -1
  94. package/lib/mobileapp/vue/domstructure/ui/container/vue-container.js +7 -13
  95. package/lib/mobileapp/vue/domstructure/ui/container/vue-container.js.map +1 -1
  96. package/lib/mobileapp/vue/domstructure/ui/container/vue-content-container.js +8 -2
  97. package/lib/mobileapp/vue/domstructure/ui/container/vue-content-container.js.map +1 -1
  98. package/lib/mobileapp/vue/domstructure/ui/container/vue-float-container.js +8 -2
  99. package/lib/mobileapp/vue/domstructure/ui/container/vue-float-container.js.map +1 -1
  100. package/lib/mobileapp/vue/domstructure/ui/container/vue-form.js +2 -2
  101. package/lib/mobileapp/vue/domstructure/ui/container/vue-form.js.map +1 -1
  102. package/lib/mobileapp/vue/domstructure/ui/container/vue-item-container.js +7 -4
  103. package/lib/mobileapp/vue/domstructure/ui/container/vue-item-container.js.map +1 -1
  104. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-container.js +2 -2
  105. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-container.js.map +1 -1
  106. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-content-container.js +2 -2
  107. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-content-container.js.map +1 -1
  108. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-footer-container.js +2 -2
  109. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-footer-container.js.map +1 -1
  110. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-header-container.js +2 -2
  111. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-header-container.js.map +1 -1
  112. package/lib/mobileapp/vue/domstructure/ui/container/vue-section.js +7 -14
  113. package/lib/mobileapp/vue/domstructure/ui/container/vue-section.js.map +1 -1
  114. package/lib/mobileapp/vue/domstructure/ui/container/vue-tab-page.js +2 -12
  115. package/lib/mobileapp/vue/domstructure/ui/container/vue-tab-page.js.map +1 -1
  116. package/lib/mobileapp/vue/domstructure/ui/container/vue-tabs.js +2 -2
  117. package/lib/mobileapp/vue/domstructure/ui/container/vue-tabs.js.map +1 -1
  118. package/lib/mobileapp/vue/domstructure/ui/display/banner/vue-banner.js +2 -2
  119. package/lib/mobileapp/vue/domstructure/ui/display/banner/vue-banner.js.map +1 -1
  120. package/lib/mobileapp/vue/domstructure/ui/display/calendar/calendar.js +2 -2
  121. package/lib/mobileapp/vue/domstructure/ui/display/calendar/calendar.js.map +1 -1
  122. package/lib/mobileapp/vue/domstructure/ui/display/calendar/schedule.js +3 -32
  123. package/lib/mobileapp/vue/domstructure/ui/display/calendar/schedule.js.map +1 -1
  124. package/lib/mobileapp/vue/domstructure/ui/display/html-template/html-template.js +2 -2
  125. package/lib/mobileapp/vue/domstructure/ui/display/html-template/html-template.js.map +1 -1
  126. package/lib/mobileapp/vue/domstructure/ui/display/index.js +0 -2
  127. package/lib/mobileapp/vue/domstructure/ui/display/index.js.map +1 -1
  128. package/lib/mobileapp/vue/domstructure/ui/display/list-view/vue-list-view.js +7 -37
  129. package/lib/mobileapp/vue/domstructure/ui/display/list-view/vue-list-view.js.map +1 -1
  130. package/lib/mobileapp/vue/domstructure/ui/display/staff-info/staff-info.js +2 -12
  131. package/lib/mobileapp/vue/domstructure/ui/display/staff-info/staff-info.js.map +1 -1
  132. package/lib/mobileapp/vue/domstructure/ui/display/static-text/static-text.js +2 -2
  133. package/lib/mobileapp/vue/domstructure/ui/display/static-text/static-text.js.map +1 -1
  134. package/lib/mobileapp/vue/domstructure/ui/input/area-picker.js +2 -2
  135. package/lib/mobileapp/vue/domstructure/ui/input/area-picker.js.map +1 -1
  136. package/lib/mobileapp/vue/domstructure/ui/input/calendar-input.js +2 -2
  137. package/lib/mobileapp/vue/domstructure/ui/input/calendar-input.js.map +1 -1
  138. package/lib/mobileapp/vue/domstructure/ui/input/checkbox-group.js +2 -20
  139. package/lib/mobileapp/vue/domstructure/ui/input/checkbox-group.js.map +1 -1
  140. package/lib/mobileapp/vue/domstructure/ui/input/common.js +2 -16
  141. package/lib/mobileapp/vue/domstructure/ui/input/common.js.map +1 -1
  142. package/lib/mobileapp/vue/domstructure/ui/input/custom-box.js +2 -2
  143. package/lib/mobileapp/vue/domstructure/ui/input/custom-box.js.map +1 -1
  144. package/lib/mobileapp/vue/domstructure/ui/input/date-picker.js +2 -2
  145. package/lib/mobileapp/vue/domstructure/ui/input/date-picker.js.map +1 -1
  146. package/lib/mobileapp/vue/domstructure/ui/input/html-preview.js +2 -2
  147. package/lib/mobileapp/vue/domstructure/ui/input/html-preview.js.map +1 -1
  148. package/lib/mobileapp/vue/domstructure/ui/input/lookup-department.js +2 -2
  149. package/lib/mobileapp/vue/domstructure/ui/input/lookup-department.js.map +1 -1
  150. package/lib/mobileapp/vue/domstructure/ui/input/lookup-employee.js +2 -2
  151. package/lib/mobileapp/vue/domstructure/ui/input/lookup-employee.js.map +1 -1
  152. package/lib/mobileapp/vue/domstructure/ui/input/lookup-input.js +2 -2
  153. package/lib/mobileapp/vue/domstructure/ui/input/lookup-input.js.map +1 -1
  154. package/lib/mobileapp/vue/domstructure/ui/input/number.js +3 -14
  155. package/lib/mobileapp/vue/domstructure/ui/input/number.js.map +1 -1
  156. package/lib/mobileapp/vue/domstructure/ui/input/picker-relation.js +2 -2
  157. package/lib/mobileapp/vue/domstructure/ui/input/picker-relation.js.map +1 -1
  158. package/lib/mobileapp/vue/domstructure/ui/input/picker.js +2 -20
  159. package/lib/mobileapp/vue/domstructure/ui/input/picker.js.map +1 -1
  160. package/lib/mobileapp/vue/domstructure/ui/input/radio-group.js +2 -20
  161. package/lib/mobileapp/vue/domstructure/ui/input/radio-group.js.map +1 -1
  162. package/lib/mobileapp/vue/domstructure/ui/input/rich-text-editor.js +2 -2
  163. package/lib/mobileapp/vue/domstructure/ui/input/rich-text-editor.js.map +1 -1
  164. package/lib/mobileapp/vue/domstructure/ui/input/switch-input.js +2 -2
  165. package/lib/mobileapp/vue/domstructure/ui/input/switch-input.js.map +1 -1
  166. package/lib/mobileapp/vue/domstructure/ui/input/text-area.js +2 -2
  167. package/lib/mobileapp/vue/domstructure/ui/input/text-area.js.map +1 -1
  168. package/lib/mobileapp/vue/domstructure/ui/input/text-box-external.js +2 -2
  169. package/lib/mobileapp/vue/domstructure/ui/input/text-box-external.js.map +1 -1
  170. package/lib/mobileapp/vue/domstructure/ui/input/text-box.js +2 -3
  171. package/lib/mobileapp/vue/domstructure/ui/input/text-box.js.map +1 -1
  172. package/lib/mobileapp/vue/domstructure/ui/input/text-scan.js +2 -2
  173. package/lib/mobileapp/vue/domstructure/ui/input/text-scan.js.map +1 -1
  174. package/lib/mobileapp/vue/domstructure/ui/input/text-telphone.js +2 -2
  175. package/lib/mobileapp/vue/domstructure/ui/input/text-telphone.js.map +1 -1
  176. package/lib/mobileapp/vue/domstructure/ui/vue-base-component.js +2 -37
  177. package/lib/mobileapp/vue/domstructure/ui/vue-base-component.js.map +1 -1
  178. package/lib/mobileapp/vue/jit-engine-executor/mobile-vue-engine-executor.js.map +1 -1
  179. package/lib/mobileapp/vue/pug-template/config/ui-template-config.js +1 -19
  180. package/lib/mobileapp/vue/pug-template/config/ui-template-config.js.map +1 -1
  181. package/lib/mobileapp/vue/static/.editorconfig +9 -9
  182. package/lib/mobileapp/vue/static/.npmignore +13 -0
  183. package/lib/mobileapp/vue/static/.prettierrc +6 -6
  184. package/lib/mobileapp/vue/static/README.md +18 -18
  185. package/lib/mobileapp/vue/static/babel.config.js +13 -13
  186. package/lib/mobileapp/vue/static/src/main.ts +9 -9
  187. package/lib/mobileapp/vue/static/src/shims-vue.d.ts +32 -32
  188. package/lib/mobileapp/vue/static/tsconfig.json +20 -20
  189. package/lib/mobileapp/vue/task/vue-recursiveGenerateDevkit.js +4 -24
  190. package/lib/mobileapp/vue/task/vue-recursiveGenerateDevkit.js.map +1 -1
  191. package/lib/mobileapp/vue/utility/devkit/form-file-executor.js +1 -4
  192. package/lib/mobileapp/vue/utility/devkit/form-file-executor.js.map +1 -1
  193. package/lib/mobileapp/vue/utility/devkit/vue-component-creator.js +10 -10
  194. package/lib/mobileapp/vue/utility/devkit/vue-component-creator.js.map +1 -1
  195. package/lib/mobileapp/vue/utility/devkit/vue-viewmodels-creator.js +2 -2
  196. package/lib/mobileapp/vue/utility/devkit/vue-viewmodels-creator.js.map +1 -1
  197. package/lib/mobileapp/vue/utility/index.js +0 -1
  198. package/lib/mobileapp/vue/utility/index.js.map +1 -1
  199. package/lib/mobileapp/vue/utility/parameter-collector/page-component-collector/page-component-ref-parameter.js +2 -2
  200. package/lib/mobileapp/vue/utility/template-generator/page-component-control-generator.js +2 -2
  201. package/lib/mobileapp/vue/utility/template-generator/page-component-ref-generator.js +1 -1
  202. package/lib/mobileapp/vue/utility/template-generator/page-statemachine-generator.js +21 -21
  203. package/lib/mobileapp/vue/utility/vue-content-type-creator.js +0 -9
  204. package/lib/mobileapp/vue/utility/vue-content-type-creator.js.map +1 -1
  205. package/lib/mobileapp/vue/utility/vue-object-creator.js +0 -22
  206. package/lib/mobileapp/vue/utility/vue-object-creator.js.map +1 -1
  207. package/lib/task/recursiveGenerateDevkit.js +471 -471
  208. package/lib/task/recursiveGenerateDevkit.js.map +1 -1
  209. package/lib/template/ui/mobileapprove/statictext-for-mobileapprove.pug +13 -16
  210. package/lib/template/ui/mobilevue/action-bar.pug +10 -10
  211. package/lib/template/ui/mobilevue/approval-comments.pug +1 -1
  212. package/lib/template/ui/mobilevue/approval-info.pug +3 -3
  213. package/lib/template/ui/mobilevue/approval-logs.pug +1 -1
  214. package/lib/template/ui/mobilevue/area-picker.pug +3 -4
  215. package/lib/template/ui/mobilevue/attachment-file.pug +1 -1
  216. package/lib/template/ui/mobilevue/banner.pug +4 -4
  217. package/lib/template/ui/mobilevue/button.pug +1 -1
  218. package/lib/template/ui/mobilevue/calendar-input.pug +3 -4
  219. package/lib/template/ui/mobilevue/card.pug +2 -2
  220. package/lib/template/ui/mobilevue/checkbox-group.pug +3 -3
  221. package/lib/template/ui/mobilevue/component-ref.pug +3 -3
  222. package/lib/template/ui/mobilevue/custom-box.pug +3 -5
  223. package/lib/template/ui/mobilevue/date-time-picker.pug +3 -5
  224. package/lib/template/ui/mobilevue/field-set.pug +2 -3
  225. package/lib/template/ui/mobilevue/filter.pug +2 -2
  226. package/lib/template/ui/mobilevue/html-preview.pug +1 -1
  227. package/lib/template/ui/mobilevue/image-uploader.pug +15 -15
  228. package/lib/template/ui/mobilevue/image.pug +9 -19
  229. package/lib/template/ui/mobilevue/list-view.pug +7 -8
  230. package/lib/template/ui/mobilevue/lookup-department.pug +3 -5
  231. package/lib/template/ui/mobilevue/lookup-employee.pug +4 -4
  232. package/lib/template/ui/mobilevue/lookup-input.pug +3 -5
  233. package/lib/template/ui/mobilevue/nav-bar.pug +1 -1
  234. package/lib/template/ui/mobilevue/number.pug +5 -8
  235. package/lib/template/ui/mobilevue/picker-relation.pug +2 -4
  236. package/lib/template/ui/mobilevue/picker.pug +4 -4
  237. package/lib/template/ui/mobilevue/radio-group.pug +3 -3
  238. package/lib/template/ui/mobilevue/rich-text-editor.pug +5 -7
  239. package/lib/template/ui/mobilevue/schedule.pug +1 -1
  240. package/lib/template/ui/mobilevue/scroll-navbar.pug +1 -1
  241. package/lib/template/ui/mobilevue/search.pug +1 -1
  242. package/lib/template/ui/mobilevue/section.pug +1 -1
  243. package/lib/template/ui/mobilevue/sidebar-item.pug +9 -9
  244. package/lib/template/ui/mobilevue/sidebar.pug +11 -11
  245. package/lib/template/ui/mobilevue/staff-info.pug +1 -1
  246. package/lib/template/ui/mobilevue/static-text.pug +1 -1
  247. package/lib/template/ui/mobilevue/steps.pug +8 -8
  248. package/lib/template/ui/mobilevue/switch.pug +3 -4
  249. package/lib/template/ui/mobilevue/tab-bar.pug +1 -2
  250. package/lib/template/ui/mobilevue/tabpage.pug +3 -1
  251. package/lib/template/ui/mobilevue/text-area.pug +3 -4
  252. package/lib/template/ui/mobilevue/text-box-external.pug +3 -5
  253. package/lib/template/ui/mobilevue/text-box.pug +5 -11
  254. package/lib/template/ui/mobilevue/text-scan.pug +3 -5
  255. package/lib/template/ui/mobilevue/text-telphone.pug +2 -4
  256. package/lib/template/ui/mobilevue/toolbar-area.pug +1 -1
  257. package/lib/template/ui/mobilevue/toolbar-item.pug +1 -1
  258. package/lib/template/ui/mobilevue/toolbar.pug +5 -5
  259. package/lib/utility/mobile-approve/entity/static-text-for-mobileapprove.js +1 -1
  260. package/lib/utility/mobile-approve/entity/static-text-for-mobileapprove.js.map +1 -1
  261. package/package.json +55 -55
  262. package/lib/command/check.js +0 -102
  263. package/lib/command/check.js.map +0 -1
  264. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/index.js +0 -16
  265. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/index.js.map +0 -1
  266. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-base-context.js +0 -24
  267. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-base-context.js.map +0 -1
  268. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-component-context.js +0 -16
  269. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-component-context.js.map +0 -1
  270. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-module-context.js +0 -15
  271. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-module-context.js.map +0 -1
  272. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-ui-node-context.js +0 -33
  273. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-ui-node-context.js.map +0 -1
  274. package/lib/mobileapp/vue/domstructure/ui/basic/icon/icon.js +0 -42
  275. package/lib/mobileapp/vue/domstructure/ui/basic/icon/icon.js.map +0 -1
  276. package/lib/mobileapp/vue/domstructure/ui/basic/icon/index.js +0 -14
  277. package/lib/mobileapp/vue/domstructure/ui/basic/icon/index.js.map +0 -1
  278. package/lib/mobileapp/vue/domstructure/ui/basic/label/index.js +0 -14
  279. package/lib/mobileapp/vue/domstructure/ui/basic/label/index.js.map +0 -1
  280. package/lib/mobileapp/vue/domstructure/ui/basic/label/label.js +0 -35
  281. package/lib/mobileapp/vue/domstructure/ui/basic/label/label.js.map +0 -1
  282. package/lib/mobileapp/vue/domstructure/ui/basic/tag/index.js +0 -14
  283. package/lib/mobileapp/vue/domstructure/ui/basic/tag/index.js.map +0 -1
  284. package/lib/mobileapp/vue/domstructure/ui/basic/tag/tag.js +0 -42
  285. package/lib/mobileapp/vue/domstructure/ui/basic/tag/tag.js.map +0 -1
  286. package/lib/mobileapp/vue/domstructure/ui/common/vue-background.js +0 -38
  287. package/lib/mobileapp/vue/domstructure/ui/common/vue-background.js.map +0 -1
  288. package/lib/mobileapp/vue/domstructure/ui/common/vue-border-radius.js +0 -29
  289. package/lib/mobileapp/vue/domstructure/ui/common/vue-border-radius.js.map +0 -1
  290. package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-col.js +0 -27
  291. package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-col.js.map +0 -1
  292. package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-row.js +0 -27
  293. package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-row.js.map +0 -1
  294. package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container.js +0 -27
  295. package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container.js.map +0 -1
  296. package/lib/mobileapp/vue/domstructure/ui/container/vue-template-container.js +0 -28
  297. package/lib/mobileapp/vue/domstructure/ui/container/vue-template-container.js.map +0 -1
  298. package/lib/mobileapp/vue/domstructure/ui/display/avatar/avatar.js +0 -57
  299. package/lib/mobileapp/vue/domstructure/ui/display/avatar/avatar.js.map +0 -1
  300. package/lib/mobileapp/vue/domstructure/ui/display/avatar/index.js +0 -14
  301. package/lib/mobileapp/vue/domstructure/ui/display/avatar/index.js.map +0 -1
  302. package/lib/mobileapp/vue/domstructure/ui/display/text/index.js +0 -14
  303. package/lib/mobileapp/vue/domstructure/ui/display/text/index.js.map +0 -1
  304. package/lib/mobileapp/vue/domstructure/ui/display/text/vue-text.js +0 -50
  305. package/lib/mobileapp/vue/domstructure/ui/display/text/vue-text.js.map +0 -1
  306. package/lib/mobileapp/vue/utility/i18n/i18n-resource-manager.js +0 -121
  307. package/lib/mobileapp/vue/utility/i18n/i18n-resource-manager.js.map +0 -1
  308. package/lib/mobileapp/vue/utility/i18n/index.js +0 -14
  309. package/lib/mobileapp/vue/utility/i18n/index.js.map +0 -1
  310. package/lib/template/ui/mobilevue/avatar.pug +0 -19
  311. package/lib/template/ui/mobilevue/icon.pug +0 -12
  312. package/lib/template/ui/mobilevue/label.pug +0 -12
  313. package/lib/template/ui/mobilevue/layout-container-col.pug +0 -11
  314. package/lib/template/ui/mobilevue/layout-container-row.pug +0 -12
  315. package/lib/template/ui/mobilevue/layout-container.pug +0 -11
  316. package/lib/template/ui/mobilevue/tag.pug +0 -33
  317. package/lib/template/ui/mobilevue/text.pug +0 -105
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VueLayoutContainerCol = void 0;
4
- const vue_container_1 = require("./vue-container");
5
- class VueLayoutContainerCol extends vue_container_1.VueContainer {
6
- constructor(param, context) {
7
- super(param, context);
8
- let obj;
9
- if (typeof param === 'string') {
10
- obj = JSON.parse(param);
11
- }
12
- else {
13
- obj = param;
14
- }
15
- if (!obj) {
16
- return;
17
- }
18
- const keys = 'colWidth';
19
- Object.keys(obj).forEach(key => {
20
- if (keys.includes(key)) {
21
- this[key] = obj[key];
22
- }
23
- });
24
- }
25
- }
26
- exports.VueLayoutContainerCol = VueLayoutContainerCol;
27
- //# sourceMappingURL=vue-layout-container-col.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vue-layout-container-col.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/container/vue-layout-container-col.ts"],"names":[],"mappings":";;;AAAA,mDAA+C;AAG/C,MAAa,qBAAsB,SAAQ,4BAAY;IAGnD,YAAY,KAAmB,EAAE,OAAyB;QACtD,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QAEtB,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QACD,MAAM,IAAI,GAAG,UAAU,CAAC;QACxB,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;aACxB;QACL,CAAC,CAAC,CAAC;IAEP,CAAC;CACJ;AAxBD,sDAwBC"}
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VueLayoutContainerRow = void 0;
4
- const vue_container_1 = require("./vue-container");
5
- class VueLayoutContainerRow extends vue_container_1.VueContainer {
6
- constructor(param, context) {
7
- super(param, context);
8
- let obj;
9
- if (typeof param === 'string') {
10
- obj = JSON.parse(param);
11
- }
12
- else {
13
- obj = param;
14
- }
15
- if (!obj) {
16
- return;
17
- }
18
- const keys = 'gutter, rowHeight';
19
- Object.keys(obj).forEach(key => {
20
- if (keys.includes(key)) {
21
- this[key] = obj[key];
22
- }
23
- });
24
- }
25
- }
26
- exports.VueLayoutContainerRow = VueLayoutContainerRow;
27
- //# sourceMappingURL=vue-layout-container-row.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vue-layout-container-row.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/container/vue-layout-container-row.ts"],"names":[],"mappings":";;;AAAA,mDAA+C;AAG/C,MAAa,qBAAsB,SAAQ,4BAAY;IAGnD,YAAY,KAAmB,EAAE,OAAyB;QACtD,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QAEtB,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QACD,MAAM,IAAI,GAAG,mBAAmB,CAAC;QACjC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;aACxB;QACL,CAAC,CAAC,CAAC;IACP,CAAC;CACJ;AAvBD,sDAuBC"}
@@ -1,27 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VueLayoutContainer = void 0;
4
- const vue_container_1 = require("./vue-container");
5
- class VueLayoutContainer extends vue_container_1.VueContainer {
6
- constructor(param, context) {
7
- super(param, context);
8
- let obj;
9
- if (typeof param === 'string') {
10
- obj = JSON.parse(param);
11
- }
12
- else {
13
- obj = param;
14
- }
15
- if (!obj) {
16
- return;
17
- }
18
- const keys = 'gutter';
19
- Object.keys(obj).forEach(key => {
20
- if (keys.includes(key)) {
21
- this[key] = obj[key];
22
- }
23
- });
24
- }
25
- }
26
- exports.VueLayoutContainer = VueLayoutContainer;
27
- //# sourceMappingURL=vue-layout-container.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vue-layout-container.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/container/vue-layout-container.ts"],"names":[],"mappings":";;;AAAA,mDAA+C;AAG/C,MAAa,kBAAmB,SAAQ,4BAAY;IAGhD,YAAY,KAAmB,EAAE,OAAyB;QACtD,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QAEtB,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QACD,MAAM,IAAI,GAAG,QAAQ,CAAC;QACtB,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;aACxB;QACL,CAAC,CAAC,CAAC;IAEP,CAAC;CACJ;AAxBD,gDAwBC"}
@@ -1,28 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VueTemplateContainer = void 0;
4
- const vue_container_1 = require("./vue-container");
5
- class VueTemplateContainer extends vue_container_1.VueContainer {
6
- constructor(param, context) {
7
- super(param, context);
8
- let obj;
9
- if (typeof param === 'string') {
10
- obj = JSON.parse(param);
11
- }
12
- else {
13
- obj = param;
14
- }
15
- if (!obj) {
16
- return;
17
- }
18
- const keys = 'title,fill,mode,html';
19
- Object.keys(obj).forEach(key => {
20
- if (keys.includes(key)) {
21
- this[key] = obj[key];
22
- }
23
- });
24
- this.fill && this.addClass('flex-fill');
25
- }
26
- }
27
- exports.VueTemplateContainer = VueTemplateContainer;
28
- //# sourceMappingURL=vue-template-container.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vue-template-container.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/container/vue-template-container.ts"],"names":[],"mappings":";;;AAAA,mDAA+C;AAG/C,MAAa,oBAAqB,SAAQ,4BAAY;IAIlD,YAAY,KAAmB,EAAE,OAAyB;QACtD,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QAEtB,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QAED,MAAM,IAAI,GAAG,sBAAsB,CAAC;QACpC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;aACxB;QACL,CAAC,CAAC,CAAC;QAEH,IAAI,CAAC,IAAI,IAAI,IAAI,CAAC,QAAQ,CAAC,WAAW,CAAC,CAAA;IAC3C,CAAC;CACJ;AA3BD,oDA2BC"}
@@ -1,57 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VueAvatar = void 0;
4
- const vue_base_component_1 = require("../../vue-base-component");
5
- class VueAvatar extends vue_base_component_1.VueBaseComponent {
6
- constructor(param, context) {
7
- var _a;
8
- super(param, context);
9
- let obj;
10
- if (typeof param === 'string') {
11
- obj = JSON.parse(param);
12
- }
13
- else {
14
- obj = param;
15
- }
16
- if (!obj) {
17
- return;
18
- }
19
- const keys = `id,fit,border,srcMode,sysUserId,dynamicSrc,attachId,rootId,avatarText,width,height`;
20
- Object.keys(obj).forEach((key) => {
21
- if (keys.includes(key)) {
22
- switch (key) {
23
- case 'sysUserId':
24
- this.sysUserId =
25
- obj.sysUserId && obj.sysUserId.bindingPath
26
- ? 'currentEntityData.' + obj.sysUserId.bindingPath
27
- : undefined;
28
- break;
29
- case 'attachId':
30
- this.attachId =
31
- obj.attachId && obj.attachId.bindingPath
32
- ? 'currentEntityData.' + obj.attachId.bindingPath
33
- : undefined;
34
- break;
35
- case 'dynamicSrc':
36
- this.dynamicSrc =
37
- obj.dynamicSrc && obj.dynamicSrc.bindingPath
38
- ? 'currentEntityData.' + obj.dynamicSrc.bindingPath
39
- : undefined;
40
- break;
41
- case 'avatarText':
42
- this.avatarText =
43
- obj.avatarText && obj.avatarText.bindingPath
44
- ? 'currentEntityData.' + obj.avatarText.bindingPath
45
- : undefined;
46
- break;
47
- default:
48
- this[key] = obj[key];
49
- break;
50
- }
51
- }
52
- });
53
- ((_a = this.margin) === null || _a === void 0 ? void 0 : _a.getStyle) && this.addStyle(this.margin.getStyle());
54
- }
55
- }
56
- exports.VueAvatar = VueAvatar;
57
- //# sourceMappingURL=avatar.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"avatar.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/display/avatar/avatar.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;AAG5D,MAAa,SAAU,SAAQ,qCAAgB;IAG7C,YAAY,KAAmB,EAAE,OAAyB;;QACxD,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QACtB,IAAI,GAAQ,CAAA;QACZ,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC7B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAA;SACxB;aAAM;YACL,GAAG,GAAG,KAAK,CAAA;SACZ;QAED,IAAI,CAAC,GAAG,EAAE;YACR,OAAM;SACP;QAED,MAAM,IAAI,GAAG,oFAAoF,CAAA;QACjG,MAAM,CAAC,IAAI,CAAC,G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IAEhE,CAAC;CACF;AAtDD,8BAsDC"}
@@ -1,14 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
- };
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./avatar"), exports);
14
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/display/avatar/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,2CAAyB"}
@@ -1,14 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
- };
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./vue-text"), exports);
14
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/display/text/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,6CAA2B"}
@@ -1,50 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VueText = void 0;
4
- const vue_base_component_1 = require("../../vue-base-component");
5
- class VueText extends vue_base_component_1.VueBaseComponent {
6
- constructor(param, context) {
7
- var _a, _b;
8
- super(param, context);
9
- let obj;
10
- if (typeof param === 'string') {
11
- obj = JSON.parse(param);
12
- }
13
- else {
14
- obj = param;
15
- }
16
- if (!obj) {
17
- return;
18
- }
19
- const keys = `demoText,textTheme,lineHeight,fontWeight,binding,displayType,wrapPosition,color,formatter,fontSize
20
- ,enableLabel,labelText,labelSize,labelFontSize,labelFontWeight,labelColor,labelWidth,click,textTheme`;
21
- Object.keys(obj).forEach(key => {
22
- if (keys.includes(key)) {
23
- if (key === 'formatter') {
24
- if (obj[key]) {
25
- for (const prop in obj[key]) {
26
- if (obj[key][prop] === null || obj[key][prop] === undefined || obj[key][prop] === '') {
27
- delete obj[key][prop];
28
- }
29
- }
30
- if (obj[key]['dateFormat']) {
31
- obj[key]['format'] = obj[key]['dateFormat'];
32
- delete obj[key]['dateFormat'];
33
- }
34
- if (obj[key]['thousand']) {
35
- obj[key]['thousand'] = ',';
36
- }
37
- }
38
- this[key] = obj[key];
39
- }
40
- else {
41
- this[key] = obj[key];
42
- }
43
- }
44
- });
45
- ((_a = this.padding) === null || _a === void 0 ? void 0 : _a.getStyle) && this.addStyle(this.padding.getStyle());
46
- ((_b = this.margin) === null || _b === void 0 ? void 0 : _b.getStyle) && this.addStyle(this.margin.getStyle());
47
- }
48
- }
49
- exports.VueText = VueText;
50
- //# sourceMappingURL=vue-text.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vue-text.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/display/text/vue-text.ts"],"names":[],"mappings":";;;AAAA,iEAA4D;AAG5D,MAAa,OAAQ,SAAQ,qCAAgB;IAiBzC,YAAY,KAAU,EAAE,OAAyB;;QAC7C,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QAEtB,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,K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AG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;iBACxB;aACJ;QACL,CAAC,CAAC,CAAC;QACH,CAAA,MAAA,IAAI,CAAC,OAAO,0CAAE,QAAQ,KAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,OAAO,CAAC,QAAQ,EAAE,CAAC,CAAA;QAChE,CAAA,MAAA,IAAI,CAAC,MAAM,0CAAE,QAAQ,KAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,MAAM,CAAC,QAAQ,EAAE,CAAC,CAAA;IAClE,CAAC;CACJ;AA7DD,0BA6DC"}
@@ -1,121 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.I18nResourceManager = void 0;
4
- const build_file_version_constants_1 = require("../../../../utility/build-file-version/build-file-version-constants");
5
- const build_file_version_manager_1 = require("../../../../utility/build-file-version/build-file-version-manager");
6
- const directory_file_helper_1 = require("../../../../utility/directory-file-helper");
7
- const logger_helper_1 = require("../../../../utility/logger/logger-helper");
8
- const toolhepler_1 = require("../../../../utility/toolhepler");
9
- class I18nResourceManager {
10
- static generateI18nResourceId(id, prefix) {
11
- if (prefix) {
12
- return prefix + "/" + id;
13
- }
14
- return id;
15
- }
16
- static generateI18nResourceIdWithoutPrefix(id) {
17
- return this.generateI18nResourceId(id, null);
18
- }
19
- static wrapStringWithSingleQuotes(str) {
20
- if (!str) {
21
- return str;
22
- }
23
- return `'${str}'`;
24
- }
25
- static generateSimpleAttrI18nVal(component, attrName, prefix) {
26
- const componentType = component.type;
27
- const componentId = component.id;
28
- const attrVal = component[attrName];
29
- const i18nAttrResourceId = this.generateI18nResourceId(`${componentType}/${componentId}/${attrName}`, prefix);
30
- const i18nAttrVal = `$transform('${i18nAttrResourceId}','${attrVal}')`;
31
- return i18nAttrVal;
32
- }
33
- static getI18nTitle(component, prefix) {
34
- const i18nTitle = this.generateSimpleAttrI18nVal(component, 'title', prefix);
35
- return i18nTitle;
36
- }
37
- static generateSimpleAttrI18nValWithoutType(component, attrName, componentId, prefix) {
38
- const attrVal = component[attrName];
39
- const i18nAttrResourceId = this.generateI18nResourceId(`${componentId}/${attrName}`, prefix);
40
- const i18nAttrVal = `$transform('${i18nAttrResourceId}','${attrVal}')`;
41
- return i18nAttrVal;
42
- }
43
- static generateEnumAttrI18nVal(component, item) {
44
- const componentType = component.type;
45
- const componentId = component.id;
46
- const attrName = item[component.textField];
47
- const attrVal = item[component.valueField];
48
- let attr = 'enumData';
49
- if (componentType === 'CheckGroup') {
50
- attr = 'items';
51
- }
52
- const i18nAttrResourceId = this.generateI18nResourceId(`${componentType}/${componentId}/${attr}/${attrVal}`, '');
53
- const i18nAttrVal = `$transform('${i18nAttrResourceId}','${attrName}')`;
54
- return i18nAttrVal;
55
- }
56
- static getI18nToolbarItemText(toolbarItem, prefix) {
57
- const componentId = toolbarItem.id;
58
- const i18nText = this.generateSimpleAttrI18nValWithoutType(toolbarItem, "text", componentId, prefix);
59
- return i18nText;
60
- }
61
- static getI18nTabbarItemTitle(toolbarItem, prefix) {
62
- const componentId = toolbarItem.name;
63
- const i18nText = this.generateSimpleAttrI18nValWithoutType(toolbarItem, "title", componentId, prefix);
64
- return i18nText;
65
- }
66
- static getI18nInputPlaceholder(input, prefix) {
67
- const i18nPlaceholder = this.generateSimpleAttrI18nVal(input, 'placeholder', prefix);
68
- return i18nPlaceholder;
69
- }
70
- static getI18nEnumField(input, item) {
71
- const i18nPlaceholder = this.generateEnumAttrI18nVal(input, item);
72
- return i18nPlaceholder;
73
- }
74
- static getI18nEventsTitle(input, item) {
75
- const i18nAttrResourceId = this.generateI18nResourceId(`${input.type}/${input.id}/events/${item.id}/title`, null);
76
- const i18nAttrVal = `$transform('${i18nAttrResourceId}','${item.title}')`;
77
- return i18nAttrVal;
78
- }
79
- static getI18nEventsContent(input, item) {
80
- const i18nAttrResourceId = this.generateI18nResourceId(`${input.type}/${input.id}/events/${item.id}/content`, null);
81
- const i18nAttrVal = `$transform('${i18nAttrResourceId}','${item.content}')`;
82
- return i18nAttrVal;
83
- }
84
- static getI18nQuerySchemeEnumValues(component, prefix) {
85
- const i18nAttrResourceId = this.generateI18nResourceId(`${component.value}`, prefix);
86
- const i18nAttrVal = `$transform('${i18nAttrResourceId}','${component.name}')`;
87
- return i18nAttrVal;
88
- }
89
- static getI18nuerySchemeName(fieldConfig, prefix) {
90
- const componentId = fieldConfig.id;
91
- const i18nText = this.generateSimpleAttrI18nValWithoutType(fieldConfig, "name", componentId, prefix);
92
- return i18nText;
93
- }
94
- static getI18nuerySchemePlaceholder(control, prefix) {
95
- const placeholder = control.placeholder;
96
- const i18nAttrVal = `$transform('${prefix}/placeholder','${placeholder}')`;
97
- return i18nAttrVal;
98
- }
99
- static copyI18nFolder(sourceBasePath, formModuleCode, targetBasePath, projectName) {
100
- const sourcePath = `${sourceBasePath}/i18n/${formModuleCode.toLowerCase()}/i18n`;
101
- let targetPath = `${targetBasePath}/src/assets/${formModuleCode.toLowerCase()}/i18n`;
102
- if (directory_file_helper_1.DirectoryFileHelper.isExists(sourcePath)) {
103
- directory_file_helper_1.DirectoryFileHelper.copyDir(sourcePath, targetPath, (error) => {
104
- logger_helper_1.LoggerHelper.log(`copy i18n folder failed, the path is ${sourcePath}, error message is ${error}`);
105
- });
106
- return;
107
- if (directory_file_helper_1.DirectoryFileHelper.isExists(targetPath)) {
108
- const files = directory_file_helper_1.DirectoryFileHelper.getFilesInDir(targetPath);
109
- if (toolhepler_1.ToolHelper.isArray(files, false)) {
110
- files.map((file) => {
111
- const fileContent = directory_file_helper_1.DirectoryFileHelper.readFile(toolhepler_1.ToolHelper.pathJoinAndnormalize(targetPath, file));
112
- const i18nVersionKey = `${formModuleCode.toLocaleLowerCase()}/${file}`;
113
- build_file_version_manager_1.BuildFileVersionManager.updateBuildFileVersionWithFileContent(build_file_version_constants_1.BuildFileVersionContants.I18nCategory, i18nVersionKey, fileContent);
114
- });
115
- }
116
- }
117
- }
118
- }
119
- }
120
- exports.I18nResourceManager = I18nResourceManager;
121
- //# sourceMappingURL=i18n-resource-manager.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"i18n-resource-manager.js","sourceRoot":"","sources":["../../../../../src/mobileapp/vue/utility/i18n/i18n-resource-manager.ts"],"names":[],"mappings":";;;AAAA,sHAA+G;AAC/G,kHAA4G;AAC5G,qFAAgF;AAChF,4EAAwE;AACxE,+DAA4D;AAQ5D,MAAa,mBAAmB;IAS5B,MAAM,CAAC,sBAAsB,CAAC,EAAU,EAAE,MAAe;QACrD,IAAI,MAAM,EAAE;YACR,OAAO,MAAM,GAAG,GAAG,GAAG,EAAE,CAAC;SAC5B;QACD,OAAO,EAAE,CAAC;IACd,CAAC;IASD,MAAM,CAAC,mCAAmC,CAAC,EAAU;QACjD,OAAO,IAAI,CAAC,sBAAsB,CAAC,EAAE,EAAE,IAAI,CAAC,CAAC;IACjD,CAAC;IAWD,MAAM,CAAC,0BAA0B,CAAC,GAAW;QACzC,IAAI,CAAC,GAAG,EAAE;YACN,OAAO,GAAG,CAAC;SACd;QAED,OAAO,IAAI,GAAG,GAAG,CAAC;IACtB,CAAC;IAKD,MAAM,CAAC,yBAAyB,CAAC,SAAc,EAAE,QAAgB,EAAE,MAAe;QAC9E,MAAM,aAAa,GAAG,SAAS,CAAC,IAAI,CAAC;QACrC,MAAM,WAAW,GAAG,SAAS,CAAC,EAAE,CAAC;QACjC,MAAM,OAAO,GAAG,SAAS,CAAC,QAAQ,CAAC,CAAC;QAEpC,MAAM,kBAAkB,GAAG,IAAI,CAAC,sBAAsB,CAAC,GAAG,aAAa,IAAI,WAAW,IAAI,QAAQ,EAAE,EAAE,MAAM,CAAC,CAAC;QAC9G,MAAM,WAAW,GAAG,eAAe,kBAAkB,MAAM,OAAO,IAAI,CAAC;QAEvE,OAAO,WAAW,CAAC;IACvB,CAAC;IAQD,MAAM,CAAC,YAAY,CAAC,SAAc,EAAE,MAAe;QAC/C,MAAM,SAAS,GAAG,IAAI,CAAC,yBAAyB,CAAC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ACtG,CAAC,CAAC,CAAC;YACH,OAAO;YAEP,IAAI,2CAAmB,CAAC,QAAQ,CAAC,UAAU,CAAC,EAAE;gBAC1C,MAAM,KAAK,GAAG,2CAAmB,CAAC,aAAa,CAAC,UAAU,CAAC,CAAC;gBAC5D,IAAI,uBAAU,CAAC,OAAO,CAAC,KAAK,EAAE,KAAK,CAAC,EAAE;oBAClC,KAAK,CAAC,GAAG,CAAC,CAAC,IAAY,EAAE,EAAE;wBACvB,MAAM,WAAW,GAAG,2CAAmB,CAAC,QAAQ,CAAC,uBAAU,CAAC,oBAAoB,CAAC,UAAU,EAAE,IAAI,CAAC,CAAC,CAAC;wBACpG,MAAM,cAAc,GAAG,GAAG,cAAc,CAAC,iBAAiB,EAAE,IAAI,IAAI,EAAE,CAAC;wBAEvE,oDAAuB,CAAC,qCAAqC,CAAC,uDAAwB,CAAC,YAAY,EAAE,cAAc,EAAE,WAAW,CAAC,CAAC;oBACtI,CAAC,CAAC,CAAC;iBACN;aACJ;SACJ;IACL,CAAC;CACJ;AA7PD,kDA6PC"}
@@ -1,14 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
- };
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./i18n-resource-manager"), exports);
14
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../src/mobileapp/vue/utility/i18n/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,0DAAwC"}
@@ -1,19 +0,0 @@
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
- div(
6
- v-if!=""+visible
7
- )
8
- fm-avatar(
9
- fit!=variable.fit?"" + variable.fit:undefined
10
- border!=variable.border?"" + variable.border:undefined
11
- srcMode!=variable.srcMode?"" + variable.srcMode:undefined
12
- :sysUserId!=variable.sysUserId?"" + variable.sysUserId:undefined
13
- :dynamicSrc!=variable.dynamicSrc?"" + variable.dynamicSrc:undefined
14
- :attachId!=variable.attachId?"" + variable.attachId:undefined
15
- rootId!=variable.rootId?"" + variable.rootId:undefined
16
- :avatarText !=variable.avatarText?"" + variable.avatarText:undefined
17
- width!=variable.width?"" + variable.width:undefined
18
- height!=variable.height?"" + variable.height:undefined
19
- )&attributes(attrs)
@@ -1,12 +0,0 @@
1
-
2
- -var attrs = {};
3
- -attrs.class = variable.appearance && variable.appearance.class;
4
- -attrs.style = variable.appearance && variable.appearance.style;
5
- - var visible = variable.visible ? String(variable.visible.value) : undefined;
6
-
7
-
8
- fm-icon(
9
- v-if=visible
10
- name=variable.iconName ? String(variable.iconName) : undefined
11
- @click=variable.click ? String(variable.click) : undefined
12
- )&attributes(attrs)
@@ -1,12 +0,0 @@
1
-
2
- -var attrs = {};
3
- -attrs.class = variable.appearance && variable.appearance.class;
4
- -attrs.style = variable.appearance && variable.appearance.style;
5
- - var visible = variable.visible ? String(variable.visible.value) : undefined;
6
-
7
-
8
- span(
9
- v-if=visible
10
- )&attributes(attrs)
11
- | !{variable.text}
12
-
@@ -1,11 +0,0 @@
1
- -var attrs = {};
2
- -attrs.class = variable.appearance && variable.appearance.class;
3
- -attrs.style = variable.appearance && variable.appearance.style;
4
- -var visible = variable.visible ? String(variable.visible.value) : 'false';
5
-
6
- fm-layout-column(
7
- v-if=visible
8
- id=variable.replacedId ? String(variable.replacedId) : undefined
9
- width=variable.colWidth ? String(variable.colWidth) : undefined
10
- )&attributes(attrs)
11
- | {{content}}
@@ -1,12 +0,0 @@
1
- -var attrs = {};
2
- -attrs.class = variable.appearance && variable.appearance.class;
3
- -attrs.style = variable.appearance && variable.appearance.style;
4
- -var visible = variable.visible ? String(variable.visible.value) : 'false';
5
-
6
- fm-layout-row(
7
- v-if=visible
8
- id=variable.replacedId ? String(variable.replacedId) : undefined
9
- height=variable.rowHeight ? String(variable.rowHeight) : undefined
10
- :gutter=variable.gutter ? String(variable.gutter) : undefined
11
- )&attributes(attrs)
12
- | {{content}}
@@ -1,11 +0,0 @@
1
- -var attrs = {};
2
- -attrs.class = variable.appearance && variable.appearance.class;
3
- -attrs.style = variable.appearance && variable.appearance.style;
4
- -var visible = variable.visible ? String(variable.visible.value) : 'false';
5
-
6
- fm-layout(
7
- v-if=visible
8
- id=variable.replacedId ? String(variable.replacedId) : undefined
9
- :gutter=variable.gutter ? String(variable.gutter) : undefined
10
- )&attributes(attrs)
11
- | {{content}}
@@ -1,33 +0,0 @@
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}