@zohodesk/library-platform 1.0.2 → 1.1.0-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 (433) hide show
  1. package/es/bc/list-selection/Properties.js +21 -12
  2. package/es/bc/sort-by/Properties.js +20 -15
  3. package/es/bc/table-column-resizer/Properties.js +1 -1
  4. package/es/bc/zclient-actions/Constants.js +11 -0
  5. package/es/bc/zclient-actions/EventHandlers.js +1 -0
  6. package/es/bc/zhttp/Properties.js +11 -1
  7. package/es/bc/zlist/Properties.js +15 -3
  8. package/es/bc/zrecord/Constants.js +3 -1
  9. package/es/cc/action-icon/Model.js +6 -2
  10. package/es/cc/action-icon/Properties.js +18 -0
  11. package/es/cc/action-location/Properties.js +54 -3
  12. package/es/cc/component/properties/PropertiesConverter.js +23 -0
  13. package/es/cc/fields/field/Properties.js +9 -1
  14. package/es/cc/fields/field/Types.js +16 -16
  15. package/es/cc/fields/multi-select/Properties.js +1 -1
  16. package/es/cc/fields/pick-list/Properties.js +1 -1
  17. package/es/cc/table-connected/Properties.js +52 -45
  18. package/es/cc/table-list/Properties.js +109 -324
  19. package/es/cc/table-list/data-types/Header.js +8 -7
  20. package/es/cc/table-list/data-types/RowCursor.js +8 -0
  21. package/es/cc/table-list/model/RowModel.js +2 -4
  22. package/es/cc/table-list/row/Properties.js +15 -10
  23. package/es/desk-frameworks/table-connected/frameworks/TableConnectedFactory.js +4 -1
  24. package/es/desk-frameworks/table-connected/frameworks/TableConnectedView.js +14 -13
  25. package/es/desk-frameworks/table-connected/frameworks/__tests__/TableConnectedFactory.spec.js +453 -0
  26. package/es/desk-frameworks/table-connected/frameworks/__tests__/mock/data-broker/http-template/getAvailableFields.js +86 -0
  27. package/es/desk-frameworks/table-connected/frameworks/__tests__/mock/data-broker/http-template/getRecords.js +81 -0
  28. package/es/desk-frameworks/table-connected/frameworks/__tests__/mock/data-broker/http-template/getSelectedFields.js +32 -0
  29. package/es/desk-frameworks/table-connected/frameworks/__tests__/mock/data-broker/index.js +11 -0
  30. package/es/library/behaviours/list-selection/adapters/gateways/Repository.js +1 -1
  31. package/es/library/behaviours/list-selection/adapters/gateways/Service.js +5 -5
  32. package/es/library/behaviours/list-selection/{entities → domain/entities}/ListItemSelection.js +29 -9
  33. package/es/library/behaviours/sort-by/adapters/gateway/Repository.js +1 -1
  34. package/es/library/behaviours/sort-by/adapters/gateway/Service.js +1 -1
  35. package/es/library/behaviours/sort-by/{entities → domain/entities}/SortBy.js +1 -1
  36. package/es/library/behaviours/sort-by/frameworks/ui/SortByBehaviourFactory.js +2 -2
  37. package/es/library/behaviours/text-to-field-click/adapters/gateway/Repository.js +1 -1
  38. package/es/library/behaviours/text-to-field-click/{entities → domain/entities}/FieldEventConverter.js +1 -1
  39. package/es/library/behaviours/text-to-field-click/frameworks/ui/EventHandlersFactory.js +1 -1
  40. package/es/library/custom-component/adapters/gateways/event-manager/EventManager.js +1 -1
  41. package/es/library/custom-component/adapters/gateways/service/Service.js +6 -6
  42. package/es/library/custom-component/{usecases → applications}/entities-factory/BehavioursFactory.js +1 -1
  43. package/es/library/custom-component/{usecases → applications}/entities-factory/ComponentFactory.js +3 -3
  44. package/es/library/custom-component/{usecases → applications}/entities-factory/EventHandlersFactory.js +1 -1
  45. package/es/library/custom-component/{usecases → applications}/entities-factory/PropertiesFactory.js +9 -3
  46. package/es/library/custom-component/{usecases/interactors → applications/usecases}/UnmountUseCase.js +1 -1
  47. package/es/library/custom-component/{entities → domain/entities}/Component.js +40 -7
  48. package/es/library/custom-component/{entities → domain/entities}/DefaultAppendToActionPayload.js +2 -2
  49. package/es/library/custom-component/{entities → domain/entities}/Properties.js +4 -5
  50. package/es/library/custom-component/frameworks/ui/__testcases__/CreateCustomComponent.spec.js +106 -0
  51. package/es/library/dot/components/action-location/frameworks/ui/ActionComponentMapping.js +5 -0
  52. package/es/library/dot/components/action-location/frameworks/ui/ActionLocationView.js +8 -29
  53. package/es/library/dot/components/actions-renderer/frameworks/ui/ActionsRenderer.js +9 -0
  54. package/es/library/dot/components/actions-renderer/frameworks/ui/ActionsRendererView.js +37 -0
  55. package/es/library/dot/components/table-list/frameworks/ui/TableListView.js +16 -6
  56. package/es/library/dot/components/table-list/frameworks/ui/css/TableList.module.css +10 -0
  57. package/es/library/dot/components/table-list/frameworks/ui/sub-components/Header.js +7 -6
  58. package/es/library/dot/components/table-list/frameworks/ui/sub-components/Rows.js +12 -14
  59. package/es/library/dot/components/table-list/frameworks/ui/sub-components/header/ActionColumn.js +3 -2
  60. package/es/library/dot/components/table-list/frameworks/ui/sub-components/header/HeaderData.js +7 -7
  61. package/es/library/dot/components/table-list/frameworks/ui/sub-components/header/Headers.js +0 -4
  62. package/es/library/dot/components/table-list/frameworks/ui/sub-components/header/SelectAll.js +4 -4
  63. package/es/library/dot/components/table-list/frameworks/ui/sub-components/row/Columns.js +2 -6
  64. package/es/library/dot/components/table-list/frameworks/ui/sub-components/row/Row.js +24 -14
  65. package/es/library/dot/components/table-list/frameworks/ui/sub-components/row/RowActions.js +5 -1
  66. package/es/library/dot/components/table-list/frameworks/ui/sub-components/row/RowData.js +2 -4
  67. package/es/library/dot/legacy-to-new-arch/action-icon/{ActionIcon.js → frameworks/ui/ActionIcon.js} +2 -2
  68. package/es/library/dot/legacy-to-new-arch/action-icon/{ActionIconView.js → frameworks/ui/ActionIconView.js} +11 -5
  69. package/es/library/dot/legacy-to-new-arch/action-icon/frameworks/ui/css/ActionIcon.module.css +3 -0
  70. package/es/library/dot/legacy-to-new-arch/index.js +1 -1
  71. package/es/platform/data-broker/http-template/deleteRecord.js +1 -1
  72. package/es/platform/data-broker/http-template/deleteRecords.js +1 -1
  73. package/es/platform/data-broker/http-template/getAvailableFields.js +1 -1
  74. package/es/platform/data-broker/http-template/getClientActions.js +23 -0
  75. package/es/platform/data-broker/http-template/getRecords.js +1 -1
  76. package/es/platform/data-broker/http-template/getSelectedFields.js +1 -1
  77. package/es/platform/data-broker/http-template/updateRecord.js +1 -1
  78. package/es/platform/data-broker/index.js +3 -3
  79. package/es/platform/zclient-actions/Readme.md +38 -0
  80. package/es/platform/zclient-actions/adapters/controllers/AbstractController.js +8 -0
  81. package/es/platform/zclient-actions/adapters/controllers/ClientActionBehaviourExecutorController.js +27 -0
  82. package/es/platform/zclient-actions/adapters/controllers/FailureController.js +28 -0
  83. package/es/platform/zclient-actions/adapters/controllers/FetchStateStopController.js +21 -0
  84. package/es/platform/zclient-actions/adapters/controllers/MountController.js +25 -0
  85. package/es/platform/zclient-actions/adapters/controllers/NoContentController.js +23 -0
  86. package/es/platform/zclient-actions/adapters/controllers/SetClientActionsController.js +24 -0
  87. package/es/platform/zclient-actions/adapters/controllers/SuccessController.js +28 -0
  88. package/es/platform/zclient-actions/adapters/gateways/Repository.js +28 -0
  89. package/es/platform/zclient-actions/adapters/gateways/Service.js +35 -0
  90. package/es/platform/zclient-actions/adapters/presenters/Presenter.js +24 -0
  91. package/es/platform/zclient-actions/applications/entities-factory/ClientActionFactory.js +12 -0
  92. package/es/platform/zclient-actions/applications/entities-factory/ClientActionManagerFactory.js +10 -0
  93. package/es/platform/zclient-actions/applications/usecases/ExecuteActionBehaviourUseCase.js +33 -0
  94. package/es/platform/zclient-actions/applications/usecases/FailureUseCase.js +22 -0
  95. package/es/platform/zclient-actions/applications/usecases/FetchStateStopUseCase.js +25 -0
  96. package/es/platform/zclient-actions/applications/usecases/NoContentUseCase.js +27 -0
  97. package/es/platform/zclient-actions/applications/usecases/SetClientActionsUseCase.js +21 -0
  98. package/es/platform/zclient-actions/applications/usecases/SuccessUseCase.js +22 -0
  99. package/es/platform/zclient-actions/domain/entities/ClientAction.js +57 -0
  100. package/es/platform/zclient-actions/domain/entities/ClientActionManager.js +141 -0
  101. package/es/platform/zclient-actions/domain/entities/ClientActions.js +54 -0
  102. package/es/platform/zclient-actions/domain/entities/EventMapping.js +32 -0
  103. package/es/platform/zclient-actions/domain/entities/EventMappings.js +15 -0
  104. package/es/platform/zclient-actions/domain/entities/GetClientActionsStrategy.js +44 -0
  105. package/es/platform/zclient-actions/domain/entities/UIComponentMapping.js +37 -0
  106. package/es/platform/zclient-actions/domain/entities/interfaces/IUIComponentMapping.js +0 -0
  107. package/es/platform/zclient-actions/frameworks/ActionsHandlersFactory.js +47 -0
  108. package/es/platform/zclient-actions/frameworks/ClientActionBehaviourFactory.js +12 -0
  109. package/es/platform/zdata-broker/adapters/controllers/{ActionExecutorController.js → DataBrokerExecutorController.js} +1 -1
  110. package/es/platform/zdata-broker/adapters/gateways/Repository.js +1 -1
  111. package/es/platform/zdata-broker/adapters/gateways/Service.js +5 -5
  112. package/es/platform/zdata-broker/adapters/gateways/TemplateHelpers.js +21 -0
  113. package/es/platform/zdata-broker/{usecases → applications}/entities-factory/APITemplatesFactory.js +2 -2
  114. package/es/platform/zdata-broker/{usecases → applications}/entities-factory/DataBrokerFactory.js +1 -1
  115. package/es/platform/zdata-broker/applications/interfaces/gateways/IService.js +0 -0
  116. package/es/platform/zdata-broker/applications/interfaces/gateways/ITemplateHelpers.js +1 -0
  117. package/es/platform/zdata-broker/{entities → domain/entities}/DataBroker.js +3 -3
  118. package/es/platform/zdata-broker/domain/entities/interfaces/IDataBroker.js +0 -0
  119. package/es/platform/zdata-broker/{entities → domain/entities}/interfaces/MetaData.js +1 -1
  120. package/es/platform/zdata-broker/frameworks/EventHandlersFactory.js +3 -3
  121. package/es/platform/zfield/adapters/gateways/Repository.js +1 -1
  122. package/es/platform/zfield/adapters/gateways/Service.js +6 -6
  123. package/es/platform/zfield/{usecases → applications}/entities-factory/FieldsManagerBuilder.js +1 -1
  124. package/es/platform/zfield/applications/interfaces/input/FetchInputModel.js +2 -0
  125. package/es/platform/zfield/{entities → domain/entities}/fields-manager/AvailableFieldsManager.js +2 -2
  126. package/es/platform/zfield/{entities → domain/entities}/fields-manager/FieldsManager.js +3 -3
  127. package/es/platform/zfield/{entities → domain/entities}/fields-manager/SelectedFieldsManager.js +2 -2
  128. package/es/platform/zfield/{entities → domain/entities}/interfaces/MetaData.js +1 -1
  129. package/es/platform/zhttp/frameworks/ActionsHandlerFactory.js +1 -1
  130. package/es/platform/zhttp/frameworks/ZHttpBehaviourFactory.js +2 -1
  131. package/es/platform/zlist/adapters/gateways/Repository.js +4 -2
  132. package/es/platform/zlist/adapters/gateways/Service.js +10 -10
  133. package/es/platform/zlist/adapters/presenters/TableTranslator.js +32 -2
  134. package/es/platform/zlist/adapters/presenters/translators/ColumnAlignmentTranslator.js +11 -0
  135. package/es/platform/zlist/adapters/presenters/translators/ColumnSizeTranslator.js +23 -0
  136. package/es/platform/zlist/adapters/presenters/translators/Header.js +4 -3
  137. package/es/platform/zlist/adapters/presenters/translators/Row.js +5 -1
  138. package/es/platform/zlist/adapters/presenters/translators/RowActionTranslator.js +18 -11
  139. package/es/platform/zlist/adapters/presenters/translators/RowsTranslator.js +3 -1
  140. package/es/platform/zlist/applications/entities-factory/ListFactory.js +16 -0
  141. package/es/platform/zlist/applications/interfaces/gateways/ITransformState.js +0 -0
  142. package/es/platform/zlist/applications/interfaces/input/SortingInputModel.js +1 -0
  143. package/es/platform/zlist/{entities → domain/entities}/List.js +15 -24
  144. package/es/platform/zlist/domain/entities/interfaces/ActionModel.js +1 -0
  145. package/es/platform/zlist/domain/entities/interfaces/ApiPropsModel.js +1 -0
  146. package/es/platform/zlist/domain/entities/interfaces/IList.js +1 -0
  147. package/es/platform/zlist/domain/entities/interfaces/Properties.js +1 -0
  148. package/es/platform/zlist/domain/entities/interfaces/RecordExecuteAfterMetaData.js +1 -0
  149. package/es/platform/zrecord/adapters/gateways/Repository.js +1 -1
  150. package/es/platform/zrecord/adapters/gateways/Service.js +13 -13
  151. package/es/platform/zrecord/{usecases → applications}/entities-factory/RecordFactory.js +1 -1
  152. package/es/platform/zrecord/{usecases → applications}/entities-factory/RecordsManagerFactory.js +2 -2
  153. package/es/platform/zrecord/applications/interfaces/InputDependencies.js +1 -0
  154. package/es/platform/zrecord/applications/interfaces/gateways/IRepository.js +1 -0
  155. package/es/platform/zrecord/applications/interfaces/gateways/IService.js +0 -0
  156. package/es/platform/zrecord/applications/interfaces/gateways/State.js +1 -0
  157. package/es/platform/zrecord/applications/interfaces/input/AppendRecordsInputModel.js +1 -0
  158. package/es/platform/zrecord/applications/interfaces/input/DeleteMultipleRecordInputModel.js +1 -0
  159. package/es/platform/zrecord/applications/interfaces/input/ExecuteActionInputModel.js +1 -0
  160. package/es/platform/zrecord/applications/interfaces/input/FailureInputModel.js +1 -0
  161. package/es/platform/zrecord/applications/interfaces/input/FetchMoreInputModel.js +1 -0
  162. package/es/platform/zrecord/applications/interfaces/input/FetchStateStopInputModel.js +1 -0
  163. package/es/platform/zrecord/applications/interfaces/input/FieldChangeUseCaseInput.js +1 -0
  164. package/es/platform/zrecord/applications/interfaces/input/InitializeInputModel.js +1 -0
  165. package/es/platform/zrecord/applications/interfaces/input/NoContentInputModel.js +1 -0
  166. package/es/platform/zrecord/applications/interfaces/input/RecordUpdateLocalUseCaseInputModel.js +1 -0
  167. package/es/platform/zrecord/applications/interfaces/input/RefetchInputModel.js +1 -0
  168. package/es/platform/zrecord/applications/interfaces/input/SetRecordsInputModel.js +1 -0
  169. package/es/platform/zrecord/applications/interfaces/input/SuccessInputModel.js +1 -0
  170. package/es/platform/zrecord/applications/interfaces/output/IPresenter.js +1 -0
  171. package/es/platform/zrecord/applications/usecases/AbstractUseCase.js +17 -0
  172. package/es/platform/zrecord/applications/usecases/InitializeUseCase.js +17 -0
  173. package/es/platform/zrecord/{entities → domain/entities}/DeleteMultipleRecordStrategy.js +1 -1
  174. package/es/platform/zrecord/{entities → domain/entities}/DeleteRecordStrategy.js +1 -1
  175. package/es/platform/zrecord/{entities → domain/entities}/GetRecordsStrategy.js +1 -1
  176. package/es/platform/zrecord/{entities → domain/entities}/RecordsManager.js +3 -3
  177. package/es/platform/zrecord/{entities → domain/entities}/UpdateRecordStrategy.js +1 -1
  178. package/es/platform/zrecord/domain/entities/interfaces/BehaviourState.js +1 -0
  179. package/es/platform/zrecord/domain/entities/interfaces/EventModel.js +1 -0
  180. package/es/platform/zrecord/domain/entities/interfaces/ICustomFieldValues.js +1 -0
  181. package/es/platform/zrecord/domain/entities/interfaces/IRecord.js +0 -0
  182. package/es/platform/zrecord/domain/entities/interfaces/IRecordExecuteStrategy.js +0 -0
  183. package/es/platform/zrecord/domain/entities/interfaces/IRecordName.js +1 -0
  184. package/es/platform/zrecord/domain/entities/interfaces/IRecords.js +0 -0
  185. package/es/platform/zrecord/domain/entities/interfaces/IRecordsManager.js +0 -0
  186. package/es/platform/zrecord/domain/entities/interfaces/RecordModel.js +1 -0
  187. package/es/platform/zrecord/domain/entities/interfaces/RecordsModel.js +1 -0
  188. package/es/platform/zrecord/domain/entities/interfaces/StrategyMeta.js +1 -0
  189. package/package.json +28 -21
  190. package/es/cc/table-list/behaviour-properties/ResizerConfig.js +0 -18
  191. package/es/cc/table-list/behaviour-properties/SelectionConfig.js +0 -17
  192. package/es/cc/table-list/behaviour-properties/SortByConfig.js +0 -14
  193. package/es/cc/table-list/behaviour-properties/index.js +0 -3
  194. package/es/library/custom-component/entities/__tests__/Action.spec.js +0 -19
  195. package/es/library/custom-component/entities/__tests__/ActionHandlers.spec.js +0 -15
  196. package/es/library/custom-component/entities/__tests__/Behaviour.spec.js +0 -52
  197. package/es/library/custom-component/entities/__tests__/Component.spec.js +0 -109
  198. package/es/platform/data-broker/http-template/getUIActions.js +0 -22
  199. package/es/platform/zdata-broker/usecases/interfaces/gateways/ITemplateHelpers.js +0 -1
  200. package/es/platform/zfield/usecases/interfaces/gateways/ITemplateHelpers.js +0 -1
  201. package/es/platform/zfield/usecases/interfaces/input/FetchInputModel.js +0 -2
  202. package/es/platform/zlist/usecases/entities-factory/ListFactory.js +0 -15
  203. /package/es/{library/behaviours/list-selection/entities/interfaces/IListItemSelection.js → cc/action-location/Action.js} +0 -0
  204. /package/es/{library/behaviours/list-selection/entities/interfaces/ListSelectionModel.js → cc/action-location/ActionLocation.js} +0 -0
  205. /package/es/{library/behaviours/list-selection/usecases/interfaces/UseCase.js → cc/table-list/data-types/RowAction.js} +0 -0
  206. /package/es/{library/behaviours/list-selection/usecases/interfaces/UseCaseDependencies.js → cc/table-list/data-types/RowActionsConfig.js} +0 -0
  207. /package/es/library/{custom-component/usecases → behaviours/list-selection/applications}/interfaces/UseCase.js +0 -0
  208. /package/es/library/behaviours/{sort-by/usecases → list-selection/applications}/interfaces/UseCaseDependencies.js +0 -0
  209. /package/es/library/behaviours/list-selection/{usecases → applications}/interfaces/gateways/IRepository.js +0 -0
  210. /package/es/library/behaviours/list-selection/{usecases → applications}/interfaces/gateways/IService.js +0 -0
  211. /package/es/library/behaviours/list-selection/{usecases → applications}/interfaces/input/AllSelectionInputModel.js +0 -0
  212. /package/es/library/behaviours/list-selection/{usecases → applications}/interfaces/input/DestructInputModel.js +0 -0
  213. /package/es/library/behaviours/list-selection/{usecases → applications}/interfaces/input/InitializeInputModel.js +0 -0
  214. /package/es/library/behaviours/list-selection/{usecases → applications}/interfaces/input/RangeSelectionInputModel.js +0 -0
  215. /package/es/library/behaviours/list-selection/{usecases → applications}/interfaces/input/SelectionInputModel.js +0 -0
  216. /package/es/library/behaviours/list-selection/{usecases → applications}/interfaces/output/BehaviourStateModel.js +0 -0
  217. /package/es/library/behaviours/list-selection/{usecases → applications}/interfaces/output/IPresenter.js +0 -0
  218. /package/es/library/behaviours/list-selection/{usecases/interactors → applications/usecases}/AbstractUseCase.js +0 -0
  219. /package/es/library/behaviours/list-selection/{usecases/interactors → applications/usecases}/AllItemSelection.js +0 -0
  220. /package/es/library/behaviours/list-selection/{usecases/interactors → applications/usecases}/Destruct.js +0 -0
  221. /package/es/library/behaviours/list-selection/{usecases/interactors → applications/usecases}/Initialize.js +0 -0
  222. /package/es/library/behaviours/list-selection/{usecases/interactors → applications/usecases}/ItemsSelection.js +0 -0
  223. /package/es/library/behaviours/list-selection/{usecases/interactors → applications/usecases}/RangeSelection.js +0 -0
  224. /package/es/library/behaviours/{sort-by/entities/interfaces/ISortBy.js → list-selection/domain/entities/interfaces/IListItemSelection.js} +0 -0
  225. /package/es/library/behaviours/{sort-by/usecases/interfaces/gateways/IRepository.js → list-selection/domain/entities/interfaces/ListSelectionModel.js} +0 -0
  226. /package/es/library/behaviours/{text-to-field-click/usecases → sort-by/applications}/interfaces/UseCaseDependencies.js +0 -0
  227. /package/es/library/behaviours/{text-to-field-click/usecases → sort-by/applications}/interfaces/gateways/IRepository.js +0 -0
  228. /package/es/library/behaviours/sort-by/{usecases → applications}/interfaces/gateways/IService.js +0 -0
  229. /package/es/library/behaviours/sort-by/{usecases → applications}/interfaces/input/SortByInputModel.js +0 -0
  230. /package/es/library/behaviours/sort-by/{usecases → applications}/interfaces/output/IPresenter.js +0 -0
  231. /package/es/library/behaviours/sort-by/{usecases → applications}/interfaces/output/SortByOutputModel.js +0 -0
  232. /package/es/library/behaviours/sort-by/{usecases/interactors → applications/usecases}/AbstractUseCase.js +0 -0
  233. /package/es/library/behaviours/sort-by/{usecases/interactors → applications/usecases}/SortBy.js +0 -0
  234. /package/es/{platform/zlist/usecases/interfaces/gateways → library/behaviours/sort-by/domain/entities/interfaces}/ISortBy.js +0 -0
  235. /package/es/{platform/zlist/usecases → library/behaviours/text-to-field-click/applications}/interfaces/UseCaseDependencies.js +0 -0
  236. /package/es/library/{custom-component/usecases → behaviours/text-to-field-click/applications}/interfaces/gateways/IRepository.js +0 -0
  237. /package/es/library/behaviours/text-to-field-click/{usecases → applications}/interfaces/input/ClickUseCaseInputModel.js +0 -0
  238. /package/es/library/behaviours/text-to-field-click/{usecases/interactors → applications/usecases}/AbstractUseCase.js +0 -0
  239. /package/es/library/behaviours/text-to-field-click/{usecases/interactors → applications/usecases}/ClickUseCase.js +0 -0
  240. /package/es/library/behaviours/text-to-field-click/{entities → domain/entities}/interfaces/IFieldEventConverter.js +0 -0
  241. /package/es/library/custom-component/{usecases → applications}/interfaces/InputDependencies.js +0 -0
  242. /package/es/library/custom-component/{usecases → applications}/interfaces/OutputDependencies.js +0 -0
  243. /package/es/{platform/zhttp/usecases → library/custom-component/applications}/interfaces/UseCase.js +0 -0
  244. /package/es/library/custom-component/{usecases → applications}/interfaces/gateways/IEventManager.js +0 -0
  245. /package/es/library/custom-component/{usecases → applications}/interfaces/gateways/IJSONValidator.js +0 -0
  246. /package/es/{platform/zdata-broker/usecases → library/custom-component/applications}/interfaces/gateways/IRepository.js +0 -0
  247. /package/es/library/custom-component/{usecases → applications}/interfaces/gateways/IService.js +0 -0
  248. /package/es/library/custom-component/{usecases → applications}/interfaces/input/DispatchInputModel.js +0 -0
  249. /package/es/library/custom-component/{usecases → applications}/interfaces/input/InitailizeInputModel.js +0 -0
  250. /package/es/library/custom-component/{usecases → applications}/interfaces/input/UpdatePropertiesInputModel.js +0 -0
  251. /package/es/library/custom-component/{usecases → applications}/interfaces/input/UpdateStateInputModel.js +0 -0
  252. /package/es/library/custom-component/{usecases → applications}/interfaces/output/OutputBoundary.js +0 -0
  253. /package/es/library/custom-component/{usecases/interactors → applications/usecases}/AbstractUseCase.js +0 -0
  254. /package/es/library/custom-component/{usecases/interactors → applications/usecases}/DispatchUseCase.js +0 -0
  255. /package/es/library/custom-component/{usecases/interactors → applications/usecases}/InitializeUseCase.js +0 -0
  256. /package/es/library/custom-component/{usecases/interactors → applications/usecases}/MountUseCase.js +0 -0
  257. /package/es/library/custom-component/{usecases/interactors → applications/usecases}/UpdatePropertyUseCase.js +0 -0
  258. /package/es/library/custom-component/{usecases/interactors → applications/usecases}/UpdateStateUseCase.js +0 -0
  259. /package/es/library/custom-component/{entities → domain/entities}/Behaviour.js +0 -0
  260. /package/es/library/custom-component/{entities → domain/entities}/EventHandler.js +0 -0
  261. /package/es/library/custom-component/{entities → domain/entities}/EventHandlers.js +0 -0
  262. /package/es/library/custom-component/{entities → domain/entities}/Events.js +0 -0
  263. /package/es/library/custom-component/{entities → domain/entities}/LifeCycleAction.js +0 -0
  264. /package/es/library/custom-component/{entities → domain/entities}/Payload.js +0 -0
  265. /package/es/library/custom-component/{entities → domain/entities}/Property.js +0 -0
  266. /package/es/library/custom-component/{entities → domain/entities}/Schema.js +0 -0
  267. /package/es/library/custom-component/{entities → domain/entities}/State.js +0 -0
  268. /package/es/library/custom-component/{entities → domain/entities}/Style.js +0 -0
  269. /package/es/library/custom-component/{entities → domain/entities}/interfaces/IBehaviour.js +0 -0
  270. /package/es/library/custom-component/{entities → domain/entities}/interfaces/IComponent.js +0 -0
  271. /package/es/library/custom-component/{entities → domain/entities}/interfaces/IEvent.js +0 -0
  272. /package/es/library/custom-component/{entities → domain/entities}/interfaces/IEventHandler.js +0 -0
  273. /package/es/library/custom-component/{entities → domain/entities}/interfaces/IEventHandlerHelpers.js +0 -0
  274. /package/es/library/custom-component/{entities → domain/entities}/interfaces/IEventHandlers.js +0 -0
  275. /package/es/library/custom-component/{entities → domain/entities}/interfaces/IEventWrapper.js +0 -0
  276. /package/es/library/custom-component/{entities → domain/entities}/interfaces/ILifeCycleAction.js +0 -0
  277. /package/es/library/custom-component/{entities → domain/entities}/interfaces/IPayload.js +0 -0
  278. /package/es/library/custom-component/{entities → domain/entities}/interfaces/IProperties.js +0 -0
  279. /package/es/library/custom-component/{entities → domain/entities}/interfaces/IProperty.js +0 -0
  280. /package/es/library/custom-component/{entities → domain/entities}/interfaces/ISchema.js +0 -0
  281. /package/es/library/custom-component/{entities → domain/entities}/interfaces/IState.js +0 -0
  282. /package/es/library/custom-component/{entities → domain/entities}/interfaces/IStyle.js +0 -0
  283. /package/es/library/custom-component/{entities → domain/entities}/interfaces/IUpdateHelper.js +0 -0
  284. /package/es/library/custom-component/{entities → domain/entities}/interfaces/IValidator.js +0 -0
  285. /package/es/platform/{zdata-broker/usecases → zclient-actions/applications}/interfaces/InputDependencies.js +0 -0
  286. /package/es/platform/{zfield/usecases → zclient-actions/applications}/interfaces/gateways/IRepository.js +0 -0
  287. /package/es/platform/{zdata-broker/usecases → zclient-actions/applications}/interfaces/gateways/IService.js +0 -0
  288. /package/es/platform/{zdata-broker/usecases → zclient-actions/applications}/interfaces/gateways/State.js +0 -0
  289. /package/es/platform/{zdata-broker/entities/interfaces/APIDetailsModel.js → zclient-actions/applications/interfaces/input/ExecuteActionBehaviourInputModel.js} +0 -0
  290. /package/es/platform/{zdata-broker/usecases → zclient-actions/applications}/interfaces/input/FailureInputModel.js +0 -0
  291. /package/es/platform/{zrecord/usecases → zclient-actions/applications}/interfaces/input/FetchStateStopInputModel.js +0 -0
  292. /package/es/platform/{zrecord/usecases → zclient-actions/applications}/interfaces/input/InitializeInputModel.js +0 -0
  293. /package/es/platform/{zdata-broker/usecases → zclient-actions/applications}/interfaces/input/NoContentInputModel.js +0 -0
  294. /package/es/platform/{zdata-broker/entities/interfaces/APITemplateModel.js → zclient-actions/applications/interfaces/input/SetClientActionsInputModel.js} +0 -0
  295. /package/es/platform/{zdata-broker/usecases → zclient-actions/applications}/interfaces/input/SuccessInputModel.js +0 -0
  296. /package/es/platform/{zdata-broker/usecases → zclient-actions/applications}/interfaces/output/IPresenter.js +0 -0
  297. /package/es/platform/{zdata-broker/usecases/interactors → zclient-actions/applications/usecases}/AbstractUseCase.js +0 -0
  298. /package/es/platform/{zrecord/usecases/interactors → zclient-actions/applications/usecases}/InitializeUseCase.js +0 -0
  299. /package/es/platform/{zdata-broker → zclient-actions/domain}/entities/interfaces/BehaviourState.js +0 -0
  300. /package/es/platform/{zdata-broker/entities/interfaces/APITemplatesModel.js → zclient-actions/domain/entities/interfaces/ClientActionModel.js} +0 -0
  301. /package/es/platform/{zdata-broker/entities/interfaces/EventModel.js → zclient-actions/domain/entities/interfaces/ClientActionsModel.js} +0 -0
  302. /package/es/platform/{zdata-broker/entities/interfaces/IAPITemplate.js → zclient-actions/domain/entities/interfaces/ComponentPropertiesModel.js} +0 -0
  303. /package/es/platform/{zdata-broker/entities/interfaces/IAPITemplates.js → zclient-actions/domain/entities/interfaces/EventMappingModel.js} +0 -0
  304. /package/es/platform/{zrecord → zclient-actions/domain}/entities/interfaces/EventModel.js +0 -0
  305. /package/es/platform/{zdata-broker/entities/interfaces/ITemplateHelpers.js → zclient-actions/domain/entities/interfaces/IAction.js} +0 -0
  306. /package/es/platform/{zdata-broker/entities/interfaces/IDataBroker.js → zclient-actions/domain/entities/interfaces/IClientAction.js} +0 -0
  307. /package/es/platform/{zlist/usecases/interfaces/gateways/ITransformState.js → zclient-actions/domain/entities/interfaces/IClientActionExecuteStrategy.js} +0 -0
  308. /package/es/platform/{zrecord/entities/interfaces/IRecord.js → zclient-actions/domain/entities/interfaces/IClientActionManager.js} +0 -0
  309. /package/es/platform/{zrecord/entities/interfaces/IRecordExecuteStrategy.js → zclient-actions/domain/entities/interfaces/IClientActions.js} +0 -0
  310. /package/es/platform/{zdata-broker/usecases/interfaces/input/ExecuteActionInputModel.js → zclient-actions/domain/entities/interfaces/IError.js} +0 -0
  311. /package/es/platform/{zdata-broker/usecases/interfaces/input/RegisterInputModel.js → zclient-actions/domain/entities/interfaces/IEvent.js} +0 -0
  312. /package/es/platform/{zrecord/entities/interfaces/IRecords.js → zclient-actions/domain/entities/interfaces/IEventMapping.js} +0 -0
  313. /package/es/platform/{zrecord/entities/interfaces/IRecordsManager.js → zclient-actions/domain/entities/interfaces/IEventMappings.js} +0 -0
  314. /package/es/platform/{zrecord/usecases/interfaces/gateways/IService.js → zclient-actions/domain/entities/interfaces/IPayload.js} +0 -0
  315. /package/es/platform/{zfield/entities/interfaces/ActionModel.js → zclient-actions/domain/entities/interfaces/PayloadValueMappingModel.js} +0 -0
  316. /package/es/platform/{zfield/entities/interfaces/BehaviourState.js → zclient-actions/domain/entities/interfaces/PropsMeta.js} +0 -0
  317. /package/es/platform/{zrecord → zclient-actions/domain}/entities/interfaces/StrategyMeta.js +0 -0
  318. /package/es/platform/{zfield/entities/interfaces/FieldModel.js → zclient-actions/domain/entities/interfaces/SubMeta.js} +0 -0
  319. /package/es/platform/{zfield/entities/interfaces/IField.js → zclient-actions/domain/entities/interfaces/UIComponentMappingModel.js} +0 -0
  320. /package/es/platform/{zfield/entities/interfaces/IFieldManger.js → zclient-actions/domain/entities/interfaces/UserDetailsModel.js} +0 -0
  321. /package/es/platform/{zhttp/usecases → zdata-broker/applications}/interfaces/InputDependencies.js +0 -0
  322. /package/es/platform/{zlist/usecases → zdata-broker/applications}/interfaces/gateways/IRepository.js +0 -0
  323. /package/es/platform/{zlist/usecases/interfaces → zdata-broker/applications/interfaces/gateways}/State.js +0 -0
  324. /package/es/platform/{zfield/usecases → zdata-broker/applications}/interfaces/input/ExecuteActionInputModel.js +0 -0
  325. /package/es/platform/{zrecord/usecases → zdata-broker/applications}/interfaces/input/FailureInputModel.js +0 -0
  326. /package/es/platform/{zrecord/usecases → zdata-broker/applications}/interfaces/input/NoContentInputModel.js +0 -0
  327. /package/es/platform/{zfield/usecases/interfaces/UsecaseDependencies.js → zdata-broker/applications/interfaces/input/RegisterInputModel.js} +0 -0
  328. /package/es/platform/{zrecord/usecases → zdata-broker/applications}/interfaces/input/SuccessInputModel.js +0 -0
  329. /package/es/platform/{zfield/usecases → zdata-broker/applications}/interfaces/output/IPresenter.js +0 -0
  330. /package/es/platform/{zrecord/usecases/interactors → zdata-broker/applications/usecases}/AbstractUseCase.js +0 -0
  331. /package/es/platform/zdata-broker/{usecases/interactors → applications/usecases}/ExecuteActionUseCase.js +0 -0
  332. /package/es/platform/zdata-broker/{usecases/interactors → applications/usecases}/FailureUseCase.js +0 -0
  333. /package/es/platform/zdata-broker/{usecases/interactors → applications/usecases}/NoContentUseCase.js +0 -0
  334. /package/es/platform/zdata-broker/{usecases/interactors → applications/usecases}/RegisterUseCase.js +0 -0
  335. /package/es/platform/zdata-broker/{usecases/interactors → applications/usecases}/SuccessUseCase.js +0 -0
  336. /package/es/platform/zdata-broker/{entities → domain/entities}/APITemplate.js +0 -0
  337. /package/es/platform/zdata-broker/{entities → domain/entities}/APITemplates.js +0 -0
  338. /package/es/platform/{zfield/usecases/interfaces/gateways/IRestApi.js → zdata-broker/domain/entities/interfaces/APIDetailsModel.js} +0 -0
  339. /package/es/platform/{zfield/usecases/interfaces/gateways/IService.js → zdata-broker/domain/entities/interfaces/APITemplateModel.js} +0 -0
  340. /package/es/platform/{zfield/usecases/interfaces/input/InitialInputModel.js → zdata-broker/domain/entities/interfaces/APITemplatesModel.js} +0 -0
  341. /package/es/platform/zdata-broker/{entities → domain/entities}/interfaces/ApiEnum.js +0 -0
  342. /package/es/platform/{zrecord → zdata-broker/domain}/entities/interfaces/BehaviourState.js +0 -0
  343. /package/es/platform/{zfield/usecases/interfaces/input/InputModel.js → zdata-broker/domain/entities/interfaces/EventModel.js} +0 -0
  344. /package/es/platform/{zfield/usecases/interfaces/input/RefetchInputModel.js → zdata-broker/domain/entities/interfaces/IAPITemplate.js} +0 -0
  345. /package/es/platform/{zfield/usecases/interfaces/input/SetValueInputModel.js → zdata-broker/domain/entities/interfaces/IAPITemplates.js} +0 -0
  346. /package/es/platform/{zhttp/usecases/interfaces/gateway/IFetchGateWay.js → zdata-broker/domain/entities/interfaces/ITemplateHelpers.js} +0 -0
  347. /package/es/platform/zfield/{usecases → applications}/entities-factory/FieldBuilder.js +0 -0
  348. /package/es/platform/zfield/{usecases → applications}/entities-factory/FieldFactory.js +0 -0
  349. /package/es/platform/{zhttp/usecases/interfaces/input/FetchInputModel.js → zfield/applications/interfaces/UsecaseDependencies.js} +0 -0
  350. /package/es/platform/{zrecord/usecases → zfield/applications}/interfaces/gateways/IRepository.js +0 -0
  351. /package/es/platform/{zlist/entities/interfaces/ActionModel.js → zfield/applications/interfaces/gateways/IRestApi.js} +0 -0
  352. /package/es/platform/{zlist/usecases → zfield/applications}/interfaces/gateways/IService.js +0 -0
  353. /package/es/platform/{zrecord/usecases → zfield/applications}/interfaces/input/ExecuteActionInputModel.js +0 -0
  354. /package/es/platform/{zlist/entities/interfaces/ApiPropsModel.js → zfield/applications/interfaces/input/InitialInputModel.js} +0 -0
  355. /package/es/platform/{zlist/entities/interfaces/IList.js → zfield/applications/interfaces/input/InputModel.js} +0 -0
  356. /package/es/platform/{zrecord/usecases → zfield/applications}/interfaces/input/RefetchInputModel.js +0 -0
  357. /package/es/platform/{zlist/entities/interfaces/Properties.js → zfield/applications/interfaces/input/SetValueInputModel.js} +0 -0
  358. /package/es/platform/{zrecord/usecases → zfield/applications}/interfaces/output/IPresenter.js +0 -0
  359. /package/es/platform/zfield/{usecases/interactors → applications/usecases}/AbstractUseCase.js +0 -0
  360. /package/es/platform/zfield/{usecases/interactors → applications/usecases}/ExecuteActionUseCase.js +0 -0
  361. /package/es/platform/zfield/{usecases/interactors → applications/usecases}/FetchFailureUseCase.js +0 -0
  362. /package/es/platform/zfield/{usecases/interactors → applications/usecases}/FetchNoContentUseCase.js +0 -0
  363. /package/es/platform/zfield/{usecases/interactors → applications/usecases}/FetchSuccessUseCase.js +0 -0
  364. /package/es/platform/zfield/{usecases/interactors → applications/usecases}/InitializeUseCase.js +0 -0
  365. /package/es/platform/zfield/{usecases/interactors → applications/usecases}/RefetchUseCase.js +0 -0
  366. /package/es/platform/zfield/{entities → domain/entities}/BooleanField.js +0 -0
  367. /package/es/platform/zfield/{entities → domain/entities}/CurrencyField.js +0 -0
  368. /package/es/platform/zfield/{entities → domain/entities}/DateField.js +0 -0
  369. /package/es/platform/zfield/{entities → domain/entities}/DateTimeField.js +0 -0
  370. /package/es/platform/zfield/{entities → domain/entities}/EmailField.js +0 -0
  371. /package/es/platform/zfield/{entities → domain/entities}/Field.js +0 -0
  372. /package/es/platform/zfield/{entities → domain/entities}/LookupField.js +0 -0
  373. /package/es/platform/zfield/{entities → domain/entities}/MultiLineField.js +0 -0
  374. /package/es/platform/zfield/{entities → domain/entities}/MultiSelectField.js +0 -0
  375. /package/es/platform/zfield/{entities → domain/entities}/PercentageField.js +0 -0
  376. /package/es/platform/zfield/{entities → domain/entities}/PhoneField.js +0 -0
  377. /package/es/platform/zfield/{entities → domain/entities}/PickListField.js +0 -0
  378. /package/es/platform/zfield/{entities → domain/entities}/SingleLineField.js +0 -0
  379. /package/es/platform/zfield/{entities → domain/entities}/URLField.js +0 -0
  380. /package/es/platform/zfield/{entities → domain/entities}/index.js +0 -0
  381. /package/es/platform/{zlist/entities/interfaces/RecordExecuteAfterMetaData.js → zfield/domain/entities/interfaces/ActionModel.js} +0 -0
  382. /package/es/platform/{zlist/usecases/interfaces/input/DeleteMultipleRecordUseCaseInput.js → zfield/domain/entities/interfaces/BehaviourState.js} +0 -0
  383. /package/es/platform/zfield/{entities → domain/entities}/interfaces/FieldApiName.js +0 -0
  384. /package/es/platform/{zlist/usecases/interfaces/input/DeleteSingleRecordUseCaseInput.js → zfield/domain/entities/interfaces/FieldModel.js} +0 -0
  385. /package/es/platform/{zlist/usecases/interfaces/input/FetchMoreInput.js → zfield/domain/entities/interfaces/IField.js} +0 -0
  386. /package/es/platform/{zlist/usecases/interfaces/input/FieldChangeUseCaseInput.js → zfield/domain/entities/interfaces/IFieldManger.js} +0 -0
  387. /package/es/platform/{zrecord/usecases → zhttp/applications}/interfaces/InputDependencies.js +0 -0
  388. /package/es/platform/{zlist/usecases/interfaces/input/InitializeInput.js → zhttp/applications/interfaces/UseCase.js} +0 -0
  389. /package/es/platform/{zlist/usecases/interfaces/input/PropertiesChangeUseCaseInput.js → zhttp/applications/interfaces/gateway/IFetchGateWay.js} +0 -0
  390. /package/es/platform/{zlist/usecases/interfaces/input/RecordExecuteFailedUseCaseInput.js → zhttp/applications/interfaces/input/FetchInputModel.js} +0 -0
  391. /package/es/platform/zhttp/{usecases/interactors → applications/usecases}/AbstractUseCase.js +0 -0
  392. /package/es/platform/zhttp/{usecases/interactors → applications/usecases}/FetchUseCase.js +0 -0
  393. /package/es/platform/{zrecord/usecases/interfaces/gateways → zlist/applications/interfaces}/State.js +0 -0
  394. /package/es/platform/zlist/{usecases/interfaces/input/RecordExecuteSucceededUseCaseInput.js → applications/interfaces/UseCaseDependencies.js} +0 -0
  395. /package/es/platform/zlist/{usecases/interfaces/input/RecordUpdateUseCaseInput.js → applications/interfaces/gateways/IRepository.js} +0 -0
  396. /package/es/platform/zlist/{usecases/interfaces/input/SortingInputModel.js → applications/interfaces/gateways/IService.js} +0 -0
  397. /package/es/platform/{zrecord/entities/interfaces/ICustomFieldValues.js → zlist/applications/interfaces/gateways/ISortBy.js} +0 -0
  398. /package/es/platform/{zrecord/entities/interfaces/IRecordName.js → zlist/applications/interfaces/input/DeleteMultipleRecordUseCaseInput.js} +0 -0
  399. /package/es/platform/{zrecord/entities/interfaces/RecordModel.js → zlist/applications/interfaces/input/DeleteSingleRecordUseCaseInput.js} +0 -0
  400. /package/es/platform/{zrecord/entities/interfaces/RecordsModel.js → zlist/applications/interfaces/input/FetchMoreInput.js} +0 -0
  401. /package/es/platform/{zrecord/usecases → zlist/applications}/interfaces/input/FieldChangeUseCaseInput.js +0 -0
  402. /package/es/platform/{zrecord/usecases/interfaces/input/AppendRecordsInputModel.js → zlist/applications/interfaces/input/InitializeInput.js} +0 -0
  403. /package/es/platform/{zrecord/usecases/interfaces/input/DeleteMultipleRecordInputModel.js → zlist/applications/interfaces/input/PropertiesChangeUseCaseInput.js} +0 -0
  404. /package/es/platform/{zrecord/usecases/interfaces/input/FetchMoreInputModel.js → zlist/applications/interfaces/input/RecordExecuteFailedUseCaseInput.js} +0 -0
  405. /package/es/platform/{zrecord/usecases/interfaces/input/RecordUpdateLocalUseCaseInputModel.js → zlist/applications/interfaces/input/RecordExecuteSucceededUseCaseInput.js} +0 -0
  406. /package/es/platform/{zrecord/usecases/interfaces/input/SetRecordsInputModel.js → zlist/applications/interfaces/input/RecordUpdateUseCaseInput.js} +0 -0
  407. /package/es/platform/zlist/{usecases/interactors → applications/usecases}/AbstractUseCase.js +0 -0
  408. /package/es/platform/zlist/{usecases/interactors → applications/usecases}/DeleteMultipleRecordUseCase.js +0 -0
  409. /package/es/platform/zlist/{usecases/interactors → applications/usecases}/DeleteSingleRecordUseCase.js +0 -0
  410. /package/es/platform/zlist/{usecases/interactors → applications/usecases}/FetchMoreUseCase.js +0 -0
  411. /package/es/platform/zlist/{usecases/interactors → applications/usecases}/FieldChangeUseCase.js +0 -0
  412. /package/es/platform/zlist/{usecases/interactors → applications/usecases}/InitializeUseCase.js +0 -0
  413. /package/es/platform/zlist/{usecases/interactors → applications/usecases}/PropertiesChangeUseCase.js +0 -0
  414. /package/es/platform/zlist/{usecases/interactors → applications/usecases}/RecordExecuteFailedUseCase.js +0 -0
  415. /package/es/platform/zlist/{usecases/interactors → applications/usecases}/RecordExecuteSucceededUseCase.js +0 -0
  416. /package/es/platform/zlist/{usecases/interactors → applications/usecases}/RecordUpdateUseCase.js +0 -0
  417. /package/es/platform/zlist/{usecases/interactors → applications/usecases}/SortUseCase.js +0 -0
  418. /package/es/platform/zrecord/{usecases/interactors → applications/usecases}/AppendRecordsUseCase.js +0 -0
  419. /package/es/platform/zrecord/{usecases/interactors → applications/usecases}/DeleteMultipleRecordUseCase.js +0 -0
  420. /package/es/platform/zrecord/{usecases/interactors → applications/usecases}/ExecuteActionUseCase.js +0 -0
  421. /package/es/platform/zrecord/{usecases/interactors → applications/usecases}/FailureUseCase.js +0 -0
  422. /package/es/platform/zrecord/{usecases/interactors → applications/usecases}/FetchMoreUseCase.js +0 -0
  423. /package/es/platform/zrecord/{usecases/interactors → applications/usecases}/FetchStateStopUseCase.js +0 -0
  424. /package/es/platform/zrecord/{usecases/interactors → applications/usecases}/FieldChangeUseCase.js +0 -0
  425. /package/es/platform/zrecord/{usecases/interactors → applications/usecases}/NoContentUseCase.js +0 -0
  426. /package/es/platform/zrecord/{usecases/interactors → applications/usecases}/RecordUpdateLocalUseCase.js +0 -0
  427. /package/es/platform/zrecord/{usecases/interactors → applications/usecases}/RefetchUseCase.js +0 -0
  428. /package/es/platform/zrecord/{usecases/interactors → applications/usecases}/SetRecordsUseCase.js +0 -0
  429. /package/es/platform/zrecord/{usecases/interactors → applications/usecases}/SuccessUseCase.js +0 -0
  430. /package/es/platform/zrecord/{entities → domain/entities}/CustomFieldValues.js +0 -0
  431. /package/es/platform/zrecord/{entities → domain/entities}/Record.js +0 -0
  432. /package/es/platform/zrecord/{entities → domain/entities}/Records.js +0 -0
  433. /package/es/platform/zrecord/{entities → domain/entities}/interfaces/ApiEnum.js +0 -0
