@farris/jit-engine 1.3.314 → 1.3.315

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 (285) hide show
  1. package/README.md +1 -5
  2. package/bin/index.js +12 -85
  3. package/lib/mobileapp/vue/code-generator/devkit-manager/app-indexvue-manager.js +1 -2
  4. package/lib/mobileapp/vue/code-generator/devkit-manager/app-indexvue-manager.js.map +1 -1
  5. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-expression.js +1 -1
  6. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-expression.js.map +1 -1
  7. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-filter-generator.js +8 -8
  8. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-index-resource-generator.js +2 -2
  9. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-index-vue-generator.js +19 -17
  10. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-index-vue-generator.js.map +1 -1
  11. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-model-provider-generator.js +9 -9
  12. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-model-proxy-generator.js +34 -34
  13. package/lib/mobileapp/vue/code-generator/file-generator/app-generator/vue-app-router-generator.js +17 -17
  14. package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-bindingdata-generator.js +11 -11
  15. package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-handler-generator.js +25 -25
  16. package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-provider-generator.js +51 -51
  17. package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-statemachine-generator.js +19 -19
  18. package/lib/mobileapp/vue/code-generator/file-generator/page-generator/page-viewmodel-generator.js +31 -31
  19. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/app-vue-generator.js +7 -33
  20. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/app-vue-generator.js.map +1 -1
  21. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/babel-config-js-generator.js +6 -6
  22. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/gitignore-generator.js +23 -23
  23. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/main-ts-generator.js +11 -11
  24. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/package-json-generator.js +47 -47
  25. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/readme-md-generator.js +20 -20
  26. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/router-generator.js +7 -11
  27. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/router-generator.js.map +1 -1
  28. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/shims-tsx-d-ts-generator.js +15 -15
  29. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/shimx-vue-d-ts-generator.js +31 -31
  30. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/tsconfig-json-generator.js +38 -38
  31. package/lib/mobileapp/vue/code-generator/file-generator/project-generator/vue-config-js-generator.js +20 -20
  32. package/lib/mobileapp/vue/domstructure/devkit/befproxy/vue-bef-proxy-content.js +11 -11
  33. package/lib/mobileapp/vue/domstructure/devkit/befproxy/vue-bef-proxy-operation-parameter.js +18 -18
  34. package/lib/mobileapp/vue/domstructure/devkit/befproxy/vue-bef-proxy-operation.js +13 -13
  35. package/lib/mobileapp/vue/domstructure/devkit/befproxy/vue-bef-proxy-service.js +9 -9
  36. package/lib/mobileapp/vue/domstructure/devkit/befproxy/vue-bef-proxy.js +2 -2
  37. package/lib/mobileapp/vue/domstructure/internal-entity/page-flow/vue-page-flow-entity.js +2 -2
  38. package/lib/mobileapp/vue/domstructure/internal-entity/page-flow/vue-page-flow-page.js +2 -2
  39. package/lib/mobileapp/vue/domstructure/internal-entity/page-flow/vue-page-flow-project.js +2 -2
  40. package/lib/mobileapp/vue/domstructure/internal-entity/vue-app-index-vue-parameter.js.map +1 -1
  41. package/lib/mobileapp/vue/domstructure/ui/basic/action-bar/action-bar.js +2 -2
  42. package/lib/mobileapp/vue/domstructure/ui/basic/action-bar/action-bar.js.map +1 -1
  43. package/lib/mobileapp/vue/domstructure/ui/basic/button/button.js +2 -12
  44. package/lib/mobileapp/vue/domstructure/ui/basic/button/button.js.map +1 -1
  45. package/lib/mobileapp/vue/domstructure/ui/basic/image/image.js +2 -2
  46. package/lib/mobileapp/vue/domstructure/ui/basic/image/image.js.map +1 -1
  47. package/lib/mobileapp/vue/domstructure/ui/basic/nav-bar/vue-nav-bar.js +7 -21
  48. package/lib/mobileapp/vue/domstructure/ui/basic/nav-bar/vue-nav-bar.js.map +1 -1
  49. package/lib/mobileapp/vue/domstructure/ui/basic/search/search.js +2 -12
  50. package/lib/mobileapp/vue/domstructure/ui/basic/search/search.js.map +1 -1
  51. package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar-item.js +7 -4
  52. package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar-item.js.map +1 -1
  53. package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar.js +7 -4
  54. package/lib/mobileapp/vue/domstructure/ui/basic/sidebar/sidebar.js.map +1 -1
  55. package/lib/mobileapp/vue/domstructure/ui/basic/tab/vue-tab-bar.js +2 -21
  56. package/lib/mobileapp/vue/domstructure/ui/basic/tab/vue-tab-bar.js.map +1 -1
  57. package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-area.js +2 -29
  58. package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-area.js.map +1 -1
  59. package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-item.js +2 -15
  60. package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar-item.js.map +1 -1
  61. package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar.js +7 -4
  62. package/lib/mobileapp/vue/domstructure/ui/basic/toolbar/vue-toolbar.js.map +1 -1
  63. package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-comments.js +2 -12
  64. package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-comments.js.map +1 -1
  65. package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-info.js +2 -14
  66. package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-info.js.map +1 -1
  67. package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-logs.js +2 -12
  68. package/lib/mobileapp/vue/domstructure/ui/business/approval/approval-logs.js.map +1 -1
  69. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-entry.js +2 -2
  70. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-entry.js.map +1 -1
  71. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-file.js +2 -12
  72. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-file.js.map +1 -1
  73. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-uploader.js +2 -2
  74. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment-uploader.js.map +1 -1
  75. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment.js +2 -2
  76. package/lib/mobileapp/vue/domstructure/ui/business/attachment/attachment.js.map +1 -1
  77. package/lib/mobileapp/vue/domstructure/ui/business/attachment/image-uploader.js +2 -2
  78. package/lib/mobileapp/vue/domstructure/ui/business/attachment/image-uploader.js.map +1 -1
  79. package/lib/mobileapp/vue/domstructure/ui/business/filter/filter.js +2 -53
  80. package/lib/mobileapp/vue/domstructure/ui/business/filter/filter.js.map +1 -1
  81. package/lib/mobileapp/vue/domstructure/ui/business/scroll-navbar.js +2 -26
  82. package/lib/mobileapp/vue/domstructure/ui/business/scroll-navbar.js.map +1 -1
  83. package/lib/mobileapp/vue/domstructure/ui/common/vue-binding.js +1 -6
  84. package/lib/mobileapp/vue/domstructure/ui/common/vue-binding.js.map +1 -1
  85. package/lib/mobileapp/vue/domstructure/ui/common/vue-toolbar.js +1 -5
  86. package/lib/mobileapp/vue/domstructure/ui/common/vue-toolbar.js.map +1 -1
  87. package/lib/mobileapp/vue/domstructure/ui/common/vue-variable.js +0 -4
  88. package/lib/mobileapp/vue/domstructure/ui/common/vue-variable.js.map +1 -1
  89. package/lib/mobileapp/vue/domstructure/ui/container/card.js +2 -32
  90. package/lib/mobileapp/vue/domstructure/ui/container/card.js.map +1 -1
  91. package/lib/mobileapp/vue/domstructure/ui/container/field-set.js +2 -12
  92. package/lib/mobileapp/vue/domstructure/ui/container/field-set.js.map +1 -1
  93. package/lib/mobileapp/vue/domstructure/ui/container/vue-container.js +7 -4
  94. package/lib/mobileapp/vue/domstructure/ui/container/vue-container.js.map +1 -1
  95. package/lib/mobileapp/vue/domstructure/ui/container/vue-content-container.js +2 -2
  96. package/lib/mobileapp/vue/domstructure/ui/container/vue-content-container.js.map +1 -1
  97. package/lib/mobileapp/vue/domstructure/ui/container/vue-float-container.js +2 -2
  98. package/lib/mobileapp/vue/domstructure/ui/container/vue-float-container.js.map +1 -1
  99. package/lib/mobileapp/vue/domstructure/ui/container/vue-form.js +2 -2
  100. package/lib/mobileapp/vue/domstructure/ui/container/vue-form.js.map +1 -1
  101. package/lib/mobileapp/vue/domstructure/ui/container/vue-item-container.js +7 -4
  102. package/lib/mobileapp/vue/domstructure/ui/container/vue-item-container.js.map +1 -1
  103. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-container.js +2 -2
  104. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-container.js.map +1 -1
  105. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-content-container.js +2 -2
  106. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-content-container.js.map +1 -1
  107. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-footer-container.js +2 -2
  108. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-footer-container.js.map +1 -1
  109. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-header-container.js +2 -2
  110. package/lib/mobileapp/vue/domstructure/ui/container/vue-page-header-container.js.map +1 -1
  111. package/lib/mobileapp/vue/domstructure/ui/container/vue-section.js +7 -14
  112. package/lib/mobileapp/vue/domstructure/ui/container/vue-section.js.map +1 -1
  113. package/lib/mobileapp/vue/domstructure/ui/container/vue-tab-page.js +2 -12
  114. package/lib/mobileapp/vue/domstructure/ui/container/vue-tab-page.js.map +1 -1
  115. package/lib/mobileapp/vue/domstructure/ui/container/vue-tabs.js +2 -2
  116. package/lib/mobileapp/vue/domstructure/ui/container/vue-tabs.js.map +1 -1
  117. package/lib/mobileapp/vue/domstructure/ui/display/banner/vue-banner.js +2 -2
  118. package/lib/mobileapp/vue/domstructure/ui/display/banner/vue-banner.js.map +1 -1
  119. package/lib/mobileapp/vue/domstructure/ui/display/calendar/calendar.js +2 -2
  120. package/lib/mobileapp/vue/domstructure/ui/display/calendar/calendar.js.map +1 -1
  121. package/lib/mobileapp/vue/domstructure/ui/display/calendar/schedule.js +3 -32
  122. package/lib/mobileapp/vue/domstructure/ui/display/calendar/schedule.js.map +1 -1
  123. package/lib/mobileapp/vue/domstructure/ui/display/html-template/html-template.js +2 -2
  124. package/lib/mobileapp/vue/domstructure/ui/display/html-template/html-template.js.map +1 -1
  125. package/lib/mobileapp/vue/domstructure/ui/display/list-view/vue-list-view.js +9 -23
  126. package/lib/mobileapp/vue/domstructure/ui/display/list-view/vue-list-view.js.map +1 -1
  127. package/lib/mobileapp/vue/domstructure/ui/display/staff-info/staff-info.js +2 -12
  128. package/lib/mobileapp/vue/domstructure/ui/display/staff-info/staff-info.js.map +1 -1
  129. package/lib/mobileapp/vue/domstructure/ui/display/static-text/static-text.js +2 -2
  130. package/lib/mobileapp/vue/domstructure/ui/display/static-text/static-text.js.map +1 -1
  131. package/lib/mobileapp/vue/domstructure/ui/input/area-picker.js +2 -2
  132. package/lib/mobileapp/vue/domstructure/ui/input/area-picker.js.map +1 -1
  133. package/lib/mobileapp/vue/domstructure/ui/input/calendar-input.js +2 -2
  134. package/lib/mobileapp/vue/domstructure/ui/input/calendar-input.js.map +1 -1
  135. package/lib/mobileapp/vue/domstructure/ui/input/checkbox-group.js +2 -20
  136. package/lib/mobileapp/vue/domstructure/ui/input/checkbox-group.js.map +1 -1
  137. package/lib/mobileapp/vue/domstructure/ui/input/common.js +3 -37
  138. package/lib/mobileapp/vue/domstructure/ui/input/common.js.map +1 -1
  139. package/lib/mobileapp/vue/domstructure/ui/input/custom-box.js +2 -2
  140. package/lib/mobileapp/vue/domstructure/ui/input/custom-box.js.map +1 -1
  141. package/lib/mobileapp/vue/domstructure/ui/input/date-picker.js +2 -2
  142. package/lib/mobileapp/vue/domstructure/ui/input/date-picker.js.map +1 -1
  143. package/lib/mobileapp/vue/domstructure/ui/input/html-preview.js +2 -2
  144. package/lib/mobileapp/vue/domstructure/ui/input/html-preview.js.map +1 -1
  145. package/lib/mobileapp/vue/domstructure/ui/input/index.js +0 -1
  146. package/lib/mobileapp/vue/domstructure/ui/input/index.js.map +1 -1
  147. package/lib/mobileapp/vue/domstructure/ui/input/lookup-department.js +2 -2
  148. package/lib/mobileapp/vue/domstructure/ui/input/lookup-department.js.map +1 -1
  149. package/lib/mobileapp/vue/domstructure/ui/input/lookup-employee.js +2 -2
  150. package/lib/mobileapp/vue/domstructure/ui/input/lookup-employee.js.map +1 -1
  151. package/lib/mobileapp/vue/domstructure/ui/input/lookup-input.js +2 -14
  152. package/lib/mobileapp/vue/domstructure/ui/input/lookup-input.js.map +1 -1
  153. package/lib/mobileapp/vue/domstructure/ui/input/number.js +3 -13
  154. package/lib/mobileapp/vue/domstructure/ui/input/number.js.map +1 -1
  155. package/lib/mobileapp/vue/domstructure/ui/input/picker-relation.js +2 -2
  156. package/lib/mobileapp/vue/domstructure/ui/input/picker-relation.js.map +1 -1
  157. package/lib/mobileapp/vue/domstructure/ui/input/picker.js +2 -20
  158. package/lib/mobileapp/vue/domstructure/ui/input/picker.js.map +1 -1
  159. package/lib/mobileapp/vue/domstructure/ui/input/radio-group.js +2 -20
  160. package/lib/mobileapp/vue/domstructure/ui/input/radio-group.js.map +1 -1
  161. package/lib/mobileapp/vue/domstructure/ui/input/rich-text-editor.js +2 -2
  162. package/lib/mobileapp/vue/domstructure/ui/input/rich-text-editor.js.map +1 -1
  163. package/lib/mobileapp/vue/domstructure/ui/input/switch-input.js +2 -2
  164. package/lib/mobileapp/vue/domstructure/ui/input/switch-input.js.map +1 -1
  165. package/lib/mobileapp/vue/domstructure/ui/input/text-area.js +2 -2
  166. package/lib/mobileapp/vue/domstructure/ui/input/text-area.js.map +1 -1
  167. package/lib/mobileapp/vue/domstructure/ui/input/text-box-external.js +2 -2
  168. package/lib/mobileapp/vue/domstructure/ui/input/text-box-external.js.map +1 -1
  169. package/lib/mobileapp/vue/domstructure/ui/input/text-box.js +2 -2
  170. package/lib/mobileapp/vue/domstructure/ui/input/text-box.js.map +1 -1
  171. package/lib/mobileapp/vue/domstructure/ui/input/text-scan.js +2 -2
  172. package/lib/mobileapp/vue/domstructure/ui/input/text-scan.js.map +1 -1
  173. package/lib/mobileapp/vue/domstructure/ui/input/text-telphone.js +2 -2
  174. package/lib/mobileapp/vue/domstructure/ui/input/text-telphone.js.map +1 -1
  175. package/lib/mobileapp/vue/domstructure/ui/vue-base-component.js +2 -34
  176. package/lib/mobileapp/vue/domstructure/ui/vue-base-component.js.map +1 -1
  177. package/lib/mobileapp/vue/jit-engine-executor/mobile-vue-engine-executor.js.map +1 -1
  178. package/lib/mobileapp/vue/pug-template/config/ui-template-config.js +1 -5
  179. package/lib/mobileapp/vue/pug-template/config/ui-template-config.js.map +1 -1
  180. package/lib/mobileapp/vue/static/.editorconfig +9 -9
  181. package/lib/mobileapp/vue/static/.npmignore +13 -0
  182. package/lib/mobileapp/vue/static/.prettierrc +6 -6
  183. package/lib/mobileapp/vue/static/README.md +18 -18
  184. package/lib/mobileapp/vue/static/babel.config.js +13 -13
  185. package/lib/mobileapp/vue/static/src/app.vue +4 -25
  186. package/lib/mobileapp/vue/static/src/main.ts +9 -9
  187. package/lib/mobileapp/vue/static/src/shims-vue.d.ts +32 -32
  188. package/lib/mobileapp/vue/static/tsconfig.json +20 -20
  189. package/lib/mobileapp/vue/task/vue-recursiveGenerateDevkit.js +4 -12
  190. package/lib/mobileapp/vue/task/vue-recursiveGenerateDevkit.js.map +1 -1
  191. package/lib/mobileapp/vue/utility/devkit/form-file-executor.js +1 -4
  192. package/lib/mobileapp/vue/utility/devkit/form-file-executor.js.map +1 -1
  193. package/lib/mobileapp/vue/utility/devkit/vue-component-creator.js +10 -10
  194. package/lib/mobileapp/vue/utility/devkit/vue-component-creator.js.map +1 -1
  195. package/lib/mobileapp/vue/utility/devkit/vue-viewmodels-creator.js +2 -2
  196. package/lib/mobileapp/vue/utility/devkit/vue-viewmodels-creator.js.map +1 -1
  197. package/lib/mobileapp/vue/utility/index.js +0 -1
  198. package/lib/mobileapp/vue/utility/index.js.map +1 -1
  199. package/lib/mobileapp/vue/utility/parameter-collector/page-component-collector/page-component-ref-parameter.js +2 -2
  200. package/lib/mobileapp/vue/utility/template-generator/page-component-control-generator.js +2 -2
  201. package/lib/mobileapp/vue/utility/template-generator/page-component-ref-generator.js +1 -1
  202. package/lib/mobileapp/vue/utility/template-generator/page-statemachine-generator.js +21 -21
  203. package/lib/mobileapp/vue/utility/vue-content-type-creator.js +0 -2
  204. package/lib/mobileapp/vue/utility/vue-content-type-creator.js.map +1 -1
  205. package/lib/mobileapp/vue/utility/vue-object-creator.js +0 -22
  206. package/lib/mobileapp/vue/utility/vue-object-creator.js.map +1 -1
  207. package/lib/template/ui/mobilevue/action-bar.pug +10 -10
  208. package/lib/template/ui/mobilevue/approval-comments.pug +1 -1
  209. package/lib/template/ui/mobilevue/approval-info.pug +8 -2
  210. package/lib/template/ui/mobilevue/approval-logs.pug +1 -1
  211. package/lib/template/ui/mobilevue/{picker-area.pug → area-picker.pug} +5 -6
  212. package/lib/template/ui/mobilevue/attachment-file.pug +1 -1
  213. package/lib/template/ui/mobilevue/banner.pug +4 -4
  214. package/lib/template/ui/mobilevue/button.pug +1 -1
  215. package/lib/template/ui/mobilevue/calendar-input.pug +4 -5
  216. package/lib/template/ui/mobilevue/card.pug +2 -2
  217. package/lib/template/ui/mobilevue/checkbox-group.pug +4 -4
  218. package/lib/template/ui/mobilevue/component-ref.pug +3 -3
  219. package/lib/template/ui/mobilevue/custom-box.pug +4 -6
  220. package/lib/template/ui/mobilevue/date-time-picker.pug +5 -7
  221. package/lib/template/ui/mobilevue/field-set.pug +2 -3
  222. package/lib/template/ui/mobilevue/filter.pug +2 -2
  223. package/lib/template/ui/mobilevue/html-preview.pug +1 -1
  224. package/lib/template/ui/mobilevue/image-uploader.pug +15 -15
  225. package/lib/template/ui/mobilevue/list-view.pug +1 -4
  226. package/lib/template/ui/mobilevue/lookup-department.pug +5 -7
  227. package/lib/template/ui/mobilevue/lookup-employee.pug +7 -10
  228. package/lib/template/ui/mobilevue/lookup-input.pug +7 -9
  229. package/lib/template/ui/mobilevue/nav-bar.pug +1 -1
  230. package/lib/template/ui/mobilevue/number.pug +5 -8
  231. package/lib/template/ui/mobilevue/picker-relation.pug +3 -5
  232. package/lib/template/ui/mobilevue/picker.pug +6 -6
  233. package/lib/template/ui/mobilevue/radio-group.pug +4 -4
  234. package/lib/template/ui/mobilevue/rich-text-editor.pug +6 -8
  235. package/lib/template/ui/mobilevue/schedule.pug +1 -1
  236. package/lib/template/ui/mobilevue/scroll-navbar.pug +1 -1
  237. package/lib/template/ui/mobilevue/search.pug +1 -1
  238. package/lib/template/ui/mobilevue/section.pug +1 -1
  239. package/lib/template/ui/mobilevue/sidebar-item.pug +9 -9
  240. package/lib/template/ui/mobilevue/sidebar.pug +11 -11
  241. package/lib/template/ui/mobilevue/staff-info.pug +1 -1
  242. package/lib/template/ui/mobilevue/static-text.pug +1 -1
  243. package/lib/template/ui/mobilevue/steps.pug +8 -8
  244. package/lib/template/ui/mobilevue/switch.pug +4 -5
  245. package/lib/template/ui/mobilevue/tab-bar.pug +1 -1
  246. package/lib/template/ui/mobilevue/tabpage.pug +3 -1
  247. package/lib/template/ui/mobilevue/text-area.pug +4 -5
  248. package/lib/template/ui/mobilevue/text-box-external.pug +4 -6
  249. package/lib/template/ui/mobilevue/text-box.pug +5 -8
  250. package/lib/template/ui/mobilevue/text-scan.pug +4 -6
  251. package/lib/template/ui/mobilevue/text-telphone.pug +3 -13
  252. package/lib/template/ui/mobilevue/toolbar-area.pug +1 -1
  253. package/lib/template/ui/mobilevue/toolbar-item.pug +1 -1
  254. package/lib/template/ui/mobilevue/toolbar.pug +5 -5
  255. package/lib/utility/devkit/component-external-container-parameter-creator.js +91 -86
  256. package/lib/utility/devkit/component-external-container-parameter-creator.js.map +1 -1
  257. package/lib/utility/devkit/component-external-container-parameter.js +12 -12
  258. package/lib/utility/devkit/component-external-container-parameter.js.map +1 -1
  259. package/lib/utility/devkit/component-parameter-collector/component-external-container-parameter-collector.js +82 -81
  260. package/lib/utility/devkit/component-parameter-collector/component-external-container-parameter-collector.js.map +1 -1
  261. package/package.json +1 -2
  262. package/lib/command/check.js +0 -102
  263. package/lib/command/check.js.map +0 -1
  264. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/index.js +0 -16
  265. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/index.js.map +0 -1
  266. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-base-context.js +0 -24
  267. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-base-context.js.map +0 -1
  268. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-component-context.js +0 -16
  269. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-component-context.js.map +0 -1
  270. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-module-context.js +0 -15
  271. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-module-context.js.map +0 -1
  272. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-ui-node-context.js +0 -33
  273. package/lib/mobileapp/vue/domstructure/internal-entity/contexts/vue-ui-node-context.js.map +0 -1
  274. package/lib/mobileapp/vue/domstructure/ui/basic/icon/icon.js +0 -41
  275. package/lib/mobileapp/vue/domstructure/ui/basic/icon/icon.js.map +0 -1
  276. package/lib/mobileapp/vue/domstructure/ui/basic/icon/index.js +0 -14
  277. package/lib/mobileapp/vue/domstructure/ui/basic/icon/index.js.map +0 -1
  278. package/lib/mobileapp/vue/domstructure/ui/input/picker-city.js +0 -46
  279. package/lib/mobileapp/vue/domstructure/ui/input/picker-city.js.map +0 -1
  280. package/lib/mobileapp/vue/utility/i18n/i18n-resource-manager.js +0 -121
  281. package/lib/mobileapp/vue/utility/i18n/i18n-resource-manager.js.map +0 -1
  282. package/lib/mobileapp/vue/utility/i18n/index.js +0 -14
  283. package/lib/mobileapp/vue/utility/i18n/index.js.map +0 -1
  284. package/lib/template/ui/mobilevue/icon.pug +0 -11
  285. package/lib/template/ui/mobilevue/picker-city.pug +0 -65
