@cxbox-ui/core 1.37.1 → 1.37.2-alpha.0

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 (423) hide show
  1. package/dist/actions/index.d.ts +1072 -0
  2. package/dist/api/ObservableApi.d.ts +45 -0
  3. package/dist/api/ObservableApiWrapper.d.ts +11 -0
  4. package/dist/api/index.d.ts +1 -0
  5. package/dist/cxbox-ui-core.cjs.development.js +3189 -0
  6. package/dist/cxbox-ui-core.cjs.production.min.js +2 -0
  7. package/dist/cxbox-ui-core.esm.js +3145 -0
  8. package/dist/cxbox-ui-core.modern.development.js +3085 -0
  9. package/dist/cxbox-ui-core.modern.js +3085 -0
  10. package/dist/cxbox-ui-core.modern.production.min.js +2 -0
  11. package/dist/epics/data/bcCancelCreateDataEpic.d.ts +9 -0
  12. package/dist/epics/data/bcDeleteDataEpic.d.ts +2 -0
  13. package/dist/epics/data/bcFetchDataEpic.d.ts +15 -0
  14. package/dist/epics/data/bcFetchRowMetaRequestEpic.d.ts +17 -0
  15. package/dist/epics/data/bcLoadMoreEpic.d.ts +2 -0
  16. package/dist/epics/data/bcNewDataEpic.d.ts +14 -0
  17. package/dist/epics/data/bcSaveDataEpic.d.ts +24 -0
  18. package/dist/epics/data/bcSelectDepthRecordEpic.d.ts +2 -0
  19. package/dist/epics/data/bcSelectRecordEpic.d.ts +2 -0
  20. package/dist/epics/data/changeAssociationEpic.d.ts +2 -0
  21. package/dist/epics/data/changeAssociationFullEpic.d.ts +5 -0
  22. package/dist/epics/data/changeAssociationSameBcEpic.d.ts +5 -0
  23. package/dist/epics/data/changeChildrenAssociationsEpic.d.ts +2 -0
  24. package/dist/epics/data/changeChildrenAssociationsSameBcEpic.d.ts +2 -0
  25. package/dist/epics/data/changeDescendantsAssociationsFullEpic.d.ts +5 -0
  26. package/dist/epics/data/index.d.ts +20 -0
  27. package/dist/epics/data/inlinePickListFetchDataEpic.d.ts +2 -0
  28. package/dist/epics/data/removeMultivalueTagEpic.d.ts +17 -0
  29. package/{epics/data/saveAssociationsActive.d.ts → dist/epics/data/saveAssociationsActiveEpic.d.ts} +2 -2
  30. package/dist/epics/data/saveAssociationsPassiveEpic.d.ts +7 -0
  31. package/dist/epics/data/selectViewEpic.d.ts +11 -0
  32. package/dist/epics/index.d.ts +6 -0
  33. package/{epics/router/changeLocation.d.ts → dist/epics/router/changeLocationEpic.d.ts} +2 -3
  34. package/dist/epics/router/drilldownEpic.d.ts +2 -0
  35. package/dist/epics/router/handleRouterEpic.d.ts +2 -0
  36. package/dist/epics/router/index.d.ts +10 -0
  37. package/dist/epics/router/loginDoneEpic.d.ts +9 -0
  38. package/dist/epics/router/selectScreenEpic.d.ts +7 -0
  39. package/dist/epics/router/selectScreenFailEpic.d.ts +7 -0
  40. package/dist/epics/router/selectViewEpic.d.ts +7 -0
  41. package/dist/epics/router/selectViewFailEpic.d.ts +6 -0
  42. package/dist/epics/router/userDrillDownEpic.d.ts +6 -0
  43. package/dist/epics/router/userDrilldownChangeCursorsEpic.d.ts +2 -0
  44. package/dist/epics/screen/apiErrorEpic.d.ts +3 -0
  45. package/dist/epics/screen/downloadFileByUrlEpic.d.ts +2 -0
  46. package/dist/epics/screen/downloadFileEpic.d.ts +2 -0
  47. package/dist/epics/screen/httpError401Epic.d.ts +2 -0
  48. package/dist/epics/screen/httpError409Epic.d.ts +2 -0
  49. package/dist/epics/screen/httpError418Epic.d.ts +2 -0
  50. package/dist/epics/screen/httpError500Epic.d.ts +2 -0
  51. package/dist/epics/screen/httpErrorDefaultEpic.d.ts +2 -0
  52. package/dist/epics/screen/index.d.ts +10 -0
  53. package/dist/epics/screen/processPostInvokeConfirmEpic.d.ts +2 -0
  54. package/dist/epics/screen/processPostInvokeEpic.d.ts +2 -0
  55. package/dist/epics/session/index.d.ts +5 -0
  56. package/dist/epics/session/loginByAnotherRoleEpic.d.ts +5 -0
  57. package/dist/epics/session/loginDoneEpic.d.ts +6 -0
  58. package/dist/epics/session/refreshMetaAndReloadPageEpic.d.ts +2 -0
  59. package/dist/epics/session/refreshMetaEpic.d.ts +5 -0
  60. package/dist/epics/session/switchRoleEpic.d.ts +5 -0
  61. package/dist/epics/utils/postOperationRoutine.d.ts +13 -0
  62. package/dist/epics/view/clearPendingDataChangesAfterCursorChangeEpic.d.ts +7 -0
  63. package/dist/epics/view/fileUploadConfirmEpic.d.ts +11 -0
  64. package/dist/epics/view/getRowMetaByForceActiveEpic.d.ts +5 -0
  65. package/dist/epics/view/index.d.ts +9 -0
  66. package/dist/epics/view/selectTableCellInitEpic.d.ts +2 -0
  67. package/dist/epics/view/sendOperationAssociateEpic.d.ts +5 -0
  68. package/dist/epics/view/sendOperationEpic.d.ts +10 -0
  69. package/dist/epics/view/showAllTableRecordsInitEpic.d.ts +2 -0
  70. package/dist/epics/view/showAssocPopupEpic.d.ts +2 -0
  71. package/dist/epics/view/showFileUploadPopupEpic.d.ts +5 -0
  72. package/dist/index.d.ts +6 -0
  73. package/dist/index.js +6 -0
  74. package/{interfaces → dist/interfaces}/bc.d.ts +2 -2
  75. package/dist/interfaces/customEpics.d.ts +15 -0
  76. package/{interfaces → dist/interfaces}/customMiddlewares.d.ts +5 -5
  77. package/{interfaces → dist/interfaces}/data.d.ts +4 -4
  78. package/dist/interfaces/index.d.ts +27 -0
  79. package/{interfaces → dist/interfaces}/navigation.d.ts +2 -2
  80. package/{interfaces → dist/interfaces}/objectMap.d.ts +3 -2
  81. package/{interfaces → dist/interfaces}/operation.d.ts +7 -6
  82. package/{interfaces → dist/interfaces}/session.d.ts +19 -0
  83. package/dist/interfaces/store.d.ts +14 -0
  84. package/{interfaces → dist/interfaces}/tree.d.ts +4 -4
  85. package/{interfaces → dist/interfaces}/view.d.ts +5 -5
  86. package/{interfaces → dist/interfaces}/widget.d.ts +11 -11
  87. package/dist/middlewares/autosaveMiddleware.d.ts +17 -0
  88. package/dist/middlewares/index.d.ts +16 -0
  89. package/{middlewares → dist/middlewares}/requiredFieldsMiddleware.d.ts +3 -5
  90. package/dist/reducers/ReducerBuilderManager.d.ts +19 -0
  91. package/dist/reducers/data.d.ts +4 -0
  92. package/dist/reducers/depthData.d.ts +4 -0
  93. package/dist/reducers/index.d.ts +6 -0
  94. package/dist/reducers/router.d.ts +9 -0
  95. package/dist/reducers/screen.d.ts +10 -0
  96. package/dist/reducers/session.d.ts +10 -0
  97. package/dist/reducers/view.d.ts +10 -0
  98. package/dist/utils/api.d.ts +34 -0
  99. package/{utils → dist/utils}/autosave.d.ts +13 -2
  100. package/{utils → dist/utils}/bc.d.ts +2 -2
  101. package/dist/utils/cancelRequestEpic.d.ts +17 -0
  102. package/dist/utils/combineMiddlewares.d.ts +14 -0
  103. package/dist/utils/deleteUndefinedFromObject.d.ts +1 -0
  104. package/{utils → dist/utils}/filters.d.ts +1 -2
  105. package/{utils → dist/utils}/history.d.ts +5 -7
  106. package/dist/utils/index.d.ts +9 -0
  107. package/{utils → dist/utils}/operations.d.ts +2 -2
  108. package/dist/utils/others.d.ts +6 -0
  109. package/{utils → dist/utils}/strings.d.ts +1 -0
  110. package/{utils → dist/utils}/tree.d.ts +2 -2
  111. package/package.json +66 -105
  112. package/CONTRIBUTING.md +0 -124
  113. package/Provider.d.ts +0 -63
  114. package/actions/actions-utils.d.ts +0 -48
  115. package/actions/actions.d.ts +0 -1144
  116. package/actions/index.d.ts +0 -2
  117. package/api/api.d.ts +0 -148
  118. package/api/index.d.ts +0 -1
  119. package/assets/i18n/__tests__/getTextAssets.d.ts +0 -1
  120. package/assets/i18n/index.d.ts +0 -25
  121. package/components/ColumnTitle/ColumnFilter.d.ts +0 -47
  122. package/components/ColumnTitle/ColumnSort.d.ts +0 -26
  123. package/components/ColumnTitle/ColumnTitle.d.ts +0 -31
  124. package/components/ColumnTitle/__tests__/ColumnFilter.test.d.ts +0 -1
  125. package/components/ColumnTitle/__tests__/ColumnSort.test.d.ts +0 -1
  126. package/components/ColumnTitle/__tests__/ColumnTitle.test.d.ts +0 -1
  127. package/components/DebugPanel/DebugPanel.d.ts +0 -7
  128. package/components/DebugPanel/__tests__/DebugPanel.test.d.ts +0 -1
  129. package/components/DebugPanel/components/FormattedJSON.d.ts +0 -6
  130. package/components/DebugPanel/components/InfoLabel.d.ts +0 -7
  131. package/components/DebugPanel/components/ViewInfoLabel.d.ts +0 -3
  132. package/components/DebugPanel/components/WidgetInfoLabel.d.ts +0 -5
  133. package/components/DebugPanel/components/__tests__/FormattedJSON.test.d.ts +0 -1
  134. package/components/DebugPanel/components/__tests__/InfoLabel.test.d.ts +0 -1
  135. package/components/DebugPanel/components/__tests__/ViewInfoLabel.test.d.ts +0 -1
  136. package/components/DebugPanel/components/__tests__/WidgetInfoLabel.test.d.ts +0 -1
  137. package/components/DevToolsPanel/DevToolsPanel.d.ts +0 -10
  138. package/components/DevToolsPanel/DevToolsPanel.test.d.ts +0 -1
  139. package/components/DevToolsPanel/components/DebugModeButton.d.ts +0 -9
  140. package/components/DevToolsPanel/components/RefreshMetaButton.d.ts +0 -9
  141. package/components/DevToolsPanel/components/__tests__/DebugModeButton.test.d.ts +0 -1
  142. package/components/DevToolsPanel/components/__tests__/RefreshMetaButton.test.d.ts +0 -1
  143. package/components/Field/Field.d.ts +0 -72
  144. package/components/Field/Field.test.d.ts +0 -1
  145. package/components/FileUpload/FileUpload.d.ts +0 -32
  146. package/components/FileUploadPopup/FileUploadPopup.d.ts +0 -10
  147. package/components/FilterPopup/FilterPopup.d.ts +0 -26
  148. package/components/FilterPopup/FilterPopup.test.d.ts +0 -1
  149. package/components/FullHierarchyTable/FullHierarchyTable.d.ts +0 -52
  150. package/components/FullHierarchyTable/FullHierarchyTable.test.d.ts +0 -1
  151. package/components/FullHierarchyTable/utils/hierarchySearchCache.d.ts +0 -37
  152. package/components/FullHierarchyTable/utils/hierarchySearchCache.test.d.ts +0 -1
  153. package/components/FullHierarchyTable/utils/useExpandedKeys.d.ts +0 -19
  154. package/components/FullHierarchyTable/utils/useHierarchyCache.d.ts +0 -12
  155. package/components/HierarchyTable/HierarchyTable.d.ts +0 -48
  156. package/components/HierarchyTable/HierarchyTable.test.d.ts +0 -1
  157. package/components/InlinePickList/InlinePickList.d.ts +0 -23
  158. package/components/ModalInvoke/ModalInvoke.d.ts +0 -18
  159. package/components/ModalInvoke/ModalInvoke.test.d.ts +0 -1
  160. package/components/Multivalue/MultiValueListRecord.d.ts +0 -15
  161. package/components/Multivalue/MultivalueField.d.ts +0 -31
  162. package/components/Multivalue/MultivalueField.test.d.ts +0 -1
  163. package/components/PickListField/PickListField.d.ts +0 -25
  164. package/components/RowOperations/RowOperationsButton.d.ts +0 -42
  165. package/components/RowOperations/RowOperationsMenu.d.ts +0 -29
  166. package/components/RowOperations/__tests__/RowOperationsButton.test.d.ts +0 -1
  167. package/components/RowOperations/__tests__/RowOperationsMenu.test.d.ts +0 -1
  168. package/components/SameBcHierarchyTable/SameBcHierarchyTable.d.ts +0 -41
  169. package/components/TemplatedTitle/TemplatedTitle.d.ts +0 -20
  170. package/components/View/View.d.ts +0 -27
  171. package/components/View/__tests__/View.test.d.ts +0 -1
  172. package/components/Widget/Widget.d.ts +0 -29
  173. package/components/Widget/Widget.test.d.ts +0 -1
  174. package/components/WidgetErrorBoundary/WidgetErrorBoundary.d.ts +0 -20
  175. package/components/WidgetErrorBoundary/WidgetErrorBoundary.test.d.ts +0 -1
  176. package/components/WidgetErrorBoundary/components/RefreshButton.d.ts +0 -4
  177. package/components/WidgetErrorBoundary/components/RefreshButton.test.d.ts +0 -1
  178. package/components/index.d.ts +0 -44
  179. package/components/ui/ActionLink/ActionLink.d.ts +0 -11
  180. package/components/ui/CheckboxFilter/CheckboxFilter.d.ts +0 -21
  181. package/components/ui/CheckboxFilter/CheckboxFilter.test.d.ts +0 -1
  182. package/components/ui/CheckboxPicker/CheckboxPicker.d.ts +0 -21
  183. package/components/ui/CopyableText/CopyableText.d.ts +0 -7
  184. package/components/ui/CopyableText/__tests__/CopyableText.test.d.ts +0 -1
  185. package/components/ui/DashboardLayout/DashboardLayout.d.ts +0 -22
  186. package/components/ui/DashboardLayout/__tests__/DashboardLayout.test.d.ts +0 -1
  187. package/components/ui/DatePickerField/DatePickerField.d.ts +0 -25
  188. package/components/ui/Dictionary/Dictionary.d.ts +0 -30
  189. package/components/ui/Dictionary/Dictionary.test.d.ts +0 -1
  190. package/components/ui/ErrorPopup/ErrorPopup.d.ts +0 -18
  191. package/components/ui/ErrorPopup/ErrorPopup.test.d.ts +0 -1
  192. package/components/ui/FilterField/FilterField.d.ts +0 -25
  193. package/components/ui/FilterField/FilterField.test.d.ts +0 -1
  194. package/components/ui/FilterField/components/RangePicker.d.ts +0 -11
  195. package/components/ui/FilterField/components/RangePicker.test.d.ts +0 -1
  196. package/components/ui/HistoryField/HistoryField.d.ts +0 -15
  197. package/components/ui/InteractiveInput/InteractiveInput.d.ts +0 -28
  198. package/components/ui/Link/Link.d.ts +0 -13
  199. package/components/ui/MultiField/MultiField.d.ts +0 -16
  200. package/components/ui/Multivalue/MultivalueHover.d.ts +0 -15
  201. package/components/ui/Multivalue/MultivalueList.d.ts +0 -17
  202. package/components/ui/Multivalue/MultivalueTag.d.ts +0 -24
  203. package/components/ui/NavigationTabs/NavigationTabs.d.ts +0 -7
  204. package/components/ui/NavigationTabs/NavigationTabs.test.d.ts +0 -1
  205. package/components/ui/NumberInput/NumberInput.d.ts +0 -17
  206. package/components/ui/NumberInput/NumberInput.test.d.ts +0 -1
  207. package/components/ui/NumberInput/formaters.d.ts +0 -31
  208. package/components/ui/Pagination/Pagination.d.ts +0 -51
  209. package/components/ui/Pagination/Pagination.test.d.ts +0 -1
  210. package/components/ui/PickInput/PickInput.d.ts +0 -15
  211. package/components/ui/Popup/Popup.d.ts +0 -29
  212. package/components/ui/Popup/Popup.test.d.ts +0 -1
  213. package/components/ui/Popup/PopupFooter.d.ts +0 -16
  214. package/components/ui/RadioButton/RadioButton.d.ts +0 -16
  215. package/components/ui/RadioButton/RadioButton.test.d.ts +0 -1
  216. package/components/ui/ReadOnlyField/ReadOnlyField.d.ts +0 -22
  217. package/components/ui/SearchHightlight/SearchHightlight.d.ts +0 -20
  218. package/components/ui/Select/Select.d.ts +0 -26
  219. package/components/ui/TextArea/TextArea.d.ts +0 -24
  220. package/components/ui/TextArea/TextArea.test.d.ts +0 -1
  221. package/components/ui/TreeVirtualized/TreeVirtualized.d.ts +0 -63
  222. package/components/ui/TreeVirtualized/TreeVirtualizedNode.d.ts +0 -67
  223. package/components/ui/TreeVirtualized/__tests__/TreeVirtualized.test.d.ts +0 -1
  224. package/components/ui/TreeVirtualized/__tests__/TreeVirtualizedNode.test.d.ts +0 -1
  225. package/components/ui/TreeVirtualized/__tests__/useMatchingNodes.test.d.ts +0 -1
  226. package/components/ui/TreeVirtualized/__tests__/useSearchResult.test.d.ts +0 -1
  227. package/components/ui/TreeVirtualized/useMatchingNodes.d.ts +0 -23
  228. package/components/ui/TreeVirtualized/useSearchResult.d.ts +0 -27
  229. package/components/widgets/AssocListPopup/AssocListPopup.d.ts +0 -58
  230. package/components/widgets/AssocListPopup/AssocListPopup.test.d.ts +0 -1
  231. package/components/widgets/AssocListPopup/AssocTable.d.ts +0 -35
  232. package/components/widgets/AssocListPopup/AssocTable.test.d.ts +0 -1
  233. package/components/widgets/FlatTree/FlatTree.d.ts +0 -53
  234. package/components/widgets/FlatTree/FlatTreePopup.d.ts +0 -31
  235. package/components/widgets/FlatTree/__tests__/FlatTree.test.d.ts +0 -1
  236. package/components/widgets/FlatTree/__tests__/FlatTreePopup.test.d.ts +0 -1
  237. package/components/widgets/FlatTree/useMultipleSelect.d.ts +0 -11
  238. package/components/widgets/FlatTree/useSingleSelect.d.ts +0 -10
  239. package/components/widgets/FormWidget/FormWidget.d.ts +0 -23
  240. package/components/widgets/FormWidget/FormWidget.test.d.ts +0 -1
  241. package/components/widgets/InfoWidget/InfoWidget.d.ts +0 -19
  242. package/components/widgets/InfoWidget/__test__/InfoWidget.test.d.ts +0 -1
  243. package/components/widgets/InfoWidget/components/InfoCell.d.ts +0 -15
  244. package/components/widgets/InfoWidget/components/InfoRow.d.ts +0 -16
  245. package/components/widgets/InfoWidget/components/InfoValueWrapper.d.ts +0 -10
  246. package/components/widgets/InfoWidget/components/__tests__/InfoCell.test.d.ts +0 -1
  247. package/components/widgets/InfoWidget/components/__tests__/InfoRow.test.d.ts +0 -1
  248. package/components/widgets/InfoWidget/components/__tests__/InfoValueWrapper.test.d.ts +0 -1
  249. package/components/widgets/NavigationTabsWidget/NavigationTabsWidget.d.ts +0 -8
  250. package/components/widgets/NavigationTabsWidget/NavigationTabsWidget.test.d.ts +0 -1
  251. package/components/widgets/PickListPopup/PickListPopup.d.ts +0 -43
  252. package/components/widgets/PickListPopup/PickListPopup.test.d.ts +0 -1
  253. package/components/widgets/TableWidget/TableWidget.d.ts +0 -88
  254. package/components/widgets/TableWidget/TableWidget.test.d.ts +0 -1
  255. package/components/widgets/TextWidget/TextWidget.d.ts +0 -15
  256. package/components/widgets/TextWidget/TextWidget.test.d.ts +0 -1
  257. package/components/widgets/ViewNavigationWidget/ViewNavigationWidget.d.ts +0 -6
  258. package/components/widgets/ViewNavigationWidget/ViewNavigationWidget.test.d.ts +0 -1
  259. package/components/widgets/index.d.ts +0 -4
  260. package/cxbox-ui-core.js +0 -148
  261. package/cxbox-ui-core.js.map +0 -1
  262. package/epics/data/__tests__/bcCancelCreateDataEpic.test.d.ts +0 -1
  263. package/epics/data/__tests__/bcFetchData.test.d.ts +0 -1
  264. package/epics/data/__tests__/bcFetchRowMetaRequest.test.d.ts +0 -1
  265. package/epics/data/__tests__/bcNewDataEpic.test.d.ts +0 -1
  266. package/epics/data/__tests__/bcSaveData.test.d.ts +0 -1
  267. package/epics/data/__tests__/bcSelectDepthRecord.test.d.ts +0 -1
  268. package/epics/data/__tests__/removeMultivalueTag.test.d.ts +0 -1
  269. package/epics/data/__tests__/saveAssociationsActive.test.d.ts +0 -1
  270. package/epics/data/__tests__/selectView.test.d.ts +0 -1
  271. package/epics/data/bcCancelCreateDataEpic.d.ts +0 -28
  272. package/epics/data/bcFetchData.d.ts +0 -21
  273. package/epics/data/bcFetchRowMetaRequest.d.ts +0 -50
  274. package/epics/data/bcNewDataEpic.d.ts +0 -37
  275. package/epics/data/bcSaveData.d.ts +0 -58
  276. package/epics/data/bcSelectDepthRecord.d.ts +0 -21
  277. package/epics/data/removeMultivalueTag.d.ts +0 -45
  278. package/epics/data/selectView.d.ts +0 -36
  279. package/epics/data.d.ts +0 -105
  280. package/epics/index.d.ts +0 -74
  281. package/epics/router/__tests__/changeLocation.test.d.ts +0 -1
  282. package/epics/router/__tests__/drilldown.test.d.ts +0 -1
  283. package/epics/router/__tests__/handleRouter.test.d.ts +0 -1
  284. package/epics/router/__tests__/loginDone.test.d.ts +0 -1
  285. package/epics/router/__tests__/selectScreen.test.d.ts +0 -1
  286. package/epics/router/__tests__/selectScreenFail.test.d.ts +0 -1
  287. package/epics/router/__tests__/selectView.test.d.ts +0 -1
  288. package/epics/router/__tests__/selectViewFail.test.d.ts +0 -1
  289. package/epics/router/__tests__/userDrillDown.test.d.ts +0 -1
  290. package/epics/router/drilldown.d.ts +0 -12
  291. package/epics/router/handleRouter.d.ts +0 -17
  292. package/epics/router/loginDone.d.ts +0 -20
  293. package/epics/router/selectScreen.d.ts +0 -19
  294. package/epics/router/selectScreenFail.d.ts +0 -17
  295. package/epics/router/selectView.d.ts +0 -19
  296. package/epics/router/selectViewFail.d.ts +0 -17
  297. package/epics/router/userDrillDown.d.ts +0 -29
  298. package/epics/router.d.ts +0 -11
  299. package/epics/screen/__tests__/apiError.test.d.ts +0 -1
  300. package/epics/screen/__tests__/httpError401.test.d.ts +0 -1
  301. package/epics/screen/__tests__/httpError409.test.d.ts +0 -1
  302. package/epics/screen/__tests__/httpError418.test.d.ts +0 -1
  303. package/epics/screen/__tests__/httpError500.test.d.ts +0 -1
  304. package/epics/screen/__tests__/httpErrorDefault.test.d.ts +0 -1
  305. package/epics/screen/apiError.d.ts +0 -13
  306. package/epics/screen/httpError401.d.ts +0 -12
  307. package/epics/screen/httpError409.d.ts +0 -12
  308. package/epics/screen/httpError418.d.ts +0 -12
  309. package/epics/screen/httpError500.d.ts +0 -12
  310. package/epics/screen/httpErrorDefault.d.ts +0 -14
  311. package/epics/screen/processPostInvoke.d.ts +0 -12
  312. package/epics/screen.d.ts +0 -35
  313. package/epics/session/__tests__/loginByAnotherRoleEpic.test.d.ts +0 -1
  314. package/epics/session/__tests__/loginDone.test.d.ts +0 -1
  315. package/epics/session/__tests__/refreshMeta.test.d.ts +0 -1
  316. package/epics/session/__tests__/refreshMetaAndReloadPage.test.d.ts +0 -1
  317. package/epics/session/__tests__/switchRole.test.d.ts +0 -1
  318. package/epics/session/loginByAnotherRole.d.ts +0 -27
  319. package/epics/session/loginDone.d.ts +0 -10
  320. package/epics/session/refreshMeta.d.ts +0 -9
  321. package/epics/session/refreshMetaAndReloadPage.d.ts +0 -2
  322. package/epics/session/switchRole.d.ts +0 -9
  323. package/epics/session.d.ts +0 -7
  324. package/epics/utils.d.ts +0 -4
  325. package/epics/view/__tests__/fileUploadConfirm.test.d.ts +0 -1
  326. package/epics/view/__tests__/sendOperation.test.d.ts +0 -1
  327. package/epics/view/__tests__/sendOperationAssociate.test.d.ts +0 -1
  328. package/epics/view/__tests__/showAssocPopup.test.d.ts +0 -1
  329. package/epics/view/__tests__/showFileUploadPopup.test.d.ts +0 -1
  330. package/epics/view/fileUploadConfirm.d.ts +0 -31
  331. package/epics/view/sendOperation.d.ts +0 -24
  332. package/epics/view/sendOperationAssociate.d.ts +0 -34
  333. package/epics/view/showAssocPopup.d.ts +0 -12
  334. package/epics/view/showFileUploadPopup.d.ts +0 -19
  335. package/epics/view.d.ts +0 -57
  336. package/hooks/__tests__/useRowMenu.test.d.ts +0 -1
  337. package/hooks/__tests__/useViewTabs.test.d.ts +0 -1
  338. package/hooks/__tests__/useWidgetOperations.test.d.ts +0 -1
  339. package/hooks/index.d.ts +0 -7
  340. package/hooks/useAssocRecords.d.ts +0 -11
  341. package/hooks/useDebounce.d.ts +0 -8
  342. package/hooks/useDrillDownUrl.d.ts +0 -10
  343. package/hooks/useFlatFormFields.d.ts +0 -9
  344. package/hooks/useRowMenu.d.ts +0 -42
  345. package/hooks/useViewTabs.d.ts +0 -13
  346. package/hooks/useWidgetFilter.d.ts +0 -15
  347. package/hooks/useWidgetOperations.d.ts +0 -34
  348. package/imports/i18n.d.ts +0 -8
  349. package/imports/rxjs.d.ts +0 -19
  350. package/imports/shim.d.ts +0 -6
  351. package/index.d.ts +0 -135
  352. package/interfaces/customEpics.d.ts +0 -55
  353. package/interfaces/filters.js +0 -2
  354. package/interfaces/filters.js.map +0 -1
  355. package/interfaces/index.d.ts +0 -22
  356. package/interfaces/objectMap.js +0 -2
  357. package/interfaces/objectMap.js.map +0 -1
  358. package/interfaces/operation.js +0 -2
  359. package/interfaces/operation.js.map +0 -1
  360. package/interfaces/router.js +0 -2
  361. package/interfaces/router.js.map +0 -1
  362. package/interfaces/store.d.ts +0 -56
  363. package/interfaces/view.js +0 -2
  364. package/interfaces/view.js.map +0 -1
  365. package/interfaces/widget.js +0 -2
  366. package/interfaces/widget.js.map +0 -1
  367. package/middlewares/__tests__/autosaveMiddleware.test.d.ts +0 -1
  368. package/middlewares/__tests__/preInvokeMiddleware.test.d.ts +0 -1
  369. package/middlewares/__tests__/requiredFieldsMiddleware.test.d.ts +0 -1
  370. package/middlewares/actionsHistoryMiddleware.d.ts +0 -3
  371. package/middlewares/autosaveMiddleware.d.ts +0 -6
  372. package/middlewares/index.d.ts +0 -6
  373. package/mocks/data/widgetMeta.d.ts +0 -10
  374. package/reducers/__tests__/data.test.d.ts +0 -1
  375. package/reducers/__tests__/forceActiveField.test.d.ts +0 -1
  376. package/reducers/__tests__/screen/bcAddFilter.test.d.ts +0 -1
  377. package/reducers/__tests__/session.test.d.ts +0 -1
  378. package/reducers/__tests__/view.test.d.ts +0 -1
  379. package/reducers/data.d.ts +0 -13
  380. package/reducers/depthData.d.ts +0 -7
  381. package/reducers/index.d.ts +0 -3
  382. package/reducers/router.d.ts +0 -30
  383. package/reducers/screen.d.ts +0 -16
  384. package/reducers/session.d.ts +0 -15
  385. package/reducers/view.d.ts +0 -16
  386. package/tests/mockStore.d.ts +0 -6
  387. package/tests/setup.d.ts +0 -1
  388. package/tests/testEpic.d.ts +0 -14
  389. package/utils/__tests__/autosave.test.d.ts +0 -1
  390. package/utils/__tests__/bc.test.d.ts +0 -1
  391. package/utils/__tests__/breadthFirst.test.d.ts +0 -1
  392. package/utils/__tests__/cancelRequestEpic.test.d.ts +0 -1
  393. package/utils/__tests__/combineEpics.test.d.ts +0 -1
  394. package/utils/__tests__/combineMiddlewares.test.d.ts +0 -1
  395. package/utils/__tests__/configureStore.test.d.ts +0 -1
  396. package/utils/__tests__/extendPopupWidgetTypes.test.d.ts +0 -1
  397. package/utils/__tests__/filters.test.d.ts +0 -1
  398. package/utils/__tests__/history.test.d.ts +0 -1
  399. package/utils/__tests__/notifications.test.d.ts +0 -1
  400. package/utils/__tests__/operations.test.d.ts +0 -1
  401. package/utils/__tests__/tree.test.d.ts +0 -1
  402. package/utils/__tests__/viewTabs.test.d.ts +0 -1
  403. package/utils/actionsHistory.d.ts +0 -2
  404. package/utils/api.d.ts +0 -92
  405. package/utils/cancelRequestEpic.d.ts +0 -16
  406. package/utils/combineEpics.d.ts +0 -13
  407. package/utils/combineMiddlewares.d.ts +0 -3
  408. package/utils/configureStore.d.ts +0 -15
  409. package/utils/exportState.d.ts +0 -3
  410. package/utils/index.d.ts +0 -6
  411. package/utils/notifications.d.ts +0 -11
  412. package/utils/redux.d.ts +0 -49
  413. /package/{interfaces → dist/interfaces}/filters.d.ts +0 -0
  414. /package/{interfaces → dist/interfaces}/router.d.ts +0 -0
  415. /package/{interfaces → dist/interfaces}/rowMeta.d.ts +0 -0
  416. /package/{interfaces → dist/interfaces}/screen.d.ts +0 -0
  417. /package/{middlewares → dist/middlewares}/preInvokeMiddleware.d.ts +0 -0
  418. /package/{utils → dist/utils}/breadthFirst.d.ts +0 -0
  419. /package/{tests/assetsMock.d.ts → dist/utils/exportState.d.ts} +0 -0
  420. /package/{utils → dist/utils}/extendPopupWidgetTypes.d.ts +0 -0
  421. /package/{utils → dist/utils}/hierarchy.d.ts +0 -0
  422. /package/{utils → dist/utils}/highlightJson.d.ts +0 -0
  423. /package/{utils → dist/utils}/viewTabs.d.ts +0 -0
