@farris/jit-engine 1.4.10 → 1.4.12

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 (311) hide show
  1. package/README.md +4 -0
  2. package/lib/mobileapp/vue/code-generator/devkit-manager/app-indexvue-manager.js +2 -1
  3. package/lib/mobileapp/vue/code-generator/devkit-manager/app-indexvue-manager.js.map +1 -1
  4. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-index-vue-generator.js +6 -5
  5. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-index-vue-generator.js.map +1 -1
  6. package/lib/mobileapp/vue/domstructure/internal-entity/vue-app-index-vue-parameter.js.map +1 -1
  7. package/lib/mobileapp/vue/domstructure/ui/action-bar/action-bar.js +57 -0
  8. package/lib/mobileapp/vue/domstructure/ui/action-bar/action-bar.js.map +1 -0
  9. package/lib/mobileapp/vue/domstructure/ui/action-bar/index.js +14 -0
  10. package/lib/mobileapp/vue/domstructure/ui/action-bar/index.js.map +1 -0
  11. package/lib/mobileapp/vue/domstructure/ui/approval/approval-info.js +27 -0
  12. package/lib/mobileapp/vue/domstructure/ui/approval/approval-info.js.map +1 -0
  13. package/lib/mobileapp/vue/domstructure/ui/approval/approval-logs.js +46 -0
  14. package/lib/mobileapp/vue/domstructure/ui/approval/approval-logs.js.map +1 -0
  15. package/lib/mobileapp/vue/domstructure/ui/approval/index.js +15 -0
  16. package/lib/mobileapp/vue/domstructure/ui/approval/index.js.map +1 -0
  17. package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-entry.js +27 -0
  18. package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-entry.js.map +1 -0
  19. package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-file.js +29 -0
  20. package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-file.js.map +1 -0
  21. package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-uploader.js +27 -0
  22. package/lib/mobileapp/vue/domstructure/ui/attachment/attachment-uploader.js.map +1 -0
  23. package/lib/mobileapp/vue/domstructure/ui/attachment/attachment.js +29 -0
  24. package/lib/mobileapp/vue/domstructure/ui/attachment/attachment.js.map +1 -0
  25. package/lib/mobileapp/vue/domstructure/ui/attachment/image-uploader.js +27 -0
  26. package/lib/mobileapp/vue/domstructure/ui/attachment/image-uploader.js.map +1 -0
  27. package/lib/mobileapp/vue/domstructure/ui/attachment/index.js +18 -0
  28. package/lib/mobileapp/vue/domstructure/ui/attachment/index.js.map +1 -0
  29. package/lib/mobileapp/vue/domstructure/ui/banner/index.js +14 -0
  30. package/lib/mobileapp/vue/domstructure/ui/banner/index.js.map +1 -0
  31. package/lib/mobileapp/vue/domstructure/ui/banner/vue-banner.js +27 -0
  32. package/lib/mobileapp/vue/domstructure/ui/banner/vue-banner.js.map +1 -0
  33. package/lib/mobileapp/vue/domstructure/ui/basic/label/index.js +14 -0
  34. package/lib/mobileapp/vue/domstructure/ui/basic/label/index.js.map +1 -0
  35. package/lib/mobileapp/vue/domstructure/ui/basic/label/label.js +35 -0
  36. package/lib/mobileapp/vue/domstructure/ui/basic/label/label.js.map +1 -0
  37. package/lib/mobileapp/vue/domstructure/ui/basic/tag/index.js +14 -0
  38. package/lib/mobileapp/vue/domstructure/ui/basic/tag/index.js.map +1 -0
  39. package/lib/mobileapp/vue/domstructure/ui/basic/tag/tag.js +42 -0
  40. package/lib/mobileapp/vue/domstructure/ui/basic/tag/tag.js.map +1 -0
  41. package/lib/mobileapp/vue/domstructure/ui/button/button.js +27 -0
  42. package/lib/mobileapp/vue/domstructure/ui/button/button.js.map +1 -0
  43. package/lib/mobileapp/vue/domstructure/ui/button/index.js +14 -0
  44. package/lib/mobileapp/vue/domstructure/ui/button/index.js.map +1 -0
  45. package/lib/mobileapp/vue/domstructure/ui/calendar/calendar-input.js +28 -0
  46. package/lib/mobileapp/vue/domstructure/ui/calendar/calendar-input.js.map +1 -0
  47. package/lib/mobileapp/vue/domstructure/ui/calendar/calendar.js +27 -0
  48. package/lib/mobileapp/vue/domstructure/ui/calendar/calendar.js.map +1 -0
  49. package/lib/mobileapp/vue/domstructure/ui/calendar/index.js +16 -0
  50. package/lib/mobileapp/vue/domstructure/ui/calendar/index.js.map +1 -0
  51. package/lib/mobileapp/vue/domstructure/ui/calendar/schedule.js +32 -0
  52. package/lib/mobileapp/vue/domstructure/ui/calendar/schedule.js.map +1 -0
  53. package/lib/mobileapp/vue/domstructure/ui/card/card.js +45 -0
  54. package/lib/mobileapp/vue/domstructure/ui/card/card.js.map +1 -0
  55. package/lib/mobileapp/vue/domstructure/ui/card/index.js +14 -0
  56. package/lib/mobileapp/vue/domstructure/ui/card/index.js.map +1 -0
  57. package/lib/mobileapp/vue/domstructure/ui/checkbox/checkbox-group.js +32 -0
  58. package/lib/mobileapp/vue/domstructure/ui/checkbox/checkbox-group.js.map +1 -0
  59. package/lib/mobileapp/vue/domstructure/ui/checkbox/index.js +14 -0
  60. package/lib/mobileapp/vue/domstructure/ui/checkbox/index.js.map +1 -0
  61. package/lib/mobileapp/vue/domstructure/ui/common/vue-background.js +38 -0
  62. package/lib/mobileapp/vue/domstructure/ui/common/vue-background.js.map +1 -0
  63. package/lib/mobileapp/vue/domstructure/ui/common/vue-border-radius.js +29 -0
  64. package/lib/mobileapp/vue/domstructure/ui/common/vue-border-radius.js.map +1 -0
  65. package/lib/mobileapp/vue/domstructure/ui/common/vue-visible.js +57 -0
  66. package/lib/mobileapp/vue/domstructure/ui/common/vue-visible.js.map +1 -0
  67. package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-col.js +27 -0
  68. package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-col.js.map +1 -0
  69. package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-row.js +27 -0
  70. package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container-row.js.map +1 -0
  71. package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container.js +27 -0
  72. package/lib/mobileapp/vue/domstructure/ui/container/vue-layout-container.js.map +1 -0
  73. package/lib/mobileapp/vue/domstructure/ui/container/vue-template-container.js +28 -0
  74. package/lib/mobileapp/vue/domstructure/ui/container/vue-template-container.js.map +1 -0
  75. package/lib/mobileapp/vue/domstructure/ui/data/fields/form/display/index.js +14 -0
  76. package/lib/mobileapp/vue/domstructure/ui/data/fields/form/display/index.js.map +1 -0
  77. package/lib/mobileapp/vue/domstructure/ui/data/fields/form/display/vue-display-fiels.js +33 -0
  78. package/lib/mobileapp/vue/domstructure/ui/data/fields/form/display/vue-display-fiels.js.map +1 -0
  79. package/lib/mobileapp/vue/domstructure/ui/data/fields/form/index.js +15 -0
  80. package/lib/mobileapp/vue/domstructure/ui/data/fields/form/index.js.map +1 -0
  81. package/lib/mobileapp/vue/domstructure/ui/data/fields/form/vue-form-field.js +56 -0
  82. package/lib/mobileapp/vue/domstructure/ui/data/fields/form/vue-form-field.js.map +1 -0
  83. package/lib/mobileapp/vue/domstructure/ui/data/fields/index.js +14 -0
  84. package/lib/mobileapp/vue/domstructure/ui/data/fields/index.js.map +1 -0
  85. package/lib/mobileapp/vue/domstructure/ui/data/index.js +14 -0
  86. package/lib/mobileapp/vue/domstructure/ui/data/index.js.map +1 -0
  87. package/lib/mobileapp/vue/domstructure/ui/data/vue-data.js +38 -0
  88. package/lib/mobileapp/vue/domstructure/ui/data/vue-data.js.map +1 -0
  89. package/lib/mobileapp/vue/domstructure/ui/date-time-picker/date-picker.js +28 -0
  90. package/lib/mobileapp/vue/domstructure/ui/date-time-picker/date-picker.js.map +1 -0
  91. package/lib/mobileapp/vue/domstructure/ui/date-time-picker/index.js +14 -0
  92. package/lib/mobileapp/vue/domstructure/ui/date-time-picker/index.js.map +1 -0
  93. package/lib/mobileapp/vue/domstructure/ui/display/avatar/avatar.js +57 -0
  94. package/lib/mobileapp/vue/domstructure/ui/display/avatar/avatar.js.map +1 -0
  95. package/lib/mobileapp/vue/domstructure/ui/display/avatar/index.js +14 -0
  96. package/lib/mobileapp/vue/domstructure/ui/display/avatar/index.js.map +1 -0
  97. package/lib/mobileapp/vue/domstructure/ui/display/show-image/index.js +14 -0
  98. package/lib/mobileapp/vue/domstructure/ui/display/show-image/index.js.map +1 -0
  99. package/lib/mobileapp/vue/domstructure/ui/display/show-image/show-image.js +46 -0
  100. package/lib/mobileapp/vue/domstructure/ui/display/show-image/show-image.js.map +1 -0
  101. package/lib/mobileapp/vue/domstructure/ui/display/text/index.js +14 -0
  102. package/lib/mobileapp/vue/domstructure/ui/display/text/index.js.map +1 -0
  103. package/lib/mobileapp/vue/domstructure/ui/display/text/vue-text.js +47 -0
  104. package/lib/mobileapp/vue/domstructure/ui/display/text/vue-text.js.map +1 -0
  105. package/lib/mobileapp/vue/domstructure/ui/field-set/field-set.js +42 -0
  106. package/lib/mobileapp/vue/domstructure/ui/field-set/field-set.js.map +1 -0
  107. package/lib/mobileapp/vue/domstructure/ui/field-set/index.js +14 -0
  108. package/lib/mobileapp/vue/domstructure/ui/field-set/index.js.map +1 -0
  109. package/lib/mobileapp/vue/domstructure/ui/filter/filter.js +41 -0
  110. package/lib/mobileapp/vue/domstructure/ui/filter/filter.js.map +1 -0
  111. package/lib/mobileapp/vue/domstructure/ui/filter/index.js +14 -0
  112. package/lib/mobileapp/vue/domstructure/ui/filter/index.js.map +1 -0
  113. package/lib/mobileapp/vue/domstructure/ui/footer/footer.js +42 -0
  114. package/lib/mobileapp/vue/domstructure/ui/footer/footer.js.map +1 -0
  115. package/lib/mobileapp/vue/domstructure/ui/footer/index.js +14 -0
  116. package/lib/mobileapp/vue/domstructure/ui/footer/index.js.map +1 -0
  117. package/lib/mobileapp/vue/domstructure/ui/html-preview/html-preview.js +27 -0
  118. package/lib/mobileapp/vue/domstructure/ui/html-preview/html-preview.js.map +1 -0
  119. package/lib/mobileapp/vue/domstructure/ui/html-preview/index.js +14 -0
  120. package/lib/mobileapp/vue/domstructure/ui/html-preview/index.js.map +1 -0
  121. package/lib/mobileapp/vue/domstructure/ui/html-template/html-template.js +27 -0
  122. package/lib/mobileapp/vue/domstructure/ui/html-template/html-template.js.map +1 -0
  123. package/lib/mobileapp/vue/domstructure/ui/html-template/index.js +14 -0
  124. package/lib/mobileapp/vue/domstructure/ui/html-template/index.js.map +1 -0
  125. package/lib/mobileapp/vue/domstructure/ui/image/image.js +27 -0
  126. package/lib/mobileapp/vue/domstructure/ui/image/image.js.map +1 -0
  127. package/lib/mobileapp/vue/domstructure/ui/image/index.js +14 -0
  128. package/lib/mobileapp/vue/domstructure/ui/image/index.js.map +1 -0
  129. package/lib/mobileapp/vue/domstructure/ui/list-view/index.js +14 -0
  130. package/lib/mobileapp/vue/domstructure/ui/list-view/index.js.map +1 -0
  131. package/lib/mobileapp/vue/domstructure/ui/list-view/vue-list-view.js +39 -0
  132. package/lib/mobileapp/vue/domstructure/ui/list-view/vue-list-view.js.map +1 -0
  133. package/lib/mobileapp/vue/domstructure/ui/lookup/index.js +16 -0
  134. package/lib/mobileapp/vue/domstructure/ui/lookup/index.js.map +1 -0
  135. package/lib/mobileapp/vue/domstructure/ui/lookup/lookup-department.js +27 -0
  136. package/lib/mobileapp/vue/domstructure/ui/lookup/lookup-department.js.map +1 -0
  137. package/lib/mobileapp/vue/domstructure/ui/lookup/lookup-employee.js +27 -0
  138. package/lib/mobileapp/vue/domstructure/ui/lookup/lookup-employee.js.map +1 -0
  139. package/lib/mobileapp/vue/domstructure/ui/lookup/lookup-input.js +33 -0
  140. package/lib/mobileapp/vue/domstructure/ui/lookup/lookup-input.js.map +1 -0
  141. package/lib/mobileapp/vue/domstructure/ui/nav-bar/index.js +14 -0
  142. package/lib/mobileapp/vue/domstructure/ui/nav-bar/index.js.map +1 -0
  143. package/lib/mobileapp/vue/domstructure/ui/nav-bar/vue-nav-bar.js +45 -0
  144. package/lib/mobileapp/vue/domstructure/ui/nav-bar/vue-nav-bar.js.map +1 -0
  145. package/lib/mobileapp/vue/domstructure/ui/number/index.js +14 -0
  146. package/lib/mobileapp/vue/domstructure/ui/number/index.js.map +1 -0
  147. package/lib/mobileapp/vue/domstructure/ui/number/number.js +27 -0
  148. package/lib/mobileapp/vue/domstructure/ui/number/number.js.map +1 -0
  149. package/lib/mobileapp/vue/domstructure/ui/picker/area-picker.js +27 -0
  150. package/lib/mobileapp/vue/domstructure/ui/picker/area-picker.js.map +1 -0
  151. package/lib/mobileapp/vue/domstructure/ui/picker/index.js +15 -0
  152. package/lib/mobileapp/vue/domstructure/ui/picker/index.js.map +1 -0
  153. package/lib/mobileapp/vue/domstructure/ui/picker/picker.js +27 -0
  154. package/lib/mobileapp/vue/domstructure/ui/picker/picker.js.map +1 -0
  155. package/lib/mobileapp/vue/domstructure/ui/radio/index.js +14 -0
  156. package/lib/mobileapp/vue/domstructure/ui/radio/index.js.map +1 -0
  157. package/lib/mobileapp/vue/domstructure/ui/radio/radio-group.js +32 -0
  158. package/lib/mobileapp/vue/domstructure/ui/radio/radio-group.js.map +1 -0
  159. package/lib/mobileapp/vue/domstructure/ui/rich-text-editor/index.js +14 -0
  160. package/lib/mobileapp/vue/domstructure/ui/rich-text-editor/index.js.map +1 -0
  161. package/lib/mobileapp/vue/domstructure/ui/rich-text-editor/rich-text-editor.js +27 -0
  162. package/lib/mobileapp/vue/domstructure/ui/rich-text-editor/rich-text-editor.js.map +1 -0
  163. package/lib/mobileapp/vue/domstructure/ui/section/index.js +14 -0
  164. package/lib/mobileapp/vue/domstructure/ui/section/index.js.map +1 -0
  165. package/lib/mobileapp/vue/domstructure/ui/section/vue-section.js +46 -0
  166. package/lib/mobileapp/vue/domstructure/ui/section/vue-section.js.map +1 -0
  167. package/lib/mobileapp/vue/domstructure/ui/sidebar/index.js +15 -0
  168. package/lib/mobileapp/vue/domstructure/ui/sidebar/index.js.map +1 -0
  169. package/lib/mobileapp/vue/domstructure/ui/sidebar/sidebar-item.js +42 -0
  170. package/lib/mobileapp/vue/domstructure/ui/sidebar/sidebar-item.js.map +1 -0
  171. package/lib/mobileapp/vue/domstructure/ui/sidebar/sidebar.js +42 -0
  172. package/lib/mobileapp/vue/domstructure/ui/sidebar/sidebar.js.map +1 -0
  173. package/lib/mobileapp/vue/domstructure/ui/staff-info/index.js +14 -0
  174. package/lib/mobileapp/vue/domstructure/ui/staff-info/index.js.map +1 -0
  175. package/lib/mobileapp/vue/domstructure/ui/staff-info/staff-info.js +49 -0
  176. package/lib/mobileapp/vue/domstructure/ui/staff-info/staff-info.js.map +1 -0
  177. package/lib/mobileapp/vue/domstructure/ui/static-text/index.js +14 -0
  178. package/lib/mobileapp/vue/domstructure/ui/static-text/index.js.map +1 -0
  179. package/lib/mobileapp/vue/domstructure/ui/static-text/static-text.js +27 -0
  180. package/lib/mobileapp/vue/domstructure/ui/static-text/static-text.js.map +1 -0
  181. package/lib/mobileapp/vue/domstructure/ui/switch/index.js +14 -0
  182. package/lib/mobileapp/vue/domstructure/ui/switch/index.js.map +1 -0
  183. package/lib/mobileapp/vue/domstructure/ui/switch/switch-input.js +27 -0
  184. package/lib/mobileapp/vue/domstructure/ui/switch/switch-input.js.map +1 -0
  185. package/lib/mobileapp/vue/domstructure/ui/tab/index.js +16 -0
  186. package/lib/mobileapp/vue/domstructure/ui/tab/index.js.map +1 -0
  187. package/lib/mobileapp/vue/domstructure/ui/tab/vue-tab-bar.js +33 -0
  188. package/lib/mobileapp/vue/domstructure/ui/tab/vue-tab-bar.js.map +1 -0
  189. package/lib/mobileapp/vue/domstructure/ui/tab/vue-tab-page.js +45 -0
  190. package/lib/mobileapp/vue/domstructure/ui/tab/vue-tab-page.js.map +1 -0
  191. package/lib/mobileapp/vue/domstructure/ui/tab/vue-tabs.js +45 -0
  192. package/lib/mobileapp/vue/domstructure/ui/tab/vue-tabs.js.map +1 -0
  193. package/lib/mobileapp/vue/domstructure/ui/text-area/index.js +14 -0
  194. package/lib/mobileapp/vue/domstructure/ui/text-area/index.js.map +1 -0
  195. package/lib/mobileapp/vue/domstructure/ui/text-area/text-area.js +37 -0
  196. package/lib/mobileapp/vue/domstructure/ui/text-area/text-area.js.map +1 -0
  197. package/lib/mobileapp/vue/domstructure/ui/text-box/index.js +17 -0
  198. package/lib/mobileapp/vue/domstructure/ui/text-box/index.js.map +1 -0
  199. package/lib/mobileapp/vue/domstructure/ui/text-box/text-box-external.js +27 -0
  200. package/lib/mobileapp/vue/domstructure/ui/text-box/text-box-external.js.map +1 -0
  201. package/lib/mobileapp/vue/domstructure/ui/text-box/text-box.js +27 -0
  202. package/lib/mobileapp/vue/domstructure/ui/text-box/text-box.js.map +1 -0
  203. package/lib/mobileapp/vue/domstructure/ui/text-box/text-scan.js +27 -0
  204. package/lib/mobileapp/vue/domstructure/ui/text-box/text-scan.js.map +1 -0
  205. package/lib/mobileapp/vue/domstructure/ui/text-box/text-telphone.js +27 -0
  206. package/lib/mobileapp/vue/domstructure/ui/text-box/text-telphone.js.map +1 -0
  207. package/lib/mobileapp/vue/domstructure/ui/toolbar/index.js +16 -0
  208. package/lib/mobileapp/vue/domstructure/ui/toolbar/index.js.map +1 -0
  209. package/lib/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar-area.js +35 -0
  210. package/lib/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar-area.js.map +1 -0
  211. package/lib/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar-item.js +32 -0
  212. package/lib/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar-item.js.map +1 -0
  213. package/lib/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar.js +42 -0
  214. package/lib/mobileapp/vue/domstructure/ui/toolbar/vue-toolbar.js.map +1 -0
  215. package/lib/mobileapp/vue/domstructure/ui/vue-input-component.js +81 -0
  216. package/lib/mobileapp/vue/domstructure/ui/vue-input-component.js.map +1 -0
  217. package/lib/mobileapp/vue/internal-entity/i-project-data.js +3 -0
  218. package/lib/mobileapp/vue/internal-entity/i-project-data.js.map +1 -0
  219. package/lib/mobileapp/vue/internal-entity/page-flow/index.js +14 -0
  220. package/lib/mobileapp/vue/internal-entity/page-flow/index.js.map +1 -0
  221. package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-convertor.js +11 -0
  222. package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-convertor.js.map +1 -0
  223. package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-entity.js +44 -0
  224. package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-entity.js.map +1 -0
  225. package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-page.js +27 -0
  226. package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-page.js.map +1 -0
  227. package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-project.js +27 -0
  228. package/lib/mobileapp/vue/internal-entity/page-flow/vue-page-flow-project.js.map +1 -0
  229. package/lib/mobileapp/vue/internal-entity/vue-app-index-vue-parameter.js +7 -0
  230. package/lib/mobileapp/vue/internal-entity/vue-app-index-vue-parameter.js.map +1 -0
  231. package/lib/mobileapp/vue/internal-entity/vue-app-router-entity.js +15 -0
  232. package/lib/mobileapp/vue/internal-entity/vue-app-router-entity.js.map +1 -0
  233. package/lib/mobileapp/vue/internal-entity/vue-engine-context.js +7 -0
  234. package/lib/mobileapp/vue/internal-entity/vue-engine-context.js.map +1 -0
  235. package/lib/mobileapp/vue/internal-entity/vue-page-component-generate-parameter.js +7 -0
  236. package/lib/mobileapp/vue/internal-entity/vue-page-component-generate-parameter.js.map +1 -0
  237. package/lib/mobileapp/vue/utility/devkit/vue-viewmodels-creator.js +1 -0
  238. package/lib/mobileapp/vue/utility/devkit/vue-viewmodels-creator.js.map +1 -1
  239. package/lib/template/ui/mobileapprove/content-container.pug +6 -3
  240. package/lib/template/ui/mobileapprove/detailheader-for-mobileapprove.pug +2 -1
  241. package/lib/template/ui/mobileapprove/panel-for-mobileapprove.pug +8 -0
  242. package/lib/template/ui/mobileapprove/statictext-for-mobileapprove.pug +15 -20
  243. package/lib/template/ui/mobilevue/area-picker.pug +53 -0
  244. package/lib/template/ui/mobilevue/avatar.pug +19 -0
  245. package/lib/template/ui/mobilevue/common/text-common.pug +80 -0
  246. package/lib/template/ui/mobilevue/fm-staff-info.pug +10 -0
  247. package/lib/template/ui/mobilevue/footer.pug +10 -0
  248. package/lib/template/ui/mobilevue/label.pug +12 -0
  249. package/lib/template/ui/mobilevue/layout-container-col.pug +11 -0
  250. package/lib/template/ui/mobilevue/layout-container-row.pug +12 -0
  251. package/lib/template/ui/mobilevue/layout-container.pug +11 -0
  252. package/lib/template/ui/mobilevue/page-content-container.pug +10 -0
  253. package/lib/template/ui/mobilevue/page-footer-container.pug +10 -0
  254. package/lib/template/ui/mobilevue/page-header-container.pug +10 -0
  255. package/lib/template/ui/mobilevue/show-image.pug +22 -0
  256. package/lib/template/ui/mobilevue/tag.pug +33 -0
  257. package/lib/template/ui/mobilevue/text.pug +118 -0
  258. package/lib/template/ui/mobilevue/vant-tabpage.pug +6 -0
  259. package/lib/template/ui/mobilevue/vant-tabs.pug +6 -0
  260. package/lib/utility/mobile-approve/config-helper/form-jsonfile-reader.js +16 -16
  261. package/lib/utility/mobile-approve/config-helper/formatter-function-generator.js +67 -67
  262. package/lib/utility/mobile-approve/entity/attachment-panel-for-mobileapprove.js +51 -51
  263. package/lib/utility/mobile-approve/entity/base-mobile-approve.js +36 -36
  264. package/lib/utility/mobile-approve/entity/binding.js +25 -25
  265. package/lib/utility/mobile-approve/entity/child-detail-template.js +10 -10
  266. package/lib/utility/mobile-approve/entity/child-table-primary-relation.js +6 -6
  267. package/lib/utility/mobile-approve/entity/component-ref.js +33 -33
  268. package/lib/utility/mobile-approve/entity/component.js +55 -55
  269. package/lib/utility/mobile-approve/entity/content-container.js +61 -42
  270. package/lib/utility/mobile-approve/entity/content-container.js.map +1 -1
  271. package/lib/utility/mobile-approve/entity/detail-header-for-mobileapprove.js +123 -122
  272. package/lib/utility/mobile-approve/entity/detail-header-for-mobileapprove.js.map +1 -1
  273. package/lib/utility/mobile-approve/entity/detail-header-item.js +32 -32
  274. package/lib/utility/mobile-approve/entity/field-binding-parameter.js +24 -24
  275. package/lib/utility/mobile-approve/entity/fieldset-for-mobileapprove.js +42 -42
  276. package/lib/utility/mobile-approve/entity/fieldset-for-mobileapprove.js.map +1 -1
  277. package/lib/utility/mobile-approve/entity/flow-process-for-mobileapprove.js +34 -34
  278. package/lib/utility/mobile-approve/entity/flow-process-for-mobileapprove.js.map +1 -1
  279. package/lib/utility/mobile-approve/entity/html-panel-for-mobileapprove.js +48 -48
  280. package/lib/utility/mobile-approve/entity/html-template.js +25 -25
  281. package/lib/utility/mobile-approve/entity/index.js +31 -27
  282. package/lib/utility/mobile-approve/entity/index.js.map +1 -1
  283. package/lib/utility/mobile-approve/entity/module.js +39 -39
  284. package/lib/utility/mobile-approve/entity/panel-for-mobileapprove.js +101 -101
  285. package/lib/utility/mobile-approve/entity/panel-for-mobileapprove.js.map +1 -1
  286. package/lib/utility/mobile-approve/entity/panel-item-for-mobileapprove.js +38 -38
  287. package/lib/utility/mobile-approve/entity/person-avatar.js +24 -24
  288. package/lib/utility/mobile-approve/entity/static-text-for-mobileapprove.js +71 -71
  289. package/lib/utility/mobile-approve/entity/static-text-for-mobileapprove.js.map +1 -1
  290. package/lib/utility/mobile-approve/generator/dom-generator.js +20 -20
  291. package/lib/utility/mobile-approve/mobile-approve-manager.js +54 -50
  292. package/lib/utility/mobile-approve/mobile-approve-manager.js.map +1 -1
  293. package/lib/utility/mobile-approve/recuresive-generate-mobileapprove.js +442 -430
  294. package/lib/utility/mobile-approve/recuresive-generate-mobileapprove.js.map +1 -1
  295. package/lib/utility/mobile-approve/template-generator/abstract-template-generator.js +6 -6
  296. package/lib/utility/mobile-approve/template-generator/component-template-generator.js +10 -10
  297. package/lib/utility/mobile-approve/template-generator/content-container-template-generator.js +10 -10
  298. package/lib/utility/mobile-approve/template-generator/detailheader-for-mobileapprove-template-generator.js +10 -10
  299. package/lib/utility/mobile-approve/template-generator/i-template-generator.js +2 -2
  300. package/lib/utility/mobile-approve/template-generator/index-html-generator.js +585 -582
  301. package/lib/utility/mobile-approve/template-generator/index-html-generator.js.map +1 -1
  302. package/lib/utility/mobile-approve/template-generator/index.js +17 -13
  303. package/lib/utility/mobile-approve/template-generator/index.js.map +1 -1
  304. package/lib/utility/mobile-approve/template-generator/mobile-approve-templateconfig.js +39 -39
  305. package/lib/utility/mobile-approve/template-generator/panel-for-mobileapprove-template-generator.js +10 -10
  306. package/lib/utility/mobile-approve/template-generator/static-text-for-mobileapprove-template-generator.js +10 -10
  307. package/lib/utility/mobile-approve/template-generator/template-generator-factory.js +39 -39
  308. package/lib/utility/mobile-approve/template-generator/template-generator-manager.js +31 -31
  309. package/lib/utility/mobile-approve/template-generator/template-generator-type.js +11 -11
  310. package/package.json +1 -1
  311. package/lib/mobileapp/vue/static/.gitignore +0 -13
