@zohodesk/library-platform 1.1.12 → 1.2.0-exp.1

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 (518) hide show
  1. package/es/bc/action-band/Constants.js +4 -0
  2. package/es/bc/action-band/Properties.js +10 -0
  3. package/es/bc/action-band/index.js +1 -0
  4. package/es/bc/app-context/Properties.js +19 -0
  5. package/es/bc/column-chooser/EventHandlers.js +1 -2
  6. package/es/bc/float-pagination/ActionHandlers.js +1 -0
  7. package/es/bc/float-pagination/Constants.js +4 -0
  8. package/es/bc/float-pagination/Properties.js +18 -0
  9. package/es/bc/float-pagination/index.js +2 -0
  10. package/es/bc/index.js +0 -1
  11. package/es/bc/sdk/ResourceNamesEnum.js +2 -0
  12. package/es/bc/search/Constants.js +3 -0
  13. package/es/bc/search/EventHandlers.js +1 -0
  14. package/es/bc/search/Properties.js +11 -0
  15. package/es/bc/search/index.js +2 -0
  16. package/es/bc/search-box/ActionHandlers.js +1 -0
  17. package/es/bc/search-box/Constants.js +4 -0
  18. package/es/bc/search-box/Properties.js +18 -0
  19. package/es/bc/search-box/index.js +2 -0
  20. package/es/bc/sort-by/ActionHandlers.js +1 -1
  21. package/es/bc/sort-by/Constants.js +2 -2
  22. package/es/bc/sort-by/Properties.js +13 -11
  23. package/es/bc/sort-by/Types.js +10 -0
  24. package/es/bc/sort-by/types/SortByBehaviourState.js +1 -0
  25. package/es/bc/zfield/Constants.js +5 -1
  26. package/es/bc/zform/Properties.js +20 -0
  27. package/es/bc/zform/Symbol.js +3 -0
  28. package/es/bc/zlist/Constants.js +0 -1
  29. package/es/bc/zlist/Types.js +27 -0
  30. package/es/bc/zrecord/Constants.js +4 -0
  31. package/es/bc/zrecord/Schemas.js +29 -0
  32. package/es/bc/zrecord/Types.js +45 -0
  33. package/es/cc/action-band/Properties.js +120 -0
  34. package/es/cc/action-band/SdkContract.js +13 -0
  35. package/es/cc/action-band/constants/Events.js +1 -0
  36. package/es/cc/action-band/constants/ExternalConstants.js +9 -0
  37. package/es/cc/action-band/constants/index.js +2 -0
  38. package/es/cc/action-band/index.js +3 -0
  39. package/es/cc/action-icon/Properties.js +20 -1
  40. package/es/cc/checkbox/Properties.js +2 -1
  41. package/es/cc/component/Dispatch.js +1 -0
  42. package/es/cc/component/LifeCycleEventsEnum.js +1 -0
  43. package/es/cc/component/index.js +3 -0
  44. package/es/cc/email/Properties.js +8 -0
  45. package/es/cc/fields/currency/Properties.js +9 -0
  46. package/es/cc/fields/decimal/Properties.js +9 -0
  47. package/es/cc/fields/email/Properties.js +9 -0
  48. package/es/cc/fields/field/Types.js +31 -23
  49. package/es/cc/fields/lookup/Properties.js +10 -26
  50. package/es/cc/fields/multi-line/Properties.js +1 -0
  51. package/es/cc/fields/number/Properties.js +10 -1
  52. package/es/cc/fields/phone/Properties.js +9 -0
  53. package/es/cc/fields/text/Properties.js +2 -2
  54. package/es/cc/fields/url/Properties.js +9 -0
  55. package/es/cc/floating-pagination/Constants.js +6 -0
  56. package/es/cc/floating-pagination/Events.js +8 -0
  57. package/es/cc/floating-pagination/Properties.js +56 -0
  58. package/es/cc/floating-pagination/index.js +3 -0
  59. package/es/cc/highlighted-value/Properties.js +18 -0
  60. package/es/cc/link/Properties.js +13 -3
  61. package/es/cc/list-item/Properties.js +10 -0
  62. package/es/cc/more-dropdown/Properties.js +4 -0
  63. package/es/cc/one-unification/Constants.js +24 -0
  64. package/es/cc/one-unification/unified-navigation/ActionTypes.js +1 -0
  65. package/es/cc/one-unification/unified-navigation/CommonTypes.js +1 -0
  66. package/es/cc/one-unification/unified-navigation/ConfigTypes.js +1 -0
  67. package/es/cc/one-unification/unified-navigation/HandlerTypes.js +1 -0
  68. package/es/cc/one-unification/unified-navigation/Types.js +1 -0
  69. package/es/cc/one-unification/unified-navigation/UnifiedNavigation.d.js +0 -0
  70. package/es/cc/one-unification/unified-navigation/index.js +1 -0
  71. package/es/cc/radio-dropdown/Constants.js +6 -0
  72. package/es/cc/radio-dropdown/Data.js +1 -0
  73. package/es/cc/radio-dropdown/Events.js +42 -0
  74. package/es/cc/radio-dropdown/Properties.js +142 -0
  75. package/es/cc/radio-dropdown/index.js +4 -0
  76. package/es/cc/ribbon/Properties.js +59 -0
  77. package/es/cc/ribbon/index.js +1 -0
  78. package/es/cc/search/Constants.js +6 -0
  79. package/es/cc/search/Events.js +17 -0
  80. package/es/cc/search/Properties.js +11 -0
  81. package/es/cc/search/index.js +3 -0
  82. package/es/cc/smart-navigation/Constants.js +8 -0
  83. package/es/cc/smart-navigation/Events.js +107 -0
  84. package/es/cc/smart-navigation/Properties.js +87 -0
  85. package/es/cc/smart-navigation/index.js +4 -0
  86. package/es/cc/sort-dropdown/Constants.js +7 -0
  87. package/es/cc/sort-dropdown/Events.js +46 -0
  88. package/es/cc/sort-dropdown/Properties.js +135 -0
  89. package/es/cc/sort-dropdown/index.js +3 -0
  90. package/es/cc/switch/Properties.js +2 -2
  91. package/es/cc/table-column-chooser/Constants.js +2 -1
  92. package/es/cc/table-connected/Properties.js +16 -0
  93. package/es/cc/table-connected/SdkContract.js +46 -0
  94. package/es/cc/table-connected/constants/Events.js +2 -0
  95. package/es/cc/table-list/Actions.js +0 -2
  96. package/es/cc/table-list/Constants.js +1 -1
  97. package/es/cc/table-list/Events.js +0 -2
  98. package/es/cc/table-list/Properties.js +35 -38
  99. package/es/cc/table-list/data-types/FloatPaginationConfig.js +1 -0
  100. package/es/cc/tag/Constants.js +6 -0
  101. package/es/cc/tag/Data.js +14 -0
  102. package/es/cc/tag/EventHandlers.js +1 -0
  103. package/es/cc/tag/Events.js +26 -0
  104. package/es/cc/{tags/model/TagModel.js → tag/Model.js} +6 -2
  105. package/es/cc/tag/Properties.js +104 -0
  106. package/es/cc/tag/index.js +6 -0
  107. package/es/cc/tags/Data.js +0 -6
  108. package/es/cc/tags/model/index.js +1 -1
  109. package/es/cc/tags-list-dropdown/Constants.js +5 -0
  110. package/es/cc/tags-list-dropdown/Data.js +1 -0
  111. package/es/cc/tags-list-dropdown/Events.js +14 -0
  112. package/es/cc/tags-list-dropdown/Properties.js +96 -0
  113. package/es/cc/tags-list-dropdown/index.js +4 -0
  114. package/es/cc/text/Properties.js +100 -0
  115. package/es/cc/textbox/Properties.js +1 -1
  116. package/es/index.js +8 -3
  117. package/es/library/behaviours/action-band/adapters/controllers/AbstractController.js +10 -0
  118. package/es/library/behaviours/action-band/adapters/controllers/MountController.js +21 -0
  119. package/es/library/behaviours/action-band/adapters/gateways/Repository.js +24 -0
  120. package/es/library/behaviours/action-band/adapters/gateways/Service.js +11 -0
  121. package/es/library/behaviours/action-band/applications/interfaces/State.js +1 -0
  122. package/es/library/behaviours/action-band/applications/interfaces/UseCaseDependencies.js +1 -0
  123. package/es/library/behaviours/action-band/applications/interfaces/gateways/IRepository.js +1 -0
  124. package/es/library/behaviours/action-band/applications/interfaces/gateways/IService.js +1 -0
  125. package/es/library/behaviours/action-band/applications/interfaces/input/InitializeInput.js +1 -0
  126. package/es/library/behaviours/action-band/applications/usecases/AbstractUseCase.js +17 -0
  127. package/es/library/behaviours/action-band/applications/usecases/InitializeUseCase.js +20 -0
  128. package/es/library/behaviours/action-band/domain/entities/ActionBand.js +95 -0
  129. package/es/library/behaviours/action-band/domain/entities/interfaces/IActionBand.js +1 -0
  130. package/es/library/behaviours/action-band/domain/entities/interfaces/IActionModel.js +1 -0
  131. package/es/library/behaviours/action-band/domain/entities/interfaces/IApiPropsModel.js +1 -0
  132. package/es/library/behaviours/action-band/domain/entities/interfaces/Properties.js +1 -0
  133. package/es/library/behaviours/action-band/frameworks/ActionBandBehaviourFactory.js +21 -0
  134. package/es/library/behaviours/action-band/frameworks/ActionHandlersFactory.js +17 -0
  135. package/es/library/behaviours/clip-wrap/adapters/controllers/DestructController.js +3 -3
  136. package/es/library/behaviours/clip-wrap/adapters/controllers/InitializeController.js +3 -3
  137. package/es/library/behaviours/clip-wrap/adapters/gateway/Service.js +4 -0
  138. package/es/library/behaviours/clip-wrap/applications/usecases/ClipWrapUpdateUseCase.js +19 -0
  139. package/es/library/behaviours/float-pagination/adapters/controllers/AbstractController.js +9 -0
  140. package/es/library/behaviours/float-pagination/adapters/controllers/DestructController.js +18 -0
  141. package/es/library/behaviours/float-pagination/adapters/controllers/FloatPaginationController.js +25 -0
  142. package/es/library/behaviours/float-pagination/adapters/controllers/InitializeController.js +18 -0
  143. package/es/library/behaviours/float-pagination/adapters/controllers/ScrollBottomController.js +23 -0
  144. package/es/library/behaviours/float-pagination/adapters/controllers/ScrollTopController.js +23 -0
  145. package/es/library/behaviours/float-pagination/adapters/controllers/UpdateIndexController.js +30 -0
  146. package/es/library/behaviours/float-pagination/adapters/gateway/Repository.js +27 -0
  147. package/es/library/behaviours/float-pagination/adapters/gateway/Service.js +20 -0
  148. package/es/library/behaviours/float-pagination/adapters/presenter/Presenter.js +16 -0
  149. package/es/library/behaviours/float-pagination/applications/interfaces/UseCaseDependencies.js +1 -0
  150. package/es/library/behaviours/float-pagination/applications/interfaces/gateways/IRepository.js +1 -0
  151. package/es/library/behaviours/float-pagination/applications/interfaces/gateways/IService.js +1 -0
  152. package/es/library/behaviours/float-pagination/applications/interfaces/input/DestructInputModel.js +1 -0
  153. package/es/library/behaviours/float-pagination/applications/interfaces/input/FloatPaginationInputModel.js +1 -0
  154. package/es/library/behaviours/float-pagination/applications/interfaces/input/InitializeInputModel.js +1 -0
  155. package/es/library/behaviours/float-pagination/applications/interfaces/input/ScrollTopInputModel.js +1 -0
  156. package/es/library/behaviours/float-pagination/applications/interfaces/input/ScrollbottomInputModel.js +1 -0
  157. package/es/library/behaviours/float-pagination/applications/interfaces/input/UpdateIndexInputModel.js +1 -0
  158. package/es/library/behaviours/float-pagination/applications/interfaces/output/FloatPaginationOutputModel.js +1 -0
  159. package/es/library/behaviours/float-pagination/applications/interfaces/output/IPresenter.js +1 -0
  160. package/es/library/behaviours/float-pagination/applications/usecases/AbstractUseCase.js +17 -0
  161. package/es/library/behaviours/float-pagination/applications/usecases/DestructUsecase.js +15 -0
  162. package/es/library/behaviours/float-pagination/applications/usecases/FloatPaginationUseCase.js +31 -0
  163. package/es/library/behaviours/float-pagination/applications/usecases/InitializeUsecase.js +16 -0
  164. package/es/library/behaviours/float-pagination/applications/usecases/ScrollBottomUseCase.js +23 -0
  165. package/es/library/behaviours/float-pagination/applications/usecases/ScrollTopUseCase.js +23 -0
  166. package/es/library/behaviours/float-pagination/applications/usecases/UpdateIndexUseCase.js +28 -0
  167. package/es/library/behaviours/float-pagination/domain/entities/FloatPagination.js +28 -0
  168. package/es/library/behaviours/float-pagination/domain/entities/interfaces/IFloatPagination.js +1 -0
  169. package/es/library/behaviours/float-pagination/frameworks/ui/ActionsHandlerFactory.js +37 -0
  170. package/es/library/behaviours/float-pagination/frameworks/ui/FloatPaginationBehaviourFactory.js +21 -0
  171. package/es/library/behaviours/float-pagination/frameworks/utils.js +70 -0
  172. package/es/library/behaviours/keyboard-controls/adapters/gateways/Repository.js +2 -1
  173. package/es/library/behaviours/keyboard-controls/applications/usecases/SpacePress.js +1 -1
  174. package/es/library/behaviours/keyboard-controls/domain/entities/KeyboardControls.js +6 -1
  175. package/es/library/behaviours/library-loader/adapters/controllers/LibraryLoaderController.js +17 -0
  176. package/es/library/behaviours/library-loader/adapters/gateways/LibraryLoaderAdapter.js +29 -0
  177. package/es/library/behaviours/library-loader/applications/usecases/LoadLibraryUseCase.js +42 -0
  178. package/es/library/behaviours/library-loader/domain/entities/interfaces/ILibraryLoader.js +1 -0
  179. package/es/library/behaviours/library-loader/frameworks/LibraryLoaderBehaviour.js +26 -0
  180. package/es/library/behaviours/list-selection/domain/entities/ListItemSelection.js +21 -18
  181. package/es/library/behaviours/search/adapters/controllers/AbstractController.js +9 -0
  182. package/es/library/behaviours/search/adapters/controllers/SearchController.js +26 -0
  183. package/es/library/behaviours/search/adapters/controllers/UpdatePropertiesController.js +32 -0
  184. package/es/library/behaviours/search/adapters/gateway/Repository.js +20 -0
  185. package/es/library/behaviours/search/adapters/gateway/Service.js +12 -0
  186. package/es/library/behaviours/search/adapters/presenter/Presenter.js +16 -0
  187. package/es/library/behaviours/search/adapters/presenter/SearchTranslator.js +6 -0
  188. package/es/library/behaviours/search/applications/interfaces/UseCaseDependencies.js +1 -0
  189. package/es/library/behaviours/search/applications/interfaces/gateways/IRepository.js +1 -0
  190. package/es/library/behaviours/search/applications/interfaces/gateways/IService.js +1 -0
  191. package/es/library/behaviours/search/applications/interfaces/input/SearchInputModel.js +1 -0
  192. package/es/library/behaviours/search/applications/interfaces/input/UpdatePropertiesInputModel.js +1 -0
  193. package/es/library/behaviours/search/applications/interfaces/output/IPresenter.js +1 -0
  194. package/es/library/behaviours/search/applications/interfaces/output/SearchOutputModel.js +1 -0
  195. package/es/library/behaviours/search/applications/usecases/AbstractUseCase.js +17 -0
  196. package/es/library/behaviours/search/applications/usecases/SearchUseCase.js +28 -0
  197. package/es/library/behaviours/search/applications/usecases/UpdatePropertiesUsecase.js +25 -0
  198. package/es/library/behaviours/search/domain/entities/Search.js +23 -0
  199. package/es/library/behaviours/search/domain/entities/interfaces/ISearch.js +1 -0
  200. package/es/library/behaviours/search/frameworks/ui/EventHandlerFactory.js +25 -0
  201. package/es/library/behaviours/search/frameworks/ui/SearchStringStoreBehaviourFactory.js +26 -0
  202. package/es/library/behaviours/search-box/adapters/controllers/AbstractController.js +9 -0
  203. package/es/library/behaviours/search-box/adapters/controllers/ClearSearchController.js +21 -0
  204. package/es/library/behaviours/search-box/adapters/controllers/SearchController.js +26 -0
  205. package/es/library/behaviours/search-box/adapters/gateway/Repository.js +28 -0
  206. package/es/library/behaviours/search-box/adapters/gateway/Service.js +12 -0
  207. package/es/library/behaviours/search-box/adapters/presenter/Presenter.js +21 -0
  208. package/es/library/behaviours/search-box/applications/interfaces/UseCaseDependencies.js +1 -0
  209. package/es/library/behaviours/search-box/applications/interfaces/gateways/IRepository.js +1 -0
  210. package/es/library/behaviours/search-box/applications/interfaces/gateways/IService.js +1 -0
  211. package/es/library/behaviours/search-box/applications/interfaces/input/ClearSearchInputModel.js +1 -0
  212. package/es/library/behaviours/search-box/applications/interfaces/input/SearchInputModel.js +1 -0
  213. package/es/library/behaviours/search-box/applications/interfaces/output/IPresenter.js +1 -0
  214. package/es/library/behaviours/search-box/applications/interfaces/output/SearchOutputModel.js +1 -0
  215. package/es/library/behaviours/search-box/applications/usecases/AbstractUseCase.js +17 -0
  216. package/es/library/behaviours/search-box/applications/usecases/ClearSearchUseCase.js +24 -0
  217. package/es/library/behaviours/search-box/applications/usecases/SearchUseCase.js +25 -0
  218. package/es/library/behaviours/search-box/domain/entities/Search.js +22 -0
  219. package/es/library/behaviours/search-box/domain/entities/interfaces/ISearch.js +1 -0
  220. package/es/library/behaviours/search-box/frameworks/ui/ActionsHandlerFactory.js +24 -0
  221. package/es/library/behaviours/search-box/frameworks/ui/SearchBehaviourFactory.js +26 -0
  222. package/es/library/behaviours/sort-by/adapters/controllers/{SortBy.js → SortByController.js} +6 -6
  223. package/es/library/behaviours/sort-by/adapters/gateway/Repository.js +18 -6
  224. package/es/library/behaviours/sort-by/adapters/gateway/Service.js +2 -2
  225. package/es/library/behaviours/sort-by/adapters/presenter/Presenter.js +8 -1
  226. package/es/library/behaviours/sort-by/applications/interfaces/input/UpdateSortByUseCaseInputModel.js +1 -0
  227. package/es/library/behaviours/sort-by/applications/interfaces/output/SearchOutputModel.js +1 -0
  228. package/es/library/behaviours/sort-by/applications/usecases/{SortBy.js → SortByUseCase.js} +12 -13
  229. package/es/library/behaviours/sort-by/applications/usecases/UpdateSortByUseCase.js +25 -0
  230. package/es/library/behaviours/sort-by/domain/entities/SortBy.js +11 -25
  231. package/es/library/behaviours/sort-by/frameworks/ui/ActionsHandlerFactory.js +7 -5
  232. package/es/library/behaviours/sort-by/frameworks/ui/SortByBehaviourFactory.js +17 -7
  233. package/es/library/custom-component/adapters/gateways/event-manager/EventManager.js +9 -3
  234. package/es/library/custom-component/applications/usecases/DispatchUseCase.js +1 -0
  235. package/es/library/custom-component/applications/usecases/InitializeUseCase.js +1 -0
  236. package/es/library/custom-component/applications/usecases/MountUseCase.js +1 -0
  237. package/es/library/custom-component/applications/usecases/SetRefUseCase.js +7 -0
  238. package/es/library/custom-component/applications/usecases/UnmountUseCase.js +1 -0
  239. package/es/library/custom-component/applications/usecases/UpdatePropertyUseCase.js +1 -0
  240. package/es/library/custom-component/domain/entities/Component.js +1 -0
  241. package/es/library/custom-component/domain/entities/ComponentProperties.js +1 -1
  242. package/es/library/custom-component/domain/entities/Logger.js +7 -12
  243. package/es/library/dot/components/action-location/frameworks/ui/ActionComponentMapping.js +7 -1
  244. package/es/library/dot/components/form-fields/currency/frameworks/ui/CurrencyView.js +2 -0
  245. package/es/library/dot/components/form-fields/decimal/frameworks/ui/DecimalView.js +2 -0
  246. package/es/library/dot/components/form-fields/email/frameworks/ui/Email.js +1 -1
  247. package/es/library/dot/components/form-fields/email/frameworks/ui/EmailView.js +2 -0
  248. package/es/library/dot/components/form-fields/number/frameworks/ui/NumberView.js +2 -0
  249. package/es/library/dot/components/form-fields/phone/frameworks/ui/PhoneView.js +2 -0
  250. package/es/library/dot/components/form-fields/textarea/frameworks/ui/TextArea.js +1 -1
  251. package/es/library/dot/components/form-fields/textarea/frameworks/ui/TextAreaView.js +4 -2
  252. package/es/library/dot/components/form-fields/textbox/frameworks/ui/TextBoxView.js +2 -0
  253. package/es/library/dot/components/form-fields/url/frameworks/ui/UrlView.js +2 -0
  254. package/es/library/dot/components/table-list/adapters/controllers/ScrollController.js +2 -2
  255. package/es/library/dot/components/table-list/adapters/controllers/index.js +0 -2
  256. package/es/library/dot/components/table-list/frameworks/ui/EventHandlersFactory.js +1 -2
  257. package/es/library/dot/components/table-list/frameworks/ui/TableListView.js +24 -1
  258. package/es/library/dot/components/table-list/frameworks/ui/css/TableList.module.css +19 -2
  259. package/es/library/dot/components/table-list/frameworks/ui/sub-components/header/HeaderData.js +1 -1
  260. package/es/library/dot/components/table-list/frameworks/ui/sub-components/row/Row.js +4 -6
  261. package/es/library/dot/legacy-to-new-arch/action-band-components/search/frameworks/ui/Search.js +41 -0
  262. package/es/library/dot/legacy-to-new-arch/action-band-components/search/frameworks/ui/SearchTranslator.js +16 -0
  263. package/es/library/dot/legacy-to-new-arch/action-band-components/search/frameworks/ui/SearchView.js +37 -0
  264. package/es/library/dot/legacy-to-new-arch/action-icon/frameworks/ui/ActionIconView.js +5 -1
  265. package/es/library/dot/legacy-to-new-arch/email/frameworks/ui/EmailView.js +4 -2
  266. package/es/library/dot/legacy-to-new-arch/floating-pagination/frameworks/ui/FloatingPagination.js +10 -0
  267. package/es/library/dot/legacy-to-new-arch/floating-pagination/frameworks/ui/FloatingPaginationView.js +47 -0
  268. package/es/library/dot/legacy-to-new-arch/highlighted-value/frameworks/ui/HighlightedValueView.js +6 -1
  269. package/es/library/dot/legacy-to-new-arch/index.js +3 -1
  270. package/es/library/dot/legacy-to-new-arch/link/frameworks/ui/LinkView.js +4 -2
  271. package/es/library/dot/legacy-to-new-arch/list-item/frameworks/ui/ListItemView.js +4 -0
  272. package/es/library/dot/legacy-to-new-arch/radio-dropdown/frameworks/ui/RadioDropdown.js +12 -0
  273. package/es/library/dot/legacy-to-new-arch/radio-dropdown/frameworks/ui/RadioDropdownView.js +125 -0
  274. package/es/library/dot/legacy-to-new-arch/radio-dropdown/frameworks/ui/css/RadioDropdown.module.css +23 -0
  275. package/es/library/dot/legacy-to-new-arch/ribbon/frameworks/ui/Ribbon.js +10 -0
  276. package/es/library/dot/legacy-to-new-arch/ribbon/frameworks/ui/RibbonView.js +37 -0
  277. package/es/library/dot/legacy-to-new-arch/sort-dropdown/frameworks/ui/SortDropdown.js +31 -0
  278. package/es/library/dot/legacy-to-new-arch/sort-dropdown/frameworks/ui/SortDropdownTranslator.js +33 -0
  279. package/es/library/dot/legacy-to-new-arch/sort-dropdown/frameworks/ui/SortDropdownView.js +83 -0
  280. package/es/library/dot/legacy-to-new-arch/table-field-components/checkbox-field/frameworks/ui/CheckboxField.js +12 -2
  281. package/es/library/dot/legacy-to-new-arch/table-field-components/checkbox-field/frameworks/ui/CheckboxFieldView.js +8 -5
  282. package/es/library/dot/legacy-to-new-arch/table-field-components/checkbox-field/frameworks/ui/EventHandlersFactory.js +3 -3
  283. package/es/library/dot/legacy-to-new-arch/table-field-components/email-field/frameworks/ui/EmailField.js +3 -3
  284. package/es/library/dot/legacy-to-new-arch/table-field-components/email-field/frameworks/ui/EmailFieldView.js +8 -6
  285. package/es/library/dot/legacy-to-new-arch/table-field-components/highlighted-value-field/frameworks/ui/EventHandlersFactory.js +26 -0
  286. package/es/library/dot/legacy-to-new-arch/table-field-components/highlighted-value-field/frameworks/ui/HighlightedValueField.js +23 -0
  287. package/es/library/dot/legacy-to-new-arch/table-field-components/highlighted-value-field/frameworks/ui/HighlightedValueFieldView.js +24 -0
  288. package/es/library/dot/legacy-to-new-arch/table-field-components/index.js +22 -5
  289. package/es/library/dot/legacy-to-new-arch/table-field-components/labeled-avatar-field/frameworks/ui/EventHandlersFactory.js +26 -0
  290. package/es/library/dot/legacy-to-new-arch/table-field-components/labeled-avatar-field/frameworks/ui/LabeledAvatarField.js +23 -0
  291. package/es/library/dot/legacy-to-new-arch/table-field-components/labeled-avatar-field/frameworks/ui/LabeledAvatarFieldView.js +22 -0
  292. package/es/library/dot/legacy-to-new-arch/table-field-components/link-field/frameworks/ui/EventHandlersFactory.js +26 -0
  293. package/es/library/dot/legacy-to-new-arch/table-field-components/link-field/frameworks/ui/LinkField.js +23 -0
  294. package/es/library/dot/legacy-to-new-arch/table-field-components/link-field/frameworks/ui/LinkFieldView.js +26 -0
  295. package/es/library/dot/legacy-to-new-arch/table-field-components/lookup-field/frameworks/ui/LookupFieldView.js +1 -1
  296. package/es/library/dot/legacy-to-new-arch/table-field-components/phone-field/frameworks/ui/PhoneFieldView.js +1 -1
  297. package/es/library/dot/legacy-to-new-arch/table-field-components/radio-dropdown-field/frameworks/ui/EventHandlersFactory.js +46 -0
  298. package/es/library/dot/legacy-to-new-arch/table-field-components/radio-dropdown-field/frameworks/ui/RadioDropdownField.js +49 -0
  299. package/es/library/dot/legacy-to-new-arch/table-field-components/radio-dropdown-field/frameworks/ui/RadioDropdownFieldView.js +43 -0
  300. package/es/library/dot/legacy-to-new-arch/table-field-components/radio-dropdown-field/frameworks/ui/css/RadioDropdownField.module.css +3 -0
  301. package/es/library/dot/legacy-to-new-arch/table-field-components/switch-field/frameworks/ui/EventHandlersFactory.js +3 -3
  302. package/es/library/dot/legacy-to-new-arch/table-field-components/switch-field/frameworks/ui/SwitchField.js +14 -4
  303. package/es/library/dot/legacy-to-new-arch/table-field-components/switch-field/frameworks/ui/SwitchFieldView.js +8 -4
  304. package/es/library/dot/legacy-to-new-arch/table-field-components/tag-field/frameworks/ui/EventHandlersFactory.js +26 -0
  305. package/es/library/dot/legacy-to-new-arch/table-field-components/tag-field/frameworks/ui/TagField.js +23 -0
  306. package/es/library/dot/legacy-to-new-arch/table-field-components/tag-field/frameworks/ui/TagFieldView.js +34 -0
  307. package/es/library/dot/legacy-to-new-arch/table-field-components/tags-field/frameworks/ui/EventHandlersFactory.js +26 -0
  308. package/es/library/dot/legacy-to-new-arch/table-field-components/tags-field/frameworks/ui/TagsField.js +23 -0
  309. package/es/library/dot/legacy-to-new-arch/table-field-components/tags-field/frameworks/ui/TagsFieldView.js +18 -0
  310. package/es/library/dot/legacy-to-new-arch/table-field-components/tags-list-dropdown-field/frameworks/ui/TagsListDropdownField.js +44 -0
  311. package/es/library/dot/legacy-to-new-arch/table-field-components/tags-list-dropdown-field/frameworks/ui/TagsListDropdownFieldView.js +24 -0
  312. package/es/library/dot/legacy-to-new-arch/table-field-components/text-field/frameworks/ui/EventHandlersFactory.js +26 -0
  313. package/es/library/dot/legacy-to-new-arch/table-field-components/text-field/frameworks/ui/TextField.js +23 -0
  314. package/es/library/dot/legacy-to-new-arch/table-field-components/text-field/frameworks/ui/TextFieldView.js +40 -0
  315. package/es/library/dot/legacy-to-new-arch/table-field-components/url-field/frameworks/ui/UrlFieldView.js +1 -1
  316. package/es/library/dot/legacy-to-new-arch/tag/frameworks/ui/Tag.js +11 -0
  317. package/es/library/dot/legacy-to-new-arch/tag/frameworks/ui/Tag.module.css +8 -0
  318. package/es/library/dot/legacy-to-new-arch/tag/frameworks/ui/TagView.js +96 -0
  319. package/es/library/dot/legacy-to-new-arch/tags-list-dropdown/frameworks/ui/TagContractAdapter.js +24 -0
  320. package/es/library/dot/legacy-to-new-arch/tags-list-dropdown/frameworks/ui/TagsListDropdown.js +12 -0
  321. package/es/library/dot/legacy-to-new-arch/tags-list-dropdown/frameworks/ui/TagsListDropdownView.js +42 -0
  322. package/es/library/dot/legacy-to-new-arch/text/frameworks/ui/Text.js +2 -2
  323. package/es/library/dot/legacy-to-new-arch/text/frameworks/ui/TextView.js +22 -1
  324. package/es/platform/app-context-behaviour/adapters/controllers/AbstractController.js +9 -0
  325. package/es/platform/app-context-behaviour/adapters/controllers/UpdatePropertiesController.js +32 -0
  326. package/es/platform/app-context-behaviour/adapters/gateway/Repository.js +22 -0
  327. package/es/platform/app-context-behaviour/adapters/gateway/Service.js +10 -0
  328. package/es/platform/app-context-behaviour/adapters/presenter/Presenter.js +16 -0
  329. package/es/platform/app-context-behaviour/applications/interfaces/UseCaseDependencies.js +1 -0
  330. package/es/platform/app-context-behaviour/applications/interfaces/gateways/IRepository.js +1 -0
  331. package/es/platform/app-context-behaviour/applications/interfaces/gateways/IService.js +1 -0
  332. package/es/platform/app-context-behaviour/applications/interfaces/input/UpdatePropertiesInputModel.js +1 -0
  333. package/es/platform/app-context-behaviour/applications/interfaces/output/BehaviourOutputModel.js +1 -0
  334. package/es/platform/app-context-behaviour/applications/interfaces/output/IPresenter.js +1 -0
  335. package/es/platform/app-context-behaviour/applications/usecases/AbstractUseCase.js +17 -0
  336. package/es/platform/app-context-behaviour/applications/usecases/UpdatePropertiesUsecase.js +25 -0
  337. package/es/platform/app-context-behaviour/domain/entities/AppContext.js +44 -0
  338. package/es/platform/app-context-behaviour/domain/entities/interfaces/IAppContext.js +1 -0
  339. package/es/platform/app-context-behaviour/frameworks/AppContextBehaviourFactory.js +2 -2
  340. package/es/platform/app-context-behaviour/frameworks/EventHandlerFactory.js +22 -0
  341. package/es/platform/client-actions/behaviour/zclient-actions/adapters/presenters/FilterUtils.js +11 -0
  342. package/es/platform/client-actions/behaviour/zclient-actions/adapters/resources/ClientActionsFetchSDK.js +76 -0
  343. package/es/platform/client-actions/behaviour/zclient-actions/applications/interfaces/ClientActionsAPIGatewayParams.js +1 -0
  344. package/es/platform/client-actions/behaviour/zclient-actions/applications/interfaces/ClientActionsFetchSDKParams.js +10 -0
  345. package/es/platform/client-actions/behaviour/zclient-actions/applications/interfaces/IClientActionsFetchSDK.js +0 -0
  346. package/es/platform/client-actions/components/interfaces/ActionViewModel.js +1 -0
  347. package/es/platform/client-actions/components/row-actions-renderer/frameworks/ui/RowActions/RowActionsRenderer.module.css +4 -0
  348. package/es/platform/client-scripts/bc/zclient-scripts-execution/Constants.js +2 -4
  349. package/es/platform/client-scripts/behaviour/zclient-scripts-execution/domain/entities/ClientScriptExecutor.js +33 -60
  350. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/adapters/resources/ClientScriptsFetchSDK.js +43 -0
  351. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/applications/interfaces/ClientScriptsAPIGatewayParams.js +1 -0
  352. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/applications/interfaces/ClientScriptsSDKFetchParams.js +1 -0
  353. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/applications/interfaces/IClientScriptsFetchSDK.js +0 -0
  354. package/es/platform/client-scripts/behaviour/zclient-scripts-fetch/domain/entities/interfaces/ClientScriptModel.js +5 -1
  355. package/es/platform/column-chooser/adapters/controllers/ColumnChooserOpenController.js +14 -6
  356. package/es/platform/column-chooser/adapters/controllers/ColumnChooserUpdateController.js +22 -0
  357. package/es/platform/column-chooser/adapters/gateways/Repository.js +12 -1
  358. package/es/platform/column-chooser/adapters/gateways/Service.js +2 -0
  359. package/es/platform/column-chooser/applications/interfaces/input/ColumnChooserUpdateInput.js +1 -0
  360. package/es/platform/column-chooser/applications/usecases/ColumnChooserSaveUseCase.js +8 -1
  361. package/es/platform/column-chooser/applications/usecases/ColumnChooserUpdateUseCase.js +35 -0
  362. package/es/platform/column-chooser/domain/entities/ColumnChooserImp.js +6 -0
  363. package/es/platform/column-chooser/frameworks/EventHandlersFactory.js +6 -4
  364. package/es/platform/components/index.js +3 -1
  365. package/es/platform/components/smart-action-band/adapters/presenters/ActionBandTranslator.js +135 -0
  366. package/es/platform/components/smart-action-band/adapters/presenters/translators/interfaces/ActionBandTranslatorState.js +1 -0
  367. package/es/platform/components/smart-action-band/adapters/presenters/utils/DefaultClientActions.js +179 -0
  368. package/es/platform/components/smart-action-band/adapters/resources/SmartActionBandResource.js +46 -0
  369. package/es/platform/components/smart-action-band/applications/interfaces/ISmartActionBandResource.js +1 -0
  370. package/es/platform/components/smart-action-band/applications/interfaces/State.js +1 -0
  371. package/es/platform/components/smart-action-band/applications/interfaces/UseCaseDependencies.js +1 -0
  372. package/es/platform/components/smart-action-band/applications/interfaces/output/IPresenter.js +1 -0
  373. package/es/platform/components/smart-action-band/applications/usecases/AbstractUseCase.js +18 -0
  374. package/es/platform/components/smart-action-band/domain/entities/interfaces/Properties.js +1 -0
  375. package/es/platform/components/smart-action-band/frameworks/EventHandlersFactory.js +147 -0
  376. package/es/platform/components/smart-action-band/frameworks/SmartActionBand.js +5 -0
  377. package/es/platform/components/smart-action-band/frameworks/SmartActionBandFactory.js +58 -0
  378. package/es/platform/components/smart-action-band/frameworks/SmartActionBandSdkFactory.js +24 -0
  379. package/es/platform/components/smart-action-band/frameworks/SmartActionBandView.js +48 -0
  380. package/es/platform/components/smart-navigation/adapters/controllers/LoadScriptController.js +0 -0
  381. package/es/platform/components/smart-navigation/adapters/controllers/UiModelInitializeController.js +0 -0
  382. package/es/platform/components/smart-navigation/adapters/presenters/OneUnifiedNavigationTranslator.js +248 -0
  383. package/es/platform/components/smart-navigation/adapters/presenters/Present.js +77 -0
  384. package/es/platform/components/smart-navigation/adapters/presenters/SampleModel.js +356 -0
  385. package/es/platform/components/smart-navigation/adapters/resources/SmartNavigationResource.js +96 -0
  386. package/es/platform/components/smart-navigation/applications/usecases/NavigateModuleUseCase.js +0 -0
  387. package/es/platform/components/smart-navigation/frameworks/CustomElementRenderer.js +22 -0
  388. package/es/platform/components/smart-navigation/frameworks/SmartNavigation.js +12 -0
  389. package/es/platform/components/smart-navigation/frameworks/one-unification/OneUnificationEventHandlers.js +156 -0
  390. package/es/platform/components/smart-navigation/frameworks/one-unification/SmartNavigation.js +83 -0
  391. package/es/platform/components/smart-navigation/frameworks/one-unification/SmartNavigation.module.css +3 -0
  392. package/es/platform/components/smart-navigation/frameworks/one-unification/SmartNavigationEventHandlers.js +173 -0
  393. package/es/platform/components/smart-navigation/frameworks/one-unification/UnifiedNavigation.js +48 -0
  394. package/es/platform/components/smart-navigation/frameworks/one-unification/UnifiedNavigationActions.js +144 -0
  395. package/es/platform/components/table-connected/adapters/controllers/ScrollController.js +29 -8
  396. package/es/platform/components/table-connected/adapters/controllers/ScrollEndReachedController.js +23 -0
  397. package/es/platform/components/table-connected/adapters/resources/SmartTableResource.js +224 -8
  398. package/es/platform/components/table-connected/frameworks/EventHandlersFactory.js +39 -12
  399. package/es/platform/components/table-connected/frameworks/ListSdkFactory.js +4 -2
  400. package/es/platform/components/table-connected/frameworks/TableConnectedFactory.js +7 -1
  401. package/es/platform/components/table-connected/frameworks/TableConnectedView.js +2 -0
  402. package/es/platform/data-source/http-template/fetchLookupFields.js +0 -6
  403. package/es/platform/data-source/http-template/getComponentMapping.js +17 -0
  404. package/es/platform/data-source/http-template/getPageClientActions.js +23 -0
  405. package/es/platform/data-source/http-template/getRecords.js +1 -0
  406. package/es/platform/data-source/http-template/getSingleRecord.js +51 -0
  407. package/es/platform/data-source/index.js +5 -1
  408. package/es/platform/data-source/utils/validation-rules/FieldConditions.js +1 -1
  409. package/es/platform/sdk/frameworks/Sdk.js +7 -0
  410. package/es/platform/sdk-behaviour/adapters/controllers/InitializeController.js +7 -2
  411. package/es/platform/sdk-behaviour/applications/usecases/CreateResourceInstanceUseCase.js +10 -1
  412. package/es/platform/zfield/applications/usecases/FetchSuccessUseCase.js +33 -0
  413. package/es/platform/zfield/domain/entities/fields-manager/FieldsManager.js +5 -0
  414. package/es/platform/zform/adapters/controllers/GetInitialRecordSuccessController.js +31 -0
  415. package/es/platform/zform/adapters/gateway/FormRepository.js +10 -2
  416. package/es/platform/zform/adapters/gateway/Service.js +2 -0
  417. package/es/platform/zform/adapters/presenter/FormTranslator.js +27 -15
  418. package/es/platform/zform/adapters/presenter/translators/SectionTranslator.js +1 -1
  419. package/es/platform/zform/adapters/presenter/translators/fields/CurrencyFieldTranslator.js +1 -0
  420. package/es/platform/zform/adapters/presenter/translators/fields/DecimalFieldTranslator.js +1 -0
  421. package/es/platform/zform/adapters/presenter/translators/fields/EmailFieldTranslator.js +1 -0
  422. package/es/platform/zform/adapters/presenter/translators/fields/LookUpFieldTranslator.js +11 -7
  423. package/es/platform/zform/adapters/presenter/translators/fields/NumberFieldTranslator.js +1 -0
  424. package/es/platform/zform/adapters/presenter/translators/fields/PhoneFieldTranslator.js +1 -0
  425. package/es/platform/zform/adapters/presenter/translators/fields/TextAreaFieldTranslator.js +1 -0
  426. package/es/platform/zform/adapters/presenter/translators/fields/TextFieldTranslator.js +1 -0
  427. package/es/platform/zform/adapters/presenter/translators/fields/URLFieldTranslator.js +1 -0
  428. package/es/platform/zform/adapters/presenter/utils/sanitizeHtmlString.js +2 -2
  429. package/es/platform/zform/applications/interfaces/input/GetInitialRecordSuccessUseCaseInputModel.js +1 -0
  430. package/es/platform/zform/applications/usecases/GetInitialRecordSuccessUseCase.js +132 -0
  431. package/es/platform/zform/applications/usecases/InitializeUseCase.js +54 -30
  432. package/es/platform/zform/applications/usecases/LookupFieldSuccessUseCase.js +5 -0
  433. package/es/platform/zform/applications/usecases/MyFormSuccessUseCase.js +12 -11
  434. package/es/platform/zform/applications/usecases/SubmitValidationCompletedUseCase.js +21 -8
  435. package/es/platform/zform/domain/ZField.js +7 -5
  436. package/es/platform/zform/domain/ZForm.js +97 -20
  437. package/es/platform/zform/frameworks/ui/EventHandlerFactory.js +23 -5
  438. package/es/platform/zform/frameworks/ui/ZFormBehaviourFactory.js +2 -0
  439. package/es/platform/zlist/adapters/controllers/RefreshRecordsRequestedController.js +21 -0
  440. package/es/platform/zlist/adapters/controllers/SortController.js +2 -2
  441. package/es/platform/zlist/adapters/gateways/Repository.js +6 -11
  442. package/es/platform/zlist/adapters/gateways/Service.js +2 -0
  443. package/es/platform/zlist/adapters/presenters/TableTranslator.js +62 -17
  444. package/es/platform/zlist/adapters/presenters/translators/ColumnTranslator.js +57 -49
  445. package/es/platform/zlist/adapters/presenters/translators/FieldVariations.js +25 -0
  446. package/es/platform/zlist/adapters/presenters/translators/Header.js +29 -21
  447. package/es/platform/zlist/adapters/presenters/translators/HeadersTranslator.js +3 -3
  448. package/es/platform/zlist/adapters/presenters/translators/Row.js +16 -2
  449. package/es/platform/zlist/adapters/presenters/translators/RowsTranslator.js +3 -1
  450. package/es/platform/zlist/adapters/presenters/translators/fields/BooleanFieldTranslator.js +87 -12
  451. package/es/platform/zlist/adapters/presenters/translators/fields/CurrencyFieldTranslator.js +66 -11
  452. package/es/platform/zlist/adapters/presenters/translators/fields/DateFieldTranslator.js +33 -8
  453. package/es/platform/zlist/adapters/presenters/translators/fields/DateTimeFieldTranslator.js +33 -8
  454. package/es/platform/zlist/adapters/presenters/translators/fields/DecimalFieldTranslator.js +16 -9
  455. package/es/platform/zlist/adapters/presenters/translators/fields/EmailFieldTranslator.js +29 -9
  456. package/es/platform/zlist/adapters/presenters/translators/fields/FormulaFieldTranslator.js +23 -27
  457. package/es/platform/zlist/adapters/presenters/translators/fields/LookUpFieldTranslator.js +106 -17
  458. package/es/platform/zlist/adapters/presenters/translators/fields/MultiLineFieldTranslator.js +16 -9
  459. package/es/platform/zlist/adapters/presenters/translators/fields/MultiSelectFieldTranslator.js +100 -26
  460. package/es/platform/zlist/adapters/presenters/translators/fields/NumberFieldTranslator.js +16 -9
  461. package/es/platform/zlist/adapters/presenters/translators/fields/PercentageFieldTranslator.js +16 -9
  462. package/es/platform/zlist/adapters/presenters/translators/fields/PhoneFieldTranslator.js +32 -9
  463. package/es/platform/zlist/adapters/presenters/translators/fields/PickListFieldTranslator.js +167 -26
  464. package/es/platform/zlist/adapters/presenters/translators/fields/SingleLineFieldTranslator.js +16 -9
  465. package/es/platform/zlist/adapters/presenters/translators/fields/URLFieldTranslator.js +32 -9
  466. package/es/platform/zlist/adapters/presenters/utils/DateAndTimeFormat.js +25 -0
  467. package/es/platform/zlist/adapters/presenters/utils/DefaultClientActions.js +7 -4
  468. package/es/platform/zlist/adapters/presenters/utils/fieldSortLabels.js +38 -0
  469. package/es/platform/zlist/applications/entities-factory/ListFactory.js +2 -2
  470. package/es/platform/zlist/applications/interfaces/input/GetSortConfigUseCaseInputModel.js +1 -0
  471. package/es/platform/zlist/applications/interfaces/input/RefreshRecordsRequestedUseCaseInputModel.js +1 -0
  472. package/es/platform/zlist/applications/interfaces/input/SetSortConfigUseCaseInputModel.js +1 -0
  473. package/es/platform/zlist/applications/usecases/GetSortConfigUseCase.js +17 -0
  474. package/es/platform/zlist/applications/usecases/RecordSuccessCallbackUsecase.js +1 -1
  475. package/es/platform/zlist/applications/usecases/RefreshRecordsRequestedUseCase.js +17 -0
  476. package/es/platform/zlist/applications/usecases/SetSortConfigUseCase.js +26 -0
  477. package/es/platform/zlist/applications/usecases/SortUseCase.js +6 -6
  478. package/es/platform/zlist/domain/entities/List.js +32 -16
  479. package/es/platform/zlist/domain/entities/interfaces/Properties.js +5 -5
  480. package/es/platform/zlist/frameworks/EventHandlersFactory.js +3 -4
  481. package/es/platform/zlist/frameworks/ZListBehaviourFactory.js +15 -13
  482. package/es/platform/zrecord/adapters/controllers/FilterRecordLocalController.js +28 -0
  483. package/es/platform/zrecord/adapters/controllers/UpdateRecordController.js +30 -0
  484. package/es/platform/zrecord/adapters/gateways/Repository.js +5 -2
  485. package/es/platform/zrecord/adapters/gateways/Service.js +4 -0
  486. package/es/platform/zrecord/applications/entities-factory/RecordsManagerFactory.js +2 -2
  487. package/es/platform/zrecord/applications/interfaces/input/ClearAllFiltersUseCaseInputModel.js +1 -0
  488. package/es/platform/zrecord/applications/interfaces/input/FilterRecordInputModel.js +1 -0
  489. package/es/platform/zrecord/applications/interfaces/input/GetFilterConditionUseCaseInputModel.js +1 -0
  490. package/es/platform/zrecord/applications/interfaces/input/GetFilterConfigUseCaseInputModel.js +1 -0
  491. package/es/platform/zrecord/applications/interfaces/input/RefreshRecordsUseCaseInputModel.js +1 -0
  492. package/es/platform/zrecord/applications/interfaces/input/SetFilterUseCaseInputModel.js +1 -0
  493. package/es/platform/zrecord/applications/interfaces/input/UpdateRecordInputModel.js +0 -0
  494. package/es/platform/zrecord/applications/usecases/ClearAllFiltersUseCase.js +24 -0
  495. package/es/platform/zrecord/applications/usecases/FilterRecordUseCase.js +21 -0
  496. package/es/platform/zrecord/applications/usecases/GetFilterConditionUseCase.js +15 -0
  497. package/es/platform/zrecord/applications/usecases/GetFilterConfigUseCase.js +15 -0
  498. package/es/platform/zrecord/applications/usecases/RefreshRecordsUseCase.js +14 -0
  499. package/es/platform/zrecord/applications/usecases/SetFilterUseCase.js +29 -0
  500. package/es/platform/zrecord/applications/usecases/UpdateRecordUseCase.js +30 -0
  501. package/es/platform/zrecord/domain/entities/Filter.js +247 -0
  502. package/es/platform/zrecord/domain/entities/RecordsManager.js +43 -1
  503. package/es/platform/zrecord/domain/entities/interfaces/IFilter.js +1 -0
  504. package/es/platform/zrecord/frameworks/ActionsHandlersFactory.js +7 -1
  505. package/es/platform/zrecord/frameworks/RecordBehaviourFactory.js +11 -1
  506. package/package.json +27 -28
  507. package/es/bc/sort-by/SortOrderEnum.js +0 -8
  508. package/es/library/behaviours/sort-by/frameworks/ui/DemoBehaviour.js +0 -20
  509. package/es/library/dot/components/table-list/adapters/controllers/SortByController.js +0 -25
  510. package/es/library/dot/components/table-list/adapters/controllers/SortedController.js +0 -18
  511. package/es/library/dot/components/table-list/frameworks/ui/handlers/HandleSortClick.js +0 -12
  512. package/es/platform/components/table-connected/adapters/controllers/ColumnChooserOpenedController.js +0 -28
  513. package/es/platform/components/table-connected/adapters/controllers/ColumnChooserUpdateController.js +0 -31
  514. package/es/platform/zlist/adapters/gateways/SortBy.js +0 -38
  515. package/es/platform/zlist/domain/entities/SortBy.js +0 -58
  516. /package/es/{library/behaviours/sort-by/applications/interfaces/output/SortByOutputModel.js → bc/float-pagination/types/FloatPaginationBehaviourState.js} +0 -0
  517. /package/es/{platform/zlist/applications/interfaces/gateways/ISortBy.js → bc/list-selection/Types.js} +0 -0
  518. /package/es/{platform/zlist/domain/entities/interfaces/ISortBy.js → bc/search-box/types/SearchBehaviourState.js} +0 -0
