@farris/jit-engine 1.3.363 → 1.3.364

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 (776) hide show
  1. package/README.md +4 -0
  2. package/lib/domstructure/devkit/appmodule.js +31 -31
  3. package/lib/domstructure/devkit/befProxy/bef-proxy-content.js +57 -57
  4. package/lib/domstructure/devkit/befProxy/bef-proxy-operation-parameter.js +68 -68
  5. package/lib/domstructure/devkit/befProxy/bef-proxy-operation.js +66 -66
  6. package/lib/domstructure/devkit/befProxy/bef-proxy-service.js +46 -46
  7. package/lib/domstructure/devkit/befProxy/bef-proxy.js +34 -34
  8. package/lib/domstructure/devkit/befProxy/index.js +13 -13
  9. package/lib/domstructure/devkit/entity/entity.js +182 -182
  10. package/lib/domstructure/devkit/event/event-command-array.js +20 -20
  11. package/lib/domstructure/devkit/event/event-command.js +25 -25
  12. package/lib/domstructure/devkit/event/event-declaraction.js +52 -52
  13. package/lib/domstructure/devkit/event/event.js +33 -33
  14. package/lib/domstructure/devkit/event/events-array.js +17 -17
  15. package/lib/domstructure/devkit/event/subscription.js +63 -63
  16. package/lib/domstructure/devkit/externalComponent/external-wizard-detail-component.js +11 -11
  17. package/lib/domstructure/devkit/externalComponent/externalCompoent.js +36 -36
  18. package/lib/domstructure/devkit/externalComponent/externalComponent-constant.js +6 -6
  19. package/lib/domstructure/devkit/externalComponent/externalComponent-creator-factory.js +42 -42
  20. package/lib/domstructure/devkit/externalComponent/externalModalComponent.js +33 -33
  21. package/lib/domstructure/devkit/externalComponent/externalRouteComponent.js +11 -11
  22. package/lib/domstructure/devkit/externalComponent/externalsection-component.js +11 -11
  23. package/lib/domstructure/devkit/externalComponent/externalsidebar-component.js +11 -11
  24. package/lib/domstructure/devkit/extraImports/extra-import.js +25 -25
  25. package/lib/domstructure/devkit/extraImports/index.js +13 -13
  26. package/lib/domstructure/devkit/index.js +33 -33
  27. package/lib/domstructure/devkit/module/module.js +216 -216
  28. package/lib/domstructure/devkit/module/module.js.map +1 -1
  29. package/lib/domstructure/devkit/module-reference/component-apply-range.js +9 -9
  30. package/lib/domstructure/devkit/module-reference/form-module-reference-range.js +9 -9
  31. package/lib/domstructure/devkit/module-reference/form-module-reference.js +29 -29
  32. package/lib/domstructure/devkit/module-reference/index.js +14 -14
  33. package/lib/domstructure/devkit/module-reference/module-reference.js +26 -26
  34. package/lib/domstructure/devkit/repository/repository.js +25 -25
  35. package/lib/domstructure/devkit/routing/routing.js +55 -55
  36. package/lib/domstructure/devkit/section-toolbar/farris-section-toolbar-item.js +57 -57
  37. package/lib/domstructure/devkit/section-toolbar/farris-section-toolbar.js +38 -38
  38. package/lib/domstructure/devkit/section-toolbar/index.js +14 -14
  39. package/lib/domstructure/devkit/solution.js +59 -59
  40. package/lib/domstructure/devkit/tab-toolbar/farris-tab-toolbar-Item.js +57 -57
  41. package/lib/domstructure/devkit/tab-toolbar/farris-tab-toolbar.js +38 -38
  42. package/lib/domstructure/devkit/tab-toolbar/index.js +14 -14
  43. package/lib/domstructure/devkit/viewmodel/command/command.js +169 -169
  44. package/lib/domstructure/devkit/viewmodel/command/shortcut.js +28 -28
  45. package/lib/domstructure/devkit/viewmodel/component/component-children-route.js +28 -28
  46. package/lib/domstructure/devkit/viewmodel/component/component-custom-provider.js +6 -6
  47. package/lib/domstructure/devkit/viewmodel/component/component-provider.js +26 -26
  48. package/lib/domstructure/devkit/viewmodel/component/index.js +14 -14
  49. package/lib/domstructure/devkit/viewmodel/form/form.js +169 -169
  50. package/lib/domstructure/devkit/viewmodel/service/service.js +41 -41
  51. package/lib/domstructure/devkit/viewmodel/statemachine/statemachine.js +108 -108
  52. package/lib/domstructure/devkit/viewmodel/states/state.js +100 -100
  53. package/lib/domstructure/editor-type-enum.js +8 -8
  54. package/lib/domstructure/i-entity-tojson.js +2 -2
  55. package/lib/domstructure/i-placeholder-resource.js +2 -2
  56. package/lib/domstructure/i-replacedid.js +2 -2
  57. package/lib/domstructure/i18n-resource.js +50 -50
  58. package/lib/domstructure/index.js +15 -15
  59. package/lib/domstructure/running-position-enum.js +8 -8
  60. package/lib/domstructure/ui/appointment-calendar/appoint-calendar.js +104 -104
  61. package/lib/domstructure/ui/appointment-calendar/index.js +13 -13
  62. package/lib/domstructure/ui/commands/button_group.js +16 -16
  63. package/lib/domstructure/ui/commands/command.js +61 -61
  64. package/lib/domstructure/ui/commands/command_container.js +40 -40
  65. package/lib/domstructure/ui/commands/context_menu.js +37 -37
  66. package/lib/domstructure/ui/commands/index.js +21 -21
  67. package/lib/domstructure/ui/commands/menu.js +16 -16
  68. package/lib/domstructure/ui/commands/menu_item.js +40 -40
  69. package/lib/domstructure/ui/commands/toolbar_item.js +42 -42
  70. package/lib/domstructure/ui/common/absctract_dom.js +2 -2
  71. package/lib/domstructure/ui/common/appearance.js +35 -35
  72. package/lib/domstructure/ui/common/background.js +33 -33
  73. package/lib/domstructure/ui/common/base-title-component.js +46 -46
  74. package/lib/domstructure/ui/common/basecomponent.js +160 -160
  75. package/lib/domstructure/ui/common/binding.js +164 -164
  76. package/lib/domstructure/ui/common/border.js +39 -39
  77. package/lib/domstructure/ui/common/font.js +38 -38
  78. package/lib/domstructure/ui/common/index.js +21 -21
  79. package/lib/domstructure/ui/common/margin.js +39 -39
  80. package/lib/domstructure/ui/common/padding.js +39 -39
  81. package/lib/domstructure/ui/common/size.js +34 -34
  82. package/lib/domstructure/ui/common/visible.js +69 -69
  83. package/lib/domstructure/ui/component.js +88 -88
  84. package/lib/domstructure/ui/container/collection_item.js +16 -16
  85. package/lib/domstructure/ui/container/collepse.js +16 -16
  86. package/lib/domstructure/ui/container/container.js +43 -43
  87. package/lib/domstructure/ui/container/content_container.js +64 -64
  88. package/lib/domstructure/ui/container/dynamic-area-item.js +36 -36
  89. package/lib/domstructure/ui/container/dynamic-area.js +36 -36
  90. package/lib/domstructure/ui/container/external_container.js +50 -50
  91. package/lib/domstructure/ui/container/fieldset.js +36 -36
  92. package/lib/domstructure/ui/container/flexlayout.js +39 -39
  93. package/lib/domstructure/ui/container/form.js +36 -36
  94. package/lib/domstructure/ui/container/form_group.js +16 -16
  95. package/lib/domstructure/ui/container/hidden-container.js +47 -47
  96. package/lib/domstructure/ui/container/html_template.js +59 -59
  97. package/lib/domstructure/ui/container/index.js +43 -43
  98. package/lib/domstructure/ui/container/item_container.js +40 -40
  99. package/lib/domstructure/ui/container/loop-container.js +53 -53
  100. package/lib/domstructure/ui/container/model.js +16 -16
  101. package/lib/domstructure/ui/container/model_container.js +43 -43
  102. package/lib/domstructure/ui/container/multi-view/index.js +14 -14
  103. package/lib/domstructure/ui/container/multi-view/multi-view-base-container.js +28 -28
  104. package/lib/domstructure/ui/container/multi-view/multi-view-container.js +46 -46
  105. package/lib/domstructure/ui/container/multi-view/multi-view-item.js +28 -28
  106. package/lib/domstructure/ui/container/panel.js +16 -16
  107. package/lib/domstructure/ui/container/plain_container.js +16 -16
  108. package/lib/domstructure/ui/container/popover.js +16 -16
  109. package/lib/domstructure/ui/container/qdp_condition_dialog.js +42 -42
  110. package/lib/domstructure/ui/container/qdp_condition_dialog_tab.js +38 -38
  111. package/lib/domstructure/ui/container/qdp_framework.js +96 -96
  112. package/lib/domstructure/ui/container/queryform.js +33 -33
  113. package/lib/domstructure/ui/container/response-layout/index.js +14 -14
  114. package/lib/domstructure/ui/container/response-layout/response-layout-item.js +10 -10
  115. package/lib/domstructure/ui/container/response-layout/response-layout.js +19 -19
  116. package/lib/domstructure/ui/container/route-container.js +36 -36
  117. package/lib/domstructure/ui/container/sidebar/farris-sidebar.js +132 -132
  118. package/lib/domstructure/ui/container/sidebar/index.js +13 -13
  119. package/lib/domstructure/ui/container/slide_view.js +16 -16
  120. package/lib/domstructure/ui/container/tab.js +16 -16
  121. package/lib/domstructure/ui/container/tab_page.js +33 -33
  122. package/lib/domstructure/ui/data/chart/chart.js +56 -56
  123. package/lib/domstructure/ui/data/collection/data_collection.js +308 -308
  124. package/lib/domstructure/ui/data/collection/farris-datagrid/farris-datagrid.js +453 -453
  125. package/lib/domstructure/ui/data/collection/farris-datagrid/index.js +13 -13
  126. package/lib/domstructure/ui/data/collection/flat/data_grid.js +76 -76
  127. package/lib/domstructure/ui/data/collection/flat/flat.js +50 -50
  128. package/lib/domstructure/ui/data/collection/flat/list_view.js +16 -16
  129. package/lib/domstructure/ui/data/collection/hierarchy/hierarchy.js +79 -79
  130. package/lib/domstructure/ui/data/collection/hierarchy/tree_view.js +16 -16
  131. package/lib/domstructure/ui/data/collection/qdp/spread_sheet.js +62 -62
  132. package/lib/domstructure/ui/data/data.js +58 -58
  133. package/lib/domstructure/ui/data/fields/collection/collection_field.js +66 -66
  134. package/lib/domstructure/ui/data/fields/collection/grid_field.js +93 -93
  135. package/lib/domstructure/ui/data/fields/collection/tree_grid_field.js +16 -16
  136. package/lib/domstructure/ui/data/fields/collection/view_field.js +16 -16
  137. package/lib/domstructure/ui/data/fields/form/datepicker.js +164 -164
  138. package/lib/domstructure/ui/data/fields/form/display/display_field.js +33 -33
  139. package/lib/domstructure/ui/data/fields/form/editable/editable_field.js +53 -53
  140. package/lib/domstructure/ui/data/fields/form/editable/inputs/input_field.js +63 -63
  141. package/lib/domstructure/ui/data/fields/form/editable/inputs/reference/external-service-lookup.js +48 -0
  142. package/lib/domstructure/ui/data/fields/form/editable/inputs/reference/external-service-lookup.js.map +1 -0
  143. package/lib/domstructure/ui/data/fields/form/editable/inputs/reference/lookup_edit.js +174 -174
  144. package/lib/domstructure/ui/data/fields/form/editable/inputs/reference/reference_field.js +50 -50
  145. package/lib/domstructure/ui/data/fields/form/editable/inputs/reference/select.js +49 -49
  146. package/lib/domstructure/ui/data/fields/form/editable/inputs/text/multi_text_box.js +55 -55
  147. package/lib/domstructure/ui/data/fields/form/editable/inputs/text/text_box.js +50 -50
  148. package/lib/domstructure/ui/data/fields/form/editable/inputs/text/text_field.js +49 -49
  149. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/adminorganization-selector.js +44 -44
  150. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/city-selector.js +36 -36
  151. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/date_box.js +49 -49
  152. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/employee-selector.js +80 -80
  153. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/enum_field.js +50 -50
  154. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/ext-intergration.js +33 -33
  155. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/farris-combo-lookup.js +124 -124
  156. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/farris-number-range.js +79 -79
  157. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/farris-number-spinner.js +86 -86
  158. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/language-textbox.js +60 -60
  159. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/lookup_employee.js +80 -80
  160. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/numeric_box.js +53 -53
  161. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/organization-selector.js +49 -49
  162. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/time_box.js +22 -22
  163. package/lib/domstructure/ui/data/fields/form/editable/inputs/value/value_fields.js +49 -49
  164. package/lib/domstructure/ui/data/fields/form/editable/switch/check_box.js +48 -48
  165. package/lib/domstructure/ui/data/fields/form/editable/switch/check_group.js +42 -42
  166. package/lib/domstructure/ui/data/fields/form/editable/switch/checkbox-group.js +80 -80
  167. package/lib/domstructure/ui/data/fields/form/editable/switch/collection_switch.js +57 -57
  168. package/lib/domstructure/ui/data/fields/form/editable/switch/farris-switch.js +57 -57
  169. package/lib/domstructure/ui/data/fields/form/editable/switch/radio_group.js +58 -58
  170. package/lib/domstructure/ui/data/fields/form/editable/switch/switch_field.js +40 -40
  171. package/lib/domstructure/ui/data/fields/form/form_field.js +105 -105
  172. package/lib/domstructure/ui/data/fields/form/input-group.js +78 -78
  173. package/lib/domstructure/ui/data/fields/form/rich-textbox.js +69 -69
  174. package/lib/domstructure/ui/data/fields/form/time-picker.js +67 -67
  175. package/lib/domstructure/ui/data/fields/form/time-spinner.js +74 -74
  176. package/lib/domstructure/ui/data/fields/form/tinymce-richtextbox.js +40 -40
  177. package/lib/domstructure/ui/data/index.js +69 -68
  178. package/lib/domstructure/ui/data/index.js.map +1 -1
  179. package/lib/domstructure/ui/data/scrollcollapse/index.js +13 -13
  180. package/lib/domstructure/ui/data/scrollcollapse/scroll-collapsible-area.js +32 -32
  181. package/lib/domstructure/ui/discussion/discussion-editor.js +51 -51
  182. package/lib/domstructure/ui/discussion/discussion-list.js +44 -44
  183. package/lib/domstructure/ui/discussion/index.js +14 -14
  184. package/lib/domstructure/ui/farris-avatar/farris-avatar.js +43 -43
  185. package/lib/domstructure/ui/farris-avatar/index.js +13 -13
  186. package/lib/domstructure/ui/farris-calendar/farris-calendar.js +36 -36
  187. package/lib/domstructure/ui/farris-calendar/index.js +13 -13
  188. package/lib/domstructure/ui/farris-dynamic-control-group/farris-dynamic-control-group.js +35 -35
  189. package/lib/domstructure/ui/farris-dynamic-control-group/index.js +13 -13
  190. package/lib/domstructure/ui/farris-file-preview/farris-file-preview.js +86 -86
  191. package/lib/domstructure/ui/farris-file-preview/index.js +13 -13
  192. package/lib/domstructure/ui/farris-file-upload/farris-file-upload.js +78 -78
  193. package/lib/domstructure/ui/farris-file-upload/index.js +13 -13
  194. package/lib/domstructure/ui/farris-scrollspy/farris-scrollspy.js +83 -83
  195. package/lib/domstructure/ui/farris-scrollspy/index.js +13 -13
  196. package/lib/domstructure/ui/farris-ui-footer/farris-ui-footer-header.js +25 -25
  197. package/lib/domstructure/ui/farris-ui-footer/farris-ui-footer.js +39 -39
  198. package/lib/domstructure/ui/farris-ui-footer/index.js +13 -13
  199. package/lib/domstructure/ui/farrisprogressstep/farris-progress-step.js +58 -58
  200. package/lib/domstructure/ui/farrisprogressstep/farris-progress-stepname-creator.js +9 -9
  201. package/lib/domstructure/ui/farrisprogressstep/index.js +13 -13
  202. package/lib/domstructure/ui/farrissplitter/index.js +14 -14
  203. package/lib/domstructure/ui/farrissplitter/splitter-pane.js +50 -50
  204. package/lib/domstructure/ui/farrissplitter/splitter.js +43 -43
  205. package/lib/domstructure/ui/formheader/form-header.js +43 -43
  206. package/lib/domstructure/ui/formheader/index.js +13 -13
  207. package/lib/domstructure/ui/header/header.js +43 -43
  208. package/lib/domstructure/ui/header/index.js +13 -13
  209. package/lib/domstructure/ui/i-component-title.js +2 -2
  210. package/lib/domstructure/ui/image/farris-image.js +60 -60
  211. package/lib/domstructure/ui/image/index.js +13 -13
  212. package/lib/domstructure/ui/image-upload/image-upload.js +93 -93
  213. package/lib/domstructure/ui/image-upload/index.js +13 -13
  214. package/lib/domstructure/ui/index.js +54 -54
  215. package/lib/domstructure/ui/light-listfilter/farris-light-listfilter.js +83 -83
  216. package/lib/domstructure/ui/light-listfilter/index.js +13 -13
  217. package/lib/domstructure/ui/list-filter/farris-list-filter.js +78 -78
  218. package/lib/domstructure/ui/list-filter/index.js +13 -13
  219. package/lib/domstructure/ui/list-nav/index.js +13 -13
  220. package/lib/domstructure/ui/list-nav/listnav.js +64 -64
  221. package/lib/domstructure/ui/listview/index.js +14 -14
  222. package/lib/domstructure/ui/listview/list-view-contenttemplate-field.js +34 -34
  223. package/lib/domstructure/ui/listview/list-view-contenttemplate.js +42 -42
  224. package/lib/domstructure/ui/listview/list-view-field.js +65 -65
  225. package/lib/domstructure/ui/listview/list-view-template-generator.js +54 -54
  226. package/lib/domstructure/ui/listview/list-view-template-toolbar-generator.js +38 -38
  227. package/lib/domstructure/ui/listview/list-view-toolbar.js +36 -36
  228. package/lib/domstructure/ui/listview/list-view.js +78 -78
  229. package/lib/domstructure/ui/modal-footer/index.js +13 -13
  230. package/lib/domstructure/ui/modal-footer/modal-footer.js +43 -43
  231. package/lib/domstructure/ui/multi-select/index.js +13 -13
  232. package/lib/domstructure/ui/multi-select/multi-select.js +85 -85
  233. package/lib/domstructure/ui/nav-tab/index.js +13 -13
  234. package/lib/domstructure/ui/nav-tab/nav-tab.js +91 -91
  235. package/lib/domstructure/ui/oa-relation/index.js +13 -13
  236. package/lib/domstructure/ui/oa-relation/oa-relation.js +53 -53
  237. package/lib/domstructure/ui/p-treetable/index.js +13 -13
  238. package/lib/domstructure/ui/p-treetable/p-treetable.js +105 -105
  239. package/lib/domstructure/ui/portlet/index.js +13 -13
  240. package/lib/domstructure/ui/portlet/portlet.js +36 -36
  241. package/lib/domstructure/ui/qr-code/index.js +13 -13
  242. package/lib/domstructure/ui/qr-code/qr-code.js +32 -32
  243. package/lib/domstructure/ui/queryScheme/index.js +13 -13
  244. package/lib/domstructure/ui/queryScheme/query-scheme.js +78 -78
  245. package/lib/domstructure/ui/static-control/index.js +13 -13
  246. package/lib/domstructure/ui/static-control/static-control-attribute.js +57 -57
  247. package/lib/domstructure/ui/table/farris-table-border.js +6 -6
  248. package/lib/domstructure/ui/table/farris-table-column.js +75 -75
  249. package/lib/domstructure/ui/table/farris-table-font.js +6 -6
  250. package/lib/domstructure/ui/table/farris-table-row.js +49 -49
  251. package/lib/domstructure/ui/table/farris-table-static-text.js +6 -6
  252. package/lib/domstructure/ui/table/farris-table.js +82 -82
  253. package/lib/domstructure/ui/table/index.js +16 -16
  254. package/lib/domstructure/ui/tabs/farris-tab-page.js +81 -81
  255. package/lib/domstructure/ui/tabs/index.js +14 -14
  256. package/lib/domstructure/ui/tag/farris-tag.js +64 -64
  257. package/lib/domstructure/ui/tag/index.js +13 -13
  258. package/lib/domstructure/ui/tags/farris-tags.js +35 -35
  259. package/lib/domstructure/ui/tags/index.js +13 -13
  260. package/lib/domstructure/ui/view-change/index.js +13 -13
  261. package/lib/domstructure/ui/view-change/view-change.js +65 -65
  262. package/lib/domstructure/ui/wizard/farris-wizard-page-detail.js +66 -66
  263. package/lib/domstructure/ui/wizard/farris-wizard-page.js +46 -46
  264. package/lib/domstructure/ui/wizard/farris-wizard.js +92 -92
  265. package/lib/domstructure/ui/wizard/index.js +16 -16
  266. package/lib/domstructure/ui/wizard/wizard-detail-container.js +46 -46
  267. package/lib/template/ui/kendo/light-lookup.pug +183 -0
  268. package/lib/utility/adminorganization-selector-checker.js +57 -57
  269. package/lib/utility/advanced-component-recognizer.js +75 -0
  270. package/lib/utility/advanced-component-recognizer.js.map +1 -0
  271. package/lib/utility/aif-check.js +12 -12
  272. package/lib/utility/appointment-calendar-checker.js +57 -57
  273. package/lib/utility/approval-comments-checker.js +41 -41
  274. package/lib/utility/approval-logs-check.js +42 -42
  275. package/lib/utility/behavior/behavior-manager.js +319 -319
  276. package/lib/utility/behavior/behavior-params.js +2 -2
  277. package/lib/utility/behavior/index.js +13 -13
  278. package/lib/utility/build-file-version/abstract-build-file-version.js +23 -23
  279. package/lib/utility/build-file-version/build-file-next-version-generator.js +17 -17
  280. package/lib/utility/build-file-version/build-file-version-constants.js +18 -18
  281. package/lib/utility/build-file-version/build-file-version-context.js +6 -6
  282. package/lib/utility/build-file-version/build-file-version-factory.js +49 -49
  283. package/lib/utility/build-file-version/build-file-version-manager.js +56 -56
  284. package/lib/utility/build-file-version/farris-all-css-build-file-version.js +11 -11
  285. package/lib/utility/build-file-version/favicon-png-build-file-version.js +15 -15
  286. package/lib/utility/build-file-version/gsp-rtf-core-js-build-file-version.js +11 -11
  287. package/lib/utility/build-file-version/i-build-file-version.js +2 -2
  288. package/lib/utility/build-file-version/i18n-build-file-version.js +20 -20
  289. package/lib/utility/build-file-version/index.js +14 -14
  290. package/lib/utility/build-file-version/main-js-build-file-version.js +11 -11
  291. package/lib/utility/build-file-version/material-icons-css-build-file-version.js +11 -11
  292. package/lib/utility/build-file-version/polyfills-js-build-file-version.js +11 -11
  293. package/lib/utility/build-file-version/runtime-common-manifest-json-build-file-version.js +10 -10
  294. package/lib/utility/build-file-version/version-file/version-file-content.js +13 -13
  295. package/lib/utility/build-file-version/version-file/version-file-helper.js +37 -37
  296. package/lib/utility/build-file-version/version-file/version-file-manager.js +74 -74
  297. package/lib/utility/city-selector-checker.js +41 -41
  298. package/lib/utility/component-adminorganization-selector-parameter-helper.js +10 -10
  299. package/lib/utility/component-employee-selector-parameter-helper.js +10 -10
  300. package/lib/utility/component-enum-helper.js +27 -27
  301. package/lib/utility/component-fileupload-helper.js +10 -10
  302. package/lib/utility/component-header-helper.js +25 -25
  303. package/lib/utility/component-organization-selector-parameter-helper.js +10 -10
  304. package/lib/utility/component-personnel-selector-parameter-helper.js +10 -10
  305. package/lib/utility/component-title-executor.js +23 -23
  306. package/lib/utility/componentFrameID-helper.js +41 -41
  307. package/lib/utility/componentSelector-helper.js +20 -20
  308. package/lib/utility/config-hepler.js +1 -1
  309. package/lib/utility/content-type-creator.js +132 -132
  310. package/lib/utility/content-type-instance-generator.js +38 -38
  311. package/lib/utility/context-hepler.js +14 -14
  312. package/lib/utility/crypto/crypto-dhs256.js +42 -42
  313. package/lib/utility/crypto/crypto-helper.js +23 -23
  314. package/lib/utility/crypto/crypto-md5.js +42 -42
  315. package/lib/utility/crypto/crypto-mode.js +8 -8
  316. package/lib/utility/crypto/i-crypto.js +2 -2
  317. package/lib/utility/crypto/index.js +14 -14
  318. package/lib/utility/declaration-trigger.js +4 -1
  319. package/lib/utility/declaration-trigger.js.map +1 -1
  320. package/lib/utility/devkit/abstract-dom-creator.js +48 -48
  321. package/lib/utility/devkit/abstract-dom-map.js +2 -2
  322. package/lib/utility/devkit/checkgroup-type-creator-factory.js +21 -21
  323. package/lib/utility/devkit/component-adminorganization-selector-parameter.js +6 -6
  324. package/lib/utility/devkit/component-appointment-calendar-parameter.js +37 -37
  325. package/lib/utility/devkit/component-button-parameter.js +13 -13
  326. package/lib/utility/devkit/component-children-routes-creator.js +59 -59
  327. package/lib/utility/devkit/component-condition-dialog-parameter.js +28 -28
  328. package/lib/utility/devkit/component-creator.js +192 -191
  329. package/lib/utility/devkit/component-creator.js.map +1 -1
  330. package/lib/utility/devkit/component-employee-selector-parameter.js +6 -6
  331. package/lib/utility/devkit/component-event.js +2 -2
  332. package/lib/utility/devkit/component-farris-avatar-parameter-creator.js +14 -14
  333. package/lib/utility/devkit/component-farris-datagrid-contextmenu-parameter.js +15 -15
  334. package/lib/utility/devkit/component-farris-datagrid-parameter.js +89 -89
  335. package/lib/utility/devkit/component-farris-input-group-parameter.js +49 -49
  336. package/lib/utility/devkit/component-farris-lookup-parameter.js +52 -52
  337. package/lib/utility/devkit/component-farris-treegrid-parameter.js +21 -21
  338. package/lib/utility/devkit/component-fileupload-preview-creator.js +22 -22
  339. package/lib/utility/devkit/component-listview-parameter.js +6 -6
  340. package/lib/utility/devkit/component-nav-tab-parameter.js +16 -16
  341. package/lib/utility/devkit/component-number-spinner-range-creator.js +19 -19
  342. package/lib/utility/devkit/component-number-spinner-range.js +36 -36
  343. package/lib/utility/devkit/component-organization-selector-parameter.js +6 -6
  344. package/lib/utility/devkit/component-parameter-collector/abstract-component-parameter-collector.js +6 -6
  345. package/lib/utility/devkit/component-parameter-collector/combolist-parameter-collector.js +51 -51
  346. package/lib/utility/devkit/component-parameter-collector/component-adminorganization-selector-parameter-collector.js +45 -45
  347. package/lib/utility/devkit/component-parameter-collector/component-appointment-calendar-parameter-collector.js +90 -90
  348. package/lib/utility/devkit/component-parameter-collector/component-button-collector.js +59 -59
  349. package/lib/utility/devkit/component-parameter-collector/component-condition-dialog-collector.js +34 -34
  350. package/lib/utility/devkit/component-parameter-collector/component-datebox-parameter-collector.js +46 -46
  351. package/lib/utility/devkit/component-parameter-collector/component-employee-selector-parameter-collector.js +45 -45
  352. package/lib/utility/devkit/component-parameter-collector/component-events-collector.js +109 -109
  353. package/lib/utility/devkit/component-parameter-collector/component-file-upload-parameter-collector.js +202 -202
  354. package/lib/utility/devkit/component-parameter-collector/component-header-parameter-collector.js +78 -78
  355. package/lib/utility/devkit/component-parameter-collector/component-languagetextbox-parameter-collector.js +51 -51
  356. package/lib/utility/devkit/component-parameter-collector/component-listview-parameter-collector.js +100 -100
  357. package/lib/utility/devkit/component-parameter-collector/component-multitextbox-parameter-collector.js +46 -46
  358. package/lib/utility/devkit/component-parameter-collector/component-numericbox-parameter-collector.js +46 -46
  359. package/lib/utility/devkit/component-parameter-collector/component-organization-selector-parameter-collector.js +45 -45
  360. package/lib/utility/devkit/component-parameter-collector/component-parameter-collector-manager.js +222 -221
  361. package/lib/utility/devkit/component-parameter-collector/component-parameter-collector-manager.js.map +1 -1
  362. package/lib/utility/devkit/component-parameter-collector/component-parameter-collector-options-creator.js +14 -14
  363. package/lib/utility/devkit/component-parameter-collector/component-parameter-collector-options.js +6 -6
  364. package/lib/utility/devkit/component-parameter-collector/component-parameter-collector-type.js +57 -56
  365. package/lib/utility/devkit/component-parameter-collector/component-parameter-collector-type.js.map +1 -1
  366. package/lib/utility/devkit/component-parameter-collector/component-personnel-selector-parameter-collector.js +45 -45
  367. package/lib/utility/devkit/component-parameter-collector/component-readonly-parameter-collector.js +49 -49
  368. package/lib/utility/devkit/component-parameter-collector/component-viewchange-parameter-collector.js +70 -70
  369. package/lib/utility/devkit/component-parameter-collector/enum-field-collector.js +56 -56
  370. package/lib/utility/devkit/component-parameter-collector/farris-avatar-collector.js +44 -44
  371. package/lib/utility/devkit/component-parameter-collector/farris-checkbox-group-collector.js +69 -69
  372. package/lib/utility/devkit/component-parameter-collector/farris-datepicker-collector.js +50 -50
  373. package/lib/utility/devkit/component-parameter-collector/farris-input-group-collector.js +155 -155
  374. package/lib/utility/devkit/component-parameter-collector/farris-list-filter-parameter-collector.js +150 -150
  375. package/lib/utility/devkit/component-parameter-collector/farris-lookup-collector.js +64 -64
  376. package/lib/utility/devkit/component-parameter-collector/farris-lookup-collector.js.map +1 -1
  377. package/lib/utility/devkit/component-parameter-collector/farris-nav-tab-parameter-collector.js +82 -82
  378. package/lib/utility/devkit/component-parameter-collector/farris-radiogroup-collector.js +70 -70
  379. package/lib/utility/devkit/component-parameter-collector/farris-section-collector.js +128 -128
  380. package/lib/utility/devkit/component-parameter-collector/farris-tabs-collector.js +124 -124
  381. package/lib/utility/devkit/component-parameter-collector/farris-tags-parameter-collector.js +49 -49
  382. package/lib/utility/devkit/component-parameter-collector/farris-timepicker-collector.js +46 -46
  383. package/lib/utility/devkit/component-parameter-collector/farris-timespinner-parameter-collector.js +46 -46
  384. package/lib/utility/devkit/component-parameter-collector/farris-treegrid-parameter-collector.js +197 -197
  385. package/lib/utility/devkit/component-parameter-collector/farris-ui-footer-parameter-collector.js +41 -41
  386. package/lib/utility/devkit/component-parameter-collector/fieldset-collector.js +47 -47
  387. package/lib/utility/devkit/component-parameter-collector/i-component-parameter-collector.js +2 -2
  388. package/lib/utility/devkit/component-parameter-collector/index.js +14 -14
  389. package/lib/utility/devkit/component-parameter-collector/list-nav-collector.js +31 -31
  390. package/lib/utility/devkit/component-parameter-collector/number-spinner-range-collector.js +79 -79
  391. package/lib/utility/devkit/component-parameter-collector/primeng-tree-grid-parameter-collector.js +221 -221
  392. package/lib/utility/devkit/component-parameter-collector/qdp-framework-collector.js +30 -30
  393. package/lib/utility/devkit/component-parameter-collector/richtextbox-parameter-collector.js +46 -46
  394. package/lib/utility/devkit/component-parameter-collector/scrollspy-collector.js +86 -86
  395. package/lib/utility/devkit/component-parameter-collector/sidebar-parameter-collector.js +34 -34
  396. package/lib/utility/devkit/component-parameter-collector/textbox-parameter-collector.js +46 -46
  397. package/lib/utility/devkit/component-parameter-collector/tool-typechange-collector.js +27 -27
  398. package/lib/utility/devkit/component-parameter-collector/wizard-collector.js +73 -73
  399. package/lib/utility/devkit/component-parameter-creator.js +9 -9
  400. package/lib/utility/devkit/component-personnel-selector-parameter.js +6 -6
  401. package/lib/utility/devkit/component-primeng-treegrid-parameter.js +13 -13
  402. package/lib/utility/devkit/component-readonly-parameter-creator.js +10 -10
  403. package/lib/utility/devkit/component-readonly-parameter.js +6 -6
  404. package/lib/utility/devkit/component-sidebar-toolbar.js +6 -6
  405. package/lib/utility/devkit/component-viewchange-parameter.js +13 -13
  406. package/lib/utility/devkit/datagrid-type-creator-factory.js +22 -22
  407. package/lib/utility/devkit/datebox-type-creator-factory.js +35 -35
  408. package/lib/utility/devkit/declarationevents-modifier.js +54 -54
  409. package/lib/utility/devkit/devkit-constant.js +38 -38
  410. package/lib/utility/devkit/devkit-object-name-creator.js +52 -52
  411. package/lib/utility/devkit/entities-creator.js +94 -94
  412. package/lib/utility/devkit/entity-creator.js +47 -47
  413. package/lib/utility/devkit/entity-name-creator.js +14 -14
  414. package/lib/utility/devkit/enumfield-type-creator.js +35 -35
  415. package/lib/utility/devkit/external-component/className-isExternalcomponent-checker.js +19 -19
  416. package/lib/utility/devkit/external-component/external-component-childroutingpath-generator.js +20 -20
  417. package/lib/utility/devkit/external-component/external-component-prefix-creator.js +13 -13
  418. package/lib/utility/devkit/external-component/external-component-publisPath-generator.js +39 -39
  419. package/lib/utility/devkit/external-component/external-component-uniquecode-creator.js +26 -26
  420. package/lib/utility/devkit/external-component/external-components-creator.js +41 -41
  421. package/lib/utility/devkit/external-component/externalComponent-constant.js +15 -15
  422. package/lib/utility/devkit/external-component/index.js +15 -15
  423. package/lib/utility/devkit/field-creator.js +265 -265
  424. package/lib/utility/devkit/form-creator.js +110 -110
  425. package/lib/utility/devkit/form-file-executor.js +6 -1
  426. package/lib/utility/devkit/form-file-executor.js.map +1 -1
  427. package/lib/utility/devkit/form-resource-json-reader.js +21 -21
  428. package/lib/utility/devkit/handlers-creator.js +38 -38
  429. package/lib/utility/devkit/index.js +18 -18
  430. package/lib/utility/devkit/list-filter-type-creator-factory.js +36 -36
  431. package/lib/utility/devkit/lookup-type-creator-factory.js +52 -52
  432. package/lib/utility/devkit/module-creator.js +170 -167
  433. package/lib/utility/devkit/module-creator.js.map +1 -1
  434. package/lib/utility/devkit/repository-creator.js +60 -60
  435. package/lib/utility/devkit/response-layout-type-creator-factory.js +22 -22
  436. package/lib/utility/devkit/richtextbox-type-creator-factory.js +35 -35
  437. package/lib/utility/devkit/routing-creator.js +21 -21
  438. package/lib/utility/devkit/statemachine-creator.js +39 -39
  439. package/lib/utility/devkit/switch-type-creator-factory.js +35 -35
  440. package/lib/utility/devkit/tab-type-creator-factory.js +45 -45
  441. package/lib/utility/devkit/treegrid-type-creator-factory.js +36 -36
  442. package/lib/utility/devkit/viewmodels-creator.js +634 -634
  443. package/lib/utility/devkit-template-config.js +579 -576
  444. package/lib/utility/devkit-template-config.js.map +1 -1
  445. package/lib/utility/directory-file-helper.js +241 -241
  446. package/lib/utility/employee-selector-checker.js +57 -57
  447. package/lib/utility/environment-constants.js +45 -45
  448. package/lib/utility/event-token-generator.js +21 -21
  449. package/lib/utility/event-viewModel-modifier.js +100 -100
  450. package/lib/utility/expression/expression-manager.js +21 -21
  451. package/lib/utility/expression/index.js +13 -13
  452. package/lib/utility/expression-value-generator.js +22 -22
  453. package/lib/utility/ext-intergration-checker.js +46 -46
  454. package/lib/utility/external-service-lookup-checker.js +28 -0
  455. package/lib/utility/external-service-lookup-checker.js.map +1 -0
  456. package/lib/utility/externalComponent-type.js +12 -12
  457. package/lib/utility/farris-datagrid/abstract-editor.js +64 -64
  458. package/lib/utility/farris-datagrid/abstract-lookup-editor.js +156 -156
  459. package/lib/utility/farris-datagrid/checkbox-editor.js +18 -18
  460. package/lib/utility/farris-datagrid/column-editor-manager.js +115 -111
  461. package/lib/utility/farris-datagrid/column-editor-manager.js.map +1 -1
  462. package/lib/utility/farris-datagrid/combo-list-editor.js +145 -145
  463. package/lib/utility/farris-datagrid/command-column-template-generator.js +22 -22
  464. package/lib/utility/farris-datagrid/datagrid-column-footer-calculationtype-convertor.js +12 -12
  465. package/lib/utility/farris-datagrid/datagrid-column-footer-options.js +36 -36
  466. package/lib/utility/farris-datagrid/datagrid-column-footer.js +50 -50
  467. package/lib/utility/farris-datagrid/datagrid-column-formatter.js +122 -122
  468. package/lib/utility/farris-datagrid/datagrid-column-groupfooter.js +47 -47
  469. package/lib/utility/farris-datagrid/date-picker-editor.js +151 -151
  470. package/lib/utility/farris-datagrid/employee-selector-editor.js +105 -105
  471. package/lib/utility/farris-datagrid/employeeorg-selector-editor.js +117 -117
  472. package/lib/utility/farris-datagrid/enum-editor.js +59 -59
  473. package/lib/utility/farris-datagrid/ext-intergration-editor.js +64 -64
  474. package/lib/utility/farris-datagrid/external-service-lookup-editor.js +96 -0
  475. package/lib/utility/farris-datagrid/external-service-lookup-editor.js.map +1 -0
  476. package/lib/utility/farris-datagrid/farris-grid-column-type-convertor.js +112 -105
  477. package/lib/utility/farris-datagrid/farris-grid-column-type-convertor.js.map +1 -1
  478. package/lib/utility/farris-datagrid/index.js +15 -15
  479. package/lib/utility/farris-datagrid/input-group-editor.js +122 -122
  480. package/lib/utility/farris-datagrid/language-textbox-generator.js +63 -63
  481. package/lib/utility/farris-datagrid/number-box-editor.js +131 -131
  482. package/lib/utility/farris-datagrid/organization-selector-editor.js +118 -118
  483. package/lib/utility/farris-datagrid/personnel-selector-editor.js +107 -107
  484. package/lib/utility/farris-datagrid/switch-editor.js +37 -37
  485. package/lib/utility/farris-datagrid/textarea-editor.js +60 -60
  486. package/lib/utility/farris-datagrid/textbox-editor.js +36 -36
  487. package/lib/utility/farris-datagrid/time-picker-editor.js +44 -44
  488. package/lib/utility/file-operation/abstract-file-operation.js +40 -40
  489. package/lib/utility/file-operation/command-jsonfile-operation.js +14 -14
  490. package/lib/utility/file-operation/eapi-jsonfile-operation.js +17 -17
  491. package/lib/utility/file-operation/file-operation-factory.js +41 -41
  492. package/lib/utility/file-operation/file-operation-manager.js +14 -14
  493. package/lib/utility/file-operation/file-operation-options.js +23 -23
  494. package/lib/utility/file-operation/file-operation-type.js +12 -12
  495. package/lib/utility/file-operation/frm-jsonfile-operation.js +14 -14
  496. package/lib/utility/file-operation/i-file-operation.js +2 -2
  497. package/lib/utility/file-operation/index.js +14 -14
  498. package/lib/utility/file-operation/page-jsonfile-operation.js +20 -20
  499. package/lib/utility/file-operation/resource-jsonfile-operation.js +14 -14
  500. package/lib/utility/file-operation/statemachine-jsonfile-operation.js +15 -15
  501. package/lib/utility/form-sourcecode-delete/DeleteFormSourceCodeExecutor.js +19 -19
  502. package/lib/utility/form-sourcecode-delete/service/AbstractSourceCodeService.js +66 -66
  503. package/lib/utility/form-sourcecode-delete/service/SourceCodeDeleteContext.js +30 -30
  504. package/lib/utility/form-sourcecode-delete/service/SourceCodeDeleteResult.js +17 -17
  505. package/lib/utility/form-sourcecode-delete/service/SourceCodeDeleteService.js +2 -2
  506. package/lib/utility/form-sourcecode-delete/service/SourceCodeDeleteServiceChain.js +26 -26
  507. package/lib/utility/form-sourcecode-delete/service/SourceCodeDeleteServiceChainExecutor.js +12 -12
  508. package/lib/utility/form-sourcecode-delete/service/SourceCodeDeleteServiceRegistry.js +42 -42
  509. package/lib/utility/form-sourcecode-delete/service/impl/ComponentSourceCodeDeleteServiceImpl.js +20 -20
  510. package/lib/utility/form-sourcecode-delete/service/impl/DefaultSourceCodeDeleteServiceImpl.js +19 -19
  511. package/lib/utility/form-sourcecode-delete/service/impl/EventSourceCodeDeleteServiceImpl.js +20 -20
  512. package/lib/utility/form-sourcecode-delete/service/impl/ExpressionSourceCodeDeleteServiceImpl.js +20 -20
  513. package/lib/utility/form-sourcecode-delete/service/impl/ExternalComponentsSourceCodeDeleteServiceImpl.js +20 -20
  514. package/lib/utility/form-sourcecode-delete/service/impl/LangSourceCodeDeleteServiceImpl.js +20 -20
  515. package/lib/utility/form-sourcecode-delete/service/impl/ModelSourceCodeDeleteServiceImpl.js +20 -20
  516. package/lib/utility/form-sourcecode-delete/service/impl/ServiceSourceCodeDeleteServiceImpl.js +23 -23
  517. package/lib/utility/form-sourcecode-delete/service/impl/ViewModelSourceCodeDeleteServiceImpl.js +20 -20
  518. package/lib/utility/formatter/code-formatter.js +97 -97
  519. package/lib/utility/formatter/index.js +13 -13
  520. package/lib/utility/getPublishPathAndFileName.js +61 -61
  521. package/lib/utility/i18n/i18n-resource-manager.js +237 -237
  522. package/lib/utility/i18n/i18n-resource-manager.js.map +1 -1
  523. package/lib/utility/i18n/index.js +13 -13
  524. package/lib/utility/image-upload-checker.js +41 -41
  525. package/lib/utility/index.js +32 -32
  526. package/lib/utility/internal-entity/component-parameter/component-combolist-parameter.js +30 -30
  527. package/lib/utility/internal-entity/component-parameter/component-datebox-parameter.js +30 -30
  528. package/lib/utility/internal-entity/component-parameter/component-datepicker-parameter.js +30 -30
  529. package/lib/utility/internal-entity/component-parameter/component-enumfield-parameter.js +30 -30
  530. package/lib/utility/internal-entity/component-parameter/component-fieldset-parameter.js +24 -24
  531. package/lib/utility/internal-entity/component-parameter/component-file-upload-parameter.js +24 -24
  532. package/lib/utility/internal-entity/component-parameter/component-footer-parameter.js +24 -24
  533. package/lib/utility/internal-entity/component-parameter/component-header-parameter.js +24 -24
  534. package/lib/utility/internal-entity/component-parameter/component-inputgroup-modalconfig-parameter.js +46 -46
  535. package/lib/utility/internal-entity/component-parameter/component-language-textbox-parameter.js +37 -37
  536. package/lib/utility/internal-entity/component-parameter/component-listfilter-parameter.js +59 -59
  537. package/lib/utility/internal-entity/component-parameter/component-multitextbox-parameter.js +30 -30
  538. package/lib/utility/internal-entity/component-parameter/component-numericbox-parameter.js +30 -30
  539. package/lib/utility/internal-entity/component-parameter/component-placeholder-parameter.js +24 -24
  540. package/lib/utility/internal-entity/component-parameter/component-richtextbox-parameter.js +28 -28
  541. package/lib/utility/internal-entity/component-parameter/component-tags-parameter.js +31 -31
  542. package/lib/utility/internal-entity/component-parameter/component-textbox-parameter.js +28 -28
  543. package/lib/utility/internal-entity/component-parameter/component-timepicker-parameter.js +28 -28
  544. package/lib/utility/internal-entity/component-parameter/component-timespinner-parameter.js +28 -28
  545. package/lib/utility/internal-entity/component-parameter/i-component-parameter.js +2 -2
  546. package/lib/utility/internal-entity/component-parameter/index.js +16 -16
  547. package/lib/utility/internal-entity/i-project-read-data.js +2 -2
  548. package/lib/utility/internal-entity/index.js +13 -13
  549. package/lib/utility/internal-entity/viewmodel-parameter/index.js +13 -13
  550. package/lib/utility/internal-entity/viewmodel-parameter/viewmodel-pagination-parameter.js +11 -11
  551. package/lib/utility/jit-constant.js +53 -53
  552. package/lib/utility/jit-engine-executor/i-jit-engine-executor.js +2 -2
  553. package/lib/utility/jit-engine-executor/index.js +15 -15
  554. package/lib/utility/jit-engine-executor/jit-engine-executor-factory.js +30 -30
  555. package/lib/utility/jit-engine-executor/jit-engine-executor-manager.js +24 -24
  556. package/lib/utility/jit-engine-executor/jit-engine-executor-request-generator.js +21 -21
  557. package/lib/utility/jit-engine-executor/jit-engine-executor-request.js +26 -26
  558. package/lib/utility/jit-engine-executor/jit-engine-executor-response.js +9 -9
  559. package/lib/utility/jit-engine-executor/jit-engine-executor-type.js +9 -9
  560. package/lib/utility/jit-engine-executor/mobile-approve-executor.js +15 -15
  561. package/lib/utility/jit-engine-executor/specific-executor.js +31 -31
  562. package/lib/utility/jit-ignore/index.js +13 -13
  563. package/lib/utility/jit-ignore/jit-generate-ignore-manager.js +104 -104
  564. package/lib/utility/jit-ignore/jit-generate-ignore.js +56 -56
  565. package/lib/utility/jit-ignore/jit-ignore-json-helper.js +22 -22
  566. package/lib/utility/jit-path-helper.js +44 -44
  567. package/lib/utility/json-stringfy-helper/array.js +16 -16
  568. package/lib/utility/json-stringfy-helper/function.js +237 -237
  569. package/lib/utility/json-stringfy-helper/index.js +73 -73
  570. package/lib/utility/json-stringfy-helper/object.js +67 -67
  571. package/lib/utility/json-stringfy-helper/quote.js +58 -58
  572. package/lib/utility/json-stringfy-helper/stringify.js +29 -29
  573. package/lib/utility/json-stringfy-helper/types.js +2 -2
  574. package/lib/utility/line-reader.js +97 -97
  575. package/lib/utility/logger/date-format.js +37 -37
  576. package/lib/utility/logger/index.js +15 -15
  577. package/lib/utility/logger/logger-helper.js +47 -47
  578. package/lib/utility/logger/logger-level.js +12 -12
  579. package/lib/utility/mobile-approve/config-helper/form-jsonfile-reader.js +16 -16
  580. package/lib/utility/mobile-approve/config-helper/formatter-function-generator.js +67 -67
  581. package/lib/utility/mobile-approve/entity/attachment-panel-for-mobileapprove.js +51 -51
  582. package/lib/utility/mobile-approve/entity/base-mobile-approve.js +36 -36
  583. package/lib/utility/mobile-approve/entity/binding.js +25 -25
  584. package/lib/utility/mobile-approve/entity/child-detail-template.js +10 -10
  585. package/lib/utility/mobile-approve/entity/child-table-primary-relation.js +6 -6
  586. package/lib/utility/mobile-approve/entity/component-ref.js +33 -33
  587. package/lib/utility/mobile-approve/entity/component.js +55 -55
  588. package/lib/utility/mobile-approve/entity/content-container.js +42 -42
  589. package/lib/utility/mobile-approve/entity/detail-header-for-mobileapprove.js +122 -122
  590. package/lib/utility/mobile-approve/entity/detail-header-item.js +32 -32
  591. package/lib/utility/mobile-approve/entity/field-binding-parameter.js +24 -24
  592. package/lib/utility/mobile-approve/entity/fieldset-for-mobileapprove.js +42 -42
  593. package/lib/utility/mobile-approve/entity/flow-process-for-mobileapprove.js +34 -34
  594. package/lib/utility/mobile-approve/entity/html-panel-for-mobileapprove.js +48 -48
  595. package/lib/utility/mobile-approve/entity/html-template.js +25 -25
  596. package/lib/utility/mobile-approve/entity/index.js +27 -27
  597. package/lib/utility/mobile-approve/entity/module.js +39 -39
  598. package/lib/utility/mobile-approve/entity/panel-for-mobileapprove.js +101 -101
  599. package/lib/utility/mobile-approve/entity/panel-item-for-mobileapprove.js +38 -38
  600. package/lib/utility/mobile-approve/entity/person-avatar.js +24 -24
  601. package/lib/utility/mobile-approve/entity/static-text-for-mobileapprove.js +71 -71
  602. package/lib/utility/mobile-approve/generator/dom-generator.js +20 -20
  603. package/lib/utility/mobile-approve/mobile-approve-manager.js +50 -50
  604. package/lib/utility/mobile-approve/recuresive-generate-mobileapprove.js +430 -430
  605. package/lib/utility/mobile-approve/template-generator/abstract-template-generator.js +6 -6
  606. package/lib/utility/mobile-approve/template-generator/component-template-generator.js +10 -10
  607. package/lib/utility/mobile-approve/template-generator/content-container-template-generator.js +10 -10
  608. package/lib/utility/mobile-approve/template-generator/detailheader-for-mobileapprove-template-generator.js +10 -10
  609. package/lib/utility/mobile-approve/template-generator/i-template-generator.js +2 -2
  610. package/lib/utility/mobile-approve/template-generator/index-html-generator.js +582 -582
  611. package/lib/utility/mobile-approve/template-generator/index.js +13 -13
  612. package/lib/utility/mobile-approve/template-generator/mobile-approve-templateconfig.js +39 -39
  613. package/lib/utility/mobile-approve/template-generator/panel-for-mobileapprove-template-generator.js +10 -10
  614. package/lib/utility/mobile-approve/template-generator/static-text-for-mobileapprove-template-generator.js +10 -10
  615. package/lib/utility/mobile-approve/template-generator/template-generator-factory.js +39 -39
  616. package/lib/utility/mobile-approve/template-generator/template-generator-manager.js +31 -31
  617. package/lib/utility/mobile-approve/template-generator/template-generator-type.js +11 -11
  618. package/lib/utility/module-reference/index.js +15 -15
  619. package/lib/utility/module-reference/module-prefix-replace.js +15 -15
  620. package/lib/utility/module-reference/module-reference-constant.js +9 -9
  621. package/lib/utility/module-reference/module-reference-manager.js +149 -149
  622. package/lib/utility/multi-textbox-checker.js +41 -41
  623. package/lib/utility/oa-relation-checker.js +42 -42
  624. package/lib/utility/organization-selector-checker.js +57 -57
  625. package/lib/utility/pageflow/index.js +13 -13
  626. package/lib/utility/pageflow/pageflowfile-reader.js +21 -21
  627. package/lib/utility/personnel-selector-checker.js +57 -57
  628. package/lib/utility/portlet-checker.js +41 -41
  629. package/lib/utility/primeng-treegrid-checker.js +41 -41
  630. package/lib/utility/progress-steps-checker.js +40 -40
  631. package/lib/utility/project-route-validator.js +22 -22
  632. package/lib/utility/project-version/index.js +13 -13
  633. package/lib/utility/project-version/project-version-content.js +34 -34
  634. package/lib/utility/project-version/project-version-filename-generator.js +30 -30
  635. package/lib/utility/project-version/project-version-manager.js +38 -38
  636. package/lib/utility/project-version/projectversion-file-reader.js +34 -34
  637. package/lib/utility/project-version/projectversion-file-writer.js +44 -44
  638. package/lib/utility/project-version/projectversion.js +91 -91
  639. package/lib/utility/qdp-jointsearch-generator.js +39 -39
  640. package/lib/utility/qdpForm-checker.js +63 -63
  641. package/lib/utility/qrcode-selector-checker.js +57 -57
  642. package/lib/utility/random-generator.js +26 -26
  643. package/lib/utility/route-page-executor.js +19 -19
  644. package/lib/utility/source-code-delete/delete-sourcecode-executor.js +24 -24
  645. package/lib/utility/template-generator/abstract-template-generator.js +31 -31
  646. package/lib/utility/template-generator/devkit/befproxy-template-generator.js +126 -126
  647. package/lib/utility/template-generator/devkit/commandhandler-template-generator.js +94 -94
  648. package/lib/utility/template-generator/devkit/component-generator/component-adminorganization-selector-parameter-generator.js +20 -20
  649. package/lib/utility/template-generator/devkit/component-generator/component-appointment-calendar-parameter-generator.js +76 -76
  650. package/lib/utility/template-generator/devkit/component-generator/component-avatar-parameter-generator.js +19 -19
  651. package/lib/utility/template-generator/devkit/component-generator/component-button-parameter-generator.js +23 -23
  652. package/lib/utility/template-generator/devkit/component-generator/component-checkgroup-parameter-generator.js +40 -40
  653. package/lib/utility/template-generator/devkit/component-generator/component-combolist-parameter-generator.js +48 -48
  654. package/lib/utility/template-generator/devkit/component-generator/component-constructor-parameter-generator.js +68 -68
  655. package/lib/utility/template-generator/devkit/component-generator/component-datebox-parameter-generator.js +19 -19
  656. package/lib/utility/template-generator/devkit/component-generator/component-datepicker-parameter-generator.js +19 -19
  657. package/lib/utility/template-generator/devkit/component-generator/component-employee-selector-parameter-generator.js +20 -20
  658. package/lib/utility/template-generator/devkit/component-generator/component-enumfield-parameter-generator.js +42 -42
  659. package/lib/utility/template-generator/devkit/component-generator/component-external-container-parameter-generator.js +191 -191
  660. package/lib/utility/template-generator/devkit/component-generator/component-farris-inputgroup-parameter-generator.js +95 -95
  661. package/lib/utility/template-generator/devkit/component-generator/component-farrisgrid-parameter-generator.js +607 -607
  662. package/lib/utility/template-generator/devkit/component-generator/component-fieldset-parameter-generator.js +27 -27
  663. package/lib/utility/template-generator/devkit/component-generator/component-fileupload-parameter-generator.js +228 -228
  664. package/lib/utility/template-generator/devkit/component-generator/component-footer-parameter-generator.js +23 -23
  665. package/lib/utility/template-generator/devkit/component-generator/component-header-parameter-generator.js +74 -74
  666. package/lib/utility/template-generator/devkit/component-generator/component-hostbinding-class-generator.js +31 -31
  667. package/lib/utility/template-generator/devkit/component-generator/component-import-generator.js +184 -184
  668. package/lib/utility/template-generator/devkit/component-generator/component-joint-search-parameter-generator.js +15 -15
  669. package/lib/utility/template-generator/devkit/component-generator/component-keybinding-service-generator.js +18 -18
  670. package/lib/utility/template-generator/devkit/component-generator/component-languagetextbox-parameter-generator.js +19 -19
  671. package/lib/utility/template-generator/devkit/component-generator/component-listfilter-parameter-generator.js +218 -218
  672. package/lib/utility/template-generator/devkit/component-generator/component-listnav-parameter-generator.js +14 -14
  673. package/lib/utility/template-generator/devkit/component-generator/component-lookup-parameter-generator.js +71 -71
  674. package/lib/utility/template-generator/devkit/component-generator/component-modal-form-controls-generator.js +142 -142
  675. package/lib/utility/template-generator/devkit/component-generator/component-multitextbox-parameter-generator.js +19 -19
  676. package/lib/utility/template-generator/devkit/component-generator/component-nav-tab-parameter-generator.js +44 -44
  677. package/lib/utility/template-generator/devkit/component-generator/component-numberspinner-range-parameter-generator.js +52 -52
  678. package/lib/utility/template-generator/devkit/component-generator/component-numericbox-parameter-generator.js +19 -19
  679. package/lib/utility/template-generator/devkit/component-generator/component-organization-selector-parameter-generator.js +20 -20
  680. package/lib/utility/template-generator/devkit/component-generator/component-personnel-selector-parameter-generator.js +40 -40
  681. package/lib/utility/template-generator/devkit/component-generator/component-primeng-treegrid-parameter-generator.js +350 -350
  682. package/lib/utility/template-generator/devkit/component-generator/component-provider-generator.js +177 -177
  683. package/lib/utility/template-generator/devkit/component-generator/component-qdpframework-parameter-generator.js +17 -17
  684. package/lib/utility/template-generator/devkit/component-generator/component-queryschema-parameter-generator.js +385 -385
  685. package/lib/utility/template-generator/devkit/component-generator/component-radiogroup-parameter-generator.js +47 -47
  686. package/lib/utility/template-generator/devkit/component-generator/component-readonly-parameter-generator.js +17 -17
  687. package/lib/utility/template-generator/devkit/component-generator/component-richtextbox-parameter-generator.js +19 -19
  688. package/lib/utility/template-generator/devkit/component-generator/component-scrollspy-parameter-generator.js +64 -64
  689. package/lib/utility/template-generator/devkit/component-generator/component-selector-generator.js +18 -18
  690. package/lib/utility/template-generator/devkit/component-generator/component-sidebar-parameter-generator.js +17 -17
  691. package/lib/utility/template-generator/devkit/component-generator/component-styleurls-generator.js +20 -20
  692. package/lib/utility/template-generator/devkit/component-generator/component-tags-parameter-generator.js +40 -40
  693. package/lib/utility/template-generator/devkit/component-generator/component-textbox-parameter-generator.js +19 -19
  694. package/lib/utility/template-generator/devkit/component-generator/component-timepicker-parameter-generator.js +19 -19
  695. package/lib/utility/template-generator/devkit/component-generator/component-timespinner-parameter-generator.js +19 -19
  696. package/lib/utility/template-generator/devkit/component-generator/component-tooltype-parameter-generator.js +27 -27
  697. package/lib/utility/template-generator/devkit/component-generator/component-treegrid-parameter-generator.js +281 -281
  698. package/lib/utility/template-generator/devkit/component-generator/component-verify-parameter-generator.js +44 -44
  699. package/lib/utility/template-generator/devkit/component-generator/component-viewchange-parameter-generator.js +40 -40
  700. package/lib/utility/template-generator/devkit/component-generator/component-wizard-parameter-generator.js +59 -59
  701. package/lib/utility/template-generator/devkit/component-generator/index.js +40 -40
  702. package/lib/utility/template-generator/devkit/component-template-generator.js +513 -513
  703. package/lib/utility/template-generator/devkit/entity-template-generator.js +192 -192
  704. package/lib/utility/template-generator/devkit/event-template-generator.js +46 -46
  705. package/lib/utility/template-generator/devkit/form-template-generator.js +120 -120
  706. package/lib/utility/template-generator/devkit/module-generator/index.js +19 -19
  707. package/lib/utility/template-generator/devkit/module-generator/module-bootstrap-generator.js +23 -23
  708. package/lib/utility/template-generator/devkit/module-generator/module-declarations-generator.js +27 -27
  709. package/lib/utility/template-generator/devkit/module-generator/module-entrycomponents-generator.js +23 -23
  710. package/lib/utility/template-generator/devkit/module-generator/module-exports-generator.js +23 -23
  711. package/lib/utility/template-generator/devkit/module-generator/module-i18n-generator.js +17 -17
  712. package/lib/utility/template-generator/devkit/module-generator/module-import-statement-generator.js +304 -303
  713. package/lib/utility/template-generator/devkit/module-generator/module-import-statement-generator.js.map +1 -1
  714. package/lib/utility/template-generator/devkit/module-generator/module-imports-statement-generator.js +300 -282
  715. package/lib/utility/template-generator/devkit/module-generator/module-imports-statement-generator.js.map +1 -1
  716. package/lib/utility/template-generator/devkit/module-generator/module-providers-generator.js +158 -158
  717. package/lib/utility/template-generator/devkit/module-template-generator.js +46 -46
  718. package/lib/utility/template-generator/devkit/repository-template-generator.js +100 -100
  719. package/lib/utility/template-generator/devkit/router-template-generator.js +110 -110
  720. package/lib/utility/template-generator/devkit/state-template-generator.js +48 -48
  721. package/lib/utility/template-generator/devkit/statemachine-template-generator.js +70 -70
  722. package/lib/utility/template-generator/devkit/validrules-template-generator.js +55 -55
  723. package/lib/utility/template-generator/devkit/viewmodel-template-generator.js +140 -140
  724. package/lib/utility/template-generator/devkit-classname-templatetype-convertor.js +59 -59
  725. package/lib/utility/template-generator/form-jiexi/devkit/component-generator/index.js +15 -15
  726. package/lib/utility/template-generator/form-jiexi/devkit/component-generator/root-component-html-generator.js +10 -10
  727. package/lib/utility/template-generator/form-jiexi/devkit/component-generator/root-component-scss-generator.js +10 -10
  728. package/lib/utility/template-generator/form-jiexi/devkit/component-generator/root-component-ts-generator.js +62 -62
  729. package/lib/utility/template-generator/form-jiexi/devkit/metadata-generator/form-metadata-generator.js +50 -50
  730. package/lib/utility/template-generator/form-jiexi/devkit/metadata-generator/indexx.js +13 -13
  731. package/lib/utility/template-generator/form-jiexi/devkit/module-generator/form-module-generator.js +56 -56
  732. package/lib/utility/template-generator/form-jiexi/devkit/module-generator/form-module-routing-generator.js +35 -35
  733. package/lib/utility/template-generator/form-jiexi/devkit/module-generator/index.js +13 -13
  734. package/lib/utility/template-generator/form-jiexi/form-jiexi-generator-manager.js +81 -81
  735. package/lib/utility/template-generator/form-jiexi/sourcecode-delete-with-jiexiform.js +19 -19
  736. package/lib/utility/template-generator/i-template-generator.js +2 -2
  737. package/lib/utility/template-generator/index.js +16 -16
  738. package/lib/utility/template-generator/project/angularJson-generator.js +197 -197
  739. package/lib/utility/template-generator/project/environments/environment-prod-ts-generator.js +17 -17
  740. package/lib/utility/template-generator/project/environments/environment-ts-generator.js +17 -17
  741. package/lib/utility/template-generator/project/index-rollup-html-generator.js +109 -109
  742. package/lib/utility/template-generator/project/mail-ts-generator.js +27 -27
  743. package/lib/utility/template-generator/project/main-ts-aot-generaor.js +23 -23
  744. package/lib/utility/template-generator/project/package-json-generator.js +134 -134
  745. package/lib/utility/template-generator/project/polyfills-ts-generator.js +33 -33
  746. package/lib/utility/template-generator/project/tsconfig-app-flash-json-generator.js +26 -26
  747. package/lib/utility/template-generator/project/tsconfig-app-json-generator.js +26 -26
  748. package/lib/utility/template-generator/project/tsconfig-flash-json-generator.js +56 -56
  749. package/lib/utility/template-generator/project/tsconfig-json-generator.js +58 -58
  750. package/lib/utility/template-generator/project/version-check-service-generator.js +85 -85
  751. package/lib/utility/template-generator/project-app/app-component-scss-generator.js +17 -17
  752. package/lib/utility/template-generator/project-app/app-component-ts-generator.js +25 -25
  753. package/lib/utility/template-generator/project-app/app-module-ts-generator.js +151 -151
  754. package/lib/utility/template-generator/project-app/app-routing-module-generator.js +73 -73
  755. package/lib/utility/template-generator/project-app/index.js +16 -16
  756. package/lib/utility/template-generator/project-app/navigate-guard-generator.js +79 -79
  757. package/lib/utility/template-generator/project-app/systemjs-lc-moduleloader-generator.js +132 -132
  758. package/lib/utility/template-generator/subcontext-path-generator.js +19 -19
  759. package/lib/utility/template-generator/template-generator-factory.js +173 -173
  760. package/lib/utility/template-generator/template-generator-manager.js +119 -119
  761. package/lib/utility/template-generator/template-type.js +48 -48
  762. package/lib/utility/template-generator/ui/abstract-ui-template-generator.js +58 -58
  763. package/lib/utility/template-generator/ui/button-template-generator.js +17 -17
  764. package/lib/utility/template-generator/ui/html-attribute-name-constants.js +24 -24
  765. package/lib/utility/template-generator/ui/html-attribute-type.js +8 -8
  766. package/lib/utility/toolhepler.js +528 -528
  767. package/lib/utility/validator/IParams-validator.js +2 -2
  768. package/lib/utility/validator/default-params-validator.js +10 -10
  769. package/lib/utility/validator/index.js +16 -16
  770. package/lib/utility/validator/pageflow-json-validator.js +28 -28
  771. package/lib/utility/validator/params-validate-type.js +8 -8
  772. package/lib/utility/validator/params-validator-factory.js +54 -54
  773. package/lib/utility/validator/params-validator-manager.js +12 -12
  774. package/lib/utility/validator/uiconfig-parameter-validator.js +27 -27
  775. package/lib/utility/validator/validate-result.js +19 -19
  776. package/package.json +1 -1