@@ -1,5 +1,6 @@
1
1
  import React from 'react';
2
2
  import TableHeader from '@zohodesk-private/desk-components/es/table/TableHeader/TableHeader';
3
+ import TableHeaderRow from '@zohodesk-private/desk-components/es/table/TableHeader/TableHeaderRow';
3
4
  import SelectAll from "./header/SelectAll";
4
5
  import Headers from "./header/Headers";
5
6
  import ActionColumn from "./header/ActionColumn";
@@ -10,12 +11,12 @@ function Header(_ref) {
10
11
  isSelectionEnabled,
11
12
  hasAllSelected,
12
13
  isResizerEnabled,
13
- resizedColumnsWidth,
14
14
  currentlyResizingColumn,
15
15
  isCurrentlyResizing,
16
16
  resizerExtraWidth,
17
17
  isFlexibleColumns,
18
18
  hasRowActions,
19
+ rowActionsColumnWidth,
19
20
  headers,
20
21
  dispatch
21
22
  } = _ref;
@@ -26,7 +27,7 @@ function Header(_ref) {
26
27
 
27
28
  return /*#__PURE__*/React.createElement(TableHeader, {
28
29
  $flag_padding: !isSelectionEnabled
29
- }, renderSelectAll(isSelectionEnabled, hasAllSelected, dispatch), renderHeaders(headers, resizedColumnsWidth, currentlyResizingColumn, isResizerEnabled, isFlexibleColumns, dispatch), renderActionColumn(hasRowActions), renderResizerExtraSpace(isCurrentlyResizing, resizerExtraWidth));
30
+ }, /*#__PURE__*/React.createElement(TableHeaderRow, null, renderSelectAll(isSelectionEnabled, hasAllSelected, dispatch), renderHeaders(headers, currentlyResizingColumn, isResizerEnabled, isFlexibleColumns, dispatch), renderActionColumn(hasRowActions, rowActionsColumnWidth), renderResizerExtraSpace(isCurrentlyResizing, resizerExtraWidth)));
30
31
  }
