@farris/jit-engine 1.4.11 → 1.4.14

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 (304) hide show
  1. package/README.md +4 -0
  2. package/lib/mobileapp/vue/domstructure/ui/action-bar/action-bar.js +57 -0
  3. package/lib/mobileapp/vue/domstructure/ui/action-bar/action-bar.js.map +1 -0
  4. package/lib/mobileapp/vue/domstructure/ui/action-bar/index.js +14 -0
  5. package/lib/mobileapp/vue/domstructure/ui/action-bar/index.js.map +1 -0
  6. package/lib/mobileapp/vue/domstructure/ui/approval/approval-info.js +27 -0
  7. package/lib/mobileapp/vue/domstructure/ui/approval/approval-info.js.map +1 -0
  8. package/lib/mobileapp/vue/domstructure/ui/approval/approval-logs.js +46 -0
  9. package/lib/mobileapp/vue/domstructure/ui/approval/approval-logs.js.map +1 -0
  10. package/lib/mobileapp/vue/domstructure/ui/approval/index.js +15 -0
  11. package/lib/mobileapp/vue/domstructure/ui/approval/index.js.map +1 -0
  12. package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-entry.js +27 -0
  13. package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-entry.js.map +1 -0
  14. package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-file.js +29 -0
  15. package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-file.js.map +1 -0
  16. package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-uploader.js +27 -0
  17. package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-uploader.js.map +1 -0
  18. package/lib/mobileapp/vue/domstructure/ui/attachment/attachment.js +29 -0
  19. package/lib/mobileapp/vue/domstructure/ui/attachment/attachment.js.map +1 -0
  20. package/lib/mobileapp/vue/domstructure/ui/attachment/image-uploader.js +27 -0
  21. package/lib/mobileapp/vue/domstructure/ui/attachment/image-uploader.js.map +1 -0
  22. package/lib/mobileapp/vue/domstructure/ui/attachment/index.js +18 -0
  23. package/lib/mobileapp/vue/domstructure/ui/attachment/index.js.map +1 -0
  24. package/lib/mobileapp/vue/domstructure/ui/banner/index.js +14 -0
  25. package/lib/mobileapp/vue/domstructure/ui/banner/index.js.map +1 -0
  26. package/lib/mobileapp/vue/domstructure/ui/banner/vue-banner.js +27 -0
  27. package/lib/mobileapp/vue/domstructure/ui/banner/vue-banner.js.map +1 -0
  28. package/lib/mobileapp/vue/domstructure/ui/basic/label/index.js +14 -0
  29. package/lib/mobileapp/vue/domstructure/ui/basic/label/index.js.map +1 -0
  30. package/lib/mobileapp/vue/domstructure/ui/basic/label/label.js +35 -0
  31. package/lib/mobileapp/vue/domstructure/ui/basic/label/label.js.map +1 -0
  32. package/lib/mobileapp/vue/domstructure/ui/basic/tag/index.js +14 -0
  33. package/lib/mobileapp/vue/domstructure/ui/basic/tag/index.js.map +1 -0
  34. package/lib/mobileapp/vue/domstructure/ui/basic/tag/tag.js +42 -0
  35. package/lib/mobileapp/vue/domstructure/ui/basic/tag/tag.js.map +1 -0
  36. package/lib/mobileapp/vue/domstructure/ui/button/button.js +27 -0
  37. package/lib/mobileapp/vue/domstructure/ui/button/button.js.map +1 -0
  38. package/lib/mobileapp/vue/domstructure/ui/button/index.js +14 -0
  39. package/lib/mobileapp/vue/domstructure/ui/button/index.js.map +1 -0
  40. package/lib/mobileapp/vue/domstructure/ui/calendar/calendar-input.js +28 -0
  41. package/lib/mobileapp/vue/domstructure/ui/calendar/calendar-input.js.map +1 -0
  42. package/lib/mobileapp/vue/domstructure/ui/calendar/calendar.js +27 -0
  43. package/lib/mobileapp/vue/domstructure/ui/calendar/calendar.js.map +1 -0
  44. package/lib/mobileapp/vue/domstructure/ui/calendar/index.js +16 -0
  45. package/lib/mobileapp/vue/domstructure/ui/calendar/index.js.map +1 -0
  46. package/lib/mobileapp/vue/domstructure/ui/calendar/schedule.js +32 -0
  47. package/lib/mobileapp/vue/domstructure/ui/calendar/schedule.js.map +1 -0
  48. package/lib/mobileapp/vue/domstructure/ui/card/card.js +45 -0
  49. package/lib/mobileapp/vue/domstructure/ui/card/card.js.map +1 -0
  50. package/lib/mobileapp/vue/domstructure/ui/card/index.js +14 -0
  51. package/lib/mobileapp/vue/domstructure/ui/card/index.js.map +1 -0
  52. package/lib/mobileapp/vue/domstructure/ui/checkbox/checkbox-group.js +32 -0
  53. package/lib/mobileapp/vue/domstructure/ui/checkbox/checkbox-group.js.map +1 -0
  54. package/lib/mobileapp/vue/domstructure/ui/checkbox/index.js +14 -0
  55. package/lib/mobileapp/vue/domstructure/ui/checkbox/index.js.map +1 -0
  56. package/lib/mobileapp/vue/domstructure/ui/common/vue-background.js +38 -0
  57. package/lib/mobileapp/vue/domstructure/ui/common/vue-background.js.map +1 -0
  58. package/lib/mobileapp/vue/domstructure/ui/common/vue-border-radius.js +29 -0
  59. package/lib/mobileapp/vue/domstructure/ui/common/vue-border-radius.js.map +1 -0
  60. package/lib/mobileapp/vue/domstructure/ui/common/vue-visible.js +57 -0
  61. package/lib/mobileapp/vue/domstructure/ui/common/vue-visible.js.map +1 -0
  62. package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-col.js +27 -0
  63. package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-col.js.map +1 -0
  64. package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-row.js +27 -0
  65. package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-row.js.map +1 -0
  66. package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container.js +27 -0
  67. package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container.js.map +1 -0
  68. package/lib/mobileapp/vue/domstructure/ui/container/vue-template-container.js +28 -0
  69. package/lib/mobileapp/vue/domstructure/ui/container/vue-template-container.js.map +1 -0
  70. package/lib/mobileapp/vue/domstructure/ui/data/fields/form/display/index.js +14 -0
  71. package/lib/mobileapp/vue/domstructure/ui/data/fields/form/display/index.js.map +1 -0
  72. package/lib/mobileapp/vue/domstructure/ui/data/fields/form/display/vue-display-fiels.js +33 -0
  73. package/lib/mobileapp/vue/domstructure/ui/data/fields/form/display/vue-display-fiels.js.map +1 -0
  74. package/lib/mobileapp/vue/domstructure/ui/data/fields/form/index.js +15 -0
  75. package/lib/mobileapp/vue/domstructure/ui/data/fields/form/index.js.map +1 -0
  76. package/lib/mobileapp/vue/domstructure/ui/data/fields/form/vue-form-field.js +56 -0
  77. package/lib/mobileapp/vue/domstructure/ui/data/fields/form/vue-form-field.js.map +1 -0
  78. package/lib/mobileapp/vue/domstructure/ui/data/fields/index.js +14 -0
  79. package/lib/mobileapp/vue/domstructure/ui/data/fields/index.js.map +1 -0
  80. package/lib/mobileapp/vue/domstructure/ui/data/index.js +14 -0
  81. package/lib/mobileapp/vue/domstructure/ui/data/index.js.map +1 -0
  82. package/lib/mobileapp/vue/domstructure/ui/data/vue-data.js +38 -0
  83. package/lib/mobileapp/vue/domstructure/ui/data/vue-data.js.map +1 -0
  84. package/lib/mobileapp/vue/domstructure/ui/date-time-picker/date-picker.js +28 -0
  85. package/lib/mobileapp/vue/domstructure/ui/date-time-picker/date-picker.js.map +1 -0
  86. package/lib/mobileapp/vue/domstructure/ui/date-time-picker/index.js +14 -0
  87. package/lib/mobileapp/vue/domstructure/ui/date-time-picker/index.js.map +1 -0
  88. package/lib/mobileapp/vue/domstructure/ui/display/avatar/avatar.js +57 -0
  89. package/lib/mobileapp/vue/domstructure/ui/display/avatar/avatar.js.map +1 -0
  90. package/lib/mobileapp/vue/domstructure/ui/display/avatar/index.js +14 -0
  91. package/lib/mobileapp/vue/domstructure/ui/display/avatar/index.js.map +1 -0
  92. package/lib/mobileapp/vue/domstructure/ui/display/show-image/index.js +14 -0
  93. package/lib/mobileapp/vue/domstructure/ui/display/show-image/index.js.map +1 -0
  94. package/lib/mobileapp/vue/domstructure/ui/display/show-image/show-image.js +46 -0
  95. package/lib/mobileapp/vue/domstructure/ui/display/show-image/show-image.js.map +1 -0
  96. package/lib/mobileapp/vue/domstructure/ui/display/text/index.js +14 -0
  97. package/lib/mobileapp/vue/domstructure/ui/display/text/index.js.map +1 -0
  98. package/lib/mobileapp/vue/domstructure/ui/display/text/vue-text.js +47 -0
  99. package/lib/mobileapp/vue/domstructure/ui/display/text/vue-text.js.map +1 -0
  100. package/lib/mobileapp/vue/domstructure/ui/field-set/field-set.js +42 -0
  101. package/lib/mobileapp/vue/domstructure/ui/field-set/field-set.js.map +1 -0
  102. package/lib/mobileapp/vue/domstructure/ui/field-set/index.js +14 -0
  103. package/lib/mobileapp/vue/domstructure/ui/field-set/index.js.map +1 -0
  104. package/lib/mobileapp/vue/domstructure/ui/filter/filter.js +41 -0
  105. package/lib/mobileapp/vue/domstructure/ui/filter/filter.js.map +1 -0
  106. package/lib/mobileapp/vue/domstructure/ui/filter/index.js +14 -0
  107. package/lib/mobileapp/vue/domstructure/ui/filter/index.js.map +1 -0
  108. package/lib/mobileapp/vue/domstructure/ui/footer/footer.js +42 -0
  109. package/lib/mobileapp/vue/domstructure/ui/footer/footer.js.map +1 -0
  110. package/lib/mobileapp/vue/domstructure/ui/footer/index.js +14 -0
  111. package/lib/mobileapp/vue/domstructure/ui/footer/index.js.map +1 -0
  112. package/lib/mobileapp/vue/domstructure/ui/html-preview/html-preview.js +27 -0
  113. package/lib/mobileapp/vue/domstructure/ui/html-preview/html-preview.js.map +1 -0
  114. package/lib/mobileapp/vue/domstructure/ui/html-preview/index.js +14 -0
  115. package/lib/mobileapp/vue/domstructure/ui/html-preview/index.js.map +1 -0
  116. package/lib/mobileapp/vue/domstructure/ui/html-template/html-template.js +27 -0
  117. package/lib/mobileapp/vue/domstructure/ui/html-template/html-template.js.map +1 -0
  118. package/lib/mobileapp/vue/domstructure/ui/html-template/index.js +14 -0
  119. package/lib/mobileapp/vue/domstructure/ui/html-template/index.js.map +1 -0
  120. package/lib/mobileapp/vue/domstructure/ui/image/image.js +27 -0
  121. package/lib/mobileapp/vue/domstructure/ui/image/image.js.map +1 -0
  122. package/lib/mobileapp/vue/domstructure/ui/image/index.js +14 -0
  123. package/lib/mobileapp/vue/domstructure/ui/image/index.js.map +1 -0
  124. package/lib/mobileapp/vue/domstructure/ui/list-view/index.js +14 -0
  125. package/lib/mobileapp/vue/domstructure/ui/list-view/index.js.map +1 -0
  126. package/lib/mobileapp/vue/domstructure/ui/list-view/vue-list-view.js +39 -0
  127. package/lib/mobileapp/vue/domstructure/ui/list-view/vue-list-view.js.map +1 -0
  128. package/lib/mobileapp/vue/domstructure/ui/lookup/index.js +16 -0
  129. package/lib/mobileapp/vue/domstructure/ui/lookup/index.js.map +1 -0
  130. package/lib/mobileapp/vue/domstructure/ui/lookup/lookup-department.js +27 -0
  131. package/lib/mobileapp/vue/domstructure/ui/lookup/lookup-department.js.map +1 -0
  132. package/lib/mobileapp/vue/domstructure/ui/lookup/lookup-employee.js +27 -0
  133. package/lib/mobileapp/vue/domstructure/ui/lookup/lookup-employee.js.map +1 -0
  134. package/lib/mobileapp/vue/domstructure/ui/lookup/lookup-input.js +33 -0
  135. package/lib/mobileapp/vue/domstructure/ui/lookup/lookup-input.js.map +1 -0
  136. package/lib/mobileapp/vue/domstructure/ui/nav-bar/index.js +14 -0
  137. package/lib/mobileapp/vue/domstructure/ui/nav-bar/index.js.map +1 -0
  138. package/lib/mobileapp/vue/domstructure/ui/nav-bar/vue-nav-bar.js +45 -0
  139. package/lib/mobileapp/vue/domstructure/ui/nav-bar/vue-nav-bar.js.map +1 -0
  140. package/lib/mobileapp/vue/domstructure/ui/number/index.js +14 -0
  141. package/lib/mobileapp/vue/domstructure/ui/number/index.js.map +1 -0
  142. package/lib/mobileapp/vue/domstructure/ui/number/number.js +27 -0
  143. package/lib/mobileapp/vue/domstructure/ui/number/number.js.map +1 -0
  144. package/lib/mobileapp/vue/domstructure/ui/picker/area-picker.js +27 -0
  145. package/lib/mobileapp/vue/domstructure/ui/picker/area-picker.js.map +1 -0
  146. package/lib/mobileapp/vue/domstructure/ui/picker/index.js +15 -0
  147. package/lib/mobileapp/vue/domstructure/ui/picker/index.js.map +1 -0
  148. package/lib/mobileapp/vue/domstructure/ui/picker/picker.js +27 -0
  149. package/lib/mobileapp/vue/domstructure/ui/picker/picker.js.map +1 -0
  150. package/lib/mobileapp/vue/domstructure/ui/radio/index.js +14 -0
  151. package/lib/mobileapp/vue/domstructure/ui/radio/index.js.map +1 -0
  152. package/lib/mobileapp/vue/domstructure/ui/radio/radio-group.js +32 -0
  153. package/lib/mobileapp/vue/domstructure/ui/radio/radio-group.js.map +1 -0
  154. package/lib/mobileapp/vue/domstructure/ui/rich-text-editor/index.js +14 -0
  155. package/lib/mobileapp/vue/domstructure/ui/rich-text-editor/index.js.map +1 -0
  156. package/lib/mobileapp/vue/domstructure/ui/rich-text-editor/rich-text-editor.js +27 -0
  157. package/lib/mobileapp/vue/domstructure/ui/rich-text-editor/rich-text-editor.js.map +1 -0
  158. package/lib/mobileapp/vue/domstructure/ui/section/index.js +14 -0
  159. package/lib/mobileapp/vue/domstructure/ui/section/index.js.map +1 -0
  160. package/lib/mobileapp/vue/domstructure/ui/section/vue-section.js +46 -0
  161. package/lib/mobileapp/vue/domstructure/ui/section/vue-section.js.map +1 -0
  162. package/lib/mobileapp/vue/domstructure/ui/sidebar/index.js +15 -0
  163. package/lib/mobileapp/vue/domstructure/ui/sidebar/index.js.map +1 -0
  164. package/lib/mobileapp/vue/domstructure/ui/sidebar/sidebar-item.js +42 -0
  165. package/lib/mobileapp/vue/domstructure/ui/sidebar/sidebar-item.js.map +1 -0
  166. package/lib/mobileapp/vue/domstructure/ui/sidebar/sidebar.js +42 -0
  167. package/lib/mobileapp/vue/domstructure/ui/sidebar/sidebar.js.map +1 -0
  168. package/lib/mobileapp/vue/domstructure/ui/staff-info/index.js +14 -0
  169. package/lib/mobileapp/vue/domstructure/ui/staff-info/index.js.map +1 -0
  170. package/lib/mobileapp/vue/domstructure/ui/staff-info/staff-info.js +49 -0
  171. package/lib/mobileapp/vue/domstructure/ui/staff-info/staff-info.js.map +1 -0
  172. package/lib/mobileapp/vue/domstructure/ui/static-text/index.js +14 -0
  173. package/lib/mobileapp/vue/domstructure/ui/static-text/index.js.map +1 -0
  174. package/lib/mobileapp/vue/domstructure/ui/static-text/static-text.js +27 -0
  175. package/lib/mobileapp/vue/domstructure/ui/static-text/static-text.js.map +1 -0
  176. package/lib/mobileapp/vue/domstructure/ui/switch/index.js +14 -0
  177. package/lib/mobileapp/vue/domstructure/ui/switch/index.js.map +1 -0
  178. package/lib/mobileapp/vue/domstructure/ui/switch/switch-input.js +27 -0
  179. package/lib/mobileapp/vue/domstructure/ui/switch/switch-input.js.map +1 -0
  180. package/lib/mobileapp/vue/domstructure/ui/tab/index.js +16 -0
  181. package/lib/mobileapp/vue/domstructure/ui/tab/index.js.map +1 -0
  182. package/lib/mobileapp/vue/domstructure/ui/tab/vue-tab-bar.js +33 -0
  183. package/lib/mobileapp/vue/domstructure/ui/tab/vue-tab-bar.js.map +1 -0
  184. package/lib/mobileapp/vue/domstructure/ui/tab/vue-tab-page.js +45 -0
  185. package/lib/mobileapp/vue/domstructure/ui/tab/vue-tab-page.js.map +1 -0
  186. package/lib/mobileapp/vue/domstructure/ui/tab/vue-tabs.js +45 -0
  187. package/lib/mobileapp/vue/domstructure/ui/tab/vue-tabs.js.map +1 -0
  188. package/lib/mobileapp/vue/domstructure/ui/text-area/index.js +14 -0
  189. package/lib/mobileapp/vue/domstructure/ui/text-area/index.js.map +1 -0
  190. package/lib/mobileapp/vue/domstructure/ui/text-area/text-area.js +37 -0
  191. package/lib/mobileapp/vue/domstructure/ui/text-area/text-area.js.map +1 -0
  192. package/lib/mobileapp/vue/domstructure/ui/text-box/index.js +17 -0
  193. package/lib/mobileapp/vue/domstructure/ui/text-box/index.js.map +1 -0
  194. package/lib/mobileapp/vue/domstructure/ui/text-box/text-box-external.js +27 -0
  195. package/lib/mobileapp/vue/domstructure/ui/text-box/text-box-external.js.map +1 -0
  196. package/lib/mobileapp/vue/domstructure/ui/text-box/text-box.js +27 -0
  197. package/lib/mobileapp/vue/domstructure/ui/text-box/text-box.js.map +1 -0
  198. package/lib/mobileapp/vue/domstructure/ui/text-box/text-scan.js +27 -0
  199. package/lib/mobileapp/vue/domstructure/ui/text-box/text-scan.js.map +1 -0
  200. package/lib/mobileapp/vue/domstructure/ui/text-box/text-telphone.js +27 -0
  201. package/lib/mobileapp/vue/domstructure/ui/text-box/text-telphone.js.map +1 -0
  202. package/lib/mobileapp/vue/domstructure/ui/toolbar/index.js +16 -0
  203. package/lib/mobileapp/vue/domstructure/ui/toolbar/index.js.map +1 -0
  204. package/lib/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar-area.js +35 -0
  205. package/lib/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar-area.js.map +1 -0
  206. package/lib/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar-item.js +32 -0
  207. package/lib/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar-item.js.map +1 -0
  208. package/lib/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar.js +42 -0
  209. package/lib/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar.js.map +1 -0
  210. package/lib/mobileapp/vue/domstructure/ui/vue-input-component.js +81 -0
  211. package/lib/mobileapp/vue/domstructure/ui/vue-input-component.js.map +1 -0
  212. package/lib/mobileapp/vue/internal-entity/i-project-data.js +3 -0
  213. package/lib/mobileapp/vue/internal-entity/i-project-data.js.map +1 -0
  214. package/lib/mobileapp/vue/internal-entity/page-flow/index.js +14 -0
  215. package/lib/mobileapp/vue/internal-entity/page-flow/index.js.map +1 -0
  216. package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-convertor.js +11 -0
  217. package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-convertor.js.map +1 -0
  218. package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-entity.js +44 -0
  219. package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-entity.js.map +1 -0
  220. package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-page.js +27 -0
  221. package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-page.js.map +1 -0
  222. package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-project.js +27 -0
  223. package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-project.js.map +1 -0
  224. package/lib/mobileapp/vue/internal-entity/vue-app-index-vue-parameter.js +7 -0
  225. package/lib/mobileapp/vue/internal-entity/vue-app-index-vue-parameter.js.map +1 -0
  226. package/lib/mobileapp/vue/internal-entity/vue-app-router-entity.js +15 -0
  227. package/lib/mobileapp/vue/internal-entity/vue-app-router-entity.js.map +1 -0
  228. package/lib/mobileapp/vue/internal-entity/vue-engine-context.js +7 -0
  229. package/lib/mobileapp/vue/internal-entity/vue-engine-context.js.map +1 -0
  230. package/lib/mobileapp/vue/internal-entity/vue-page-component-generate-parameter.js +7 -0
  231. package/lib/mobileapp/vue/internal-entity/vue-page-component-generate-parameter.js.map +1 -0
  232. package/lib/template/ui/mobileapprove/content-container.pug +6 -3
  233. package/lib/template/ui/mobileapprove/detailheader-for-mobileapprove.pug +2 -1
  234. package/lib/template/ui/mobileapprove/panel-for-mobileapprove.pug +6 -0
  235. package/lib/template/ui/mobileapprove/statictext-for-mobileapprove.pug +15 -20
  236. package/lib/template/ui/mobilevue/area-picker.pug +53 -0
  237. package/lib/template/ui/mobilevue/avatar.pug +19 -0
  238. package/lib/template/ui/mobilevue/common/text-common.pug +80 -0
  239. package/lib/template/ui/mobilevue/fm-staff-info.pug +10 -0
  240. package/lib/template/ui/mobilevue/footer.pug +10 -0
  241. package/lib/template/ui/mobilevue/label.pug +12 -0
  242. package/lib/template/ui/mobilevue/layout-container-col.pug +11 -0
  243. package/lib/template/ui/mobilevue/layout-container-row.pug +12 -0
  244. package/lib/template/ui/mobilevue/layout-container.pug +11 -0
  245. package/lib/template/ui/mobilevue/page-content-container.pug +10 -0
  246. package/lib/template/ui/mobilevue/page-footer-container.pug +10 -0
  247. package/lib/template/ui/mobilevue/page-header-container.pug +10 -0
  248. package/lib/template/ui/mobilevue/show-image.pug +22 -0
  249. package/lib/template/ui/mobilevue/tag.pug +33 -0
  250. package/lib/template/ui/mobilevue/text.pug +118 -0
  251. package/lib/template/ui/mobilevue/vant-tabpage.pug +6 -0
  252. package/lib/template/ui/mobilevue/vant-tabs.pug +6 -0
  253. package/lib/utility/mobile-approve/config-helper/form-jsonfile-reader.js +16 -16
  254. package/lib/utility/mobile-approve/config-helper/formatter-function-generator.js +67 -67
  255. package/lib/utility/mobile-approve/entity/attachment-panel-for-mobileapprove.js +51 -51
  256. package/lib/utility/mobile-approve/entity/base-mobile-approve.js +36 -36
  257. package/lib/utility/mobile-approve/entity/binding.js +25 -25
  258. package/lib/utility/mobile-approve/entity/child-detail-template.js +10 -10
  259. package/lib/utility/mobile-approve/entity/child-table-primary-relation.js +6 -6
  260. package/lib/utility/mobile-approve/entity/component-ref.js +33 -33
  261. package/lib/utility/mobile-approve/entity/component.js +55 -55
  262. package/lib/utility/mobile-approve/entity/content-container.js +61 -42
  263. package/lib/utility/mobile-approve/entity/content-container.js.map +1 -1
  264. package/lib/utility/mobile-approve/entity/detail-header-for-mobileapprove.js +123 -122
  265. package/lib/utility/mobile-approve/entity/detail-header-for-mobileapprove.js.map +1 -1
  266. package/lib/utility/mobile-approve/entity/detail-header-item.js +32 -32
  267. package/lib/utility/mobile-approve/entity/field-binding-parameter.js +24 -24
  268. package/lib/utility/mobile-approve/entity/fieldset-for-mobileapprove.js +42 -42
  269. package/lib/utility/mobile-approve/entity/fieldset-for-mobileapprove.js.map +1 -1
  270. package/lib/utility/mobile-approve/entity/flow-process-for-mobileapprove.js +34 -34
  271. package/lib/utility/mobile-approve/entity/flow-process-for-mobileapprove.js.map +1 -1
  272. package/lib/utility/mobile-approve/entity/html-panel-for-mobileapprove.js +48 -48
  273. package/lib/utility/mobile-approve/entity/html-template.js +25 -25
  274. package/lib/utility/mobile-approve/entity/index.js +31 -27
  275. package/lib/utility/mobile-approve/entity/index.js.map +1 -1
  276. package/lib/utility/mobile-approve/entity/module.js +39 -39
  277. package/lib/utility/mobile-approve/entity/panel-for-mobileapprove.js +101 -101
  278. package/lib/utility/mobile-approve/entity/panel-for-mobileapprove.js.map +1 -1
  279. package/lib/utility/mobile-approve/entity/panel-item-for-mobileapprove.js +38 -38
  280. package/lib/utility/mobile-approve/entity/person-avatar.js +24 -24
  281. package/lib/utility/mobile-approve/entity/static-text-for-mobileapprove.js +71 -71
  282. package/lib/utility/mobile-approve/entity/static-text-for-mobileapprove.js.map +1 -1
  283. package/lib/utility/mobile-approve/generator/dom-generator.js +20 -20
  284. package/lib/utility/mobile-approve/mobile-approve-manager.js +54 -50
  285. package/lib/utility/mobile-approve/mobile-approve-manager.js.map +1 -1
  286. package/lib/utility/mobile-approve/recuresive-generate-mobileapprove.js +441 -430
  287. package/lib/utility/mobile-approve/recuresive-generate-mobileapprove.js.map +1 -1
  288. package/lib/utility/mobile-approve/template-generator/abstract-template-generator.js +6 -6
  289. package/lib/utility/mobile-approve/template-generator/component-template-generator.js +10 -10
  290. package/lib/utility/mobile-approve/template-generator/content-container-template-generator.js +10 -10
  291. package/lib/utility/mobile-approve/template-generator/detailheader-for-mobileapprove-template-generator.js +10 -10
  292. package/lib/utility/mobile-approve/template-generator/i-template-generator.js +2 -2
  293. package/lib/utility/mobile-approve/template-generator/index-html-generator.js +585 -582
  294. package/lib/utility/mobile-approve/template-generator/index-html-generator.js.map +1 -1
  295. package/lib/utility/mobile-approve/template-generator/index.js +17 -13
  296. package/lib/utility/mobile-approve/template-generator/index.js.map +1 -1
  297. package/lib/utility/mobile-approve/template-generator/mobile-approve-templateconfig.js +39 -39
  298. package/lib/utility/mobile-approve/template-generator/panel-for-mobileapprove-template-generator.js +10 -10
  299. package/lib/utility/mobile-approve/template-generator/static-text-for-mobileapprove-template-generator.js +10 -10
  300. package/lib/utility/mobile-approve/template-generator/template-generator-factory.js +39 -39
  301. package/lib/utility/mobile-approve/template-generator/template-generator-manager.js +31 -31
  302. package/lib/utility/mobile-approve/template-generator/template-generator-type.js +11 -11
  303. package/package.json +1 -1
  304. package/lib/mobileapp/vue/static/.gitignore +0 -13
