@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
|
@@ -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,28 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { Store } from 'redux';
|
|
3
|
-
import { Epic, AnyAction, ActionsMap } from '../../actions/actions';
|
|
4
|
-
import { Store as CoreStore } from '../../interfaces/store';
|
|
5
|
-
/**
|
|
6
|
-
* Sends `cancel-create` custom operation with record's pending changes and vstamp;
|
|
7
|
-
* Dispatches `sendOperationSuccess` and `bcChangeCursors` to drop cursors, also
|
|
8
|
-
* `processPostInvoke` if received `postActions` in response.
|
|
9
|
-
*
|
|
10
|
-
* @param action sendOperation with `cancel-create` role
|
|
11
|
-
* @param store Store instance
|
|
12
|
-
* @category Epics
|
|
13
|
-
*/
|
|
14
|
-
export declare const bcCancelCreateDataEpic: Epic;
|
|
15
|
-
/**
|
|
16
|
-
* Default implementation for `bcCancelCreateDataEpic` epic
|
|
17
|
-
*
|
|
18
|
-
* Sends `cancel-create` custom operation with record's pending changes and vstamp;
|
|
19
|
-
* Dispatches `sendOperationSuccess` and `bcChangeCursors` to drop cursors, also
|
|
20
|
-
* `processPostInvoke` if received `postActions` in response.
|
|
21
|
-
*
|
|
22
|
-
* On error dispatches `bcDeleteDataFail`.
|
|
23
|
-
*
|
|
24
|
-
* @param action sendOperation with `cancel-create` role
|
|
25
|
-
* @param store Store instance
|
|
26
|
-
* @category Epics
|
|
27
|
-
*/
|
|
28
|
-
export declare function bcCancelCreateDataEpicImpl(action: ActionsMap['sendOperation'], store: Store<CoreStore, AnyAction>): Observable<AnyAction>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { Store, AnyAction } from 'redux';
|
|
3
|
-
import { Epic, types, ActionsMap } from '../../actions/actions';
|
|
4
|
-
import { Store as CoreStore } from '../../interfaces/store';
|
|
5
|
-
import { ActionsObservable } from 'redux-observable';
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
*
|
|
9
|
-
* Loads BC's data.
|
|
10
|
-
* In case successful download:
|
|
11
|
-
* - dispatches action to store
|
|
12
|
-
* - initializes rowMeta load
|
|
13
|
-
* - initializes child BCs data load
|
|
14
|
-
*
|
|
15
|
-
* @param action.payload.bcName BC's name for data load
|
|
16
|
-
* @category Epics
|
|
17
|
-
*/
|
|
18
|
-
export declare const bcFetchDataEpic: Epic;
|
|
19
|
-
declare type ActionType = ActionsMap[typeof types.bcFetchDataRequest | typeof types.bcFetchDataPages | typeof types.showViewPopup | typeof types.bcForceUpdate | typeof types.bcChangePage];
|
|
20
|
-
export declare function bcFetchDataImpl(action: ActionType, store: Store<CoreStore, AnyAction>, actionObservable: ActionsObservable<AnyAction>): Array<Observable<AnyAction>>;
|
|
21
|
-
export {};
|
|
@@ -1,50 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { Store, AnyAction } from 'redux';
|
|
3
|
-
import { Epic, ActionsMap } from '../../actions/actions';
|
|
4
|
-
import { Store as CoreStore } from '../../interfaces/store';
|
|
5
|
-
import { ActionsObservable } from 'redux-observable';
|
|
6
|
-
/**
|
|
7
|
-
* Access `row-meta` API endpoint for business component; response will contain information
|
|
8
|
-
* about operations available for row and additional information about row fields.
|
|
9
|
-
*
|
|
10
|
-
* On success, {@link ActionPayloadTypes.bcFetchRowMetaSuccess | bcFetchRowMetaSuccess} action dispatched
|
|
11
|
-
* to store received row meta.
|
|
12
|
-
* On failure, console.error called and {@link ActionPayloadTypes.bcFetchRowMetaFail | bcFetchRowMetaFail} action
|
|
13
|
-
* dispatched to drop fetching state.
|
|
14
|
-
*
|
|
15
|
-
* If any action from `cancelRequestActionTypes` array dispatched while this epic is in progress,
|
|
16
|
-
* this epic will be cancelled and {@link ActionPayloadTypes.bcFetchRowMetaFail | bcFetchRowMetaFail} action
|
|
17
|
-
* will be dispatched.
|
|
18
|
-
*
|
|
19
|
-
* @param action {@link ActionPayloadTypes.bcFetchRowMeta | bcFetchRowMeta}
|
|
20
|
-
* @param store Store instance
|
|
21
|
-
* @category Epics
|
|
22
|
-
*/
|
|
23
|
-
export declare const bcFetchRowMetaRequest: Epic;
|
|
24
|
-
/**
|
|
25
|
-
* Default implementation for `bcFetchRowMetaRequest` epic
|
|
26
|
-
*
|
|
27
|
-
* Access `row-meta` API endpoint for business component; response will contain information
|
|
28
|
-
* about operations available for row and additional information about row fields.
|
|
29
|
-
*
|
|
30
|
-
* On success, {@link ActionPayloadTypes.bcFetchRowMetaSuccess | bcFetchRowMetaSuccess} action dispatched
|
|
31
|
-
* to store received row meta.
|
|
32
|
-
* On failure, console.error called and {@link ActionPayloadTypes.bcFetchRowMetaFail | bcFetchRowMetaFail} action
|
|
33
|
-
* dispatched to drop fetching state.
|
|
34
|
-
*
|
|
35
|
-
* If any action from `cancelRequestActionTypes` array dispatched while this epic is in progress,
|
|
36
|
-
* this epic will be cancelled and {@link ActionPayloadTypes.bcFetchRowMetaFail | bcFetchRowMetaFail} action
|
|
37
|
-
* will be dispatched.
|
|
38
|
-
*
|
|
39
|
-
* @param action {@link ActionPayloadTypes.bcFetchRowMeta | bcFetchRowMeta}
|
|
40
|
-
* @param store Store instance
|
|
41
|
-
* @param actionObservable Root epic to cancel
|
|
42
|
-
* @category Epics
|
|
43
|
-
*/
|
|
44
|
-
export declare function bcFetchRowMetaRequestImpl(action: ActionsMap['bcFetchRowMeta'], store: Store<CoreStore, AnyAction>, actionObservable: ActionsObservable<AnyAction>): Observable<AnyAction>;
|
|
45
|
-
/**
|
|
46
|
-
* Compatibility for testing cancellable epics
|
|
47
|
-
*
|
|
48
|
-
* TODO: Move in `bcFetchRowMetaRequestImpl` in 2.0.0
|
|
49
|
-
*/
|
|
50
|
-
export declare function bcFetchRowMetaRequestCompatibility(action: ActionsMap['bcFetchRowMeta'], store: Store<CoreStore, AnyAction>, actionObservable: ActionsObservable<AnyAction>): Array<Observable<AnyAction>>;
|
|
@@ -1,37 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { Store } from 'redux';
|
|
3
|
-
import { Epic, AnyAction, ActionsMap } from '../../actions/actions';
|
|
4
|
-
import { Store as CoreStore } from '../../interfaces/store';
|
|
5
|
-
/**
|
|
6
|
-
* Access `row-meta-new` API endpoint for business component endpoint; response will contain
|
|
7
|
-
* row meta where `currentValue` of `id` field will contain an id for newly created record.
|
|
8
|
-
*
|
|
9
|
-
* `bcNewDataSuccess` action dispatched with new data item draft (vstamp = -1).
|
|
10
|
-
* `bcFetchRowMetaSuccess` action dispatched to set BC cursor to this new id.
|
|
11
|
-
* `changeDataItem` action dispatched to add this new item to pending changes.
|
|
12
|
-
* `processPostInvoke` dispatched to handle possible post invokes.
|
|
13
|
-
*
|
|
14
|
-
* In case of an error message is logged as warning and `bcNewDataFail` action dispatched.
|
|
15
|
-
*
|
|
16
|
-
* @param action$ `sendOperation` with `create` role
|
|
17
|
-
* @param store Store instance
|
|
18
|
-
*/
|
|
19
|
-
export declare const bcNewDataEpic: Epic;
|
|
20
|
-
/**
|
|
21
|
-
* Default implementation for `bcNewDataEpic` epic
|
|
22
|
-
*
|
|
23
|
-
* Access `row-meta-new` API endpoint for business component endpoint; response will contain
|
|
24
|
-
* row meta where `currentValue` of `id` field will contain an id for newly created record.
|
|
25
|
-
*
|
|
26
|
-
* `bcNewDataSuccess` action dispatched with new data item draft (vstamp = -1).
|
|
27
|
-
* `bcFetchRowMetaSuccess` action dispatched to set BC cursor to this new id.
|
|
28
|
-
* `changeDataItem` action dispatched to add this new item to pending changes.
|
|
29
|
-
* `processPostInvoke` dispatched to handle possible post invokes.
|
|
30
|
-
*
|
|
31
|
-
* In case of an error message is logged as warning and `bcNewDataFail` action dispatched.
|
|
32
|
-
*
|
|
33
|
-
* @param action `sendOperation` with `create` role
|
|
34
|
-
* @param store Store instance
|
|
35
|
-
* @category Epics
|
|
36
|
-
*/
|
|
37
|
-
export declare function bcNewDataEpicImpl(action: ActionsMap['sendOperation'], store: Store<CoreStore, AnyAction>): Observable<AnyAction>;
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import { ActionsMap, AnyAction, Epic } from '../../actions/actions';
|
|
2
|
-
import { Store } from 'redux';
|
|
3
|
-
import { Store as CoreStore } from '../../interfaces/store';
|
|
4
|
-
import { Observable } from 'rxjs';
|
|
5
|
-
/**
|
|
6
|
-
* Post record's pending changes to `save data` API endpoint.
|
|
7
|
-
* Pending changes for fields disabled through row meta are not send; pleace notice that fields are
|
|
8
|
-
* disabled by default.
|
|
9
|
-
*
|
|
10
|
-
* On success following actions are dispatched:
|
|
11
|
-
* - {@link ActionPayloadTypes.bcSaveDataSuccess | bcSaveDataSuccess}
|
|
12
|
-
* - {@link ActionPayloadTypes.bcFetchRowMeta | bcFetchRowMeta}
|
|
13
|
-
* - one {@link ActionPayloadTypes.bcFetchDataRequest | bcFetchDataRequest } for each children of saved
|
|
14
|
-
* business component
|
|
15
|
-
* - optional {@link ActionPayloadTypes.processPostInvoke | processPostInvoke } if present in response
|
|
16
|
-
* - optional `onSuccessAction` callback if provided in payload.
|
|
17
|
-
*
|
|
18
|
-
* On failure, console.error called and {@link ActionPayloadTypes.bcSaveDataFail | bcSaveDataFail} action
|
|
19
|
-
* dispatched.
|
|
20
|
-
*
|
|
21
|
-
* If there was a `onSuccessAction` callback provided in action payload (and widget option
|
|
22
|
-
* {@link WidgetOptions.disableNotification | disableNotification } was not set)
|
|
23
|
-
* then a notification will be shown on failure with suggestion to cancel pending changes and a button that fires
|
|
24
|
-
* {@link ActionPayloadTypes.bcCancelPendingChanges | bcCancelPendingChanges}
|
|
25
|
-
*
|
|
26
|
-
* @param action {@link ActionPayloadTypes.sendOperation | sendOperation} with `save` role
|
|
27
|
-
* @param store Store instance
|
|
28
|
-
* @category Epics
|
|
29
|
-
*/
|
|
30
|
-
export declare const bcSaveDataEpic: Epic;
|
|
31
|
-
/**
|
|
32
|
-
* Default implementation for `bcSaveData` epic
|
|
33
|
-
*
|
|
34
|
-
* Post record's pending changes to `save data` API endpoint.
|
|
35
|
-
* Pending changes for fields disabled through row meta are not send; pleace notice that fields are
|
|
36
|
-
* disabled by default.
|
|
37
|
-
*
|
|
38
|
-
* On success following actions are dispatched:
|
|
39
|
-
* - {@link ActionPayloadTypes.bcSaveDataSuccess | bcSaveDataSuccess}
|
|
40
|
-
* - {@link ActionPayloadTypes.bcFetchRowMeta | bcFetchRowMeta}
|
|
41
|
-
* - one {@link ActionPayloadTypes.bcFetchDataRequest | bcFetchDataRequest } for each children of saved
|
|
42
|
-
* business component
|
|
43
|
-
* - optional {@link ActionPayloadTypes.processPostInvoke | processPostInvoke } if present in response
|
|
44
|
-
* - optional `onSuccessAction` callback if provided in payload.
|
|
45
|
-
*
|
|
46
|
-
* On failure, console.error called and {@link ActionPayloadTypes.bcSaveDataFail | bcSaveDataFail} action
|
|
47
|
-
* dispatched.
|
|
48
|
-
*
|
|
49
|
-
* If there was a `onSuccessAction` callback provided in action payload (and widget option
|
|
50
|
-
* {@link WidgetOptions.disableNotification | disableNotification } was not set)
|
|
51
|
-
* then a notification will be shown on failure with suggestion to cancel pending changes and a button that fires
|
|
52
|
-
* {@link ActionPayloadTypes.bcCancelPendingChanges | bcCancelPendingChanges}
|
|
53
|
-
*
|
|
54
|
-
* @param action {@link ActionPayloadTypes.sendOperation | sendOperation} with `save` role
|
|
55
|
-
* @param store Store instance
|
|
56
|
-
* @category Epics
|
|
57
|
-
*/
|
|
58
|
-
export declare function bcSaveDataImpl(action: ActionsMap['sendOperation'], store: Store<CoreStore, AnyAction>): Observable<AnyAction>;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { Epic, AnyAction, ActionsMap } from '../../actions/actions';
|
|
3
|
-
export declare const bcSelectDepthRecord: Epic;
|
|
4
|
-
/**
|
|
5
|
-
* Set a cursor when expanding a record in hierarchy widgets builded around single business components
|
|
6
|
-
* and fetch the data for children of expanded record.
|
|
7
|
-
*
|
|
8
|
-
* {@link ActionPayloadTypes.bcChangeDepthCursor | bcChangeDepthCursor} action is dispatched to set the cursor
|
|
9
|
-
* for expanded record; only one expanded record is allowed per hierarchy depth level.
|
|
10
|
-
*
|
|
11
|
-
* {@link ActionPayloadTypes.bcFetchDataRequest | bcFetchDataRequest} action is dispatched to fetch children data
|
|
12
|
-
* for expanded record. `ignorePageLimit`` is set as there are no controls for navigating between data pages
|
|
13
|
-
* in nested levels of hierarchy so instead all records are fetched.
|
|
14
|
-
*
|
|
15
|
-
* TODO: There is no apparent reason why `widgetName` is empty; probably will be mandatory and replace `bcName` in 2.0.0.
|
|
16
|
-
*
|
|
17
|
-
* @param action This epic will fire on {@link ActionPayloadTypes.bcSelectDepthRecord | bcSelectDepthRecord} action
|
|
18
|
-
* @deprecated Do not use; TODO: Will be removed in 2.0.0
|
|
19
|
-
* @category Epics
|
|
20
|
-
*/
|
|
21
|
-
export declare function bcSelectDepthRecordImpl(action: ActionsMap['bcSelectDepthRecord']): Observable<AnyAction>;
|
|
@@ -1,45 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { Store } from 'redux';
|
|
3
|
-
import { Epic, AnyAction, ActionsMap } from '../../actions/actions';
|
|
4
|
-
import { Store as CoreStore } from '../../interfaces/store';
|
|
5
|
-
/**
|
|
6
|
-
* For full hierarchies it fires `changeDataItem` action to remove value from source record
|
|
7
|
-
*
|
|
8
|
-
* With `hierarchyGroupDeselection` widget option, parent removal also remove children; removing
|
|
9
|
-
* last child will also remove the parent.
|
|
10
|
-
*
|
|
11
|
-
* With `hierarchyTraverse` widget option, descendants are used instead of children.
|
|
12
|
-
*
|
|
13
|
-
* When parent should be removed with both option, `removeMultivalueTag` with updated `removedItem` will
|
|
14
|
-
* fire instead of `changeDataItem`.
|
|
15
|
-
*
|
|
16
|
-
* For non-full hierarchies two `changeDataItem` actions will fire, first to drop `_associate` flag
|
|
17
|
-
* of remove item and second to update value of source record.
|
|
18
|
-
* Widget options are not tested for non-full hierarchies.
|
|
19
|
-
*
|
|
20
|
-
* @param action removeMultivalueTag
|
|
21
|
-
* @param store Store instance
|
|
22
|
-
*/
|
|
23
|
-
export declare const removeMultivalueTag: Epic;
|
|
24
|
-
/**
|
|
25
|
-
* Default implementation for `removeMultivalueTag` epic
|
|
26
|
-
*
|
|
27
|
-
* For full hierarchies it fires `changeDataItem` action to remove value from source record
|
|
28
|
-
*
|
|
29
|
-
* With `hierarchyGroupDeselection` widget option, parent removal also remove children; removing
|
|
30
|
-
* last child will also remove the parent.
|
|
31
|
-
*
|
|
32
|
-
* With `hierarchyTraverse` widget option, descendants are used instead of children.
|
|
33
|
-
*
|
|
34
|
-
* When parent should be removed with both option, `removeMultivalueTag` with updated `removedItem` will
|
|
35
|
-
* fire instead of `changeDataItem`.
|
|
36
|
-
*
|
|
37
|
-
* For non-full hierarchies two `changeDataItem` actions will fire, first to drop `_associate` flag
|
|
38
|
-
* of remove item and second to update value of soure record.
|
|
39
|
-
* Widget options are not tested for non-full hierarchies.
|
|
40
|
-
*
|
|
41
|
-
* @param action removeMultivalueTag
|
|
42
|
-
* @param store Store instance
|
|
43
|
-
* @category Epics
|
|
44
|
-
*/
|
|
45
|
-
export declare function removeMultivalueTagImpl(action: ActionsMap['removeMultivalueTag'], store: Store<CoreStore, AnyAction>): Observable<AnyAction>;
|
|
@@ -1,36 +0,0 @@
|
|
|
1
|
-
import { ActionsMap, AnyAction, Epic } from '../../actions/actions';
|
|
2
|
-
import { Store } from 'redux';
|
|
3
|
-
import { Store as CoreStore } from '../../interfaces/store';
|
|
4
|
-
/**
|
|
5
|
-
* Schedules data fetch for every widget on the view
|
|
6
|
-
*
|
|
7
|
-
* After selecting a view, this epic schedules a data fetch for every widget present on the view.
|
|
8
|
-
* If business componenet for the widget has a parent, then root ancestor BC is scheduled for data fetch instead
|
|
9
|
-
* and data for its descendants will be scheduled after ancestor data fetch resolved.
|
|
10
|
-
*
|
|
11
|
-
* @see {@link src/epics/data/bcFetchDataEpic.ts} for details how descendants resolved
|
|
12
|
-
* @param action `selectView` action
|
|
13
|
-
* @param store Store instance
|
|
14
|
-
*/
|
|
15
|
-
export declare const selectView: Epic;
|
|
16
|
-
/**
|
|
17
|
-
* Default implementation for `selectView` epic.
|
|
18
|
-
*
|
|
19
|
-
* Schedules data fetch for every widget on the view
|
|
20
|
-
*
|
|
21
|
-
* After selecting a view, this epic schedules a data fetch for every widget present on the view.
|
|
22
|
-
* If business componenet for the widget has a parent, then root ancestor BC is scheduled for data fetch instead
|
|
23
|
-
* and data for its descendants will be scheduled after ancestor data fetch resolved.
|
|
24
|
-
*
|
|
25
|
-
* @see {@link src/epics/data/bcFetchDataEpic.ts} for details how descendants resolved
|
|
26
|
-
* @param action `selectView` action
|
|
27
|
-
* @param store Store instance
|
|
28
|
-
* @category Epics
|
|
29
|
-
*/
|
|
30
|
-
export declare function selectViewImpl(action: ActionsMap['selectView'], store: Store<CoreStore, AnyAction>): import("../..").Action<"bcFetchDataRequest", {
|
|
31
|
-
bcName?: string;
|
|
32
|
-
depth?: number;
|
|
33
|
-
widgetName: string;
|
|
34
|
-
ignorePageLimit?: boolean;
|
|
35
|
-
keepDelta?: boolean;
|
|
36
|
-
}>[];
|
package/epics/data.d.ts
DELETED
|
@@ -1,105 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* For epics which work with records
|
|
3
|
-
*/
|
|
4
|
-
import { Epic } from '../actions/actions';
|
|
5
|
-
/**
|
|
6
|
-
*
|
|
7
|
-
* @param action$
|
|
8
|
-
* @param store
|
|
9
|
-
* @category Epics
|
|
10
|
-
*/
|
|
11
|
-
export declare const bcLoadMore: Epic;
|
|
12
|
-
/**
|
|
13
|
-
*
|
|
14
|
-
* @param action$
|
|
15
|
-
* @param store
|
|
16
|
-
* @category Epics
|
|
17
|
-
*/
|
|
18
|
-
export declare const bcSelectRecord: Epic;
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @param action$
|
|
22
|
-
* @param store
|
|
23
|
-
* @category Epics
|
|
24
|
-
*/
|
|
25
|
-
export declare const inlinePickListFetchDataEpic: Epic;
|
|
26
|
-
/**
|
|
27
|
-
*
|
|
28
|
-
* @param action$
|
|
29
|
-
* @param store
|
|
30
|
-
* @category Epics
|
|
31
|
-
*/
|
|
32
|
-
export declare const bcDeleteDataEpic: Epic;
|
|
33
|
-
/**
|
|
34
|
-
* Works with assoc-lists, which doesn't call back-end's assoc methods
|
|
35
|
-
*
|
|
36
|
-
* @category Epics
|
|
37
|
-
*/
|
|
38
|
-
export declare const saveAssociationsPassive: Epic;
|
|
39
|
-
/**
|
|
40
|
-
*
|
|
41
|
-
* @param action$
|
|
42
|
-
* @param store
|
|
43
|
-
* @category Epics
|
|
44
|
-
*/
|
|
45
|
-
export declare const changeChildrenAssociations: Epic;
|
|
46
|
-
/**
|
|
47
|
-
*
|
|
48
|
-
* @param action$
|
|
49
|
-
* @param store
|
|
50
|
-
* @category Epics
|
|
51
|
-
*/
|
|
52
|
-
export declare const changeChildrenAssociationsSameBc: Epic;
|
|
53
|
-
/**
|
|
54
|
-
* Change full hierarchy descendants association state.
|
|
55
|
-
*
|
|
56
|
-
* @param action$
|
|
57
|
-
* @param store
|
|
58
|
-
* @category Epics
|
|
59
|
-
*/
|
|
60
|
-
export declare const changeDescendantsAssociationsFull: Epic;
|
|
61
|
-
/**
|
|
62
|
-
*
|
|
63
|
-
* @param action$
|
|
64
|
-
* @param store
|
|
65
|
-
* @category Epics
|
|
66
|
-
*/
|
|
67
|
-
export declare const changeAssociation: Epic;
|
|
68
|
-
/**
|
|
69
|
-
*
|
|
70
|
-
* @param action$
|
|
71
|
-
* @param store
|
|
72
|
-
* @category Epics
|
|
73
|
-
*/
|
|
74
|
-
export declare const changeAssociationSameBc: Epic;
|
|
75
|
-
/**
|
|
76
|
-
* Change full hierarchy record association state. Also select/deselect dependent records according to widget options.
|
|
77
|
-
*
|
|
78
|
-
* @param action$
|
|
79
|
-
* @param store
|
|
80
|
-
* @category Epics
|
|
81
|
-
*/
|
|
82
|
-
export declare const changeAssociationFull: Epic;
|
|
83
|
-
export declare const dataEpics: {
|
|
84
|
-
bcFetchRowMetaRequest: Epic;
|
|
85
|
-
bcFetchDataEpic: Epic;
|
|
86
|
-
bcSelectRecord: Epic;
|
|
87
|
-
bcSelectDepthRecord: Epic;
|
|
88
|
-
inlinePickListFetchDataEpic: Epic;
|
|
89
|
-
selectView: Epic;
|
|
90
|
-
bcNewDataEpic: Epic;
|
|
91
|
-
bcDeleteDataEpic: Epic;
|
|
92
|
-
bcSaveDataEpic: Epic;
|
|
93
|
-
bcCancelCreateDataEpic: Epic;
|
|
94
|
-
saveAssociationsActive: Epic;
|
|
95
|
-
saveAssociationsPassive: Epic;
|
|
96
|
-
changeAssociation: Epic;
|
|
97
|
-
changeAssociationSameBc: Epic;
|
|
98
|
-
changeChildrenAssociations: Epic;
|
|
99
|
-
changeChildrenAssociationsSameBc: Epic;
|
|
100
|
-
changeAssociationFull: Epic;
|
|
101
|
-
changeDescendantsAssociationsFull: Epic;
|
|
102
|
-
bcLoadMore: Epic;
|
|
103
|
-
removeMultivalueTag: Epic;
|
|
104
|
-
};
|
|
105
|
-
export default dataEpics;
|
package/epics/index.d.ts
DELETED
|
@@ -1,74 +0,0 @@
|
|
|
1
|
-
import { Epic } from 'redux-observable';
|
|
2
|
-
export declare const coreEpics: {
|
|
3
|
-
utilsEpics: {
|
|
4
|
-
exportStateEpic: import("../actions/actions").Epic;
|
|
5
|
-
};
|
|
6
|
-
routerEpics: {
|
|
7
|
-
changeLocation: import("../actions/actions").Epic;
|
|
8
|
-
loginDone: import("../actions/actions").Epic;
|
|
9
|
-
changeScreen: import("../actions/actions").Epic;
|
|
10
|
-
changeView: import("../actions/actions").Epic;
|
|
11
|
-
drillDown: import("../actions/actions").Epic;
|
|
12
|
-
userDrillDown: import("../actions/actions").Epic;
|
|
13
|
-
handleRouter: import("../actions/actions").Epic;
|
|
14
|
-
selectScreenFail: import("../actions/actions").Epic;
|
|
15
|
-
selectViewFail: import("../actions/actions").Epic;
|
|
16
|
-
};
|
|
17
|
-
sessionEpics: {
|
|
18
|
-
loginByAnotherRoleEpic: import("../actions/actions").Epic;
|
|
19
|
-
refreshMetaEpic: import("../actions/actions").Epic;
|
|
20
|
-
refreshMetaAndReloadPage: import("../actions/actions").Epic;
|
|
21
|
-
switchRoleEpic: import("../actions/actions").Epic;
|
|
22
|
-
loginEpic: import("../actions/actions").Epic;
|
|
23
|
-
};
|
|
24
|
-
screenEpics: {
|
|
25
|
-
processPostInvoke: import("../actions/actions").Epic;
|
|
26
|
-
downloadFile: import("../actions/actions").Epic;
|
|
27
|
-
downloadFileByUrl: import("../actions/actions").Epic;
|
|
28
|
-
processPostInvokeConfirm: import("../actions/actions").Epic;
|
|
29
|
-
apiError: import("../actions/actions").Epic;
|
|
30
|
-
httpError401: import("../actions/actions").Epic;
|
|
31
|
-
httpError409: import("../actions/actions").Epic;
|
|
32
|
-
httpError418: import("../actions/actions").Epic;
|
|
33
|
-
httpError500: import("../actions/actions").Epic;
|
|
34
|
-
httpErrorDefault: import("../actions/actions").Epic;
|
|
35
|
-
};
|
|
36
|
-
viewEpics: {
|
|
37
|
-
sendOperation: import("../actions/actions").Epic;
|
|
38
|
-
getRowMetaByForceActive: import("../actions/actions").Epic;
|
|
39
|
-
sendOperationAssociate: import("../actions/actions").Epic;
|
|
40
|
-
clearPendingDataChangesAfterCursorChange: import("../actions/actions").Epic;
|
|
41
|
-
selectTableCellInit: import("../actions/actions").Epic;
|
|
42
|
-
showAllTableRecordsInit: import("../actions/actions").Epic;
|
|
43
|
-
showAssocPopup: import("../actions/actions").Epic;
|
|
44
|
-
showFileUploadPopup: import("../actions/actions").Epic;
|
|
45
|
-
fileUploadConfirm: import("../actions/actions").Epic;
|
|
46
|
-
};
|
|
47
|
-
dataEpics: {
|
|
48
|
-
bcFetchRowMetaRequest: import("../actions/actions").Epic;
|
|
49
|
-
bcFetchDataEpic: import("../actions/actions").Epic;
|
|
50
|
-
bcSelectRecord: import("../actions/actions").Epic;
|
|
51
|
-
bcSelectDepthRecord: import("../actions/actions").Epic;
|
|
52
|
-
inlinePickListFetchDataEpic: import("../actions/actions").Epic;
|
|
53
|
-
selectView: import("../actions/actions").Epic;
|
|
54
|
-
bcNewDataEpic: import("../actions/actions").Epic;
|
|
55
|
-
bcDeleteDataEpic: import("../actions/actions").Epic;
|
|
56
|
-
bcSaveDataEpic: import("../actions/actions").Epic;
|
|
57
|
-
bcCancelCreateDataEpic: import("../actions/actions").Epic;
|
|
58
|
-
saveAssociationsActive: import("../actions/actions").Epic;
|
|
59
|
-
saveAssociationsPassive: import("../actions/actions").Epic;
|
|
60
|
-
changeAssociation: import("../actions/actions").Epic;
|
|
61
|
-
changeAssociationSameBc: import("../actions/actions").Epic;
|
|
62
|
-
changeChildrenAssociations: import("../actions/actions").Epic;
|
|
63
|
-
changeChildrenAssociationsSameBc: import("../actions/actions").Epic;
|
|
64
|
-
changeAssociationFull: import("../actions/actions").Epic;
|
|
65
|
-
changeDescendantsAssociationsFull: import("../actions/actions").Epic;
|
|
66
|
-
bcLoadMore: import("../actions/actions").Epic;
|
|
67
|
-
removeMultivalueTag: import("../actions/actions").Epic;
|
|
68
|
-
};
|
|
69
|
-
};
|
|
70
|
-
/**
|
|
71
|
-
* @deprecated TODO: For backward compatibility; remove in 2.0.0
|
|
72
|
-
*/
|
|
73
|
-
export declare const legacyCoreEpics: Epic<any, any>;
|
|
74
|
-
export default coreEpics;
|
|
@@ -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,12 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { Store } from 'redux';
|
|
3
|
-
import { Epic, AnyAction, ActionsMap } from '../../actions/actions';
|
|
4
|
-
import { Store as CoreStore } from '../../interfaces/store';
|
|
5
|
-
export declare const drillDown: Epic;
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
* @param action
|
|
9
|
-
* @param store
|
|
10
|
-
* @category Epics
|
|
11
|
-
*/
|
|
12
|
-
export declare function drillDownImpl(action: ActionsMap['drillDown'], store: Store<CoreStore, AnyAction>): Observable<AnyAction>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { Store } from 'redux';
|
|
3
|
-
import { Epic, ActionsMap } from '../../actions/actions';
|
|
4
|
-
import { Store as CoreStore } from '../../interfaces/store';
|
|
5
|
-
export declare const handleRouter: Epic;
|
|
6
|
-
/**
|
|
7
|
-
* Default implementation for `handleRouter` epic.
|
|
8
|
-
*
|
|
9
|
-
* If server routing is used, this epic will send a requst to Cxbox API router endpoint.
|
|
10
|
-
* It writes a console error if request fails.
|
|
11
|
-
*
|
|
12
|
-
* @param action This epic will fire on {@link ActionPayloadTypes.handleRouter | handleRouter} action
|
|
13
|
-
* @param store Redux store instance
|
|
14
|
-
* @returns Default implementation does not throw any additional actions
|
|
15
|
-
* @category Epics
|
|
16
|
-
*/
|
|
17
|
-
export declare function handleRouterImpl(action: ActionsMap['handleRouter'], store: Store<CoreStore>): Observable<never>;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { Store } from 'redux';
|
|
3
|
-
import { Epic, AnyAction, ActionsMap } from '../../actions/actions';
|
|
4
|
-
import { Store as CoreStore } from '../../interfaces/store';
|
|
5
|
-
/**
|
|
6
|
-
* Fires `selectScreen` or `selectScreenFail` to set requested in url screen as active
|
|
7
|
-
* after succesful login.
|
|
8
|
-
*
|
|
9
|
-
* For server-side router fires `handleRouter` instead.
|
|
10
|
-
*
|
|
11
|
-
* @param action$ loginDone
|
|
12
|
-
*/
|
|
13
|
-
export declare const loginDone: Epic;
|
|
14
|
-
/**
|
|
15
|
-
*
|
|
16
|
-
* @param action
|
|
17
|
-
* @param store
|
|
18
|
-
* @category Epics
|
|
19
|
-
*/
|
|
20
|
-
export declare function loginDoneImpl(action: ActionsMap['loginDone'], store: Store<CoreStore>): Observable<AnyAction>;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { Store } from 'redux';
|
|
3
|
-
import { Epic, AnyAction, ActionsMap } from '../../actions/actions';
|
|
4
|
-
import { Store as CoreStore } from '../../interfaces/store';
|
|
5
|
-
/**
|
|
6
|
-
*
|
|
7
|
-
* TODO: Rename to `selectScreen` in 2.0.0
|
|
8
|
-
*
|
|
9
|
-
* @param action$ `selectScreen` action
|
|
10
|
-
* @param store
|
|
11
|
-
*/
|
|
12
|
-
export declare const changeScreen: Epic;
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @param action
|
|
16
|
-
* @param store
|
|
17
|
-
* @category Epics
|
|
18
|
-
*/
|
|
19
|
-
export declare function selectScreenImpl(action: ActionsMap['selectScreen'], store: Store<CoreStore>): Observable<AnyAction>;
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { Store } from 'redux';
|
|
3
|
-
import { Epic, AnyAction, ActionsMap } from '../../actions/actions';
|
|
4
|
-
import { Store as CoreStore } from '../../interfaces/store';
|
|
5
|
-
/**
|
|
6
|
-
* Throws a error popup when attempting to navigate to a screen which is missing for current session
|
|
7
|
-
*
|
|
8
|
-
* @param action$ selectViewFail
|
|
9
|
-
*/
|
|
10
|
-
export declare const selectScreenFail: Epic;
|
|
11
|
-
/**
|
|
12
|
-
*
|
|
13
|
-
* @param action
|
|
14
|
-
* @param store
|
|
15
|
-
* @category Epics
|
|
16
|
-
*/
|
|
17
|
-
export declare function selectScreenFailImpl(action: ActionsMap['selectScreenFail'], store: Store<CoreStore, AnyAction>): Observable<AnyAction>;
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { Store } from 'redux';
|
|
3
|
-
import { Epic, AnyAction, ActionsMap } from '../../actions/actions';
|
|
4
|
-
import { Store as CoreStore } from '../../interfaces/store';
|
|
5
|
-
/**
|
|
6
|
-
*
|
|
7
|
-
* TODO: Rename to `selectView` in 2.0.0
|
|
8
|
-
*
|
|
9
|
-
* @param action$ `selectView` action
|
|
10
|
-
* @param store
|
|
11
|
-
*/
|
|
12
|
-
export declare const changeView: Epic;
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @param action
|
|
16
|
-
* @param store
|
|
17
|
-
* @category Epics
|
|
18
|
-
*/
|
|
19
|
-
export declare function selectViewImpl(action: ActionsMap['selectView'], store: Store<CoreStore>): Observable<AnyAction>;
|