@@ -1,53 +1,53 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.LookupTypeCreatorFactory = void 0;
4
- class LookupTypeCreatorFactory {
5
- constructor() { }
6
- static isLookup(type) {
7
- return type && (type === "LookupEdit");
8
- }
9
- static isPopLookup(component) {
10
- if (!component || !this.isLookup(component.type)) {
11
- return false;
12
- }
13
- if (!component.lookupStyle || component.lookupStyle === 'popup') {
14
- return true;
15
- }
16
- return false;
17
- }
18
- static isComboLookup(component) {
19
- if (!component || !this.isLookup(component.type)) {
20
- return false;
21
- }
22
- if (component.lookupStyle === 'combolist') {
23
- return true;
24
- }
25
- return false;
26
- }
27
- static getLookupPicking(component) {
28
- if (this.isPopLookup(component)) {
29
- return component.lookupPicking;
30
- }
31
- if (this.isComboLookup(component)) {
32
- return component.beforeShow;
33
- }
34
- return "";
35
- }
36
- static create(type, lookupStyle) {
37
- let lookupType;
38
- const popupType = "LookupEdit";
39
- const combolistType = "FarrisComboLookup";
40
- const combolistLookupStyle = "combolist";
41
- if (type && (type === "LookupEdit")) {
42
- if (lookupStyle && lookupStyle === combolistLookupStyle) {
43
- lookupType = combolistType;
44
- }
45
- else {
46
- lookupType = popupType;
47
- }
48
- }
49
- return lookupType;
50
- }
51
- }
52
- exports.LookupTypeCreatorFactory = LookupTypeCreatorFactory;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.LookupTypeCreatorFactory = void 0;
4
+ class LookupTypeCreatorFactory {
5
+ constructor() { }
6
+ static isLookup(type) {
7
+ return type && (type === "LookupEdit");
8
+ }
9
+ static isPopLookup(component) {
10
+ if (!component || !this.isLookup(component.type)) {
11
+ return false;
12
+ }
13
+ if (!component.lookupStyle || component.lookupStyle === 'popup') {
14
+ return true;
15
+ }
16
+ return false;
17
+ }
18
+ static isComboLookup(component) {
19
+ if (!component || !this.isLookup(component.type)) {
20
+ return false;
21
+ }
22
+ if (component.lookupStyle === 'combolist') {
23
+ return true;
24
+ }
25
+ return false;
26
+ }
27
+ static getLookupPicking(component) {
28
+ if (this.isPopLookup(component)) {
29
+ return component.lookupPicking;
30
+ }
31
+ if (this.isComboLookup(component)) {
32
+ return component.beforeShow;
33
+ }
34
+ return "";
35
+ }
36
+ static create(type, lookupStyle) {
37
+ let lookupType;
38
+ const popupType = "LookupEdit";
39
+ const combolistType = "FarrisComboLookup";
40
+ const combolistLookupStyle = "combolist";
41
+ if (type && (type === "LookupEdit")) {
42
+ if (lookupStyle && lookupStyle === combolistLookupStyle) {
43
+ lookupType = combolistType;
44
+ }
45
+ else {
46
+ lookupType = popupType;
47
+ }
48
+ }
49
+ return lookupType;
50
+ }
51
+ }
52
+ exports.LookupTypeCreatorFactory = LookupTypeCreatorFactory;
53
53
  //# sourceMappingURL=lookup-type-creator-factory.js.map
