@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.
- package/dist/actions/index.d.ts +1072 -0
- package/dist/api/ObservableApi.d.ts +45 -0
- package/dist/api/ObservableApiWrapper.d.ts +11 -0
- package/dist/api/index.d.ts +1 -0
- package/dist/cxbox-ui-core.cjs.development.js +3189 -0
- package/dist/cxbox-ui-core.cjs.production.min.js +2 -0
- package/dist/cxbox-ui-core.esm.js +3145 -0
- package/dist/cxbox-ui-core.modern.development.js +3085 -0
- package/dist/cxbox-ui-core.modern.js +3085 -0
- package/dist/cxbox-ui-core.modern.production.min.js +2 -0
- package/dist/epics/data/bcCancelCreateDataEpic.d.ts +9 -0
- package/dist/epics/data/bcDeleteDataEpic.d.ts +2 -0
- package/dist/epics/data/bcFetchDataEpic.d.ts +15 -0
- package/dist/epics/data/bcFetchRowMetaRequestEpic.d.ts +17 -0
- package/dist/epics/data/bcLoadMoreEpic.d.ts +2 -0
- package/dist/epics/data/bcNewDataEpic.d.ts +14 -0
- package/dist/epics/data/bcSaveDataEpic.d.ts +24 -0
- package/dist/epics/data/bcSelectDepthRecordEpic.d.ts +2 -0
- package/dist/epics/data/bcSelectRecordEpic.d.ts +2 -0
- package/dist/epics/data/changeAssociationEpic.d.ts +2 -0
- package/dist/epics/data/changeAssociationFullEpic.d.ts +5 -0
- package/dist/epics/data/changeAssociationSameBcEpic.d.ts +5 -0
- package/dist/epics/data/changeChildrenAssociationsEpic.d.ts +2 -0
- package/dist/epics/data/changeChildrenAssociationsSameBcEpic.d.ts +2 -0
- package/dist/epics/data/changeDescendantsAssociationsFullEpic.d.ts +5 -0
- package/dist/epics/data/index.d.ts +20 -0
- package/dist/epics/data/inlinePickListFetchDataEpic.d.ts +2 -0
- package/dist/epics/data/removeMultivalueTagEpic.d.ts +17 -0
- package/{epics/data/saveAssociationsActive.d.ts → dist/epics/data/saveAssociationsActiveEpic.d.ts} +2 -2
- package/dist/epics/data/saveAssociationsPassiveEpic.d.ts +7 -0
- package/dist/epics/data/selectViewEpic.d.ts +11 -0
- package/dist/epics/index.d.ts +6 -0
- package/{epics/router/changeLocation.d.ts → dist/epics/router/changeLocationEpic.d.ts} +2 -3
- package/dist/epics/router/drilldownEpic.d.ts +2 -0
- package/dist/epics/router/handleRouterEpic.d.ts +2 -0
- package/dist/epics/router/index.d.ts +10 -0
- package/dist/epics/router/loginDoneEpic.d.ts +9 -0
- package/dist/epics/router/selectScreenEpic.d.ts +7 -0
- package/dist/epics/router/selectScreenFailEpic.d.ts +7 -0
- package/dist/epics/router/selectViewEpic.d.ts +7 -0
- package/dist/epics/router/selectViewFailEpic.d.ts +6 -0
- package/dist/epics/router/userDrillDownEpic.d.ts +6 -0
- package/dist/epics/router/userDrilldownChangeCursorsEpic.d.ts +2 -0
- package/dist/epics/screen/apiErrorEpic.d.ts +3 -0
- package/dist/epics/screen/downloadFileByUrlEpic.d.ts +2 -0
- package/dist/epics/screen/downloadFileEpic.d.ts +2 -0
- package/dist/epics/screen/httpError401Epic.d.ts +2 -0
- package/dist/epics/screen/httpError409Epic.d.ts +2 -0
- package/dist/epics/screen/httpError418Epic.d.ts +2 -0
- package/dist/epics/screen/httpError500Epic.d.ts +2 -0
- package/dist/epics/screen/httpErrorDefaultEpic.d.ts +2 -0
- package/dist/epics/screen/index.d.ts +10 -0
- package/dist/epics/screen/processPostInvokeConfirmEpic.d.ts +2 -0
- package/dist/epics/screen/processPostInvokeEpic.d.ts +2 -0
- package/dist/epics/session/index.d.ts +5 -0
- package/dist/epics/session/loginByAnotherRoleEpic.d.ts +5 -0
- package/dist/epics/session/loginDoneEpic.d.ts +6 -0
- package/dist/epics/session/refreshMetaAndReloadPageEpic.d.ts +2 -0
- package/dist/epics/session/refreshMetaEpic.d.ts +5 -0
- package/dist/epics/session/switchRoleEpic.d.ts +5 -0
- package/dist/epics/utils/postOperationRoutine.d.ts +13 -0
- package/dist/epics/view/clearPendingDataChangesAfterCursorChangeEpic.d.ts +7 -0
- package/dist/epics/view/fileUploadConfirmEpic.d.ts +11 -0
- package/dist/epics/view/getRowMetaByForceActiveEpic.d.ts +5 -0
- package/dist/epics/view/index.d.ts +9 -0
- package/dist/epics/view/selectTableCellInitEpic.d.ts +2 -0
- package/dist/epics/view/sendOperationAssociateEpic.d.ts +5 -0
- package/dist/epics/view/sendOperationEpic.d.ts +10 -0
- package/dist/epics/view/showAllTableRecordsInitEpic.d.ts +2 -0
- package/dist/epics/view/showAssocPopupEpic.d.ts +2 -0
- package/dist/epics/view/showFileUploadPopupEpic.d.ts +5 -0
- package/dist/index.d.ts +6 -0
- package/dist/index.js +6 -0
- package/{interfaces → dist/interfaces}/bc.d.ts +2 -2
- package/dist/interfaces/customEpics.d.ts +15 -0
- package/{interfaces → dist/interfaces}/customMiddlewares.d.ts +5 -5
- package/{interfaces → dist/interfaces}/data.d.ts +4 -4
- package/dist/interfaces/index.d.ts +27 -0
- package/{interfaces → dist/interfaces}/navigation.d.ts +2 -2
- package/{interfaces → dist/interfaces}/objectMap.d.ts +3 -2
- package/{interfaces → dist/interfaces}/operation.d.ts +7 -6
- package/{interfaces → dist/interfaces}/session.d.ts +19 -0
- package/dist/interfaces/store.d.ts +14 -0
- package/{interfaces → dist/interfaces}/tree.d.ts +4 -4
- package/{interfaces → dist/interfaces}/view.d.ts +5 -5
- package/{interfaces → dist/interfaces}/widget.d.ts +11 -11
- package/dist/middlewares/autosaveMiddleware.d.ts +17 -0
- package/dist/middlewares/index.d.ts +16 -0
- package/{middlewares → dist/middlewares}/requiredFieldsMiddleware.d.ts +3 -5
- package/dist/reducers/ReducerBuilderManager.d.ts +19 -0
- package/dist/reducers/data.d.ts +4 -0
- package/dist/reducers/depthData.d.ts +4 -0
- package/dist/reducers/index.d.ts +6 -0
- package/dist/reducers/router.d.ts +9 -0
- package/dist/reducers/screen.d.ts +10 -0
- package/dist/reducers/session.d.ts +10 -0
- package/dist/reducers/view.d.ts +10 -0
- package/dist/utils/api.d.ts +34 -0
- package/{utils → dist/utils}/autosave.d.ts +13 -2
- package/{utils → dist/utils}/bc.d.ts +2 -2
- package/dist/utils/cancelRequestEpic.d.ts +17 -0
- package/dist/utils/combineMiddlewares.d.ts +14 -0
- package/dist/utils/deleteUndefinedFromObject.d.ts +1 -0
- package/{utils → dist/utils}/filters.d.ts +1 -2
- package/{utils → dist/utils}/history.d.ts +5 -7
- package/dist/utils/index.d.ts +9 -0
- package/{utils → dist/utils}/operations.d.ts +2 -2
- package/dist/utils/others.d.ts +6 -0
- package/{utils → dist/utils}/strings.d.ts +1 -0
- package/{utils → dist/utils}/tree.d.ts +2 -2
- package/package.json +66 -105
- package/CONTRIBUTING.md +0 -124
- package/Provider.d.ts +0 -63
- package/actions/actions-utils.d.ts +0 -48
- package/actions/actions.d.ts +0 -1144
- package/actions/index.d.ts +0 -2
- package/api/api.d.ts +0 -148
- package/api/index.d.ts +0 -1
- package/assets/i18n/__tests__/getTextAssets.d.ts +0 -1
- package/assets/i18n/index.d.ts +0 -25
- package/components/ColumnTitle/ColumnFilter.d.ts +0 -47
- package/components/ColumnTitle/ColumnSort.d.ts +0 -26
- package/components/ColumnTitle/ColumnTitle.d.ts +0 -31
- package/components/ColumnTitle/__tests__/ColumnFilter.test.d.ts +0 -1
- package/components/ColumnTitle/__tests__/ColumnSort.test.d.ts +0 -1
- package/components/ColumnTitle/__tests__/ColumnTitle.test.d.ts +0 -1
- package/components/DebugPanel/DebugPanel.d.ts +0 -7
- package/components/DebugPanel/__tests__/DebugPanel.test.d.ts +0 -1
- package/components/DebugPanel/components/FormattedJSON.d.ts +0 -6
- package/components/DebugPanel/components/InfoLabel.d.ts +0 -7
- package/components/DebugPanel/components/ViewInfoLabel.d.ts +0 -3
- package/components/DebugPanel/components/WidgetInfoLabel.d.ts +0 -5
- package/components/DebugPanel/components/__tests__/FormattedJSON.test.d.ts +0 -1
- package/components/DebugPanel/components/__tests__/InfoLabel.test.d.ts +0 -1
- package/components/DebugPanel/components/__tests__/ViewInfoLabel.test.d.ts +0 -1
- package/components/DebugPanel/components/__tests__/WidgetInfoLabel.test.d.ts +0 -1
- package/components/DevToolsPanel/DevToolsPanel.d.ts +0 -10
- package/components/DevToolsPanel/DevToolsPanel.test.d.ts +0 -1
- package/components/DevToolsPanel/components/DebugModeButton.d.ts +0 -9
- package/components/DevToolsPanel/components/RefreshMetaButton.d.ts +0 -9
- package/components/DevToolsPanel/components/__tests__/DebugModeButton.test.d.ts +0 -1
- package/components/DevToolsPanel/components/__tests__/RefreshMetaButton.test.d.ts +0 -1
- package/components/Field/Field.d.ts +0 -72
- package/components/Field/Field.test.d.ts +0 -1
- package/components/FileUpload/FileUpload.d.ts +0 -32
- package/components/FileUploadPopup/FileUploadPopup.d.ts +0 -10
- package/components/FilterPopup/FilterPopup.d.ts +0 -26
- package/components/FilterPopup/FilterPopup.test.d.ts +0 -1
- package/components/FullHierarchyTable/FullHierarchyTable.d.ts +0 -52
- package/components/FullHierarchyTable/FullHierarchyTable.test.d.ts +0 -1
- package/components/FullHierarchyTable/utils/hierarchySearchCache.d.ts +0 -37
- package/components/FullHierarchyTable/utils/hierarchySearchCache.test.d.ts +0 -1
- package/components/FullHierarchyTable/utils/useExpandedKeys.d.ts +0 -19
- package/components/FullHierarchyTable/utils/useHierarchyCache.d.ts +0 -12
- package/components/HierarchyTable/HierarchyTable.d.ts +0 -48
- package/components/HierarchyTable/HierarchyTable.test.d.ts +0 -1
- package/components/InlinePickList/InlinePickList.d.ts +0 -23
- package/components/ModalInvoke/ModalInvoke.d.ts +0 -18
- package/components/ModalInvoke/ModalInvoke.test.d.ts +0 -1
- package/components/Multivalue/MultiValueListRecord.d.ts +0 -15
- package/components/Multivalue/MultivalueField.d.ts +0 -31
- package/components/Multivalue/MultivalueField.test.d.ts +0 -1
- package/components/PickListField/PickListField.d.ts +0 -25
- package/components/RowOperations/RowOperationsButton.d.ts +0 -42
- package/components/RowOperations/RowOperationsMenu.d.ts +0 -29
- package/components/RowOperations/__tests__/RowOperationsButton.test.d.ts +0 -1
- package/components/RowOperations/__tests__/RowOperationsMenu.test.d.ts +0 -1
- package/components/SameBcHierarchyTable/SameBcHierarchyTable.d.ts +0 -41
- package/components/TemplatedTitle/TemplatedTitle.d.ts +0 -20
- package/components/View/View.d.ts +0 -27
- package/components/View/__tests__/View.test.d.ts +0 -1
- package/components/Widget/Widget.d.ts +0 -29
- package/components/Widget/Widget.test.d.ts +0 -1
- package/components/WidgetErrorBoundary/WidgetErrorBoundary.d.ts +0 -20
- package/components/WidgetErrorBoundary/WidgetErrorBoundary.test.d.ts +0 -1
- package/components/WidgetErrorBoundary/components/RefreshButton.d.ts +0 -4
- package/components/WidgetErrorBoundary/components/RefreshButton.test.d.ts +0 -1
- package/components/index.d.ts +0 -44
- package/components/ui/ActionLink/ActionLink.d.ts +0 -11
- package/components/ui/CheckboxFilter/CheckboxFilter.d.ts +0 -21
- package/components/ui/CheckboxFilter/CheckboxFilter.test.d.ts +0 -1
- package/components/ui/CheckboxPicker/CheckboxPicker.d.ts +0 -21
- package/components/ui/CopyableText/CopyableText.d.ts +0 -7
- package/components/ui/CopyableText/__tests__/CopyableText.test.d.ts +0 -1
- package/components/ui/DashboardLayout/DashboardLayout.d.ts +0 -22
- package/components/ui/DashboardLayout/__tests__/DashboardLayout.test.d.ts +0 -1
- package/components/ui/DatePickerField/DatePickerField.d.ts +0 -25
- package/components/ui/Dictionary/Dictionary.d.ts +0 -30
- package/components/ui/Dictionary/Dictionary.test.d.ts +0 -1
- package/components/ui/ErrorPopup/ErrorPopup.d.ts +0 -18
- package/components/ui/ErrorPopup/ErrorPopup.test.d.ts +0 -1
- package/components/ui/FilterField/FilterField.d.ts +0 -25
- package/components/ui/FilterField/FilterField.test.d.ts +0 -1
- package/components/ui/FilterField/components/RangePicker.d.ts +0 -11
- package/components/ui/FilterField/components/RangePicker.test.d.ts +0 -1
- package/components/ui/HistoryField/HistoryField.d.ts +0 -15
- package/components/ui/InteractiveInput/InteractiveInput.d.ts +0 -28
- package/components/ui/Link/Link.d.ts +0 -13
- package/components/ui/MultiField/MultiField.d.ts +0 -16
- package/components/ui/Multivalue/MultivalueHover.d.ts +0 -15
- package/components/ui/Multivalue/MultivalueList.d.ts +0 -17
- package/components/ui/Multivalue/MultivalueTag.d.ts +0 -24
- package/components/ui/NavigationTabs/NavigationTabs.d.ts +0 -7
- package/components/ui/NavigationTabs/NavigationTabs.test.d.ts +0 -1
- package/components/ui/NumberInput/NumberInput.d.ts +0 -17
- package/components/ui/NumberInput/NumberInput.test.d.ts +0 -1
- package/components/ui/NumberInput/formaters.d.ts +0 -31
- package/components/ui/Pagination/Pagination.d.ts +0 -51
- package/components/ui/Pagination/Pagination.test.d.ts +0 -1
- package/components/ui/PickInput/PickInput.d.ts +0 -15
- package/components/ui/Popup/Popup.d.ts +0 -29
- package/components/ui/Popup/Popup.test.d.ts +0 -1
- package/components/ui/Popup/PopupFooter.d.ts +0 -16
- package/components/ui/RadioButton/RadioButton.d.ts +0 -16
- package/components/ui/RadioButton/RadioButton.test.d.ts +0 -1
- package/components/ui/ReadOnlyField/ReadOnlyField.d.ts +0 -22
- package/components/ui/SearchHightlight/SearchHightlight.d.ts +0 -20
- package/components/ui/Select/Select.d.ts +0 -26
- package/components/ui/TextArea/TextArea.d.ts +0 -24
- package/components/ui/TextArea/TextArea.test.d.ts +0 -1
- package/components/ui/TreeVirtualized/TreeVirtualized.d.ts +0 -63
- package/components/ui/TreeVirtualized/TreeVirtualizedNode.d.ts +0 -67
- package/components/ui/TreeVirtualized/__tests__/TreeVirtualized.test.d.ts +0 -1
- package/components/ui/TreeVirtualized/__tests__/TreeVirtualizedNode.test.d.ts +0 -1
- package/components/ui/TreeVirtualized/__tests__/useMatchingNodes.test.d.ts +0 -1
- package/components/ui/TreeVirtualized/__tests__/useSearchResult.test.d.ts +0 -1
- package/components/ui/TreeVirtualized/useMatchingNodes.d.ts +0 -23
- package/components/ui/TreeVirtualized/useSearchResult.d.ts +0 -27
- package/components/widgets/AssocListPopup/AssocListPopup.d.ts +0 -58
- package/components/widgets/AssocListPopup/AssocListPopup.test.d.ts +0 -1
- package/components/widgets/AssocListPopup/AssocTable.d.ts +0 -35
- package/components/widgets/AssocListPopup/AssocTable.test.d.ts +0 -1
- package/components/widgets/FlatTree/FlatTree.d.ts +0 -53
- package/components/widgets/FlatTree/FlatTreePopup.d.ts +0 -31
- package/components/widgets/FlatTree/__tests__/FlatTree.test.d.ts +0 -1
- package/components/widgets/FlatTree/__tests__/FlatTreePopup.test.d.ts +0 -1
- package/components/widgets/FlatTree/useMultipleSelect.d.ts +0 -11
- package/components/widgets/FlatTree/useSingleSelect.d.ts +0 -10
- package/components/widgets/FormWidget/FormWidget.d.ts +0 -23
- package/components/widgets/FormWidget/FormWidget.test.d.ts +0 -1
- package/components/widgets/InfoWidget/InfoWidget.d.ts +0 -19
- package/components/widgets/InfoWidget/__test__/InfoWidget.test.d.ts +0 -1
- package/components/widgets/InfoWidget/components/InfoCell.d.ts +0 -15
- package/components/widgets/InfoWidget/components/InfoRow.d.ts +0 -16
- package/components/widgets/InfoWidget/components/InfoValueWrapper.d.ts +0 -10
- package/components/widgets/InfoWidget/components/__tests__/InfoCell.test.d.ts +0 -1
- package/components/widgets/InfoWidget/components/__tests__/InfoRow.test.d.ts +0 -1
- package/components/widgets/InfoWidget/components/__tests__/InfoValueWrapper.test.d.ts +0 -1
- package/components/widgets/NavigationTabsWidget/NavigationTabsWidget.d.ts +0 -8
- package/components/widgets/NavigationTabsWidget/NavigationTabsWidget.test.d.ts +0 -1
- package/components/widgets/PickListPopup/PickListPopup.d.ts +0 -43
- package/components/widgets/PickListPopup/PickListPopup.test.d.ts +0 -1
- package/components/widgets/TableWidget/TableWidget.d.ts +0 -88
- package/components/widgets/TableWidget/TableWidget.test.d.ts +0 -1
- package/components/widgets/TextWidget/TextWidget.d.ts +0 -15
- package/components/widgets/TextWidget/TextWidget.test.d.ts +0 -1
- package/components/widgets/ViewNavigationWidget/ViewNavigationWidget.d.ts +0 -6
- package/components/widgets/ViewNavigationWidget/ViewNavigationWidget.test.d.ts +0 -1
- package/components/widgets/index.d.ts +0 -4
- package/cxbox-ui-core.js +0 -148
- package/cxbox-ui-core.js.map +0 -1
- package/epics/data/__tests__/bcCancelCreateDataEpic.test.d.ts +0 -1
- package/epics/data/__tests__/bcFetchData.test.d.ts +0 -1
- package/epics/data/__tests__/bcFetchRowMetaRequest.test.d.ts +0 -1
- package/epics/data/__tests__/bcNewDataEpic.test.d.ts +0 -1
- package/epics/data/__tests__/bcSaveData.test.d.ts +0 -1
- package/epics/data/__tests__/bcSelectDepthRecord.test.d.ts +0 -1
- package/epics/data/__tests__/removeMultivalueTag.test.d.ts +0 -1
- package/epics/data/__tests__/saveAssociationsActive.test.d.ts +0 -1
- package/epics/data/__tests__/selectView.test.d.ts +0 -1
- package/epics/data/bcCancelCreateDataEpic.d.ts +0 -28
- package/epics/data/bcFetchData.d.ts +0 -21
- package/epics/data/bcFetchRowMetaRequest.d.ts +0 -50
- package/epics/data/bcNewDataEpic.d.ts +0 -37
- package/epics/data/bcSaveData.d.ts +0 -58
- package/epics/data/bcSelectDepthRecord.d.ts +0 -21
- package/epics/data/removeMultivalueTag.d.ts +0 -45
- package/epics/data/selectView.d.ts +0 -36
- package/epics/data.d.ts +0 -105
- package/epics/index.d.ts +0 -74
- package/epics/router/__tests__/changeLocation.test.d.ts +0 -1
- package/epics/router/__tests__/drilldown.test.d.ts +0 -1
- package/epics/router/__tests__/handleRouter.test.d.ts +0 -1
- package/epics/router/__tests__/loginDone.test.d.ts +0 -1
- package/epics/router/__tests__/selectScreen.test.d.ts +0 -1
- package/epics/router/__tests__/selectScreenFail.test.d.ts +0 -1
- package/epics/router/__tests__/selectView.test.d.ts +0 -1
- package/epics/router/__tests__/selectViewFail.test.d.ts +0 -1
- package/epics/router/__tests__/userDrillDown.test.d.ts +0 -1
- package/epics/router/drilldown.d.ts +0 -12
- package/epics/router/handleRouter.d.ts +0 -17
- package/epics/router/loginDone.d.ts +0 -20
- package/epics/router/selectScreen.d.ts +0 -19
- package/epics/router/selectScreenFail.d.ts +0 -17
- package/epics/router/selectView.d.ts +0 -19
- package/epics/router/selectViewFail.d.ts +0 -17
- package/epics/router/userDrillDown.d.ts +0 -29
- package/epics/router.d.ts +0 -11
- package/epics/screen/__tests__/apiError.test.d.ts +0 -1
- package/epics/screen/__tests__/httpError401.test.d.ts +0 -1
- package/epics/screen/__tests__/httpError409.test.d.ts +0 -1
- package/epics/screen/__tests__/httpError418.test.d.ts +0 -1
- package/epics/screen/__tests__/httpError500.test.d.ts +0 -1
- package/epics/screen/__tests__/httpErrorDefault.test.d.ts +0 -1
- package/epics/screen/apiError.d.ts +0 -13
- package/epics/screen/httpError401.d.ts +0 -12
- package/epics/screen/httpError409.d.ts +0 -12
- package/epics/screen/httpError418.d.ts +0 -12
- package/epics/screen/httpError500.d.ts +0 -12
- package/epics/screen/httpErrorDefault.d.ts +0 -14
- package/epics/screen/processPostInvoke.d.ts +0 -12
- package/epics/screen.d.ts +0 -35
- package/epics/session/__tests__/loginByAnotherRoleEpic.test.d.ts +0 -1
- package/epics/session/__tests__/loginDone.test.d.ts +0 -1
- package/epics/session/__tests__/refreshMeta.test.d.ts +0 -1
- package/epics/session/__tests__/refreshMetaAndReloadPage.test.d.ts +0 -1
- package/epics/session/__tests__/switchRole.test.d.ts +0 -1
- package/epics/session/loginByAnotherRole.d.ts +0 -27
- package/epics/session/loginDone.d.ts +0 -10
- package/epics/session/refreshMeta.d.ts +0 -9
- package/epics/session/refreshMetaAndReloadPage.d.ts +0 -2
- package/epics/session/switchRole.d.ts +0 -9
- package/epics/session.d.ts +0 -7
- package/epics/utils.d.ts +0 -4
- package/epics/view/__tests__/fileUploadConfirm.test.d.ts +0 -1
- package/epics/view/__tests__/sendOperation.test.d.ts +0 -1
- package/epics/view/__tests__/sendOperationAssociate.test.d.ts +0 -1
- package/epics/view/__tests__/showAssocPopup.test.d.ts +0 -1
- package/epics/view/__tests__/showFileUploadPopup.test.d.ts +0 -1
- package/epics/view/fileUploadConfirm.d.ts +0 -31
- package/epics/view/sendOperation.d.ts +0 -24
- package/epics/view/sendOperationAssociate.d.ts +0 -34
- package/epics/view/showAssocPopup.d.ts +0 -12
- package/epics/view/showFileUploadPopup.d.ts +0 -19
- package/epics/view.d.ts +0 -57
- package/hooks/__tests__/useRowMenu.test.d.ts +0 -1
- package/hooks/__tests__/useViewTabs.test.d.ts +0 -1
- package/hooks/__tests__/useWidgetOperations.test.d.ts +0 -1
- package/hooks/index.d.ts +0 -7
- package/hooks/useAssocRecords.d.ts +0 -11
- package/hooks/useDebounce.d.ts +0 -8
- package/hooks/useDrillDownUrl.d.ts +0 -10
- package/hooks/useFlatFormFields.d.ts +0 -9
- package/hooks/useRowMenu.d.ts +0 -42
- package/hooks/useViewTabs.d.ts +0 -13
- package/hooks/useWidgetFilter.d.ts +0 -15
- package/hooks/useWidgetOperations.d.ts +0 -34
- package/imports/i18n.d.ts +0 -8
- package/imports/rxjs.d.ts +0 -19
- package/imports/shim.d.ts +0 -6
- package/index.d.ts +0 -135
- package/interfaces/customEpics.d.ts +0 -55
- package/interfaces/filters.js +0 -2
- package/interfaces/filters.js.map +0 -1
- package/interfaces/index.d.ts +0 -22
- package/interfaces/objectMap.js +0 -2
- package/interfaces/objectMap.js.map +0 -1
- package/interfaces/operation.js +0 -2
- package/interfaces/operation.js.map +0 -1
- package/interfaces/router.js +0 -2
- package/interfaces/router.js.map +0 -1
- package/interfaces/store.d.ts +0 -56
- package/interfaces/view.js +0 -2
- package/interfaces/view.js.map +0 -1
- package/interfaces/widget.js +0 -2
- package/interfaces/widget.js.map +0 -1
- package/middlewares/__tests__/autosaveMiddleware.test.d.ts +0 -1
- package/middlewares/__tests__/preInvokeMiddleware.test.d.ts +0 -1
- package/middlewares/__tests__/requiredFieldsMiddleware.test.d.ts +0 -1
- package/middlewares/actionsHistoryMiddleware.d.ts +0 -3
- package/middlewares/autosaveMiddleware.d.ts +0 -6
- package/middlewares/index.d.ts +0 -6
- package/mocks/data/widgetMeta.d.ts +0 -10
- package/reducers/__tests__/data.test.d.ts +0 -1
- package/reducers/__tests__/forceActiveField.test.d.ts +0 -1
- package/reducers/__tests__/screen/bcAddFilter.test.d.ts +0 -1
- package/reducers/__tests__/session.test.d.ts +0 -1
- package/reducers/__tests__/view.test.d.ts +0 -1
- package/reducers/data.d.ts +0 -13
- package/reducers/depthData.d.ts +0 -7
- package/reducers/index.d.ts +0 -3
- package/reducers/router.d.ts +0 -30
- package/reducers/screen.d.ts +0 -16
- package/reducers/session.d.ts +0 -15
- package/reducers/view.d.ts +0 -16
- package/tests/mockStore.d.ts +0 -6
- package/tests/setup.d.ts +0 -1
- package/tests/testEpic.d.ts +0 -14
- package/utils/__tests__/autosave.test.d.ts +0 -1
- package/utils/__tests__/bc.test.d.ts +0 -1
- package/utils/__tests__/breadthFirst.test.d.ts +0 -1
- package/utils/__tests__/cancelRequestEpic.test.d.ts +0 -1
- package/utils/__tests__/combineEpics.test.d.ts +0 -1
- package/utils/__tests__/combineMiddlewares.test.d.ts +0 -1
- package/utils/__tests__/configureStore.test.d.ts +0 -1
- package/utils/__tests__/extendPopupWidgetTypes.test.d.ts +0 -1
- package/utils/__tests__/filters.test.d.ts +0 -1
- package/utils/__tests__/history.test.d.ts +0 -1
- package/utils/__tests__/notifications.test.d.ts +0 -1
- package/utils/__tests__/operations.test.d.ts +0 -1
- package/utils/__tests__/tree.test.d.ts +0 -1
- package/utils/__tests__/viewTabs.test.d.ts +0 -1
- package/utils/actionsHistory.d.ts +0 -2
- package/utils/api.d.ts +0 -92
- package/utils/cancelRequestEpic.d.ts +0 -16
- package/utils/combineEpics.d.ts +0 -13
- package/utils/combineMiddlewares.d.ts +0 -3
- package/utils/configureStore.d.ts +0 -15
- package/utils/exportState.d.ts +0 -3
- package/utils/index.d.ts +0 -6
- package/utils/notifications.d.ts +0 -11
- package/utils/redux.d.ts +0 -49
- /package/{interfaces → dist/interfaces}/filters.d.ts +0 -0
- /package/{interfaces → dist/interfaces}/router.d.ts +0 -0
- /package/{interfaces → dist/interfaces}/rowMeta.d.ts +0 -0
- /package/{interfaces → dist/interfaces}/screen.d.ts +0 -0
- /package/{middlewares → dist/middlewares}/preInvokeMiddleware.d.ts +0 -0
- /package/{utils → dist/utils}/breadthFirst.d.ts +0 -0
- /package/{tests/assetsMock.d.ts → dist/utils/exportState.d.ts} +0 -0
- /package/{utils → dist/utils}/extendPopupWidgetTypes.d.ts +0 -0
- /package/{utils → dist/utils}/hierarchy.d.ts +0 -0
- /package/{utils → dist/utils}/highlightJson.d.ts +0 -0
- /package/{utils → dist/utils}/viewTabs.d.ts +0 -0
package/reducers/data.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import { AnyAction } from '../actions/actions';
|
|
2
|
-
import { DataState } from '../interfaces/data';
|
|
3
|
-
/**
|
|
4
|
-
* Data reducer
|
|
5
|
-
*
|
|
6
|
-
* Stores data (i.e. records, rows) for Business Components
|
|
7
|
-
*
|
|
8
|
-
* @param state Data branch of Redux store
|
|
9
|
-
* @param action Redux action
|
|
10
|
-
* @param store Store instance for read-only access of different branches of Redux store
|
|
11
|
-
*/
|
|
12
|
-
export declare function data(state: DataState, action: AnyAction): DataState;
|
|
13
|
-
export default data;
|
package/reducers/depthData.d.ts
DELETED
package/reducers/index.d.ts
DELETED
package/reducers/router.d.ts
DELETED
|
@@ -1,30 +0,0 @@
|
|
|
1
|
-
import { AnyAction } from '../actions/actions';
|
|
2
|
-
import { Route } from '../interfaces/router';
|
|
3
|
-
/**
|
|
4
|
-
* Global instance
|
|
5
|
-
*
|
|
6
|
-
* @category Utils
|
|
7
|
-
*/
|
|
8
|
-
export declare const historyObj: import("history").History<any>;
|
|
9
|
-
/**
|
|
10
|
-
* TODO
|
|
11
|
-
*
|
|
12
|
-
* @param href
|
|
13
|
-
* @category Utils
|
|
14
|
-
*/
|
|
15
|
-
export declare function changeLocation(href: string): void;
|
|
16
|
-
/**
|
|
17
|
-
* TODO
|
|
18
|
-
*/
|
|
19
|
-
export declare function initHistory(): void;
|
|
20
|
-
/**
|
|
21
|
-
* Router reducer
|
|
22
|
-
*
|
|
23
|
-
* Stores information about currently active route
|
|
24
|
-
*
|
|
25
|
-
* @param state Router branch of Redux store
|
|
26
|
-
* @param action Redux action
|
|
27
|
-
* @param store Store instance for read-only access of different branches of Redux store
|
|
28
|
-
*/
|
|
29
|
-
export declare function router(state: Route, action: AnyAction): Route;
|
|
30
|
-
export default router;
|
package/reducers/screen.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { AnyAction } from '../actions/actions';
|
|
2
|
-
import { ScreenState } from '../interfaces/screen';
|
|
3
|
-
import { Store } from 'interfaces/store';
|
|
4
|
-
export declare const initialState: ScreenState;
|
|
5
|
-
/**
|
|
6
|
-
* Screen reducer
|
|
7
|
-
*
|
|
8
|
-
* Stores information about currently active screen and various more persistent values which should be stored
|
|
9
|
-
* until we navitage to a different screen.
|
|
10
|
-
*
|
|
11
|
-
* @param state Screen branch of Redux store
|
|
12
|
-
* @param action Redux action
|
|
13
|
-
* @param store Store instance for read-only access of different branches of Redux store
|
|
14
|
-
*/
|
|
15
|
-
export declare function screen(state: ScreenState, action: AnyAction, store: Store): ScreenState;
|
|
16
|
-
export default screen;
|
package/reducers/session.d.ts
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { AnyAction } from '../actions/actions';
|
|
2
|
-
import { Session } from '../interfaces/session';
|
|
3
|
-
export declare const initialState: Session;
|
|
4
|
-
/**
|
|
5
|
-
* Session reducer
|
|
6
|
-
*
|
|
7
|
-
* Stores information about currently active session and data that should be persistent during all period of
|
|
8
|
-
* user interaction with application.
|
|
9
|
-
*
|
|
10
|
-
* @param state Session branch of Redux store
|
|
11
|
-
* @param action Redux action
|
|
12
|
-
* @param store Store instance for read-only access of different branches of Redux store
|
|
13
|
-
*/
|
|
14
|
-
export declare function session(state: Session, action: AnyAction): Session;
|
|
15
|
-
export default session;
|
package/reducers/view.d.ts
DELETED
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { AnyAction } from '../actions/actions';
|
|
2
|
-
import { ViewState } from '../interfaces/view';
|
|
3
|
-
import { Store } from '../interfaces/store';
|
|
4
|
-
export declare const initialState: ViewState;
|
|
5
|
-
/**
|
|
6
|
-
* View reducer
|
|
7
|
-
*
|
|
8
|
-
* Stores information about currently active view and various fast-living pending values which should be stored
|
|
9
|
-
* until we navitage to a different view.
|
|
10
|
-
*
|
|
11
|
-
* @param state View branch of Redux store
|
|
12
|
-
* @param action Redux action
|
|
13
|
-
* @param store Store instance for read-only access of different branches of Redux store
|
|
14
|
-
*/
|
|
15
|
-
export declare function view(state: ViewState, action: AnyAction, store: Store): ViewState;
|
|
16
|
-
export default view;
|
package/tests/mockStore.d.ts
DELETED
package/tests/setup.d.ts
DELETED
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/tests/testEpic.d.ts
DELETED
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Utility for simple unit-testing of epics
|
|
3
|
-
*
|
|
4
|
-
* TODO: Probably will not be needed after migration to redux-observable 1.* and RxJS 6.* with TestScheduler.run available
|
|
5
|
-
*/
|
|
6
|
-
import { Observable } from 'rxjs';
|
|
7
|
-
import { AnyAction } from '../actions/actions';
|
|
8
|
-
/**
|
|
9
|
-
* Fires an epic and a callback with array of observables, returned from epic
|
|
10
|
-
*
|
|
11
|
-
* @param epic Epic chain to test
|
|
12
|
-
* @param callback Epic result callback
|
|
13
|
-
*/
|
|
14
|
-
export declare function testEpic(epic: Observable<AnyAction>, callback: (result: AnyAction[]) => void): void;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/utils/api.d.ts
DELETED
|
@@ -1,92 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs/Observable';
|
|
2
|
-
import { AxiosRequestConfig, AxiosResponse } from 'axios';
|
|
3
|
-
export interface ApiCallContext {
|
|
4
|
-
widgetName: string;
|
|
5
|
-
}
|
|
6
|
-
export declare const HEADERS: {
|
|
7
|
-
Pragma: string;
|
|
8
|
-
'Cache-Control': string;
|
|
9
|
-
};
|
|
10
|
-
/**
|
|
11
|
-
* @category Utils
|
|
12
|
-
*/
|
|
13
|
-
declare const axiosForApi: {
|
|
14
|
-
get: <ResponsePayload>(path: string, config: AxiosRequestConfig, callContext?: ApiCallContext) => Promise<AxiosResponse<ResponsePayload>>;
|
|
15
|
-
put: <ResponsePayload_1>(path: string, data: any, callContext?: ApiCallContext) => Promise<AxiosResponse<ResponsePayload_1>>;
|
|
16
|
-
post: <ResponsePayload_2>(path: string, data: any, config?: AxiosRequestConfig, callContext?: ApiCallContext) => Promise<AxiosResponse<ResponsePayload_2>>;
|
|
17
|
-
delete: <ResponsePayload_3>(path: string, callContext?: ApiCallContext) => Promise<AxiosResponse<ResponsePayload_3>>;
|
|
18
|
-
};
|
|
19
|
-
/**
|
|
20
|
-
* HTTP GET axios request wrapped into RxJS Observable.
|
|
21
|
-
* Can be interrupted by `redirectOccured` function.
|
|
22
|
-
*
|
|
23
|
-
* @param path Endpoint url
|
|
24
|
-
* @param headers Request headers
|
|
25
|
-
* @param callContext Call context
|
|
26
|
-
* @template ResponsePayload Response payload type
|
|
27
|
-
* @category Utils
|
|
28
|
-
*/
|
|
29
|
-
declare const axiosGet: <ResponsePayload>(path: string, config?: AxiosRequestConfig, callContext?: ApiCallContext) => Observable<ResponsePayload>;
|
|
30
|
-
/**
|
|
31
|
-
* HTTP POST axios request wrapped into RxJS Observable.
|
|
32
|
-
* Can be interrupted by `redirectOccured` function.
|
|
33
|
-
*
|
|
34
|
-
* @param path Endpoint url
|
|
35
|
-
* @param headers Request headers
|
|
36
|
-
* @param callContext Call context
|
|
37
|
-
* @template ResponsePayload Response payload type
|
|
38
|
-
* @category Utils
|
|
39
|
-
*/
|
|
40
|
-
declare const axiosPost: <ResponsePayload>(path: string, data: any, config?: AxiosRequestConfig, callContext?: ApiCallContext) => Observable<ResponsePayload>;
|
|
41
|
-
/**
|
|
42
|
-
* HTTP PUT axios request wrapped into RxJS Observable.
|
|
43
|
-
* Can be interrupted by `redirectOccured` function.
|
|
44
|
-
*
|
|
45
|
-
* @param path Endpoint url
|
|
46
|
-
* @param headers Request headers
|
|
47
|
-
* @param callContext Call context
|
|
48
|
-
* @template ResponsePayload Response payload type
|
|
49
|
-
* @category Utils
|
|
50
|
-
*/
|
|
51
|
-
declare const axiosPut: <ResponsePayload>(path: string, data: any, callContext?: ApiCallContext) => Observable<ResponsePayload>;
|
|
52
|
-
/**
|
|
53
|
-
* HTTP DELETE axios request wrapped into RxJS Observable.
|
|
54
|
-
* Can be interrupted by `redirectOccured` function.
|
|
55
|
-
*
|
|
56
|
-
* @param path Endpoint url
|
|
57
|
-
* @param headers Request headers
|
|
58
|
-
* @param callContext Call context
|
|
59
|
-
* @template ResponsePayload Response payload type
|
|
60
|
-
* @category Utils
|
|
61
|
-
*/
|
|
62
|
-
declare const axiosDelete: <ResponsePayload>(path: string, callContext?: ApiCallContext) => Observable<ResponsePayload>;
|
|
63
|
-
declare type QueryParamsMap = Record<string, string | number>;
|
|
64
|
-
/**
|
|
65
|
-
* Extends url with query parameters control symbol (`?` or `&`)
|
|
66
|
-
*
|
|
67
|
-
* @param url Url with or without `?` symbol
|
|
68
|
-
*/
|
|
69
|
-
export declare function addTailControlSequences(url: string): string;
|
|
70
|
-
/**
|
|
71
|
-
* Extends url with query parameters
|
|
72
|
-
*
|
|
73
|
-
* @param url Url to extend
|
|
74
|
-
* @param qso Query parameters dictionary
|
|
75
|
-
*/
|
|
76
|
-
export declare function applyParams(url: string, qso: QueryParamsMap): string;
|
|
77
|
-
/**
|
|
78
|
-
* TODO
|
|
79
|
-
*
|
|
80
|
-
* @param url
|
|
81
|
-
* @param qso
|
|
82
|
-
*/
|
|
83
|
-
export declare function applyRawParams(url: string, qso: Record<string, unknown>): string;
|
|
84
|
-
/**
|
|
85
|
-
* Get Cxbox API file upload endpoint based on baseURL of axios instance
|
|
86
|
-
*
|
|
87
|
-
* Handles empty baseURL and trailing slash
|
|
88
|
-
*
|
|
89
|
-
* @returns File upload endpoint
|
|
90
|
-
*/
|
|
91
|
-
export declare function getFileUploadEndpoint(): string;
|
|
92
|
-
export { axiosForApi, axiosGet, axiosPut, axiosDelete, axiosPost };
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import { ActionPayloadTypes, ActionsObservable, AnyAction } from '../actions/actions';
|
|
2
|
-
import { Observable } from 'rxjs';
|
|
3
|
-
/**
|
|
4
|
-
* Default list of action types which are triggers for request cancel
|
|
5
|
-
*/
|
|
6
|
-
export declare const cancelRequestActionTypes: ("logout" | "selectView")[];
|
|
7
|
-
/**
|
|
8
|
-
* Creator of request cancel epic
|
|
9
|
-
*
|
|
10
|
-
* @param action$ an observable input
|
|
11
|
-
* @param actionTypes list of action types which triggers cancel
|
|
12
|
-
* @param cancelFn a callback of request cancelation
|
|
13
|
-
* @param cancelActionCreator an action creator which called by request cancelation
|
|
14
|
-
* @param filterFn a callback function which filters come actions
|
|
15
|
-
*/
|
|
16
|
-
export declare function cancelRequestEpic(action$: ActionsObservable<AnyAction>, actionTypes: Array<keyof ActionPayloadTypes>, cancelFn: () => void, cancelActionCreator: AnyAction, filterFn?: (actions: AnyAction) => boolean): Observable<AnyAction>;
|
package/utils/combineEpics.d.ts
DELETED
|
@@ -1,13 +0,0 @@
|
|
|
1
|
-
import CustomEpics, { AnyEpic } from '../interfaces/customEpics';
|
|
2
|
-
/**
|
|
3
|
-
* Combine customEpics configuration with core epics.
|
|
4
|
-
* If customEpics have a slice with a name matching corresponding core slice, each epic in this slice will be handled:
|
|
5
|
-
* - if epic is set to null, core epic will be disabled
|
|
6
|
-
* - if epic is set to some implementation, this implementation will be used instead of core one
|
|
7
|
-
* Epics in slice without matching core epics (and slices without matching core slices) will be handled
|
|
8
|
-
* as new one and behave like in regular combineEpics
|
|
9
|
-
*
|
|
10
|
-
* @param customEpics
|
|
11
|
-
*/
|
|
12
|
-
export declare const combineEpics: (customEpics: CustomEpics) => AnyEpic;
|
|
13
|
-
export default combineEpics;
|
|
@@ -1,3 +0,0 @@
|
|
|
1
|
-
import { Middleware } from 'redux';
|
|
2
|
-
import { CustomMiddlewares, CoreMiddlewares } from '../interfaces/customMiddlewares';
|
|
3
|
-
export declare function combineMiddlewares(coreMiddlewares: CoreMiddlewares, customMiddlewares?: CustomMiddlewares): ((({ getState, dispatch }: import("redux").MiddlewareAPI<import("redux").Dispatch<import("redux").AnyAction>, import("../interfaces/store").Store>) => (next: import("redux").Dispatch<import("redux").AnyAction>) => (action: import("redux").AnyAction) => import("redux").AnyAction) | Middleware<{}, any, import("redux").Dispatch<import("redux").AnyAction>> | (({ getState, dispatch }: import("redux").MiddlewareAPI<import("redux").Dispatch<import("redux").AnyAction>, import("../interfaces/store").Store>) => (next: import("redux").Dispatch<import("redux").AnyAction>) => (action: import("redux").AnyAction) => import("redux").AnyAction))[];
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import { Action, Store } from 'redux';
|
|
2
|
-
import { Epic } from 'redux-observable';
|
|
3
|
-
import CustomEpics from '../interfaces/customEpics';
|
|
4
|
-
import { ClientReducersMapObject, Store as CoreStore } from '../interfaces/store';
|
|
5
|
-
import { CustomMiddlewares } from '../interfaces/customMiddlewares';
|
|
6
|
-
/**
|
|
7
|
-
* Configures Redux store by apply redux-observable epic middleware and custom version of `combineReducers` function
|
|
8
|
-
*
|
|
9
|
-
* @param customReducers Client application reducers
|
|
10
|
-
* @param customEpics Client application epics
|
|
11
|
-
* @param useEpics Can be set to `false` if client application does not provide redux-observable peer dependency
|
|
12
|
-
* and does not rely on Cxbox epics (e.g. importing only UI components)
|
|
13
|
-
* @param customMiddlewares Any additional middlewares provided by client application
|
|
14
|
-
*/
|
|
15
|
-
export declare function configureStore<ClientState, ClientActions extends Action<any>>(customReducers?: ClientReducersMapObject<ClientState, ClientActions>, customEpics?: CustomEpics | Epic<any, ClientState>, useEpics?: boolean, customMiddlewares?: CustomMiddlewares): Store<ClientState & CoreStore>;
|
package/utils/exportState.d.ts
DELETED
package/utils/index.d.ts
DELETED
package/utils/notifications.d.ts
DELETED
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Shows antd notification with button
|
|
3
|
-
*
|
|
4
|
-
* @param description Notification message
|
|
5
|
-
* @param buttonText Displayed text on button
|
|
6
|
-
* @param duration How long notification will be shown
|
|
7
|
-
* @param onButtonClick Button callback
|
|
8
|
-
* @param key Used for updating existing notification instead of showing new one.
|
|
9
|
-
* If omitted, following template will be used to generate unique key: `notification_${Date.now}`
|
|
10
|
-
*/
|
|
11
|
-
export declare const openButtonWarningNotification: (description: string, buttonText: string, duration?: number, onButtonClick?: () => void, key?: string) => string;
|
package/utils/redux.d.ts
DELETED
|
@@ -1,49 +0,0 @@
|
|
|
1
|
-
import { Dispatch, ReducersMapObject, Reducer } from 'redux';
|
|
2
|
-
import { MapDispatchToPropsFactory } from 'react-redux';
|
|
3
|
-
import { CombinedReducersMapObject } from '../interfaces/store';
|
|
4
|
-
import { AnyAction } from '../actions/actions';
|
|
5
|
-
/**
|
|
6
|
-
* Combines a dictionary of reducers for different slices of the store into one
|
|
7
|
-
* root reducer.
|
|
8
|
-
*
|
|
9
|
-
* Effectively works like default redux `combineReducers` but provides access to the store
|
|
10
|
-
* via the third argument to allow reducers read only access to other slices
|
|
11
|
-
* (simplifies callbacks, epics and actions' payloads).
|
|
12
|
-
*
|
|
13
|
-
* @param reducers A dictionary of reducers for different slices of the redux store
|
|
14
|
-
* @category Utils
|
|
15
|
-
*/
|
|
16
|
-
export declare function combineReducers<State>(reducers: ReducersMapObject<State, AnyAction> | CombinedReducersMapObject<State, AnyAction>): Reducer<State, AnyAction>;
|
|
17
|
-
/**
|
|
18
|
-
* Shallow compare of two dictionaries by strict comparison.
|
|
19
|
-
* `ignore` argument can be used to forcefully exclude some properties from result set even if their
|
|
20
|
-
* are different.
|
|
21
|
-
*
|
|
22
|
-
* TODO: Check if possible to replace with `shallowEqual` from `react-redux`
|
|
23
|
-
*
|
|
24
|
-
* @param prevProps
|
|
25
|
-
* @param nextProps
|
|
26
|
-
* @param ignore
|
|
27
|
-
*/
|
|
28
|
-
export declare function shallowCompare(prevProps: Record<string, any>, nextProps: Record<string, any>, ignore?: string[]): string[];
|
|
29
|
-
/**
|
|
30
|
-
* TODO: JSDoc
|
|
31
|
-
*/
|
|
32
|
-
declare class ActionsContext<T> {
|
|
33
|
-
/**
|
|
34
|
-
* TODO
|
|
35
|
-
*/
|
|
36
|
-
dispatch: Dispatch<any>;
|
|
37
|
-
/**
|
|
38
|
-
* TODO
|
|
39
|
-
*/
|
|
40
|
-
props: T;
|
|
41
|
-
}
|
|
42
|
-
/**
|
|
43
|
-
* TODO: JSDoc
|
|
44
|
-
*
|
|
45
|
-
* @param contextCreator
|
|
46
|
-
* @param actionsCreator
|
|
47
|
-
*/
|
|
48
|
-
export declare function createMapDispatchToProps<ContextProps, Actions, OwnProps>(contextCreator: (props: OwnProps) => ContextProps, actionsCreator: (context: ActionsContext<ContextProps>) => Actions): MapDispatchToPropsFactory<Actions, OwnProps>;
|
|
49
|
-
export {};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|