@@ -0,0 +1,118 @@
1
+ -var enableLabel = variable.enableLabel
2
+ -var attrs = {};
3
+ -attrs.class = variable.appearance && variable.appearance.class ?variable.appearance.class:'';
4
+ -attrs.style = variable.appearance && variable.appearance.style?variable.appearance.style:'';
5
+ -attrs.id = variable.replacedId? String(variable.replacedId) : undefined
6
+ -var visible = variable.visible ? String(variable.visible.value) : 'false';
7
+ -var binding = variable.binding? variable.binding : undefined
8
+ -var fontSize = variable.fontSize? String(variable.fontSize) : undefined
9
+ -var lineHeight = variable.lineHeight? String(variable.lineHeight) : undefined
10
+ -var textColor = variable.textColor? String(variable.textColor) : undefined
11
+ -var formatter = variable.formatter ? variable.formatter:{}
12
+ -var displayType = variable.displayType? String(variable.displayType) : undefined
13
+ -var formatterType = 'string'
14
+ -var valueStr = ''
15
+ -var formBindingPrefix = variable.formBindingPrefix? String(variable.formBindingPrefix):undefined
16
+ -var wrapPosition = variable.wrapPosition? variable.wrapPosition : undefined
17
+
18
+ -var label = variable.label
19
+ -var labelAppearance = variable.labelAppearance;
20
+ -var labelSize = variable.labelSize
21
+ -var labelFontSize = variable.labelFontSize
22
+ -var labelLineHeight = variable.labelLineHeight
23
+ -var labelColor = variable.labelColor
24
+ -var labelattrs = {};
25
+ -labelattrs.class = 'fm-common-label ';
26
+ -labelattrs.class += variable.labelAppearance && variable.labelAppearance.class ?variable.labelAppearance.class:'';
27
+ -labelattrs.style = variable.labelAppearance && variable.labelAppearance.style?variable.labelAppearance.style:'';
28
+
29
+
30
+ //--启用标签时,文本的样式
31
+ -var textCls = 'fm-common-text '
32
+
33
+ //--样式class
34
+ -attrs.class = `fm-common-field ${attrs.class} `
35
+ -attrs.class += displayType && displayType.startsWith('title-') ? 'fm-common-title':''
36
+ if(displayType)
37
+ -attrs.class += ` fm-${displayType}`
38
+
39
+ if(enableLabel && wrapPosition === 'afterLabel')
40
+ -attrs.class += ' d-flex ';
41
+
42
+ if(binding && binding.type)
43
+ if(binding.type === 'Const')
44
+ -valueStr = `'${binding.value}'`;
45
+ if(binding.type === 'Form')
46
+ -valueStr = `${formBindingPrefix}${binding.bindingPath}`;
47
+ if(binding.type === 'LocaleVariable' || binding.type === 'RemoteVariable')
48
+ -valueStr = `uiState.${binding.code}`;
49
+
50
+ -var labelContent = ''
51
+ if(enableLabel)
52
+ if(typeof label==='string')
53
+ -labelContent = `${label}`;
54
+ else if(label && typeof label==='object' && label.fullPath)
55
+ -labelContent = `{{ uiState.${label.fullPath} }}`;
56
+ else
57
+ -labelContent = '';
58
+
59
+ if(formatter && formatter.type)
60
+ -formatterType = formatter.type
61
+ -delete formatter.type
62
+
63
+ -var content = `{{$formatUtils.${formatterType}(${valueStr},${JSON.stringify(formatter)})}}`
64
+
65
+
66
+ //--样式
67
+ if(attrs.style)
68
+ -attrs.style += `;`
69
+
70
+ if(textColor)
71
+ -attrs.style += ` color:${textColor};`
72
+
73
+ //--内容
74
+ if(variable.size && variable.size.width)
75
+ -attrs.style += `width:${variable.size.width}px;`
76
+
77
+
78
+ if(variable.size && variable.size.height)
79
+ -attrs.style += `height:${variable.size.height}px;`
80
+
81
+ if(fontSize)
82
+ -attrs.style += `font-size:${fontSize}px;`
83
+
84
+ if(lineHeight)
85
+ -attrs.style += `line-height:${lineHeight}px;`
86
+
87
+ //--标签样式
88
+ if(enableLabel)
89
+ if(labelattrs.style)
90
+ -labelattrs.style += `;`
91
+
92
+ if(labelColor)
93
+ -labelattrs.style += ` color:${labelColor};`
94
+
95
+ if(variable.labelSize && variable.labelSize.width)
96
+ -labelattrs.style += `width:${variable.labelSize.width}px;`
97
+
98
+
99
+ if(variable.labelSize && variable.labelSize.height)
100
+ -labelattrs.style += `height:${variable.labelSize.height}px;`
101
+
102
+ if(labelFontSize)
103
+ -labelattrs.style += `font-size:${labelFontSize}px;`
104
+
105
+ if(labelLineHeight)
106
+ -labelattrs.style += `line-height:${labelLineHeight}px;`
107
+
108
+ div(
109
+ v-if=visible
110
+ )&attributes(attrs)
111
+ if(enableLabel)
112
+ label()&attributes(labelattrs)
113
+ | !{labelContent}
114
+
115
+ span(
116
+ class=textCls
117
+ )
118
+ | !{content}
@@ -0,0 +1,6 @@
1
+ van-tab(
2
+ v-if=variable.visible?variable.visible+"":"false"
3
+ title=variable.title?""+variable.title:undefined
4
+ name=variable.id?""+variable.id:undefined
5
+ )
6
+ | {{content}}
@@ -0,0 +1,6 @@
1
+ van-tabs(
2
+ class=(variable.appearance && variable.appearance.class)
3
+ v-if=variable.visible?variable.visible+"":"false"
4
+ @change=variable.tabChange?""+variable.tabChange:undefined
5
+ )
6
+ | {{content}}
@@ -1,17 +1,17 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FormJsonFileReader = void 0;
4
- const directory_file_helper_1 = require("../../../utility/directory-file-helper");
5
- const logger_1 = require("../../logger");
6
- class FormJsonFileReader {
7
- static read(formJsonFilePath) {
8
- if (directory_file_helper_1.DirectoryFileHelper.isExists(formJsonFilePath)) {
9
- return directory_file_helper_1.DirectoryFileHelper.readJSONFile(formJsonFilePath);
10
- }
11
- else {
12
- logger_1.LoggerHelper.log(`can not find mobile approve form file, the path is ${formJsonFilePath}`, logger_1.LoggerLevel.Error);
13
- }
14
- }
15
- }
16
- exports.FormJsonFileReader = FormJsonFileReader;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FormJsonFileReader = void 0;
4
+ const directory_file_helper_1 = require("../../../utility/directory-file-helper");
5
+ const logger_1 = require("../../logger");
6
+ class FormJsonFileReader {
7
+ static read(formJsonFilePath) {
8
+ if (directory_file_helper_1.DirectoryFileHelper.isExists(formJsonFilePath)) {
9
+ return directory_file_helper_1.DirectoryFileHelper.readJSONFile(formJsonFilePath);
10
+ }
11
+ else {
12
+ logger_1.LoggerHelper.log(`can not find mobile approve form file, the path is ${formJsonFilePath}`, logger_1.LoggerLevel.Error);
13
+ }
14
+ }
15
+ }
16
+ exports.FormJsonFileReader = FormJsonFileReader;
17
17
  //# sourceMappingURL=form-jsonfile-reader.js.map