31
32
 
32
33
  function renderSelectAll(isSelectionEnabled, hasAllSelected, dispatch) {
@@ -37,10 +38,9 @@ function renderSelectAll(isSelectionEnabled, hasAllSelected, dispatch) {
37
38
  });
38
39
  }
39
40
 
40
- function renderHeaders(headers, resizedColumnsWidth, currentlyResizingColumn, isResizerEnabled, isFlexibleColumns, dispatch) {
41
+ function renderHeaders(headers, currentlyResizingColumn, isResizerEnabled, isFlexibleColumns, dispatch) {
41
42
  return /*#__PURE__*/React.createElement(Headers, {
42
43
  headers: headers,
43
- resizedColumnsWidth: resizedColumnsWidth,
44
44
  currentlyResizingColumn: currentlyResizingColumn,
45
45
  isResizerEnabled: isResizerEnabled,
46
46
  isFlexibleColumns: isFlexibleColumns,
@@ -48,9 +48,10 @@ function renderHeaders(headers, resizedColumnsWidth, currentlyResizingColumn, is
48
48
  });
49
49
  }
50
50
 
51
- function renderActionColumn(hasRowActions) {
51
+ function renderActionColumn(hasRowActions, columnWidth) {
52
52
  return /*#__PURE__*/React.createElement(ActionColumn, {
53
- hasRowActions: hasRowActions
53
+ hasRowActions: hasRowActions,
54
+ columnWidth: columnWidth
54
55
  });
55
56
  }
56
57
 
@@ -1,7 +1,5 @@
1
1
  import React from 'react';
2
2
  import Row from "./row/Row";
3
- const emptyArray = Object.freeze([]);
4
- const emptyObject = {};
5
3
 
6
4
  function Rows(_ref) {
7
5
  let {
@@ -9,44 +7,44 @@ function Rows(_ref) {
9
7
  rows,
10
8
  isFlexibleColumns,
11
9
  isSelectionEnabled,
12
- resizedColumnsWidth,
13
- hasRowActions
10
+ rowCursor,
11
+ hasRowActions,
12
+ rowActionsColumnWidth
14
13
  } = _ref;
15
14
  return rows.map((row, index) => /*#__PURE__*/React.createElement(Row, {
16
15
  key: index,
17
- ...getRowProps(row, headers, isFlexibleColumns, isSelectionEnabled, resizedColumnsWidth, hasRowActions)
16
+ ...getRowProps(row, headers, isFlexibleColumns, isSelectionEnabled, rowCursor, hasRowActions, rowActionsColumnWidth)
18
17
  }));
19
18
  }
20
19
 
21
- function getRowProps(row, headers, isFlexibleColumns, isSelectionEnabled, resizedColumnsWidth, hasRowActions) {
20
+ function getRowProps(row, headers, isFlexibleColumns, isSelectionEnabled, rowCursor, hasRowActions, rowActionsColumnWidth) {
22
21
  const {
23
22
  id,
24
23
  columns,
25
24
  isSelected,
26
25
  isSelectable,
27
26
  selectionTooltip,
28
- clickAction,
29
- rowActions
27
+ rowActionLocation
30
28
  } = row;
31
29
  const updatedColumns = getUpdatedColumns(columns, headers);
32
30
  return {
33
31
  id,
34
- columns: updatedColumns || emptyArray,
35
- clickAction: clickAction || emptyObject,
36
- rowActions: rowActions || emptyArray,
32
+ columns: updatedColumns,
33
+ rowActionLocation,
37
34
  isSelected,
38
35
  isSelectable,
39
36
  selectionTooltip,
40
37
  isFlexibleColumns,
41
38
  isSelectionEnabled,
42
- resizedColumnsWidth,
43
- hasActions: hasRowActions
39
+ cursor: rowCursor,
40
+ hasActions: hasRowActions,
41
+ rowActionsColumnWidth
44
42
  };
45
43
  }
46
44
 
47
45
  function getUpdatedColumns(columns, headers) {
48
46
  return columns.map((column, index) => ({
49
- size: headers[index].size,
47
+ width: headers[index].width,
50
48
  field: column,
51
49
  alignment: headers[index].alignment
52
50
  }));
@@ -2,12 +2,13 @@ import React from 'react';
2
2
  import TableHead from '@zohodesk-private/desk-components/es/table/TableHead/TableHead';
3
3
  export default function ActionColumn(_ref) {
4
4
  let {
5
- hasRowActions
5
+ hasRowActions,
6
+ columnWidth
6
7
  } = _ref;
7
8
 
8
9
  if (hasRowActions) {
9
10
  return /*#__PURE__*/React.createElement(TableHead, {
10
- $ui_size: "medium"
11
+ $data_width: columnWidth
11
12
  }, /*#__PURE__*/React.createElement(React.Fragment, null));
12
13
  }
13
14
 
@@ -10,7 +10,6 @@ function HeaderData(_ref) {
10
10
  sortTooltip,
11
11
  isResizing,
12
12
  isResizerEnabled,
13
- resizedWidth,
14
13
  isFlexibleColumns,
15
14
  dispatch
16
15
  } = _ref;
@@ -19,25 +18,26 @@ function HeaderData(_ref) {
19
18
  name,
20
19
  text,
21
20
  sortable,
22
- size,
21
+ width,
23
22
  alignment
24
23
  } = header;
25
24
  return (
26
25
  /*#__PURE__*/
27
26
  // @ts-ignore
28
27
  React.createElement(TableHead, {
29
- $ui_size: size,
30
28
  $ui_align: alignment,
31
- $data_width: resizedWidth,
32
- $flag_flexible: isFlexibleColumns
29
+ $data_width: width,
30
+ $flag_flexible: isFlexibleColumns,
31
+ $a11yAttributes_container: {
32
+ 'aria-sort': sortable ? sortedBy : 'none'
33
+ }
33
34
  }, /*#__PURE__*/React.createElement(HeaderText, {
34
35
  id: id,
35
36
  name: name,
36
37
  text: text,
37
38
  sortable: sortable,
38
39
  sortedBy: sortedBy,
39
- sortTooltip: sortTooltip // Yet to be implemented
40
- ,
40
+ sortTooltip: sortTooltip,
41
41
  dispatch: dispatch
42
42
  }), /*#__PURE__*/React.createElement(ColumnResizer, {
43
43
  isResizerEnabled: isResizerEnabled,
@@ -4,7 +4,6 @@ import HeaderData from "./HeaderData";
4
4
  function Headers(_ref) {
5
5
  let {
6
6
  headers,
7
- resizedColumnsWidth,
8
7
  currentlyResizingColumn,
9
8
  isResizerEnabled,
10
9
  isFlexibleColumns,
@@ -17,12 +16,9 @@ function Headers(_ref) {
17
16
  } = header;
18
17
  let isResizing = currentlyResizingColumn === header.id; // TODO: To be adopted with properties
19
18
 
20
- let resizedWidth = resizedColumnsWidth[header.id]; // TODO: To be adopted with properties
21
-
22
19
  return /*#__PURE__*/React.createElement(HeaderData, {
23
20
  key: index,
24
21
  header: header,
25
- resizedWidth: resizedWidth,
26
22
  sortedBy: sortOrder,
27
23
  sortTooltip: sortTooltip,
28
24
  isResizing: isResizing,
@@ -1,6 +1,6 @@
1
1
  import React from 'react';
2
+ import CheckBox from '@zohodesk/components/es/CheckBox/CheckBox';
2
3
  import TableHeadFirstNode from '@zohodesk-private/desk-components/es/table/TableHeadFirstNode/TableHeadFirstNode';
3
- import TableCheckBox from '@zohodesk-private/desk-components/es/table/TableCheckBox/TableCheckBox';
4
4
  import { TableListConstants } from "../../../../../../../../cc/table-list";
5
5
 
6
6
  function SelectAll(_ref) {
@@ -14,9 +14,9 @@ function SelectAll(_ref) {
14
14
  return null;
15
15
  }
16
16
 
17
- return /*#__PURE__*/React.createElement(TableHeadFirstNode, null, /*#__PURE__*/React.createElement(TableCheckBox, {
18
- $flag_checked: hasAllSelected,
19
- $event_onChange: () => dispatch({
17
+ return /*#__PURE__*/React.createElement(TableHeadFirstNode, null, /*#__PURE__*/React.createElement(CheckBox, {
18
+ checked: hasAllSelected,
19
+ onChange: () => dispatch({
20
20
  type: TableListConstants.TABLE_LIST_TOGGLE_ALL_SELECTION
21
21
  })
22
22
  }));
@@ -3,23 +3,19 @@ import RowData from "./RowData";
3
3
 
4
4
  function Columns(_ref) {
5
5
  let {
6
- resizedColumnsWidth,
7
6
  data,
8
7
  isFlexibleColumns
9
8
  } = _ref;
10
9
  return data.map((column, index) => {
11
10
  const {
12
- size,
11
+ width,
13
12
  alignment,
14
13
  field
15
14
  } = column;
16
- const resizedWidth = resizedColumnsWidth[field.id]; // Will be adopted with properties
17
-
18
15
  return /*#__PURE__*/React.createElement(RowData, {
19
16
  key: index,
20
17
  field: field,
21
- resizedWidth: resizedWidth,
22
- size: size,
18
+ width: width,
23
19
  alignment: alignment,
24
20
  isFlexibleColumns: isFlexibleColumns
25
21
  });
@@ -6,7 +6,9 @@ import RowActions from "./RowActions";
6
6
  import { createCustomComponent } from "../../../../../../../custom-component";
7
7
  import { RowEventHandlersFactory } from "./RowEventHandlersFactory";
8
8
  import TableRowProperties from "../../../../../../../../cc/table-list/row/Properties";
9
- import TableRowConstants from "../../../../../../../../cc/table-list/row/Constants";
9
+ import TableRowConstants from "../../../../../../../../cc/table-list/row/Constants"; // @ts-ignore
10
+
11
+ import style from "../../css/TableList.module.css";
10
12
 
11
13
  function RowView(_ref, ref) {
12
14
  let {
@@ -25,11 +27,16 @@ function RowView(_ref, ref) {
25
27
  const {
26
28
  id,
27
29
  columns,
28
- rowActions,
30
+ rowActionLocation,
29
31
  isFlexibleColumns,
30
- resizedColumnsWidth,
31
- hasActions
32
+ cursor,
33
+ hasActions,
34
+ rowActionsColumnWidth
32
35
  } = state.properties;
36
+ const {
37
+ type,
38
+ actions
39
+ } = rowActionLocation;
33
40
  return /*#__PURE__*/React.createElement(TableRow, {
34
41
  key: id,
35
42
  ref: ref,
@@ -40,7 +47,10 @@ function RowView(_ref, ref) {
40
47
  payload: {
41
48
  id
42
49
  }
43
- })
50
+ }),
51
+ customStyle: {
52
+ $pointer: style[`rowCursor_${cursor}`]
53
+ }
44
54
  }, renderRowSelection({
45
55
  isSelectionEnabled,
46
56
  id,
@@ -50,12 +60,12 @@ function RowView(_ref, ref) {
50
60
  dispatch
51
61
  }), renderColumns({
52
62
  columns,
53
- resizedColumnsWidth,
54
63
  isFlexibleColumns
55
64
  }), renderRowActions({
56
65
  hasActions,
57
- rowActions,
58
- dispatch
66
+ columnWidth: rowActionsColumnWidth,
67
+ type,
68
+ actions
59
69
  }));
60
70
  }
61
71
 
@@ -81,12 +91,10 @@ function renderRowSelection(_ref2) {
81
91
  function renderColumns(_ref3) {
82
92
  let {
83
93
  columns,
84
- resizedColumnsWidth,
85
94
  isFlexibleColumns
86
95
  } = _ref3;
87
96
  return /*#__PURE__*/React.createElement(Columns, {
88
97
  data: columns,
89
- resizedColumnsWidth: resizedColumnsWidth,
90
98
  isFlexibleColumns: isFlexibleColumns
91
99
  });
92
100
  }
@@ -94,13 +102,15 @@ function renderColumns(_ref3) {
94
102
  function renderRowActions(_ref4) {
95
103
  let {
96
104
  hasActions,
97
- rowActions,
98
- dispatch
105
+ columnWidth,
106
+ actions,
107
+ type
99
108
  } = _ref4;
100
109
  return /*#__PURE__*/React.createElement(RowActions, {
101
110
  hasActions: hasActions,
102
- actions: rowActions,
103
- dispatch: dispatch
111
+ columnWidth: columnWidth,
112
+ type: type,
113
+ actions: actions
104
114
  });
105
115
  }
106
116
 
@@ -4,13 +4,17 @@ import ActionLocation from "../../../../../action-location/frameworks/ui/ActionL
4
4
  export default function RowActions(_ref) {
5
5
  let {
6
6
  hasActions,
7
+ columnWidth,
8
+ type = '',
7
9
  actions
8
10
  } = _ref;
9
11
 
12
+ // TODO: Need to fix the defaultValue from properties => CC
10
13
  if (hasActions) {
11
14
  return /*#__PURE__*/React.createElement(TableAction, {
12
- $ui_size: "medium"
15
+ $data_width: columnWidth
13
16
  }, /*#__PURE__*/React.createElement(ActionLocation, {
17
+ type: type,
14
18
  actions: actions
15
19
  }));
16
20
  }
@@ -4,9 +4,8 @@ import FieldComponent from "../field/FieldComponent";
4
4
  export default function RowData(_ref) {
5
5
  let {
6
6
  field,
7
- size,
7
+ width,
8
8
  alignment,
9
- resizedWidth,
10
9
  isFlexibleColumns
11
10
  } = _ref;
12
11
  let {
@@ -14,9 +13,8 @@ export default function RowData(_ref) {
14
13
  ...props
15
14
  } = field;
16
15
  return /*#__PURE__*/React.createElement(TableData, {
17
- $ui_size: size,
18
16
  $ui_align: alignment,
19
- $data_width: resizedWidth,
17
+ $data_width: width,
20
18
  $flag_flexible: isFlexibleColumns
21
19
  }, /*#__PURE__*/React.createElement(FieldComponent, {
22
20
  type: type,
@@ -1,5 +1,5 @@
1
- import { createCustomComponent } from "../../../custom-component";
2
- import Properties from "../../../../cc/action-icon/Properties";
1
+ import { createCustomComponent } from "../../../../../custom-component";
2
+ import Properties from "../../../../../../cc/action-icon/Properties";
3
3
  import ActionIconView from "./ActionIconView";
4
4
  const ActionIcon = createCustomComponent({
5
5
  name: 'ActionIcon',
@@ -1,6 +1,8 @@
1
1
  import React from 'react';
2
2
  import ActionIcon from '@zohodesk-private/desk-components/es/ActionIcon/ActionIcon';
3
- import Constants from "../../../../cc/action-icon/Constants";
3
+ import Constants from "../../../../../../cc/action-icon/Constants"; // @ts-ignore
4
+
5
+ import style from "./css/ActionIcon.module.css";
4
6
  export default function ActionIconView(_ref, ref) {
5
7
  let {
6
8
  state,
@@ -9,22 +11,26 @@ export default function ActionIconView(_ref, ref) {
9
11
  const {
10
12
  icon,
11
13
  label,
12
- hoverVariant
14
+ hoverVariant,
15
+ isDisabled,
16
+ isVisible
13
17
  } = state.properties;
14
18
  const {
15
19
  dispatch
16
20
  } = helpers;
17
21
  return /*#__PURE__*/React.createElement("span", {
18
- ref: ref
22
+ ref: ref,
23
+ className: isVisible ? '' : style.hide
19
24
  }, /*#__PURE__*/React.createElement(ActionIcon, {
20
25
  $ui_iconName: icon,
21
26
  $ui_hoverVariant: hoverVariant,
22
27
  $flag_gap: true,
28
+ $flag_disabled: isDisabled,
23
29
  $i18n_tooltip: label,
24
- $event_onClick: () => {
30
+ $event_onClick: !isDisabled ? () => {
25
31
  dispatch({
26
32
  type: Constants.ACTION_ICON_CLICKED
27
33
  });
28
- }
34
+ } : null
29
35
  }));
30
36
  }
@@ -6,4 +6,4 @@ export { default as Link } from "./link/frameworks/ui/Link";
6
6
  export { default as Switch } from "./switch/frameworks/ui/Switch";
7
7
  export { default as Tags } from "./tags/frameworks/ui/Tags";
8
8
  export { default as Text } from "./text/frameworks/ui/Text";
9
- export { default as ActionIcon } from "./action-icon/ActionIcon";
9
+ export { default as ActionIcon } from "./action-icon/frameworks/ui/ActionIcon";
@@ -1,6 +1,6 @@
1
1
  const deleteRecord = {
2
2
  name: 'records',
3
- api: '/api/v1/{{moduleName}}/moveToTrash',
3
+ api: '/{{servicePrefix}}/{{orgName}}/api/v1/{{moduleName}}/moveToTrash',
4
4
  parameters: `{}`,
5
5
  type: 'POST',
6
6
  transformer: data => data,
@@ -1,6 +1,6 @@
1
1
  const deleteRecords = {
2
2
  name: 'records',
3
- api: '/api/v1/{{moduleName}}/moveToTrash',
3
+ api: '/{{servicePrefix}}/{{orgName}}/api/v1/{{moduleName}}/moveToTrash',
4
4
  parameters: `{}`,
5
5
  type: 'POST',
6
6
  transformer: data => data,
@@ -1,6 +1,6 @@
1
1
  let getAvailableFields = {
2
2
  name: "availableFields",
3
- api: "/api/v1/views/availableFields",
3
+ api: "/{{servicePrefix}}/{{orgName}}/api/v1/views/availableFields",
4
4
  parameters: `{
5
5
  "departmentId":"{{departmentId}}",
6
6
  "module":"{{moduleName}}"
@@ -0,0 +1,23 @@
1
+ let getClientActions = {
2
+ name: "uiActions",
3
+ api: "/{{servicePrefix}}/{{orgName}}/api/v1/clientActions",
4
+ parameters: `{
5
+ "from":{{from}},
6
+ "limit":{{limit}},
7
+ "library": "{{library}}",
8
+ "module": "{{moduleName}}"
9
+ }`,
10
+ type: "GET",
11
+ transformer: data => data,
12
+ properties: {
13
+ modelName: {
14
+ required: true,
15
+ typeMetadata: {
16
+ schema: {
17
+ type: "string"
18
+ }
19
+ }
20
+ }
21
+ }
22
+ };
23
+ export default getClientActions;
@@ -1,6 +1,6 @@
1
1
  let getRecords = {
2
2
  name: 'records',
3
- api: '/api/v1/{{moduleName}}',
3
+ api: '/{{servicePrefix}}/{{orgName}}/api/v1/{{moduleName}}',
4
4
  parameters: `{
5
5
  "viewId":"{{viewId}}",
6
6
  "from":{{from}},
@@ -1,6 +1,6 @@
1
1
  let getSelectedFields = {
2
2
  name: "selectedFields",
3
- api: "/api/v1/views/{{viewId}}/selectedFields",
3
+ api: "/{{servicePrefix}}/{{orgName}}/api/v1/views/{{viewId}}/selectedFields",
4
4
  parameters: `{
5
5
  "departmentId":"{{departmentId}}"
6
6
  }`,
@@ -1,6 +1,6 @@
1
1
  const updateRecord = {
2
2
  name: 'records',
3
- api: '/api/v1/{{moduleName}}/{{recordId}}',
3
+ api: '/{{servicePrefix}}/{{orgName}}/api/v1/{{moduleName}}/{{recordId}}',
4
4
  parameters: `{}`,
5
5
  type: 'PATCH',
6
6
  transformer: data => data,
@@ -4,7 +4,7 @@ import updateRecord from "./http-template/updateRecord";
4
4
  import deleteRecords from "./http-template/deleteRecords";
5
5
  import getAvailableFields from "./http-template/getAvailableFields";
6
6
  import getSelectedFields from "./http-template/getSelectedFields";
7
- import getUIActions from "./http-template/getUIActions";
7
+ import getClientActions from "./http-template/getClientActions";
8
8
  import { RecordApiActionName } from "../../bc/zrecord/Constants";
9
9
  import deleteRecord from "./http-template/deleteRecord";
10
10
  let record = {
@@ -13,9 +13,9 @@ let record = {
13
13
  [RecordApiActionName.UPDATE_RECORD]: updateRecord,
14
14
  [RecordApiActionName.DELETE_RECORDS]: deleteRecords,
15
15
  [RecordApiActionName.DELETE_RECORD]: deleteRecord,
16
+ [RecordApiActionName.GET_CLIENTACTIONS]: getClientActions,
16
17
  getAvailableFields,
17
- getSelectedFields,
18
- getUIActions
18
+ getSelectedFields
19
19
  }
20
20
  };
21
21
  export default record; // let ticketsRecordSerice = createRecord(tickets, () => {});
@@ -0,0 +1,38 @@
1
+ Client Actions Behaviour
2
+
3
+
4
+ This behaviour will allows your library components to fetch client actions for your users.
5
+
6
+ # Implementation
7
+
8
+ ClientActionBehaviourFactory.create({ getClientActions: dataBroker.httpTemplates.getClientActions })
9
+
10
+ This above class should be implemeted in the behaviour props of your library components
11
+
12
+ The user needs to passdown the databroker into the behaviour in the format,
13
+
14
+ 1. getClientActions => Client Actions GET data broker template
15
+
16
+
17
+
18
+ # Integration inside component
19
+
20
+ We need to initialize or mount our behaviour with the component. Refer the eg used in List component below
21
+
22
+ private createClientActionsFetchAction(): ActionModel {
23
+ const props = this.createApiProps();
24
+ return {
25
+ type: CLIENTACTION_BEHAVIOUR_EXECUTE,
26
+ payload: {
27
+ actionName: 'getClientActions',
28
+ props,
29
+ apiName: 'clientActions'
30
+ }
31
+ };
32
+ }
33
+
34
+ The function createClientActionsFetchAction is called at Library component mount, which will mount client action behaviour and do the necessary processing.
35
+
36
+
37
+
38
+
@@ -0,0 +1,8 @@
1
+ export default class AbstractController {
2
+ constructor(service) {
3
+ this.service = service;
4
+ this.service = service;
5
+ this.handle = this.handle.bind(this);
6
+ }
7
+
8
+ }
@@ -0,0 +1,27 @@
1
+ import AbstractController from "./AbstractController";
2
+ export default class ClientActionBehaviourExecutorController extends AbstractController {
3
+ handle(event) {
4
+ const {
5
+ state,
6
+ updateState,
7
+ action,
8
+ dispatch
9
+ } = event;
10
+ const {
11
+ actionName,
12
+ props,
13
+ apiName
14
+ } = action.payload;
15
+ const {
16
+ executeActionBehaviourUseCase
17
+ } = this.service;
18
+ executeActionBehaviourUseCase.updateDependency(state, updateState);
19
+ executeActionBehaviourUseCase.execute({
20
+ dispatch,
21
+ apiName,
22
+ actionName,
23
+ props
24
+ });
25
+ }
26
+
27
+ }
@@ -0,0 +1,28 @@
1
+ import AbstractController from "./AbstractController";
2
+ export default class FailureController extends AbstractController {
3
+ handle(event) {
4
+ const {
5
+ state,
6
+ updateState,
7
+ action,
8
+ dispatch
9
+ } = event;
10
+ const {
11
+ metaData,
12
+ payload
13
+ } = action;
14
+ const {
15
+ error
16
+ } = payload;
17
+ const {
18
+ failureUseCase
19
+ } = this.service;
20
+ failureUseCase.updateDependency(state, updateState);
21
+ failureUseCase.execute({
22
+ dispatch,
23
+ error,
24
+ metaData
25
+ });
26
+ }
27
+
28
+ }