@@ -1,168 +1,171 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ModuleCreator = void 0;
4
- const devkit_object_name_creator_1 = require("./devkit-object-name-creator");
5
- const toolhepler_1 = require("../toolhepler");
6
- class ModuleCreator {
7
- constructor() { }
8
- static getNewInstance() {
9
- return new ModuleCreator();
10
- }
11
- createModule(obj) {
12
- const isGroupForm = obj.isGroupForm ? obj.isGroupForm : false;
13
- const arrDependencies = [];
14
- const arrImports = [];
15
- const arrDeclarations = [];
16
- const arrExports = [];
17
- const arrEntryComponents = [];
18
- if (isGroupForm) {
19
- }
20
- const routingModuleName = devkit_object_name_creator_1.DevkitObjectNameCreator.getDevkitObjectNameWithType("rt", obj.code);
21
- arrDependencies.push({ "name": routingModuleName, "path": "./routing" });
22
- arrImports.push({ "name": routingModuleName, "usePrefix": true });
23
- if (toolhepler_1.ToolHelper.isArray(obj.serviceRefs, false)) {
24
- obj.serviceRefs.forEach((serviceReference) => {
25
- if (serviceReference.path == "@gsp-dip/data-imp-exp") {
26
- if (arrDependencies.findIndex((item) => {
27
- return item && item.name === "DataImpExpModule";
28
- }) == -1) {
29
- arrDependencies.push({ "name": "DataImpExpModule", "path": "@gsp-dip/data-imp-exp", usePrefix: false });
30
- arrImports.push({ "name": "DataImpExpModule", usePrefix: false });
31
- }
32
- }
33
- });
34
- }
35
- if (toolhepler_1.ToolHelper.isArray(obj.extraImports, false)) {
36
- obj.extraImports.forEach((extraImport) => {
37
- const useprefix = toolhepler_1.ToolHelper.isNullOrUndefined(extraImport["usePrefix"]) ? false : extraImport["usePrefix"];
38
- if (extraImport.isLocale) {
39
- arrDependencies.push({ "name": extraImport["name"], "path": extraImport["path"], isLocale: true, languageCode: extraImport["languageCode"], usePrefix: useprefix });
40
- }
41
- else {
42
- arrDependencies.push({ "name": extraImport["name"], "path": extraImport["path"], usePrefix: useprefix });
43
- arrImports.push({ "name": extraImport["name"] });
44
- }
45
- });
46
- }
47
- if (toolhepler_1.ToolHelper.isArray(obj.viewmodels, false)) {
48
- obj.viewmodels.forEach((item) => {
49
- if (item.component) {
50
- arrDependencies.push({ name: item.component.name, path: this.moduleDependencyComponentPath(item.component) });
51
- arrDeclarations.push(item.component.name);
52
- if (item.component.componentType == "Frame" || item.component.dynamic == true) {
53
- arrExports.push({ "name": item.component.name });
54
- arrEntryComponents.push({ "name": item.component.name });
55
- }
56
- }
57
- });
58
- }
59
- if (toolhepler_1.ToolHelper.isArray(obj.innerComponents, false)) {
60
- obj.innerComponents.forEach((item) => {
61
- if (item && item.type == "ModalContainer") {
62
- if (item.relativeComponentId) {
63
- item.name = toolhepler_1.ToolHelper.tf(item.relativeComponentId);
64
- arrEntryComponents.push({ "name": item.name });
65
- }
66
- }
67
- });
68
- }
69
- if (obj.eapi) {
70
- }
71
- const moduleConfig = {
72
- code: obj.code,
73
- dependencies: arrDependencies,
74
- declarations: arrDeclarations,
75
- imports: arrImports,
76
- providers: [
77
- { provide: 'BE_SERVER_URI_TOKEN', useFactory: "function () { return `${window.location.protocol}//${window.location.hostname}:${window.location.port}`; }" },
78
- ],
79
- exports: arrExports,
80
- ctrlLangs: obj.ctrlLangs,
81
- entryComponents: arrEntryComponents,
82
- moduleReference: obj.moduleReference,
83
- currentPageInfo: obj.currentPageInfo,
84
- beforeTemplateScript: obj.beforeTemplateScript
85
- };
86
- if (obj.eapi) {
87
- }
88
- if (obj.isJointSearch) {
89
- moduleConfig.isJointSearch = obj.isJointSearch;
90
- }
91
- if (obj.isPrimengTreeGrid) {
92
- moduleConfig.isPrimengTreeGrid = obj.isPrimengTreeGrid;
93
- }
94
- if (obj.isCitySelector) {
95
- moduleConfig.isCitySelector = obj.isCitySelector;
96
- }
97
- if (obj.isApprovalComments) {
98
- moduleConfig.isApprovalComments = obj.isApprovalComments;
99
- }
100
- if (obj.isOaRelation) {
101
- moduleConfig.isOaRelation = obj.isOaRelation;
102
- }
103
- if (obj.isImageUpload) {
104
- moduleConfig.isImageUpload = obj.isImageUpload;
105
- }
106
- if (obj.isPersonnelSelector) {
107
- moduleConfig.isPersonnelSelector = obj.isPersonnelSelector;
108
- }
109
- if (obj.isGridPersonnelSelector) {
110
- moduleConfig.isGridPersonnelSelector = obj.isGridPersonnelSelector;
111
- }
112
- if (obj.isOrganizationSelector) {
113
- moduleConfig.isOrganizationSelector = obj.isOrganizationSelector;
114
- }
115
- if (obj.isGridOrganizationSelector) {
116
- moduleConfig.isGridOrganizationSelector = obj.isGridOrganizationSelector;
117
- }
118
- if (obj.isEmployeeSelector) {
119
- moduleConfig.isEmployeeSelector = obj.isEmployeeSelector;
120
- }
121
- if (obj.isGridEmployeeSelector) {
122
- moduleConfig.isGridEmployeeSelector = obj.isGridEmployeeSelector;
123
- }
124
- if (obj.isAppointmentCalendar) {
125
- moduleConfig.isAppointmentCalendar = obj.isAppointmentCalendar;
126
- }
127
- if (obj.isGridAppointmentCalendar) {
128
- moduleConfig.isGridAppointmentCalendar = obj.isGridAppointmentCalendar;
129
- }
130
- if (obj.isQrCode) {
131
- moduleConfig.isQrCode = obj.isQrCode;
132
- }
133
- if (obj.isGridQrCode) {
134
- moduleConfig.isGridQrCode = obj.isGridQrCode;
135
- }
136
- if (obj.isAdminOrganizationSelector) {
137
- moduleConfig.isAdminOrganizationSelector = obj.isAdminOrganizationSelector;
138
- }
139
- if (obj.isGridAdminOrganizationSelector) {
140
- moduleConfig.isGridAdminOrganizationSelector = obj.isGridAdminOrganizationSelector;
141
- }
142
- if (obj.isExtIntergration) {
143
- moduleConfig.isExtIntergration = obj.isExtIntergration;
144
- }
145
- if (obj.isGridExtIntergration) {
146
- moduleConfig.isGridExtIntergration = obj.isGridExtIntergration;
147
- }
148
- if (obj.isPortlet) {
149
- moduleConfig.isPortlet = obj.isPortlet;
150
- }
151
- if (obj.isApprovalLogs) {
152
- moduleConfig.isApprovalLogs = obj.isApprovalLogs;
153
- }
154
- if (obj.multiTextboxUseComments) {
155
- moduleConfig.multiTextboxUseComments = obj.multiTextboxUseComments;
156
- }
157
- if (obj.hasAif) {
158
- moduleConfig.hasAif = obj.hasAif;
159
- }
160
- moduleConfig.isProgressStep = obj.isProgressStep;
161
- return moduleConfig;
162
- }
163
- moduleDependencyComponentPath(component) {
164
- return "./components/" + toolhepler_1.ToolHelper.toLowerCase(component.id) + "/" + toolhepler_1.ToolHelper.toLowerCase(component.name);
165
- }
166
- }
167
- exports.ModuleCreator = ModuleCreator;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ModuleCreator = void 0;
4
+ const devkit_object_name_creator_1 = require("./devkit-object-name-creator");
5
+ const toolhepler_1 = require("../toolhepler");
6
+ class ModuleCreator {
7
+ constructor() { }
8
+ static getNewInstance() {
9
+ return new ModuleCreator();
10
+ }
11
+ createModule(obj) {
12
+ const isGroupForm = obj.isGroupForm ? obj.isGroupForm : false;
13
+ const arrDependencies = [];
14
+ const arrImports = [];
15
+ const arrDeclarations = [];
16
+ const arrExports = [];
17
+ const arrEntryComponents = [];
18
+ if (isGroupForm) {
19
+ }
20
+ const routingModuleName = devkit_object_name_creator_1.DevkitObjectNameCreator.getDevkitObjectNameWithType("rt", obj.code);
21
+ arrDependencies.push({ "name": routingModuleName, "path": "./routing" });
22
+ arrImports.push({ "name": routingModuleName, "usePrefix": true });
23
+ if (toolhepler_1.ToolHelper.isArray(obj.serviceRefs, false)) {
24
+ obj.serviceRefs.forEach((serviceReference) => {
25
+ if (serviceReference.path == "@gsp-dip/data-imp-exp") {
26
+ if (arrDependencies.findIndex((item) => {
27
+ return item && item.name === "DataImpExpModule";
28
+ }) == -1) {
29
+ arrDependencies.push({ "name": "DataImpExpModule", "path": "@gsp-dip/data-imp-exp", usePrefix: false });
30
+ arrImports.push({ "name": "DataImpExpModule", usePrefix: false });
31
+ }
32
+ }
33
+ });
34
+ }
35
+ if (toolhepler_1.ToolHelper.isArray(obj.extraImports, false)) {
36
+ obj.extraImports.forEach((extraImport) => {
37
+ const useprefix = toolhepler_1.ToolHelper.isNullOrUndefined(extraImport["usePrefix"]) ? false : extraImport["usePrefix"];
38
+ if (extraImport.isLocale) {
39
+ arrDependencies.push({ "name": extraImport["name"], "path": extraImport["path"], isLocale: true, languageCode: extraImport["languageCode"], usePrefix: useprefix });
40
+ }
41
+ else {
42
+ arrDependencies.push({ "name": extraImport["name"], "path": extraImport["path"], usePrefix: useprefix });
43
+ arrImports.push({ "name": extraImport["name"] });
44
+ }
45
+ });
46
+ }
47
+ if (toolhepler_1.ToolHelper.isArray(obj.viewmodels, false)) {
48
+ obj.viewmodels.forEach((item) => {
49
+ if (item.component) {
50
+ arrDependencies.push({ name: item.component.name, path: this.moduleDependencyComponentPath(item.component) });
51
+ arrDeclarations.push(item.component.name);
52
+ if (item.component.componentType == "Frame" || item.component.dynamic == true) {
53
+ arrExports.push({ "name": item.component.name });
54
+ arrEntryComponents.push({ "name": item.component.name });
55
+ }
56
+ }
57
+ });
58
+ }
59
+ if (toolhepler_1.ToolHelper.isArray(obj.innerComponents, false)) {
60
+ obj.innerComponents.forEach((item) => {
61
+ if (item && item.type == "ModalContainer") {
62
+ if (item.relativeComponentId) {
63
+ item.name = toolhepler_1.ToolHelper.tf(item.relativeComponentId);
64
+ arrEntryComponents.push({ "name": item.name });
65
+ }
66
+ }
67
+ });
68
+ }
69
+ if (obj.eapi) {
70
+ }
71
+ const moduleConfig = {
72
+ code: obj.code,
73
+ dependencies: arrDependencies,
74
+ declarations: arrDeclarations,
75
+ imports: arrImports,
76
+ providers: [
77
+ { provide: 'BE_SERVER_URI_TOKEN', useFactory: "function () { return `${window.location.protocol}//${window.location.hostname}:${window.location.port}`; }" },
78
+ ],
79
+ exports: arrExports,
80
+ ctrlLangs: obj.ctrlLangs,
81
+ entryComponents: arrEntryComponents,
82
+ moduleReference: obj.moduleReference,
83
+ currentPageInfo: obj.currentPageInfo,
84
+ beforeTemplateScript: obj.beforeTemplateScript
85
+ };
86
+ if (obj.eapi) {
87
+ }
88
+ if (obj.isJointSearch) {
89
+ moduleConfig.isJointSearch = obj.isJointSearch;
90
+ }
91
+ if (obj.isPrimengTreeGrid) {
92
+ moduleConfig.isPrimengTreeGrid = obj.isPrimengTreeGrid;
93
+ }
94
+ if (obj.isCitySelector) {
95
+ moduleConfig.isCitySelector = obj.isCitySelector;
96
+ }
97
+ if (obj.isApprovalComments) {
98
+ moduleConfig.isApprovalComments = obj.isApprovalComments;
99
+ }
100
+ if (obj.isOaRelation) {
101
+ moduleConfig.isOaRelation = obj.isOaRelation;
102
+ }
103
+ if (obj.isImageUpload) {
104
+ moduleConfig.isImageUpload = obj.isImageUpload;
105
+ }
106
+ if (obj.isPersonnelSelector) {
107
+ moduleConfig.isPersonnelSelector = obj.isPersonnelSelector;
108
+ }
109
+ if (obj.isGridPersonnelSelector) {
110
+ moduleConfig.isGridPersonnelSelector = obj.isGridPersonnelSelector;
111
+ }
112
+ if (obj.isOrganizationSelector) {
113
+ moduleConfig.isOrganizationSelector = obj.isOrganizationSelector;
114
+ }
115
+ if (obj.isGridOrganizationSelector) {
116
+ moduleConfig.isGridOrganizationSelector = obj.isGridOrganizationSelector;
117
+ }
118
+ if (obj.isEmployeeSelector) {
119
+ moduleConfig.isEmployeeSelector = obj.isEmployeeSelector;
120
+ }
121
+ if (obj.isGridEmployeeSelector) {
122
+ moduleConfig.isGridEmployeeSelector = obj.isGridEmployeeSelector;
123
+ }
124
+ if (obj.isAppointmentCalendar) {
125
+ moduleConfig.isAppointmentCalendar = obj.isAppointmentCalendar;
126
+ }
127
+ if (obj.isGridAppointmentCalendar) {
128
+ moduleConfig.isGridAppointmentCalendar = obj.isGridAppointmentCalendar;
129
+ }
130
+ if (obj.isQrCode) {
131
+ moduleConfig.isQrCode = obj.isQrCode;
132
+ }
133
+ if (obj.isGridQrCode) {
134
+ moduleConfig.isGridQrCode = obj.isGridQrCode;
135
+ }
136
+ if (obj.isAdminOrganizationSelector) {
137
+ moduleConfig.isAdminOrganizationSelector = obj.isAdminOrganizationSelector;
138
+ }
139
+ if (obj.isGridAdminOrganizationSelector) {
140
+ moduleConfig.isGridAdminOrganizationSelector = obj.isGridAdminOrganizationSelector;
141
+ }
142
+ if (obj.isExtIntergration) {
143
+ moduleConfig.isExtIntergration = obj.isExtIntergration;
144
+ }
145
+ if (obj.isGridExtIntergration) {
146
+ moduleConfig.isGridExtIntergration = obj.isGridExtIntergration;
147
+ }
148
+ if (obj.isPortlet) {
149
+ moduleConfig.isPortlet = obj.isPortlet;
150
+ }
151
+ if (obj.isApprovalLogs) {
152
+ moduleConfig.isApprovalLogs = obj.isApprovalLogs;
153
+ }
154
+ if (obj.multiTextboxUseComments) {
155
+ moduleConfig.multiTextboxUseComments = obj.multiTextboxUseComments;
156
+ }
157
+ if (obj.hasAif) {
158
+ moduleConfig.hasAif = obj.hasAif;
159
+ }
160
+ if (obj.advancedComponentCheckResult) {
161
+ moduleConfig.advancedComponentCheckResult = obj.advancedComponentCheckResult;
162
+ }
163
+ moduleConfig.isProgressStep = obj.isProgressStep;
164
+ return moduleConfig;
165
+ }
166
+ moduleDependencyComponentPath(component) {
167
+ return "./components/" + toolhepler_1.ToolHelper.toLowerCase(component.id) + "/" + toolhepler_1.ToolHelper.toLowerCase(component.name);
168
+ }
169
+ }
170
+ exports.ModuleCreator = ModuleCreator;
168
171
  //# sourceMappingURL=module-creator.js.map