@@ -1,431 +1,442 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RecursiveGenerateMobileApprove = void 0;
4
- const toolhepler_1 = require("../toolhepler");
5
- const mobile_approve_templateconfig_1 = require("./template-generator/mobile-approve-templateconfig");
6
- const logger_1 = require("../logger");
7
- const dom_generator_1 = require("./generator/dom-generator");
8
- const directory_file_helper_1 = require("../directory-file-helper");
9
- const template_generator_1 = require("./template-generator");
10
- const child_detail_template_1 = require("./entity/child-detail-template");
11
- const child_table_primary_relation_1 = require("./entity/child-table-primary-relation");
12
- class RecursiveGenerateMobileApprove {
13
- constructor() {
14
- this.domGenerator = new dom_generator_1.DomGenerator();
15
- }
16
- recursiveGenerateDevkit(generateParam) {
17
- return this.recursiveGenerateDevkitObject({
18
- obj: generateParam.obj,
19
- publishPath: generateParam.publishPath,
20
- frm_code: generateParam.frm_code,
21
- moduleCode: generateParam.moduleCode,
22
- metaDataConfig: generateParam.metaDataConfig,
23
- currentModuleJson: generateParam.currentModuleJson,
24
- options: generateParam.options,
25
- childDetailTemplate: generateParam.childDetailTemplate,
26
- childTablePrimary: generateParam.childTablePrimary,
27
- parentIsFrameComponent: generateParam.parentIsFrameComponent
28
- });
29
- }
30
- recursiveGenerateDevkitObject(devkitParam) {
31
- if (this.canRecursiveDevkitObject(devkitParam.obj) == false) {
32
- return;
33
- }
34
- Object.keys(devkitParam.obj).forEach(key => {
35
- if (devkitParam.obj[key]) {
36
- if (toolhepler_1.ToolHelper.isArray(devkitParam.obj[key], true) === true) {
37
- devkitParam.obj[key].forEach((item) => {
38
- return this.generateHtmlOrDevkitWithSpecialValue({
39
- value: item,
40
- publishPath: devkitParam.publishPath,
41
- frm_code: devkitParam.frm_code,
42
- moduleCode: devkitParam.moduleCode,
43
- metaDataConfig: devkitParam.metaDataConfig,
44
- currentModuleJson: devkitParam.currentModuleJson,
45
- options: devkitParam.options,
46
- childDetailTemplate: devkitParam.childDetailTemplate,
47
- childTablePrimary: devkitParam.childTablePrimary,
48
- parentIsFrameComponent: devkitParam.parentIsFrameComponent
49
- });
50
- });
51
- }
52
- else {
53
- return this.generateHtmlOrDevkitWithSpecialValue({
54
- value: devkitParam.obj[key],
55
- publishPath: devkitParam.publishPath,
56
- frm_code: devkitParam.frm_code,
57
- moduleCode: devkitParam.moduleCode,
58
- metaDataConfig: devkitParam.metaDataConfig,
59
- currentModuleJson: devkitParam.currentModuleJson,
60
- options: devkitParam.options,
61
- childDetailTemplate: devkitParam.childDetailTemplate,
62
- childTablePrimary: devkitParam.childTablePrimary,
63
- parentIsFrameComponent: devkitParam.parentIsFrameComponent
64
- });
65
- }
66
- }
67
- });
68
- }
69
- canRecursiveDevkitObject(obj) {
70
- return obj && typeof obj !== "string";
71
- }
72
- generateHtmlOrDevkitWithSpecialValue(generateParam) {
73
- const className = toolhepler_1.ToolHelper.getClassName(generateParam.value);
74
- if (mobile_approve_templateconfig_1.mobileApproveTemplateConfig[className]) {
75
- if (className == "Component" && generateParam.value.componentType == "Frame") {
76
- let componentHtml = this.generateComponentHtml(generateParam);
77
- componentHtml = componentHtml.replace("{{isSubCollapse}}", generateParam.options.isSubCollapse);
78
- componentHtml = componentHtml.replace("{{isSubDefaultCollapse}}", generateParam.options.isSubDefaultCollapse);
79
- componentHtml = componentHtml.replace("{{isMainCollapse}}", generateParam.options.isMainCollapse);
80
- componentHtml = componentHtml.replace("{{isMainDefaultCollapse}}", generateParam.options.isMainDefaultCollapse);
81
- const indexHtml = template_generator_1.TemplateGeneratorManager.generate({
82
- "type": "IndexHtml", "content": componentHtml, "module": generateParam.currentModuleJson,
83
- "isSubDefaultCollapse": generateParam.options.isSubDefaultCollapse,
84
- "childDetailTemplate": generateParam.childDetailTemplate,
85
- "childTablePrimary": generateParam.childTablePrimary,
86
- "afterLoadData": generateParam.value.afterLoadData,
87
- "afterPageShow": generateParam.value.afterPageShow
88
- }, generateParam.metaDataConfig);
89
- directory_file_helper_1.DirectoryFileHelper.createFile(generateParam.metaDataConfig.publishPath, generateParam.metaDataConfig.mobileApproveFormCode.toLowerCase() + ".js", indexHtml);
90
- return componentHtml;
91
- }
92
- }
93
- if (generateParam.value && typeof generateParam.value === 'object') {
94
- return this.recursiveGenerateDevkit({
95
- obj: generateParam.value,
96
- publishPath: generateParam.publishPath,
97
- frm_code: generateParam.frm_code,
98
- moduleCode: generateParam.moduleCode,
99
- metaDataConfig: generateParam.metaDataConfig,
100
- currentModuleJson: generateParam.currentModuleJson,
101
- options: generateParam.options,
102
- childDetailTemplate: generateParam.childDetailTemplate,
103
- childTablePrimary: generateParam.childTablePrimary,
104
- parentIsFrameComponent: generateParam.parentIsFrameComponent
105
- });
106
- }
107
- }
108
- generateComponentHtml(generateParam) {
109
- const html = this.recursiveAssembleTemplate(generateParam.value, null, generateParam.currentModuleJson, generateParam.metaDataConfig, generateParam.options, generateParam.childDetailTemplate, generateParam.childTablePrimary, generateParam.parentIsFrameComponent);
110
- return html;
111
- }
112
- recursiveAssembleTemplate(obj, children, currentModuleJson, metaDataConfig, options, childDetailTemplate, childTablePrimary, parentIsFrameComponent) {
113
- if (children && children.length) {
114
- let htmlStr = '';
115
- children.forEach((item) => {
116
- const html = this.generateHtmlWithTemplate(item, currentModuleJson, metaDataConfig, options, childDetailTemplate, childTablePrimary, parentIsFrameComponent);
117
- if (html && html.length > 0) {
118
- htmlStr += html;
119
- }
120
- });
121
- return htmlStr;
122
- }
123
- else {
124
- if (toolhepler_1.ToolHelper.isArray(obj, true)) {
125
- let htmlStr = '';
126
- obj.forEach((item) => {
127
- const html = this.generateHtmlWithTemplate(item, currentModuleJson, metaDataConfig, options, childDetailTemplate, childTablePrimary, parentIsFrameComponent);
128
- if (html && html.length > 0) {
129
- htmlStr += html;
130
- }
131
- });
132
- return htmlStr;
133
- }
134
- else {
135
- const html = this.generateHtmlWithTemplate(obj, currentModuleJson, metaDataConfig, options, childDetailTemplate, childTablePrimary, parentIsFrameComponent);
136
- return html;
137
- }
138
- }
139
- }
140
- getChildSummaryTemplate(panelForMobileApprove, bindTo) {
141
- let generateString = "";
142
- if (panelForMobileApprove.showType && panelForMobileApprove.showType == "summary") {
143
- const summaryClass = (panelForMobileApprove.summaryTemplate && panelForMobileApprove.summaryTemplate.customClass) ? panelForMobileApprove.summaryTemplate.customClass : "";
144
- generateString += `
145
- <div class= "fm-apply-panel ${summaryClass}">
146
- {{~model.formData.${bindTo} :itemData:itemIndex}}
147
- <div class= "fm-apply-list" data-dataIDCompleteInfo="{{=format(bind(itemData,window.getTablePrimaryByTableName('${bindTo}')),{})}}" data-dataIDPrimaryKey="{{=window.getTablePrimaryByTableName('${bindTo}')}}">
148
- ${panelForMobileApprove.summaryTemplateHtml}
149
- </div>
150
- {{~}}
151
-
152
- </div>
153
-
154
-
155
- `;
156
- }
157
- return generateString;
158
- }
159
- generateHtmlWithTemplate(value, currentModuleJson, metaDataConfig, options, childDetailTemplate, childTablePrimary, parentIsFrameComponent) {
160
- let className = toolhepler_1.ToolHelper.getClassName(value);
161
- if (mobile_approve_templateconfig_1.mobileApproveTemplateConfig[className] || className == "ComponentRef") {
162
- let html;
163
- if (className == "ComponentRef") {
164
- const componentRefEntity = currentModuleJson.components.find((item) => {
165
- return item.id == value.component;
166
- });
167
- if (componentRefEntity) {
168
- const isDetail = !!value.isDetail;
169
- const bindTo = value.bindTo;
170
- componentRefEntity.setIsDetail(isDetail);
171
- value.componentDevkit = componentRefEntity;
172
- className = "Component";
173
- value = componentRefEntity;
174
- html = this.generateComponentHtml({
175
- value: componentRefEntity,
176
- metaDataConfig: metaDataConfig,
177
- currentModuleJson: currentModuleJson,
178
- "frm_code": "",
179
- "moduleCode": "",
180
- "publishPath": "",
181
- options,
182
- childDetailTemplate,
183
- childTablePrimary,
184
- parentIsFrameComponent
185
- });
186
- if (isDetail) {
187
- const selectedEntityTablePrimary = this._getTablePrimaryFieldByBindTo(currentModuleJson.schemas[0].entities, bindTo);
188
- if (selectedEntityTablePrimary) {
189
- const childTablePrimaryRelation = new child_table_primary_relation_1.ChildTablePrimaryRelation();
190
- childTablePrimaryRelation.primary = selectedEntityTablePrimary;
191
- childTablePrimaryRelation.tableName = bindTo;
192
- childTablePrimary.push(childTablePrimaryRelation);
193
- }
194
- const panelForMobileApprove = componentRefEntity.contents[0];
195
- if (panelForMobileApprove) {
196
- if (toolhepler_1.ToolHelper.isArray(panelForMobileApprove.contents, false)) {
197
- const childDetailHtml = this.generatePanelForMobileContentHtml(panelForMobileApprove, currentModuleJson, metaDataConfig, options, childDetailTemplate, childTablePrimary, parentIsFrameComponent);
198
- childDetailTemplate.push(new child_detail_template_1.ChildDetailTemplate(bindTo, childDetailHtml));
199
- }
200
- else if (toolhepler_1.ToolHelper.isArray(panelForMobileApprove.summaryContents, false) && !panelForMobileApprove.isSubCollapse &&
201
- panelForMobileApprove.showType && panelForMobileApprove.showType == "summary") {
202
- if (panelForMobileApprove.isShowBottomDetailPanel) {
203
- panelForMobileApprove.contents = panelForMobileApprove.summaryContents;
204
- const childDetailHtml = this.generatePanelForMobileContentHtml(panelForMobileApprove, currentModuleJson, metaDataConfig, options, childDetailTemplate, childTablePrimary, parentIsFrameComponent);
205
- childDetailTemplate.push(new child_detail_template_1.ChildDetailTemplate(bindTo, childDetailHtml));
206
- panelForMobileApprove.contents = [];
207
- }
208
- else {
209
- html = "";
210
- }
211
- }
212
- }
213
- const panelListRemarkHtml = panelForMobileApprove.remarkHtml;
214
- const isShowBottomDetailPanel = panelForMobileApprove.isShowBottomDetailPanel ? true : false;
215
- const isAttachment = panelForMobileApprove.type == "AttachmentPanelForMobileApprove";
216
- const maxRowCount = panelForMobileApprove.maxRowCount || 0;
217
- const maxFieldCount = panelForMobileApprove.maxFieldCount || 0;
218
- if (!isAttachment) {
219
- const firstSection = `
220
- {{? model.formData.${bindTo} && model.formData.${bindTo}.length > 0}}
221
- <div id="${bindTo}" data-max-row-count="${maxRowCount}" data-max-field-count="${maxFieldCount}" class="fm-apply-panel-list" data-enableCompleteInfo="${isShowBottomDetailPanel}" data-sourceCompleteInfo="${bindTo}" data-enableindeppanelcollaspe="${panelForMobileApprove.isSubCollapse ? true : false}" data-isindeppaneldefaultcollaspe="${panelForMobileApprove.isSubDefaultCollapse ? true : false}">
222
- <div class="panel-list--header">
223
- ${this.generateHeader(panelForMobileApprove)}
224
- </div>
225
- ${panelListRemarkHtml ? panelListRemarkHtml : ''}
226
- ${this.getChildSummaryTemplate(panelForMobileApprove, bindTo)}
227
- ${html !== `<div class="fm-apply-list"></div>` ?
228
- `<div class="fm-apply-panel">
229
- {{~model.formData.${bindTo} :itemData:itemIndex}}` : ""}
230
- `;
231
- let lastSection = `
232
- ${html !== `<div class="fm-apply-list"></div>` ? `
233
- {{~}}
234
- </div>` : ""}
235
- </div>
236
- {{?}}
237
- `;
238
- html = firstSection + html + lastSection;
239
- }
240
- }
241
- else {
242
- if (componentRefEntity && toolhepler_1.ToolHelper.isArray(componentRefEntity.contents, false)) {
243
- if (componentRefEntity.contents[0].isSubCollapse) {
244
- options.isSubCollapse = true;
245
- }
246
- if (componentRefEntity.contents[0].isSubDefaultCollapse == false) {
247
- options.isSubDefaultCollapse = false;
248
- }
249
- if (componentRefEntity.contents[0].isMainCollapse == true) {
250
- options.isMainCollapse = true;
251
- }
252
- if (componentRefEntity.contents[0].isMainDefaultCollapse == true) {
253
- options.isMainDefaultCollapse = true;
254
- }
255
- }
256
- }
257
- }
258
- else {
259
- logger_1.LoggerHelper.log(`can not find component , the id: ${value.component}`, logger_1.LoggerLevel.Warning);
260
- }
261
- }
262
- else {
263
- if (className == "FlowProcessForMobileApprove") {
264
- if (value.visible.value) {
265
- html = this.processInstanceConstant();
266
- }
267
- else {
268
- html = "";
269
- }
270
- }
271
- else if (className == "DetailHeaderForMobileApprove" && value.visible && value.visible.value == false) {
272
- html = "";
273
- }
274
- else {
275
- if (parentIsFrameComponent) {
276
- value["parentIsFrameComponent"] = true;
277
- }
278
- html = this.domGenerator.generate({
279
- templatePath: mobile_approve_templateconfig_1.mobileApproveTemplateConfig[className].template,
280
- uiDom: value
281
- });
282
- }
283
- }
284
- if (className == "Component" && value && value.componentType == "Frame") {
285
- parentIsFrameComponent = true;
286
- }
287
- else {
288
- parentIsFrameComponent = false;
289
- }
290
- let subHtml;
291
- if (value.contents && value.contents.length) {
292
- subHtml = this.recursiveAssembleTemplate(null, value.contents, currentModuleJson, metaDataConfig, options, childDetailTemplate, childTablePrimary, parentIsFrameComponent);
293
- }
294
- if (subHtml && subHtml.length > 0) {
295
- html = toolhepler_1.ToolHelper.replaceString(html, "{{content}}", subHtml);
296
- }
297
- else {
298
- if (!subHtml) {
299
- subHtml = "";
300
- }
301
- if (html && html.indexOf("{{content}}") >= 0) {
302
- html = toolhepler_1.ToolHelper.replaceString(html, "{{content}}", subHtml);
303
- }
304
- }
305
- return html;
306
- }
307
- else {
308
- if (className != "TabToolbarItem" && className != "ModalContainer" && className != "TabToolbar") {
309
- logger_1.LoggerHelper.log(`unknown ui template type,the type is :${className}`, logger_1.LoggerLevel.Warning);
310
- }
311
- }
312
- return "";
313
- }
314
- _getTablePrimaryFieldByBindTo(entities, bindTo) {
315
- if (!entities || entities.length === 0) {
316
- return;
317
- }
318
- const splitIndex = bindTo.indexOf('/');
319
- if (splitIndex > -1) {
320
- bindTo = bindTo.slice(splitIndex + 1, bindTo.length);
321
- }
322
- for (const entity of entities) {
323
- const entityType = entity.type;
324
- if (!entityType) {
325
- return "";
326
- }
327
- if (bindTo === '' || bindTo === entity.code || bindTo === entity.label) {
328
- return entityType.primary;
329
- }
330
- if (entityType.entities && entityType.entities.length > 0) {
331
- const fields = this._getTablePrimaryFieldByBindTo(entityType.entities, bindTo);
332
- if (fields) {
333
- return fields;
334
- }
335
- }
336
- }
337
- }
338
- generatePanelForMobileContentHtml(panelForMobile, currentModuleJson, metaDataConfig, options, childDetailTemplate, childTablePrimary, parentIsFrameComponent) {
339
- let generateString = "";
340
- if (!panelForMobile) {
341
- return generateString;
342
- }
343
- generateString = this.recursiveAssembleTemplate(null, panelForMobile.contents, currentModuleJson, metaDataConfig, options, childDetailTemplate, childTablePrimary, parentIsFrameComponent);
344
- return generateString;
345
- }
346
- generateHeader(panelForMobileApprove) {
347
- const panelListTitle = panelForMobileApprove.title;
348
- const panelListHeaderHtml = panelForMobileApprove.headerHtml ? panelForMobileApprove.headerHtml : '';
349
- if (panelListHeaderHtml) {
350
- return panelListHeaderHtml;
351
- }
352
- else {
353
- return `<h5 class="panel-list--header-title header-title--with-icon">
354
- ${this.generateHeaderIcon(panelForMobileApprove)}
355
- ${panelListTitle ? panelListTitle : ""}</h5>`;
356
- }
357
- }
358
- generateHeaderIcon(panelForMobileApprove) {
359
- if (!panelForMobileApprove.headerIcon) {
360
- return "";
361
- }
362
- const generateString = ` <span class="img-round--wrapper ${(panelForMobileApprove.headerIcon && panelForMobileApprove.headerIcon.color) ? ("fm-bg-icon-" + panelForMobileApprove.headerIcon.color) : ""}">
363
- <i class="fm-icon ${(panelForMobileApprove.headerIcon && panelForMobileApprove.headerIcon.icon) ? ("fm-icon-" + panelForMobileApprove.headerIcon.icon) : ""}"></i></span>`;
364
- return generateString;
365
- }
366
- generateStaticTextForMobile(variable) {
367
- const staticTextString = `
368
- <div class=variable.panelCollapseVisible?"fm-apply-list-item fm-state-visible":"fm-apply-list-item">
369
- <div class="fm-apply-list-item-label">
370
- ${variable.title}
371
- </div>
372
- ${this.generateBindingModelName(variable)}
373
-
374
- </div>
375
- `;
376
- return staticTextString;
377
- }
378
- generateBindingModelName(variable) {
379
- let generateString = "";
380
- if (variable.highlight) {
381
- generateString += `
382
- <div class="fm-apply-list-item-text fm-text-warning fm-weight">`;
383
- }
384
- else {
385
- generateString += `
386
- <div class="fm-apply-list-item-text ">`;
387
- }
388
- generateString += `{{=${variable.bindingModelName}}}`;
389
- generateString += "</div>";
390
- return generateString;
391
- }
392
- processInstanceConstant() {
393
- return `
394
- <!--流程日志 BEGIN-->
395
- <div class="fm-approve-flow-wrapper">
396
- {{~model.approvalLogsData :approvalLogGroup:approvalLogGroupIndex}}
397
- <div class="fm-approve-flow-item {{? approvalLogGroup.isDone }} fm-approve-flow-item-approved {{?}}">
398
- <div class="fm-approve-flow-item-header">
399
- <div class="fm-approve-flow-item-header-inner">
400
- <div class="fm-approve-flow-item-header-icon"><span class="fm-icon header-icon"></span></div>
401
- <div class="fm-approve-flow-item-header-content">{{=approvalLogGroup.title}}</div>
402
- </div>
403
- <div class="fm-approve-flow-item-header-state">{{=approvalLogGroup.state}}</div>
404
- </div>
405
- {{~approvalLogGroup.approvalLogs :approvalLog:approvalLogIndex}}
406
- <div class="fm-approve-flow-item-content">
407
- <div class="fm-approve-flow-item-main">
408
- <div class="fm-approve-flow-item-main-avatar">
409
- <div class="fm-round-bg">
410
- <span class="fm-round-bg-text">{{=format(bind(approvalLog, 'participantName'), {type: 'avatar'})}}</span>
411
- </div>
412
- <span class="fm-approve-flow-item-main-avatar-icon avatar-icon fm-icon "></span>
413
- </div>
414
- <div class="fm-approve-flow-item-main-text">
415
- <div class="fm-approve-flow-item-main-text-title">{{=bind(approvalLog, 'participantName')}}</div>
416
- <div class="fm-approve-flow-item-main-text-subtitle">{{=bind(approvalLog, 'message')}}</div>
417
- </div>
418
- </div>
419
- <div class="fm-approve-flow-item-date">
420
- {{=format(bind(approvalLog, 'operatorTime'), {type:'date', dateFormat:'MM/dd HH:mm'})}}
421
- </div>
422
- </div>
423
- {{~}}
424
- </div>
425
- {{~}}
426
- </div>
427
- <!--流程日志 END-->`;
428
- }
429
- }
430
- exports.RecursiveGenerateMobileApprove = RecursiveGenerateMobileApprove;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RecursiveGenerateMobileApprove = void 0;
4
+ const toolhepler_1 = require("../toolhepler");
5
+ const mobile_approve_templateconfig_1 = require("./template-generator/mobile-approve-templateconfig");
6
+ const logger_1 = require("../logger");
7
+ const dom_generator_1 = require("./generator/dom-generator");
8
+ const directory_file_helper_1 = require("../directory-file-helper");
9
+ const template_generator_1 = require("./template-generator");
10
+ const child_detail_template_1 = require("./entity/child-detail-template");
11
+ const child_table_primary_relation_1 = require("./entity/child-table-primary-relation");
12
+ class RecursiveGenerateMobileApprove {
13
+ constructor() {
14
+ this.domGenerator = new dom_generator_1.DomGenerator();
15
+ }
16
+ recursiveGenerateDevkit(generateParam) {
17
+ return this.recursiveGenerateDevkitObject({
18
+ obj: generateParam.obj,
19
+ publishPath: generateParam.publishPath,
20
+ frm_code: generateParam.frm_code,
21
+ moduleCode: generateParam.moduleCode,
22
+ metaDataConfig: generateParam.metaDataConfig,
23
+ currentModuleJson: generateParam.currentModuleJson,
24
+ options: generateParam.options,
25
+ childDetailTemplate: generateParam.childDetailTemplate,
26
+ childTablePrimary: generateParam.childTablePrimary,
27
+ parentIsFrameComponent: generateParam.parentIsFrameComponent
28
+ });
29
+ }
30
+ recursiveGenerateDevkitObject(devkitParam) {
31
+ if (this.canRecursiveDevkitObject(devkitParam.obj) == false) {
32
+ return;
33
+ }
34
+ Object.keys(devkitParam.obj).forEach(key => {
35
+ if (devkitParam.obj[key]) {
36
+ if (toolhepler_1.ToolHelper.isArray(devkitParam.obj[key], true) === true) {
37
+ devkitParam.obj[key].forEach((item) => {
38
+ return this.generateHtmlOrDevkitWithSpecialValue({
39
+ value: item,
40
+ publishPath: devkitParam.publishPath,
41
+ frm_code: devkitParam.frm_code,
42
+ moduleCode: devkitParam.moduleCode,
43
+ metaDataConfig: devkitParam.metaDataConfig,
44
+ currentModuleJson: devkitParam.currentModuleJson,
45
+ options: devkitParam.options,
46
+ childDetailTemplate: devkitParam.childDetailTemplate,
47
+ childTablePrimary: devkitParam.childTablePrimary,
48
+ parentIsFrameComponent: devkitParam.parentIsFrameComponent
49
+ });
50
+ });
51
+ }
52
+ else {
53
+ return this.generateHtmlOrDevkitWithSpecialValue({
54
+ value: devkitParam.obj[key],
55
+ publishPath: devkitParam.publishPath,
56
+ frm_code: devkitParam.frm_code,
57
+ moduleCode: devkitParam.moduleCode,
58
+ metaDataConfig: devkitParam.metaDataConfig,
59
+ currentModuleJson: devkitParam.currentModuleJson,
60
+ options: devkitParam.options,
61
+ childDetailTemplate: devkitParam.childDetailTemplate,
62
+ childTablePrimary: devkitParam.childTablePrimary,
63
+ parentIsFrameComponent: devkitParam.parentIsFrameComponent
64
+ });
65
+ }
66
+ }
67
+ });
68
+ }
69
+ canRecursiveDevkitObject(obj) {
70
+ return obj && typeof obj !== "string";
71
+ }
72
+ generateHtmlOrDevkitWithSpecialValue(generateParam) {
73
+ const className = toolhepler_1.ToolHelper.getClassName(generateParam.value);
74
+ if (mobile_approve_templateconfig_1.mobileApproveTemplateConfig[className]) {
75
+ if (className == "Component" && generateParam.value.componentType == "Frame") {
76
+ let componentHtml = this.generateComponentHtml(generateParam);
77
+ componentHtml = componentHtml.replace("{{isSubCollapse}}", generateParam.options.isSubCollapse);
78
+ componentHtml = componentHtml.replace("{{isSubDefaultCollapse}}", generateParam.options.isSubDefaultCollapse);
79
+ componentHtml = componentHtml.replace("{{isMainCollapse}}", generateParam.options.isMainCollapse);
80
+ componentHtml = componentHtml.replace("{{isMainDefaultCollapse}}", generateParam.options.isMainDefaultCollapse);
81
+ const indexHtml = template_generator_1.TemplateGeneratorManager.generate({
82
+ "type": "IndexHtml", "content": componentHtml, "module": generateParam.currentModuleJson,
83
+ "isSubDefaultCollapse": generateParam.options.isSubDefaultCollapse,
84
+ "childDetailTemplate": generateParam.childDetailTemplate,
85
+ "childTablePrimary": generateParam.childTablePrimary,
86
+ "afterLoadData": generateParam.value.afterLoadData,
87
+ "afterPageShow": generateParam.value.afterPageShow
88
+ }, generateParam.metaDataConfig);
89
+ directory_file_helper_1.DirectoryFileHelper.createFile(generateParam.metaDataConfig.publishPath, generateParam.metaDataConfig.mobileApproveFormCode.toLowerCase() + ".js", indexHtml);
90
+ return componentHtml;
91
+ }
92
+ }
93
+ if (generateParam.value && typeof generateParam.value === 'object') {
94
+ return this.recursiveGenerateDevkit({
95
+ obj: generateParam.value,
96
+ publishPath: generateParam.publishPath,
97
+ frm_code: generateParam.frm_code,
98
+ moduleCode: generateParam.moduleCode,
99
+ metaDataConfig: generateParam.metaDataConfig,
100
+ currentModuleJson: generateParam.currentModuleJson,
101
+ options: generateParam.options,
102
+ childDetailTemplate: generateParam.childDetailTemplate,
103
+ childTablePrimary: generateParam.childTablePrimary,
104
+ parentIsFrameComponent: generateParam.parentIsFrameComponent
105
+ });
106
+ }
107
+ }
108
+ generateComponentHtml(generateParam) {
109
+ const html = this.recursiveAssembleTemplate(generateParam.value, null, generateParam.currentModuleJson, generateParam.metaDataConfig, generateParam.options, generateParam.childDetailTemplate, generateParam.childTablePrimary, generateParam.parentIsFrameComponent);
110
+ return html;
111
+ }
112
+ recursiveAssembleTemplate(obj, children, currentModuleJson, metaDataConfig, options, childDetailTemplate, childTablePrimary, parentIsFrameComponent) {
113
+ if (children && children.length) {
114
+ let htmlStr = '';
115
+ children.forEach((item) => {
116
+ const html = this.generateHtmlWithTemplate(item, currentModuleJson, metaDataConfig, options, childDetailTemplate, childTablePrimary, parentIsFrameComponent);
117
+ if (html && html.length > 0) {
118
+ htmlStr += html;
119
+ }
120
+ });
121
+ return htmlStr;
122
+ }
123
+ else {
124
+ if (toolhepler_1.ToolHelper.isArray(obj, true)) {
125
+ let htmlStr = '';
126
+ obj.forEach((item) => {
127
+ const html = this.generateHtmlWithTemplate(item, currentModuleJson, metaDataConfig, options, childDetailTemplate, childTablePrimary, parentIsFrameComponent);
128
+ if (html && html.length > 0) {
129
+ htmlStr += html;
130
+ }
131
+ });
132
+ return htmlStr;
133
+ }
134
+ else {
135
+ const html = this.generateHtmlWithTemplate(obj, currentModuleJson, metaDataConfig, options, childDetailTemplate, childTablePrimary, parentIsFrameComponent);
136
+ return html;
137
+ }
138
+ }
139
+ }
140
+ getChildSummaryTemplate(panelForMobileApprove, bindTo) {
141
+ let generateString = "";
142
+ if (panelForMobileApprove.showType && panelForMobileApprove.showType == "summary") {
143
+ const summaryClass = (panelForMobileApprove.summaryTemplate && panelForMobileApprove.summaryTemplate.customClass) ? panelForMobileApprove.summaryTemplate.customClass : "";
144
+ generateString += `
145
+ <div class= "fm-apply-panel ${summaryClass}">
146
+ {{~model.formData.${bindTo} :itemData:itemIndex}}
147
+ <div class= "fm-apply-list" data-dataIDCompleteInfo="{{=format(bind(itemData,window.getTablePrimaryByTableName('${bindTo}')),{})}}" data-dataIDPrimaryKey="{{=window.getTablePrimaryByTableName('${bindTo}')}}">
148
+ ${panelForMobileApprove.summaryTemplateHtml}
149
+ </div>
150
+ {{~}}
151
+
152
+ </div>
153
+
154
+
155
+ `;
156
+ }
157
+ return generateString;
158
+ }
159
+ generateHtmlWithTemplate(value, currentModuleJson, metaDataConfig, options, childDetailTemplate, childTablePrimary, parentIsFrameComponent) {
160
+ let className = toolhepler_1.ToolHelper.getClassName(value);
161
+ if (mobile_approve_templateconfig_1.mobileApproveTemplateConfig[className] || className == "ComponentRef") {
162
+ let html;
163
+ if (className == "ComponentRef") {
164
+ const componentRefEntity = currentModuleJson.components.find((item) => {
165
+ return item.id == value.component;
166
+ });
167
+ if (componentRefEntity) {
168
+ const isDetail = !!value.isDetail;
169
+ const bindTo = value.bindTo;
170
+ componentRefEntity.setIsDetail(isDetail);
171
+ value.componentDevkit = componentRefEntity;
172
+ className = "Component";
173
+ value = componentRefEntity;
174
+ html = this.generateComponentHtml({
175
+ value: componentRefEntity,
176
+ metaDataConfig: metaDataConfig,
177
+ currentModuleJson: currentModuleJson,
178
+ "frm_code": "",
179
+ "moduleCode": "",
180
+ "publishPath": "",
181
+ options,
182
+ childDetailTemplate,
183
+ childTablePrimary,
184
+ parentIsFrameComponent
185
+ });
186
+ if (isDetail) {
187
+ const selectedEntityTablePrimary = this._getTablePrimaryFieldByBindTo(currentModuleJson.schemas[0].entities, bindTo);
188
+ if (selectedEntityTablePrimary) {
189
+ const childTablePrimaryRelation = new child_table_primary_relation_1.ChildTablePrimaryRelation();
190
+ childTablePrimaryRelation.primary = selectedEntityTablePrimary;
191
+ childTablePrimaryRelation.tableName = bindTo;
192
+ childTablePrimary.push(childTablePrimaryRelation);
193
+ }
194
+ const panelForMobileApprove = componentRefEntity.contents[0];
195
+ if (panelForMobileApprove) {
196
+ if (toolhepler_1.ToolHelper.isArray(panelForMobileApprove.contents, false)) {
197
+ const childDetailHtml = this.generatePanelForMobileContentHtml(panelForMobileApprove, currentModuleJson, metaDataConfig, options, childDetailTemplate, childTablePrimary, parentIsFrameComponent);
198
+ childDetailTemplate.push(new child_detail_template_1.ChildDetailTemplate(bindTo, childDetailHtml));
199
+ }
200
+ else if (toolhepler_1.ToolHelper.isArray(panelForMobileApprove.summaryContents, false) && !panelForMobileApprove.isSubCollapse &&
201
+ panelForMobileApprove.showType && panelForMobileApprove.showType == "summary") {
202
+ if (panelForMobileApprove.isShowBottomDetailPanel) {
203
+ panelForMobileApprove.contents = panelForMobileApprove.summaryContents;
204
+ const childDetailHtml = this.generatePanelForMobileContentHtml(panelForMobileApprove, currentModuleJson, metaDataConfig, options, childDetailTemplate, childTablePrimary, parentIsFrameComponent);
205
+ childDetailTemplate.push(new child_detail_template_1.ChildDetailTemplate(bindTo, childDetailHtml));
206
+ panelForMobileApprove.contents = [];
207
+ }
208
+ else {
209
+ html = "";
210
+ }
211
+ }
212
+ }
213
+ const panelListRemarkHtml = panelForMobileApprove.remarkHtml;
214
+ const isShowBottomDetailPanel = panelForMobileApprove.isShowBottomDetailPanel ? true : false;
215
+ const isAttachment = panelForMobileApprove.type == "AttachmentPanelForMobileApprove";
216
+ const maxRowCount = panelForMobileApprove.maxRowCount || 0;
217
+ const maxFieldCount = panelForMobileApprove.maxFieldCount || 0;
218
+ if (!isAttachment) {
219
+ const firstSection = `
220
+ {{? model.formData.${bindTo} && model.formData.${bindTo}.length > 0}}
221
+ <div id="${bindTo}" data-max-row-count="${maxRowCount}" data-max-field-count="${maxFieldCount}" class="fm-apply-panel-list" data-enableCompleteInfo="${isShowBottomDetailPanel}" data-sourceCompleteInfo="${bindTo}" data-enableindeppanelcollaspe="${panelForMobileApprove.isSubCollapse ? true : false}" data-isindeppaneldefaultcollaspe="${panelForMobileApprove.isSubDefaultCollapse ? true : false}">
222
+ ${this.generateHeader(panelForMobileApprove)}
223
+ ${panelListRemarkHtml ? panelListRemarkHtml : ''}
224
+ ${this.getChildSummaryTemplate(panelForMobileApprove, bindTo)}
225
+ ${html !== `<div class="fm-apply-list"></div>` ?
226
+ `<div class="fm-apply-panel">
227
+ {{~model.formData.${bindTo} :itemData:itemIndex}}` : ""}
228
+ `;
229
+ let lastSection = `
230
+ ${html !== `<div class="fm-apply-list"></div>` ? `
231
+ {{~}}
232
+ </div>` : ""}
233
+ </div>
234
+ {{?}}
235
+ `;
236
+ html = firstSection + html + lastSection;
237
+ }
238
+ }
239
+ else {
240
+ if (componentRefEntity && toolhepler_1.ToolHelper.isArray(componentRefEntity.contents, false)) {
241
+ if (componentRefEntity.contents[0].isSubCollapse) {
242
+ options.isSubCollapse = true;
243
+ }
244
+ if (componentRefEntity.contents[0].isSubDefaultCollapse == false) {
245
+ options.isSubDefaultCollapse = false;
246
+ }
247
+ if (componentRefEntity.contents[0].isMainCollapse == true) {
248
+ options.isMainCollapse = true;
249
+ }
250
+ if (componentRefEntity.contents[0].isMainDefaultCollapse == true) {
251
+ options.isMainDefaultCollapse = true;
252
+ }
253
+ }
254
+ }
255
+ }
256
+ else {
257
+ logger_1.LoggerHelper.log(`can not find component , the id: ${value.component}`, logger_1.LoggerLevel.Warning);
258
+ }
259
+ }
260
+ else {
261
+ if (className == "FlowProcessForMobileApprove") {
262
+ if (value.visible.value) {
263
+ html = this.processInstanceConstant(value);
264
+ }
265
+ else {
266
+ html = "";
267
+ }
268
+ }
269
+ else if (className == "DetailHeaderForMobileApprove" && value.visible && value.visible.value == false) {
270
+ html = "";
271
+ }
272
+ else {
273
+ if (parentIsFrameComponent) {
274
+ value["parentIsFrameComponent"] = true;
275
+ }
276
+ html = this.domGenerator.generate({
277
+ templatePath: mobile_approve_templateconfig_1.mobileApproveTemplateConfig[className].template,
278
+ uiDom: value
279
+ });
280
+ }
281
+ }
282
+ if (className == "Component" && value && value.componentType == "Frame") {
283
+ parentIsFrameComponent = true;
284
+ }
285
+ else {
286
+ parentIsFrameComponent = false;
287
+ }
288
+ let subHtml;
289
+ if (value.contents && value.contents.length) {
290
+ subHtml = this.recursiveAssembleTemplate(null, value.contents, currentModuleJson, metaDataConfig, options, childDetailTemplate, childTablePrimary, parentIsFrameComponent);
291
+ }
292
+ if (subHtml && subHtml.length > 0) {
293
+ html = toolhepler_1.ToolHelper.replaceString(html, "{{content}}", subHtml);
294
+ }
295
+ else {
296
+ if (!subHtml) {
297
+ subHtml = "";
298
+ }
299
+ if (html && html.indexOf("{{content}}") >= 0) {
300
+ html = toolhepler_1.ToolHelper.replaceString(html, "{{content}}", subHtml);
301
+ }
302
+ }
303
+ return html;
304
+ }
305
+ else {
306
+ if (className != "TabToolbarItem" && className != "ModalContainer" && className != "TabToolbar") {
307
+ logger_1.LoggerHelper.log(`unknown ui template type,the type is :${className}`, logger_1.LoggerLevel.Warning);
308
+ }
309
+ }
310
+ return "";
311
+ }
312
+ _getTablePrimaryFieldByBindTo(entities, bindTo) {
313
+ if (!entities || entities.length === 0) {
314
+ return;
315
+ }
316
+ const splitIndex = bindTo.indexOf('/');
317
+ if (splitIndex > -1) {
318
+ bindTo = bindTo.slice(splitIndex + 1, bindTo.length);
319
+ }
320
+ for (const entity of entities) {
321
+ const entityType = entity.type;
322
+ if (!entityType) {
323
+ return "";
324
+ }
325
+ if (bindTo === '' || bindTo === entity.code || bindTo === entity.label) {
326
+ return entityType.primary;
327
+ }
328
+ if (entityType.entities && entityType.entities.length > 0) {
329
+ const fields = this._getTablePrimaryFieldByBindTo(entityType.entities, bindTo);
330
+ if (fields) {
331
+ return fields;
332
+ }
333
+ }
334
+ }
335
+ }
336
+ generatePanelForMobileContentHtml(panelForMobile, currentModuleJson, metaDataConfig, options, childDetailTemplate, childTablePrimary, parentIsFrameComponent) {
337
+ let generateString = "";
338
+ if (!panelForMobile) {
339
+ return generateString;
340
+ }
341
+ generateString = this.recursiveAssembleTemplate(null, panelForMobile.contents, currentModuleJson, metaDataConfig, options, childDetailTemplate, childTablePrimary, parentIsFrameComponent);
342
+ return generateString;
343
+ }
344
+ generateHeader(panelForMobileApprove) {
345
+ const showPresetTitle = panelForMobileApprove.showPresetTitle;
346
+ if (showPresetTitle) {
347
+ return this.generatePresetHeader(panelForMobileApprove);
348
+ }
349
+ else {
350
+ const panelListTitle = panelForMobileApprove.title;
351
+ const panelListHeaderHtml = panelForMobileApprove.headerHtml ? panelForMobileApprove.headerHtml : '';
352
+ const headerHtml = `<h5 class="panel-list--header-title header-title--with-icon">${this.generateHeaderIcon(panelForMobileApprove)}${panelListTitle ? panelListTitle : ""}</h5>`;
353
+ return `<div class="panel-list--header">
354
+ ${panelListHeaderHtml ? panelListHeaderHtml : headerHtml}
355
+ </div>`;
356
+ }
357
+ }
358
+ generatePresetHeader(panelForMobileApprove) {
359
+ const panelListTitle = panelForMobileApprove.title;
360
+ return `<div class="panel-list--header"><h5 class="panel-list--header-title header-title--with-icon"> <i class="fm-icon fm-icon-triangle"></i><span class="header-title-text">${panelListTitle}</span></h5></div>`;
361
+ }
362
+ generateHeaderIcon(panelForMobileApprove) {
363
+ if (!panelForMobileApprove.headerIcon) {
364
+ return "";
365
+ }
366
+ const generateString = ` <span class="img-round--wrapper ${(panelForMobileApprove.headerIcon && panelForMobileApprove.headerIcon.color) ? ("fm-bg-icon-" + panelForMobileApprove.headerIcon.color) : ""}">
367
+ <i class="fm-icon ${(panelForMobileApprove.headerIcon && panelForMobileApprove.headerIcon.icon) ? ("fm-icon-" + panelForMobileApprove.headerIcon.icon) : ""}"></i></span>`;
368
+ return generateString;
369
+ }
370
+ generateStaticTextForMobile(variable) {
371
+ const staticTextString = `
372
+ <div class=variable.panelCollapseVisible?"fm-apply-list-item fm-state-visible":"fm-apply-list-item">
373
+ <div class="fm-apply-list-item-label">
374
+ ${variable.title}
375
+ </div>
376
+ ${this.generateBindingModelName(variable)}
377
+
378
+ </div>
379
+ `;
380
+ return staticTextString;
381
+ }
382
+ generateBindingModelName(variable) {
383
+ let generateString = "";
384
+ if (variable.highlight) {
385
+ generateString += `
386
+ <div class="fm-apply-list-item-text fm-text-warning fm-weight">`;
387
+ }
388
+ else {
389
+ generateString += `
390
+ <div class="fm-apply-list-item-text ">`;
391
+ }
392
+ generateString += `{{=${variable.bindingModelName}}}`;
393
+ generateString += "</div>";
394
+ return generateString;
395
+ }
396
+ processInstanceConstant(value) {
397
+ let headerHtml = '';
398
+ if (value.showPresetTitle) {
399
+ headerHtml = `<div class="fm-apply-panel-list">${this.generatePresetHeader(value)}</div>`;
400
+ }
401
+ return `
402
+ <!--流程日志 BEGIN-->
403
+ <div class="fm-approve-flow-container">
404
+ ${headerHtml}
405
+ <div class="fm-approve-flow-wrapper">
406
+ {{~model.approvalLogsData :approvalLogGroup:approvalLogGroupIndex}}
407
+ <div class="fm-approve-flow-item {{? approvalLogGroup.isDone }} fm-approve-flow-item-approved {{?}}">
408
+ <div class="fm-approve-flow-item-header">
409
+ <div class="fm-approve-flow-item-header-inner">
410
+ <div class="fm-approve-flow-item-header-icon"><span class="fm-icon header-icon"></span></div>
411
+ <div class="fm-approve-flow-item-header-content">{{=approvalLogGroup.title}}</div>
412
+ </div>
413
+ <div class="fm-approve-flow-item-header-state">{{=approvalLogGroup.state}}</div>
414
+ </div>
415
+ {{~approvalLogGroup.approvalLogs :approvalLog:approvalLogIndex}}
416
+ <div class="fm-approve-flow-item-content">
417
+ <div class="fm-approve-flow-item-main">
418
+ <div class="fm-approve-flow-item-main-avatar">
419
+ <div class="fm-round-bg">
420
+ <span class="fm-round-bg-text">{{=format(bind(approvalLog, 'participantName'), {type: 'avatar'})}}</span>
421
+ </div>
422
+ <span class="fm-approve-flow-item-main-avatar-icon avatar-icon fm-icon "></span>
423
+ </div>
424
+ <div class="fm-approve-flow-item-main-text">
425
+ <div class="fm-approve-flow-item-main-text-title">{{=bind(approvalLog, 'participantName')}}</div>
426
+ <div class="fm-approve-flow-item-main-text-subtitle">{{=bind(approvalLog, 'message')}}</div>
427
+ </div>
428
+ </div>
429
+ <div class="fm-approve-flow-item-date">
430
+ {{=format(bind(approvalLog, 'operatorTime'), {type:'date', dateFormat:'MM/dd HH:mm'})}}
431
+ </div>
432
+ </div>
433
+ {{~}}
434
+ </div>
435
+ {{~}}
436
+ </div>
437
+ </div>
438
+ <!--流程日志 END-->`;
439
+ }
440
+ }
441
+ exports.RecursiveGenerateMobileApprove = RecursiveGenerateMobileApprove;
431
442
  //# sourceMappingURL=recuresive-generate-mobileapprove.js.map