@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,19 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { FullHierarchyDataItem } from '../FullHierarchyTable';
|
|
3
|
-
import { BcFilter } from '../../../interfaces/filters';
|
|
4
|
-
/**
|
|
5
|
-
* State hook to calculate currently expanded rows
|
|
6
|
-
*
|
|
7
|
-
* Auto expanded records:
|
|
8
|
-
* - all of `defaultExpandedKeys`
|
|
9
|
-
* - all ancestors of each `selectedRecords`
|
|
10
|
-
* - all ancestors of `data` records matching `filters`
|
|
11
|
-
*
|
|
12
|
-
* @param defaultExpandedKeys TODO
|
|
13
|
-
* @param selectedRecords TODO
|
|
14
|
-
* @param data TODO
|
|
15
|
-
* @param filters TODO
|
|
16
|
-
* @param searchAncestorsKeys TODO
|
|
17
|
-
* @param hierarchyDisableDescendants Disable searched item descendants in fullHierarchy search
|
|
18
|
-
*/
|
|
19
|
-
export declare function useExpandedKeys(defaultExpandedKeys: string[], selectedRecords: FullHierarchyDataItem[], data: FullHierarchyDataItem[], filters: BcFilter[], searchAncestorsKeys: Set<string>, hierarchyDisableDescendants?: boolean): readonly [string[], React.Dispatch<React.SetStateAction<string[]>>];
|
|
@@ -1,12 +0,0 @@
|
|
|
1
|
-
import { BcFilter } from '../../../interfaces/filters';
|
|
2
|
-
import { FullHierarchyDataItem } from '../../../components/FullHierarchyTable/FullHierarchyTable';
|
|
3
|
-
/**
|
|
4
|
-
* Returns cached search results for full hierarchy widget
|
|
5
|
-
*
|
|
6
|
-
* @param widgetName Full hierarchy widget name
|
|
7
|
-
* @param filters Filters (only text fields supported)
|
|
8
|
-
* @param data Records
|
|
9
|
-
* @param depthLevel Level of the hierarchy for which hook is called
|
|
10
|
-
* @param hierarchyDisableDescendants Disable searched item descendants in fullHierarchy search
|
|
11
|
-
*/
|
|
12
|
-
export declare function useHierarchyCache(widgetName: string, filters: BcFilter[], data: FullHierarchyDataItem[], depthLevel: number, hierarchyDisableDescendants?: boolean): readonly [FullHierarchyDataItem[], Set<string>, Set<string>];
|
|
@@ -1,48 +0,0 @@
|
|
|
1
|
-
import React, { FunctionComponent } from 'react';
|
|
2
|
-
import { WidgetTableMeta, WidgetTableHierarchy } from '../../interfaces/widget';
|
|
3
|
-
import { DataItem, PendingDataItem } from '../../interfaces/data';
|
|
4
|
-
import { RowMetaField } from '../../interfaces/rowMeta';
|
|
5
|
-
import { TableEventListeners } from 'antd/lib/table';
|
|
6
|
-
import { Route } from '../../interfaces/router';
|
|
7
|
-
import { AssociatedItem } from '../../interfaces/operation';
|
|
8
|
-
interface HierarchyTableOwnProps {
|
|
9
|
-
meta: WidgetTableMeta;
|
|
10
|
-
assocValueKey?: string;
|
|
11
|
-
nestedByBc?: string;
|
|
12
|
-
parentBcName?: string;
|
|
13
|
-
showPagination?: boolean;
|
|
14
|
-
onRow?: (record: DataItem, index: number) => TableEventListeners;
|
|
15
|
-
}
|
|
16
|
-
export interface HierarchyTableProps extends HierarchyTableOwnProps {
|
|
17
|
-
childData: AssociatedItem[];
|
|
18
|
-
hierarchyLevels: WidgetTableHierarchy[];
|
|
19
|
-
nestedBcName: string;
|
|
20
|
-
widgetName?: string;
|
|
21
|
-
indentLevel: number;
|
|
22
|
-
data: AssociatedItem[];
|
|
23
|
-
rowMetaFields: RowMetaField[];
|
|
24
|
-
cursor: string;
|
|
25
|
-
parentCursor: string;
|
|
26
|
-
route: Route;
|
|
27
|
-
loading: boolean;
|
|
28
|
-
selectable?: boolean;
|
|
29
|
-
pendingChanges: Record<string, PendingDataItem>;
|
|
30
|
-
parentId?: string;
|
|
31
|
-
onDeselectAll?: (bcNames: string[]) => void;
|
|
32
|
-
onSelect?: (bcName: string, dataItem: AssociatedItem, widgetName: string, assocValueKey: string) => void;
|
|
33
|
-
onSelectAll?: (bcName: string, assocValueKey: string, selected: boolean) => void;
|
|
34
|
-
onDrillDown?: (widgetName: string, cursor: string, bcName: string, fieldKey: string) => void;
|
|
35
|
-
onExpand: (bcName: string, nestedBcName: string, cursor: string, route: Route) => void;
|
|
36
|
-
}
|
|
37
|
-
export declare const Exp: FunctionComponent;
|
|
38
|
-
/**
|
|
39
|
-
*
|
|
40
|
-
* @param props
|
|
41
|
-
* @category Components
|
|
42
|
-
*/
|
|
43
|
-
export declare const HierarchyTable: FunctionComponent<HierarchyTableProps>;
|
|
44
|
-
declare const ConnectedHierarchyTable: import("react-redux").ConnectedComponent<React.FunctionComponent<HierarchyTableProps>, Pick<HierarchyTableProps, "meta" | "widgetName" | "assocValueKey" | "onRow" | "onDrillDown" | "parentId" | "selectable" | "nestedByBc" | "showPagination" | "parentBcName"> & HierarchyTableOwnProps>;
|
|
45
|
-
/**
|
|
46
|
-
* @category Components
|
|
47
|
-
*/
|
|
48
|
-
export default ConnectedHierarchyTable;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DataItem, PickMap } from '../../interfaces/data';
|
|
3
|
-
import { ChangeDataItemPayload, BaseFieldProps } from '../Field/Field';
|
|
4
|
-
interface InlinePickListOwnProps extends BaseFieldProps {
|
|
5
|
-
fieldName: string;
|
|
6
|
-
searchSpec: string;
|
|
7
|
-
bcName: string;
|
|
8
|
-
popupBcName: string;
|
|
9
|
-
pickMap: PickMap;
|
|
10
|
-
value?: string;
|
|
11
|
-
placeholder?: string;
|
|
12
|
-
}
|
|
13
|
-
interface InlinePickListProps extends InlinePickListOwnProps {
|
|
14
|
-
data: DataItem[];
|
|
15
|
-
onClick: (bcName: string, pickMap: PickMap, widgetName?: string) => void;
|
|
16
|
-
onChange: (payload: ChangeDataItemPayload) => void;
|
|
17
|
-
onSearch: (bcName: string, searchSpec: string, searchString: string) => void;
|
|
18
|
-
}
|
|
19
|
-
declare const _default: import("react-redux").ConnectedComponent<React.FunctionComponent<InlinePickListProps>, Pick<InlinePickListProps, "className" | "meta" | "disabled" | "value" | "placeholder" | "readOnly" | "widgetName" | "bcName" | "cursor" | "onDrillDown" | "metaError" | "searchSpec" | "popupBcName" | "pickMap" | "backgroundColor" | "fieldName"> & InlinePickListOwnProps>;
|
|
20
|
-
/**
|
|
21
|
-
* @category Components
|
|
22
|
-
*/
|
|
23
|
-
export default _default;
|
|
@@ -1,18 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { OperationModalInvokeConfirm } from '../../interfaces/operation';
|
|
3
|
-
interface ModalInvokeOwnProps {
|
|
4
|
-
className?: string;
|
|
5
|
-
}
|
|
6
|
-
interface ModalInvokeProps extends ModalInvokeOwnProps {
|
|
7
|
-
bcName: string;
|
|
8
|
-
operationType: string;
|
|
9
|
-
widgetName: string;
|
|
10
|
-
confirmOperation: OperationModalInvokeConfirm;
|
|
11
|
-
onOk: (bcName: string, operationType: string, widgetName: string, confirm: string) => void;
|
|
12
|
-
onCancel: () => void;
|
|
13
|
-
}
|
|
14
|
-
/**
|
|
15
|
-
* @category Components
|
|
16
|
-
*/
|
|
17
|
-
declare const ConnectedModalInvoke: import("react-redux").ConnectedComponent<React.FunctionComponent<ModalInvokeProps>, Pick<ModalInvokeProps, "className">>;
|
|
18
|
-
export default ConnectedModalInvoke;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { MultivalueSingleValue } from '../../interfaces/data';
|
|
3
|
-
import { DrillDownType } from '../../interfaces/router';
|
|
4
|
-
export interface MultiValueListRecordOwnProps {
|
|
5
|
-
multivalueSingleValue: MultivalueSingleValue;
|
|
6
|
-
isFloat: boolean;
|
|
7
|
-
}
|
|
8
|
-
export interface MultiValueListRecordProps extends MultiValueListRecordOwnProps {
|
|
9
|
-
onDrillDown: (drillDownUrl: string, drillDownType: DrillDownType) => void;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* @category Components
|
|
13
|
-
*/
|
|
14
|
-
declare const ConnectedMultiValueListRecord: import("react-redux").ConnectedComponent<React.FunctionComponent<MultiValueListRecordProps>, Pick<MultiValueListRecordProps, "multivalueSingleValue" | "isFloat">>;
|
|
15
|
-
export default ConnectedMultiValueListRecord;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { MultivalueSingleValue } from '../../interfaces/data';
|
|
3
|
-
import { MultivalueFieldMeta } from '../../interfaces/widget';
|
|
4
|
-
export interface MultivalueFieldOwnProps {
|
|
5
|
-
widgetName: string;
|
|
6
|
-
defaultValue: MultivalueSingleValue[];
|
|
7
|
-
widgetFieldMeta: MultivalueFieldMeta;
|
|
8
|
-
bcName: string;
|
|
9
|
-
disabled?: boolean;
|
|
10
|
-
metaError?: string;
|
|
11
|
-
placeholder?: string;
|
|
12
|
-
}
|
|
13
|
-
export interface MultivalueFieldProps extends MultivalueFieldOwnProps {
|
|
14
|
-
cursor: string;
|
|
15
|
-
page: number;
|
|
16
|
-
popupBcName: string;
|
|
17
|
-
/**
|
|
18
|
-
* @deprecated TODO: Remove in 2.0.0; initially existed to prevent race condition
|
|
19
|
-
* when opening popup that still fetches row meta, but after introducing lazy load
|
|
20
|
-
* for popup lost its relevance
|
|
21
|
-
*/
|
|
22
|
-
popupRowMetaDone?: boolean;
|
|
23
|
-
fieldKey: string;
|
|
24
|
-
onRemove: (bcName: string, popupBcName: string, cursor: string, associateFieldKey: string, newValue: MultivalueSingleValue[], removedItem: MultivalueSingleValue) => void;
|
|
25
|
-
onMultivalueAssocOpen: (bcName: string, widgetFieldMeta: MultivalueFieldMeta, page: number, widgetName?: string) => void;
|
|
26
|
-
}
|
|
27
|
-
/**
|
|
28
|
-
* @category Components
|
|
29
|
-
*/
|
|
30
|
-
declare const ConnectedMultivalueField: import("react-redux").ConnectedComponent<React.FunctionComponent<MultivalueFieldProps>, Pick<MultivalueFieldProps, "disabled" | "defaultValue" | "placeholder" | "widgetName" | "bcName" | "metaError" | "widgetFieldMeta" | "popupRowMetaDone"> & MultivalueFieldOwnProps>;
|
|
31
|
-
export default ConnectedMultivalueField;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { PickMap } from '../../interfaces/data';
|
|
3
|
-
import { BaseFieldProps, ChangeDataItemPayload } from '../Field/Field';
|
|
4
|
-
interface IPickListWidgetInputOwnProps extends BaseFieldProps {
|
|
5
|
-
parentBCName: string;
|
|
6
|
-
bcName: string;
|
|
7
|
-
pickMap: PickMap;
|
|
8
|
-
value?: string;
|
|
9
|
-
placeholder?: string;
|
|
10
|
-
}
|
|
11
|
-
interface IPickListWidgetInputProps extends IPickListWidgetInputOwnProps {
|
|
12
|
-
onChange: (payload: ChangeDataItemPayload) => void;
|
|
13
|
-
onClick: (bcName: string, pickMap: PickMap, widgetName?: string) => void;
|
|
14
|
-
/**
|
|
15
|
-
* @deprecated TODO: Remove in 2.0.0; initially existed to prevent race condition
|
|
16
|
-
* when opening popup that still fetches row meta, but after introducing lazy load
|
|
17
|
-
* for popup lost its relevance
|
|
18
|
-
*/
|
|
19
|
-
popupRowMetaDone?: boolean;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* @category Components
|
|
23
|
-
*/
|
|
24
|
-
declare const ConnectedPickListField: import("react-redux").ConnectedComponent<React.FunctionComponent<IPickListWidgetInputProps>, Pick<IPickListWidgetInputProps, "className" | "meta" | "disabled" | "value" | "placeholder" | "readOnly" | "widgetName" | "bcName" | "cursor" | "onDrillDown" | "metaError" | "pickMap" | "backgroundColor" | "popupRowMetaDone" | "parentBCName">>;
|
|
25
|
-
export default ConnectedPickListField;
|
|
@@ -1,42 +0,0 @@
|
|
|
1
|
-
import React, { MutableRefObject } from 'react';
|
|
2
|
-
import { WidgetTableMeta } from '../../interfaces/widget';
|
|
3
|
-
import { DataItem } from '@cxbox-ui/schema';
|
|
4
|
-
/**
|
|
5
|
-
* {@link RowOperationsMenu | RowOperationsMenu} properties
|
|
6
|
-
*/
|
|
7
|
-
interface RowOperationsButtonProps {
|
|
8
|
-
/**
|
|
9
|
-
* Widget meta description
|
|
10
|
-
*/
|
|
11
|
-
meta: WidgetTableMeta;
|
|
12
|
-
/**
|
|
13
|
-
* Use when business component differs from widget's (e.g. hierarchies nested level)
|
|
14
|
-
*/
|
|
15
|
-
bcName?: string;
|
|
16
|
-
/**
|
|
17
|
-
* Common parent for {@link Table | Table} and {@link RowOperationsButton | RowOperationsButton}
|
|
18
|
-
*/
|
|
19
|
-
parent: MutableRefObject<HTMLElement>;
|
|
20
|
-
}
|
|
21
|
-
/**
|
|
22
|
-
* {@link RowOperationsButton | RowOperationsButton} instance
|
|
23
|
-
*/
|
|
24
|
-
export interface RowOperationsButtonInstance {
|
|
25
|
-
setRow: (record: DataItem, e: React.MouseEvent<HTMLElement>) => void;
|
|
26
|
-
containerRef: MutableRefObject<HTMLElement>;
|
|
27
|
-
}
|
|
28
|
-
/**
|
|
29
|
-
* Button that shows available operations for the row
|
|
30
|
-
*
|
|
31
|
-
* On click fetches row meta for clicked row by dispatching
|
|
32
|
-
* {@link ActionPayloadTypes.bcSelectRecord | bcSelectRecord} and shows {@link RowOperationsMenu | RowOperationsMenu}
|
|
33
|
-
*
|
|
34
|
-
* {@link RowOperationsButtonInstance.setRow | setRow} can be used to dynamically place the button
|
|
35
|
-
* next to hovered row.
|
|
36
|
-
*
|
|
37
|
-
* @param props - Component properties
|
|
38
|
-
* @param ref - Assigned reference will receive component instance
|
|
39
|
-
*/
|
|
40
|
-
export declare const RowOperationsButton: React.ForwardRefRenderFunction<RowOperationsButtonInstance, RowOperationsButtonProps>;
|
|
41
|
-
declare const _default: React.ForwardRefExoticComponent<RowOperationsButtonProps & React.RefAttributes<RowOperationsButtonInstance>>;
|
|
42
|
-
export default _default;
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { WidgetMeta } from '../../interfaces/widget';
|
|
3
|
-
/**
|
|
4
|
-
* {@link RowOperationsMenu | RowOperationsMenu} properties
|
|
5
|
-
*/
|
|
6
|
-
interface RowOperationsMenuProps {
|
|
7
|
-
/**
|
|
8
|
-
* Widget meta description
|
|
9
|
-
*/
|
|
10
|
-
meta: WidgetMeta;
|
|
11
|
-
/**
|
|
12
|
-
* Use when business component differs from widget's (e.g. hierarchies nested level)
|
|
13
|
-
*/
|
|
14
|
-
bcName?: string;
|
|
15
|
-
/**
|
|
16
|
-
* Callback when selecting an operation
|
|
17
|
-
*/
|
|
18
|
-
onSelect?: (operationKey: string) => void;
|
|
19
|
-
}
|
|
20
|
-
/**
|
|
21
|
-
* Menu with available record operations
|
|
22
|
-
*
|
|
23
|
-
* On operation selection dispatches {@link ActionPayloadTypes.sendOperation | sendOperation}
|
|
24
|
-
*
|
|
25
|
-
* @param props - Component properties
|
|
26
|
-
*/
|
|
27
|
-
export declare const RowOperationsMenu: React.FC<RowOperationsMenuProps>;
|
|
28
|
-
declare const _default: React.NamedExoticComponent<RowOperationsMenuProps>;
|
|
29
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,41 +0,0 @@
|
|
|
1
|
-
import React, { FunctionComponent } from 'react';
|
|
2
|
-
import { WidgetTableMeta } from '../../interfaces/widget';
|
|
3
|
-
import { DataItem, PendingDataItem } from '../../interfaces/data';
|
|
4
|
-
import { TableEventListeners } from 'antd/lib/table';
|
|
5
|
-
import { Route } from '../../interfaces/router';
|
|
6
|
-
import { AssociatedItem } from '../../interfaces/operation';
|
|
7
|
-
interface SameBcHierarchyTableOwnProps {
|
|
8
|
-
meta: WidgetTableMeta;
|
|
9
|
-
assocValueKey?: string;
|
|
10
|
-
depth?: number;
|
|
11
|
-
selectable?: boolean;
|
|
12
|
-
parentId?: string;
|
|
13
|
-
onRow?: (record: DataItem, index: number) => TableEventListeners;
|
|
14
|
-
}
|
|
15
|
-
export interface SameBcHierarchyTableProps extends SameBcHierarchyTableOwnProps {
|
|
16
|
-
data: AssociatedItem[];
|
|
17
|
-
cursor: string;
|
|
18
|
-
parentCursor: string;
|
|
19
|
-
route: Route;
|
|
20
|
-
loading: boolean;
|
|
21
|
-
pendingChanges: Record<string, PendingDataItem>;
|
|
22
|
-
onDeselectAll?: (bcName: string, depthFrom: number) => void;
|
|
23
|
-
onSelect?: (bcName: string, depth: number, dataItem: AssociatedItem, widgetName: string, assocValueKey: string) => void;
|
|
24
|
-
onSelectAll?: (bcName: string, depth: number, assocValueKey: string, selected: boolean) => void;
|
|
25
|
-
onDrillDown?: (widgetName: string, cursor: string, bcName: string, fieldKey: string) => void;
|
|
26
|
-
onExpand: (bcName: string, depth: number, cursor: string) => void;
|
|
27
|
-
}
|
|
28
|
-
export declare const Exp: FunctionComponent;
|
|
29
|
-
/**
|
|
30
|
-
*
|
|
31
|
-
* @param props
|
|
32
|
-
* @deprecated TODO: Will be removed in 2.0.0
|
|
33
|
-
* @category Components
|
|
34
|
-
*/
|
|
35
|
-
export declare const SameBcHierarchyTable: FunctionComponent<SameBcHierarchyTableProps>;
|
|
36
|
-
declare const ConnectedHierarchyTable: import("react-redux").ConnectedComponent<React.FunctionComponent<SameBcHierarchyTableProps>, Pick<SameBcHierarchyTableProps, "meta" | "assocValueKey" | "onRow" | "onDrillDown" | "parentId" | "depth" | "selectable"> & SameBcHierarchyTableOwnProps>;
|
|
37
|
-
/**
|
|
38
|
-
* @deprecated TODO: Will be removed in 2.0.0
|
|
39
|
-
* @category Components
|
|
40
|
-
*/
|
|
41
|
-
export default ConnectedHierarchyTable;
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React, { FunctionComponent } from 'react';
|
|
2
|
-
interface TemplatedTitleOwnProps {
|
|
3
|
-
title: string;
|
|
4
|
-
widgetName: string;
|
|
5
|
-
container?: React.ComponentType<any>;
|
|
6
|
-
}
|
|
7
|
-
interface TemplatedTitleProps extends TemplatedTitleOwnProps {
|
|
8
|
-
templatedTitle: string;
|
|
9
|
-
}
|
|
10
|
-
/**
|
|
11
|
-
*
|
|
12
|
-
* @param props
|
|
13
|
-
* @category Components
|
|
14
|
-
*/
|
|
15
|
-
export declare const TemplatedTitle: FunctionComponent<TemplatedTitleProps>;
|
|
16
|
-
/**
|
|
17
|
-
* @category Components
|
|
18
|
-
*/
|
|
19
|
-
declare const ConnectedTemplatedTitle: import("react-redux").ConnectedComponent<React.FunctionComponent<TemplatedTitleProps>, Pick<TemplatedTitleProps, "title" | "widgetName" | "container"> & TemplatedTitleOwnProps>;
|
|
20
|
-
export default ConnectedTemplatedTitle;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import React, { FunctionComponent } from 'react';
|
|
2
|
-
import { CustomWidget, CustomWidgetDescriptor, WidgetMeta } from '../../interfaces/widget';
|
|
3
|
-
export interface ViewProps {
|
|
4
|
-
debugMode?: boolean;
|
|
5
|
-
widgets: WidgetMeta[];
|
|
6
|
-
skipWidgetTypes?: string[];
|
|
7
|
-
card?: (props: any) => React.ReactElement<any>;
|
|
8
|
-
customSpinner?: (props: any) => React.ReactElement<any>;
|
|
9
|
-
customWidgets?: Record<string, CustomWidgetDescriptor>;
|
|
10
|
-
customLayout?: (props: any) => React.ReactElement<any>;
|
|
11
|
-
customFields?: Record<string, CustomWidget>;
|
|
12
|
-
disableDebugMode?: boolean;
|
|
13
|
-
}
|
|
14
|
-
export declare const CustomizationContext: React.Context<{
|
|
15
|
-
customFields: Record<string, CustomWidget>;
|
|
16
|
-
}>;
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @param props
|
|
20
|
-
* @category Components
|
|
21
|
-
*/
|
|
22
|
-
export declare const View: FunctionComponent<ViewProps>;
|
|
23
|
-
/**
|
|
24
|
-
* @category Components
|
|
25
|
-
*/
|
|
26
|
-
declare const ConnectedView: import("react-redux").ConnectedComponent<React.FunctionComponent<ViewProps>, Pick<ViewProps, "skipWidgetTypes" | "card" | "customSpinner" | "customWidgets" | "customLayout" | "customFields" | "disableDebugMode">>;
|
|
27
|
-
export default ConnectedView;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,29 +0,0 @@
|
|
|
1
|
-
import React, { FunctionComponent } from 'react';
|
|
2
|
-
import { CustomWidgetDescriptor, WidgetMetaAny, WidgetMeta } from '../../interfaces/widget';
|
|
3
|
-
interface WidgetOwnProps {
|
|
4
|
-
meta: WidgetMeta | WidgetMetaAny;
|
|
5
|
-
card?: (props: any) => React.ReactElement<any>;
|
|
6
|
-
customSpinner?: (props: any) => React.ReactElement<any>;
|
|
7
|
-
children?: React.ReactNode;
|
|
8
|
-
disableDebugMode?: boolean;
|
|
9
|
-
}
|
|
10
|
-
interface WidgetProps extends WidgetOwnProps {
|
|
11
|
-
debugMode?: boolean;
|
|
12
|
-
loading?: boolean;
|
|
13
|
-
parentCursor?: string;
|
|
14
|
-
customWidgets?: Record<string, CustomWidgetDescriptor>;
|
|
15
|
-
showWidget: boolean;
|
|
16
|
-
rowMetaExists: boolean;
|
|
17
|
-
dataExists: boolean;
|
|
18
|
-
}
|
|
19
|
-
/**
|
|
20
|
-
*
|
|
21
|
-
* @param props
|
|
22
|
-
* @category Components
|
|
23
|
-
*/
|
|
24
|
-
export declare const Widget: FunctionComponent<WidgetProps>;
|
|
25
|
-
/**
|
|
26
|
-
* @category Components
|
|
27
|
-
*/
|
|
28
|
-
declare const ConnectedWidget: import("react-redux").ConnectedComponent<React.FunctionComponent<WidgetProps>, Pick<WidgetProps, "meta" | "children" | "card" | "customSpinner" | "customWidgets" | "disableDebugMode"> & WidgetOwnProps>;
|
|
29
|
-
export default ConnectedWidget;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,20 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { WidgetMeta } from '../../interfaces/widget';
|
|
3
|
-
interface ErrorBoundaryProps {
|
|
4
|
-
meta?: WidgetMeta;
|
|
5
|
-
msg?: React.ReactNode;
|
|
6
|
-
children?: React.ReactNode;
|
|
7
|
-
}
|
|
8
|
-
export default class WidgetErrorBoundary extends React.Component<ErrorBoundaryProps, {
|
|
9
|
-
hasError: boolean;
|
|
10
|
-
error?: Error;
|
|
11
|
-
}> {
|
|
12
|
-
static getDerivedStateFromError(error: Error): {
|
|
13
|
-
hasError: boolean;
|
|
14
|
-
error: Error;
|
|
15
|
-
};
|
|
16
|
-
constructor(props: ErrorBoundaryProps);
|
|
17
|
-
componentDidCatch(error: any, errorInfo: any): void;
|
|
18
|
-
render(): {};
|
|
19
|
-
}
|
|
20
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
package/components/index.d.ts
DELETED
|
@@ -1,44 +0,0 @@
|
|
|
1
|
-
export { default as Link } from './ui/Link/Link';
|
|
2
|
-
/**
|
|
3
|
-
* @category Components
|
|
4
|
-
*/
|
|
5
|
-
export { default as DashboardLayout } from './ui/DashboardLayout/DashboardLayout';
|
|
6
|
-
export { default as ActionLink } from './ui/ActionLink/ActionLink';
|
|
7
|
-
export { default as DatePickerField } from './ui/DatePickerField/DatePickerField';
|
|
8
|
-
export { default as NumberInput } from './ui/NumberInput/NumberInput';
|
|
9
|
-
export { default as Dictionary } from './ui/Dictionary/Dictionary';
|
|
10
|
-
export { default as TextArea } from './ui/TextArea/TextArea';
|
|
11
|
-
export { default as MultivalueHover } from './ui/Multivalue/MultivalueHover';
|
|
12
|
-
export { default as MultivalueList } from './ui/Multivalue/MultivalueList';
|
|
13
|
-
export { default as MultivalueTag } from './ui/Multivalue/MultivalueTag';
|
|
14
|
-
export { default as CheckboxPicker } from './ui/CheckboxPicker/CheckboxPicker';
|
|
15
|
-
export { default as RadioButton } from './ui/RadioButton/RadioButton';
|
|
16
|
-
export { default as Pagination } from './ui/Pagination/Pagination';
|
|
17
|
-
export { default as ErrorPopup } from './ui/ErrorPopup/ErrorPopup';
|
|
18
|
-
export { default as Popup } from './ui/Popup/Popup';
|
|
19
|
-
export { default as ColumnTitle } from './ColumnTitle/ColumnTitle';
|
|
20
|
-
export { default as MultivalueField } from './Multivalue/MultivalueField';
|
|
21
|
-
export { default as MultiValueListRecord } from './Multivalue/MultiValueListRecord';
|
|
22
|
-
export { default as TreeVirtualized } from './ui/TreeVirtualized/TreeVirtualized';
|
|
23
|
-
export { default as SearchHighlight } from './ui/SearchHightlight/SearchHightlight';
|
|
24
|
-
export { default as FilterField } from './ui/FilterField/FilterField';
|
|
25
|
-
export { RowOperationsMenu } from './RowOperations/RowOperationsMenu';
|
|
26
|
-
export { default as RowOperationsButton } from './RowOperations/RowOperationsButton';
|
|
27
|
-
export { default as NavigationTabs } from './ui/NavigationTabs/NavigationTabs';
|
|
28
|
-
export { default as TemplatedTitle } from './TemplatedTitle/TemplatedTitle';
|
|
29
|
-
export { default as View } from './View/View';
|
|
30
|
-
export { default as Widget } from './Widget/Widget';
|
|
31
|
-
export { default as Field } from './Field/Field';
|
|
32
|
-
export { default as ModalInvoke } from './ModalInvoke/ModalInvoke';
|
|
33
|
-
export { default as PickListField } from './PickListField/PickListField';
|
|
34
|
-
export { default as FormWidget } from './widgets/FormWidget/FormWidget';
|
|
35
|
-
export { default as TableWidget } from './widgets/TableWidget/TableWidget';
|
|
36
|
-
export { default as TextWidget } from './widgets/TextWidget/TextWidget';
|
|
37
|
-
export { default as AssocListPopup } from './widgets/AssocListPopup/AssocListPopup';
|
|
38
|
-
export { default as PickListPopup } from './widgets/PickListPopup/PickListPopup';
|
|
39
|
-
export { default as FlatTree } from './widgets/FlatTree/FlatTree';
|
|
40
|
-
export { default as FlatTreePopup } from './widgets/FlatTree/FlatTreePopup';
|
|
41
|
-
export { default as ViewNavigationWidget } from './widgets/ViewNavigationWidget/ViewNavigationWidget';
|
|
42
|
-
export { default as NavigationTabsWidget } from './widgets/NavigationTabsWidget/NavigationTabsWidget';
|
|
43
|
-
export { default as DevToolsPanel } from './DevToolsPanel/DevToolsPanel';
|
|
44
|
-
export { default as WidgetErrorBoundary } from './WidgetErrorBoundary/WidgetErrorBoundary';
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
export interface IActionLinkProps {
|
|
3
|
-
className?: string;
|
|
4
|
-
children?: React.ReactNode;
|
|
5
|
-
onClick?: (event: React.MouseEvent<HTMLAnchorElement>) => void;
|
|
6
|
-
}
|
|
7
|
-
/**
|
|
8
|
-
* @category Components
|
|
9
|
-
*/
|
|
10
|
-
declare const MemoizedActionLink: React.NamedExoticComponent<IActionLinkProps>;
|
|
11
|
-
export default MemoizedActionLink;
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DataValue } from '../../../interfaces/data';
|
|
3
|
-
export interface CheckboxFilterProps {
|
|
4
|
-
title: string;
|
|
5
|
-
value: DataValue[];
|
|
6
|
-
filterValues: Array<{
|
|
7
|
-
value: string;
|
|
8
|
-
}>;
|
|
9
|
-
onChange?: (values: DataValue[]) => void;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
*
|
|
13
|
-
* @param props
|
|
14
|
-
* @category Components
|
|
15
|
-
*/
|
|
16
|
-
export declare const CheckboxFilter: React.FC<CheckboxFilterProps>;
|
|
17
|
-
/**
|
|
18
|
-
* @category Components
|
|
19
|
-
*/
|
|
20
|
-
export declare const MemoizedCheckboxFilter: React.NamedExoticComponent<CheckboxFilterProps>;
|
|
21
|
-
export default MemoizedCheckboxFilter;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,21 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DataValue } from '../../../interfaces/data';
|
|
3
|
-
import { RowMetaField } from '../../../interfaces/rowMeta';
|
|
4
|
-
import { ChangeDataItemPayload } from '../../Field/Field';
|
|
5
|
-
export interface CheckboxPickerOwnProps {
|
|
6
|
-
fieldName: string;
|
|
7
|
-
fieldLabel: string;
|
|
8
|
-
bcName: string;
|
|
9
|
-
cursor: string;
|
|
10
|
-
readonly?: boolean;
|
|
11
|
-
value: DataValue;
|
|
12
|
-
}
|
|
13
|
-
interface CheckboxPickerProps extends CheckboxPickerOwnProps {
|
|
14
|
-
metaField: RowMetaField;
|
|
15
|
-
onChange: (payload: ChangeDataItemPayload) => void;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* @category Components
|
|
19
|
-
*/
|
|
20
|
-
export declare const ConnectedCheckboxPicker: import("react-redux").ConnectedComponent<React.FC<CheckboxPickerProps>, Pick<CheckboxPickerProps, "value" | "bcName" | "cursor" | "readonly" | "fieldName" | "fieldLabel"> & CheckboxPickerOwnProps>;
|
|
21
|
-
export default ConnectedCheckboxPicker;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,22 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { CustomWidgetDescriptor, WidgetMeta } from '../../../interfaces/widget';
|
|
3
|
-
export interface DashboardLayoutProps {
|
|
4
|
-
widgets: WidgetMeta[];
|
|
5
|
-
customWidgets?: Record<string, CustomWidgetDescriptor>;
|
|
6
|
-
skipWidgetTypes?: string[];
|
|
7
|
-
customSpinner?: (props: any) => React.ReactElement<any>;
|
|
8
|
-
card?: (props: any) => React.ReactElement<any>;
|
|
9
|
-
disableDebugMode?: boolean;
|
|
10
|
-
}
|
|
11
|
-
/**
|
|
12
|
-
* TODO
|
|
13
|
-
*
|
|
14
|
-
* @param props
|
|
15
|
-
* @category Components
|
|
16
|
-
*/
|
|
17
|
-
export declare function DashboardLayout(props: DashboardLayoutProps): JSX.Element;
|
|
18
|
-
/**
|
|
19
|
-
* @category Components
|
|
20
|
-
*/
|
|
21
|
-
export declare const MemoizedDashboard: React.MemoExoticComponent<typeof DashboardLayout>;
|
|
22
|
-
export default MemoizedDashboard;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import moment from 'moment';
|
|
3
|
-
import { BaseFieldProps } from '../../Field/Field';
|
|
4
|
-
export interface IDatePickerFieldProps extends BaseFieldProps {
|
|
5
|
-
value?: string | null;
|
|
6
|
-
onChange?: (date: string | null) => void;
|
|
7
|
-
showToday?: boolean;
|
|
8
|
-
allowClear?: boolean;
|
|
9
|
-
onOpenChange?: (status: boolean) => void;
|
|
10
|
-
disabledDate?: (current: moment.Moment) => boolean;
|
|
11
|
-
showTime?: boolean;
|
|
12
|
-
monthYear?: boolean;
|
|
13
|
-
showSeconds?: boolean;
|
|
14
|
-
resetForceFocus?: () => void;
|
|
15
|
-
dateFormatter?: (date: moment.Moment) => string;
|
|
16
|
-
calendarContainer?: HTMLElement;
|
|
17
|
-
filterValue?: string;
|
|
18
|
-
}
|
|
19
|
-
export declare const getFormat: (showTime?: boolean, showSeconds?: boolean, monthYear?: boolean) => "MMMM YYYY" | "DD.MM.YYYY" | "DD.MM.YYYY HH:mm" | "DD.MM.YYYY HH:mm:ss";
|
|
20
|
-
export declare const DatePickerFieldFormat: (date: string | null, withTime?: boolean, withSeconds?: boolean, monthYear?: boolean) => string;
|
|
21
|
-
/**
|
|
22
|
-
* @category Components
|
|
23
|
-
*/
|
|
24
|
-
declare const MemoizedDatePickerField: React.NamedExoticComponent<IDatePickerFieldProps>;
|
|
25
|
-
export default MemoizedDatePickerField;
|