@@ -1,82 +1,83 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ComponentExternalContainerParameterCollector = void 0;
4
- const toolhepler_1 = require("../../toolhepler");
5
- const abstract_component_parameter_collector_1 = require("./abstract-component-parameter-collector");
6
- const event_token_generator_1 = require("../../event-token-generator");
7
- class ComponentExternalContainerParameterCollector extends abstract_component_parameter_collector_1.AbstractComponentParameterCollector {
8
- collect(value, options) {
9
- const componentExternalContainers = [];
10
- this.collectionComponentExternalContainers(value, componentExternalContainers, options === null || options === void 0 ? void 0 : options.externalComponentNameSpace, options === null || options === void 0 ? void 0 : options.ui);
11
- return componentExternalContainers;
12
- }
13
- collectionComponentExternalContainers(component, externalContainers, externalComponentNameSpace, ui) {
14
- const contents = component.contents;
15
- if (contents && contents.length) {
16
- contents.forEach((element) => {
17
- this.collectionComponentExternalContainers(element, externalContainers, externalComponentNameSpace, ui);
18
- });
19
- }
20
- if (component && (component.type == 'ExternalContainer' || component.type == "ModalContainer") && toolhepler_1.ToolHelper.isArray(ui.module.externalComponents, false)) {
21
- const externalCmp = component.externalCmp;
22
- const findExternalComponent = ui.module.externalComponents.find((t) => {
23
- return t.id == externalCmp;
24
- });
25
- if (findExternalComponent) {
26
- findExternalComponent["useIsolateJs"] = component.useIsolateJs;
27
- const componentExternalContainerParameter = {
28
- parentModuleCode: ui.module.code,
29
- id: findExternalComponent.id,
30
- type: component.type,
31
- useIsolateJs: component.useIsolateJs,
32
- name: findExternalComponent.name,
33
- code: findExternalComponent.code,
34
- fileName: findExternalComponent.fileName,
35
- filePath: findExternalComponent.filePath,
36
- declarations: findExternalComponent.declarations,
37
- subscriptions: this.getSubscriptions(findExternalComponent.id, ui),
38
- containerId: findExternalComponent.containerId,
39
- serviceUnitPath: findExternalComponent.serviceUnitPath,
40
- projectName: findExternalComponent.projectName,
41
- contentType: findExternalComponent.contentType,
42
- url: findExternalComponent.url
43
- };
44
- externalContainers.push(componentExternalContainerParameter);
45
- }
46
- }
47
- }
48
- modifyExternalDeclarations(externalComponent, parentSubscriptions, parentModuleCode) {
49
- if (toolhepler_1.ToolHelper.isArray(parentSubscriptions, false) && externalComponent && externalComponent.declarations && toolhepler_1.ToolHelper.isArray(externalComponent.declarations.events, false)) {
50
- externalComponent.declarations.events.forEach((t) => {
51
- const findParentSubscription = parentSubscriptions.find((parentSub) => {
52
- return parentSub["sourceComponent"] == externalComponent.id && parentSub["subscribeOn"] == t["code"];
53
- });
54
- if (findParentSubscription) {
55
- const generatedToken = event_token_generator_1.EventTokenGenerator.generateToken(parentModuleCode, externalComponent["code"]);
56
- t["token"] = generatedToken;
57
- findParentSubscription["token"] = generatedToken;
58
- }
59
- });
60
- }
61
- }
62
- getSubscriptions(sourceComponent, ui) {
63
- if (!ui || !ui.module || toolhepler_1.ToolHelper.isArray(ui.module.subscriptions, false) == false) {
64
- return;
65
- }
66
- const filterSubscriptions = ui.module.subscriptions.filter((t) => {
67
- return t.targetComponent == sourceComponent;
68
- });
69
- return filterSubscriptions;
70
- }
71
- modifyParentDeclarationsToken(declarations, parentModuleCode, externalComponentCode) {
72
- if (declarations && toolhepler_1.ToolHelper.isArray(declarations.events, false)) {
73
- declarations.events.forEach((t) => {
74
- if (!t.token) {
75
- t.token = event_token_generator_1.EventTokenGenerator.generateToken(parentModuleCode, externalComponentCode);
76
- }
77
- });
78
- }
79
- }
80
- }
81
- exports.ComponentExternalContainerParameterCollector = ComponentExternalContainerParameterCollector;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ComponentExternalContainerParameterCollector = void 0;
4
+ const toolhepler_1 = require("../../toolhepler");
5
+ const abstract_component_parameter_collector_1 = require("./abstract-component-parameter-collector");
6
+ const event_token_generator_1 = require("../../event-token-generator");
7
+ class ComponentExternalContainerParameterCollector extends abstract_component_parameter_collector_1.AbstractComponentParameterCollector {
8
+ collect(value, options) {
9
+ const componentExternalContainers = [];
10
+ this.collectionComponentExternalContainers(value, componentExternalContainers, options === null || options === void 0 ? void 0 : options.externalComponentNameSpace, options === null || options === void 0 ? void 0 : options.ui);
11
+ return componentExternalContainers;
12
+ }
13
+ collectionComponentExternalContainers(component, externalContainers, externalComponentNameSpace, ui) {
14
+ const contents = component.contents;
15
+ if (contents && contents.length) {
16
+ contents.forEach((element) => {
17
+ this.collectionComponentExternalContainers(element, externalContainers, externalComponentNameSpace, ui);
18
+ });
19
+ }
20
+ if (component && (component.type == 'ExternalContainer' || component.type == "ModalContainer") && toolhepler_1.ToolHelper.isArray(ui.module.externalComponents, false)) {
21
+ const externalCmp = component.externalCmp;
22
+ const findExternalComponent = ui.module.externalComponents.find((t) => {
23
+ return t.id == externalCmp;
24
+ });
25
+ if (findExternalComponent) {
26
+ findExternalComponent["useIsolateJs"] = component.useIsolateJs;
27
+ const componentExternalContainerParameter = {
28
+ parentModuleCode: ui.module.code,
29
+ id: findExternalComponent.id,
30
+ type: component.type,
31
+ useIsolateJs: component.useIsolateJs,
32
+ name: findExternalComponent.name,
33
+ code: findExternalComponent.code,
34
+ fileName: findExternalComponent.fileName,
35
+ filePath: findExternalComponent.filePath,
36
+ declarations: findExternalComponent.declarations,
37
+ subscriptions: this.getSubscriptions(findExternalComponent.id, ui),
38
+ containerId: findExternalComponent.containerId,
39
+ serviceUnitPath: findExternalComponent.serviceUnitPath,
40
+ projectName: findExternalComponent.projectName,
41
+ contentType: findExternalComponent.contentType,
42
+ url: findExternalComponent.url,
43
+ rtcFileRelativePath: findExternalComponent.rtcFileRelativePath
44
+ };
45
+ externalContainers.push(componentExternalContainerParameter);
46
+ }
47
+ }
48
+ }
49
+ modifyExternalDeclarations(externalComponent, parentSubscriptions, parentModuleCode) {
50
+ if (toolhepler_1.ToolHelper.isArray(parentSubscriptions, false) && externalComponent && externalComponent.declarations && toolhepler_1.ToolHelper.isArray(externalComponent.declarations.events, false)) {
51
+ externalComponent.declarations.events.forEach((t) => {
52
+ const findParentSubscription = parentSubscriptions.find((parentSub) => {
53
+ return parentSub["sourceComponent"] == externalComponent.id && parentSub["subscribeOn"] == t["code"];
54
+ });
55
+ if (findParentSubscription) {
56
+ const generatedToken = event_token_generator_1.EventTokenGenerator.generateToken(parentModuleCode, externalComponent["code"]);
57
+ t["token"] = generatedToken;
58
+ findParentSubscription["token"] = generatedToken;
59
+ }
60
+ });
61
+ }
62
+ }
63
+ getSubscriptions(sourceComponent, ui) {
64
+ if (!ui || !ui.module || toolhepler_1.ToolHelper.isArray(ui.module.subscriptions, false) == false) {
65
+ return;
66
+ }
67
+ const filterSubscriptions = ui.module.subscriptions.filter((t) => {
68
+ return t.targetComponent == sourceComponent;
69
+ });
70
+ return filterSubscriptions;
71
+ }
72
+ modifyParentDeclarationsToken(declarations, parentModuleCode, externalComponentCode) {
73
+ if (declarations && toolhepler_1.ToolHelper.isArray(declarations.events, false)) {
74
+ declarations.events.forEach((t) => {
75
+ if (!t.token) {
76
+ t.token = event_token_generator_1.EventTokenGenerator.generateToken(parentModuleCode, externalComponentCode);
77
+ }
78
+ });
79
+ }
80
+ }
81
+ }
82
+ exports.ComponentExternalContainerParameterCollector = ComponentExternalContainerParameterCollector;
82
83
  //# sourceMappingURL=component-external-container-parameter-collector.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"component-external-container-parameter-collector.js","sourceRoot":"","sources":["../../../../src/utility/devkit/component-parameter-collector/component-external-container-parameter-collector.ts"],"names":[],"mappings":";;;AAAA,iDAA8C;AAE9C,qGAA+F;AAG/F,uEAAkE;AAKlE,MAAa,4CAA6C,SAAQ,4EAAmC;IACjG,OAAO,CAAC,KAAU,EAAE,OAA4C;QAC5D,MAAM,2BAA2B,GAA0C,EAAE,CAAC;QAC9E,IAAI,CAAC,qCAAqC,CAAC,KAAK,EAAE,2BAA2B,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,0BAA0B,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,EAAE,CAAC,CAAC;QACjI,OAAO,2BAA2B,CAAC;IACvC,CAAC;IAWO,qCAAqC,CAAC,SAAc,EAAE,kBAAyD,EAAE,0BAAkC,EAAE,EAAO;QAChK,MAAM,QAAQ,GAAG,SAAS,CAAC,QAAQ,CAAC;QACpC,IAAI,QAAQ,IAAI,QAAQ,CAAC,MAAM,EAAE;YAC7B,QAAQ,CAAC,OAAO,CAAC,CAAC,OAAY,EAAE,EAAE;gBAC9B,IAAI,CAAC,qCAAqC,CAAC,OAAO,EAAE,kBAAkB,EAAE,0BAA0B,EAAE,EAAE,CAAC,CAAC;YAC5G,CAAC,CAAC,CAAC;SACN;QACD,IAAI,SAAS,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,mBAAmB,IAAI,SAAS,CAAC,IAAI,IAAI,gBAAgB,CAAC,IAAI,uBAAU,CAAC,OAAO,CAAC,EAAE,CAAC,MAAM,CAAC,kBAAkB,EAAE,KAAK,CAAC,EAAE;YACvJ,MAAM,WAAW,GAAW,SAAS,CAAC,WAAW,CAAC;YAClD,MAAM,qBAAqB,GAAG,EAAE,CAAC,MAAM,CAAC,kBAAkB,CAAC,IAAI,CAAC,CAAC,CAAM,EAAE,EAAE;gBACvE,OAAO,CAAC,CAAC,EAAE,IAAI,WAAW,CAAC;YAC/B,CAAC,CAAC,C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E,qBAAqB,CAAC,CAAC;iBACxF;YACL,CAAC,CAAC,CAAA;SACL;IACL,CAAC;CAEJ;AA1GD,oGA0GC"}