@@ -1,68 +1,68 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.FormatterFunctionGenerator = void 0;
4
- class FormatterFunctionGenerator {
5
- static generate(variable, functionModelName) {
6
- if (!variable) {
7
- return;
8
- }
9
- const dataType = variable.dataType;
10
- const functionFormatPrefix = "format";
11
- const specificFormat = variable.format || {};
12
- let sourceData;
13
- let functionFormatType;
14
- switch (dataType) {
15
- case "Number":
16
- functionFormatType = "number";
17
- if (variable.sourceDataName) {
18
- sourceData = variable.sourceDataName;
19
- }
20
- break;
21
- case "Date":
22
- functionFormatType = "date";
23
- break;
24
- case "Enum":
25
- functionFormatType = "enum";
26
- specificFormat["enumData"] = variable["enumData"];
27
- specificFormat["type"] = "enum";
28
- specificFormat["multipleSelect"] = variable["multipleSelect"];
29
- specificFormat["multipleSelectSeparator"] = variable["multipleSelectSeparator"];
30
- break;
31
- case "String":
32
- functionFormatType = "string";
33
- break;
34
- case "Boolean":
35
- functionFormatType = "boolean";
36
- break;
37
- case "hide":
38
- functionFormatType = "hide";
39
- if (variable.sourceDataName) {
40
- sourceData = variable.sourceDataName;
41
- }
42
- specificFormat["type"] = "hide";
43
- specificFormat["hideFunc"] = variable["hideFunc"];
44
- break;
45
- default:
46
- break;
47
- }
48
- if (functionFormatType === "hide") {
49
- let strSpecificFormat = specificFormat ? JSON.stringify(specificFormat) : "{}";
50
- if (sourceData) {
51
- const subSpecificFormat = strSpecificFormat.substring(strSpecificFormat.indexOf("{") + 1);
52
- strSpecificFormat = "{\"sourceData\": " + sourceData + "," + "\"sourceModel\": " + "model" + (specificFormat ? "," : "") + subSpecificFormat;
53
- }
54
- return `{{=${functionFormatPrefix}(${functionModelName},${strSpecificFormat})}}`;
55
- }
56
- if (functionFormatType) {
57
- let strSpecificFormat = specificFormat ? JSON.stringify(specificFormat) : "{}";
58
- if (sourceData) {
59
- const subSpecificFormat = strSpecificFormat.substring(strSpecificFormat.indexOf("{") + 1);
60
- strSpecificFormat = "{ \"sourceData\": " + sourceData + (specificFormat ? "," : "") + subSpecificFormat;
61
- }
62
- return `${functionFormatPrefix}(${functionModelName},${strSpecificFormat})`;
63
- }
64
- return functionModelName;
65
- }
66
- }
67
- exports.FormatterFunctionGenerator = FormatterFunctionGenerator;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.FormatterFunctionGenerator = void 0;
4
+ class FormatterFunctionGenerator {
5
+ static generate(variable, functionModelName) {
6
+ if (!variable) {
7
+ return;
8
+ }
9
+ const dataType = variable.dataType;
10
+ const functionFormatPrefix = "format";
11
+ const specificFormat = variable.format || {};
12
+ let sourceData;
13
+ let functionFormatType;
14
+ switch (dataType) {
15
+ case "Number":
16
+ functionFormatType = "number";
17
+ if (variable.sourceDataName) {
18
+ sourceData = variable.sourceDataName;
19
+ }
20
+ break;
21
+ case "Date":
22
+ functionFormatType = "date";
23
+ break;
24
+ case "Enum":
25
+ functionFormatType = "enum";
26
+ specificFormat["enumData"] = variable["enumData"];
27
+ specificFormat["type"] = "enum";
28
+ specificFormat["multipleSelect"] = variable["multipleSelect"];
29
+ specificFormat["multipleSelectSeparator"] = variable["multipleSelectSeparator"];
30
+ break;
31
+ case "String":
32
+ functionFormatType = "string";
33
+ break;
34
+ case "Boolean":
35
+ functionFormatType = "boolean";
36
+ break;
37
+ case "hide":
38
+ functionFormatType = "hide";
39
+ if (variable.sourceDataName) {
40
+ sourceData = variable.sourceDataName;
41
+ }
42
+ specificFormat["type"] = "hide";
43
+ specificFormat["hideFunc"] = variable["hideFunc"];
44
+ break;
45
+ default:
46
+ break;
47
+ }
48
+ if (functionFormatType === "hide") {
49
+ let strSpecificFormat = specificFormat ? JSON.stringify(specificFormat) : "{}";
50
+ if (sourceData) {
51
+ const subSpecificFormat = strSpecificFormat.substring(strSpecificFormat.indexOf("{") + 1);
52
+ strSpecificFormat = "{\"sourceData\": " + sourceData + "," + "\"sourceModel\": " + "model" + (specificFormat ? "," : "") + subSpecificFormat;
53
+ }
54
+ return `{{=${functionFormatPrefix}(${functionModelName},${strSpecificFormat})}}`;
55
+ }
56
+ if (functionFormatType) {
57
+ let strSpecificFormat = specificFormat ? JSON.stringify(specificFormat) : "{}";
58
+ if (sourceData) {
59
+ const subSpecificFormat = strSpecificFormat.substring(strSpecificFormat.indexOf("{") + 1);
60
+ strSpecificFormat = "{ \"sourceData\": " + sourceData + (specificFormat ? "," : "") + subSpecificFormat;
61
+ }
62
+ return `${functionFormatPrefix}(${functionModelName},${strSpecificFormat})`;
63
+ }
64
+ return functionModelName;
65
+ }
66
+ }
67
+ exports.FormatterFunctionGenerator = FormatterFunctionGenerator;
68
68
  //# sourceMappingURL=formatter-function-generator.js.map