@@ -0,0 +1,1072 @@
1
+ import { SessionScreen, PendingRequest, NotificationKeys } from '../interfaces';
2
+ import { DrillDownType, Route } from '../interfaces/router';
3
+ import { ViewMetaResponse, ApplicationError, PopupType } from '../interfaces';
4
+ import { DataItem, MultivalueSingleValue, PendingDataItem, PickMap } from '../interfaces/data';
5
+ import { RowMeta, AppNotificationType, OperationPostInvokeAny, OperationTypeCrud, AssociatedItem, OperationErrorEntity, OperationPostInvokeConfirm, OperationPreInvoke, BcFilter, BcSorter, Notification } from '../interfaces';
6
+ import { AxiosError } from 'axios';
7
+ import { ApiCallContext } from '../utils';
8
+ import { AnyAction } from '@reduxjs/toolkit';
9
+ /**
10
+ * Browser location change occured (either through history listener or manually)
11
+ */
12
+ export declare const changeLocation: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
13
+ /**
14
+ * Change was requested to browser url
15
+ */
16
+ url?: string;
17
+ /**
18
+ * Change was requested to precalculated application route
19
+ */
20
+ route?: Route;
21
+ /**
22
+ * History API type, usually 'PUSH'
23
+ */
24
+ action: any;
25
+ }, string>;
26
+ /**
27
+ * Authentication request
28
+ */
29
+ export declare const login: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
30
+ /**
31
+ * User-provided login
32
+ */
33
+ login: string;
34
+ /**
35
+ * User-provided password
36
+ */
37
+ password: string;
38
+ /**
39
+ * Optionally user can choose a role to authentificate with
40
+ */
41
+ role?: string;
42
+ }, string>;
43
+ /**
44
+ * Login was successful
45
+ */
46
+ export declare const loginDone: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<Route, string>;
47
+ /**
48
+ * Login was unsuccesful
49
+ */
50
+ export declare const loginFail: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
51
+ /**
52
+ * Reason could be provided
53
+ */
54
+ errorMsg: string;
55
+ }, string>;
56
+ /**
57
+ * Logout was requested, manually or through stale session
58
+ */
59
+ export declare const logout: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<null, string>;
60
+ /**
61
+ * User successfully was logged out
62
+ */
63
+ export declare const logoutDone: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<null, string>;
64
+ /**
65
+ * Request to change active screen was initiated
66
+ *
67
+ * TODO: 2.0.0 Should be string (just the screen name) instead;
68
+ *
69
+ * Initially this was due to `screen` reducer did not having access to `session` part of redux store
70
+ */
71
+ export declare const selectScreen: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
72
+ /**
73
+ * Request initiated with all the meta from login response
74
+ */
75
+ screen: SessionScreen;
76
+ }, string>;
77
+ /**
78
+ * Request to change active screen was unsuccesful (incorrect path, unknown screen, etc.)
79
+ */
80
+ export declare const selectScreenFail: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
81
+ /**
82
+ * Which screen was requested originally
83
+ */
84
+ screenName: string;
85
+ }, string>;
86
+ /**
87
+ * Request to change active view was initiated
88
+ *
89
+ * TODO: 2.0.0 Should be string (just the view name) instead;
90
+ * Initially this was due to `screen` and `view` reducers did not having access to `session` part of redux store
91
+ */
92
+ export declare const selectView: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<ViewMetaResponse, string>;
93
+ /**
94
+ * Request to change active view was unsuccesful (incorrect path, unknown screen, etc.)
95
+ *
96
+ * @param selectViewFail Which view was requested originally
97
+ */
98
+ export declare const selectViewFail: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
99
+ viewName: string;
100
+ }, string>;
101
+ /**
102
+ * Fetch data request for business component was initiated
103
+ */
104
+ export declare const bcFetchDataRequest: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
105
+ /**
106
+ * The business component to fetch data for
107
+ *
108
+ * @deprecated TODO: 2.0.0 Should be removed in favor of widgetName
109
+ */
110
+ bcName?: string;
111
+ /**
112
+ * The level of hierarchy to fetch data for
113
+ *
114
+ * @deprecated Do not use; TODO: Will be removed in 2.0.0
115
+ */
116
+ depth?: number;
117
+ /**
118
+ * What widget requires data (widget can only request its own data here)
119
+ */
120
+ widgetName: string;
121
+ /**
122
+ * Page size should be ignored
123
+ *
124
+ * Used mostly for hierarchy widgets which does not have controls
125
+ * for navigating between pages aside of root level.
126
+ */
127
+ ignorePageLimit?: boolean;
128
+ /**
129
+ * Pending changes should not be dropped when performing this request
130
+ * (due to hierarchy expanging through cursor change, for same BC hierarchy this leads to data loss)
131
+ */
132
+ keepDelta?: boolean;
133
+ }, string>;
134
+ /**
135
+ * Fetch data request request for specific pages range
136
+ */
137
+ export declare const bcFetchDataPages: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
138
+ /**
139
+ * The business component to fetch data for
140
+ *
141
+ * @deprecated TODO: 2.0.0 Should be removed in favor of widgetName
142
+ */
143
+ bcName: string;
144
+ /**
145
+ * Fisrt page to fetch (default is 1)
146
+ */
147
+ widgetName: string;
148
+ /**
149
+ * What widget requires data (widget can only request its own data here)
150
+ */
151
+ from?: number;
152
+ /**
153
+ * Last page to fetch (default is current page)
154
+ */
155
+ to?: number;
156
+ }, string>;
157
+ /**
158
+ * Fetch data request for searchable fields
159
+ */
160
+ export declare const inlinePickListFetchDataRequest: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
161
+ /**
162
+ * The business component to fetch data for
163
+ */
164
+ bcName: string;
165
+ /**
166
+ * Search expression // TODO: Check format
167
+ */
168
+ searchSpec: string;
169
+ /**
170
+ * Value to search for
171
+ */
172
+ searchString: string;
173
+ }, string>;
174
+ /**
175
+ * Fetch data request was succesful
176
+ */
177
+ export declare const bcFetchDataSuccess: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
178
+ /**
179
+ * Business component that requested data
180
+ *
181
+ * @deprecated TODO: 2.0.0 Remove in favor of widgetName
182
+ */
183
+ bcName: string;
184
+ /**
185
+ * Data records from response for this business component
186
+ */
187
+ data: DataItem[];
188
+ /**
189
+ * For same BC hierarchies, the level which was requested
190
+ *
191
+ * @deprecated TODO: 2.0.0 Should be all moved to separate hierarchy-specific action
192
+ */
193
+ depth?: number;
194
+ /**
195
+ * BC url with respect of parents cursors
196
+ */
197
+ bcUrl: string;
198
+ /**
199
+ * If there are more data to fetch (other pages etc.)
200
+ */
201
+ hasNext?: boolean;
202
+ }, string>;
203
+ /**
204
+ * Fetch data request wac unsuccesful
205
+ */
206
+ export declare const bcFetchDataFail: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
207
+ /**
208
+ * Business component that initiated data fetch
209
+ */
210
+ bcName: string;
211
+ /**
212
+ * BC url with respect of parents cursors
213
+ */
214
+ bcUrl: string;
215
+ /**
216
+ * For same BC hierarchies, the level which was requested
217
+ *
218
+ * @deprecated TODO: 2.0.0 Should be all moved to separate hierarchy-specific action
219
+ */
220
+ depth?: number;
221
+ }, string>;
222
+ /**
223
+ * Fetch next chunk of data for table widgets with infinite scroll
224
+ */
225
+ export declare const bcLoadMore: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
226
+ /**
227
+ * Business component that initiated data fetch
228
+ */
229
+ bcName: string;
230
+ /**
231
+ * Widget that initiated row meta fetch
232
+ */
233
+ widgetName?: string;
234
+ }, string>;
235
+ /**
236
+ * Fetch meta information for active record of business component
237
+ */
238
+ export declare const bcFetchRowMeta: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
239
+ /**
240
+ *
241
+ * Business component that initiated row meta fetch
242
+ *
243
+ * @deprecated TODO: 2.0.0 Remove in favor of widgetName
244
+ */
245
+ bcName: string;
246
+ /**
247
+ * Widget that initiated row meta fetch
248
+ */
249
+ widgetName: string;
250
+ }, string>;
251
+ /**
252
+ * Puts row meta received from Cxbox API to the store.
253
+ *
254
+ * Updates values in `data` store slice with new values from row meta when possible.
255
+ */
256
+ export declare const bcFetchRowMetaSuccess: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
257
+ /**
258
+ * Business component that initiated row meta fetch
259
+ */
260
+ bcName: string;
261
+ /**
262
+ * Path to BC with respect to ancestors BC and their cursors
263
+ */
264
+ bcUrl: string;
265
+ /**
266
+ * Row meta returned by Cxbox API
267
+ */
268
+ rowMeta: RowMeta;
269
+ /**
270
+ * Cursor for a record that initiated row meta fetch.
271
+ *
272
+ * Can be empty (e.g. BC has no records) or will be set to new id for `create` operation.
273
+ */
274
+ cursor?: string;
275
+ }, string>;
276
+ /**
277
+ * Fetch request for row meta was unsuccesful
278
+ */
279
+ export declare const bcFetchRowMetaFail: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
280
+ /**
281
+ * Business component initiated row meta fetch
282
+ */
283
+ bcName: string;
284
+ }, string>;
285
+ /**
286
+ * @deprecated Not used; `sendOperationEpic` with `create` role is used instead
287
+ *
288
+ * TODO: Remove in 2.0.0
289
+ */
290
+ export declare const bcNewData: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
291
+ /**
292
+ * Business component for which to create a new record
293
+ */
294
+ bcName: string;
295
+ }, string>;
296
+ /**
297
+ * Put new record draft to `data` store slice
298
+ */
299
+ export declare const bcNewDataSuccess: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
300
+ /**
301
+ * Business component for which new record was created
302
+ */
303
+ bcName: string;
304
+ /**
305
+ * New record with `id` returned by Cxbox API and vstamp = -1 (denoting a record draft)
306
+ */
307
+ dataItem: DataItem;
308
+ /**
309
+ * Path to BC with respect to ancestors BC and their cursors
310
+ */
311
+ bcUrl: string;
312
+ }, string>;
313
+ /**
314
+ * Dispatched when record creation failed
315
+ */
316
+ export declare const bcNewDataFail: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
317
+ /**
318
+ * Business component for which record creation failed
319
+ */
320
+ bcName: string;
321
+ }, string>;
322
+ /**
323
+ * Delete record request was
324
+ */
325
+ export declare const bcDeleteDataFail: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
326
+ /**
327
+ * Business component initiated delete record
328
+ */
329
+ bcName: string;
330
+ }, string>;
331
+ /**
332
+ * Request to change Force active field was unsuccesful
333
+ */
334
+ export declare const forceActiveChangeFail: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
335
+ /**
336
+ * Business component initiated force active change
337
+ */
338
+ bcName: string;
339
+ /**
340
+ * Cursors hierarchy at the time of force active change to
341
+ */
342
+ bcUrl: string;
343
+ /**
344
+ * Error to show in modal
345
+ */
346
+ viewError: string;
347
+ /**
348
+ * Validation errors on fields
349
+ */
350
+ entityError: OperationErrorEntity;
351
+ }, string>;
352
+ /**
353
+ * Perform CustomAction
354
+ */
355
+ export declare const sendOperation: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
356
+ /**
357
+ * The business component to fetch data for
358
+ */
359
+ bcName: string;
360
+ /**
361
+ * Type of operation to be performed
362
+ */
363
+ operationType: OperationTypeCrud | string;
364
+ /**
365
+ * What widget requires data
366
+ */
367
+ widgetName: string;
368
+ /**
369
+ * Any other action
370
+ */
371
+ onSuccessAction?: AnyAction;
372
+ /**
373
+ * params for confirm modal
374
+ */
375
+ confirm?: string;
376
+ /**
377
+ * key called bk
378
+ *
379
+ * @deprecated TODO: Remove in 2.0.0
380
+ */
381
+ bcKey?: string;
382
+ /**
383
+ * @deprecated TODO: Remove in 2.0.0 in favor of sendOperationWithConfirm
384
+ */
385
+ confirmOperation?: OperationPreInvoke;
386
+ }, string>;
387
+ /**
388
+ * Send operation request was unsuccessful
389
+ */
390
+ export declare const sendOperationFail: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
391
+ /**
392
+ * Business component initiated send operation request
393
+ */
394
+ bcName: string;
395
+ /**
396
+ * Cursors hierarchy at the time when request was fired
397
+ */
398
+ bcUrl: string;
399
+ /**
400
+ * Error to show in modal
401
+ */
402
+ viewError: string;
403
+ /**
404
+ * Validation errors on fields
405
+ */
406
+ entityError: OperationErrorEntity;
407
+ }, string>;
408
+ /**
409
+ * Send operation request was successful
410
+ */
411
+ export declare const sendOperationSuccess: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
412
+ /**
413
+ * Business component initiated the request
414
+ */
415
+ bcName: string;
416
+ /**
417
+ * Cursor which initiated the request
418
+ */
419
+ cursor: string;
420
+ }, string>;
421
+ /**
422
+ * TODO
423
+ */
424
+ export declare const processPostInvoke: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
425
+ /**
426
+ * @deprecated TODO: Prefer widgetName instead (2.0.0)
427
+ */
428
+ bcName: string;
429
+ postInvoke: OperationPostInvokeAny;
430
+ cursor?: string;
431
+ /**
432
+ * What widget initiated original operation, TODO: mandatory in 2.0.0
433
+ */
434
+ widgetName?: string;
435
+ }, string>;
436
+ /**
437
+ * Operation to perform preInvoke actions
438
+ */
439
+ export declare const processPreInvoke: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
440
+ /**
441
+ * The business component to fetch data for
442
+ */
443
+ bcName: string;
444
+ /**
445
+ * Type of operation to be performed
446
+ */
447
+ operationType: string;
448
+ /**
449
+ * What widget requires data
450
+ */
451
+ widgetName: string;
452
+ /**
453
+ * Action that will be performed before the main operation
454
+ */
455
+ preInvoke: OperationPreInvoke;
456
+ }, string>;
457
+ /**
458
+ * Operation to perform postInvokeConfirm actions
459
+ */
460
+ export declare const processPostInvokeConfirm: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
461
+ /**
462
+ * The business component to fetch data for
463
+ */
464
+ bcName: string;
465
+ /**
466
+ * Type of operation to be performed
467
+ */
468
+ operationType: string;
469
+ /**
470
+ * What widget requires data
471
+ */
472
+ widgetName: string;
473
+ /**
474
+ * Action that will be performed after the main operation and confirmation
475
+ */
476
+ postInvokeConfirm: OperationPostInvokeConfirm;
477
+ }, string>;
478
+ /**
479
+ * TODO
480
+ */
481
+ export declare const userDrillDown: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
482
+ widgetName: string;
483
+ bcName: string;
484
+ cursor: string;
485
+ fieldKey: string;
486
+ }, string>;
487
+ /**
488
+ * TODO
489
+ */
490
+ export declare const userDrillDownSuccess: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
491
+ bcUrl: string;
492
+ bcName: string;
493
+ cursor: string;
494
+ }, string>;
495
+ /**
496
+ * TODO
497
+ */
498
+ export declare const drillDown: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
499
+ url: string;
500
+ drillDownType?: DrillDownType;
501
+ urlName?: string;
502
+ route: Route;
503
+ widgetName?: string;
504
+ }, string>;
505
+ /**
506
+ * TODO
507
+ */
508
+ export declare const bcChangeCursors: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
509
+ cursorsMap: Record<string, string>;
510
+ keepDelta?: boolean;
511
+ }, string>;
512
+ /**
513
+ * Sets a cursor for the specified depth level of hierarchy widget
514
+ * builded around a single business component.
515
+ */
516
+ export declare const bcChangeDepthCursor: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
517
+ /**
518
+ * Business component for the hierarchy widget
519
+ */
520
+ bcName: string;
521
+ /**
522
+ * Depth level for which cursor is set
523
+ */
524
+ depth: number;
525
+ /**
526
+ * Cursor set for specific depth level of the hierarchy widget.
527
+ *
528
+ * Controls the collapsed state of the record and which data are fetched for the next level of hierarchy
529
+ */
530
+ cursor: string;
531
+ }, string>;
532
+ /**
533
+ * TODO
534
+ */
535
+ export declare const changeDataItem: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
536
+ bcName: string;
537
+ cursor: string;
538
+ dataItem: PendingDataItem;
539
+ disableRetry?: boolean;
540
+ }, string>;
541
+ /**
542
+ * TODO
543
+ */
544
+ export declare const changeDataItems: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
545
+ bcName: string;
546
+ cursors: string[];
547
+ dataItems: PendingDataItem[];
548
+ }, string>;
549
+ /**
550
+ * TODO
551
+ */
552
+ export declare const forceActiveRmUpdate: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
553
+ /**
554
+ * current data for record that initiated rowMeta fetch
555
+ */
556
+ currentRecordData: DataItem;
557
+ rowMeta: RowMeta;
558
+ bcName: string;
559
+ bcUrl: string;
560
+ cursor: string;
561
+ }, string>;
562
+ /**
563
+ * TODO
564
+ */
565
+ export declare const showViewPopup: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
566
+ /**
567
+ * BC name of popup widget
568
+ *
569
+ * @deprecated TODO: Remove in 2.0.0 in favor of widget name
570
+ */
571
+ bcName: string;
572
+ /**
573
+ * Name of popup widget
574
+ */
575
+ widgetName?: string;
576
+ /**
577
+ * It's BC name of `caller` widget actually
578
+ *
579
+ * @deprecated TODO: Remove in 2.0.0 in favor of widget name
580
+ */
581
+ calleeBCName?: string;
582
+ /**
583
+ * Name of `caller` widget actually
584
+ *
585
+ * TODO: 2.0.0 : Rename to `callerWidgetName`
586
+ */
587
+ calleeWidgetName?: string;
588
+ /**
589
+ * Popup widget field key associated to `assocValueKey` of caller widget
590
+ */
591
+ associateFieldKey?: string;
592
+ /**
593
+ * Caller widget field key associated to `associateFieldKey` of popup widget
594
+ */
595
+ assocValueKey?: string;
596
+ /**
597
+ * If `true` then backend's method of association is used
598
+ */
599
+ active?: boolean;
600
+ /**
601
+ * Whether popup is used as filter
602
+ */
603
+ isFilter?: boolean;
604
+ /**
605
+ * Type of popup
606
+ */
607
+ type?: PopupType;
608
+ }, string>;
609
+ /**
610
+ * TODO
611
+ */
612
+ export declare const showFileUploadPopup: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
613
+ /**
614
+ * Name of the widget that initiated popup opening
615
+ */
616
+ widgetName: string;
617
+ }, string>;
618
+ /**
619
+ * Closes currently active popup on view
620
+ */
621
+ export declare const closeViewPopup: import("@reduxjs/toolkit").ActionCreatorWithNonInferrablePayload<string>;
622
+ /**
623
+ * TODO
624
+ */
625
+ export declare const viewPutPickMap: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
626
+ map: PickMap;
627
+ bcName: string;
628
+ }, string>;
629
+ /**
630
+ * TODO
631
+ */
632
+ export declare const viewClearPickMap: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<null, string>;
633
+ /**
634
+ * TODO
635
+ */
636
+ export declare const saveAssociations: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
637
+ bcNames: string[];
638
+ /**
639
+ * For usage outside Popup (without opening multivalue)
640
+ */
641
+ calleeBcName?: string;
642
+ associateFieldKey?: string;
643
+ }, string>;
644
+ /**
645
+ * Sets intermediate state for association widget by storing associated records in pseudo-business component.
646
+ *
647
+ * Name for this pseudo-BC is formed as `${bcName}Delta`.
648
+ */
649
+ export declare const changeAssociations: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
650
+ /**
651
+ * Assoc widget's business component
652
+ */
653
+ bcName: string;
654
+ /**
655
+ * Records that marked as `associated` for this widget
656
+ *
657
+ * TODO: Will be mandatory in 2.0.0
658
+ */
659
+ records?: DataItem[];
660
+ }, string>;
661
+ /**
662
+ * TODO
663
+ */
664
+ export declare const removeMultivalueTag: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
665
+ bcName: string;
666
+ popupBcName: string;
667
+ cursor: string;
668
+ associateFieldKey: string;
669
+ dataItem: MultivalueSingleValue[];
670
+ removedItem: MultivalueSingleValue;
671
+ }, string>;
672
+ /**
673
+ * TODO
674
+ */
675
+ export declare const bcSaveDataSuccess: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
676
+ bcName: string;
677
+ cursor: string;
678
+ dataItem: DataItem;
679
+ }, string>;
680
+ /**
681
+ * TODO
682
+ */
683
+ export declare const bcSaveDataFail: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
684
+ bcName: string;
685
+ bcUrl: string;
686
+ entityError?: OperationErrorEntity;
687
+ viewError?: string;
688
+ }, string>;
689
+ /**
690
+ * Save info about current operation for confirm modal
691
+ */
692
+ export declare const operationConfirmation: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
693
+ /**
694
+ * Current operation
695
+ */
696
+ operation: {
697
+ bcName: string;
698
+ operationType: OperationTypeCrud | string;
699
+ widgetName: string;
700
+ };
701
+ /**
702
+ * Text for confirm modal
703
+ */
704
+ confirmOperation: OperationPostInvokeConfirm;
705
+ }, string>;
706
+ /**
707
+ * Manually update business component by fetching its data and and row meta
708
+ */
709
+ export declare const bcForceUpdate: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
710
+ /**
711
+ * @deprecated Will be removed in 2.0.0 in favor of `widgetName`
712
+ */
713
+ bcName: string;
714
+ /**
715
+ * What widget requires data (widget can only request its own data here)
716
+ *
717
+ * TODO: Will be mandatory in 2.0.0
718
+ */
719
+ widgetName?: string;
720
+ }, string>;
721
+ /**
722
+ * TODO
723
+ */
724
+ export declare const uploadFile: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<null, string>;
725
+ /**
726
+ * TODO
727
+ */
728
+ export declare const uploadFileDone: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<null, string>;
729
+ /**
730
+ * TODO
731
+ */
732
+ export declare const uploadFileFailed: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<null, string>;
733
+ /**
734
+ * TODO
735
+ */
736
+ export declare const bcCancelPendingChanges: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
737
+ bcNames: string[];
738
+ }, string>;
739
+ /**
740
+ * TODO
741
+ */
742
+ export declare const bcSelectRecord: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
743
+ bcName: string;
744
+ cursor: string;
745
+ ignoreChildrenPageLimit?: boolean;
746
+ keepDelta?: boolean;
747
+ }, string>;
748
+ /**
749
+ * Wrapper action to sets a cursor for the specified depth level of hierarchy widget
750
+ * builded around a single business component and fetch children for that record.
751
+ *
752
+ * @deprecated Do not use. TODO: Will be removed in 2.0.0
753
+ */
754
+ export declare const bcSelectDepthRecord: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
755
+ /**
756
+ * Business component for the hierarchy widget
757
+ */
758
+ bcName: string;
759
+ /**
760
+ * Depth level for which cursor is set
761
+ */
762
+ depth: number;
763
+ /**
764
+ * Cursor set for specific depth level of the hierarchy widget.
765
+ *
766
+ * Controls the collapsed state of the record and which data are fetched for the next level of hierarchy
767
+ */
768
+ cursor: string;
769
+ }, string>;
770
+ /**
771
+ * TODO
772
+ */
773
+ export declare const changeAssociation: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
774
+ bcName: string;
775
+ widgetName: string;
776
+ dataItem: AssociatedItem;
777
+ assocValueKey: string;
778
+ }, string>;
779
+ /**
780
+ * TODO
781
+ */
782
+ export declare const changeAssociationSameBc: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
783
+ bcName: string;
784
+ depth: number;
785
+ widgetName: string;
786
+ dataItem: AssociatedItem;
787
+ assocValueKey: string;
788
+ }, string>;
789
+ /**
790
+ * TODO
791
+ */
792
+ export declare const changeAssociationFull: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
793
+ bcName: string;
794
+ depth: number;
795
+ widgetName: string;
796
+ dataItem: AssociatedItem;
797
+ /**
798
+ * @deprecated TODO: Remove in 2.0.0 in favor of store.view.popupData.assocValueKey instead
799
+ */
800
+ assocValueKey?: string;
801
+ }, string>;
802
+ /**
803
+ * TODO
804
+ */
805
+ export declare const changeChildrenAssociations: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
806
+ bcName: string;
807
+ assocValueKey: string;
808
+ selected: boolean;
809
+ }, string>;
810
+ /**
811
+ * TODO
812
+ */
813
+ export declare const changeChildrenAssociationsSameBc: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
814
+ bcName: string;
815
+ depth: number;
816
+ assocValueKey: string;
817
+ selected: boolean;
818
+ }, string>;
819
+ /**
820
+ * TODO
821
+ */
822
+ export declare const changeDescendantsAssociationsFull: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
823
+ bcName: string;
824
+ parentId: string;
825
+ depth: number;
826
+ assocValueKey: string;
827
+ selected: boolean;
828
+ }, string>;
829
+ /**
830
+ * TODO
831
+ */
832
+ export declare const dropAllAssociations: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
833
+ bcNames: string[];
834
+ }, string>;
835
+ /**
836
+ * TODO
837
+ */
838
+ export declare const dropAllAssociationsSameBc: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
839
+ bcName: string;
840
+ depthFrom: number;
841
+ }, string>;
842
+ /**
843
+ * TODO
844
+ */
845
+ export declare const dropAllAssociationsFull: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
846
+ bcName: string;
847
+ depth: number;
848
+ dropDescendants?: boolean;
849
+ }, string>;
850
+ /**
851
+ * For server side routing where {@link RouteType.router | routes are handled by Cxbox API endpoint}, this action is dispatched
852
+ * to process requested route.
853
+ */
854
+ export declare const handleRouter: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
855
+ /**
856
+ * An URL that will be passed to Cxbox API router endpoint
857
+ */
858
+ path: string;
859
+ /**
860
+ * AJAX request parameters for the requests
861
+ */
862
+ params: Record<string, unknown>;
863
+ }, string>;
864
+ /**
865
+ * TODO
866
+ */
867
+ export declare const selectTableCellInit: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
868
+ widgetName: string;
869
+ rowId: string;
870
+ fieldKey: string;
871
+ }, string>;
872
+ /**
873
+ * TODO
874
+ */
875
+ export declare const selectTableCell: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
876
+ widgetName: string;
877
+ rowId: string;
878
+ fieldKey: string;
879
+ }, string>;
880
+ /**
881
+ * TODO
882
+ */
883
+ export declare const showAllTableRecordsInit: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
884
+ bcName: string;
885
+ cursor: string;
886
+ /**
887
+ * @deprecated Remove in 2.0 (accessible from the store)
888
+ */
889
+ route?: Route;
890
+ }, string>;
891
+ /**
892
+ * TODO
893
+ */
894
+ export declare const showNotification: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
895
+ type: AppNotificationType;
896
+ message: string;
897
+ }, string>;
898
+ /**
899
+ * TODO
900
+ */
901
+ export declare const closeNotification: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
902
+ id: number;
903
+ }, string>;
904
+ /**
905
+ * TODO
906
+ */
907
+ export declare const bcAddFilter: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
908
+ /**
909
+ * TODO: Will be mandatory in 2.0.0
910
+ */
911
+ widgetName?: string;
912
+ /**
913
+ * @deprecated TODO: Remove in 2.0.0 in favor of widgetName
914
+ */
915
+ bcName: string;
916
+ filter: BcFilter;
917
+ }, string>;
918
+ /**
919
+ * TODO
920
+ */
921
+ export declare const bcRemoveFilter: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
922
+ bcName: string;
923
+ filter: BcFilter;
924
+ }, string>;
925
+ /**
926
+ * Remove all filters at once
927
+ */
928
+ export declare const bcRemoveAllFilters: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
929
+ bcName: string;
930
+ }, string>;
931
+ /**
932
+ * TODO
933
+ */
934
+ export declare const bcAddSorter: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
935
+ bcName: string;
936
+ sorter: BcSorter | BcSorter[];
937
+ }, string>;
938
+ /**
939
+ * TODO
940
+ */
941
+ export declare const bcRemoveSorter: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
942
+ bcName: string;
943
+ sorter: BcSorter;
944
+ }, string>;
945
+ /**
946
+ * Fetches data for the new page of business component, replacing existing data
947
+ */
948
+ export declare const bcChangePage: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
949
+ /**
950
+ * Business component changing the page
951
+ *
952
+ * @deprecated TODO: Will be removed in 2.0.0 in favor of `widgetNam`
953
+ */
954
+ bcName: string;
955
+ /**
956
+ * Requested page number
957
+ */
958
+ page: number;
959
+ /**
960
+ * Widget changing the page
961
+ */
962
+ widgetName?: string;
963
+ }, string>;
964
+ /**
965
+ * TODO
966
+ */
967
+ export declare const showViewError: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
968
+ error: ApplicationError;
969
+ }, string>;
970
+ /**
971
+ * TODO
972
+ */
973
+ export declare const closeViewError: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<null, string>;
974
+ /**
975
+ * Close confirm modal window
976
+ */
977
+ export declare const closeConfirmModal: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<null, string>;
978
+ /**
979
+ * TODO
980
+ */
981
+ export declare const clearValidationFails: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<null, string>;
982
+ /**
983
+ * TODO
984
+ */
985
+ export declare const downloadFile: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
986
+ fileId: string;
987
+ }, string>;
988
+ /**
989
+ * TODO
990
+ */
991
+ export declare const downloadFileByUrl: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
992
+ url: string;
993
+ }, string>;
994
+ /**
995
+ * Save uploaded files to the widget
996
+ */
997
+ export declare const bulkUploadFiles: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
998
+ /**
999
+ * Ids of uploaded files
1000
+ */
1001
+ fileIds: string[];
1002
+ }, string>;
1003
+ /**
1004
+ * An error occured during API request
1005
+ */
1006
+ export declare const apiError: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
1007
+ /**
1008
+ * Axios error object
1009
+ */
1010
+ error: AxiosError;
1011
+ /**
1012
+ * Request context
1013
+ */
1014
+ callContext: ApiCallContext;
1015
+ }, string>;
1016
+ /**
1017
+ * Fires for specific HTTP status code
1018
+ */
1019
+ export declare const httpError: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
1020
+ /**
1021
+ * Status code for failed request caught by `onErrorHook`
1022
+ */
1023
+ statusCode: number;
1024
+ /**
1025
+ * Axios error object
1026
+ */
1027
+ error: AxiosError;
1028
+ /**
1029
+ * Request context
1030
+ */
1031
+ callContext: ApiCallContext;
1032
+ }, string>;
1033
+ /**
1034
+ * Enable/disable debug mode
1035
+ */
1036
+ export declare const switchDebugMode: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<boolean, string>;
1037
+ /**
1038
+ * Download state to device
1039
+ */
1040
+ export declare const exportState: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<null, string>;
1041
+ /**
1042
+ * TODO
1043
+ */
1044
+ export declare const emptyAction: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<null, string>;
1045
+ /**
1046
+ * refresh screens, views and widgets meta
1047
+ */
1048
+ export declare const refreshMeta: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<null, string>;
1049
+ /**
1050
+ * Refresh meta data (see action above) and reload page
1051
+ */
1052
+ export declare const refreshMetaAndReloadPage: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<null, string>;
1053
+ /**
1054
+ * Switch to another user role
1055
+ */
1056
+ export declare const switchRole: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
1057
+ role: string;
1058
+ }, string>;
1059
+ /**
1060
+ * Add pending request for tracking and blocking race conditions
1061
+ */
1062
+ export declare const addPendingRequest: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
1063
+ request: PendingRequest;
1064
+ }, string>;
1065
+ /**
1066
+ * Remove pending request
1067
+ */
1068
+ export declare const removePendingRequest: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<{
1069
+ requestId: string;
1070
+ }, string>;
1071
+ export declare const addNotification: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<Notification, string>;
1072
+ export declare const removeNotifications: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<NotificationKeys, string>;