@cxbox-ui/core 1.37.2-alpha.8 → 1.37.2
This diff represents the content of publicly available package versions that have been released to one of the supported registries. The information contained in this diff is provided for informational purposes only and reflects changes between package versions as they appear in their respective public registries.
- package/CONTRIBUTING.md +124 -0
- package/Provider.d.ts +63 -0
- package/actions/actions-utils.d.ts +48 -0
- package/actions/actions.d.ts +1144 -0
- package/actions/index.d.ts +2 -0
- package/api/api.d.ts +148 -0
- package/api/index.d.ts +1 -0
- package/assets/i18n/__tests__/getTextAssets.d.ts +1 -0
- package/assets/i18n/index.d.ts +25 -0
- package/components/ColumnTitle/ColumnFilter.d.ts +47 -0
- package/components/ColumnTitle/ColumnSort.d.ts +26 -0
- package/components/ColumnTitle/ColumnTitle.d.ts +31 -0
- package/components/ColumnTitle/__tests__/ColumnFilter.test.d.ts +1 -0
- package/components/ColumnTitle/__tests__/ColumnSort.test.d.ts +1 -0
- package/components/ColumnTitle/__tests__/ColumnTitle.test.d.ts +1 -0
- package/components/DebugPanel/DebugPanel.d.ts +7 -0
- package/components/DebugPanel/__tests__/DebugPanel.test.d.ts +1 -0
- package/components/DebugPanel/components/FormattedJSON.d.ts +6 -0
- package/components/DebugPanel/components/InfoLabel.d.ts +7 -0
- package/components/DebugPanel/components/ViewInfoLabel.d.ts +3 -0
- package/components/DebugPanel/components/WidgetInfoLabel.d.ts +5 -0
- package/components/DebugPanel/components/__tests__/FormattedJSON.test.d.ts +1 -0
- package/components/DebugPanel/components/__tests__/InfoLabel.test.d.ts +1 -0
- package/components/DebugPanel/components/__tests__/ViewInfoLabel.test.d.ts +1 -0
- package/components/DebugPanel/components/__tests__/WidgetInfoLabel.test.d.ts +1 -0
- package/components/DevToolsPanel/DevToolsPanel.d.ts +10 -0
- package/components/DevToolsPanel/DevToolsPanel.test.d.ts +1 -0
- package/components/DevToolsPanel/components/DebugModeButton.d.ts +9 -0
- package/components/DevToolsPanel/components/RefreshMetaButton.d.ts +9 -0
- package/components/DevToolsPanel/components/__tests__/DebugModeButton.test.d.ts +1 -0
- package/components/DevToolsPanel/components/__tests__/RefreshMetaButton.test.d.ts +1 -0
- package/components/Field/Field.d.ts +72 -0
- package/components/Field/Field.test.d.ts +1 -0
- package/components/FileUpload/FileUpload.d.ts +32 -0
- package/components/FileUploadPopup/FileUploadPopup.d.ts +10 -0
- package/components/FilterPopup/FilterPopup.d.ts +26 -0
- package/components/FilterPopup/FilterPopup.test.d.ts +1 -0
- package/components/FullHierarchyTable/FullHierarchyTable.d.ts +52 -0
- package/components/FullHierarchyTable/FullHierarchyTable.test.d.ts +1 -0
- package/components/FullHierarchyTable/utils/hierarchySearchCache.d.ts +37 -0
- package/components/FullHierarchyTable/utils/hierarchySearchCache.test.d.ts +1 -0
- package/components/FullHierarchyTable/utils/useExpandedKeys.d.ts +19 -0
- package/components/FullHierarchyTable/utils/useHierarchyCache.d.ts +12 -0
- package/components/HierarchyTable/HierarchyTable.d.ts +48 -0
- package/components/HierarchyTable/HierarchyTable.test.d.ts +1 -0
- package/components/InlinePickList/InlinePickList.d.ts +23 -0
- package/components/ModalInvoke/ModalInvoke.d.ts +18 -0
- package/components/ModalInvoke/ModalInvoke.test.d.ts +1 -0
- package/components/Multivalue/MultiValueListRecord.d.ts +15 -0
- package/components/Multivalue/MultivalueField.d.ts +31 -0
- package/components/Multivalue/MultivalueField.test.d.ts +1 -0
- package/components/PickListField/PickListField.d.ts +25 -0
- package/components/RowOperations/RowOperationsButton.d.ts +42 -0
- package/components/RowOperations/RowOperationsMenu.d.ts +29 -0
- package/components/RowOperations/__tests__/RowOperationsButton.test.d.ts +1 -0
- package/components/RowOperations/__tests__/RowOperationsMenu.test.d.ts +1 -0
- package/components/SameBcHierarchyTable/SameBcHierarchyTable.d.ts +41 -0
- package/components/TemplatedTitle/TemplatedTitle.d.ts +20 -0
- package/components/View/View.d.ts +27 -0
- package/components/View/__tests__/View.test.d.ts +1 -0
- package/components/Widget/Widget.d.ts +29 -0
- package/components/Widget/Widget.test.d.ts +1 -0
- package/components/WidgetErrorBoundary/WidgetErrorBoundary.d.ts +20 -0
- package/components/WidgetErrorBoundary/WidgetErrorBoundary.test.d.ts +1 -0
- package/components/WidgetErrorBoundary/components/RefreshButton.d.ts +4 -0
- package/components/WidgetErrorBoundary/components/RefreshButton.test.d.ts +1 -0
- package/components/index.d.ts +44 -0
- package/components/ui/ActionLink/ActionLink.d.ts +11 -0
- package/components/ui/CheckboxFilter/CheckboxFilter.d.ts +21 -0
- package/components/ui/CheckboxFilter/CheckboxFilter.test.d.ts +1 -0
- package/components/ui/CheckboxPicker/CheckboxPicker.d.ts +21 -0
- package/components/ui/CopyableText/CopyableText.d.ts +7 -0
- package/components/ui/CopyableText/__tests__/CopyableText.test.d.ts +1 -0
- package/components/ui/DashboardLayout/DashboardLayout.d.ts +22 -0
- package/components/ui/DashboardLayout/__tests__/DashboardLayout.test.d.ts +1 -0
- package/components/ui/DatePickerField/DatePickerField.d.ts +25 -0
- package/components/ui/Dictionary/Dictionary.d.ts +30 -0
- package/components/ui/Dictionary/Dictionary.test.d.ts +1 -0
- package/components/ui/ErrorPopup/ErrorPopup.d.ts +18 -0
- package/components/ui/ErrorPopup/ErrorPopup.test.d.ts +1 -0
- package/components/ui/FilterField/FilterField.d.ts +25 -0
- package/components/ui/FilterField/FilterField.test.d.ts +1 -0
- package/components/ui/FilterField/components/RangePicker.d.ts +11 -0
- package/components/ui/FilterField/components/RangePicker.test.d.ts +1 -0
- package/components/ui/HistoryField/HistoryField.d.ts +15 -0
- package/components/ui/InteractiveInput/InteractiveInput.d.ts +28 -0
- package/components/ui/Link/Link.d.ts +13 -0
- package/components/ui/MultiField/MultiField.d.ts +16 -0
- package/components/ui/Multivalue/MultivalueHover.d.ts +15 -0
- package/components/ui/Multivalue/MultivalueList.d.ts +17 -0
- package/components/ui/Multivalue/MultivalueTag.d.ts +24 -0
- package/components/ui/NavigationTabs/NavigationTabs.d.ts +7 -0
- package/components/ui/NavigationTabs/NavigationTabs.test.d.ts +1 -0
- package/components/ui/NumberInput/NumberInput.d.ts +17 -0
- package/components/ui/NumberInput/NumberInput.test.d.ts +1 -0
- package/components/ui/NumberInput/formaters.d.ts +31 -0
- package/components/ui/Pagination/Pagination.d.ts +51 -0
- package/components/ui/Pagination/Pagination.test.d.ts +1 -0
- package/components/ui/PickInput/PickInput.d.ts +15 -0
- package/components/ui/Popup/Popup.d.ts +29 -0
- package/components/ui/Popup/Popup.test.d.ts +1 -0
- package/components/ui/Popup/PopupFooter.d.ts +16 -0
- package/components/ui/RadioButton/RadioButton.d.ts +16 -0
- package/components/ui/RadioButton/RadioButton.test.d.ts +1 -0
- package/components/ui/ReadOnlyField/ReadOnlyField.d.ts +22 -0
- package/components/ui/SearchHightlight/SearchHightlight.d.ts +20 -0
- package/components/ui/Select/Select.d.ts +26 -0
- package/components/ui/TextArea/TextArea.d.ts +24 -0
- package/components/ui/TextArea/TextArea.test.d.ts +1 -0
- package/components/ui/TreeVirtualized/TreeVirtualized.d.ts +63 -0
- package/components/ui/TreeVirtualized/TreeVirtualizedNode.d.ts +67 -0
- package/components/ui/TreeVirtualized/__tests__/TreeVirtualized.test.d.ts +1 -0
- package/components/ui/TreeVirtualized/__tests__/TreeVirtualizedNode.test.d.ts +1 -0
- package/components/ui/TreeVirtualized/__tests__/useMatchingNodes.test.d.ts +1 -0
- package/components/ui/TreeVirtualized/__tests__/useSearchResult.test.d.ts +1 -0
- package/components/ui/TreeVirtualized/useMatchingNodes.d.ts +23 -0
- package/components/ui/TreeVirtualized/useSearchResult.d.ts +27 -0
- package/components/widgets/AssocListPopup/AssocListPopup.d.ts +58 -0
- package/components/widgets/AssocListPopup/AssocListPopup.test.d.ts +1 -0
- package/components/widgets/AssocListPopup/AssocTable.d.ts +35 -0
- package/components/widgets/AssocListPopup/AssocTable.test.d.ts +1 -0
- package/components/widgets/FlatTree/FlatTree.d.ts +53 -0
- package/components/widgets/FlatTree/FlatTreePopup.d.ts +31 -0
- package/components/widgets/FlatTree/__tests__/FlatTree.test.d.ts +1 -0
- package/components/widgets/FlatTree/__tests__/FlatTreePopup.test.d.ts +1 -0
- package/components/widgets/FlatTree/useMultipleSelect.d.ts +11 -0
- package/components/widgets/FlatTree/useSingleSelect.d.ts +10 -0
- package/components/widgets/FormWidget/FormWidget.d.ts +23 -0
- package/components/widgets/FormWidget/FormWidget.test.d.ts +1 -0
- package/components/widgets/InfoWidget/InfoWidget.d.ts +19 -0
- package/components/widgets/InfoWidget/__test__/InfoWidget.test.d.ts +1 -0
- package/components/widgets/InfoWidget/components/InfoCell.d.ts +15 -0
- package/components/widgets/InfoWidget/components/InfoRow.d.ts +16 -0
- package/components/widgets/InfoWidget/components/InfoValueWrapper.d.ts +10 -0
- package/components/widgets/InfoWidget/components/__tests__/InfoCell.test.d.ts +1 -0
- package/components/widgets/InfoWidget/components/__tests__/InfoRow.test.d.ts +1 -0
- package/components/widgets/InfoWidget/components/__tests__/InfoValueWrapper.test.d.ts +1 -0
- package/components/widgets/NavigationTabsWidget/NavigationTabsWidget.d.ts +8 -0
- package/components/widgets/NavigationTabsWidget/NavigationTabsWidget.test.d.ts +1 -0
- package/components/widgets/PickListPopup/PickListPopup.d.ts +43 -0
- package/components/widgets/PickListPopup/PickListPopup.test.d.ts +1 -0
- package/components/widgets/TableWidget/TableWidget.d.ts +88 -0
- package/components/widgets/TableWidget/TableWidget.test.d.ts +1 -0
- package/components/widgets/TextWidget/TextWidget.d.ts +15 -0
- package/components/widgets/TextWidget/TextWidget.test.d.ts +1 -0
- package/components/widgets/ViewNavigationWidget/ViewNavigationWidget.d.ts +6 -0
- package/components/widgets/ViewNavigationWidget/ViewNavigationWidget.test.d.ts +1 -0
- package/components/widgets/index.d.ts +4 -0
- package/cxbox-ui-core.js +148 -0
- package/cxbox-ui-core.js.map +1 -0
- package/epics/data/__tests__/bcCancelCreateDataEpic.test.d.ts +1 -0
- package/epics/data/__tests__/bcFetchData.test.d.ts +1 -0
- package/epics/data/__tests__/bcFetchRowMetaRequest.test.d.ts +1 -0
- package/epics/data/__tests__/bcNewDataEpic.test.d.ts +1 -0
- package/epics/data/__tests__/bcSaveData.test.d.ts +1 -0
- package/epics/data/__tests__/bcSelectDepthRecord.test.d.ts +1 -0
- package/epics/data/__tests__/removeMultivalueTag.test.d.ts +1 -0
- package/epics/data/__tests__/saveAssociationsActive.test.d.ts +1 -0
- package/epics/data/__tests__/selectView.test.d.ts +1 -0
- package/epics/data/bcCancelCreateDataEpic.d.ts +28 -0
- package/epics/data/bcFetchData.d.ts +21 -0
- package/epics/data/bcFetchRowMetaRequest.d.ts +50 -0
- package/epics/data/bcNewDataEpic.d.ts +37 -0
- package/epics/data/bcSaveData.d.ts +58 -0
- package/epics/data/bcSelectDepthRecord.d.ts +21 -0
- package/epics/data/removeMultivalueTag.d.ts +45 -0
- package/{dist/epics/data/saveAssociationsActiveEpic.d.ts → epics/data/saveAssociationsActive.d.ts} +2 -2
- package/epics/data/selectView.d.ts +36 -0
- package/epics/data.d.ts +105 -0
- package/epics/index.d.ts +74 -0
- package/epics/router/__tests__/changeLocation.test.d.ts +1 -0
- package/epics/router/__tests__/drilldown.test.d.ts +1 -0
- package/epics/router/__tests__/handleRouter.test.d.ts +1 -0
- package/epics/router/__tests__/loginDone.test.d.ts +1 -0
- package/epics/router/__tests__/selectScreen.test.d.ts +1 -0
- package/epics/router/__tests__/selectScreenFail.test.d.ts +1 -0
- package/epics/router/__tests__/selectView.test.d.ts +1 -0
- package/epics/router/__tests__/selectViewFail.test.d.ts +1 -0
- package/epics/router/__tests__/userDrillDown.test.d.ts +1 -0
- package/{dist/epics/router/changeLocationEpic.d.ts → epics/router/changeLocation.d.ts} +3 -2
- package/epics/router/drilldown.d.ts +12 -0
- package/epics/router/handleRouter.d.ts +17 -0
- package/epics/router/loginDone.d.ts +20 -0
- package/epics/router/selectScreen.d.ts +19 -0
- package/epics/router/selectScreenFail.d.ts +17 -0
- package/epics/router/selectView.d.ts +19 -0
- package/epics/router/selectViewFail.d.ts +17 -0
- package/epics/router/userDrillDown.d.ts +29 -0
- package/epics/router.d.ts +11 -0
- package/epics/screen/__tests__/apiError.test.d.ts +1 -0
- package/epics/screen/__tests__/httpError401.test.d.ts +1 -0
- package/epics/screen/__tests__/httpError409.test.d.ts +1 -0
- package/epics/screen/__tests__/httpError418.test.d.ts +1 -0
- package/epics/screen/__tests__/httpError500.test.d.ts +1 -0
- package/epics/screen/__tests__/httpErrorDefault.test.d.ts +1 -0
- package/epics/screen/apiError.d.ts +13 -0
- package/epics/screen/httpError401.d.ts +12 -0
- package/epics/screen/httpError409.d.ts +12 -0
- package/epics/screen/httpError418.d.ts +12 -0
- package/epics/screen/httpError500.d.ts +12 -0
- package/epics/screen/httpErrorDefault.d.ts +14 -0
- package/epics/screen/processPostInvoke.d.ts +12 -0
- package/epics/screen.d.ts +35 -0
- package/epics/session/__tests__/loginByAnotherRoleEpic.test.d.ts +1 -0
- package/epics/session/__tests__/loginDone.test.d.ts +1 -0
- package/epics/session/__tests__/refreshMeta.test.d.ts +1 -0
- package/epics/session/__tests__/refreshMetaAndReloadPage.test.d.ts +1 -0
- package/epics/session/__tests__/switchRole.test.d.ts +1 -0
- package/epics/session/loginByAnotherRole.d.ts +27 -0
- package/epics/session/loginDone.d.ts +10 -0
- package/epics/session/refreshMeta.d.ts +9 -0
- package/epics/session/refreshMetaAndReloadPage.d.ts +2 -0
- package/epics/session/switchRole.d.ts +9 -0
- package/epics/session.d.ts +7 -0
- package/epics/utils.d.ts +4 -0
- package/epics/view/__tests__/fileUploadConfirm.test.d.ts +1 -0
- package/epics/view/__tests__/sendOperation.test.d.ts +1 -0
- package/epics/view/__tests__/sendOperationAssociate.test.d.ts +1 -0
- package/epics/view/__tests__/showAssocPopup.test.d.ts +1 -0
- package/epics/view/__tests__/showFileUploadPopup.test.d.ts +1 -0
- package/epics/view/fileUploadConfirm.d.ts +31 -0
- package/epics/view/sendOperation.d.ts +24 -0
- package/epics/view/sendOperationAssociate.d.ts +34 -0
- package/epics/view/showAssocPopup.d.ts +12 -0
- package/epics/view/showFileUploadPopup.d.ts +19 -0
- package/epics/view.d.ts +57 -0
- package/hooks/__tests__/useRowMenu.test.d.ts +1 -0
- package/hooks/__tests__/useViewTabs.test.d.ts +1 -0
- package/hooks/__tests__/useWidgetOperations.test.d.ts +1 -0
- package/hooks/index.d.ts +7 -0
- package/hooks/useAssocRecords.d.ts +11 -0
- package/hooks/useDebounce.d.ts +8 -0
- package/hooks/useDrillDownUrl.d.ts +10 -0
- package/hooks/useFlatFormFields.d.ts +9 -0
- package/hooks/useRowMenu.d.ts +42 -0
- package/hooks/useViewTabs.d.ts +13 -0
- package/hooks/useWidgetFilter.d.ts +15 -0
- package/hooks/useWidgetOperations.d.ts +34 -0
- package/imports/i18n.d.ts +8 -0
- package/imports/rxjs.d.ts +19 -0
- package/imports/shim.d.ts +6 -0
- package/index.d.ts +135 -0
- package/{dist/interfaces → interfaces}/bc.d.ts +6 -7
- package/interfaces/customEpics.d.ts +55 -0
- package/{dist/interfaces → interfaces}/customMiddlewares.d.ts +5 -5
- package/{dist/interfaces → interfaces}/data.d.ts +4 -4
- package/interfaces/filters.js +2 -0
- package/interfaces/filters.js.map +1 -0
- package/interfaces/index.d.ts +22 -0
- package/{dist/interfaces → interfaces}/navigation.d.ts +2 -2
- package/{dist/interfaces → interfaces}/objectMap.d.ts +2 -3
- package/interfaces/objectMap.js +2 -0
- package/interfaces/objectMap.js.map +1 -0
- package/{dist/interfaces → interfaces}/operation.d.ts +6 -7
- package/interfaces/operation.js +2 -0
- package/interfaces/operation.js.map +1 -0
- package/interfaces/router.js +2 -0
- package/interfaces/router.js.map +1 -0
- package/{dist/interfaces → interfaces}/session.d.ts +0 -19
- package/interfaces/store.d.ts +56 -0
- package/{dist/interfaces → interfaces}/tree.d.ts +4 -4
- package/{dist/interfaces → interfaces}/view.d.ts +5 -5
- package/interfaces/view.js +2 -0
- package/interfaces/view.js.map +1 -0
- package/{dist/interfaces → interfaces}/widget.d.ts +11 -12
- package/interfaces/widget.js +2 -0
- package/interfaces/widget.js.map +1 -0
- package/middlewares/__tests__/autosaveMiddleware.test.d.ts +1 -0
- package/middlewares/__tests__/preInvokeMiddleware.test.d.ts +1 -0
- package/middlewares/__tests__/requiredFieldsMiddleware.test.d.ts +1 -0
- package/middlewares/actionsHistoryMiddleware.d.ts +3 -0
- package/middlewares/autosaveMiddleware.d.ts +6 -0
- package/middlewares/index.d.ts +6 -0
- package/{dist/middlewares → middlewares}/requiredFieldsMiddleware.d.ts +6 -4
- package/mocks/data/widgetMeta.d.ts +10 -0
- package/package.json +105 -66
- package/reducers/__tests__/data.test.d.ts +1 -0
- package/reducers/__tests__/forceActiveField.test.d.ts +1 -0
- package/reducers/__tests__/screen/bcAddFilter.test.d.ts +1 -0
- package/reducers/__tests__/session.test.d.ts +1 -0
- package/reducers/__tests__/view.test.d.ts +1 -0
- package/reducers/data.d.ts +13 -0
- package/reducers/depthData.d.ts +7 -0
- package/reducers/index.d.ts +3 -0
- package/reducers/router.d.ts +30 -0
- package/reducers/screen.d.ts +16 -0
- package/reducers/session.d.ts +15 -0
- package/reducers/view.d.ts +16 -0
- package/tests/mockStore.d.ts +6 -0
- package/tests/setup.d.ts +1 -0
- package/tests/testEpic.d.ts +14 -0
- package/utils/__tests__/autosave.test.d.ts +1 -0
- package/utils/__tests__/bc.test.d.ts +1 -0
- package/utils/__tests__/breadthFirst.test.d.ts +1 -0
- package/utils/__tests__/cancelRequestEpic.test.d.ts +1 -0
- package/utils/__tests__/combineEpics.test.d.ts +1 -0
- package/utils/__tests__/combineMiddlewares.test.d.ts +1 -0
- package/utils/__tests__/configureStore.test.d.ts +1 -0
- package/utils/__tests__/extendPopupWidgetTypes.test.d.ts +1 -0
- package/utils/__tests__/filters.test.d.ts +1 -0
- package/utils/__tests__/history.test.d.ts +1 -0
- package/utils/__tests__/notifications.test.d.ts +1 -0
- package/utils/__tests__/operations.test.d.ts +1 -0
- package/utils/__tests__/tree.test.d.ts +1 -0
- package/utils/__tests__/viewTabs.test.d.ts +1 -0
- package/utils/actionsHistory.d.ts +2 -0
- package/utils/api.d.ts +92 -0
- package/{dist/utils → utils}/autosave.d.ts +2 -13
- package/{dist/utils → utils}/bc.d.ts +3 -3
- package/utils/cancelRequestEpic.d.ts +16 -0
- package/utils/combineEpics.d.ts +13 -0
- package/utils/combineMiddlewares.d.ts +3 -0
- package/utils/configureStore.d.ts +15 -0
- package/utils/exportState.d.ts +3 -0
- package/{dist/utils → utils}/filters.d.ts +4 -3
- package/{dist/utils → utils}/history.d.ts +7 -5
- package/utils/index.d.ts +6 -0
- package/utils/notifications.d.ts +11 -0
- package/{dist/utils → utils}/operations.d.ts +2 -2
- package/utils/redux.d.ts +49 -0
- package/{dist/utils → utils}/strings.d.ts +2 -3
- package/{dist/utils → utils}/tree.d.ts +2 -2
- package/dist/actions/index.d.ts +0 -1059
- package/dist/api/ObservableApi.d.ts +0 -53
- package/dist/api/ObservableApiWrapper.d.ts +0 -11
- package/dist/api/index.d.ts +0 -1
- package/dist/cxbox-ui-core.cjs.development.js +0 -3374
- package/dist/cxbox-ui-core.cjs.production.min.js +0 -2
- package/dist/cxbox-ui-core.esm.js +0 -3339
- package/dist/cxbox-ui-core.modern.development.js +0 -3273
- package/dist/cxbox-ui-core.modern.js +0 -3273
- package/dist/cxbox-ui-core.modern.production.min.js +0 -2
- package/dist/epics/data/bcCancelCreateDataEpic.d.ts +0 -9
- package/dist/epics/data/bcDeleteDataEpic.d.ts +0 -2
- package/dist/epics/data/bcFetchDataEpic.d.ts +0 -15
- package/dist/epics/data/bcFetchRowMetaRequestEpic.d.ts +0 -17
- package/dist/epics/data/bcLoadMoreEpic.d.ts +0 -2
- package/dist/epics/data/bcNewDataEpic.d.ts +0 -14
- package/dist/epics/data/bcSaveDataEpic.d.ts +0 -24
- package/dist/epics/data/bcSelectDepthRecordEpic.d.ts +0 -2
- package/dist/epics/data/bcSelectRecordEpic.d.ts +0 -2
- package/dist/epics/data/changeAssociationEpic.d.ts +0 -2
- package/dist/epics/data/changeAssociationFullEpic.d.ts +0 -5
- package/dist/epics/data/changeAssociationSameBcEpic.d.ts +0 -5
- package/dist/epics/data/changeChildrenAssociationsEpic.d.ts +0 -2
- package/dist/epics/data/changeChildrenAssociationsSameBcEpic.d.ts +0 -2
- package/dist/epics/data/changeDescendantsAssociationsFullEpic.d.ts +0 -5
- package/dist/epics/data/index.d.ts +0 -20
- package/dist/epics/data/inlinePickListFetchDataEpic.d.ts +0 -2
- package/dist/epics/data/removeMultivalueTagEpic.d.ts +0 -17
- package/dist/epics/data/saveAssociationsPassiveEpic.d.ts +0 -7
- package/dist/epics/data/selectViewEpic.d.ts +0 -11
- package/dist/epics/index.d.ts +0 -6
- package/dist/epics/router/drilldownEpic.d.ts +0 -2
- package/dist/epics/router/handleRouterEpic.d.ts +0 -2
- package/dist/epics/router/index.d.ts +0 -10
- package/dist/epics/router/loginDoneEpic.d.ts +0 -9
- package/dist/epics/router/selectScreenEpic.d.ts +0 -7
- package/dist/epics/router/selectScreenFailEpic.d.ts +0 -7
- package/dist/epics/router/selectViewEpic.d.ts +0 -7
- package/dist/epics/router/selectViewFailEpic.d.ts +0 -6
- package/dist/epics/router/userDrillDownEpic.d.ts +0 -6
- package/dist/epics/router/userDrilldownChangeCursorsEpic.d.ts +0 -2
- package/dist/epics/screen/apiErrorEpic.d.ts +0 -2
- package/dist/epics/screen/downloadFileByUrlEpic.d.ts +0 -2
- package/dist/epics/screen/downloadFileEpic.d.ts +0 -2
- package/dist/epics/screen/httpError401Epic.d.ts +0 -2
- package/dist/epics/screen/httpError409Epic.d.ts +0 -2
- package/dist/epics/screen/httpError418Epic.d.ts +0 -2
- package/dist/epics/screen/httpError500Epic.d.ts +0 -2
- package/dist/epics/screen/httpErrorDefaultEpic.d.ts +0 -2
- package/dist/epics/screen/index.d.ts +0 -10
- package/dist/epics/screen/processPostInvokeConfirmEpic.d.ts +0 -2
- package/dist/epics/screen/processPostInvokeEpic.d.ts +0 -2
- package/dist/epics/session/index.d.ts +0 -5
- package/dist/epics/session/loginByAnotherRoleEpic.d.ts +0 -5
- package/dist/epics/session/loginDoneEpic.d.ts +0 -6
- package/dist/epics/session/refreshMetaAndReloadPageEpic.d.ts +0 -2
- package/dist/epics/session/refreshMetaEpic.d.ts +0 -5
- package/dist/epics/session/switchRoleEpic.d.ts +0 -5
- package/dist/epics/utils/postOperationRoutine.d.ts +0 -13
- package/dist/epics/view/clearPendingDataChangesAfterCursorChangeEpic.d.ts +0 -7
- package/dist/epics/view/fileUploadConfirmEpic.d.ts +0 -11
- package/dist/epics/view/getRowMetaByForceActiveEpic.d.ts +0 -5
- package/dist/epics/view/index.d.ts +0 -9
- package/dist/epics/view/selectTableCellInitEpic.d.ts +0 -2
- package/dist/epics/view/sendOperationAssociateEpic.d.ts +0 -5
- package/dist/epics/view/sendOperationEpic.d.ts +0 -10
- package/dist/epics/view/showAllTableRecordsInitEpic.d.ts +0 -2
- package/dist/epics/view/showAssocPopupEpic.d.ts +0 -2
- package/dist/epics/view/showFileUploadPopupEpic.d.ts +0 -5
- package/dist/index.d.ts +0 -6
- package/dist/index.js +0 -6
- package/dist/interfaces/customEpics.d.ts +0 -15
- package/dist/interfaces/index.d.ts +0 -27
- package/dist/interfaces/store.d.ts +0 -14
- package/dist/middlewares/autosaveMiddleware.d.ts +0 -17
- package/dist/middlewares/index.d.ts +0 -17
- package/dist/middlewares/popupMiddleware.d.ts +0 -5
- package/dist/reducers/ReducerBuilderManager.d.ts +0 -19
- package/dist/reducers/data.d.ts +0 -4
- package/dist/reducers/depthData.d.ts +0 -4
- package/dist/reducers/index.d.ts +0 -6
- package/dist/reducers/router.d.ts +0 -9
- package/dist/reducers/screen.d.ts +0 -10
- package/dist/reducers/session.d.ts +0 -10
- package/dist/reducers/view.d.ts +0 -10
- package/dist/utils/api.d.ts +0 -25
- package/dist/utils/cancelRequestEpic.d.ts +0 -17
- package/dist/utils/combineMiddlewares.d.ts +0 -14
- package/dist/utils/deleteUndefinedFromObject.d.ts +0 -1
- package/dist/utils/index.d.ts +0 -9
- package/dist/utils/others.d.ts +0 -6
- /package/{dist/interfaces → interfaces}/filters.d.ts +0 -0
- /package/{dist/interfaces → interfaces}/router.d.ts +0 -0
- /package/{dist/interfaces → interfaces}/rowMeta.d.ts +0 -0
- /package/{dist/interfaces → interfaces}/screen.d.ts +0 -0
- /package/{dist/middlewares → middlewares}/preInvokeMiddleware.d.ts +0 -0
- /package/{dist/utils/exportState.d.ts → tests/assetsMock.d.ts} +0 -0
- /package/{dist/utils → utils}/breadthFirst.d.ts +0 -0
- /package/{dist/utils → utils}/extendPopupWidgetTypes.d.ts +0 -0
- /package/{dist/utils → utils}/hierarchy.d.ts +0 -0
- /package/{dist/utils → utils}/highlightJson.d.ts +0 -0
- /package/{dist/utils → utils}/viewTabs.d.ts +0 -0
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './sendOperationEpic';
|
|
2
|
-
export * from './showAssocPopupEpic';
|
|
3
|
-
export * from './fileUploadConfirmEpic';
|
|
4
|
-
export * from './selectTableCellInitEpic';
|
|
5
|
-
export * from './showFileUploadPopupEpic';
|
|
6
|
-
export * from './sendOperationAssociateEpic';
|
|
7
|
-
export * from './getRowMetaByForceActiveEpic';
|
|
8
|
-
export * from './showAllTableRecordsInitEpic';
|
|
9
|
-
export * from './clearPendingDataChangesAfterCursorChangeEpic';
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { CXBoxEpic } from '../../interfaces';
|
|
2
|
-
/**
|
|
3
|
-
* Handle any `sendOperationEpic` action which is not part of built-in operations types
|
|
4
|
-
*
|
|
5
|
-
* Request will be send to `custom-action/${screenName}/${bcUrl}?_action=${action.payload.type}` endpoint,
|
|
6
|
-
* with pending changes of the widget as requst body.
|
|
7
|
-
*
|
|
8
|
-
* Fires sendOperationSuccess, bcForceUpdate and postOperationRoutine
|
|
9
|
-
*/
|
|
10
|
-
export declare const sendOperationEpic: CXBoxEpic;
|
package/dist/index.d.ts
DELETED
package/dist/index.js
DELETED
|
@@ -1,15 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* This module includes types to support overriding redux-observable Epics that we use in Cxbox UI by
|
|
3
|
-
* custom implementations from client application.
|
|
4
|
-
*/
|
|
5
|
-
import { Epic } from 'redux-observable';
|
|
6
|
-
import { AnyAction } from '@reduxjs/toolkit';
|
|
7
|
-
import { Store } from './store';
|
|
8
|
-
import { Api } from '../api';
|
|
9
|
-
export interface EpicDependencyInjection<A = Api> {
|
|
10
|
-
api: A;
|
|
11
|
-
}
|
|
12
|
-
/**
|
|
13
|
-
* Default Epic typing with dependency injection
|
|
14
|
-
*/
|
|
15
|
-
export type CXBoxEpic<S = Store, A = Api> = Epic<AnyAction, AnyAction, S, EpicDependencyInjection<A>>;
|
|
@@ -1,27 +0,0 @@
|
|
|
1
|
-
/**
|
|
2
|
-
* Types exports of Cxbox UI.
|
|
3
|
-
*
|
|
4
|
-
* Can be imported as:
|
|
5
|
-
*
|
|
6
|
-
* `import {typeName} from '@cxbox-ui/core/interfaces/moduleName'`
|
|
7
|
-
*
|
|
8
|
-
* @packageDocumentation
|
|
9
|
-
* @module Types
|
|
10
|
-
*/
|
|
11
|
-
export type { BcMeta, BcMetaState } from './bc';
|
|
12
|
-
export type { DataValue, DataItem, MultivalueSingleValue, MultivalueSingleValueOptions, RecordSnapshotState, PendingDataItem, DataItemResponse, BcDataResponse, DataState, DepthDataState, PickMap } from './data';
|
|
13
|
-
export type { SystemNotification, CxboxResponse, ObjectMap } from './objectMap';
|
|
14
|
-
export { AppNotificationType } from './objectMap';
|
|
15
|
-
export * from './router';
|
|
16
|
-
export * from './screen';
|
|
17
|
-
export * from './customMiddlewares';
|
|
18
|
-
export * from './session';
|
|
19
|
-
export * from './store';
|
|
20
|
-
export * from './view';
|
|
21
|
-
export * from './widget';
|
|
22
|
-
export * from './operation';
|
|
23
|
-
export * from './rowMeta';
|
|
24
|
-
export * from './filters';
|
|
25
|
-
export * from './customEpics';
|
|
26
|
-
export * from './navigation';
|
|
27
|
-
export * from './tree';
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Route } from './router';
|
|
2
|
-
import { Session } from './session';
|
|
3
|
-
import { ScreenState } from './screen';
|
|
4
|
-
import { ViewState } from './view';
|
|
5
|
-
import { DataState, DepthDataState } from './data';
|
|
6
|
-
export interface Store {
|
|
7
|
-
router: Route;
|
|
8
|
-
session: Session;
|
|
9
|
-
screen: ScreenState;
|
|
10
|
-
view: ViewState;
|
|
11
|
-
data: DataState;
|
|
12
|
-
depthData: DepthDataState;
|
|
13
|
-
[reducerName: string]: any;
|
|
14
|
-
}
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { AnyAction, Dispatch, MiddlewareAPI } from 'redux';
|
|
2
|
-
import { Store as CoreStore } from '../interfaces/store';
|
|
3
|
-
/**
|
|
4
|
-
*
|
|
5
|
-
*/
|
|
6
|
-
export declare function createAutoSaveMiddleware(): ({ getState, dispatch }: MiddlewareAPI<Dispatch<AnyAction>, CoreStore>) => (next: Dispatch<AnyAction>) => (action: AnyAction) => AnyAction | {
|
|
7
|
-
payload: {
|
|
8
|
-
bcName: string;
|
|
9
|
-
operationType: string;
|
|
10
|
-
widgetName: string;
|
|
11
|
-
onSuccessAction?: AnyAction;
|
|
12
|
-
confirm?: string;
|
|
13
|
-
bcKey?: string;
|
|
14
|
-
confirmOperation?: import("../interfaces").OperationPreInvoke;
|
|
15
|
-
};
|
|
16
|
-
type: string;
|
|
17
|
-
};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
export declare const middlewares: {
|
|
2
|
-
autosave: ({ getState, dispatch }: import("redux").MiddlewareAPI<import("redux").Dispatch<import("redux").AnyAction>, import("../interfaces").Store>) => (next: import("redux").Dispatch<import("redux").AnyAction>) => (action: import("redux").AnyAction) => import("redux").AnyAction | {
|
|
3
|
-
payload: {
|
|
4
|
-
bcName: string;
|
|
5
|
-
operationType: string;
|
|
6
|
-
widgetName: string;
|
|
7
|
-
onSuccessAction?: import("redux").AnyAction;
|
|
8
|
-
confirm?: string;
|
|
9
|
-
bcKey?: string;
|
|
10
|
-
confirmOperation?: import("../interfaces").OperationPreInvoke;
|
|
11
|
-
};
|
|
12
|
-
type: string;
|
|
13
|
-
};
|
|
14
|
-
requiredFields: import("redux").Middleware<{}, any, import("redux").Dispatch<import("redux").AnyAction>>;
|
|
15
|
-
preInvoke: import("redux").Middleware<{}, any, import("redux").Dispatch<import("redux").AnyAction>>;
|
|
16
|
-
popup: import("redux").Middleware<{}, any, import("redux").Dispatch<import("redux").AnyAction>>;
|
|
17
|
-
};
|
|
@@ -1,19 +0,0 @@
|
|
|
1
|
-
import { ActionReducerMapBuilder, CaseReducer } from '@reduxjs/toolkit';
|
|
2
|
-
import { Action, AnyAction } from 'redux';
|
|
3
|
-
interface TypedActionCreator<Type extends string> {
|
|
4
|
-
(...args: any[]): Action<Type>;
|
|
5
|
-
type: Type;
|
|
6
|
-
}
|
|
7
|
-
type TypeGuard<T> = (value: any) => value is T;
|
|
8
|
-
export declare class ReducerBuilderManager<State> {
|
|
9
|
-
private reducers;
|
|
10
|
-
private matchers;
|
|
11
|
-
private defaultCaseReducer;
|
|
12
|
-
addCase<ActionCreator extends TypedActionCreator<string>>(action: ActionCreator, reducer: CaseReducer<State, ReturnType<ActionCreator>>): this;
|
|
13
|
-
removeCase<ActionCreator extends TypedActionCreator<string>>(action: ActionCreator): this;
|
|
14
|
-
replaceCase<ActionCreator extends TypedActionCreator<string>>(action: ActionCreator, reducer: CaseReducer<State, ReturnType<ActionCreator>>): this;
|
|
15
|
-
addMatcher<A>(matcher: TypeGuard<A> | ((action: any) => boolean), reducer: CaseReducer<State, A extends AnyAction ? A : A & AnyAction>): Omit<ReducerBuilderManager<State>, 'addCase'>;
|
|
16
|
-
addDefaultCase(reducer: CaseReducer<State, AnyAction>): Omit<ReducerBuilderManager<State>, 'addCase' | 'addMatcher' | 'addDefaultCase'>;
|
|
17
|
-
get builder(): (builder: ActionReducerMapBuilder<State>) => {};
|
|
18
|
-
}
|
|
19
|
-
export {};
|
package/dist/reducers/data.d.ts
DELETED
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { DataState } from '../interfaces';
|
|
2
|
-
import { ReducerBuilderManager } from './ReducerBuilderManager';
|
|
3
|
-
export declare const dataInitialState: DataState;
|
|
4
|
-
export declare const createDataReducerBuilderManager: (initialState: DataState) => ReducerBuilderManager<DataState>;
|
|
@@ -1,4 +0,0 @@
|
|
|
1
|
-
import { DepthDataState } from '../interfaces';
|
|
2
|
-
import { ReducerBuilderManager } from './ReducerBuilderManager';
|
|
3
|
-
export declare const initialDepthDataState: DepthDataState;
|
|
4
|
-
export declare const createDepthDataReducerBuilderManager: (initialState: DepthDataState) => ReducerBuilderManager<DepthDataState>;
|
package/dist/reducers/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
import { Route } from '../interfaces';
|
|
2
|
-
import { ReducerBuilderManager } from './ReducerBuilderManager';
|
|
3
|
-
export declare const initialRouterState: Route;
|
|
4
|
-
/**
|
|
5
|
-
* Router reducer
|
|
6
|
-
*
|
|
7
|
-
* Stores information about currently active route
|
|
8
|
-
*/
|
|
9
|
-
export declare const createRouterReducerBuilderManager: <S extends Route>(initialState: S) => ReducerBuilderManager<S>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ScreenState } from '../interfaces';
|
|
2
|
-
import { ReducerBuilderManager } from './ReducerBuilderManager';
|
|
3
|
-
export declare const initialScreenState: ScreenState;
|
|
4
|
-
/**
|
|
5
|
-
* Screen reducer
|
|
6
|
-
*
|
|
7
|
-
* Stores information about currently active screen and various more persistent values which should be stored
|
|
8
|
-
* until we navitage to a different screen.
|
|
9
|
-
*/
|
|
10
|
-
export declare const createScreenReducerBuilderManager: <S extends ScreenState>(initialState: S) => ReducerBuilderManager<S>;
|
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { Session } from '../interfaces';
|
|
2
|
-
import { ReducerBuilderManager } from './ReducerBuilderManager';
|
|
3
|
-
export declare const initialSessionState: Session;
|
|
4
|
-
/**
|
|
5
|
-
* Session reducer
|
|
6
|
-
*
|
|
7
|
-
* Stores information about currently active session and dataEpics.ts that should be persistent during all period of
|
|
8
|
-
* user interaction with application.
|
|
9
|
-
*/
|
|
10
|
-
export declare const createSessionReducerBuilderManager: <S extends Session>(initialState: S) => ReducerBuilderManager<S>;
|
package/dist/reducers/view.d.ts
DELETED
|
@@ -1,10 +0,0 @@
|
|
|
1
|
-
import { ViewState } from '../interfaces';
|
|
2
|
-
import { ReducerBuilderManager } from './ReducerBuilderManager';
|
|
3
|
-
export declare const initialViewState: ViewState;
|
|
4
|
-
/**
|
|
5
|
-
* View reducer
|
|
6
|
-
*
|
|
7
|
-
* Stores information about currently active view and various fast-living pending values which should be stored
|
|
8
|
-
* until we navitage to a different view.
|
|
9
|
-
*/
|
|
10
|
-
export declare const createViewReducerBuilderManager: <S extends ViewState>(initialState: S) => ReducerBuilderManager<S>;
|
package/dist/utils/api.d.ts
DELETED
|
@@ -1,25 +0,0 @@
|
|
|
1
|
-
export interface ApiCallContext {
|
|
2
|
-
widgetName: string;
|
|
3
|
-
}
|
|
4
|
-
type QueryParamsMap = Record<string, string | number>;
|
|
5
|
-
/**
|
|
6
|
-
* Extends url with query parameters control symbol (`?` or `&`)
|
|
7
|
-
*
|
|
8
|
-
* @param url Url with or without `?` symbol
|
|
9
|
-
*/
|
|
10
|
-
export declare function addTailControlSequences(url: string): string;
|
|
11
|
-
/**
|
|
12
|
-
* Extends url with query parameters
|
|
13
|
-
*
|
|
14
|
-
* @param url Url to extend
|
|
15
|
-
* @param qso Query parameters dictionary
|
|
16
|
-
*/
|
|
17
|
-
export declare function applyParams(url: string, qso?: QueryParamsMap): string;
|
|
18
|
-
/**
|
|
19
|
-
* TODO
|
|
20
|
-
*
|
|
21
|
-
* @param url
|
|
22
|
-
* @param qso
|
|
23
|
-
*/
|
|
24
|
-
export declare function applyRawParams(url: string, qso: Record<string, any>): string;
|
|
25
|
-
export {};
|
|
@@ -1,17 +0,0 @@
|
|
|
1
|
-
import { Observable } from 'rxjs';
|
|
2
|
-
import { AnyAction } from 'redux';
|
|
3
|
-
import { isAnyOf } from '@reduxjs/toolkit';
|
|
4
|
-
/**
|
|
5
|
-
* Default list of action types which are triggers for request cancel
|
|
6
|
-
*/
|
|
7
|
-
export declare const cancelRequestActionTypes: import("@reduxjs/toolkit").ActionCreatorWithOptionalPayload<import("../interfaces").ViewMetaResponse, string>[];
|
|
8
|
-
/**
|
|
9
|
-
* Creator of request cancel epic
|
|
10
|
-
*
|
|
11
|
-
* @param action$ an observable input
|
|
12
|
-
* @param actionTypes list of action types which triggers cancel
|
|
13
|
-
* @param cancelFn a callback of request cancelation
|
|
14
|
-
* @param cancelActionCreator an action creator which called by request cancelation
|
|
15
|
-
* @param filterFn a callback function which filters come actions
|
|
16
|
-
*/
|
|
17
|
-
export declare function cancelRequestEpic(action$: Observable<AnyAction>, actionTypes: Parameters<typeof isAnyOf>, cancelFn: (() => void) | undefined, cancelActionCreator: AnyAction, filterFn?: (actions: AnyAction) => boolean): Observable<AnyAction>;
|
|
@@ -1,14 +0,0 @@
|
|
|
1
|
-
import { Middleware } from 'redux';
|
|
2
|
-
import { CustomMiddlewares, CoreMiddlewares } from '../interfaces/customMiddlewares';
|
|
3
|
-
export declare function combineMiddlewares(coreMiddlewares: CoreMiddlewares, customMiddlewares?: CustomMiddlewares): ((({ getState, dispatch }: import("redux").MiddlewareAPI<import("redux").Dispatch<import("redux").AnyAction>, import("../interfaces").Store>) => (next: import("redux").Dispatch<import("redux").AnyAction>) => (action: import("redux").AnyAction) => import("redux").AnyAction | {
|
|
4
|
-
payload: {
|
|
5
|
-
bcName: string;
|
|
6
|
-
operationType: string;
|
|
7
|
-
widgetName: string;
|
|
8
|
-
onSuccessAction?: import("redux").AnyAction;
|
|
9
|
-
confirm?: string;
|
|
10
|
-
bcKey?: string;
|
|
11
|
-
confirmOperation?: import("../interfaces").OperationPreInvoke;
|
|
12
|
-
};
|
|
13
|
-
type: string;
|
|
14
|
-
}) | Middleware<{}, any, import("redux").Dispatch<import("redux").AnyAction>>)[];
|
|
@@ -1 +0,0 @@
|
|
|
1
|
-
export declare function deleteUndefinedFromObject(obj: Record<string, any>): void;
|
package/dist/utils/index.d.ts
DELETED
|
@@ -1,9 +0,0 @@
|
|
|
1
|
-
export * from './api';
|
|
2
|
-
export * from './strings';
|
|
3
|
-
export * from './history';
|
|
4
|
-
export * from './filters';
|
|
5
|
-
export * from './operations';
|
|
6
|
-
export * from './bc';
|
|
7
|
-
export * from './tree';
|
|
8
|
-
export * from './breadthFirst';
|
|
9
|
-
export * from './deleteUndefinedFromObject';
|
package/dist/utils/others.d.ts
DELETED
|
@@ -1,6 +0,0 @@
|
|
|
1
|
-
import { FieldType, MultivalueFieldMeta, PickListFieldMeta } from '@cxbox-ui/schema';
|
|
2
|
-
export declare function isMultivalueField(fieldType: FieldType): boolean;
|
|
3
|
-
export declare function getPopupAssocKeys(fieldMeta: MultivalueFieldMeta | PickListFieldMeta): {
|
|
4
|
-
assocValueKey: string;
|
|
5
|
-
associateFieldKey: string;
|
|
6
|
-
};
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|
|
File without changes
|