@@ -1,52 +1,52 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.AttachmentPanelForMobileApprove = void 0;
4
- const toolhepler_1 = require("../../toolhepler");
5
- const mobile_approve_manager_1 = require("../mobile-approve-manager");
6
- const base_mobile_approve_1 = require("./base-mobile-approve");
7
- const panel_for_mobileapprove_1 = require("./panel-for-mobileapprove");
8
- class AttachmentPanelForMobileApprove extends base_mobile_approve_1.BaseMobileApprove {
9
- constructor(param) {
10
- super(param);
11
- this.type = "AttachmentPanelForMobileApprove";
12
- let obj;
13
- if (typeof param === 'string') {
14
- obj = JSON.parse(param);
15
- }
16
- else {
17
- obj = param;
18
- }
19
- if (!obj) {
20
- return;
21
- }
22
- const keys = 'contents,title,attachmentIdField,attachmentNameField,attachmentRootId,headerIcon,bindTo,enableDownloadAttachment,enablePreviewFileConfig';
23
- Object.keys(obj).forEach(key => {
24
- if (keys.includes(key)) {
25
- if (key == "contents") {
26
- this.contents = [];
27
- if (toolhepler_1.ToolHelper.isArray(obj[key], false)) {
28
- obj[key].forEach((item) => {
29
- const dom = mobile_approve_manager_1.MobileApproveManager.createObjectType(item["type"]);
30
- if (dom) {
31
- this.contents.push(new dom(item));
32
- }
33
- });
34
- }
35
- }
36
- else if (key == "headerIcon") {
37
- if (obj[key]) {
38
- this[key] = new panel_for_mobileapprove_1.HeaderIcon(obj[key]);
39
- }
40
- }
41
- else if (key == "enablePreviewFileConfig") {
42
- this[key] = obj[key] ? JSON.stringify(obj[key]) : "";
43
- }
44
- else {
45
- this[key] = obj[key];
46
- }
47
- }
48
- });
49
- }
50
- }
51
- exports.AttachmentPanelForMobileApprove = AttachmentPanelForMobileApprove;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.AttachmentPanelForMobileApprove = void 0;
4
+ const toolhepler_1 = require("../../toolhepler");
5
+ const mobile_approve_manager_1 = require("../mobile-approve-manager");
6
+ const base_mobile_approve_1 = require("./base-mobile-approve");
7
+ const panel_for_mobileapprove_1 = require("./panel-for-mobileapprove");
8
+ class AttachmentPanelForMobileApprove extends base_mobile_approve_1.BaseMobileApprove {
9
+ constructor(param) {
10
+ super(param);
11
+ this.type = "AttachmentPanelForMobileApprove";
12
+ let obj;
13
+ if (typeof param === 'string') {
14
+ obj = JSON.parse(param);
15
+ }
16
+ else {
17
+ obj = param;
18
+ }
19
+ if (!obj) {
20
+ return;
21
+ }
22
+ const keys = 'contents,title,attachmentIdField,attachmentNameField,attachmentRootId,headerIcon,bindTo,enableDownloadAttachment,enablePreviewFileConfig';
23
+ Object.keys(obj).forEach(key => {
24
+ if (keys.includes(key)) {
25
+ if (key == "contents") {
26
+ this.contents = [];
27
+ if (toolhepler_1.ToolHelper.isArray(obj[key], false)) {
28
+ obj[key].forEach((item) => {
29
+ const dom = mobile_approve_manager_1.MobileApproveManager.createObjectType(item["type"]);
30
+ if (dom) {
31
+ this.contents.push(new dom(item));
32
+ }
33
+ });
34
+ }
35
+ }
36
+ else if (key == "headerIcon") {
37
+ if (obj[key]) {
38
+ this[key] = new panel_for_mobileapprove_1.HeaderIcon(obj[key]);
39
+ }
40
+ }
41
+ else if (key == "enablePreviewFileConfig") {
42
+ this[key] = obj[key] ? JSON.stringify(obj[key]) : "";
43
+ }
44
+ else {
45
+ this[key] = obj[key];
46
+ }
47
+ }
48
+ });
49
+ }
50
+ }
51
+ exports.AttachmentPanelForMobileApprove = AttachmentPanelForMobileApprove;
52
52
  //# sourceMappingURL=attachment-panel-for-mobileapprove.js.map
