@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
@@ -4,6 +4,8 @@
4
4
  -attrs.class = variable.appearance && variable.appearance.class;
5
5
  -attrs.style = variable.appearance && variable.appearance.style;
6
6
  -attrs.id = variable.replacedId? String(variable.replacedId) : undefined
7
+ -attrs.placeholder = variable.placeholder? String(variable.placeholder) : undefined
8
+ -attrs.title = variable.title? String(variable.title) : undefined
7
9
  -attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
8
10
  -attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
9
11
  -var visible = variable.visible ? String(variable.visible.value) : 'false';
@@ -18,12 +20,9 @@ div(
18
20
  )
19
21
  fm-switch-cell(
20
22
  v-model=binding
21
- :title = variable.title? variable.i18nTitle: undefined
22
- :placeholder = variable.placeholder? variable.i18nPlaceholder : undefined
23
23
  :required=require
24
24
  :readonly=readonly
25
25
  :disabled=disable
26
- :labelWidth!=variable.labelWidth?variable.labelWidth+"":undefined
27
26
  :modelValue=variable.modelValue ? variable.modelValue+"":undefined
28
27
  size=variable.size?""+variable.size:undefined
29
28
  )&attributes(attrs)
@@ -38,10 +37,10 @@ div(
38
37
  | !{variable.extraTemplate}
39
38
  if(variable.labelTips)
40
39
  template(#title)
41
- <span>!{variable.i18nTitleWithBrace}</span>
40
+ <span>!{variable.title}</span>
42
41
  <fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
43
42
  <fm-icon name="s-illustrate-o"/>
44
43
  <template #content>
45
- <div class="fm-input-label-tips-content"><span>!{variable.i18nLabelTips}</span></div>
44
+ <div class="fm-input-label-tips-content"><span>!{variable.labelTips}</span></div>
46
45
  </template>
47
46
  </fm-popover>
@@ -8,7 +8,7 @@ fm-tab-bar(
8
8
  v-if=visible
9
9
  type=variable.displayType?variable.displayType:undefined
10
10
  :modelValue=binding
11
- :items=variable.items?variable.i18nItems:undefined
11
+ :items=variable.items?variable.items:undefined
12
12
  @change=variable.change?String(variable.change):undefined
13
13
  )&attributes(attrs)
14
14
  | {{content}}
@@ -4,10 +4,12 @@
4
4
  -attrs.name = variable.replacedId ? String(variable.replacedId) : undefined;
5
5
  -var bindTitle = variable.bindTitle ? variable.bindTitle.path ? 'uiState.' + variable.bindTitle.path : variable.bindTitle : undefined
6
6
  -var visible = variable.visible ? String(variable.visible.value) : 'false';
7
+ -var title = !bindTitle && variable.title ? String(variable.title) : undefined
7
8
 
8
9
  fm-tab(
9
10
  v-if=visible
10
- :title=bindTitle ? bindTitle : variable.i18nTitle
11
+ title= title
12
+ :title=bindTitle
11
13
  id=variable.replacedId ? String(variable.replacedId) : undefined
12
14
  )&attributes(attrs)
13
15
  | {{content}}
@@ -4,6 +4,8 @@
4
4
  -attrs.class = variable.appearance && variable.appearance.class;
5
5
  -attrs.style = variable.appearance && variable.appearance.style;
6
6
  -attrs.id = variable.replacedId? String(variable.replacedId) : undefined
7
+ -attrs.placeholder = variable.placeholder? String(variable.placeholder) : undefined
8
+ -attrs.label = variable.title? String(variable.title) : undefined
7
9
  -attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
8
10
  -attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
9
11
  -var visible = variable.visible ? String(variable.visible.value) : 'false';
@@ -12,15 +14,12 @@
12
14
  -var disable = variable.disable ? String(variable.disable.value) : undefined;
13
15
  -var binding = variable.binding && variable.binding.path ? "form."+variable.binding.path+".value" : undefined
14
16
 
15
-
16
17
  div(
17
18
  v-if=visible
18
19
  class="fm-input-wrapper"
19
20
  )
20
21
  fm-input(
21
22
  v-model=binding
22
- :label = variable.title? variable.i18nTitle : undefined
23
- :placeholder = variable.placeholder? variable.i18nPlaceholder : undefined
24
23
  :required=require
25
24
  :readonly=readonly
26
25
  :disabled=disable
@@ -38,10 +37,10 @@ div(
38
37
  | !{variable.rightTemplate}
39
38
  if(variable.labelTips)
40
39
  template(#title)
41
- <span>!{variable.i18nTitleWithBrace}</span>
40
+ <span>!{variable.title}</span>
42
41
  <fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
43
42
  <fm-icon name="s-illustrate-o"/>
44
43
  <template #content>
45
- <div class="fm-input-label-tips-content"><span>!{variable.i18nLabelTips}</span></div>
44
+ <div class="fm-input-label-tips-content"><span>!{variable.labelTips}</span></div>
46
45
  </template>
47
46
  </fm-popover>
@@ -4,6 +4,8 @@
4
4
  -attrs.class = variable.appearance && variable.appearance.class;
5
5
  -attrs.style = variable.appearance && variable.appearance.style;
6
6
  -attrs.id = variable.replacedId? String(variable.replacedId) : undefined
7
+ -attrs.placeholder = variable.placeholder? String(variable.placeholder) : undefined
8
+ -attrs.label = variable.title? String(variable.title) : undefined
7
9
  -attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
8
10
  -attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
9
11
  -var visible = variable.visible ? String(variable.visible.value) : 'false';
@@ -13,8 +15,6 @@
13
15
  -var binding = variable.binding && variable.binding.path ? "form."+variable.binding.path+".value" : undefined
14
16
 
15
17
 
16
-
17
-
18
18
  div(
19
19
  v-if=visible
20
20
  class="fm-input-wrapper"
@@ -22,8 +22,6 @@ div(
22
22
  fm-input(
23
23
  ref=variable.id?"" + variable.id:undefined
24
24
  v-model=binding
25
- :label = variable.title? variable.i18nTitle : undefined
26
- :placeholder = variable.placeholder? variable.i18nPlaceholder : undefined
27
25
  :required=require
28
26
  :readonly=readonly
29
27
  :disabled=disable
@@ -58,11 +56,11 @@ div(
58
56
  | !{variable.extraTemplate}
59
57
  if(variable.labelTips)
60
58
  template(#title)
61
- <span>!{variable.i18nTitleWithBrace}</span>
59
+ <span>!{variable.title}</span>
62
60
  <fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
63
61
  <fm-icon name="s-illustrate-o"/>
64
62
  <template #content>
65
- <div class="fm-input-label-tips-content"><span>!{variable.i18nLabelTips}</span></div>
63
+ <div class="fm-input-label-tips-content"><span>!{variable.labelTips}</span></div>
66
64
  </template>
67
65
  </fm-popover>
68
66
 
@@ -4,6 +4,8 @@
4
4
  -attrs.class = variable.appearance && variable.appearance.class;
5
5
  -attrs.style = variable.appearance && variable.appearance.style;
6
6
  -attrs.id = variable.replacedId? String(variable.replacedId) : undefined
7
+ -attrs.placeholder = variable.placeholder? String(variable.placeholder) : undefined
8
+ -attrs.label = variable.title? String(variable.title) : undefined
7
9
  -attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
8
10
  -attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
9
11
  -var visible = variable.visible ? String(variable.visible.value) : 'false';
@@ -12,16 +14,12 @@
12
14
  -var disable = variable.disable ? String(variable.disable.value) : undefined;
13
15
  -var binding = variable.binding && variable.binding.path ? "form."+variable.binding.path+".value" : undefined
14
16
 
15
-
16
-
17
17
  div(
18
18
  v-if=visible
19
19
  class="fm-input-wrapper"
20
20
  )
21
21
  fm-input(
22
22
  v-model=binding
23
- :label = variable.title? variable.i18nTitle : undefined
24
- :placeholder = variable.placeholder? variable.i18nPlaceholder : undefined
25
23
  :required=require
26
24
  :readonly=readonly
27
25
  :disabled=disable
@@ -30,8 +28,6 @@ div(
30
28
  :is-link!=variable.isLink?variable.isLink+"":undefined
31
29
  :labelWidth!=variable.labelWidth?variable.labelWidth+"":undefined
32
30
  :formatter=variable.formatter?variable.formatter+"":undefined
33
- updateOn=variable.updateOn?variable.updateOn+"":undefined
34
- :maxlength!=variable.maxLength?variable.maxLength+"":undefined
35
31
  direction=variable.direction?variable.direction+"":undefined
36
32
  input-align="right"
37
33
  extra=variable.suffix?variable.suffix+"":undefined
@@ -54,10 +50,11 @@ div(
54
50
  | !{variable.extraTemplate}
55
51
  if(variable.labelTips)
56
52
  template(#title)
57
- <span>!{variable.i18nTitleWithBrace}</span>
53
+ <span>!{variable.title}</span>
58
54
  <fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
59
55
  <fm-icon name="s-illustrate-o"/>
60
56
  <template #content>
61
- <div class="fm-input-label-tips-content"><span>!{variable.i18nLabelTips}</span></div>
57
+ <div class="fm-input-label-tips-content"><span>!{variable.labelTips}</span></div>
62
58
  </template>
63
59
  </fm-popover>
60
+
@@ -3,6 +3,8 @@
3
3
  -attrs.class = variable.appearance && variable.appearance.class;
4
4
  -attrs.style = variable.appearance && variable.appearance.style;
5
5
  -attrs.id = variable.replacedId? String(variable.replacedId) : undefined
6
+ -attrs.placeholder = variable.placeholder? String(variable.placeholder) : undefined
7
+ -attrs.label = variable.title? String(variable.title) : undefined
6
8
  -attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
7
9
  -attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
8
10
  -var visible = variable.visible ? String(variable.visible.value) : 'false';
@@ -11,16 +13,12 @@
11
13
  -var disable = variable.disable ? String(variable.disable.value) : undefined;
12
14
  -var binding = variable.binding && variable.binding.path ? "form."+variable.binding.path+".value" : undefined
13
15
 
14
-
15
-
16
16
  div(
17
17
  v-if=visible
18
18
  class="fm-input-wrapper"
19
19
  )
20
20
  fm-scan-input(
21
21
  v-model=binding
22
- :label = variable.title? variable.i18nTitle : undefined
23
- :placeholder = variable.placeholder? variable.i18nPlaceholder : undefined
24
22
  :required=require
25
23
  :readonly=readonly
26
24
  :disabled=disable
@@ -45,11 +43,11 @@ div(
45
43
  | !{variable.extraTemplate}
46
44
  if(variable.labelTips)
47
45
  template(#title)
48
- <span>!{variable.i18nTitleWithBrace}</span>
46
+ <span>!{variable.title}</span>
49
47
  <fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
50
48
  <fm-icon name="s-illustrate-o"/>
51
49
  <template #content>
52
- <div class="fm-input-label-tips-content"><span>!{variable.i18nLabelTips}</span></div>
50
+ <div class="fm-input-label-tips-content"><span>!{variable.labelTips}</span></div>
53
51
  </template>
54
52
  </fm-popover>
55
53
 
@@ -3,6 +3,8 @@
3
3
  -attrs.class = variable.appearance && variable.appearance.class;
4
4
  -attrs.style = variable.appearance && variable.appearance.style;
5
5
  -attrs.id = variable.replacedId? String(variable.replacedId) : undefined
6
+ -attrs.placeholder = variable.placeholder? String(variable.placeholder) : undefined
7
+ -attrs.label = variable.title? String(variable.title) : undefined
6
8
  -attrs.ref = variable.replacedId? String(variable.replacedId) : undefined
7
9
  -attrs.bindingpath = variable.binding && variable.binding.path ? variable.binding.path : undefined
8
10
  -var visible = variable.visible ? String(variable.visible.value) : 'false';
@@ -11,16 +13,12 @@
11
13
  -var disable = variable.disable ? String(variable.disable.value) : undefined;
12
14
  -var binding = variable.binding && variable.binding.path ? "form."+variable.binding.path+".value" : undefined
13
15
 
14
-
15
-
16
16
  div(
17
17
  v-if=visible
18
18
  class="fm-input-wrapper"
19
19
  )
20
20
  fm-telphone-input(
21
21
  v-model=binding
22
- :label = variable.title? variable.i18nTitle : undefined
23
- :placeholder = variable.placeholder? variable.i18nPlaceholder : undefined
24
22
  :required=require
25
23
  :readonly=readonly
26
24
  :disabled=disable
@@ -34,13 +32,5 @@ div(
34
32
  :error-message!=variable.errorMessage
35
33
  error-message-align=variable.errorMessage ? "right" : undefined
36
34
  )&attributes(attrs)
37
- if(variable.labelTips)
38
- template(#title)
39
- <span>!{variable.i18nTitleWithBrace}</span>
40
- <fm-popover :hasMask="false" placement="topLeft" className="fm-input-label-tips" :offset="{left: -5}">
41
- <fm-icon name="s-illustrate-o"/>
42
- <template #content>
43
- <div class="fm-input-label-tips-content"><span>!{variable.i18nLabelTips}</span></div>
44
- </template>
45
- </fm-popover>
35
+
46
36
 
@@ -6,5 +6,5 @@
6
6
 
7
7
  fm-button-group(
8
8
  v-if=visible
9
- :items=variable.items?variable.i18nItems+"":undefined
9
+ :items=variable.items?variable.items+"":undefined
10
10
  )&attributes(attrs)
@@ -12,4 +12,4 @@ div(
12
12
  if(variable.iconType)
13
13
  div(class=iconClass)
14
14
  div(class="fm-popover-item-content")
15
- | !{variable.text?variable.i18nText:""}
15
+ | !{variable.text?variable.text:""}
@@ -1,6 +1,6 @@
1
- div(
2
- v-if=variable.visible?variable.visible+"":"false"
3
- class=(variable.appearance && variable.appearance.class)
4
- style=(variable.appearance && variable.appearance.style)
5
- )
1
+ div(
2
+ v-if=variable.visible?variable.visible+"":"false"
3
+ class=(variable.appearance && variable.appearance.class)
4
+ style=(variable.appearance && variable.appearance.style)
5
+ )
6
6
  | {{content}}
@@ -1,87 +1,92 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ComponentExternalContainerParameterCreator = void 0;
4
- const toolhepler_1 = require("../toolhepler");
5
- const component_external_container_parameter_1 = require("./component-external-container-parameter");
6
- class ComponentExternalContainerParameterCreator {
7
- static createViewContainerId(id) {
8
- return toolhepler_1.ToolHelper.replaceHengXianAndDotToXiaHuaXian(id) + "Container";
9
- }
10
- static createViewChildName(id) {
11
- return toolhepler_1.ToolHelper.replaceHengXianAndDotToXiaHuaXian(id);
12
- }
13
- static createLoadJsPath(externalComponentParameter, suffixWithPath) {
14
- if (!externalComponentParameter.useIsolateJs) {
15
- return "";
16
- }
17
- let loadJs = "/apps";
18
- if (externalComponentParameter.serviceUnitPath && externalComponentParameter.projectName) {
19
- if (externalComponentParameter.serviceUnitPath.startsWith("/")) {
20
- loadJs += externalComponentParameter.serviceUnitPath;
21
- }
22
- else {
23
- loadJs += "/" + externalComponentParameter.serviceUnitPath;
24
- }
25
- if (loadJs.endsWith("/")) {
26
- loadJs += "web";
27
- }
28
- else {
29
- loadJs += "/web";
30
- }
31
- if (externalComponentParameter.projectName.startsWith("/")) {
32
- loadJs += externalComponentParameter.projectName;
33
- }
34
- else {
35
- loadJs += "/" + externalComponentParameter.projectName;
36
- }
37
- }
38
- else {
39
- if (!externalComponentParameter.filePath) {
40
- return "";
41
- }
42
- const splitFilePathArr = externalComponentParameter.filePath.split("/");
43
- loadJs += "/" + splitFilePathArr[0] + "/" + splitFilePathArr[1];
44
- loadJs += "/web";
45
- loadJs += "/" + splitFilePathArr[3];
46
- }
47
- loadJs += "/" + externalComponentParameter.code + "/" + externalComponentParameter.code + ".js";
48
- loadJs = loadJs.toLowerCase();
49
- let findSuffix = suffixWithPath.find((t) => {
50
- return t.path === loadJs;
51
- });
52
- if (!findSuffix) {
53
- findSuffix = {
54
- path: loadJs,
55
- suffix: "new Date()"
56
- };
57
- suffixWithPath.push(findSuffix);
58
- }
59
- return loadJs;
60
- }
61
- static hasModalContainerParameter(parameter) {
62
- if (!parameter || toolhepler_1.ToolHelper.isArray(parameter, false) == false) {
63
- return false;
64
- }
65
- const flag = parameter.some((t) => {
66
- return component_external_container_parameter_1.ComponentExternalContainerParameter.isModalContainer(t.type);
67
- });
68
- return flag;
69
- }
70
- static createModalContainerIsolateJsFunctionName(containerId, id) {
71
- const functionName = toolhepler_1.ToolHelper.replaceHengXianAndDotToXiaHuaXian(containerId || id);
72
- return functionName;
73
- }
74
- static hasIsolateModalContainer(externalContainerParameters) {
75
- if (toolhepler_1.ToolHelper.isArray(externalContainerParameters, false)) {
76
- return externalContainerParameters.some((parameter) => {
77
- return this.isIsolateModalContainer(parameter);
78
- });
79
- }
80
- }
81
- static isIsolateModalContainer(parameter) {
82
- return component_external_container_parameter_1.ComponentExternalContainerParameter.isModalContainer(parameter.type) && parameter.useIsolateJs &&
83
- (!parameter.contentType || parameter.contentType == "form");
84
- }
85
- }
86
- exports.ComponentExternalContainerParameterCreator = ComponentExternalContainerParameterCreator;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ComponentExternalContainerParameterCreator = void 0;
4
+ const toolhepler_1 = require("../toolhepler");
5
+ const component_external_container_parameter_1 = require("./component-external-container-parameter");
6
+ class ComponentExternalContainerParameterCreator {
7
+ static createViewContainerId(id) {
8
+ return toolhepler_1.ToolHelper.replaceHengXianAndDotToXiaHuaXian(id) + "Container";
9
+ }
10
+ static createViewChildName(id) {
11
+ return toolhepler_1.ToolHelper.replaceHengXianAndDotToXiaHuaXian(id);
12
+ }
13
+ static createLoadJsPath(externalComponentParameter, suffixWithPath) {
14
+ if (!externalComponentParameter.useIsolateJs) {
15
+ return "";
16
+ }
17
+ let loadJs = "/apps";
18
+ if (externalComponentParameter.serviceUnitPath && externalComponentParameter.projectName) {
19
+ if (externalComponentParameter.serviceUnitPath.startsWith("/")) {
20
+ loadJs += externalComponentParameter.serviceUnitPath;
21
+ }
22
+ else {
23
+ loadJs += "/" + externalComponentParameter.serviceUnitPath;
24
+ }
25
+ if (loadJs.endsWith("/")) {
26
+ loadJs += "web";
27
+ }
28
+ else {
29
+ loadJs += "/web";
30
+ }
31
+ if (externalComponentParameter.projectName.startsWith("/")) {
32
+ loadJs += externalComponentParameter.projectName;
33
+ }
34
+ else {
35
+ loadJs += "/" + externalComponentParameter.projectName;
36
+ }
37
+ }
38
+ else {
39
+ if (!externalComponentParameter.filePath) {
40
+ return "";
41
+ }
42
+ const splitFilePathArr = externalComponentParameter.filePath.split("/");
43
+ loadJs += "/" + splitFilePathArr[0] + "/" + splitFilePathArr[1];
44
+ loadJs += "/web";
45
+ loadJs += "/" + splitFilePathArr[3];
46
+ }
47
+ if (!toolhepler_1.ToolHelper.isNullOrUndefinedOrEmpty(externalComponentParameter.rtcFileRelativePath)) {
48
+ loadJs += "/" + externalComponentParameter.rtcFileRelativePath;
49
+ }
50
+ else {
51
+ loadJs += "/" + externalComponentParameter.code + "/" + externalComponentParameter.code + ".js";
52
+ }
53
+ loadJs = loadJs.toLowerCase();
54
+ let findSuffix = suffixWithPath.find((t) => {
55
+ return t.path === loadJs;
56
+ });
57
+ if (!findSuffix) {
58
+ findSuffix = {
59
+ path: loadJs,
60
+ suffix: "new Date()"
61
+ };
62
+ suffixWithPath.push(findSuffix);
63
+ }
64
+ return loadJs;
65
+ }
66
+ static hasModalContainerParameter(parameter) {
67
+ if (!parameter || toolhepler_1.ToolHelper.isArray(parameter, false) == false) {
68
+ return false;
69
+ }
70
+ const flag = parameter.some((t) => {
71
+ return component_external_container_parameter_1.ComponentExternalContainerParameter.isModalContainer(t.type);
72
+ });
73
+ return flag;
74
+ }
75
+ static createModalContainerIsolateJsFunctionName(containerId, id) {
76
+ const functionName = toolhepler_1.ToolHelper.replaceHengXianAndDotToXiaHuaXian(containerId || id);
77
+ return functionName;
78
+ }
79
+ static hasIsolateModalContainer(externalContainerParameters) {
80
+ if (toolhepler_1.ToolHelper.isArray(externalContainerParameters, false)) {
81
+ return externalContainerParameters.some((parameter) => {
82
+ return this.isIsolateModalContainer(parameter);
83
+ });
84
+ }
85
+ }
86
+ static isIsolateModalContainer(parameter) {
87
+ return component_external_container_parameter_1.ComponentExternalContainerParameter.isModalContainer(parameter.type) && parameter.useIsolateJs &&
88
+ (!parameter.contentType || parameter.contentType == "form");
89
+ }
90
+ }
91
+ exports.ComponentExternalContainerParameterCreator = ComponentExternalContainerParameterCreator;
87
92
  //# sourceMappingURL=component-external-container-parameter-creator.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"component-external-container-parameter-creator.js","sourceRoot":"","sources":["../../../src/utility/devkit/component-external-container-parameter-creator.ts"],"names":[],"mappings":";;;AAAA,8CAA2C;AAC3C,qGAA+F;AAK/F,MAAa,0CAA0C;IAMnD,MAAM,CAAC,qBAAqB,CAAC,EAAU;QACnC,OAAO,uBAAU,CAAC,iCAAiC,CAA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AC,CAAC,SAA8C,EAAE,EAAE;gBACvF,OAAO,IAAI,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;YACnD,CAAC,CAAC,CAAC;SACN;IACL,CAAC;IAED,MAAM,CAAC,uBAAuB,CAAC,SAA8C;QACzE,OAAO,4EAAmC,CAAC,gBAAgB,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,SAAS,CAAC,YAAY;YACjG,CAAC,CAAC,SAAS,CAAC,WAAW,IAAI,SAAS,CAAC,WAAW,IAAI,MAAM,CAAC,CAAC;IACpE,CAAC;CACJ;AAtHD,gGAsHC"}
1
+ {"version":3,"file":"component-external-container-parameter-creator.js","sourceRoot":"","sources":["../../../src/utility/devkit/component-external-container-parameter-creator.ts"],"names":[],"mappings":";;;AAAA,8CAA2C;AAC3C,qGAA+F;AAK/F,MAAa,0CAA0C;IAMnD,MAAM,CAAC,qBAAqB,CAAC,EAAU;QACnC,OAAO,uBAAU,CAAC,iCAAiC,CAAC,EAAE,CAAC,GAAG,WAAW,CAAC;IAC1E,CAAC;IAED,MAAM,CAAC,mBAAmB,CAAC,EAAU;QACjC,OAAO,uBAAU,CAAC,iCAAiC,CAAC,EAAE,CAAC,CAAC;IAC5D,CAAC;IAOD,MAAM,CAAC,gBAAgB,CAAC,0BAA+D,EAAE,cAGtF;QACC,IAAI,CAAC,0BAA0B,CAAC,YAAY,EAAE;YAC1C,OAAO,EAAE,CAAC;SACb;QAED,IAAI,MAAM,GAAG,OAAO,CAAC;QACrB,IAAI,0BAA0B,CAAC,eAAe,IAAI,0BAA0B,CAAC,WAAW,EAAE;YACtF,IAAI,0BAA0B,CAAC,eAAe,CAAC,UAAU,CAAC,GAAG,CAAC,EAAE;gBAC5D,MAAM,IAAI,0BAA0B,CAAC,eAAe,CAAC;aACxD;iBAAM;gBACH,MAAM,IAAI,GAAG,GAAG,0BAA0B,CAAC,eAAe,CAAC;aAC9D;YAED,IAAI,MAAM,CAAC,QAAQ,CAAC,GAAG,CAAC,EAAE;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AI,CAAC,UAAU,CAAC,CAAC;SACnC;QAID,OAAO,MAAM,CAAC;IAClB,CAAC;IAOD,MAAM,CAAC,0BAA0B,CAAC,SAAgD;QAC9E,IAAI,CAAC,SAAS,IAAI,uBAAU,CAAC,OAAO,CAAC,SAAS,EAAE,KAAK,CAAC,IAAI,KAAK,EAAE;YAC7D,OAAO,KAAK,CAAC;SAChB;QACD,MAAM,IAAI,GAAG,SAAS,CAAC,IAAI,CAAC,CAAC,CAAC,EAAE,EAAE;YAC9B,OAAO,4EAAmC,CAAC,gBAAgB,CAAC,CAAC,CAAC,IAAI,CAAC,CAAC;QACxE,CAAC,CAAC,CAAC;QACH,OAAO,IAAI,CAAC;IAChB,CAAC;IAOD,MAAM,CAAC,yCAAyC,CAAC,WAAmB,EAAE,EAAU;QAC5E,MAAM,YAAY,GAAG,uBAAU,CAAC,iCAAiC,CAAC,WAAW,IAAI,EAAE,CAAC,CAAC;QACrF,OAAO,YAAY,CAAC;IACxB,CAAC;IAMD,MAAM,CAAC,wBAAwB,CAAC,2BAAkE;QAC9F,IAAI,uBAAU,CAAC,OAAO,CAAC,2BAA2B,EAAE,KAAK,CAAC,EAAE;YACxD,OAAO,2BAA2B,CAAC,IAAI,CAAC,CAAC,SAA8C,EAAE,EAAE;gBACvF,OAAO,IAAI,CAAC,uBAAuB,CAAC,SAAS,CAAC,CAAC;YACnD,CAAC,CAAC,CAAC;SACN;IACL,CAAC;IAED,MAAM,CAAC,uBAAuB,CAAC,SAA8C;QACzE,OAAO,4EAAmC,CAAC,gBAAgB,CAAC,SAAS,CAAC,IAAI,CAAC,IAAI,SAAS,CAAC,YAAY;YACjG,CAAC,CAAC,SAAS,CAAC,WAAW,IAAI,SAAS,CAAC,WAAW,IAAI,MAAM,CAAC,CAAC;IACpE,CAAC;CACJ;AAzHD,gGAyHC"}
@@ -1,13 +1,13 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ComponentExternalContainerParameter = void 0;
4
- class ComponentExternalContainerParameter {
5
- static isExternalContainer(type) {
6
- return type === "ExternalContainer";
7
- }
8
- static isModalContainer(type) {
9
- return type === "ModalContainer";
10
- }
11
- }
12
- exports.ComponentExternalContainerParameter = ComponentExternalContainerParameter;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ComponentExternalContainerParameter = void 0;
4
+ class ComponentExternalContainerParameter {
5
+ static isExternalContainer(type) {
6
+ return type === "ExternalContainer";
7
+ }
8
+ static isModalContainer(type) {
9
+ return type === "ModalContainer";
10
+ }
11
+ }
12
+ exports.ComponentExternalContainerParameter = ComponentExternalContainerParameter;
13
13
  //# sourceMappingURL=component-external-container-parameter.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"component-external-container-parameter.js","sourceRoot":"","sources":["../../../src/utility/devkit/component-external-container-parameter.ts"],"names":[],"mappings":";;;AAGA,MAAa,mCAAmC;IAqBrC,MAAM,CAAC,mBAAmB,CAAC,IAAY;QAC1C,OAAO,IAAI,KAAK,mBAAmB,CAAC;IACxC,CAAC;IAEM,MAAM,CAAC,gBAAgB,CAAC,IAAY;QACvC,OAAO,IAAI,KAAK,gBAAgB,CAAC;IACrC,CAAC;CACJ;AA5BD,kFA4BC"}
1
+ {"version":3,"file":"component-external-container-parameter.js","sourceRoot":"","sources":["../../../src/utility/devkit/component-external-container-parameter.ts"],"names":[],"mappings":";;;AAGA,MAAa,mCAAmC;IAsBrC,MAAM,CAAC,mBAAmB,CAAC,IAAY;QAC1C,OAAO,IAAI,KAAK,mBAAmB,CAAC;IACxC,CAAC;IAEM,MAAM,CAAC,gBAAgB,CAAC,IAAY;QACvC,OAAO,IAAI,KAAK,gBAAgB,CAAC;IACrC,CAAC;CACJ;AA7BD,kFA6BC"}