@@ -1 +1 @@
1
- {"version":3,"file":"module-creator.js","sourceRoot":"","sources":["../../../src/utility/devkit/module-creator.ts"],"names":[],"mappings":";;;AAAA,6EAAuE;AACvE,8CAA2C;AAG3C,MAAa,aAAa;IAEtB,gBAAwB,CAAC;IAEzB,MAAM,CAAC,cAAc;QACjB,OAAO,IAAI,aAAa,EAAE,CAAC;IAC/B,CAAC;IAmBD,YAAY,CAAC,GA0CZ;QACG,MAAM,WAAW,GAAG,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,GAAG,CAAC,WAAW,CAAC,CAAC,CAAC,KAAK,CAAC;QAG9D,MAAM,eAAe,GAAU,EAE9B,CAAC;QAEF,MAAM,UAAU,GAAU,EAAE,CAAC;QAC7B,MAAM,eAAe,GAAU,EAAE,CAAC;QAClC,MAAM,UAAU,GAAU,EAAE,CAAC;QAC7B,MAAM,kBAAkB,GAAU,EAAE,CAAC;QAGrC,IAAI,WAAW,EAAE;SAEhB;QACD,MAAM,iBAAiB,GAAG,oDAAuB,CAAC,2BAA2B,CAAC,IAAI,EAAE,GAAG,CAAC,IAAI,CAAC,CAAC;QAC9F,eAAe,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,iBAAiB,EAAE,MAAM,EAAE,WAAW,EAAE,CAAC,CAAC;QAEzE,UAAU,CAAC,IAAI,CAAC,EAAE,MAAM,EAAE,iBAAiB,EAAE,WAAW,EAAE,IAAI,EAAE,CAAC,CAAC;QAIlE,IAAI,uBAAU,CAAC,OAAO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I,GAAG,CAAC,uBAAuB,EAAE;YAC7B,YAAY,CAAC,uBAAuB,GAAG,GAAG,CAAC,uBAAuB,CAAC;SACtE;QAED,IAAI,GAAG,CAAC,MAAM,EAAE;YACZ,YAAY,CAAC,MAAM,GAAG,GAAG,CAAC,MAAM,CAAC;SACpC;QAED,IAAI,GAAG,CAAC,4BAA4B,EAAE;YAClC,YAAY,CAAC,4BAA4B,GAAG,GAAG,CAAC,4BAA4B,CAAC;SAChF;QAED,YAAY,CAAC,cAAc,GAAG,GAAG,CAAC,cAAc,CAAC;QAEjD,OAAO,YAAY,CAAC;IACxB,CAAC;IAUO,6BAA6B,CAAC,SAAc;QAChD,OAAO,eAAe,GAAG,uBAAU,CAAC,WAAW,CAAC,SAAS,CAAC,EAAE,CAAC,GAAG,GAAG,GAAG,uBAAU,CAAC,WAAW,CAAC,SAAS,CAAC,IAAI,CAAC,CAAC;IACjH,CAAC;CACJ;AAhSD,sCAgSC"}
@@ -1,61 +1,61 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.RepositoryCreator = void 0;
4
- const viewmodel_parameter_1 = require("../internal-entity/viewmodel-parameter");
5
- const toolhepler_1 = require("../toolhepler");
6
- const devkit_object_name_creator_1 = require("./devkit-object-name-creator");
7
- const entities_creator_1 = require("./entities-creator");
8
- class RepositoryCreator {
9
- constructor() { }
10
- static getNewInstance() {
11
- return new RepositoryCreator();
12
- }
13
- createRepository(repositoryParameter) {
14
- const viewModels = repositoryParameter.viewModels;
15
- const remoteStates = [];
16
- const paginations = [];
17
- if (toolhepler_1.ToolHelper.isArray(viewModels) == true) {
18
- viewModels.forEach((viewModel) => {
19
- if (viewModel) {
20
- const states = viewModel.states;
21
- if (toolhepler_1.ToolHelper.isArray(states) == true) {
22
- states.forEach((state) => {
23
- if (state.category && state.category === 'remote') {
24
- remoteStates.push(state);
25
- }
26
- });
27
- }
28
- const pagination = this.createPagination(viewModel, repositoryParameter.entities);
29
- if (pagination) {
30
- paginations.push(pagination);
31
- }
32
- }
33
- });
34
- }
35
- const repositoryName = devkit_object_name_creator_1.DevkitObjectNameCreator.getDevkitObjectNameWithType("r", toolhepler_1.ToolHelper.tf(repositoryParameter.mainEntityCode));
36
- return {
37
- name: repositoryName,
38
- entity: devkit_object_name_creator_1.DevkitObjectNameCreator.getDevkitObjectNameWithType("e", toolhepler_1.ToolHelper.tf(repositoryParameter.mainEntityCode)),
39
- restUri: repositoryParameter.restUri,
40
- states: remoteStates,
41
- paginations: paginations,
42
- originalEntity: toolhepler_1.ToolHelper.tf(repositoryParameter.mainEntityCode),
43
- includeProxyReference: repositoryParameter.eapi == null ? false : true
44
- };
45
- }
46
- createPagination(viewModel, entities) {
47
- const bindTo = viewModel.bindTo;
48
- const paginationEntityInfo = entities_creator_1.EntitiesCreator.getSingleInstance().getEntityByUri(entities, bindTo, 0);
49
- if (paginationEntityInfo) {
50
- this.modifyPaginationEntityInfo(paginationEntityInfo);
51
- return new viewmodel_parameter_1.ViewModelPaginationParameter(paginationEntityInfo.label, viewModel.pagination, paginationEntityInfo.layer);
52
- }
53
- }
54
- modifyPaginationEntityInfo(paginationEntityInfo) {
55
- if (paginationEntityInfo.layer == 0) {
56
- paginationEntityInfo.label = devkit_object_name_creator_1.DevkitObjectNameCreator.getDevkitObjectNameWithType("e", toolhepler_1.ToolHelper.tf(paginationEntityInfo.code));
57
- }
58
- }
59
- }
60
- exports.RepositoryCreator = RepositoryCreator;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.RepositoryCreator = void 0;
4
+ const viewmodel_parameter_1 = require("../internal-entity/viewmodel-parameter");
5
+ const toolhepler_1 = require("../toolhepler");
6
+ const devkit_object_name_creator_1 = require("./devkit-object-name-creator");
7
+ const entities_creator_1 = require("./entities-creator");
8
+ class RepositoryCreator {
9
+ constructor() { }
10
+ static getNewInstance() {
11
+ return new RepositoryCreator();
12
+ }
13
+ createRepository(repositoryParameter) {
14
+ const viewModels = repositoryParameter.viewModels;
15
+ const remoteStates = [];
16
+ const paginations = [];
17
+ if (toolhepler_1.ToolHelper.isArray(viewModels) == true) {
18
+ viewModels.forEach((viewModel) => {
19
+ if (viewModel) {
20
+ const states = viewModel.states;
21
+ if (toolhepler_1.ToolHelper.isArray(states) == true) {
22
+ states.forEach((state) => {
23
+ if (state.category && state.category === 'remote') {
24
+ remoteStates.push(state);
25
+ }
26
+ });
27
+ }
28
+ const pagination = this.createPagination(viewModel, repositoryParameter.entities);
29
+ if (pagination) {
30
+ paginations.push(pagination);
31
+ }
32
+ }
33
+ });
34
+ }
35
+ const repositoryName = devkit_object_name_creator_1.DevkitObjectNameCreator.getDevkitObjectNameWithType("r", toolhepler_1.ToolHelper.tf(repositoryParameter.mainEntityCode));
36
+ return {
37
+ name: repositoryName,
38
+ entity: devkit_object_name_creator_1.DevkitObjectNameCreator.getDevkitObjectNameWithType("e", toolhepler_1.ToolHelper.tf(repositoryParameter.mainEntityCode)),
39
+ restUri: repositoryParameter.restUri,
40
+ states: remoteStates,
41
+ paginations: paginations,
42
+ originalEntity: toolhepler_1.ToolHelper.tf(repositoryParameter.mainEntityCode),
43
+ includeProxyReference: repositoryParameter.eapi == null ? false : true
44
+ };
45
+ }
46
+ createPagination(viewModel, entities) {
47
+ const bindTo = viewModel.bindTo;
48
+ const paginationEntityInfo = entities_creator_1.EntitiesCreator.getSingleInstance().getEntityByUri(entities, bindTo, 0);
49
+ if (paginationEntityInfo) {
50
+ this.modifyPaginationEntityInfo(paginationEntityInfo);
51
+ return new viewmodel_parameter_1.ViewModelPaginationParameter(paginationEntityInfo.label, viewModel.pagination, paginationEntityInfo.layer);
52
+ }
53
+ }
54
+ modifyPaginationEntityInfo(paginationEntityInfo) {
55
+ if (paginationEntityInfo.layer == 0) {
56
+ paginationEntityInfo.label = devkit_object_name_creator_1.DevkitObjectNameCreator.getDevkitObjectNameWithType("e", toolhepler_1.ToolHelper.tf(paginationEntityInfo.code));
57
+ }
58
+ }
59
+ }
60
+ exports.RepositoryCreator = RepositoryCreator;
61
61
  //# sourceMappingURL=repository-creator.js.map
