@zohodesk/library-platform 1.1.10-exp.1 → 1.1.10-exp.2

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 (227) hide show
  1. package/es/bc/app-context/Properties.js +12 -2
  2. package/es/bc/sdk/ResourceNamesEnum.js +1 -0
  3. package/es/bc/zform/Constants.js +11 -1
  4. package/es/bc/zform/Properties.js +29 -33
  5. package/es/bc/zform/Symbol.js +1 -3
  6. package/es/bc/zlist/Properties.js +0 -51
  7. package/es/bc/zrecord/Constants.js +1 -0
  8. package/es/cc/fields/currency/Properties.js +2 -1
  9. package/es/cc/fields/field/Properties.js +14 -8
  10. package/es/cc/fields/lookup/Properties.js +34 -1
  11. package/es/cc/fields/text/Properties.js +0 -9
  12. package/es/cc/form/Properties.js +8 -0
  13. package/es/cc/form-connected/ExternalConstants.js +3 -0
  14. package/es/cc/form-connected/Properties.js +19 -11
  15. package/es/cc/table-connected/SdkContract.js +14 -0
  16. package/es/cc/table-connected/constants/Events.js +2 -1
  17. package/es/cc/table-list/row/Properties.js +8 -0
  18. package/es/index.js +13 -3
  19. package/es/library/analytics/Analytics.js +36 -0
  20. package/es/library/analytics/AnalyticsContract.js +13 -0
  21. package/es/library/analytics/index.js +2 -0
  22. package/es/library/custom-component/adapters/controllers/Controller.js +9 -0
  23. package/es/library/custom-component/adapters/gateways/event-manager/EventManager.js +4 -0
  24. package/es/library/custom-component/adapters/gateways/service/Service.js +2 -0
  25. package/es/library/custom-component/applications/entities-factory/ComponentFactory.js +12 -9
  26. package/es/library/custom-component/applications/usecases/DispatchUseCase.js +28 -5
  27. package/es/library/custom-component/applications/usecases/InitializeUseCase.js +5 -4
  28. package/es/library/custom-component/applications/usecases/MountUseCase.js +10 -6
  29. package/es/library/custom-component/applications/usecases/UnmountUseCase.js +6 -5
  30. package/es/library/custom-component/applications/usecases/UpdatePropertyUseCase.js +23 -18
  31. package/es/library/custom-component/applications/usecases/UpdateStateUseCase.js +4 -3
  32. package/es/library/custom-component/domain/entities/Behaviour.js +4 -0
  33. package/es/library/custom-component/domain/entities/Component.js +89 -83
  34. package/es/library/custom-component/domain/entities/Properties.js +10 -137
  35. package/es/library/custom-component/domain/entities/Property.js +29 -0
  36. package/es/library/custom-component/frameworks/json-schema-validator/Validator.js +65 -28
  37. package/es/library/custom-component/frameworks/ui/CreateCustomComponent.js +26 -13
  38. package/es/library/custom-component/frameworks/ui/DependencyFactory.js +1 -2
  39. package/es/library/dot/components/action-location/frameworks/ui/ActionComponentMapping.js +2 -1
  40. package/es/library/dot/components/form/adapters/presenter/TransformState.js +3 -1
  41. package/es/library/dot/components/form/frameworks/ui/DefaultComponentRegister.js +10 -2
  42. package/es/library/dot/components/form/frameworks/ui/Form.js +2 -0
  43. package/es/library/dot/components/form/frameworks/ui/FormView.js +8 -4
  44. package/es/library/dot/components/form/frameworks/ui/css/Form.module.css +13 -13
  45. package/es/library/dot/components/form/frameworks/ui/sub-components/Footer.js +7 -4
  46. package/es/library/dot/components/form/frameworks/ui/sub-components/Header.js +7 -4
  47. package/es/library/dot/components/form-fields/currency/frameworks/ui/Currency.js +3 -3
  48. package/es/library/dot/components/form-fields/field/css/FieldItem.module.css +2 -2
  49. package/es/library/dot/components/form-fields/lookup/frameworks/ui/Lookup.js +1 -1
  50. package/es/library/dot/components/section/frameworks/ui/SectionView.js +12 -4
  51. package/es/library/dot/components/section/frameworks/ui/css/Section.module.css +3 -0
  52. package/es/library/dot/components/table-list/frameworks/ui/TableListView.js +14 -7
  53. package/es/library/dot/components/table-list/frameworks/ui/css/TableList.module.css +15 -15
  54. package/es/library/dot/components/table-list/frameworks/ui/sub-components/ErrorState.js +4 -7
  55. package/es/library/dot/components/table-list/frameworks/ui/sub-components/Header.js +9 -6
  56. package/es/library/dot/components/table-list/frameworks/ui/sub-components/Rows.js +6 -4
  57. package/es/library/dot/components/table-list/frameworks/ui/sub-components/header/HeaderData.js +6 -4
  58. package/es/library/dot/components/table-list/frameworks/ui/sub-components/header/Headers.js +4 -2
  59. package/es/library/dot/components/table-list/frameworks/ui/sub-components/header/MassAction.js +6 -4
  60. package/es/library/dot/components/table-list/frameworks/ui/sub-components/row/Columns.js +4 -2
  61. package/es/library/dot/components/table-list/frameworks/ui/sub-components/row/Row.js +14 -7
  62. package/es/library/dot/components/table-list/frameworks/ui/sub-components/row/RowActions.js +5 -4
  63. package/es/library/dot/components/table-list/frameworks/ui/sub-components/row/RowData.js +5 -3
  64. package/es/library/dot/components/table-list/frameworks/ui/sub-components/row/RowSelection.js +32 -7
  65. package/es/library/dot/legacy-to-new-arch/breadcrumb/frameworks/ui/css/Breadcrumb.module.css +4 -4
  66. package/es/library/dot/legacy-to-new-arch/breadcrumb/frameworks/ui/sub-components/BreadcrumbItem.js +1 -1
  67. package/es/library/dot/legacy-to-new-arch/button/frameworks/ui/ButtonView.js +2 -2
  68. package/es/library/dot/legacy-to-new-arch/date/frameworks/ui/DateView.js +4 -4
  69. package/es/library/dot/legacy-to-new-arch/date/frameworks/ui/css/DateView.module.css +1 -1
  70. package/es/library/dot/legacy-to-new-arch/label/frameworks/ui/LabelView.js +2 -2
  71. package/es/library/dot/legacy-to-new-arch/label/frameworks/ui/css/Label.module.css +4 -4
  72. package/es/library/dot/legacy-to-new-arch/multi-select/frameworks/ui/MultiSelectView.js +2 -2
  73. package/es/library/dot/legacy-to-new-arch/multi-select/frameworks/ui/css/MultiSelectView.module.css +9 -9
  74. package/es/library/dot/legacy-to-new-arch/select/frameworks/ui/SelectView.js +2 -2
  75. package/es/library/dot/legacy-to-new-arch/table-field-components/index.js +1 -0
  76. package/es/library/dot/legacy-to-new-arch/text/frameworks/ui/TextView.js +1 -1
  77. package/es/library/dot/legacy-to-new-arch/text-area/frameworks/ui/TextAreaView.js +2 -2
  78. package/es/library/dot/legacy-to-new-arch/text-area/frameworks/ui/css/TextAreaView.module.css +9 -9
  79. package/es/library/dot/legacy-to-new-arch/textbox/frameworks/ui/TextBoxView.js +2 -2
  80. package/es/platform/client-actions/behaviour/zclient-actions/applications/usecases/SetClientActionsUseCase.js +6 -1
  81. package/es/platform/client-actions/behaviour/zclient-actions/domain/entities/ClientActionManager.js +58 -19
  82. package/es/platform/client-actions/behaviour/zclient-actions/domain/entities/ClientActions.js +8 -8
  83. package/es/platform/client-actions/behaviour/zclient-actions/domain/entities/interfaces/IClientActionFetchResponse.js +0 -0
  84. package/es/platform/client-actions/cc/action-event-mediator/Properties.js +75 -3
  85. package/es/platform/client-actions/components/action-event-mediator/adapters/controllers/MountController.js +1 -1
  86. package/es/platform/client-actions/components/action-event-mediator/adapters/controllers/PropertiesChangeController.js +2 -2
  87. package/es/platform/client-actions/components/action-event-mediator/adapters/gateway/Repository.js +2 -2
  88. package/es/platform/client-actions/components/action-event-mediator/applications/usecases/InitializeUseCase.js +15 -1
  89. package/es/platform/client-actions/components/action-event-mediator/applications/usecases/PropertiesChangeUseCase.js +3 -3
  90. package/es/platform/client-actions/components/action-event-mediator/domain/entities/ActionEventMediatorEntity.js +41 -24
  91. package/es/platform/client-actions/components/action-event-mediator/frameworks/ui/ActionEventMediator.js +3 -1
  92. package/es/platform/client-actions/components/action-event-mediator/frameworks/ui/ActionEventMediatorView.js +31 -14
  93. package/es/platform/client-actions/components/action-event-mediator/frameworks/ui/ClientActionsAdapter.js +2 -48
  94. package/es/platform/client-actions/components/action-event-mediator/frameworks/ui/EventHandlersFactory.js +3 -11
  95. package/es/platform/client-actions/components/row-actions-renderer/frameworks/ui/AdaptiveRowActions/AdaptiveRowActionsRenderer.js +12 -0
  96. package/es/platform/client-actions/components/row-actions-renderer/frameworks/ui/AdaptiveRowActions/AdaptiveRowActionsRendererView.js +42 -0
  97. package/es/platform/client-actions/components/row-actions-renderer/frameworks/ui/MoreActions/MoreActionsRenderer.js +10 -0
  98. package/es/platform/client-actions/components/row-actions-renderer/frameworks/ui/MoreActions/MoreActionsRendererView.js +79 -0
  99. package/es/platform/client-actions/components/row-actions-renderer/frameworks/ui/{RowActionsRenderer.js → RowActions/RowActionsRenderer.js} +3 -3
  100. package/es/platform/client-actions/components/row-actions-renderer/frameworks/ui/RowActions/RowActionsRenderer.module.css +19 -0
  101. package/es/platform/client-actions/components/row-actions-renderer/frameworks/ui/RowActions/RowActionsRendererView.js +37 -0
  102. package/es/platform/client-actions/translators/client-actions-translator/index.js +14 -2
  103. package/es/platform/client-actions/translators/condition-resolver/index.js +6 -1
  104. package/es/platform/client-scripts/bc/zclient-scripts-execution/Constants.js +11 -0
  105. package/es/platform/client-scripts/bc/zclient-scripts-execution/EventHandlers.js +1 -0
  106. package/es/platform/client-scripts/bc/zclient-scripts-fetch/Constants.js +11 -0
  107. package/es/platform/client-scripts/bc/zclient-scripts-fetch/EventHandlers.js +1 -0
  108. package/es/platform/{app-context-behaviour → client-scripts/behaviour/zclient-scripts-execution}/adapters/controllers/AbstractController.js +2 -1
  109. package/es/platform/client-scripts/behaviour/zclient-scripts-execution/adapters/controllers/ClientScriptExecutionController.js +10 -0
  110. package/es/platform/client-scripts/behaviour/zclient-scripts-execution/adapters/controllers/SetClientScriptsMappingController.js +10 -0
  111. package/es/platform/client-scripts/behaviour/zclient-scripts-execution/adapters/gateways/Repository.js +24 -0
  112. package/es/platform/client-scripts/behaviour/zclient-scripts-execution/adapters/gateways/Service.js +9 -0
  113. package/es/platform/client-scripts/behaviour/zclient-scripts-execution/adapters/presenters/Presenter.js +21 -0
  114. package/es/platform/client-scripts/behaviour/zclient-scripts-execution/applications/interfaces/gateways/IService.js +0 -0
  115. package/es/platform/client-scripts/behaviour/zclient-scripts-execution/applications/usecases/AbstractUseCase.js +15 -0
  116. package/es/platform/client-scripts/behaviour/zclient-scripts-execution/applications/usecases/ExecuteClientScriptsUseCase.js +23 -0
  117. package/es/platform/client-scripts/behaviour/zclient-scripts-execution/applications/usecases/SetClientScriptsMappingUseCase.js +16 -0
  118. package/es/platform/client-scripts/behaviour/zclient-scripts-execution/domain/entities/ClientScriptExecutor.js +142 -0
  119. package/es/platform/client-scripts/behaviour/zclient-scripts-execution/domain/entities/types/ClientScriptExectionTypeDefintions.js +7 -0
  120. package/es/platform/client-scripts/behaviour/zclient-scripts-execution/frameworks/ClientScriptsExecutionBehaviourFactory.js +12 -0
  121. package/es/platform/client-scripts/behaviour/zclient-scripts-execution/frameworks/ClientScriptsExecutionHandlersFactory.js +30 -0
  122. package/es/platform/client-scripts/behaviour/zclient-scripts-execution/frameworks/ClientScriptsUtils.js +25 -0
  123. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/adapters/controllers/AbstractController.js +8 -0
  124. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/adapters/controllers/FetchClientScriptsController.js +27 -0
  125. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/adapters/controllers/FetchClientScriptsFailureController.js +28 -0
  126. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/adapters/controllers/FetchClientScriptsNoContentController.js +23 -0
  127. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/adapters/controllers/FetchClientScriptsStopController.js +21 -0
  128. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/adapters/controllers/FetchClientScriptsSuccessController.js +28 -0
  129. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/adapters/controllers/MountController.js +22 -0
  130. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/adapters/controllers/SetClientScriptsController.js +24 -0
  131. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/adapters/gateways/Repository.js +22 -0
  132. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/adapters/gateways/Service.js +19 -0
  133. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/adapters/presenters/Presenter.js +16 -0
  134. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/applications/entities-factory/ClientScriptsFactory.js +11 -0
  135. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/applications/entities-factory/ClientScriptsManagerFactory.js +10 -0
  136. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/applications/interfaces/gateways/IService.js +0 -0
  137. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/applications/usecases/AbstractUseCase.js +17 -0
  138. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/applications/usecases/FetchClientScriptUseCase.js +33 -0
  139. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/applications/usecases/FetchClientScriptsFailureUseCase.js +22 -0
  140. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/applications/usecases/FetchClientScriptsNoContentUseCase.js +27 -0
  141. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/applications/usecases/FetchClientScriptsStopUseCase.js +25 -0
  142. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/applications/usecases/FetchClientScriptsSuccessUseCase.js +22 -0
  143. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/applications/usecases/InitializeUseCase.js +17 -0
  144. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/applications/usecases/SetClientScriptsUseCase.js +21 -0
  145. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/domain/entities/ClientScript.js +24 -0
  146. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/domain/entities/ClientScripts.js +41 -0
  147. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/domain/entities/GetClientScriptsStrategy.js +44 -0
  148. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/domain/entities/interfaces/ClientScriptEventMappingState.js +1 -0
  149. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/domain/entities/interfaces/ClientScriptModel.js +1 -0
  150. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/domain/entities/interfaces/ClientScriptsModel.js +1 -0
  151. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/domain/entities/interfaces/IClientScript.js +0 -0
  152. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/domain/entities/interfaces/IClientScripts.js +0 -0
  153. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/domain/entities/interfaces/IEvent.js +1 -0
  154. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/frameworks/ClientScriptsBehaviourFactory.js +12 -0
  155. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/frameworks/ClientScriptsHandlersFactory.js +47 -0
  156. package/es/platform/client-scripts/cc/zclient-scripts-execution/clientScriptsSchema.js +15 -0
  157. package/es/platform/components/app/adapters/resources/AppResource.js +13 -3
  158. package/es/platform/components/form-connected/frameworks/FormConnectedFactory.js +7 -1
  159. package/es/platform/components/form-connected/frameworks/FormConnectedView.js +4 -2
  160. package/es/platform/components/table-connected/adapters/controllers/ColumnChooserUpdateController.js +7 -1
  161. package/es/platform/components/table-connected/adapters/resources/SmartTableResource.js +50 -0
  162. package/es/platform/components/table-connected/frameworks/EventHandlersFactory.js +216 -2
  163. package/es/platform/components/table-connected/frameworks/ListSdkFactory.js +4 -2
  164. package/es/platform/components/table-connected/frameworks/TableConnectedFactory.js +6 -2
  165. package/es/platform/data-source/http-template/getClientScripts.js +23 -0
  166. package/es/platform/data-source/http-template/updateSelectedFields.js +1 -1
  167. package/es/platform/data-source/index.js +14 -11
  168. package/es/platform/data-source/utils/validation-rules/TransFormValidationRules.js +1 -0
  169. package/es/platform/sdk/frameworks/Sdk.js +1 -1
  170. package/es/platform/zdata-source/domain/entities/APITemplate.js +2 -1
  171. package/es/platform/zfield/domain/entities/fields-manager/FieldsManager.js +6 -1
  172. package/es/platform/zform/adapters/controllers/IntializeController.js +4 -2
  173. package/es/platform/zform/adapters/controllers/MyLayoutSuccessController.js +4 -2
  174. package/es/platform/zform/adapters/controllers/SubmitValidationCompletedController.js +5 -1
  175. package/es/platform/zform/adapters/gateway/FormRepository.js +4 -2
  176. package/es/platform/zform/adapters/gateway/Service.js +2 -0
  177. package/es/platform/zform/adapters/presenter/FormTranslator.js +21 -15
  178. package/es/platform/zform/adapters/presenter/translators/SectionTranslator.js +5 -3
  179. package/es/platform/zform/applications/usecases/InitializeUseCase.js +54 -26
  180. package/es/platform/zform/applications/usecases/MyFormSuccessUseCase.js +7 -7
  181. package/es/platform/zform/applications/usecases/MyLayoutSuccessUseCase.js +60 -36
  182. package/es/platform/zform/applications/usecases/SubmitValidationCompletedUseCase.js +12 -8
  183. package/es/platform/zform/domain/ZForm.js +65 -0
  184. package/es/platform/zform/frameworks/ui/EventHandlerFactory.js +11 -2
  185. package/es/platform/zhttp/adapters/controllers/FetchController.js +5 -1
  186. package/es/platform/zlist/adapters/gateways/Repository.js +4 -2
  187. package/es/platform/zlist/adapters/presenters/SelectionTranslator.js +6 -3
  188. package/es/platform/zlist/adapters/presenters/TableTranslator.js +15 -6
  189. package/es/platform/zlist/adapters/presenters/translators/ColumnTranslator.js +30 -19
  190. package/es/platform/zlist/adapters/presenters/translators/Header.js +5 -6
  191. package/es/platform/zlist/adapters/presenters/translators/HeadersTranslator.js +4 -2
  192. package/es/platform/zlist/adapters/presenters/translators/Row.js +5 -3
  193. package/es/platform/zlist/adapters/presenters/translators/RowsTranslator.js +6 -2
  194. package/es/platform/zlist/adapters/presenters/utils/DefaultClientActions.js +1 -1
  195. package/es/platform/zlist/domain/entities/List.js +17 -2
  196. package/package.json +3 -3
  197. package/es/cc/form-connected/Constants.js +0 -12
  198. package/es/library/custom-component/applications/usecases/MountUseCase copy.js +0 -28
  199. package/es/platform/app-context-behaviour/adapters/controllers/InitializeController.js +0 -19
  200. package/es/platform/app-context-behaviour/adapters/gateways/Service.js +0 -7
  201. package/es/platform/app-context-behaviour/adapters/presenters/Presenter.js +0 -18
  202. package/es/platform/app-context-behaviour/adapters/resources/AppResource.js +0 -25
  203. package/es/platform/app-context-behaviour/applications/AbstractUseCase.js +0 -6
  204. package/es/platform/app-context-behaviour/applications/usecases/InitializeUseCase.js +0 -15
  205. package/es/platform/app-context-behaviour/frameworks/EventHandlerFactory.js +0 -25
  206. package/es/platform/client-actions/cc/dynamic-action-component/Properties.js +0 -51
  207. package/es/platform/client-actions/components/dynamic-component/frameworks/ui/DynamicActionComponent.js +0 -9
  208. package/es/platform/client-actions/components/dynamic-component/frameworks/ui/DynamicActionComponentView.js +0 -38
  209. package/es/platform/client-actions/components/row-actions-renderer/frameworks/ui/RowActionsRenderer.module.css +0 -19
  210. package/es/platform/client-actions/components/row-actions-renderer/frameworks/ui/RowActionsRendererView.js +0 -33
  211. package/es/platform/components/form-connected/frameworks/FallbackView.js +0 -23
  212. package/es/platform/components/form-connected/frameworks/FormFallbackView.js +0 -23
  213. package/es/platform/data-source/http-template/fetchDependencyMappings.js +0 -18
  214. package/es/platform/data-source/http-template/fetchLayoutRules.js +0 -29
  215. package/es/platform/data-source/http-template/fetchMyForm.js +0 -19
  216. package/es/platform/data-source/http-template/fetchMyFormLayout.js +0 -43
  217. package/es/platform/data-source/http-template/fetchValidationRules.js +0 -30
  218. package/es/platform/zlist/adapters/presenters/translators/ColumnAlignmentTranslator.js +0 -11
  219. /package/es/platform/{app-context-behaviour/applications/interfaces/UsecaseDependencies.js → client-actions/behaviour/zclient-actions/domain/entities/interfaces/ClientActionResponse.js} +0 -0
  220. /package/es/platform/{app-context-behaviour/applications/interfaces/gateways/IService.js → client-scripts/behaviour/zclient-scripts-execution/applications/interfaces/InputDependencies.js} +0 -0
  221. /package/es/platform/{app-context-behaviour/applications/interfaces/input/InitializeUseCaseInputModel.js → client-scripts/behaviour/zclient-scripts-execution/applications/interfaces/gateways/IRepository.js} +0 -0
  222. /package/es/platform/{app-context-behaviour → client-scripts/behaviour/zclient-scripts-execution}/applications/interfaces/output/IPresenter.js +0 -0
  223. /package/es/platform/{app-context-behaviour/applications/interfaces/output/BehaviourState.js → client-scripts/behaviour/zclient-scripts-execution/domain/entities/State.js} +0 -0
  224. /package/es/platform/{app-context-behaviour/applications/interfaces/resources/ApiHeaderContract.js → client-scripts/behaviour/zclient-scripts-fetch/applications/interfaces/InputDependencies.js} +0 -0
  225. /package/es/platform/{app-context-behaviour/applications/interfaces/resources/ContextContract.js → client-scripts/behaviour/zclient-scripts-fetch/applications/interfaces/gateways/IRepository.js} +0 -0
  226. /package/es/platform/{app-context-behaviour/applications/interfaces/resources/IAppResource.js → client-scripts/behaviour/zclient-scripts-fetch/applications/interfaces/output/IPresenter.js} +0 -0
  227. /package/es/platform/{client-actions/components/dynamic-component/domain/entities/interfaces/IState.js → client-scripts/behaviour/zclient-scripts-fetch/domain/entities/State.js} +0 -0