@@ -1,37 +1,37 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.BaseMobileApprove = void 0;
4
- const domstructure_1 = require("../../../domstructure");
5
- const visible_1 = require("../../../domstructure/ui/common/visible");
6
- class BaseMobileApprove {
7
- constructor(param) {
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 = 'id,appearance,visible';
19
- Object.keys(obj).forEach(key => {
20
- if (keys.includes(key)) {
21
- if (key == "appearance") {
22
- if (obj[key]) {
23
- this[key] = new domstructure_1.Appearance(obj[key]);
24
- }
25
- }
26
- else if (key == "visible") {
27
- this[key] = new visible_1.Visible(obj[key], "");
28
- }
29
- else {
30
- this[key] = obj[key];
31
- }
32
- }
33
- });
34
- }
35
- }
36
- exports.BaseMobileApprove = BaseMobileApprove;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.BaseMobileApprove = void 0;
4
+ const domstructure_1 = require("../../../domstructure");
5
+ const visible_1 = require("../../../domstructure/ui/common/visible");
6
+ class BaseMobileApprove {
7
+ constructor(param) {
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 = 'id,appearance,visible';
19
+ Object.keys(obj).forEach(key => {
20
+ if (keys.includes(key)) {
21
+ if (key == "appearance") {
22
+ if (obj[key]) {
23
+ this[key] = new domstructure_1.Appearance(obj[key]);
24
+ }
25
+ }
26
+ else if (key == "visible") {
27
+ this[key] = new visible_1.Visible(obj[key], "");
28
+ }
29
+ else {
30
+ this[key] = obj[key];
31
+ }
32
+ }
33
+ });
34
+ }
35
+ }
36
+ exports.BaseMobileApprove = BaseMobileApprove;
37
37
  //# sourceMappingURL=base-mobile-approve.js.map