@@ -1,23 +1,23 @@
1
- "use strict";
2
- Object.defineProperty(exports, "__esModule", { value: true });
3
- exports.ResponseLayoutTypeCreatorFactory = void 0;
4
- class ResponseLayoutTypeCreatorFactory {
5
- static isResponseLayout(type) {
6
- return type && type === "ResponseLayout";
7
- }
8
- static isResponseLayoutItem(type) {
9
- return type && type === "ResponseLayoutItem";
10
- }
11
- static isResponseLayoutOrItem(type) {
12
- return this.isResponseLayout(type) || this.isResponseLayoutItem(type);
13
- }
14
- static create(type, controlSource) {
15
- let responseLayoutType;
16
- if (type && this.isResponseLayoutOrItem(type)) {
17
- responseLayoutType = "ContentContainer";
18
- }
19
- return responseLayoutType;
20
- }
21
- }
22
- exports.ResponseLayoutTypeCreatorFactory = ResponseLayoutTypeCreatorFactory;
1
+ "use strict";
2
+ Object.defineProperty(exports, "__esModule", { value: true });
3
+ exports.ResponseLayoutTypeCreatorFactory = void 0;
4
+ class ResponseLayoutTypeCreatorFactory {
5
+ static isResponseLayout(type) {
6
+ return type && type === "ResponseLayout";
7
+ }
8
+ static isResponseLayoutItem(type) {
9
+ return type && type === "ResponseLayoutItem";
10
+ }
11
+ static isResponseLayoutOrItem(type) {
12
+ return this.isResponseLayout(type) || this.isResponseLayoutItem(type);
13
+ }
14
+ static create(type, controlSource) {
15
+ let responseLayoutType;
16
+ if (type && this.isResponseLayoutOrItem(type)) {
17
+ responseLayoutType = "ContentContainer";
18
+ }
19
+ return responseLayoutType;
20
+ }
21
+ }
22
+ exports.ResponseLayoutTypeCreatorFactory = ResponseLayoutTypeCreatorFactory;
23
23
  //# sourceMappingURL=response-layout-type-creator-factory.js.map