@cxbox-ui/core 1.37.2-alpha.9 → 1.37.2

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