1
+ {"version":3,"file":"component-external-container-parameter-collector.js","sourceRoot":"","sources":["../../../../src/utility/devkit/component-parameter-collector/component-external-container-parameter-collector.ts"],"names":[],"mappings":";;;AAAA,iDAA8C;AAE9C,qGAA+F;AAG/F,uEAAkE;AAKlE,MAAa,4CAA6C,SAAQ,4EAAmC;IACjG,OAAO,CAAC,KAAU,EAAE,OAA4C;QAC5D,MAAM,2BAA2B,GAA0C,EAAE,CAAC;QAC9E,IAAI,CAAC,qCAAqC,CAAC,KAAK,EAAE,2BAA2B,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,0BAA0B,EAAE,OAAO,aAAP,OAAO,uBAAP,OAAO,CAAE,EAAE,CAAC,CAAC;QACjI,OAAO,2BAA2B,CAAC;IACvC,CAAC;IAWO,qCAAqC,CAAC,SAAc,EAAE,kBAAyD,EAAE,0BAAkC,EAAE,EAAO;QAChK,MAAM,QAAQ,GAAG,SAAS,CAAC,QAAQ,CAAC;QACpC,IAAI,QAAQ,IAAI,QAAQ,CAAC,MAAM,EAAE;YAC7B,QAAQ,CAAC,OAAO,CAAC,CAAC,OAAY,EAAE,EAAE;gBAC9B,IAAI,CAAC,qCAAqC,CAAC,OAAO,EAAE,kBAAkB,EAAE,0BAA0B,EAAE,EAAE,CAAC,CAAC;YAC5G,CAAC,CAAC,CAAC;SACN;QACD,IAAI,SAAS,IAAI,CAAC,SAAS,CAAC,IAAI,IAAI,mBAAmB,IAAI,SAAS,CAAC,IAAI,IAAI,gBAAgB,CAAC,IAAI,uBAAU,CAAC,OAAO,CAAC,EAAE,CAAC,MAAM,CAAC,kBAAkB,EAAE,KAAK,CAAC,EAAE;YACvJ,MAAM,WAAW,GAAW,SAAS,CAAC,WAAW,CAAC;YAClD,MAAM,qBAAqB,GAAG,EAAE,CAAC,MAAM,CAAC,kBAAkB,CAAC,I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C,OAAO,CAAC,CAAC,CAAM,EAAE,EAAE;gBACnC,IAAI,CAAC,CAAC,CAAC,KAAK,EAAE;oBACV,CAAC,CAAC,KAAK,GAAG,2CAAmB,CAAC,aAAa,CAAC,gBAAgB,EAAE,qBAAqB,CAAC,CAAC;iBACxF;YACL,CAAC,CAAC,CAAA;SACL;IACL,CAAC;CAEJ;AA3GD,oGA2GC"}
package/package.json CHANGED
@@ -1,6 +1,6 @@
1
1
  {
2
2
  "name": "@farris/jit-engine",
3
- "version": "1.3.314",
3
+ "version": "1.3.315",
4
4
  "description": "",
5
5
  "main": "./lib/index.js",
6
6
  "bin": {
@@ -36,7 +36,6 @@
36
36
  "lodash": "^4.17.10",
37
37
  "prettier": "^1.18.2",
38
38
  "pug": "^2.0.0-rc.4",
39
- "read-package-tree": "^5.3.1",
40
39
  "typescript-ioc": "^1.2.4",
41
40
  "yargs": "^12.0.1"
42
41
  },
@@ -1,102 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.checkVersion = void 0;
4
- function checkVersion(dir, callback) {
5
- let output = {
6
- needUpdate: false,
7
- updateList: []
8
- };
9
- const readPackageTree = require('read-package-tree');
10
- readPackageTree(dir, (_err, physicalTree) => {
11
- try {
12
- const nodes = physicalTree.children;
13
- let map = new Map();
14
- for (const key in nodes) {
15
- if (nodes.hasOwnProperty(key)) {
16
- const element = nodes[key];
17
- const packageData = element.package || {};
18
- const id = packageData['_id'];
19
- if (id) {
20
- const atIndex = id.lastIndexOf('@');
21
- const prefix = id.slice(0, atIndex);
22
- const suffix = id.slice(atIndex + 1);
23
- map.set(prefix, suffix);
24
- }
25
- }
26
- }
27
- const packageJson = physicalTree.package;
28
- if (packageJson) {
29
- const dependencies = packageJson.dependencies;
30
- Object.keys(dependencies).forEach((key) => {
31
- if (key.startsWith('@farris') || key.startsWith('@gsp')) {
32
- if (dependencies.hasOwnProperty(key)) {
33
- const packageJsonVersion = dependencies[key];
34
- const nodeModulesVersion = map.get(key);
35
- if (nodeModulesVersion) {
36
- if (packageJsonVersion !== nodeModulesVersion && !isValidVersion(nodeModulesVersion, packageJsonVersion)) {
37
- const info = {
38
- name: key,
39
- nodeModulesVersion: nodeModulesVersion,
40
- packageJsonVersion: packageJsonVersion
41
- };
42
- output.needUpdate = true;
43
- output.updateList.push(info);
44
- }
45
- }
46
- else {
47
- const info = {
48
- name: key,
49
- nodeModulesVersion: "",
50
- packageJsonVersion: packageJsonVersion
51
- };
52
- output.needUpdate = true;
53
- output.updateList.push(info);
54
- }
55
- }
56
- }
57
- });
58
- if (output && output.needUpdate) {
59
- console.log('The node_modules need to be updated, with the following update list:');
60
- const updateList = output.updateList;
61
- updateList.forEach((item) => {
62
- console.log(item.name + '@' + item.packageJsonVersion);
63
- });
64
- }
65
- callback(output);
66
- }
67
- }
68
- catch (error) {
69
- output.needUpdate = false;
70
- }
71
- });
72
- }
73
- exports.checkVersion = checkVersion;
74
- function isValidVersion(versionToCheck, rangeSpecifier) {
75
- let minVersion, maxMajor;
76
- if (rangeSpecifier.startsWith('^')) {
77
- const [major, minor, patch] = rangeSpecifier.slice(1).split('.').map(Number);
78
- minVersion = `${major}.${minor}.${patch}`;
79
- maxMajor = major + 1;
80
- }
81
- else {
82
- return false;
83
- }
84
- function parseVersion(v) {
85
- return v.split('.').map(Number);
86
- }
87
- const parsedVersionToCheck = parseVersion(versionToCheck);
88
- const parsedMinVersion = parseVersion(minVersion);
89
- for (let i = 0; i < parsedMinVersion.length; i++) {
90
- if (parsedVersionToCheck[i] < parsedMinVersion[i])
91
- return false;
92
- if (parsedVersionToCheck[i] > parsedMinVersion[i])
93
- break;
94
- }
95
- if (parsedVersionToCheck[0] === parsedMinVersion[0]) {
96
- }
97
- else if (parsedVersionToCheck[0] >= maxMajor) {
98
- return false;
99
- }
100
- return true;
101
- }
102
- //# sourceMappingURL=check.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"check.js","sourceRoot":"","sources":["../../src/command/check.ts"],"names":[],"m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oBAAoB,CAAC,CAAC,CAAC,IAAI,QAAS,EAAE;QAC7C,OAAO,KAAK,CAAC;KAChB;IAED,OAAO,IAAI,CAAC;AAChB,CAAC"}
@@ -1,16 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
- };
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./vue-module-context"), exports);
14
- __exportStar(require("./vue-component-context"), exports);
15
- __exportStar(require("./vue-ui-node-context"), exports);
16
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/internal-entity/contexts/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,uDAAqC;AACrC,0DAAwC;AACxC,wDAAsC"}
@@ -1,24 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VueBaseContext = void 0;
4
- class VueBaseContext {
5
- constructor() {
6
- this.params = new Map();
7
- }
8
- setParam(key, val) {
9
- this.params.set(key, val);
10
- }
11
- setParams(paramsObj) {
12
- if (!paramsObj) {
13
- return;
14
- }
15
- Object.keys(paramsObj).forEach((key) => {
16
- this.setParam(key, paramsObj[key]);
17
- });
18
- }
19
- getParam(key) {
20
- return this.params.get(key);
21
- }
22
- }
23
- exports.VueBaseContext = VueBaseContext;
24
- //# sourceMappingURL=vue-base-context.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vue-base-context.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/internal-entity/contexts/vue-base-context.ts"],"names":[],"mappings":";;;AAIA,MAAM,cAAc;IAApB;QAKU,WAAM,GAAG,IAAI,GAAG,EAAE,CAAC;IA4B7B,CAAC;IAvBQ,QAAQ,CAAC,GAAW,EAAE,GAAQ;QACnC,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,EAAE,GAAG,CAAC,CAAC;IAC5B,CAAC;IAKM,SAAS,CAAC,SAA+B;QAC9C,IAAI,CAAC,SAAS,EAAE;YACd,OAAO;SACR;QAED,MAAM,CAAC,IAAI,CAAC,SAAS,CAAC,CAAC,OAAO,CAAC,CAAC,GAAW,EAAE,EAAE;YAC7C,IAAI,CAAC,QAAQ,CAAC,GAAG,EAAE,SAAS,CAAC,GAAG,CAAC,CAAC,CAAC;QACrC,CAAC,CAAC,CAAC;IACL,CAAC;IAKM,QAAQ,CAAC,GAAW;QACzB,OAAO,IAAI,CAAC,MAAM,CAAC,GAAG,CAAC,GAAG,CAAC,CAAC;IAC9B,CAAC;CACF;AAEQ,wCAAc"}
@@ -1,16 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VueComponentContext = void 0;
4
- const vue_base_context_1 = require("./vue-base-context");
5
- class VueComponentContext extends vue_base_context_1.VueBaseContext {
6
- constructor(componentInstance, moduleContext) {
7
- super();
8
- this.componentInstance = componentInstance;
9
- this.moduleContext = moduleContext;
10
- }
11
- getModuleContext() {
12
- return this.moduleContext;
13
- }
14
- }
15
- exports.VueComponentContext = VueComponentContext;
16
- //# sourceMappingURL=vue-component-context.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vue-component-context.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/internal-entity/contexts/vue-component-context.ts"],"names":[],"mappings":";;;AAAA,yDAAoD;AAMpD,MAAM,mBAAoB,SAAQ,iCAAc;IAe9C,YAAY,iBAAsB,EAAE,aAA+B;QACjE,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,iBAAiB,GAAG,iBAAiB,CAAC;QAC3C,IAAI,CAAC,aAAa,GAAG,aAAa,CAAC;IACrC,CAAC;IAMM,gBAAgB;QACrB,OAAO,IAAI,CAAC,aAAa,CAAC;IAC5B,CAAC;CAEF;AAEQ,kDAAmB"}
@@ -1,15 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VueModuleContext = void 0;
4
- const vue_base_context_1 = require("./vue-base-context");
5
- class VueModuleContext extends vue_base_context_1.VueBaseContext {
6
- constructor(formDom) {
7
- super();
8
- this.formDom = formDom;
9
- }
10
- getOptions() {
11
- return this.formDom.options;
12
- }
13
- }
14
- exports.VueModuleContext = VueModuleContext;
15
- //# sourceMappingURL=vue-module-context.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vue-module-context.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/internal-entity/contexts/vue-module-context.ts"],"names":[],"mappings":";;;AAAA,yDAAoD;AAOpD,MAAM,gBAAiB,SAAQ,iCAAc;IAU3C,YAAY,OAAY;QACtB,KAAK,EAAE,CAAC;QAER,IAAI,CAAC,OAAO,GAAG,OAAO,CAAC;IACzB,CAAC;IAKM,UAAU;QACf,OAAO,IAAI,CAAC,OAAO,CAAC,OAAO,CAAC;IAC9B,CAAC;CAEF;AAEQ,4CAAgB"}
@@ -1,33 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VueUINodeContext = void 0;
4
- const vue_base_context_1 = require("./vue-base-context");
5
- class VueUINodeContext extends vue_base_context_1.VueBaseContext {
6
- constructor(parentNodeInstance) {
7
- super();
8
- this.parentNodeInstance = parentNodeInstance;
9
- }
10
- getModuleContext() {
11
- const parentNodeContext = this.getParentContext();
12
- if (!parentNodeContext) {
13
- return null;
14
- }
15
- return parentNodeContext.getModuleContext();
16
- }
17
- getParentInstance() {
18
- return this.parentNodeInstance;
19
- }
20
- getParentContext() {
21
- if (!this.parentNodeInstance) {
22
- return null;
23
- }
24
- if (this.parentNodeInstance.componentContext) {
25
- return this.parentNodeInstance.componentContext;
26
- }
27
- else {
28
- return this.parentNodeInstance.getContext();
29
- }
30
- }
31
- }
32
- exports.VueUINodeContext = VueUINodeContext;
33
- //# sourceMappingURL=vue-ui-node-context.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"vue-ui-node-context.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/internal-entity/contexts/vue-ui-node-context.ts"],"names":[],"mappings":";;;AACA,yDAAmD;AAOnD,MAAM,gBAAiB,SAAQ,iCAAc;IAiB3C,YAAY,kBAA0C;QACpD,KAAK,EAAE,CAAC;QACR,IAAI,CAAC,kBAAkB,GAAG,kBAAkB,CAAC;IAC/C,CAAC;IAMM,gBAAgB;QACrB,MAAM,iBAAiB,GAAG,IAAI,CAAC,gBAAgB,EAAE,CAAC;QAClD,IAAI,CAAC,iBAAiB,EAAE;YACtB,OAAO,IAAI,CAAC;SACb;QAED,OAAO,iBAAiB,CAAC,gBAAgB,EAAE,CAAC;IAC9C,CAAC;IAKM,iBAAiB;QACtB,OAAO,IAAI,CAAC,kBAAkB,CAAC;IACjC,CAAC;IAKM,gBAAgB;QACrB,IAAI,CAAC,IAAI,CAAC,kBAAkB,EAAE;YAC5B,OAAO,IAAI,CAAC;SACb;QAED,IAAI,IAAI,CAAC,kBAAkB,CAAC,gBAAgB,EAAE;YAC5C,OAAO,IAAI,CAAC,kBAAkB,CAAC,gBAAgB,CAAC;SACjD;aAAM;YACL,OAAQ,IAAI,CAAC,kBAAuC,CAAC,UAAU,EAAE,CAAC;SACnE;IACH,CAAC;CAEF;AAEQ,4CAAgB"}
@@ -1,41 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VueIcon = void 0;
4
- const vue_base_component_1 = require("../../vue-base-component");
5
- class VueIcon extends vue_base_component_1.VueBaseComponent {
6
- constructor(param, context) {
7
- var _a;
8
- super(param, context);
9
- this.round = true;
10
- this.block = true;
11
- let obj;
12
- if (typeof param === 'string') {
13
- obj = JSON.parse(param);
14
- }
15
- else {
16
- obj = param;
17
- }
18
- if (!obj) {
19
- return;
20
- }
21
- const keys = 'iconName, iconSize, iconColor';
22
- Object.keys(obj).forEach(key => {
23
- if (keys.includes(key)) {
24
- switch (key) {
25
- case 'iconSize':
26
- this.appearance.style += `font-size: ${obj[key]};`;
27
- break;
28
- case 'iconColor':
29
- this.appearance.style += `color: ${obj[key]};`;
30
- break;
31
- default:
32
- this[key] = obj[key];
33
- break;
34
- }
35
- }
36
- });
37
- ((_a = this.size) === null || _a === void 0 ? void 0 : _a.getStyle) && this.addStyle(this.size.getStyle());
38
- }
39
- }
40
- exports.VueIcon = VueIcon;
41
- //# sourceMappingURL=icon.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"icon.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/basic/icon/icon.ts"],"names":[],"mappings":";;;AAEA,iEAA4D;AAE5D,MAAa,OAAQ,SAAQ,qCAAgB;IASzC,YAAY,KAAU,EAAE,OAAyB;;QAC7C,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QAR1B,UAAK,GAAG,IAAI,CAAC;QACb,UAAK,GAAG,IAAI,CAAC;QAST,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QAED,MAAM,IAAI,GAAG,+BAA+B,CAAC;QAC7C,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;gBACpB,QAAQ,GAAG,EAAE;oBACT,KAAK,UAAU;wBACX,IAAI,CAAC,UAAU,CAAC,KAAK,IAAI,cAAc,GAAG,CAAC,GAAG,CAAC,GAAG,CAAA;wBAClD,MAAM;oBACV,KAAK,WAAW;wBACZ,IAAI,CAAC,UAAU,CAAC,KAAK,IAAI,UAAU,GAAG,CAAC,GAAG,CAAC,GAAG,CAAA;wBAC9C,MAAM;oBACV;wBACI,IAAI,CAAC,GAAG,CAAC,GAAG,GAAG,CAAC,GAAG,CAAC,CAAC;wBACrB,MAAM;iBACb;aACJ;QACL,CAAC,CAAC,CAAC;QACH,CAAA,MAAA,IAAI,CAAC,IAAI,0CAAE,QAAQ,KAAI,IAAI,CAAC,QAAQ,CAAC,IAAI,CAAC,IAAI,CAAC,QAAQ,EAAE,CAAC,CAAA;IAC9D,CAAC;CAGJ;AA3CD,0BA2CC"}
@@ -1,14 +0,0 @@
1
- "use strict";
2
- var __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {
3
- if (k2 === undefined) k2 = k;
4
- Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });
5
- }) : (function(o, m, k, k2) {
6
- if (k2 === undefined) k2 = k;
7
- o[k2] = m[k];
8
- }));
9
- var __exportStar = (this && this.__exportStar) || function(m, exports) {
10
- for (var p in m) if (p !== "default" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);
11
- };
12
- Object.defineProperty(exports, "__esModule", { value: true });
13
- __exportStar(require("./icon"), exports);
14
- //# sourceMappingURL=index.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"index.js","sourceRoot":"","sources":["../../../../../../../src/mobileapp/vue/domstructure/ui/basic/icon/index.ts"],"names":[],"mappings":";;;;;;;;;;;;AAAA,yCAAwB"}
@@ -1,46 +0,0 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.VueCityPicker = void 0;
4
- const vue_variable_1 = require("../common/vue-variable");
5
- const common_1 = require("./common");
6
- class VueCityPicker extends common_1.VueInputComponent {
7
- constructor(param, context) {
8
- super(param, context);
9
- let obj;
10
- if (typeof param === 'string') {
11
- obj = JSON.parse(param);
12
- }
13
- else {
14
- obj = param;
15
- }
16
- if (!obj) {
17
- return;
18
- }
19
- const keys = 'request,data,hotCity';
20
- Object.keys(obj).forEach(key => {
21
- if (keys.includes(key) && obj[key]) {
22
- switch (key) {
23
- case 'request':
24
- this[key] = this.stringify(obj[key], 'formater');
25
- break;
26
- case 'data':
27
- this[key] = new vue_variable_1.VueVariable(obj[key]);
28
- break;
29
- case 'hotCity':
30
- if (obj[key].type === 'static') {
31
- this[key] = new vue_variable_1.VueVariable(obj[key].data);
32
- }
33
- else {
34
- this[key] = new vue_variable_1.VueVariable(obj[key].dataSource);
35
- }
36
- break;
37
- default:
38
- this[key] = obj[key];
39
- break;
40
- }
41
- }
42
- });
43
- }
44
- }
45
- exports.VueCityPicker = VueCityPicker;
46
- //# sourceMappingURL=picker-city.js.map
@@ -1 +0,0 @@
1
- {"version":3,"file":"picker-city.js","sourceRoot":"","sources":["../../../../../../src/mobileapp/vue/domstructure/ui/input/picker-city.ts"],"names":[],"mappings":";;;AACA,yDAAqD;AACrD,qCAA6C;AAE7C,MAAa,aAAc,SAAQ,0BAAiB;IAGhD,YAAY,KAAU,EAAE,OAAyB;QAC7C,KAAK,CAAC,KAAK,EAAE,OAAO,CAAC,CAAC;QAEtB,IAAI,GAAQ,CAAC;QACb,IAAI,OAAO,KAAK,KAAK,QAAQ,EAAE;YAC3B,GAAG,GAAG,IAAI,CAAC,KAAK,CAAC,KAAK,CAAC,CAAC;SAC3B;aAAM;YACH,GAAG,GAAG,KAAK,CAAC;SACf;QAED,IAAI,CAAC,GAAG,EAAE;YACN,OAAO;SACV;QAED,MAAM,IAAI,GAAG,sBAAsB,CAAC;QACpC,MAAM,CAAC,IAAI,CAAC,GAAG,CAAC,CAAC,OAAO,CAAC,GAAG,CAAC,EAAE;YAC3B,IAAI,IAAI,CAAC,QAAQ,CAAC,GAAG,CAA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