@cxbox-ui/core 1.37.2 → 1.37.3-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 +1068 -0
- package/dist/api/ObservableApi.d.ts +53 -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 +3645 -0
- package/dist/cxbox-ui-core.cjs.production.min.js +2 -0
- package/dist/cxbox-ui-core.esm.js +3609 -0
- package/dist/cxbox-ui-core.modern.development.js +3542 -0
- package/dist/cxbox-ui-core.modern.js +3542 -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 +2 -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 +7 -0
- package/dist/index.js +6 -0
- package/{interfaces → dist/interfaces}/bc.d.ts +7 -6
- 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 +20 -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 +12 -11
- package/dist/middlewares/autosaveMiddleware.d.ts +2 -0
- package/dist/middlewares/index.d.ts +6 -0
- package/dist/middlewares/popupMiddleware.d.ts +2 -0
- package/dist/middlewares/preInvokeMiddleware.d.ts +5 -0
- package/{middlewares → dist/middlewares}/requiredFieldsMiddleware.d.ts +6 -11
- 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 +25 -0
- package/dist/utils/apiError.d.ts +19 -0
- package/{utils → dist/utils}/autosave.d.ts +13 -2
- package/{utils → dist/utils}/bc.d.ts +3 -3
- package/dist/utils/cancelRequestEpic.d.ts +17 -0
- package/dist/utils/combineMiddlewares.d.ts +3 -0
- package/dist/utils/deleteUndefinedFromObject.d.ts +1 -0
- package/{utils → dist/utils}/filters.d.ts +3 -4
- package/{utils → dist/utils}/history.d.ts +5 -7
- package/dist/utils/index.d.ts +10 -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 +3 -2
- 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/middlewares/preInvokeMiddleware.d.ts +0 -8
- 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/{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,67 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { ListChildComponentProps } from 'react-window';
|
|
3
|
-
import { TreeNodeBidirectional } from '../../../interfaces/tree';
|
|
4
|
-
import { BcFilter } from '../../../interfaces/filters';
|
|
5
|
-
import { WidgetListField } from '../../../interfaces/widget';
|
|
6
|
-
/**
|
|
7
|
-
* Properties for `TreeVirtualizedNode` component
|
|
8
|
-
*
|
|
9
|
-
* @typeParam T Type of node item
|
|
10
|
-
*/
|
|
11
|
-
export interface TreeVirtualizedNodeData<T> {
|
|
12
|
-
/**
|
|
13
|
-
* All items that can be displayed as nodes
|
|
14
|
-
*/
|
|
15
|
-
items: Array<T & TreeNodeBidirectional>;
|
|
16
|
-
/**
|
|
17
|
-
* Fields of the item that should be displayed as columns
|
|
18
|
-
*/
|
|
19
|
-
fields: WidgetListField[];
|
|
20
|
-
/**
|
|
21
|
-
* An array of ids of expanded nodes
|
|
22
|
-
*/
|
|
23
|
-
expandedItems: string[];
|
|
24
|
-
/**
|
|
25
|
-
* Allow selecting multiple items
|
|
26
|
-
*/
|
|
27
|
-
multiple?: boolean;
|
|
28
|
-
/**
|
|
29
|
-
* Fields with values matching this expression will be highlighted;
|
|
30
|
-
*
|
|
31
|
-
* @see {@link src/utils/strings.ts#escapedSrc} for details how search expression is escaped
|
|
32
|
-
*/
|
|
33
|
-
filters?: BcFilter[];
|
|
34
|
-
/**
|
|
35
|
-
* Custom renderer for matching values
|
|
36
|
-
*/
|
|
37
|
-
searchHighlighter?: (value: string) => React.ReactNode;
|
|
38
|
-
/**
|
|
39
|
-
* Fires when expanding/collapsing node
|
|
40
|
-
*/
|
|
41
|
-
onToggle: (id: string) => void;
|
|
42
|
-
/**
|
|
43
|
-
* Fires when selectin a node
|
|
44
|
-
*/
|
|
45
|
-
onSelect?: ((item: T) => void) | ((item: T, selected: boolean) => void);
|
|
46
|
-
}
|
|
47
|
-
/**
|
|
48
|
-
* Overriding `react-window` node data with tree-specific properties
|
|
49
|
-
*/
|
|
50
|
-
export interface TreeVirtualizedNodeProps<T> extends ListChildComponentProps {
|
|
51
|
-
data: TreeVirtualizedNodeData<T>;
|
|
52
|
-
}
|
|
53
|
-
/**
|
|
54
|
-
* Default implementation of node renderer for virtualized trees
|
|
55
|
-
*
|
|
56
|
-
* Should not be extended with new features, rather it should be overriden entirely for customizations.
|
|
57
|
-
*
|
|
58
|
-
* @param props Component props
|
|
59
|
-
* @typeParam T Type of node item
|
|
60
|
-
* @category Components
|
|
61
|
-
*/
|
|
62
|
-
export declare function TreeVirtualizedNode<T extends TreeNodeBidirectional>(props: TreeVirtualizedNodeProps<T>): JSX.Element;
|
|
63
|
-
/**
|
|
64
|
-
* @category Components
|
|
65
|
-
*/
|
|
66
|
-
declare const MemoizedTreeVirtualizedNode: React.MemoExoticComponent<typeof TreeVirtualizedNode>;
|
|
67
|
-
export default MemoizedTreeVirtualizedNode;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { TreeNodeAscending } from '../../../interfaces/tree';
|
|
3
|
-
/**
|
|
4
|
-
* Filters `nodes` array with `searchPredicate` and calls `setExpandedNodes` with all ancestors of matching nodes
|
|
5
|
-
*
|
|
6
|
-
* @param nodes An array to filter
|
|
7
|
-
* @param searchPredicate Filter condition
|
|
8
|
-
* @param setExpandedNodes Callback to set ancestors
|
|
9
|
-
* @returns A memoized array of matching nodes
|
|
10
|
-
* @category Hooks
|
|
11
|
-
*/
|
|
12
|
-
export declare function useMatchingNodes<T extends TreeNodeAscending>(nodes: T[], searchPredicate: (item: T) => boolean, setExpandedNodes: React.Dispatch<React.SetStateAction<string[]>>): string[];
|
|
13
|
-
/**
|
|
14
|
-
* Filters `nodes` array with `searchPredicate` and forms an additional array with ancestors for each found node.
|
|
15
|
-
*
|
|
16
|
-
* @param nodes An array to filter
|
|
17
|
-
* @param searchPredicate Filter condition
|
|
18
|
-
* @category Utils
|
|
19
|
-
*/
|
|
20
|
-
export declare function getMatchingNodes<T extends TreeNodeAscending>(nodes: T[], searchPredicate: (item: T) => boolean): {
|
|
21
|
-
matchingNodes: string[];
|
|
22
|
-
ancestors: string[];
|
|
23
|
-
};
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
import { TreeNodeBidirectional, TreeNodeCollapsable } from '../../../interfaces/tree';
|
|
2
|
-
/**
|
|
3
|
-
* Returns a memoized array of matching nodes, their direct children and every ancestor node.
|
|
4
|
-
*
|
|
5
|
-
* Every node is assigned `_expanded` property based on if their parentId present in `expandedNodes` array.
|
|
6
|
-
* Nodes with children additionally expanded if `matchingNodes` includes some of their descendant.
|
|
7
|
-
*
|
|
8
|
-
* @param nodes An array to search
|
|
9
|
-
* @param matchingNodes Ids of the searched nodes
|
|
10
|
-
* @param expandedNodes Ids of the nodes that are expanded
|
|
11
|
-
* @category Hooks
|
|
12
|
-
*/
|
|
13
|
-
export declare function useSearchResult<T extends TreeNodeBidirectional>(nodes: T[], matchingNodes: string[], expandedNodes: string[]): TreeNodeCollapsable<T>[];
|
|
14
|
-
/**
|
|
15
|
-
* Every node is assigned `_expanded` property if their parentId present in `expandedNodes` array.
|
|
16
|
-
* Only nodes with this flag are returned (i.e. their parent node is expanded).
|
|
17
|
-
*
|
|
18
|
-
* If `matchingNodes` specified, source array of nodes is formed from matching nodes, their direct children
|
|
19
|
-
* and every ancestor node, each of them also assigned `_expanded` property with additional check to keep
|
|
20
|
-
* them collapsed if `matchingNodes` does not include some of their descendants.
|
|
21
|
-
*
|
|
22
|
-
* @param nodes Source array of nodes
|
|
23
|
-
* @param matchingNodes Ids of the searched nodes
|
|
24
|
-
* @param expandedNodes Ids of the nodes that are expanded
|
|
25
|
-
* @category Utils
|
|
26
|
-
*/
|
|
27
|
-
export declare function getSearchResult<T extends TreeNodeBidirectional>(nodes: T[], matchingNodes: string[], expandedNodes: string[]): Array<TreeNodeCollapsable<T>>;
|
|
@@ -1,58 +0,0 @@
|
|
|
1
|
-
import React, { FunctionComponent } from 'react';
|
|
2
|
-
import { DataValue, PendingDataItem } from '../../../interfaces/data';
|
|
3
|
-
import { WidgetTableMeta } from '../../../interfaces/widget';
|
|
4
|
-
import { PopupProps } from '../../ui/Popup/Popup';
|
|
5
|
-
import { AssociatedItem } from '../../../interfaces/operation';
|
|
6
|
-
import { BcFilter } from '../../../interfaces/filters';
|
|
7
|
-
export interface IAssocListRecord {
|
|
8
|
-
id: string;
|
|
9
|
-
vstamp: number;
|
|
10
|
-
originalSelected: DataValue;
|
|
11
|
-
selected: boolean;
|
|
12
|
-
value?: DataValue;
|
|
13
|
-
}
|
|
14
|
-
export interface IAssocListActions {
|
|
15
|
-
onSave: (bcNames: string[]) => void;
|
|
16
|
-
onFilter: (bcName: string, filter: BcFilter) => void;
|
|
17
|
-
onDeleteTag: (bcName: string, depth: number, widgetName: string, dataItem: AssociatedItem, assocValueKey: string) => void;
|
|
18
|
-
onDeleteAssociations: (bcName: string, parentId: string, depth: number, assocValueKey: string, selected: boolean) => void;
|
|
19
|
-
onRemoveFilter?: (bcName: string, filter: BcFilter) => void;
|
|
20
|
-
onCancel: () => void;
|
|
21
|
-
onClose: () => void;
|
|
22
|
-
}
|
|
23
|
-
export interface IAssocListOwnProps extends Omit<PopupProps, 'bcName' | 'children' | 'showed'> {
|
|
24
|
-
widget: WidgetTableMeta;
|
|
25
|
-
components?: {
|
|
26
|
-
title?: React.ReactNode;
|
|
27
|
-
table?: React.ReactNode;
|
|
28
|
-
footer?: React.ReactNode;
|
|
29
|
-
};
|
|
30
|
-
}
|
|
31
|
-
export interface IAssocListProps extends IAssocListOwnProps {
|
|
32
|
-
/**
|
|
33
|
-
* @deprecated TODO: Remove in 2.0.0, now handled by Widget.tsx
|
|
34
|
-
*/
|
|
35
|
-
showed?: boolean;
|
|
36
|
-
assocValueKey?: string;
|
|
37
|
-
associateFieldKey?: string;
|
|
38
|
-
bcLoading: boolean;
|
|
39
|
-
pendingDataChanges?: {
|
|
40
|
-
[cursor: string]: PendingDataItem;
|
|
41
|
-
};
|
|
42
|
-
data?: AssociatedItem[];
|
|
43
|
-
bcFilters?: BcFilter[];
|
|
44
|
-
isFilter?: boolean;
|
|
45
|
-
calleeBCName?: string;
|
|
46
|
-
calleeWidgetName?: string;
|
|
47
|
-
}
|
|
48
|
-
/**
|
|
49
|
-
*
|
|
50
|
-
* @param props
|
|
51
|
-
* @category Widgets
|
|
52
|
-
*/
|
|
53
|
-
export declare const AssocListPopup: FunctionComponent<IAssocListProps & IAssocListActions>;
|
|
54
|
-
/**
|
|
55
|
-
* @category Widgets
|
|
56
|
-
*/
|
|
57
|
-
declare const AssocListPopupConnected: import("react-redux").ConnectedComponent<React.FunctionComponent<IAssocListProps & IAssocListActions>, Pick<IAssocListProps & IAssocListActions, "className" | "footer" | "style" | "title" | "mask" | "size" | "prefixCls" | "width" | "widgetName" | "disablePagination" | "components" | "bodyStyle" | "transitionName" | "visible" | "widget" | "onOk" | "forceRender" | "confirmLoading" | "closable" | "afterClose" | "centered" | "okText" | "okType" | "cancelText" | "maskClosable" | "okButtonProps" | "cancelButtonProps" | "destroyOnClose" | "wrapClassName" | "maskTransitionName" | "getContainer" | "zIndex" | "maskStyle" | "keyboard" | "wrapProps" | "closeIcon" | "showed" | "onOkHandler" | "onCancelHandler" | "defaultOkText" | "defaultCancelText"> & IAssocListOwnProps>;
|
|
58
|
-
export default AssocListPopupConnected;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,35 +0,0 @@
|
|
|
1
|
-
import React, { FunctionComponent } from 'react';
|
|
2
|
-
import { Dispatch } from 'redux';
|
|
3
|
-
import { WidgetTableMeta } from '../../../interfaces/widget';
|
|
4
|
-
import { AssociatedItem } from '../../../interfaces/operation';
|
|
5
|
-
import { PendingDataItem } from '../../../interfaces/data';
|
|
6
|
-
export interface AssocTableOwnProps {
|
|
7
|
-
meta: WidgetTableMeta;
|
|
8
|
-
disablePagination?: boolean;
|
|
9
|
-
}
|
|
10
|
-
export interface AssocTableProps extends AssocTableOwnProps {
|
|
11
|
-
data: AssociatedItem[];
|
|
12
|
-
assocValueKey: string;
|
|
13
|
-
pendingChanges: Record<string, PendingDataItem>;
|
|
14
|
-
onSelect: (bcName: string, dataItem: AssociatedItem) => void;
|
|
15
|
-
onSelectAll: (bcName: string, cursors: string[], dataItems: PendingDataItem[]) => void;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
*
|
|
19
|
-
* @param props
|
|
20
|
-
* @category Components
|
|
21
|
-
*/
|
|
22
|
-
export declare const AssocTable: FunctionComponent<AssocTableProps>;
|
|
23
|
-
/**
|
|
24
|
-
*
|
|
25
|
-
* @param dispatch
|
|
26
|
-
*/
|
|
27
|
-
export declare function mapDispatchToProps(dispatch: Dispatch): {
|
|
28
|
-
onSelect: (bcName: string, dataItem: AssociatedItem) => void;
|
|
29
|
-
onSelectAll: (bcName: string, cursors: string[], dataItems: PendingDataItem[]) => void;
|
|
30
|
-
};
|
|
31
|
-
/**
|
|
32
|
-
* @category Components
|
|
33
|
-
*/
|
|
34
|
-
declare const ConnectedAssocTable: import("react-redux").ConnectedComponent<React.FunctionComponent<AssocTableProps>, Pick<AssocTableProps, "meta" | "disablePagination"> & AssocTableOwnProps>;
|
|
35
|
-
export default ConnectedAssocTable;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,53 +0,0 @@
|
|
|
1
|
-
import React, { ComponentType } from 'react';
|
|
2
|
-
import { ListChildComponentProps } from 'react-window';
|
|
3
|
-
import { WidgetTableMeta } from '../../../interfaces/widget';
|
|
4
|
-
import { TreeAssociatedRecord } from '../../../interfaces/tree';
|
|
5
|
-
import { DataItem } from '../../../interfaces/data';
|
|
6
|
-
/**
|
|
7
|
-
* Properties for `FlatTreePopup` widget
|
|
8
|
-
*/
|
|
9
|
-
interface FlatTreeProps {
|
|
10
|
-
/**
|
|
11
|
-
* Widget configuration
|
|
12
|
-
*/
|
|
13
|
-
meta: WidgetTableMeta;
|
|
14
|
-
/**
|
|
15
|
-
* Widget width, default is 808px
|
|
16
|
-
*/
|
|
17
|
-
width?: number;
|
|
18
|
-
/**
|
|
19
|
-
* Widget height, default is 375px
|
|
20
|
-
*/
|
|
21
|
-
height?: number;
|
|
22
|
-
/**
|
|
23
|
-
* Height of item in the list, default is 60px
|
|
24
|
-
*/
|
|
25
|
-
itemSize?: number;
|
|
26
|
-
/**
|
|
27
|
-
* Allow selecting multiple items
|
|
28
|
-
*/
|
|
29
|
-
multiple?: boolean;
|
|
30
|
-
/**
|
|
31
|
-
* Customization of items renderer
|
|
32
|
-
*/
|
|
33
|
-
children?: ComponentType<ListChildComponentProps>;
|
|
34
|
-
/**
|
|
35
|
-
* Callback to fire when item is selected
|
|
36
|
-
*/
|
|
37
|
-
onSelect?: ((selected: DataItem) => void) | ((record: TreeAssociatedRecord, selected: boolean) => void);
|
|
38
|
-
}
|
|
39
|
-
/**
|
|
40
|
-
* Widget dislaying tree-like data with items expandable into nested subtrees as
|
|
41
|
-
* flat virtualized list of items.
|
|
42
|
-
*
|
|
43
|
-
* Data must be presorted (every parent is followed by its descendants) for this widget.
|
|
44
|
-
*
|
|
45
|
-
* @param props Widget props
|
|
46
|
-
* @category Widgets
|
|
47
|
-
*/
|
|
48
|
-
export declare const FlatTree: React.FC<FlatTreeProps>;
|
|
49
|
-
/**
|
|
50
|
-
* @category Widgets
|
|
51
|
-
*/
|
|
52
|
-
declare const MemoizedFlatTree: React.NamedExoticComponent<FlatTreeProps>;
|
|
53
|
-
export default MemoizedFlatTree;
|
|
@@ -1,31 +0,0 @@
|
|
|
1
|
-
import React, { ComponentType } from 'react';
|
|
2
|
-
import { ListChildComponentProps } from 'react-window';
|
|
3
|
-
import { WidgetTableMeta } from '../../../interfaces/widget';
|
|
4
|
-
/**
|
|
5
|
-
* Properties for `FlatTreePopup` widget
|
|
6
|
-
*/
|
|
7
|
-
export interface FlatTreePopupProps {
|
|
8
|
-
/**
|
|
9
|
-
* Widget configuration
|
|
10
|
-
*/
|
|
11
|
-
meta: WidgetTableMeta;
|
|
12
|
-
/**
|
|
13
|
-
* Customization of items renderer
|
|
14
|
-
*/
|
|
15
|
-
children?: ComponentType<ListChildComponentProps>;
|
|
16
|
-
}
|
|
17
|
-
/**
|
|
18
|
-
* Popup widget dislaying tree-like data with items expandable into nested subtrees as
|
|
19
|
-
* flat virtualized list of items.
|
|
20
|
-
*
|
|
21
|
-
* Data must be presorted (every parent is followed by its descendants) for this widget.
|
|
22
|
-
*
|
|
23
|
-
* @param props Widget props
|
|
24
|
-
* @category Widgets
|
|
25
|
-
*/
|
|
26
|
-
export declare const FlatTreePopup: React.FC<FlatTreePopupProps>;
|
|
27
|
-
/**
|
|
28
|
-
* @category Widgets
|
|
29
|
-
*/
|
|
30
|
-
declare const MemoizedFlatTreePopup: React.NamedExoticComponent<FlatTreePopupProps>;
|
|
31
|
-
export default MemoizedFlatTreePopup;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,11 +0,0 @@
|
|
|
1
|
-
import { TreeAssociatedRecord } from '../../../interfaces/tree';
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* @param bcName
|
|
5
|
-
* @param hierarchyGroupSelection
|
|
6
|
-
* @param hierarchyGroupDeselection
|
|
7
|
-
* @param hierarchyRadioAll
|
|
8
|
-
* @param hierarchyRootRadio
|
|
9
|
-
* @category Hooks
|
|
10
|
-
*/
|
|
11
|
-
export declare function useMultipleSelect(bcName: string, hierarchyGroupSelection: boolean, hierarchyGroupDeselection: boolean, hierarchyRadioAll: boolean, hierarchyRootRadio: boolean): (record: TreeAssociatedRecord, selected: boolean) => void;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { DataItem, PickMap } from '../../../interfaces/data';
|
|
2
|
-
/**
|
|
3
|
-
*
|
|
4
|
-
* @param pickListDescriptor
|
|
5
|
-
* @param bcName
|
|
6
|
-
* @param parentCursor
|
|
7
|
-
* @param parentBcName
|
|
8
|
-
* @category Hooks
|
|
9
|
-
*/
|
|
10
|
-
export declare function useSingleSelect(pickListDescriptor: PickMap, bcName: string, parentCursor: string, parentBcName: string): (selected: DataItem) => void;
|
|
@@ -1,23 +0,0 @@
|
|
|
1
|
-
import React, { FunctionComponent } from 'react';
|
|
2
|
-
import { WidgetFormMeta } from '../../../interfaces/widget';
|
|
3
|
-
import { RowMetaField } from '../../../interfaces/rowMeta';
|
|
4
|
-
interface FormWidgetOwnProps {
|
|
5
|
-
meta: WidgetFormMeta;
|
|
6
|
-
}
|
|
7
|
-
interface FormWidgetProps extends FormWidgetOwnProps {
|
|
8
|
-
cursor: string;
|
|
9
|
-
fields: RowMetaField[];
|
|
10
|
-
metaErrors: Record<string, string>;
|
|
11
|
-
missingFields: Record<string, string>;
|
|
12
|
-
}
|
|
13
|
-
/**
|
|
14
|
-
*
|
|
15
|
-
* @param props
|
|
16
|
-
* @category Widgets
|
|
17
|
-
*/
|
|
18
|
-
export declare const FormWidget: FunctionComponent<FormWidgetProps>;
|
|
19
|
-
/**
|
|
20
|
-
* @category Widgets
|
|
21
|
-
*/
|
|
22
|
-
declare const ConnectedFormWidget: import("react-redux").ConnectedComponent<React.FunctionComponent<FormWidgetProps>, Pick<FormWidgetProps, "meta"> & FormWidgetOwnProps>;
|
|
23
|
-
export default ConnectedFormWidget;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { WidgetInfoMeta } from '../../../interfaces/widget';
|
|
3
|
-
import { DataItem } from '../../../interfaces/data';
|
|
4
|
-
import { RowMetaField } from '../../../interfaces/rowMeta';
|
|
5
|
-
interface InfoWidgetOwnProps {
|
|
6
|
-
meta: WidgetInfoMeta;
|
|
7
|
-
containerStyle?: string;
|
|
8
|
-
}
|
|
9
|
-
interface InfoWidgetProps extends InfoWidgetOwnProps {
|
|
10
|
-
cursor: string;
|
|
11
|
-
data: DataItem;
|
|
12
|
-
fields: RowMetaField[];
|
|
13
|
-
onDrillDown: (widgetName: string, cursor: string, bcName: string, fieldKey: string) => void;
|
|
14
|
-
}
|
|
15
|
-
/**
|
|
16
|
-
* @category Widgets
|
|
17
|
-
*/
|
|
18
|
-
declare const ConnectedInfoWidget: import("react-redux").ConnectedComponent<React.FunctionComponent<InfoWidgetProps>, Pick<InfoWidgetProps, "meta" | "containerStyle"> & InfoWidgetOwnProps>;
|
|
19
|
-
export default ConnectedInfoWidget;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { DataItem } from '../../../../interfaces/data';
|
|
3
|
-
import { LayoutCol, LayoutRow, WidgetInfoField, WidgetInfoMeta } from '../../../../interfaces/widget';
|
|
4
|
-
export interface ValueCellProps {
|
|
5
|
-
row: LayoutRow;
|
|
6
|
-
col: LayoutCol;
|
|
7
|
-
cursor: string;
|
|
8
|
-
meta: WidgetInfoMeta;
|
|
9
|
-
data: DataItem;
|
|
10
|
-
flattenWidgetFields: WidgetInfoField[];
|
|
11
|
-
onDrillDown: (widgetName: string, cursor: string, bcName: string, fieldKey: string) => void;
|
|
12
|
-
}
|
|
13
|
-
export declare const InfoCell: React.FunctionComponent<ValueCellProps>;
|
|
14
|
-
declare const _default: React.NamedExoticComponent<ValueCellProps>;
|
|
15
|
-
export default _default;
|
|
@@ -1,16 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { LayoutRow, WidgetInfoField, WidgetInfoMeta } from '../../../../interfaces/widget';
|
|
3
|
-
import { DataItem } from '../../../../interfaces/data';
|
|
4
|
-
import { RowMetaField } from '../../../../interfaces/rowMeta';
|
|
5
|
-
export interface InfoRowProps {
|
|
6
|
-
meta: WidgetInfoMeta;
|
|
7
|
-
data: DataItem;
|
|
8
|
-
flattenWidgetFields: WidgetInfoField[];
|
|
9
|
-
fields: RowMetaField[];
|
|
10
|
-
onDrillDown: (widgetName: string, cursor: string, bcName: string, fieldKey: string) => void;
|
|
11
|
-
row: LayoutRow;
|
|
12
|
-
cursor: string;
|
|
13
|
-
index: number;
|
|
14
|
-
}
|
|
15
|
-
declare const _default: React.NamedExoticComponent<InfoRowProps>;
|
|
16
|
-
export default _default;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import React, { ReactNode } from 'react';
|
|
2
|
-
import { LayoutCol, LayoutRow } from '../../../../interfaces/widget';
|
|
3
|
-
interface ValueWrapperProps {
|
|
4
|
-
row: LayoutRow;
|
|
5
|
-
col: LayoutCol;
|
|
6
|
-
children?: ReactNode;
|
|
7
|
-
}
|
|
8
|
-
export declare const InfoValueWrapper: React.FunctionComponent<ValueWrapperProps>;
|
|
9
|
-
declare const _default: React.NamedExoticComponent<ValueWrapperProps>;
|
|
10
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,8 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { NavigationWidgetMeta } from '../../../interfaces/widget';
|
|
3
|
-
export interface NavigationTabsWidgetProps {
|
|
4
|
-
meta: NavigationWidgetMeta;
|
|
5
|
-
}
|
|
6
|
-
declare function NavigationTabsWidget({ meta }: NavigationTabsWidgetProps): JSX.Element;
|
|
7
|
-
declare const _default: React.MemoExoticComponent<typeof NavigationTabsWidget>;
|
|
8
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,43 +0,0 @@
|
|
|
1
|
-
import React, { FunctionComponent } from 'react';
|
|
2
|
-
import { WidgetTableMeta } from '../../../interfaces/widget';
|
|
3
|
-
import { PopupProps } from '../../ui/Popup/Popup';
|
|
4
|
-
import { DataItem, PickMap } from '../../../interfaces/data';
|
|
5
|
-
import { ChangeDataItemPayload } from '../../Field/Field';
|
|
6
|
-
import { RowMetaField } from '../../../interfaces/rowMeta';
|
|
7
|
-
export interface PickListPopupActions {
|
|
8
|
-
onChange: (payload: ChangeDataItemPayload) => void;
|
|
9
|
-
onClose: () => void;
|
|
10
|
-
}
|
|
11
|
-
export interface PickListPopupOwnProps extends Omit<PopupProps, 'bcName' | 'children' | 'showed'> {
|
|
12
|
-
widget: WidgetTableMeta;
|
|
13
|
-
className?: string;
|
|
14
|
-
components?: {
|
|
15
|
-
title?: React.ReactNode;
|
|
16
|
-
table?: React.ReactNode;
|
|
17
|
-
footer?: React.ReactNode;
|
|
18
|
-
};
|
|
19
|
-
disableScroll?: boolean;
|
|
20
|
-
}
|
|
21
|
-
export interface PickListPopupProps extends PickListPopupOwnProps {
|
|
22
|
-
/**
|
|
23
|
-
* @deprecated TODO: Remove in 2.0.0, now handled by Widget.tsx
|
|
24
|
-
*/
|
|
25
|
-
showed?: boolean;
|
|
26
|
-
data: DataItem[];
|
|
27
|
-
pickMap: PickMap;
|
|
28
|
-
cursor: string;
|
|
29
|
-
parentBCName: string;
|
|
30
|
-
bcLoading: boolean;
|
|
31
|
-
rowMetaFields: RowMetaField[];
|
|
32
|
-
}
|
|
33
|
-
/**
|
|
34
|
-
*
|
|
35
|
-
* @param props
|
|
36
|
-
* @category Widgets
|
|
37
|
-
*/
|
|
38
|
-
export declare const PickListPopup: FunctionComponent<PickListPopupProps & PickListPopupActions>;
|
|
39
|
-
/**
|
|
40
|
-
* @category Widgets
|
|
41
|
-
*/
|
|
42
|
-
declare const PickListPopupConnected: import("react-redux").ConnectedComponent<React.FunctionComponent<PickListPopupProps & PickListPopupActions>, Pick<PickListPopupProps & PickListPopupActions, "className" | "footer" | "style" | "title" | "mask" | "size" | "prefixCls" | "width" | "widgetName" | "disablePagination" | "components" | "bodyStyle" | "transitionName" | "visible" | "widget" | "onCancel" | "onOk" | "forceRender" | "confirmLoading" | "closable" | "afterClose" | "centered" | "okText" | "okType" | "cancelText" | "maskClosable" | "okButtonProps" | "cancelButtonProps" | "destroyOnClose" | "wrapClassName" | "maskTransitionName" | "getContainer" | "zIndex" | "maskStyle" | "keyboard" | "wrapProps" | "closeIcon" | "showed" | "onOkHandler" | "onCancelHandler" | "defaultOkText" | "defaultCancelText" | "disableScroll"> & PickListPopupOwnProps>;
|
|
43
|
-
export default PickListPopupConnected;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,88 +0,0 @@
|
|
|
1
|
-
import React, { FunctionComponent } from 'react';
|
|
2
|
-
import { ColumnProps, TableProps, TableRowSelection } from 'antd/es/table';
|
|
3
|
-
import { PaginationMode, WidgetListField, WidgetTableMeta } from '../../../interfaces/widget';
|
|
4
|
-
import { RowMetaField } from '../../../interfaces/rowMeta';
|
|
5
|
-
import { DataItem, PendingDataItem } from '../../../interfaces/data';
|
|
6
|
-
import { ViewSelectedCell } from '../../../interfaces/view';
|
|
7
|
-
import { Route } from '../../../interfaces/router';
|
|
8
|
-
import { Operation, OperationGroup } from '../../../interfaces/operation';
|
|
9
|
-
import { BcFilter, FilterGroup } from '../../../interfaces/filters';
|
|
10
|
-
declare type AdditionalAntdTableProps = Partial<Omit<TableProps<DataItem>, 'rowSelection'>>;
|
|
11
|
-
export interface TableWidgetOwnProps extends AdditionalAntdTableProps {
|
|
12
|
-
columnTitleComponent?: (options?: {
|
|
13
|
-
widgetName: string;
|
|
14
|
-
widgetMeta: WidgetListField;
|
|
15
|
-
rowMeta: RowMetaField;
|
|
16
|
-
}) => React.ReactNode;
|
|
17
|
-
meta: WidgetTableMeta;
|
|
18
|
-
rowSelection?: TableRowSelection<DataItem>;
|
|
19
|
-
showRowActions?: boolean;
|
|
20
|
-
allowEdit?: boolean;
|
|
21
|
-
paginationMode?: PaginationMode;
|
|
22
|
-
disablePagination?: boolean;
|
|
23
|
-
disableDots?: boolean;
|
|
24
|
-
controlColumns?: Array<{
|
|
25
|
-
column: ColumnProps<DataItem>;
|
|
26
|
-
position: 'left' | 'right';
|
|
27
|
-
}>;
|
|
28
|
-
header?: React.ReactNode;
|
|
29
|
-
}
|
|
30
|
-
export interface TableWidgetProps extends TableWidgetOwnProps {
|
|
31
|
-
data: DataItem[];
|
|
32
|
-
rowMetaFields: RowMetaField[];
|
|
33
|
-
limitBySelf: boolean;
|
|
34
|
-
/**
|
|
35
|
-
* @deprecated TODO: Remove in 2.0 in favor of `widgetName`
|
|
36
|
-
*/
|
|
37
|
-
bcName?: string;
|
|
38
|
-
widgetName?: string;
|
|
39
|
-
/**
|
|
40
|
-
* @deprecated TODO: Remove 2.0 as it is accessible from the store
|
|
41
|
-
*/
|
|
42
|
-
route?: Route;
|
|
43
|
-
cursor: string;
|
|
44
|
-
selectedCell: ViewSelectedCell;
|
|
45
|
-
/**
|
|
46
|
-
* @deprecated TODO: Remove 2.0 as it is never used
|
|
47
|
-
*/
|
|
48
|
-
pendingDataItem?: PendingDataItem;
|
|
49
|
-
hasNext: boolean;
|
|
50
|
-
/**
|
|
51
|
-
* @deprecated TODO: Remove in 2.0.0 as it's moved to RowOperationsMenu
|
|
52
|
-
*/
|
|
53
|
-
operations?: Array<Operation | OperationGroup>;
|
|
54
|
-
/**
|
|
55
|
-
* @deprecated TODO: Remove in 2.0.0 as it's moved to RowOperationsMenu
|
|
56
|
-
*/
|
|
57
|
-
metaInProgress?: boolean;
|
|
58
|
-
filters: BcFilter[];
|
|
59
|
-
filterGroups: FilterGroup[];
|
|
60
|
-
/**
|
|
61
|
-
* @deprecated TODO: Remove 2.0 as it is never used
|
|
62
|
-
*/
|
|
63
|
-
onDrillDown?: (widgetName: string, bcName: string, cursor: string, fieldKey: string) => void;
|
|
64
|
-
onShowAll: (bcName: string, cursor: string, route: Route, widgetName: string) => void;
|
|
65
|
-
/**
|
|
66
|
-
* @deprecated TODO: Remove in 2.0.0 as it's move to RowOperationsMenu
|
|
67
|
-
*/
|
|
68
|
-
onOperationClick?: (bcName: string, operationType: string, widgetName: string) => void;
|
|
69
|
-
/**
|
|
70
|
-
* @deprecated TODO: At the moment not used but might be useful when introducing table select
|
|
71
|
-
*/
|
|
72
|
-
onSelectRow?: (bcName: string, cursor: string) => void;
|
|
73
|
-
onSelectCell: (cursor: string, widgetName: string, fieldKey: string) => void;
|
|
74
|
-
onRemoveFilters: (bcName: string) => void;
|
|
75
|
-
onApplyFilter: (bcName: string, filter: BcFilter, widgetName?: string) => void;
|
|
76
|
-
onForceUpdate: (bcName: string) => void;
|
|
77
|
-
}
|
|
78
|
-
/**
|
|
79
|
-
*
|
|
80
|
-
* @param props
|
|
81
|
-
* @category Widgets
|
|
82
|
-
*/
|
|
83
|
-
export declare const TableWidget: FunctionComponent<TableWidgetProps>;
|
|
84
|
-
/**
|
|
85
|
-
* @category Widgets
|
|
86
|
-
*/
|
|
87
|
-
declare const ConnectedTable: import("react-redux").ConnectedComponent<React.FunctionComponent<TableWidgetProps>, Pick<TableWidgetProps, "className" | "footer" | "header" | "meta" | "style" | "title" | "children" | "size" | "prefixCls" | "onChange" | "widgetName" | "loading" | "disablePagination" | "rowSelection" | "dropdownPrefixCls" | "pagination" | "dataSource" | "components" | "columns" | "rowKey" | "rowClassName" | "expandedRowRender" | "defaultExpandAllRows" | "defaultExpandedRowKeys" | "expandedRowKeys" | "expandIcon" | "expandIconAsCell" | "expandIconColumnIndex" | "expandRowByClick" | "onExpandedRowsChange" | "onExpand" | "locale" | "indentSize" | "onRowClick" | "onRow" | "onHeaderRow" | "useFixedHeader" | "bordered" | "showHeader" | "scroll" | "childrenColumnName" | "bodyStyle" | "tableLayout" | "sortDirections" | "getPopupContainer" | "operations" | "metaInProgress" | "onOperationClick" | "onSelectRow" | "columnTitleComponent" | "showRowActions" | "allowEdit" | "paginationMode" | "disableDots" | "controlColumns"> & TableWidgetOwnProps>;
|
|
88
|
-
export default ConnectedTable;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { WidgetTextMeta } from '../../../interfaces/widget';
|
|
3
|
-
interface TextWidgetOwnProps {
|
|
4
|
-
meta: WidgetTextMeta;
|
|
5
|
-
}
|
|
6
|
-
/**
|
|
7
|
-
*
|
|
8
|
-
* @param props
|
|
9
|
-
* @category Widgets
|
|
10
|
-
*/
|
|
11
|
-
declare const TextWidget: React.FunctionComponent<TextWidgetOwnProps>;
|
|
12
|
-
/**
|
|
13
|
-
* @category Widgets
|
|
14
|
-
*/
|
|
15
|
-
export default TextWidget;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import React from 'react';
|
|
2
|
-
import { NavigationTabsWidgetProps } from '../NavigationTabsWidget/NavigationTabsWidget';
|
|
3
|
-
export declare type ViewNavigationWidgetProps = NavigationTabsWidgetProps;
|
|
4
|
-
declare function ViewNavigationWidget(props: ViewNavigationWidgetProps): JSX.Element;
|
|
5
|
-
declare const _default: React.MemoExoticComponent<typeof ViewNavigationWidget>;
|
|
6
|
-
export default _default;
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export {};
|