@@ -1,20 +1,30 @@
1
- import Properties from "../../../../../bc/sort-by/Properties";
1
+ import properties from "../../../../../bc/sort-by/Properties";
2
2
  import ActionsHandlerFactory from "./ActionsHandlerFactory";
3
+ import { SortModelOrder } from "../../../../../platform/zlist/domain/entities/interfaces/Properties";
4
+ import { SortOrder } from "../../../../../bc/zlist/Types";
3
5
 
4
6
  class SortByBehaviourFactory {
5
7
  static create() {
6
8
  return {
7
9
  name: 'sortBy',
8
- setInitialState: _ref => {
9
- let {
10
+ setInitialState: args => {
11
+ const {
10
12
  properties
11
- } = _ref;
13
+ } = args;
12
14
  const {
13
- sortBy
15
+ sortConfig
14
16
  } = properties;
15
- return sortBy || {};
17
+ const {
18
+ defaultSortField,
19
+ defaultSortOrder
20
+ } = sortConfig;
21
+ let finalOrder = defaultSortOrder === SortModelOrder.DES ? SortOrder.DES : SortOrder.ASC;
22
+ return {
23
+ order: finalOrder,
24
+ fieldName: defaultSortField
25
+ };
16
26
  },
17
- properties: Properties,
27
+ properties,
18
28
  eventHandlers: ActionsHandlerFactory.create()
19
29
  };
20
30
  }
@@ -1,6 +1,7 @@
1
1
  // @ts-ignore
2
2
  if (__DEVELOPMENT__) {
3
3
  globalThis.enableEventLogging = false;
4
+ globalThis.enableLifeCycleEventLogging = false;
4
5
  globalThis.enableEventVerbose = false;
5
6
  }
6
7
 
@@ -42,11 +43,11 @@ class EventManager {
42
43
  }
43
44
 
44
45
  unSubscribe(events) {
45
- events.forEach((eventHandlers, key) => {
46
- this._element && eventHandlers.map(eventHandler => {
46
+ if (this._element) {
47
+ events.forEach((eventHandler, key) => {
47
48
  this._element.removeEventListener(key, eventHandler);
48
49
  });
49
- });
50
+ }
50
51
  }
51
52
 
52
53
  dispatch(event) {
@@ -91,6 +92,7 @@ class EventManager {
91
92
  code: ErrorCode.InvalidSchema,
92
93
  error: e
93
94
  };
95
+ __DEVELOPMENT__ && console.error('Schema Validation Error: ', e);
94
96
  }
95
97
 
96
98
  return error;
@@ -185,6 +187,10 @@ class EventManager {
185
187
  // @ts-ignore
186
188
  if (__DEVELOPMENT__) {
187
189
  if (globalThis.enableEventLogging && type) {
190
+ if (!globalThis.enableLifeCycleEventLogging && (type.endsWith('#MOUNT') || type.endsWith('#UN_MOUNT') || type.endsWith('#UPDATE_PROPERTIES') || type.endsWith('#STATE_UPDATED'))) {
191
+ return;
192
+ }
193
+
188
194
  const {
189
195
  msg,
190
196
  styles: nameStyles
@@ -35,6 +35,7 @@ class DispatchUseCase extends AbstractUseCase {
35
35
  eventManager.dispatch(action);
36
36
  }
37
37
  } catch (e) {
38
+ __DEVELOPMENT__ && console.error('ACA DispatchUseCase Error: ', e);
38
39
  component.setError(e);
39
40
  presenter.setError(e);
40
41
  }
@@ -15,6 +15,7 @@ class InitializeUseCase extends AbstractUseCase {
15
15
  let state = component.getState();
16
16
  presenter.render(state);
17
17
  } catch (e) {
18
+ __DEVELOPMENT__ && console.error('ACA InitializeUseCase Error: ', e);
18
19
  const error = component.getClassifiedErrorStructure(e);
19
20
  component.setError(error);
20
21
  presenter.setError(error);
@@ -18,6 +18,7 @@ class MountUsecase extends AbstractUseCase {
18
18
  eventManager.dispatch(mountAction);
19
19
  }
20
20
  } catch (e) {
21
+ __DEVELOPMENT__ && console.error('ACA MountUsecase Error: ', e);
21
22
  component.setError(e);
22
23
  presenter.setError(e);
23
24
  }
@@ -11,6 +11,12 @@ class SetRefUseCase extends AbstractUseCase {
11
11
  eventManager
12
12
  } = this.dependencies;
13
13
  const component = repository.getComponent();
14
+
15
+ if (!component) {
16
+ // NOTE: need to check why component is null
17
+ return;
18
+ }
19
+
14
20
  const eventHandlers = component.getEventHandlersWrapper();
15
21
 
16
22
  try {
@@ -20,6 +26,7 @@ class SetRefUseCase extends AbstractUseCase {
20
26
  eventManager.subscribe(eventHandlers);
21
27
  }
22
28
  } catch (e) {
29
+ __DEVELOPMENT__ && console.error('ACA SetRefUseCase Error: ', e);
23
30
  const error = component.getClassifiedErrorStructure(e);
24
31
  component.setError(error);
25
32
  presenter.setError(error);
@@ -16,6 +16,7 @@ class UnmountUsecase extends AbstractUseCase {
16
16
  eventManager.unSubscribe(eventHanlders);
17
17
  repository.clear();
18
18
  } catch (e) {
19
+ __DEVELOPMENT__ && console.error('ACA UnmountUsecase Error: ', e);
19
20
  component.setError(null);
20
21
  presenter.setError(null);
21
22
  }
@@ -28,6 +28,7 @@ class UpdatePropertyUseCase extends AbstractUseCase {
28
28
  }));
29
29
  }
30
30
  } catch (error) {
31
+ __DEVELOPMENT__ && console.error('ACA UpdatePropertyUseCase Error: ', error);
31
32
  component.setError(error);
32
33
  presenter.setError(error);
33
34
  }
@@ -210,6 +210,7 @@ export default class Component {
210
210
  ...helpers
211
211
  });
212
212
  } catch (e) {
213
+ __DEVELOPMENT__ && console.error(`ACA ${key} Event Handler Error: `, e);
213
214
  const error = {
214
215
  code: ErrorCodes.EVENT_HANDLER_FAILED,
215
216
  message: 'Error occurred in event handler for event ' + key,
@@ -113,7 +113,7 @@ export default class ComponentProperties {
113
113
  }
114
114
 
115
115
  getAppendToActionPayloadProperty() {
116
- return this.properties.getAppendToActionPayloadProperty();
116
+ return this.findProperty("appendToActionPayload").getValue();
117
117
  }
118
118
 
119
119
  }
@@ -12,7 +12,7 @@ export default class Logger {
12
12
 
13
13
 
14
14
  logPropertiesValidation(validationResults) {
15
- if (__DEVELOPMENT__) {
15
+ if (__DEVELOPMENT__ && validationResults) {
16
16
  console.group(`%cProperties Validation: %c${this.componentName}`, ERROR_PRIMARY, ERROR_SECONDARY, validationResults);
17
17
  validationResults.forEach(_ref => {
18
18
  let {
@@ -27,7 +27,7 @@ export default class Logger {
27
27
  warnings?.forEach(warning => {
28
28
  this.printResult(key, warning, 'warning');
29
29
  });
30
- console.log('%cBut, Given is:', 'color: white;font-weight: bold;', {
30
+ console.log('%cBut, Given is:', 'color: inherit;font-weight: bold;', {
31
31
  [key]: value
32
32
  });
33
33
  });
@@ -44,14 +44,9 @@ export default class Logger {
44
44
  return;
45
45
  }
46
46
 
47
- console.group(`%cError Occurred: %c${this.componentName}`, ERROR_PRIMARY, ERROR_SECONDARY, error);
48
- console.error(`%cError Code: %c${error.code}`, ERROR_PRIMARY, ERROR_SECONDARY);
49
- console.error(`%cError Message: %c${error.message}`, ERROR_PRIMARY, ERROR_SECONDARY);
50
-
51
- if (error.errorDetails?.originalError) {
52
- console.error(error.errorDetails.originalError);
53
- }
54
-
47
+ console.group(`%cError Occurred: %c${this.componentName}`, ERROR_SECONDARY, ERROR_PRIMARY, error);
48
+ console.error(`%cError Code: %c${error.code}`, ERROR_SECONDARY, ERROR_PRIMARY);
49
+ console.error(`%cError Message: %c${error.message}`, ERROR_SECONDARY, ERROR_PRIMARY);
55
50
  console.groupEnd();
56
51
  }
57
52
  }
@@ -61,11 +56,11 @@ export default class Logger {
61
56
  const log = type === 'error' ? console.error : console.warn;
62
57
 
63
58
  if (errorOrWarning.dataPath) {
64
- log(`Invalid Property %c${key}%c${errorOrWarning.dataPath} %c${errorOrWarning.message}`, ERROR_PRIMARY, ERROR_SECONDARY, 'color: white;');
59
+ log(`Invalid Property %c${key}%c${errorOrWarning.dataPath} %c${errorOrWarning.message}`, ERROR_PRIMARY, ERROR_SECONDARY, 'color: inherit;');
65
60
  return;
66
61
  }
67
62
 
68
- log(`Invalid Property %c${key} : %c${errorOrWarning.message}`, ERROR_PRIMARY, 'color: white;');
63
+ log(`Invalid Property %c${key} : %c${errorOrWarning.message}`, ERROR_PRIMARY, 'color: inherit;');
69
64
  }
70
65
  }
71
66
 
@@ -11,6 +11,9 @@ import IconButton from "../../../../legacy-to-new-arch/icon-button/frameworks/ui
11
11
  import HighlightedValue from "../../../../legacy-to-new-arch/highlighted-value/frameworks/ui/HighlightedValue";
12
12
  import Switch from "../../../../legacy-to-new-arch/switch/frameworks/ui/Switch";
13
13
  import ListItem from "../../../../legacy-to-new-arch/list-item/frameworks/ui/ListItem";
14
+ import Ribbon from "../../../../legacy-to-new-arch/ribbon/frameworks/ui/Ribbon";
15
+ import Search from "../../../../legacy-to-new-arch/action-band-components/search/frameworks/ui/Search";
16
+ import SortDropdown from "../../../../legacy-to-new-arch/sort-dropdown/frameworks/ui/SortDropdown";
14
17
  const ActionComponentMapping = {
15
18
  ['ActionIcon']: ActionIcon,
16
19
  ['Button']: Button,
@@ -23,6 +26,9 @@ const ActionComponentMapping = {
23
26
  ['TableColumnFilter']: TableColumnFilter,
24
27
  ['Breadcrumb']: Breadcrumb,
25
28
  ['IconButton']: IconButton,
26
- ['HighlightedValue']: HighlightedValue
29
+ ['HighlightedValue']: HighlightedValue,
30
+ ['Ribbon']: Ribbon,
31
+ ['Search']: Search,
32
+ ['SortDropdown']: SortDropdown
27
33
  };
28
34
  export default ActionComponentMapping;
@@ -18,6 +18,7 @@ function CurrencyView(_ref, ref) {
18
18
  label,
19
19
  value,
20
20
  placeholder,
21
+ maxLength,
21
22
  errorMessage,
22
23
  disabled,
23
24
  readonly,
@@ -54,6 +55,7 @@ function CurrencyView(_ref, ref) {
54
55
  id: id,
55
56
  value: formattedValue,
56
57
  placeholder: placeholder,
58
+ maxLength: maxLength,
57
59
  disabled: disabled,
58
60
  readonly: readonly,
59
61
  required: required,
@@ -13,6 +13,7 @@ function DecimalView(_ref, ref) {
13
13
  label,
14
14
  value,
15
15
  placeholder,
16
+ maxLength,
16
17
  errorMessage,
17
18
  disabled,
18
19
  readonly,
@@ -42,6 +43,7 @@ function DecimalView(_ref, ref) {
42
43
  id: id,
43
44
  placeholder: placeholder,
44
45
  value: value,
46
+ maxLength: maxLength,
45
47
  required: required,
46
48
  disabled: disabled,
47
49
  readonly: readonly,
@@ -1,5 +1,5 @@
1
1
  import { createCustomComponent } from "../../../../../../custom-component";
2
- import EmailProperties from "../../../../../../../cc/fields/text/Properties";
2
+ import EmailProperties from "../../../../../../../cc/fields/email/Properties";
3
3
  import EmailView from "./EmailView";
4
4
  import EventHandlersFactory from "./EventHandlerFactory";
5
5
  import FocusFieldBehaviourFactory from "../../../../../../behaviours/field-focus/frameworks/ui/FocusFieldBehaviourFactory";
@@ -13,6 +13,7 @@ function EmailView(_ref, ref) {
13
13
  label,
14
14
  value,
15
15
  placeholder,
16
+ maxLength,
16
17
  disabled,
17
18
  readonly,
18
19
  errorMessage,
@@ -42,6 +43,7 @@ function EmailView(_ref, ref) {
42
43
  id: id,
43
44
  placeholder: placeholder,
44
45
  value: value,
46
+ maxLength: maxLength,
45
47
  disabled: disabled,
46
48
  readonly: readonly,
47
49
  required: required,
@@ -13,6 +13,7 @@ function NumberView(_ref, ref) {
13
13
  label,
14
14
  value,
15
15
  placeholder,
16
+ maxLength,
16
17
  errorMessage,
17
18
  disabled,
18
19
  readonly,
@@ -42,6 +43,7 @@ function NumberView(_ref, ref) {
42
43
  id: id,
43
44
  placeholder: placeholder,
44
45
  value: value,
46
+ maxLength: maxLength,
45
47
  disabled: disabled,
46
48
  readonly: readonly,
47
49
  required: required,
@@ -13,6 +13,7 @@ function PhoneView(_ref, ref) {
13
13
  label,
14
14
  value,
15
15
  placeholder,
16
+ maxLength,
16
17
  errorMessage,
17
18
  disabled,
18
19
  readonly,
@@ -42,6 +43,7 @@ function PhoneView(_ref, ref) {
42
43
  id: id,
43
44
  placeholder: placeholder,
44
45
  value: value,
46
+ maxLength: maxLength,
45
47
  disabled: disabled,
46
48
  readonly: readonly,
47
49
  required: required,
@@ -1,5 +1,5 @@
1
1
  import { createCustomComponent } from "../../../../../../custom-component";
2
- import TextAreaProperties from "../../../../../../../cc/fields/text/Properties";
2
+ import TextAreaProperties from "../../../../../../../cc/fields/multi-line/Properties";
3
3
  import TextAreaView from "./TextAreaView";
4
4
  import EventHandlerFactory from "./EventHandlerFactory";
5
5
  import FocusFieldBehaviourFactory from "../../../../../../behaviours/field-focus/frameworks/ui/FocusFieldBehaviourFactory";
@@ -20,7 +20,8 @@ function TextAreaView(_ref, ref) {
20
20
  uiConfig,
21
21
  labelActions,
22
22
  actions,
23
- clientScripts
23
+ clientScripts,
24
+ maxLength
24
25
  } = state.properties;
25
26
  const {
26
27
  size,
@@ -46,7 +47,8 @@ function TextAreaView(_ref, ref) {
46
47
  disabled: disabled,
47
48
  readonly: readonly,
48
49
  actions: actions,
49
- clientScripts: clientScripts
50
+ clientScripts: clientScripts,
51
+ maxLength: maxLength
50
52
  })));
51
53
  }
52
54
 
@@ -13,6 +13,7 @@ function TextBoxView(_ref, ref) {
13
13
  label,
14
14
  value,
15
15
  placeholder,
16
+ maxLength,
16
17
  errorMessage,
17
18
  disabled,
18
19
  readonly,
@@ -42,6 +43,7 @@ function TextBoxView(_ref, ref) {
42
43
  id: id,
43
44
  placeholder: placeholder,
44
45
  value: value,
46
+ maxLength: maxLength,
45
47
  required: required,
46
48
  disabled: disabled,
47
49
  readonly: readonly,
@@ -13,6 +13,7 @@ function UrlView(_ref, ref) {
13
13
  label,
14
14
  value,
15
15
  placeholder,
16
+ maxLength,
16
17
  uiConfig,
17
18
  errorMessage,
18
19
  disabled,
@@ -42,6 +43,7 @@ function UrlView(_ref, ref) {
42
43
  id: id,
43
44
  placeholder: placeholder,
44
45
  value: value,
46
+ maxLength: maxLength,
45
47
  disabled: disabled,
46
48
  readonly: readonly,
47
49
  required: required,
@@ -1,4 +1,4 @@
1
- import { ZLIST_FETCH_MORE } from "../../../../../../bc/zlist/Constants";
1
+ import { TableListConstants } from "../../../../../../cc/table-list";
2
2
  import AbstractController from "./AbstractController";
3
3
 
4
4
  class ScrollController extends AbstractController {
@@ -21,7 +21,7 @@ class ScrollController extends AbstractController {
21
21
 
22
22
  if (isEndReached) {
23
23
  dispatch({
24
- type: ZLIST_FETCH_MORE,
24
+ type: TableListConstants.TABLE_LIST_SCROLL_END_REACHED,
25
25
  payload: {}
26
26
  });
27
27
  }
@@ -1,8 +1,6 @@
1
1
  export { default as SelectItemController } from "./SelectItemController";
2
2
  export { default as SelectAllController } from "./SelectAllController";
3
3
  export { default as ScrollController } from "./ScrollController";
4
- export { default as SortByController } from "./SortByController";
5
- export { default as SortedController } from "./SortedController";
6
4
  export { default as FieldChangeController } from "./FieldChangeController";
7
5
  export { default as FieldClickController } from "./FieldClickController";
8
6
  export { default as KeyboardRowSelectController } from "./KeyboardRowSelectController";
@@ -1,5 +1,5 @@
1
1
  import { TableListConstants } from "../../../../../../cc/table-list";
2
- import { SelectItemController, SelectAllController, ScrollController, FieldChangeController, FieldClickController, SortByController, KeyboardRowSelectController, KeyboardRowClickController, ResolutionBasedCountController } from "../../adapters/controllers";
2
+ import { SelectItemController, SelectAllController, ScrollController, FieldChangeController, FieldClickController, KeyboardRowSelectController, KeyboardRowClickController, ResolutionBasedCountController } from "../../adapters/controllers";
3
3
  import TableRowConstants from "../../../../../../cc/table-list/row/Constants";
4
4
  import RowClickController from "../../adapters/controllers/RowClickController";
5
5
  import { SMART_TABLE_ACTION_TRIGGERED, SMART_TABLE_SELECTION_TOGGLED } from "../../../../../../cc/table-connected/constants/Events";
@@ -14,7 +14,6 @@ class EventHandlersFactory {
14
14
  [TableListConstants.TABLE_LIST_TOGGLE_ITEM_SELECTION]: new SelectItemController().handle,
15
15
  [TableListConstants.TABLE_LIST_TOGGLE_ALL_SELECTION]: new SelectAllController().handle,
16
16
  [TableListConstants.TABLE_LIST_SCROLLED]: new ScrollController().handle,
17
- [TableListConstants.TABLE_LIST_SORTED]: new SortByController().handle,
18
17
  [TableRowConstants.TABLE_ROW_FIELD_CHANGED]: new FieldChangeController().handle,
19
18
  [TableRowConstants.TABLE_ROW_FIELD_CLICKED]: new FieldClickController().handle
20
19
  };
@@ -1,5 +1,6 @@
1
1
  import React, { useRef } from 'react';
2
2
  import Table from '@zohodesk-private/desk-components/es/table/Table/Table';
3
+ import FloatingPagination from "../../../../legacy-to-new-arch/floating-pagination/frameworks/ui/FloatingPagination";
3
4
  import Header from "./sub-components/Header";
4
5
  import Body from "./sub-components/Body";
5
6
  import Rows from "./sub-components/Rows";
@@ -35,6 +36,7 @@ function TableListView(_ref2, _ref) {
35
36
  rowActionsConfig,
36
37
  keyboardControlsConfig,
37
38
  textOverflowConfig,
39
+ floatPaginationConfig,
38
40
  selection,
39
41
  emptyStateUiType,
40
42
  isError
@@ -56,6 +58,16 @@ function TableListView(_ref2, _ref) {
56
58
  const isReorderEnabled = reOrderConfig.isEnabled;
57
59
  const isSelectionEnabled = selectionConfig.isEnabled;
58
60
  const isMultiline = textOverflowConfig.mode === 'wrap';
61
+ const {
62
+ isEnabled: isPaginationEnabled,
63
+ scrollCount,
64
+ totalCount,
65
+ scrollToUpTooltip,
66
+ scrollToDownTooltip,
67
+ isTopReached,
68
+ isBottomReached,
69
+ isVisible
70
+ } = floatPaginationConfig;
59
71
  const className = getTableListClassName({
60
72
  isKeyboardControlsEnabled,
61
73
  isReorderEnabled,
@@ -70,6 +82,9 @@ function TableListView(_ref2, _ref) {
70
82
  "aria-hidden": "true"
71
83
  }), /*#__PURE__*/React.createElement(Table, {
72
84
  ref: TableRef,
85
+ customStyle: !isLoading && isPaginationEnabled ? {
86
+ table: style.paginationSpace
87
+ } : undefined,
73
88
  $event_onScroll: e => handleScroll(dispatch, {
74
89
  scrollEvent: e
75
90
  })
@@ -110,7 +125,15 @@ function TableListView(_ref2, _ref) {
110
125
  }), /*#__PURE__*/React.createElement(Loading, {
111
126
  isLoading: isLoading,
112
127
  hasRows: hasRows
113
- })), renderColumnResizingLine(resizerState));
128
+ })), renderColumnResizingLine(resizerState), isPaginationEnabled && isVisible && scrollCount > 0 && totalCount !== undefined && /*#__PURE__*/React.createElement("div", {
129
+ className: style.pagination
130
+ }, /*#__PURE__*/React.createElement(FloatingPagination, {
131
+ text: `${scrollCount}/${totalCount}`,
132
+ scrollToUpTooltip: scrollToUpTooltip,
133
+ scrollToDownTooltip: scrollToDownTooltip,
134
+ isScrollToUpDisabled: isTopReached,
135
+ isScrollToDownDisabled: isBottomReached
136
+ })));
114
137
  }
115
138
 
116
139
  function renderHeader(_ref3) {
@@ -136,15 +136,19 @@
136
136
  /* */
137
137
  }
138
138
 
139
+ .paginationSpace {
140
+ padding-bottom: var(--zd_size70) ;
141
+ }
142
+
139
143
  .loader {
140
- padding: var(--zd_size40) 0
144
+ padding: var(--zd_size20) 0
141
145
  }
142
146
 
143
147
  .wrapper {
144
148
  height: 100% ;
145
149
  width: 100% ;
146
150
  z-index: 1;
147
- position: relative
151
+ position: relative;
148
152
  }
149
153
 
150
154
  .hiddenDummyRow {
@@ -333,4 +337,17 @@
333
337
  [dir=rtl] .massActionHeader {
334
338
  right: var(--local-tableList-massActionHeader-left, 0);
335
339
  padding-left: var(--local-tableList-massActionHeader-paddingRight, 0);
340
+ }
341
+
342
+ .pagination {
343
+ composes: posab from '~@zohodesk/components/lib/common/common.module.css';
344
+ bottom: var(--zd_size20) ;
345
+ }
346
+
347
+ [dir=ltr] .pagination {
348
+ right: var(--zd_size30) ;
349
+ }
350
+
351
+ [dir=rtl] .pagination {
352
+ left: var(--zd_size30) ;
336
353
  }
@@ -41,7 +41,7 @@ function HeaderData(_ref) {
41
41
  },
42
42
  $customProps_container: hasActions ? {
43
43
  $ui_displayMode: 'flex',
44
- $ui_alignItems: 'center',
44
+ $ui_alignItems: isMultiline ? 'baseline' : 'center',
45
45
  $ui_justifyContent: AlignmentOfFlex[alignment]
46
46
  } : null,
47
47
  customStyle: hasActions ? {
@@ -10,6 +10,8 @@ import TableRowProperties from "../../../../../../../../cc/table-list/row/Proper
10
10
  import TableRowConstants from "../../../../../../../../cc/table-list/row/Constants";
11
11
  import { SortableHandle } from 'react-sortable-hoc'; // @ts-ignore
12
12
 
13
+ import arrowStyle from '@zohodesk/components/es/shared/ArrowIcon/ArrowIcon.module.css'; // @ts-ignore
14
+
13
15
  import style from "../../css/TableList.module.css";
14
16
 
15
17
  function RowView(_ref, ref) {
@@ -63,7 +65,7 @@ function RowView(_ref, ref) {
63
65
  }
64
66
  }),
65
67
  customStyle: {
66
- tableList: style.row,
68
+ tableList: `${arrowStyle.transparentContainer} ${style.row}`,
67
69
  $pointer: style[`rowCursor_${cursor}`]
68
70
  }
69
71
  }, renderReorderer({
@@ -122,11 +124,7 @@ const DragHandler = SortableHandle(_ref3 => {
122
124
  } = _ref3;
123
125
  return /*#__PURE__*/React.createElement(DragHandle, {
124
126
  isDisabled: isDisabled,
125
- customProps: {
126
- containerProps: {
127
- $ui_alignItems: isMultiline ? 'start' : 'center'
128
- }
129
- },
127
+ iconVerticalPlacement: isMultiline ? 'top' : 'middle',
130
128
  customStyle: {
131
129
  container: style.dragHandleContainer
132
130
  }
@@ -0,0 +1,41 @@
1
+ import { createCustomComponent } from "../../../../../../custom-component";
2
+ import SearchProperties from "../../../../../../../cc/search/Properties";
3
+ import SearchEvents from "../../../../../../../cc/search/Events";
4
+ import SearchView from "./SearchView";
5
+ import SearchBehaviourFactory from "../../../../../../behaviours/search-box/frameworks/ui/SearchBehaviourFactory";
6
+ import { SEARCH_TYPE_CLEAR_REQUESTED, SEARCH_TYPE_UPDATE_REQUESTED } from "../../../../../../../bc/search-box/Constants";
7
+ import SearchTranslator from "./SearchTranslator";
8
+ import { SearchConstants } from "../../../../../../../cc/search";
9
+ let Search = createCustomComponent({
10
+ name: "Search",
11
+ View: SearchView,
12
+ properties: SearchProperties,
13
+ events: SearchEvents,
14
+ transformState: SearchTranslator.transformState,
15
+ eventHandlers: {
16
+ [SearchConstants.SEARCH_REQUESTED]: _ref => {
17
+ let {
18
+ action,
19
+ dispatch
20
+ } = _ref;
21
+ const {
22
+ payload
23
+ } = action;
24
+ dispatch({
25
+ type: SEARCH_TYPE_UPDATE_REQUESTED,
26
+ payload
27
+ });
28
+ },
29
+ [SearchConstants.SEARCH_CLEARED]: _ref2 => {
30
+ let {
31
+ action,
32
+ dispatch
33
+ } = _ref2;
34
+ dispatch({
35
+ type: SEARCH_TYPE_CLEAR_REQUESTED
36
+ });
37
+ }
38
+ },
39
+ behaviours: [SearchBehaviourFactory.create()]
40
+ });
41
+ export default Search;
@@ -0,0 +1,16 @@
1
+ export default class SearchTranslator {
2
+ static transformState(state) {
3
+ const {
4
+ search
5
+ } = state.behaviours;
6
+ const {
7
+ searchQuery
8
+ } = search;
9
+ return { ...state,
10
+ viewModel: { ...state.viewModel,
11
+ value: searchQuery
12
+ }
13
+ };
14
+ }
15
+
16
+ }