@@ -13,6 +13,14 @@ export default {
13
13
  type: 'string'
14
14
  },
15
15
  // zlist, zform
16
+ currencyLocale: {
17
+ type: 'string'
18
+ },
19
+ // zlist, zform
20
+ currencySymbol: {
21
+ type: 'string'
22
+ },
23
+ // zlist, zform
16
24
  servicePrefix: {
17
25
  type: 'string'
18
26
  },
@@ -29,9 +37,11 @@ export default {
29
37
  hasRecycleBin: {
30
38
  type: 'boolean'
31
39
  },
40
+ // zlist (delete record)
32
41
  nameField: {
33
42
  type: 'string'
34
- }
43
+ } // zlist, column chooser
44
+
35
45
  } // required: ['apiKey', 'nameField']
36
46
  // NOTE: making required should handled inside AppContextBehaviourFactory in future if needed
37
47
 
@@ -47,7 +57,7 @@ export default {
47
57
  // zlist
48
58
  additionalData: {
49
59
  type: 'object'
50
- } // zform
60
+ } // zform (for now as props.context.additionalData for custom UI)
51
61
 
52
62
  },
53
63
  // required: ['orgName'],
@@ -1,4 +1,5 @@
1
1
  var ResourceNamesEnum = /*#__PURE__*/function (ResourceNamesEnum) {
2
+ ResourceNamesEnum["APP"] = "app";
2
3
  ResourceNamesEnum["SMART_TABLE"] = "smartTable";
3
4
  ResourceNamesEnum["SMART_FORM"] = "smartForm";
4
5
  ResourceNamesEnum["CLIENT_ACTION"] = "clientAction";
@@ -1 +1,11 @@
1
- export * from "./Symbol";
1
+ export * from "./Symbol";
2
+ export let ZFormApiActionName = /*#__PURE__*/function (ZFormApiActionName) {
3
+ ZFormApiActionName["getMyLayouts"] = "getMyLayouts";
4
+ ZFormApiActionName["getMyForm"] = "getMyForm";
5
+ ZFormApiActionName["getValidationRules"] = "getValidationRules";
6
+ ZFormApiActionName["getLayoutRules"] = "getLayoutRules";
7
+ ZFormApiActionName["createRecord"] = "createRecord";
8
+ ZFormApiActionName["fetchLookupFields"] = "fetchLookupFields";
9
+ ZFormApiActionName["getDependencyMappings"] = "getDependencyMappings";
10
+ return ZFormApiActionName;
11
+ }({});
@@ -1,8 +1,8 @@
1
1
  export default {
2
2
  moduleName: {
3
3
  // NOTE: this is not required in Non Module cases
4
- required: false,
5
- defaultValue: '',
4
+ required: true,
5
+ // defaultValue: '',
6
6
  typeMetadata: {
7
7
  schema: {
8
8
  type: 'string'
@@ -18,7 +18,7 @@ export default {
18
18
  }
19
19
  }
20
20
  },
21
- disableValidationRule: {
21
+ disableGetClientActions: {
22
22
  required: false,
23
23
  defaultValue: false,
24
24
  typeMetadata: {
@@ -27,7 +27,7 @@ export default {
27
27
  }
28
28
  }
29
29
  },
30
- disableLayoutRule: {
30
+ disableCreateRecord: {
31
31
  required: false,
32
32
  defaultValue: false,
33
33
  typeMetadata: {
@@ -36,43 +36,39 @@ export default {
36
36
  }
37
37
  }
38
38
  },
39
- customValidators: {
39
+ disableDependencyMapping: {
40
40
  required: false,
41
- defaultValue: {},
41
+ defaultValue: false,
42
42
  typeMetadata: {
43
43
  schema: {
44
- type: 'object'
44
+ type: 'boolean'
45
45
  }
46
46
  }
47
47
  },
48
- context: {
49
- required: true,
50
- defaultValue: {
51
- orgName: '',
52
- servicePrefix: 'supportapi/zd'
53
- },
48
+ disableValidationRule: {
49
+ required: false,
50
+ defaultValue: false,
54
51
  typeMetadata: {
55
52
  schema: {
56
- type: 'object',
57
- properties: {
58
- orgName: {
59
- type: 'string'
60
- },
61
- servicePrefix: {
62
- type: 'string'
63
- },
64
- currencyLocale: {
65
- type: 'string'
66
- },
67
- currencySymbol: {
68
- type: 'string'
69
- },
70
- additionalData: {
71
- type: 'object'
72
- }
73
- },
74
- required: ['orgName'],
75
- additionalProperties: false
53
+ type: 'boolean'
54
+ }
55
+ }
56
+ },
57
+ disableLayoutRule: {
58
+ required: false,
59
+ defaultValue: false,
60
+ typeMetadata: {
61
+ schema: {
62
+ type: 'boolean'
63
+ }
64
+ }
65
+ },
66
+ customValidators: {
67
+ required: false,
68
+ defaultValue: {},
69
+ typeMetadata: {
70
+ schema: {
71
+ type: 'object'
76
72
  }
77
73
  }
78
74
  }
@@ -18,14 +18,12 @@ export const ZFORM_FIELD_VALUE_CHANGED = 'ZFORM#FIELD_VALUE_CHANGED';
18
18
  export const ZFORM_FIELD_BLURRED = 'ZFORM#FIELD_BLURRED';
19
19
  export const ZFORM_SET_FIELD_ERROR_MESSAGE = 'ZFORM#SET_FIELD_ERROR_MESSAGE';
20
20
  export const ZFORM_LOOKUP_FIELD_SUCCESS = 'ZFORM#LOOKUP_FIELD_SUCCESS';
21
- export const ZFORM_VALIDATE_FIELDS = 'ZFORM#VALIDATE_FIELDS';
21
+ export const ZFORM_API_FAILURE = 'ZFORM#API_FAILURE';
22
22
  export const ZFORM_VALIDATE_FIELD_REQUEST = 'ZFORM#VALIDATE_FIELD_REQUEST';
23
23
  export const ZFORM_SUBMIT = 'ZFORM#SUBMIT_REQUEST';
24
24
  export const ZFORM_CANCEL = 'ZFORM#CANCEL_REQUEST';
25
- export const ZFORM_VALIDATION_ERROR = 'ZFORM#VALIDATION_ERROR';
26
25
  export const ZFORM_VALIDATION_RULES_EXECUTION_RESULT = 'ZFORM#VALIDATION_RULES_EXECUTION_RESULT';
27
26
  export const ZFORM_VALIDATION_SUCCESS = 'ZFORM#VALIDATION_SUCCESS';
28
- export const ZFORM_VALIDATE_SUBMIT_FIELD_HAS_ERROR_MESSAGE = 'ZFORM#VALIDATE_SUBMIT_FIELD_HAS_ERROR_MESSAGE';
29
27
  export const ZFORM_SUBMIT_VALIDATION_COMPLETED = 'ZFORM#SUBMIT_VALIDATION_COMPLETED';
30
28
  export const ZFORM_SUBMIT_SUCCESS = 'ZFORM#SUBMIT_SUCCESS';
31
29
  export const ZFORM_SUBMIT_FAILURE = 'ZFORM#SUBMIT_FAILURE';
@@ -32,57 +32,6 @@ export default {
32
32
  }
33
33
  }
34
34
  },
35
- context: {
36
- required: true,
37
- typeMetadata: {
38
- schema: {
39
- type: 'object',
40
- properties: {
41
- orgId: {
42
- type: 'string'
43
- },
44
- orgName: {
45
- type: 'string'
46
- },
47
- currencyLocale: {
48
- type: 'string'
49
- },
50
- currencySymbol: {
51
- type: 'string'
52
- },
53
- modules: {
54
- type: 'array',
55
- items: {
56
- type: 'object',
57
- properties: {
58
- apiKey: {
59
- type: 'string'
60
- },
61
- hasRecycleBin: {
62
- type: 'boolean'
63
- },
64
- nameField: {
65
- type: 'string'
66
- }
67
- },
68
- required: ['apiKey', 'nameField']
69
- }
70
- },
71
- departmentName: {
72
- type: 'string'
73
- },
74
- routing: {
75
- type: 'object'
76
- },
77
- servicePrefix: {
78
- type: 'string'
79
- }
80
- },
81
- required: ['orgId', 'orgName', 'departmentName'],
82
- additionalProperties: false
83
- }
84
- }
85
- },
86
35
  sortBy: {
87
36
  required: false,
88
37
  defaultValue: '',
@@ -21,6 +21,7 @@ export class RecordApiActionName {
21
21
  static DELETE_RECORD = 'deleteRecord';
22
22
  static UPDATE_RECORD = 'updateRecord';
23
23
  static GET_CLIENTACTIONS = 'getClientActions';
24
+ static GET_CLIENTSCRIPTS = 'getClientScripts';
24
25
  static CREATE_RECORD = 'createRecord';
25
26
  static GET_REORDERRECORD = 'reorderRecord';
26
27
  }
@@ -27,7 +27,8 @@ export default { ...FieldProperties,
27
27
  }
28
28
  },
29
29
  currencyLocale: {
30
- required: true,
30
+ required: false,
31
+ // TODO: need to think for Table Currency Field as it is required there
31
32
  typeMetadata: {
32
33
  schema: {
33
34
  type: 'string'
@@ -3,14 +3,20 @@ export default {
3
3
  required: false,
4
4
  typeMetadata: {
5
5
  schema: {
6
- anyOf: [// {
7
- // type: 'object',
8
- // properties: {
9
- // UIComponentName: { type: 'string' },
10
- // fieldToUIComponentTranslator: {}
11
- // }
12
- // },
13
- {
6
+ anyOf: [{
7
+ type: 'object',
8
+ properties: {
9
+ UIComponentName: {
10
+ type: 'string'
11
+ },
12
+ fieldToUIComponentTranslator: {
13
+ type: 'function'
14
+ },
15
+ translator: {
16
+ type: 'function'
17
+ }
18
+ }
19
+ }, {
14
20
  type: 'string'
15
21
  }]
16
22
  }
@@ -1,10 +1,43 @@
1
1
  import FieldProperties from "../field/Properties";
2
2
  export default { ...FieldProperties,
3
+ lookup: {
4
+ required: false,
5
+ defaultValue: {},
6
+ typeMetadata: {
7
+ schema: {
8
+ type: 'object'
9
+ }
10
+ }
11
+ },
3
12
  value: {
4
13
  required: true,
14
+ defaultValue: '',
5
15
  typeMetadata: {
6
16
  schema: {
7
- type: 'object'
17
+ // Accepts either object or string
18
+ anyOf: [{
19
+ // NOTE: object type is used in Table Lookup field translator
20
+ type: 'object',
21
+ properties: {
22
+ id: {
23
+ type: 'string'
24
+ },
25
+ name: {
26
+ type: 'string'
27
+ },
28
+ photoURL: {
29
+ type: ['string', 'null']
30
+ },
31
+ url: {
32
+ type: ['string', 'null']
33
+ }
34
+ },
35
+ required: ['id', 'name']
36
+ }, {
37
+ // NOTE: string type is used in Form Lookup field translator
38
+ type: 'string' // Allowing string type for backward compatibility or alternative usage
39
+
40
+ }]
8
41
  }
9
42
  }
10
43
  }
@@ -27,15 +27,6 @@ export default { ...FieldProperties,
27
27
  }
28
28
  }
29
29
  },
30
- lookup: {
31
- required: false,
32
- defaultValue: {},
33
- typeMetadata: {
34
- schema: {
35
- type: 'object'
36
- }
37
- }
38
- },
39
30
  ePHI: {
40
31
  required: false,
41
32
  defaultValue: false,
@@ -1,5 +1,6 @@
1
1
  import PropertiesConverter from "../component/properties/PropertiesConverter";
2
2
  import SectionProperties from "../section/Properties";
3
+ import { clientScriptsSchema } from "../../platform/client-scripts/cc/zclient-scripts-execution/clientScriptsSchema";
3
4
  export default {
4
5
  isHeaderEnabled: {
5
6
  required: false,
@@ -89,5 +90,12 @@ export default {
89
90
  type: 'boolean'
90
91
  }
91
92
  }
93
+ },
94
+ clientScripts: {
95
+ required: false,
96
+ defaultValue: [],
97
+ typeMetadata: {
98
+ schema: clientScriptsSchema
99
+ }
92
100
  }
93
101
  };
@@ -1,3 +1,5 @@
1
+ import { ERROR_OCCURRED_SUFFIX } from "../component/ErrorStructure";
2
+
1
3
  class SmartFormConstants {
2
4
  static SMART_FORM_FIELD_FOCUSED = 'SMART_FORM#FIELD_FOCUSED';
3
5
  static SMART_FORM_FIELD_BLURRED = 'SMART_FORM#FIELD_BLURRED';
@@ -5,6 +7,7 @@ class SmartFormConstants {
5
7
  static SMART_FORM_SUBMIT_CLICKED = 'SMART_FORM#SUBMIT_CLICKED';
6
8
  static SMART_FORM_CANCEL_CLICKED = 'SMART_FORM#CANCEL_CLICKED';
7
9
  static SMART_FORM_SUBMIT_SUCCESS = 'SMART_FORM#SUBMIT_SUCCESS';
10
+ static SMART_FORM_ERROR_OCCURRED = `SMART_FORM${ERROR_OCCURRED_SUFFIX}`;
8
11
  static SMART_FORM_SUBMIT_FAILURE = 'SMART_FORM#SUBMIT_FAILED';
9
12
  }
10
13
 
@@ -19,6 +19,9 @@ export default {
19
19
  },
20
20
  submitConfig: {
21
21
  required: false,
22
+ defaultValue: {
23
+ isEnabled: true
24
+ },
22
25
  typeMetadata: {
23
26
  schema: {
24
27
  type: 'object',
@@ -36,6 +39,9 @@ export default {
36
39
  },
37
40
  cancelConfig: {
38
41
  required: false,
42
+ defaultValue: {
43
+ isEnabled: true
44
+ },
39
45
  typeMetadata: {
40
46
  schema: {
41
47
  type: 'object',
@@ -109,17 +115,19 @@ export default {
109
115
  required: ['UIComponentName']
110
116
  }
111
117
  },
112
- // fields: {
113
- // type: 'object',
114
- // additionalProperties: {
115
- // type: 'object',
116
- // properties: {
117
- // UIComponentName: { type: 'string' },
118
- // translator: { type: 'object' } // Function types are not representable in JSON Schema
119
- // },
120
- // required: ['UIComponentName']
121
- // }
122
- // },
118
+ fields: {
119
+ type: 'object',
120
+ additionalProperties: {
121
+ type: 'object',
122
+ properties: {
123
+ UIComponentName: {
124
+ type: 'string'
125
+ } // translator: { type: 'object' } // Function types are not representable in JSON Schema
126
+
127
+ },
128
+ required: ['UIComponentName']
129
+ }
130
+ },
123
131
  loadingState: {
124
132
  type: 'string'
125
133
  }
@@ -128,5 +128,19 @@ export const SdkContracts = {
128
128
  }
129
129
  },
130
130
  required: ['ids']
131
+ },
132
+ sortByInputMeta: {
133
+ type: 'object',
134
+ properties: {
135
+ id: {
136
+ type: 'string'
137
+ },
138
+ name: {
139
+ type: 'string'
140
+ },
141
+ order: {
142
+ type: 'string'
143
+ }
144
+ }
131
145
  }
132
146
  };
@@ -1,4 +1,5 @@
1
- export const ERROR_OCCURRED = 'SMART_TABLE#ERROR_OCCURRED';
1
+ import { ERROR_OCCURRED_SUFFIX } from "../../component/ErrorStructure";
2
+ export const ERROR_OCCURRED = 'SMART_TABLE' + ERROR_OCCURRED_SUFFIX;
2
3
  export default {
3
4
  SORT: 'SMART_TABLE#SORT',
4
5
  SORTED: 'SMART_TABLE#SORTED',
@@ -1,5 +1,6 @@
1
1
  import { Width } from "../data-types/Header";
2
2
  import RowCursor from "../data-types/RowCursor";
3
+ import { clientScriptsSchema } from "../../../platform/client-scripts/cc/zclient-scripts-execution/clientScriptsSchema";
3
4
  const TableRowProperties = {
4
5
  isReorderEnabled: {
5
6
  required: false,
@@ -163,6 +164,13 @@ const TableRowProperties = {
163
164
  type: 'boolean'
164
165
  }
165
166
  }
167
+ },
168
+ clientScripts: {
169
+ required: false,
170
+ defaultValue: [],
171
+ typeMetadata: {
172
+ schema: clientScriptsSchema
173
+ }
166
174
  }
167
175
  };
168
176
  export default TableRowProperties;
package/es/index.js CHANGED
@@ -1,7 +1,10 @@
1
1
  // export * as CC from './cc';
2
2
  import * as CCNamespace from "./cc"; // Import only the ExternalConstants
3
3
 
4
- import ExternalConstants from "./cc/table-connected/constants/ExternalConstants"; // Rebuild SmartTableConstants without Events
4
+ import ExternalConstants from "./cc/table-connected/constants/ExternalConstants";
5
+ import ActionEventMediator from "./platform/client-actions/components/action-event-mediator/frameworks/ui/ActionEventMediator";
6
+ import RowActionsRenderer from "./platform/client-actions/components/row-actions-renderer/frameworks/ui/RowActions/RowActionsRenderer";
7
+ import AdaptiveRowActionsRenderer from "./platform/client-actions/components/row-actions-renderer/frameworks/ui/AdaptiveRowActions/AdaptiveRowActionsRenderer"; // Rebuild SmartTableConstants without Events
5
8
 
6
9
  const SmartTableConstants = {
7
10
  ExternalConstants
@@ -12,6 +15,7 @@ export const CC = { ...CCNamespace,
12
15
  };
13
16
  import * as _BC from "./bc";
14
17
  export { _BC as BC };
18
+ export * from "./library/analytics";
15
19
  export { TableConnectedFactory, FormConnectedFactory } from "./platform/components";
16
20
  export { ComponentRegistry, createCustomComponent } from "./library";
17
21
  export { default as TableFieldComponents } from "./library/dot/legacy-to-new-arch/table-field-components";
@@ -20,11 +24,17 @@ export { _Components as Components };
20
24
  export { platformSDK_old, platformSDK } from "./platform/sdk/frameworks/Sdk";
21
25
  export { sdkRegistry } from "./platform/sdk/frameworks/SdkRegistry";
22
26
  export { AppResource } from "./platform/components/app/adapters/resources/AppResource";
23
- export { getClientActionsAdapter, fetchClientActions } from "./platform/client-actions/components/action-event-mediator/frameworks/ui/ClientActionsAdapter";
27
+ export { fetchClientActions } from "./platform/client-actions/components/action-event-mediator/frameworks/ui/ClientActionsAdapter";
28
+ export { ZFormApiActionName } from "./bc/zform/Constants";
24
29
  export { transFormValidationRules } from "./platform/data-source/utils/validation-rules/TransFormValidationRules";
30
+ export { AdaptiveRowActionsRenderer };
31
+ export { ActionEventMediator };
32
+ export { RowActionsRenderer };
25
33
  export { renderField } from "./library/dot/components/section/frameworks/ui/RenderField";
34
+ export { default as ResourceNamesEnum } from "./bc/sdk/ResourceNamesEnum";
26
35
  import { FieldSectionEventMappingBehaviourFactory } from "./library/dot/components/section/frameworks/ui/Section";
27
36
  export { ValidationEvents } from "./platform/zform/domain/interfaces/IZForm";
28
37
  export const Behaviours = {
29
38
  FieldSectionEventMappingBehaviourFactory
30
- };
39
+ };
40
+ export * from "./library/analytics";
@@ -0,0 +1,36 @@
1
+ class Analytics {
2
+ warningShown = false; // ✅ Flag to ensure warning is logged only once
3
+
4
+ constructor() {}
5
+
6
+ init(callback) {
7
+ this.pushCallback = callback;
8
+ this.warningShown = false; // ✅ Reset warning once properly initialized
9
+ }
10
+
11
+ static getInstance() {
12
+ if (!Analytics.instance) {
13
+ Analytics.instance = new Analytics();
14
+ }
15
+
16
+ return Analytics.instance;
17
+ }
18
+
19
+ push(metric) {
20
+ if (typeof this.pushCallback !== 'function') {
21
+ if (!this.warningShown) {
22
+ console.warn('Push callback is not initialized. Please call init() first.');
23
+ this.warningShown = true; // ✅ Set flag after logging once
24
+ }
25
+
26
+ return;
27
+ }
28
+
29
+ this.pushCallback({
30
+ metric
31
+ });
32
+ }
33
+
34
+ }
35
+
36
+ export default Analytics.getInstance();
@@ -0,0 +1,13 @@
1
+ export class Metric {
2
+ // Name of the event
3
+ // ISO timestamp when the event occurred
4
+ // Additional context details specific to the event
5
+ // Optional metadata for additional information
6
+ constructor(event, timestamp, contextDetails, metaData) {
7
+ this.event = event;
8
+ this.timestamp = timestamp;
9
+ this.contextDetails = contextDetails;
10
+ this.metaData = metaData;
11
+ }
12
+
13
+ }
@@ -0,0 +1,2 @@
1
+ export { default as Analytics } from "./Analytics";
2
+ export * from "./AnalyticsContract";
@@ -38,6 +38,15 @@ class Controller {
38
38
  updateStateUseCase.execute(newState);
39
39
  }
40
40
 
41
+ setElement(ref) {
42
+ const {
43
+ setRefUseCase
44
+ } = this.service;
45
+ setRefUseCase.execute({
46
+ ref
47
+ });
48
+ }
49
+
41
50
  dispatch(action) {
42
51
  const {
43
52
  dispatchUseCase
@@ -29,6 +29,10 @@ class EventManager {
29
29
  return this._element;
30
30
  }
31
31
 
32
+ isDifferentElement(element) {
33
+ return this._element !== element;
34
+ }
35
+
32
36
  subscribe(events) {
33
37
  events.forEach((eventHandlers, key) => {
34
38
  this._element && eventHandlers.map(eventHandler => {
@@ -4,12 +4,14 @@ import MountUsecase from "../../../applications/usecases/MountUseCase";
4
4
  import UnmountUsecase from "../../../applications/usecases/UnmountUseCase";
5
5
  import UpdatePropertyUseCase from "../../../applications/usecases/UpdatePropertyUseCase";
6
6
  import UpdateStateUseCase from "../../../applications/usecases/UpdateStateUseCase";
7
+ import SetRefUseCase from "../../../applications/usecases/SetRefUseCase";
7
8
 
8
9
  class Service {
9
10
  constructor(dependencies) {
10
11
  this.initializeUseCase = new InitializeUseCase(dependencies);
11
12
  this.mountUseCase = new MountUsecase(dependencies);
12
13
  this.unmountUseCase = new UnmountUsecase(dependencies);
14
+ this.setRefUseCase = new SetRefUseCase(dependencies);
13
15
  this.updatePropertiesUseCase = new UpdatePropertyUseCase(dependencies);
14
16
  this.updateStateUseCase = new UpdateStateUseCase(dependencies);
15
17
  this.dispatchUseCase = new DispatchUseCase(dependencies);
@@ -4,21 +4,24 @@ import State from "../../domain/entities/State";
4
4
  import EventHandlersFactory from "./EventHandlersFactory";
5
5
  import BehavioursFactory from "./BehavioursFactory";
6
6
  import PropertiesFactory from "./PropertiesFactory";
7
- /* eslint-disable-next-line @zohodesk/architecturerules/no-returnStatement-rule */
7
+ import ComponentProperties from "../../domain/entities/ComponentProperties";
8
+ import Logger from "../../domain/entities/Logger";
8
9
 
9
10
  let defaultTransformState = state => state;
10
- /* eslint-disable-next-line @zohodesk/architecturerules/no-returnStatement-rule */
11
-
12
11
 
13
12
  function initializeComponent(input) {
14
- let component = new Component();
15
- component.setName(input.name);
16
- component.setLifeCycleAction(new LifeCycleAction(input.name));
17
- component.setBehaviours(BehavioursFactory.create(input));
18
- component.setProperties(PropertiesFactory({
13
+ const properties = PropertiesFactory({
19
14
  properties: input.properties,
20
15
  componentName: input.name
21
- }));
16
+ });
17
+ const logger = new Logger(input.name);
18
+ const behaviours = BehavioursFactory.create(input);
19
+ const componentProperties = new ComponentProperties(input.name, properties, behaviours);
20
+ const component = new Component(componentProperties);
21
+ component.setName(input.name);
22
+ component.setLogger(logger);
23
+ component.setLifeCycleAction(new LifeCycleAction(input.name));
24
+ component.setBehaviours(behaviours);
22
25
  return component;
23
26
  }
24
27