@@ -1,26 +1,26 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.Binding = void 0;
4
- class Binding {
5
- constructor(param) {
6
- this.type = "Binding";
7
- let obj;
8
- if (typeof param === 'string') {
9
- obj = JSON.parse(param);
10
- }
11
- else {
12
- obj = param;
13
- }
14
- if (!obj) {
15
- return;
16
- }
17
- const keys = 'type,path,field';
18
- Object.keys(obj).forEach(key => {
19
- if (keys.includes(key)) {
20
- this[key] = obj[key];
21
- }
22
- });
23
- }
24
- }
25
- exports.Binding = Binding;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.Binding = void 0;
4
+ class Binding {
5
+ constructor(param) {
6
+ this.type = "Binding";
7
+ let obj;
8
+ if (typeof param === 'string') {
9
+ obj = JSON.parse(param);
10
+ }
11
+ else {
12
+ obj = param;
13
+ }
14
+ if (!obj) {
15
+ return;
16
+ }
17
+ const keys = 'type,path,field';
18
+ Object.keys(obj).forEach(key => {
19
+ if (keys.includes(key)) {
20
+ this[key] = obj[key];
21
+ }
22
+ });
23
+ }
24
+ }
25
+ exports.Binding = Binding;
26
26
  //# sourceMappingURL=binding.js.map
@@ -1,11 +1,11 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ChildDetailTemplate = void 0;
4
- class ChildDetailTemplate {
5
- constructor(templateId, templateHtml) {
6
- this.templateId = templateId;
7
- this.templateHtml = templateHtml;
8
- }
9
- }
10
- exports.ChildDetailTemplate = ChildDetailTemplate;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ChildDetailTemplate = void 0;
4
+ class ChildDetailTemplate {
5
+ constructor(templateId, templateHtml) {
6
+ this.templateId = templateId;
7
+ this.templateHtml = templateHtml;
8
+ }
9
+ }
10
+ exports.ChildDetailTemplate = ChildDetailTemplate;
11
11
  //# sourceMappingURL=child-detail-template.js.map
@@ -1,7 +1,7 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ChildTablePrimaryRelation = void 0;
4
- class ChildTablePrimaryRelation {
5
- }
6
- exports.ChildTablePrimaryRelation = ChildTablePrimaryRelation;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ChildTablePrimaryRelation = void 0;
4
+ class ChildTablePrimaryRelation {
5
+ }
6
+ exports.ChildTablePrimaryRelation = ChildTablePrimaryRelation;
7
7
  //# sourceMappingURL=child-table-primary-relation.js.map
@@ -1,34 +1,34 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ComponentRef = void 0;
4
- const base_mobile_approve_1 = require("./base-mobile-approve");
5
- class ComponentRef extends base_mobile_approve_1.BaseMobileApprove {
6
- constructor(param) {
7
- super(param);
8
- this.type = "ComponentRef";
9
- this.isDetail = false;
10
- let obj;
11
- if (typeof param === 'string') {
12
- obj = JSON.parse(param);
13
- }
14
- else {
15
- obj = param;
16
- }
17
- if (!obj) {
18
- return;
19
- }
20
- const keys = 'component,isDetail,bindTo,bindToName';
21
- Object.keys(obj).forEach(key => {
22
- if (keys.includes(key)) {
23
- if (key == "component") {
24
- this[key] = obj[key];
25
- }
26
- else {
27
- this[key] = obj[key];
28
- }
29
- }
30
- });
31
- }
32
- }
33
- exports.ComponentRef = ComponentRef;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ComponentRef = void 0;
4
+ const base_mobile_approve_1 = require("./base-mobile-approve");
5
+ class ComponentRef extends base_mobile_approve_1.BaseMobileApprove {
6
+ constructor(param) {
7
+ super(param);
8
+ this.type = "ComponentRef";
9
+ this.isDetail = false;
10
+ let obj;
11
+ if (typeof param === 'string') {
12
+ obj = JSON.parse(param);
13
+ }
14
+ else {
15
+ obj = param;
16
+ }
17
+ if (!obj) {
18
+ return;
19
+ }
20
+ const keys = 'component,isDetail,bindTo,bindToName';
21
+ Object.keys(obj).forEach(key => {
22
+ if (keys.includes(key)) {
23
+ if (key == "component") {
24
+ this[key] = obj[key];
25
+ }
26
+ else {
27
+ this[key] = obj[key];
28
+ }
29
+ }
30
+ });
31
+ }
32
+ }
33
+ exports.ComponentRef = ComponentRef;
34
34
  //# sourceMappingURL=component-ref.js.map