@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
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./node_modules/@cxbox-ui/schema/dist/index.js","webpack:///./src/interfaces/operation.ts","webpack:///(webpack)/buildin/module.js","webpack:///./node_modules/@cxbox-ui/schema/dist/generator.js","webpack:///./node_modules/json-stable-stringify/index.js","webpack:///./node_modules/jsonify/index.js","webpack:///./node_modules/jsonify/lib/parse.js","webpack:///./node_modules/jsonify/lib/stringify.js","webpack:///./node_modules/@cxbox-ui/schema/dist/interfaces/data.js","webpack:///./node_modules/@cxbox-ui/schema/dist/interfaces/navigation.js","webpack:///./node_modules/@cxbox-ui/schema/dist/interfaces/operations.js","webpack:///./node_modules/@cxbox-ui/schema/dist/interfaces/router.js","webpack:///./node_modules/@cxbox-ui/schema/dist/interfaces/widget.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","__createBinding","this","k","k2","undefined","__exportStar","run","generator_1","OperationPreInvokeType","OperationPostInvokeType","OperationPostInvokeConfirmType","coreOperations","save","delete","associate","cancelCreate","fileUpload","isOperationGroup","operation","Array","isArray","actions","webpackPolyfill","deprecate","paths","children","path_1","fs_1","stringify","TJS","schemas","existsSync","mkdirSync","program","getProgramFromFiles","map","item","join","__dirname","strictNullChecks","generator","buildGenerator","required","forEach","definition","getSchemaForSymbol","writeFile","src","space","stringifyJson","err","Error","message","window","json","JSON","obj","opts","cmp","f","cycles","replacer","node","a","b","aobj","bobj","seen","parent","level","indent","colonSeparator","toJSON","out","length","push","indexOf","TypeError","keys","objectKeys","sort","keyValue","splice","x","toString","has","parse","at","ch","text","escapee","error","next","charAt","number","string","isFinite","hex","uffff","parseInt","String","fromCharCode","white","array","word","source","reviver","result","walk","holder","v","gap","rep","escapable","meta","quote","lastIndex","test","replace","charCodeAt","slice","str","partial","mind","apply","RecordSnapshotState","OperationTypeCrud","DrillDownType","FieldType","PositionTypes","WidgetTypes"],"mappings":"6DACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GAAUC,QAGnC,IAAIC,EAASJ,EAAiBE,GAAY,CACzCG,EAAGH,EACHI,GAAG,EACHH,QAAS,IAUV,OANAI,EAAQL,GAAUM,KAAKJ,EAAOD,QAASC,EAAQA,EAAOD,QAASF,GAG/DG,EAAOE,GAAI,EAGJF,EAAOD,QA0Df,OArDAF,EAAoBQ,EAAIF,EAGxBN,EAAoBS,EAAIV,EAGxBC,EAAoBU,EAAI,SAASR,EAASS,EAAMC,GAC3CZ,EAAoBa,EAAEX,EAASS,IAClCG,OAAOC,eAAeb,EAASS,EAAM,CAAEK,YAAY,EAAMC,IAAKL,KAKhEZ,EAAoBkB,EAAI,SAAShB,GACX,oBAAXiB,QAA0BA,OAAOC,aAC1CN,OAAOC,eAAeb,EAASiB,OAAOC,YAAa,CAAEC,MAAO,WAE7DP,OAAOC,eAAeb,EAAS,aAAc,CAAEmB,OAAO,KAQvDrB,EAAoBsB,EAAI,SAASD,EAAOE,GAEvC,GADU,EAAPA,IAAUF,EAAQ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A,EAAsB,SAAI,WAC1BA,EAA4B,eAAI,iBAChCA,EAA2B,cAAI,gBAC/BA,EAA0B,aAAI,eAC9BA,EAA6B,gBAAI,kBACjCA,EAA4B,eAAI,iBAChCA,EAA6B,gBAAI,kBACjCA,EAA2B,cAAI,gBAC/BA,EAAmB,MAAI,QACvBA,EAAuB,UAAI,YAC3BA,EAAkB,KAAI,OACtBA,EAAsB,SAAI,WAC1BA,EAA2B,cAAI,gBAI/BA,EAA4B,eAAI,iBAIhCA,EAA4B,eAAI,iBAxBpC,CAyBiBpK,EAAQoK,cAAgBpK,EAAQoK,YAAc,KAK/D,SAAWD,GACPA,EAAmB,IAAI,MACvBA,EAAsB,OAAI,SAC1BA,EAA4B,aAAI,eAHpC,CAImBnK,EAAQmK,gBAAkBnK,EAAQmK,cAAgB,KAErE,SAAWD,GACPA,EAAkB,OAAI,SACtBA,EAAiB,MAAI,QACrBA,EAAqB,UAAI,YACzBA,EAAgB,KAAI,OACpBA,EAAoB,SAAI,WACxBA,EAA+B,oBAAI,sBACnCA,EAAoB,SAAI,WAIxBA,EAAuB,YAAI,cAI3BA,EAAe,IAAI,MACnBA,EAAoB,SAAI,WACxBA,EAA0B,eAAI,kBAC9BA,EAAsB,WAAI,aAC1BA,EAAkB,OAAI,SACtBA,EAAgB,KAAI,OACpBA,EAAmB,QAAI,UACvBA,EAAsB,WAAI,aAC1BA,EAAiB,MAAI,QAIrBA,EAA0B,eAAI,kBAC9BA,EAAoB,SAAI,WACxBA,EAAqB,UAAI,YACzBA,EAAsB,WAAI,aAC1BA,EAAsB,WAAI,aAC1BA,EAA2B,gBAAI,kBAC/BA,EAAgB,KAAI,OACpBA,EAAiB,MAAI,QAlCzB,CAmCelK,EAAQkK,YAAclK,EAAQkK,UAAY","file":"interfaces/operation.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 19);\n","\"use strict\";\n/*\n * © OOO \"SI IKS LAB\", 2022-2023\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nexports.__esModule = true;\nexports.run = void 0;\nvar generator_1 = require(\"./generator\");\n__createBinding(exports, generator_1, \"run\");\n__exportStar(require(\"./interfaces/data\"), exports);\n__exportStar(require(\"./interfaces/navigation\"), exports);\n__exportStar(require(\"./interfaces/operations\"), exports);\n__exportStar(require(\"./interfaces/router\"), exports);\n__exportStar(require(\"./interfaces/widget\"), exports);\n","/*\n * © OOO \"SI IKS LAB\", 2022-2023\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nimport { DrillDownType } from './router'\nimport { AppNotificationType } from './objectMap'\nimport { DataItem } from './data'\nimport { OperationTypeCrud, OperationType } from '@cxbox-ui/schema'\nexport { OperationTypeCrud, OperationType, OperationInclusionDescriptor } from '@cxbox-ui/schema'\n\nexport const coreOperations = [\n OperationTypeCrud.create,\n OperationTypeCrud.save,\n OperationTypeCrud.delete,\n OperationTypeCrud.associate,\n OperationTypeCrud.cancelCreate,\n OperationTypeCrud.fileUpload\n]\n\n/**\n *\n * @param operation\n */\nexport function isOperationGroup(operation: Operation | OperationGroup): operation is OperationGroup {\n return Array.isArray((operation as OperationGroup).actions)\n}\n\n/**\n * User operation: CRUD or any custom business action.\n *\n * Received from record's row meta.\n */\nexport interface Operation {\n /**\n * Displayed name\n */\n text: string\n /**\n * String that uniquely identifies an operation on widget\n */\n type: OperationType\n /**\n * A hint to decide where to display an operation which is related to the record or the whole widget\n */\n scope: OperationScope\n /**\n * @deprecated TODO: Remove in 2.0.0, designation unknown\n */\n action?: string\n /**\n * An icon (https://ant.design/components/icon) to display on operation button,\n */\n icon?: string\n /**\n * @deprecated TODO: Remove in 2.0.0 in favor of client-side custom parameters\n */\n bcKey?: string\n /**\n * Omit text value of operation in favor of icon\n */\n showOnlyIcon?: boolean\n /**\n * An operation that should be fired before initiating this operation\n */\n preInvoke?: OperationPreInvoke\n /**\n * Validate the record for empty \"required\" fields before API call\n */\n autoSaveBefore?: boolean\n /**\n * ???\n */\n confirmOperation?: OperationPreInvoke\n /**\n * If custom operation needs to be processed as if it was a default crud operation,\n * this flag can be specified and will be used instead of real `type`\n */\n actionRole?: OperationType\n}\n\n/**\n * Group of actions.\n *\n * It shows name of a group, drop down list of actions\n * and some actions which are shown in case list is covered.\n * Группа действий, показывает название группы и раскрываемые список ее действий,\n * а также несколько действий рядом с группой, которые видны не раскрывая список.\n */\nexport interface OperationGroup {\n /**\n * Unique identifier for the operation group\n */\n type?: string\n /**\n * Displayed name of a group\n */\n text: string\n /**\n * An icon (https://ant.design/components/icon) to display on operation button,\n */\n icon?: string\n /**\n * Omit text value of operation in favor of icon\n */\n showOnlyIcon?: boolean\n /**\n * List of group actions\n */\n actions: Operation[]\n /**\n * Number of showed actions in case list is covered\n */\n maxGroupVisualButtonsCount: number\n}\n\n/**\n * An action which fires before user's operation\n */\nexport interface OperationPreInvoke {\n /**\n * A type of operation (Pop-up message. Other types are not supported)\n */\n type: OperationPreInvokeType\n /**\n * A message shown to user before operation fires\n */\n message: string\n}\n\n/**\n * A type of message shown to user before operation fires\n */\nexport enum OperationPreInvokeType {\n /**\n * Pop-up message contains \"Yes/No\" answers.\n * If user says \"Yes\" then operation fires\n */\n confirm = 'confirm',\n /**\n * Pop-up message contains some informational text with info icon\n */\n info = 'info',\n /**\n * Pop-up message contains some information about error with error icon\n * Перед операцией пользователя будет показано всплывающее сообщение\n * с иконкой ошибки и операция не будет выполнена (TODO: Будет или не будет? Проверить)\n */\n error = 'error'\n}\n\n/**\n * A type of action which fires after user's operation\n */\nexport enum OperationPostInvokeType {\n /**\n * BC's refresh. It leads to cursor dropping, data refresh of current BC and its children\n */\n refreshBC = 'refreshBC',\n /**\n * File downloading by `fileId` which comes from answer to user's operation.\n * Вызов сохранения файла в браузере по пришедшему в ответе fileId\n */\n downloadFile = 'downloadFile',\n /**\n * File downloading by `url` which comes from answer to user's operation.\n * Вызов сохранения файла в браузере по пришедшему в ответе url\n */\n downloadFileByUrl = 'downloadFileByUrl',\n /**\n * Calling a browser transition to some record\n */\n drillDown = 'drillDown',\n /**\n * `Pick list` widget opening\n */\n openPickList = 'openPickList',\n /**\n * @deprecated TODO: Не работает, удалить все упоминания из Досье и убрать всех свидетелей\n *\n */\n // delayedRefreshBC = 'delayedRefreshBC',\n /**\n * Showing pop-up message\n */\n showMessage = 'showMessage',\n /**\n * Инициировать удаление записей\n *\n * @deprecated TODO: Remove in 2.0.0\n */\n postDelete = 'postDelete'\n}\n\n/**\n * The type of message that will be shown to the user for confirmation\n */\nexport enum OperationPostInvokeConfirmType {\n /**\n * Simple confirmation\n */\n confirm = 'confirm',\n /**\n * Сonfirmation with text from the user\n */\n confirmText = 'confirmText'\n}\n\n/**\n * The action that will be performed after the user confirms it\n */\nexport interface OperationPostInvokeConfirm {\n /**\n * Type of postInvokeConfirm action\n */\n type: OperationPostInvokeConfirmType | string\n /**\n * Body text of a modal actually\n * TODO 2.0.0 rename correctly\n */\n message: string\n /**\n * Custom modal title actually\n * TODO 2.0.0 rename correctly\n */\n messageContent?: string\n /**\n * Custom label of OK button\n */\n okText?: string\n /**\n * Custom label of Cancel button\n */\n cancelText?: string\n}\n\n/**\n * Modal window operation types\n */\nexport interface OperationModalInvokeConfirm extends OperationPostInvokeConfirm {\n /**\n * Type of confirm action\n */\n type: OperationPostInvokeConfirmType | OperationPreInvokeType | string\n}\n\n/**\n * An action which fires after user's operation\n *\n * @param bc Имя бизнес-компоненты, которую надо обновлять при refreshBC\n * @param fileId Идентификатор файла, который надо скачать при downloadFile\n * @param url?\n *\n * @param [key: string] ??? TODO: Это что?\n */\nexport interface OperationPostInvoke {\n /**\n * A type of action\n */\n type: OperationPostInvokeType | string\n}\n\n/**\n * BC's refresh. It leads to cursor dropping, data refresh of current BC and its children\n */\nexport interface OperationPostInvokeRefreshBc extends OperationPostInvoke {\n /**\n * BC's name\n */\n bc: string\n}\n\n/**\n * File downloading by `fileId` which comes from answer.\n */\nexport interface OperationPostInvokeDownloadFile extends OperationPostInvoke {\n /**\n * Backend's file ID\n */\n fileId: string\n}\n\n/**\n * File downloading by `url` which comes from answer.\n */\nexport interface OperationPostInvokeDownloadFileByUrl extends OperationPostInvoke {\n /**\n * File's URL\n */\n url: string\n}\n\n/**\n * Calling a browser transition to some record\n *\n * @param urlName При выполнении перехода на внешнюю сущность (POST-запрос на пришедший url),\n * этот адрес будет передан в теле запроса (см. CBR-9320 МР и тикет)\n */\nexport interface OperationPostInvokeDrillDown extends OperationPostInvoke {\n /**\n * URL of transition\n */\n url: string\n /**\n * A type of transition\n */\n drillDownType?: DrillDownType\n /**\n * If transition performs to outer entity (POST call),\n * this param will be passed to request body\n */\n urlName?: string\n}\n\n/**\n * `Pick list` widget opening\n */\nexport interface OperationPostInvokeOpenPickList extends OperationPostInvoke {\n /**\n * BC name of pick list widget\n */\n pickList: string\n}\n\n/**\n * Pop-up message showing\n */\nexport interface OperationPostInvokeShowMessage extends OperationPostInvoke {\n /**\n * A type of a message\n */\n messageType: AppNotificationType\n /**\n * A text of a message\n */\n messageText: string\n}\n\n/**\n * A union of all action types which could be be fired after user's operation\n */\nexport type OperationPostInvokeAny =\n | OperationPostInvokeRefreshBc\n | OperationPostInvokeDownloadFile\n | OperationPostInvokeDownloadFileByUrl\n | OperationPostInvokeDrillDown\n | OperationPostInvokeOpenPickList\n | OperationPostInvokeShowMessage\n | OperationPostInvokeConfirm\n\n/**\n * TODO: ???\n */\nexport type OperationScope = 'bc' | 'record' | 'page' | 'associate'\n\nexport interface AssociatedItem extends DataItem {\n _associate: boolean\n}\n\nexport interface OperationError {\n success: false\n error: {\n entity?: OperationErrorEntity\n popup?: string[]\n postActions?: OperationPostInvokeAny[]\n }\n}\n\nexport interface OperationErrorEntity {\n bcName: string\n fields: Record<string, string>\n id: string\n}\n\nexport type RequestType = 'data' | 'row-meta' | 'force-active'\n","module.exports = function(module) {\n\tif (!module.webpackPolyfill) {\n\t\tmodule.deprecate = function() {};\n\t\tmodule.paths = [];\n\t\t// module.parent = undefined by default\n\t\tif (!module.children) module.children = [];\n\t\tObject.defineProperty(module, \"loaded\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.l;\n\t\t\t}\n\t\t});\n\t\tObject.defineProperty(module, \"id\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.i;\n\t\t\t}\n\t\t});\n\t\tmodule.webpackPolyfill = 1;\n\t}\n\treturn module;\n};\n","\"use strict\";\n/*\n * © OOO \"SI IKS LAB\", 2022-2023\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.__esModule = true;\nexports.run = void 0;\nvar path_1 = require(\"path\");\nvar fs_1 = require(\"fs\");\nvar stringify = require(\"json-stable-stringify\");\nvar TJS = require(\"typescript-json-schema\");\nfunction run() {\n var settings = {\n required: true\n };\n var compilerOptions = {\n strictNullChecks: true\n };\n var schemas = ['ScreenMeta', 'ViewMeta', 'WidgetMeta', 'SqlBc'];\n if (!fs_1.existsSync('schemas')) {\n fs_1.mkdirSync('schemas');\n }\n var program = TJS.getProgramFromFiles(schemas.map(function (item) { return path_1.join(__dirname, '../', \"src/files/\" + item + \".ts\"); }), compilerOptions);\n var generator = TJS.buildGenerator(program, settings);\n write(schemas);\n function write(src) {\n src.forEach(function (item) {\n var definition = generator.getSchemaForSymbol(item + \"Json\");\n fs_1.writeFile(\"schemas/\" + item + \".json\", stringifyJson(definition), function (err) {\n if (err) {\n throw new Error('Unable to write output file: ' + err.message);\n }\n });\n });\n }\n}\nexports.run = run;\nfunction stringifyJson(src) {\n return stringify(src, { space: 4 }) + '\\n\\n';\n}\nif (typeof window === 'undefined' && require.main === module) {\n run();\n}\n","var json = typeof JSON !== 'undefined' ? JSON : require('jsonify');\n\nmodule.exports = function (obj, opts) {\n if (!opts) opts = {};\n if (typeof opts === 'function') opts = { cmp: opts };\n var space = opts.space || '';\n if (typeof space === 'number') space = Array(space+1).join(' ');\n var cycles = (typeof opts.cycles === 'boolean') ? opts.cycles : false;\n var replacer = opts.replacer || function(key, value) { return value; };\n\n var cmp = opts.cmp && (function (f) {\n return function (node) {\n return function (a, b) {\n var aobj = { key: a, value: node[a] };\n var bobj = { key: b, value: node[b] };\n return f(aobj, bobj);\n };\n };\n })(opts.cmp);\n\n var seen = [];\n return (function stringify (parent, key, node, level) {\n var indent = space ? ('\\n' + new Array(level + 1).join(space)) : '';\n var colonSeparator = space ? ': ' : ':';\n\n if (node && node.toJSON && typeof node.toJSON === 'function') {\n node = node.toJSON();\n }\n\n node = replacer.call(parent, key, node);\n\n if (node === undefined) {\n return;\n }\n if (typeof node !== 'object' || node === null) {\n return json.stringify(node);\n }\n if (isArray(node)) {\n var out = [];\n for (var i = 0; i < node.length; i++) {\n var item = stringify(node, i, node[i], level+1) || json.stringify(null);\n out.push(indent + space + item);\n }\n return '[' + out.join(',') + indent + ']';\n }\n else {\n if (seen.indexOf(node) !== -1) {\n if (cycles) return json.stringify('__cycle__');\n throw new TypeError('Converting circular structure to JSON');\n }\n else seen.push(node);\n\n var keys = objectKeys(node).sort(cmp && cmp(node));\n var out = [];\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var value = stringify(node, key, node[key], level+1);\n\n if(!value) continue;\n\n var keyValue = json.stringify(key)\n + colonSeparator\n + value;\n ;\n out.push(indent + space + keyValue);\n }\n seen.splice(seen.indexOf(node), 1);\n return '{' + out.join(',') + indent + '}';\n }\n })({ '': obj }, '', obj, 0);\n};\n\nvar isArray = Array.isArray || function (x) {\n return {}.toString.call(x) === '[object Array]';\n};\n\nvar objectKeys = Object.keys || function (obj) {\n var has = Object.prototype.hasOwnProperty || function () { return true };\n var keys = [];\n for (var key in obj) {\n if (has.call(obj, key)) keys.push(key);\n }\n return keys;\n};\n","exports.parse = require('./lib/parse');\nexports.stringify = require('./lib/stringify');\n","var at, // The index of the current character\n ch, // The current character\n escapee = {\n '\"': '\"',\n '\\\\': '\\\\',\n '/': '/',\n b: '\\b',\n f: '\\f',\n n: '\\n',\n r: '\\r',\n t: '\\t'\n },\n text,\n\n error = function (m) {\n // Call error when something is wrong.\n throw {\n name: 'SyntaxError',\n message: m,\n at: at,\n text: text\n };\n },\n \n next = function (c) {\n // If a c parameter is provided, verify that it matches the current character.\n if (c && c !== ch) {\n error(\"Expected '\" + c + \"' instead of '\" + ch + \"'\");\n }\n \n // Get the next character. When there are no more characters,\n // return the empty string.\n \n ch = text.charAt(at);\n at += 1;\n return ch;\n },\n \n number = function () {\n // Parse a number value.\n var number,\n string = '';\n \n if (ch === '-') {\n string = '-';\n next('-');\n }\n while (ch >= '0' && ch <= '9') {\n string += ch;\n next();\n }\n if (ch === '.') {\n string += '.';\n while (next() && ch >= '0' && ch <= '9') {\n string += ch;\n }\n }\n if (ch === 'e' || ch === 'E') {\n string += ch;\n next();\n if (ch === '-' || ch === '+') {\n string += ch;\n next();\n }\n while (ch >= '0' && ch <= '9') {\n string += ch;\n next();\n }\n }\n number = +string;\n if (!isFinite(number)) {\n error(\"Bad number\");\n } else {\n return number;\n }\n },\n \n string = function () {\n // Parse a string value.\n var hex,\n i,\n string = '',\n uffff;\n \n // When parsing for string values, we must look for \" and \\ characters.\n if (ch === '\"') {\n while (next()) {\n if (ch === '\"') {\n next();\n return string;\n } else if (ch === '\\\\') {\n next();\n if (ch === 'u') {\n uffff = 0;\n for (i = 0; i < 4; i += 1) {\n hex = parseInt(next(), 16);\n if (!isFinite(hex)) {\n break;\n }\n uffff = uffff * 16 + hex;\n }\n string += String.fromCharCode(uffff);\n } else if (typeof escapee[ch] === 'string') {\n string += escapee[ch];\n } else {\n break;\n }\n } else {\n string += ch;\n }\n }\n }\n error(\"Bad string\");\n },\n\n white = function () {\n\n// Skip whitespace.\n\n while (ch && ch <= ' ') {\n next();\n }\n },\n\n word = function () {\n\n// true, false, or null.\n\n switch (ch) {\n case 't':\n next('t');\n next('r');\n next('u');\n next('e');\n return true;\n case 'f':\n next('f');\n next('a');\n next('l');\n next('s');\n next('e');\n return false;\n case 'n':\n next('n');\n next('u');\n next('l');\n next('l');\n return null;\n }\n error(\"Unexpected '\" + ch + \"'\");\n },\n\n value, // Place holder for the value function.\n\n array = function () {\n\n// Parse an array value.\n\n var array = [];\n\n if (ch === '[') {\n next('[');\n white();\n if (ch === ']') {\n next(']');\n return array; // empty array\n }\n while (ch) {\n array.push(value());\n white();\n if (ch === ']') {\n next(']');\n return array;\n }\n next(',');\n white();\n }\n }\n error(\"Bad array\");\n },\n\n object = function () {\n\n// Parse an object value.\n\n var key,\n object = {};\n\n if (ch === '{') {\n next('{');\n white();\n if (ch === '}') {\n next('}');\n return object; // empty object\n }\n while (ch) {\n key = string();\n white();\n next(':');\n if (Object.hasOwnProperty.call(object, key)) {\n error('Duplicate key \"' + key + '\"');\n }\n object[key] = value();\n white();\n if (ch === '}') {\n next('}');\n return object;\n }\n next(',');\n white();\n }\n }\n error(\"Bad object\");\n };\n\nvalue = function () {\n\n// Parse a JSON value. It could be an object, an array, a string, a number,\n// or a word.\n\n white();\n switch (ch) {\n case '{':\n return object();\n case '[':\n return array();\n case '\"':\n return string();\n case '-':\n return number();\n default:\n return ch >= '0' && ch <= '9' ? number() : word();\n }\n};\n\n// Return the json_parse function. It will have access to all of the above\n// functions and variables.\n\nmodule.exports = function (source, reviver) {\n var result;\n \n text = source;\n at = 0;\n ch = ' ';\n result = value();\n white();\n if (ch) {\n error(\"Syntax error\");\n }\n\n // If there is a reviver function, we recursively walk the new structure,\n // passing each name/value pair to the reviver function for possible\n // transformation, starting with a temporary root object that holds the result\n // in an empty key. If there is not a reviver function, we simply return the\n // result.\n\n return typeof reviver === 'function' ? (function walk(holder, key) {\n var k, v, value = holder[key];\n if (value && typeof value === 'object') {\n for (k in value) {\n if (Object.prototype.hasOwnProperty.call(value, k)) {\n v = walk(value, k);\n if (v !== undefined) {\n value[k] = v;\n } else {\n delete value[k];\n }\n }\n }\n }\n return reviver.call(holder, key, value);\n }({'': result}, '')) : result;\n};\n","var cx = /[\\u0000\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g,\n escapable = /[\\\\\\\"\\x00-\\x1f\\x7f-\\x9f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g,\n gap,\n indent,\n meta = { // table of character substitutions\n '\\b': '\\\\b',\n '\\t': '\\\\t',\n '\\n': '\\\\n',\n '\\f': '\\\\f',\n '\\r': '\\\\r',\n '\"' : '\\\\\"',\n '\\\\': '\\\\\\\\'\n },\n rep;\n\nfunction quote(string) {\n // If the string contains no control characters, no quote characters, and no\n // backslash characters, then we can safely slap some quotes around it.\n // Otherwise we must also replace the offending characters with safe escape\n // sequences.\n \n escapable.lastIndex = 0;\n return escapable.test(string) ? '\"' + string.replace(escapable, function (a) {\n var c = meta[a];\n return typeof c === 'string' ? c :\n '\\\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4);\n }) + '\"' : '\"' + string + '\"';\n}\n\nfunction str(key, holder) {\n // Produce a string from holder[key].\n var i, // The loop counter.\n k, // The member key.\n v, // The member value.\n length,\n mind = gap,\n partial,\n value = holder[key];\n \n // If the value has a toJSON method, call it to obtain a replacement value.\n if (value && typeof value === 'object' &&\n typeof value.toJSON === 'function') {\n value = value.toJSON(key);\n }\n \n // If we were called with a replacer function, then call the replacer to\n // obtain a replacement value.\n if (typeof rep === 'function') {\n value = rep.call(holder, key, value);\n }\n \n // What happens next depends on the value's type.\n switch (typeof value) {\n case 'string':\n return quote(value);\n \n case 'number':\n // JSON numbers must be finite. Encode non-finite numbers as null.\n return isFinite(value) ? String(value) : 'null';\n \n case 'boolean':\n case 'null':\n // If the value is a boolean or null, convert it to a string. Note:\n // typeof null does not produce 'null'. The case is included here in\n // the remote chance that this gets fixed someday.\n return String(value);\n \n case 'object':\n if (!value) return 'null';\n gap += indent;\n partial = [];\n \n // Array.isArray\n if (Object.prototype.toString.apply(value) === '[object Array]') {\n length = value.length;\n for (i = 0; i < length; i += 1) {\n partial[i] = str(i, value) || 'null';\n }\n \n // Join all of the elements together, separated with commas, and\n // wrap them in brackets.\n v = partial.length === 0 ? '[]' : gap ?\n '[\\n' + gap + partial.join(',\\n' + gap) + '\\n' + mind + ']' :\n '[' + partial.join(',') + ']';\n gap = mind;\n return v;\n }\n \n // If the replacer is an array, use it to select the members to be\n // stringified.\n if (rep && typeof rep === 'object') {\n length = rep.length;\n for (i = 0; i < length; i += 1) {\n k = rep[i];\n if (typeof k === 'string') {\n v = str(k, value);\n if (v) {\n partial.push(quote(k) + (gap ? ': ' : ':') + v);\n }\n }\n }\n }\n else {\n // Otherwise, iterate through all of the keys in the object.\n for (k in value) {\n if (Object.prototype.hasOwnProperty.call(value, k)) {\n v = str(k, value);\n if (v) {\n partial.push(quote(k) + (gap ? ': ' : ':') + v);\n }\n }\n }\n }\n \n // Join all of the member texts together, separated with commas,\n // and wrap them in braces.\n\n v = partial.length === 0 ? '{}' : gap ?\n '{\\n' + gap + partial.join(',\\n' + gap) + '\\n' + mind + '}' :\n '{' + partial.join(',') + '}';\n gap = mind;\n return v;\n }\n}\n\nmodule.exports = function (value, replacer, space) {\n var i;\n gap = '';\n indent = '';\n \n // If the space parameter is a number, make an indent string containing that\n // many spaces.\n if (typeof space === 'number') {\n for (i = 0; i < space; i += 1) {\n indent += ' ';\n }\n }\n // If the space parameter is a string, it will be used as the indent string.\n else if (typeof space === 'string') {\n indent = space;\n }\n\n // If there is a replacer, it must be a function or an array.\n // Otherwise, throw an error.\n rep = replacer;\n if (replacer && typeof replacer !== 'function'\n && (typeof replacer !== 'object' || typeof replacer.length !== 'number')) {\n throw new Error('JSON.stringify');\n }\n \n // Make a fake root object containing our value under the key of ''.\n // Return the result of stringifying the value.\n return str('', {'': value});\n};\n","\"use strict\";\n/*\n * © OOO \"SI IKS LAB\", 2022-2023\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.__esModule = true;\nexports.RecordSnapshotState = void 0;\nvar RecordSnapshotState;\n(function (RecordSnapshotState) {\n RecordSnapshotState[\"noChange\"] = \"noChange\";\n RecordSnapshotState[\"new\"] = \"new\";\n RecordSnapshotState[\"deleted\"] = \"deleted\";\n})(RecordSnapshotState = exports.RecordSnapshotState || (exports.RecordSnapshotState = {}));\n","\"use strict\";\n/*\n * © OOO \"SI IKS LAB\", 2022-2023\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.__esModule = true;\n","\"use strict\";\n/*\n * © OOO \"SI IKS LAB\", 2022-2023\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.__esModule = true;\nexports.OperationTypeCrud = void 0;\n/**\n * TODO: Rename to CoreOperationRole in 2.0.0\n */\nvar OperationTypeCrud;\n(function (OperationTypeCrud) {\n OperationTypeCrud[\"create\"] = \"create\";\n OperationTypeCrud[\"save\"] = \"save\";\n OperationTypeCrud[\"delete\"] = \"delete\";\n OperationTypeCrud[\"associate\"] = \"associate\";\n OperationTypeCrud[\"cancelCreate\"] = \"cancel-create\";\n OperationTypeCrud[\"fileUpload\"] = \"file-upload\";\n})(OperationTypeCrud = exports.OperationTypeCrud || (exports.OperationTypeCrud = {}));\n","\"use strict\";\n/*\n * © OOO \"SI IKS LAB\", 2022-2023\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.__esModule = true;\nexports.DrillDownType = void 0;\n/**\n * Types of drilldowns in the application, specified by Cxbox API\n */\nvar DrillDownType;\n(function (DrillDownType) {\n /**\n * Drilldown to inner entity of the application (screen, view), i.e. url will be places after route hash sy: `#/${inner}`\n */\n DrillDownType[\"inner\"] = \"inner\";\n /**\n * Drilldown to an url relative to the current url: `/${relative}`\n */\n DrillDownType[\"relative\"] = \"relative\";\n /**\n * Drilldown to an url relative to the current url: `/${relative}` that opens in a new browser tab\n */\n DrillDownType[\"relativeNew\"] = \"relativeNew\";\n /**\n * An external redirect, i.e. `http://${external}`\n */\n DrillDownType[\"external\"] = \"external\";\n /**\n * An external redirect, i.e. `http://${external}` that opens in a new browser tab\n */\n DrillDownType[\"externalNew\"] = \"externalNew\";\n})(DrillDownType = exports.DrillDownType || (exports.DrillDownType = {}));\n","\"use strict\";\n/*\n * © OOO \"SI IKS LAB\", 2022-2023\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.__esModule = true;\nexports.FieldType = exports.PositionTypes = exports.WidgetTypes = void 0;\nvar WidgetTypes;\n(function (WidgetTypes) {\n WidgetTypes[\"Info\"] = \"Info\";\n WidgetTypes[\"Form\"] = \"Form\";\n WidgetTypes[\"List\"] = \"List\";\n WidgetTypes[\"DataGrid\"] = \"DataGrid\";\n WidgetTypes[\"AssocListPopup\"] = \"AssocListPopup\";\n WidgetTypes[\"PickListPopup\"] = \"PickListPopup\";\n WidgetTypes[\"HeaderWidget\"] = \"HeaderWidget\";\n WidgetTypes[\"SecondLevelMenu\"] = \"SecondLevelMenu\";\n WidgetTypes[\"ThirdLevelMenu\"] = \"ThirdLevelMenu\";\n WidgetTypes[\"FourthLevelMenu\"] = \"FourthLevelMenu\";\n WidgetTypes[\"WidgetCreator\"] = \"WidgetCreator\";\n WidgetTypes[\"Pivot\"] = \"Pivot\";\n WidgetTypes[\"DimFilter\"] = \"DimFilter\";\n WidgetTypes[\"Text\"] = \"Text\";\n WidgetTypes[\"FlatTree\"] = \"FlatTree\";\n WidgetTypes[\"FlatTreePopup\"] = \"FlatTreePopup\";\n /**\n * Navigation tabs widget to be excluded from the widget stream\n */\n WidgetTypes[\"ViewNavigation\"] = \"ViewNavigation\";\n /**\n * Navigation tabs widget to be displayed in the widget stream\n */\n WidgetTypes[\"NavigationTabs\"] = \"NavigationTabs\";\n})(WidgetTypes = exports.WidgetTypes || (exports.WidgetTypes = {}));\n/**\n * Description of possible positioning options\n */\nvar PositionTypes;\n(function (PositionTypes) {\n PositionTypes[\"Top\"] = \"Top\";\n PositionTypes[\"Bottom\"] = \"Bottom\";\n PositionTypes[\"TopAndBottom\"] = \"TopAndBottom\";\n})(PositionTypes = exports.PositionTypes || (exports.PositionTypes = {}));\nvar FieldType;\n(function (FieldType) {\n FieldType[\"number\"] = \"number\";\n FieldType[\"input\"] = \"input\";\n FieldType[\"monthYear\"] = \"monthYear\";\n FieldType[\"date\"] = \"date\";\n FieldType[\"dateTime\"] = \"dateTime\";\n FieldType[\"dateTimeWithSeconds\"] = \"dateTimeWithSeconds\";\n FieldType[\"checkbox\"] = \"checkbox\";\n /**\n * @deprecated TODO: project-specific, remove in 2.0.0\n */\n FieldType[\"checkboxSql\"] = \"checkboxSql\";\n /**\n * @deprecated TODO: project-specific, remove in 2.0.0\n */\n FieldType[\"DMN\"] = \"DMN\";\n FieldType[\"pickList\"] = \"pickList\";\n FieldType[\"inlinePickList\"] = \"inline-pickList\";\n FieldType[\"dictionary\"] = \"dictionary\";\n FieldType[\"hidden\"] = \"hidden\";\n FieldType[\"text\"] = \"text\";\n FieldType[\"percent\"] = \"percent\";\n FieldType[\"fileUpload\"] = \"fileUpload\";\n FieldType[\"money\"] = \"money\";\n /**\n * @deprecated TODO: project-specific, remove in 2.0.0\n */\n FieldType[\"comboCondition\"] = \"combo-condition\";\n FieldType[\"richText\"] = \"richText\";\n FieldType[\"printForm\"] = \"printForm\";\n FieldType[\"multifield\"] = \"multifield\";\n FieldType[\"multivalue\"] = \"multivalue\";\n FieldType[\"multivalueHover\"] = \"multivalueHover\";\n FieldType[\"hint\"] = \"hint\";\n FieldType[\"radio\"] = \"radio\";\n})(FieldType = exports.FieldType || (exports.FieldType = {}));\n"],"sourceRoot":""}
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
!function(e,t){for(var n in t)e[n]=t[n]}(exports,function(e){var t={};function n(r){if(t[r])return t[r].exports;var i=t[r]={i:r,l:!1,exports:{}};return e[r].call(i.exports,i,i.exports,n),i.l=!0,i.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var i in e)n.d(r,i,function(t){return e[t]}.bind(null,i));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=34)}({16:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),i=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};t.__esModule=!0,t.run=void 0;var o=n(80);r(t,o,"run"),i(n(88),t),i(n(89),t),i(n(90),t),i(n(91),t),i(n(92),t)},34:function(e,t,n){"use strict";n.r(t),n.d(t,"RouteType",(function(){return r}));var r,i=n(16);n.d(t,"DrillDownType",(function(){return i.DrillDownType})),function(e){e.screen="screen",e.default="default",e.router="router",e.invalid="invalid",e.unknown="unknown"}(r||(r={}))},57:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},80:function(e,t,n){"use strict";(function(e,r){t.__esModule=!0,t.run=void 0;var i=n(81),o=n(82),u=n(83),c=n(87);function a(){var t=["ScreenMeta","ViewMeta","WidgetMeta","SqlBc"];o.existsSync("schemas")||o.mkdirSync("schemas");var n=c.getProgramFromFiles(t.map((function(t){return i.join(e,"../","src/files/"+t+".ts")})),{strictNullChecks:!0}),r=c.buildGenerator(n,{required:!0});t.forEach((function(e){var t=r.getSchemaForSymbol(e+"Json");o.writeFile("schemas/"+e+".json",function(e){return u(e,{space:4})+"\n\n"}(t),(function(e){if(e)throw new Error("Unable to write output file: "+e.message)}))}))}t.run=a,"undefined"==typeof window&&n.c[n.s]===r&&a()}).call(this,"/",n(57)(e))},81:function(e,t){},82:function(e,t){},83:function(e,t,n){var r="undefined"!=typeof JSON?JSON:n(84);e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var n=t.space||"";"number"==typeof n&&(n=Array(n+1).join(" "));var u,c="boolean"==typeof t.cycles&&t.cycles,a=t.replacer||function(e,t){return t},f=t.cmp&&(u=t.cmp,function(e){return function(t,n){var r={key:t,value:e[t]},i={key:n,value:e[n]};return u(r,i)}}),l=[];return function e(t,u,s,p){var d=n?"\n"+new Array(p+1).join(n):"",y=n?": ":":";if(s&&s.toJSON&&"function"==typeof s.toJSON&&(s=s.toJSON()),void 0!==(s=a.call(t,u,s))){if("object"!=typeof s||null===s)return r.stringify(s);if(i(s)){for(var v=[],h=0;h<s.length;h++){var b=e(s,h,s[h],p+1)||r.stringify(null);v.push(d+n+b)}return"["+v.join(",")+d+"]"}if(-1!==l.indexOf(s)){if(c)return r.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}l.push(s);var m=o(s).sort(f&&f(s));for(v=[],h=0;h<m.length;h++){var g=e(s,u=m[h],s[u],p+1);if(g){var S=r.stringify(u)+y+g;v.push(d+n+S)}}return l.splice(l.indexOf(s),1),"{"+v.join(",")+d+"}"}}({"":e},"",e,0)};var i=Array.isArray||function(e){return"[object Array]"==={}.toString.call(e)},o=Object.keys||function(e){var t=Object.prototype.hasOwnProperty||function(){return!0},n=[];for(var r in e)t.call(e,r)&&n.push(r);return n}},84:function(e,t,n){t.parse=n(85),t.stringify=n(86)},85:function(e,t){var n,r,i,o,u={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},c=function(e){throw{name:"SyntaxError",message:e,at:n,text:i}},a=function(e){return e&&e!==r&&c("Expected '"+e+"' instead of '"+r+"'"),r=i.charAt(n),n+=1,r},f=function(){var e,t="";for("-"===r&&(t="-",a("-"));r>="0"&&r<="9";)t+=r,a();if("."===r)for(t+=".";a()&&r>="0"&&r<="9";)t+=r;if("e"===r||"E"===r)for(t+=r,a(),"-"!==r&&"+"!==r||(t+=r,a());r>="0"&&r<="9";)t+=r,a();if(e=+t,isFinite(e))return e;c("Bad number")},l=function(){var e,t,n,i="";if('"'===r)for(;a();){if('"'===r)return a(),i;if("\\"===r)if(a(),"u"===r){for(n=0,t=0;t<4&&(e=parseInt(a(),16),isFinite(e));t+=1)n=16*n+e;i+=String.fromCharCode(n)}else{if("string"!=typeof u[r])break;i+=u[r]}else i+=r}c("Bad string")},s=function(){for(;r&&r<=" ";)a()};o=function(){switch(s(),r){case"{":return function(){var e,t={};if("{"===r){if(a("{"),s(),"}"===r)return a("}"),t;for(;r;){if(e=l(),s(),a(":"),Object.hasOwnProperty.call(t,e)&&c('Duplicate key "'+e+'"'),t[e]=o(),s(),"}"===r)return a("}"),t;a(","),s()}}c("Bad object")}();case"[":return function(){var e=[];if("["===r){if(a("["),s(),"]"===r)return a("]"),e;for(;r;){if(e.push(o()),s(),"]"===r)return a("]"),e;a(","),s()}}c("Bad array")}();case'"':return l();case"-":return f();default:return r>="0"&&r<="9"?f():function(){switch(r){case"t":return a("t"),a("r"),a("u"),a("e"),!0;case"f":return a("f"),a("a"),a("l"),a("s"),a("e"),!1;case"n":return a("n"),a("u"),a("l"),a("l"),null}c("Unexpected '"+r+"'")}()}},e.exports=function(e,t){var u;return i=e,n=0,r=" ",u=o(),s(),r&&c("Syntax error"),"function"==typeof t?function e(n,r){var i,o,u=n[r];if(u&&"object"==typeof u)for(i in u)Object.prototype.hasOwnProperty.call(u,i)&&(void 0!==(o=e(u,i))?u[i]=o:delete u[i]);return t.call(n,r,u)}({"":u},""):u}},86:function(e,t){var n,r,i,o=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,u={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function c(e){return o.lastIndex=0,o.test(e)?'"'+e.replace(o,(function(e){var t=u[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+e+'"'}e.exports=function(e,t,o){var u;if(n="",r="","number"==typeof o)for(u=0;u<o;u+=1)r+=" ";else"string"==typeof o&&(r=o);if(i=t,t&&"function"!=typeof t&&("object"!=typeof t||"number"!=typeof t.length))throw new Error("JSON.stringify");return function e(t,o){var u,a,f,l,s,p=n,d=o[t];switch(d&&"object"==typeof d&&"function"==typeof d.toJSON&&(d=d.toJSON(t)),"function"==typeof i&&(d=i.call(o,t,d)),typeof d){case"string":return c(d);case"number":return isFinite(d)?String(d):"null";case"boolean":case"null":return String(d);case"object":if(!d)return"null";if(n+=r,s=[],"[object Array]"===Object.prototype.toString.apply(d)){for(l=d.length,u=0;u<l;u+=1)s[u]=e(u,d)||"null";return f=0===s.length?"[]":n?"[\n"+n+s.join(",\n"+n)+"\n"+p+"]":"["+s.join(",")+"]",n=p,f}if(i&&"object"==typeof i)for(l=i.length,u=0;u<l;u+=1)"string"==typeof(a=i[u])&&(f=e(a,d))&&s.push(c(a)+(n?": ":":")+f);else for(a in d)Object.prototype.hasOwnProperty.call(d,a)&&(f=e(a,d))&&s.push(c(a)+(n?": ":":")+f);return f=0===s.length?"{}":n?"{\n"+n+s.join(",\n"+n)+"\n"+p+"}":"{"+s.join(",")+"}",n=p,f}}("",{"":e})}},87:function(e,t){},88:function(e,t,n){"use strict";t.__esModule=!0,t.RecordSnapshotState=void 0,function(e){e.noChange="noChange",e.new="new",e.deleted="deleted"}(t.RecordSnapshotState||(t.RecordSnapshotState={}))},89:function(e,t,n){"use strict";t.__esModule=!0},90:function(e,t,n){"use strict";t.__esModule=!0,t.OperationTypeCrud=void 0,function(e){e.create="create",e.save="save",e.delete="delete",e.associate="associate",e.cancelCreate="cancel-create",e.fileUpload="file-upload"}(t.OperationTypeCrud||(t.OperationTypeCrud={}))},91:function(e,t,n){"use strict";t.__esModule=!0,t.DrillDownType=void 0,function(e){e.inner="inner",e.relative="relative",e.relativeNew="relativeNew",e.external="external",e.externalNew="externalNew"}(t.DrillDownType||(t.DrillDownType={}))},92:function(e,t,n){"use strict";t.__esModule=!0,t.FieldType=t.PositionTypes=t.WidgetTypes=void 0,function(e){e.Info="Info",e.Form="Form",e.List="List",e.DataGrid="DataGrid",e.AssocListPopup="AssocListPopup",e.PickListPopup="PickListPopup",e.HeaderWidget="HeaderWidget",e.SecondLevelMenu="SecondLevelMenu",e.ThirdLevelMenu="ThirdLevelMenu",e.FourthLevelMenu="FourthLevelMenu",e.WidgetCreator="WidgetCreator",e.Pivot="Pivot",e.DimFilter="DimFilter",e.Text="Text",e.FlatTree="FlatTree",e.FlatTreePopup="FlatTreePopup",e.ViewNavigation="ViewNavigation",e.NavigationTabs="NavigationTabs"}(t.WidgetTypes||(t.WidgetTypes={})),function(e){e.Top="Top",e.Bottom="Bottom",e.TopAndBottom="TopAndBottom"}(t.PositionTypes||(t.PositionTypes={})),function(e){e.number="number",e.input="input",e.monthYear="monthYear",e.date="date",e.dateTime="dateTime",e.dateTimeWithSeconds="dateTimeWithSeconds",e.checkbox="checkbox",e.checkboxSql="checkboxSql",e.DMN="DMN",e.pickList="pickList",e.inlinePickList="inline-pickList",e.dictionary="dictionary",e.hidden="hidden",e.text="text",e.percent="percent",e.fileUpload="fileUpload",e.money="money",e.comboCondition="combo-condition",e.richText="richText",e.printForm="printForm",e.multifield="multifield",e.multivalue="multivalue",e.multivalueHover="multivalueHover",e.hint="hint",e.radio="radio"}(t.FieldType||(t.FieldType={}))}}));
|
|
2
|
+
//# sourceMappingURL=router.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./node_modules/@cxbox-ui/schema/dist/index.js","webpack:///./src/interfaces/router.ts","webpack:///(webpack)/buildin/module.js","webpack:///./node_modules/@cxbox-ui/schema/dist/generator.js","webpack:///./node_modules/json-stable-stringify/index.js","webpack:///./node_modules/jsonify/index.js","webpack:///./node_modules/jsonify/lib/parse.js","webpack:///./node_modules/jsonify/lib/stringify.js","webpack:///./node_modules/@cxbox-ui/schema/dist/interfaces/data.js","webpack:///./node_modules/@cxbox-ui/schema/dist/interfaces/navigation.js","webpack:///./node_modules/@cxbox-ui/schema/dist/interfaces/operations.js","webpack:///./node_modules/@cxbox-ui/schema/dist/interfaces/router.js","webpack:///./node_modules/@cxbox-ui/schema/dist/interfaces/widget.js"],"names":["installedModules","__webpack_require__","moduleId","exports","module","i","l","modules","call","m","c","d","name","getter","o","Object","defineProperty","enumerable","get","r","Symbol","toStringTag","value","t","mode","__esModule","ns","create","key","bind","n","object","property","prototype","hasOwnProperty","p","s","__createBinding","this","k","k2","undefined","__exportStar","run","generator_1","RouteType","webpackPolyfill","deprecate","paths","children","path_1","fs_1","stringify","TJS","schemas","existsSync","mkdirSync","program","getProgramFromFiles","map","item","join","__dirname","strictNullChecks","generator","buildGenerator","required","forEach","definition","getSchemaForSymbol","writeFile","src","space","stringifyJson","err","Error","message","window","json","JSON","obj","opts","cmp","Array","f","cycles","replacer","node","a","b","aobj","bobj","seen","parent","level","indent","colonSeparator","toJSON","isArray","out","length","push","indexOf","TypeError","keys","objectKeys","sort","keyValue","splice","x","toString","has","parse","at","ch","text","escapee","error","next","charAt","number","string","isFinite","hex","uffff","parseInt","String","fromCharCode","white","array","word","source","reviver","result","walk","holder","v","gap","rep","escapable","meta","quote","lastIndex","test","replace","charCodeAt","slice","str","partial","mind","apply","RecordSnapshotState","OperationTypeCrud","DrillDownType","FieldType","PositionTypes","WidgetTypes"],"mappings":"6DACE,IAAIA,EAAmB,GAGvB,SAASC,EAAoBC,GAG5B,GAAGF,EAAiBE,GACnB,OAAOF,EAAiBE,GA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A,EAAqB,UAAI,YACzBA,EAAsB,WAAI,aAC1BA,EAAsB,WAAI,aAC1BA,EAA2B,gBAAI,kBAC/BA,EAAgB,KAAI,OACpBA,EAAiB,MAAI,QAlCzB,CAmCevJ,EAAQuJ,YAAcvJ,EAAQuJ,UAAY","file":"interfaces/router.js","sourcesContent":[" \t// The module cache\n \tvar installedModules = {};\n\n \t// The require function\n \tfunction __webpack_require__(moduleId) {\n\n \t\t// Check if module is in cache\n \t\tif(installedModules[moduleId]) {\n \t\t\treturn installedModules[moduleId].exports;\n \t\t}\n \t\t// Create a new module (and put it into the cache)\n \t\tvar module = installedModules[moduleId] = {\n \t\t\ti: moduleId,\n \t\t\tl: false,\n \t\t\texports: {}\n \t\t};\n\n \t\t// Execute the module function\n \t\tmodules[moduleId].call(module.exports, module, module.exports, __webpack_require__);\n\n \t\t// Flag the module as loaded\n \t\tmodule.l = true;\n\n \t\t// Return the exports of the module\n \t\treturn module.exports;\n \t}\n\n\n \t// expose the modules object (__webpack_modules__)\n \t__webpack_require__.m = modules;\n\n \t// expose the module cache\n \t__webpack_require__.c = installedModules;\n\n \t// define getter function for harmony exports\n \t__webpack_require__.d = function(exports, name, getter) {\n \t\tif(!__webpack_require__.o(exports, name)) {\n \t\t\tObject.defineProperty(exports, name, { enumerable: true, get: getter });\n \t\t}\n \t};\n\n \t// define __esModule on exports\n \t__webpack_require__.r = function(exports) {\n \t\tif(typeof Symbol !== 'undefined' && Symbol.toStringTag) {\n \t\t\tObject.defineProperty(exports, Symbol.toStringTag, { value: 'Module' });\n \t\t}\n \t\tObject.defineProperty(exports, '__esModule', { value: true });\n \t};\n\n \t// create a fake namespace object\n \t// mode & 1: value is a module id, require it\n \t// mode & 2: merge all properties of value into the ns\n \t// mode & 4: return value when already ns object\n \t// mode & 8|1: behave like require\n \t__webpack_require__.t = function(value, mode) {\n \t\tif(mode & 1) value = __webpack_require__(value);\n \t\tif(mode & 8) return value;\n \t\tif((mode & 4) && typeof value === 'object' && value && value.__esModule) return value;\n \t\tvar ns = Object.create(null);\n \t\t__webpack_require__.r(ns);\n \t\tObject.defineProperty(ns, 'default', { enumerable: true, value: value });\n \t\tif(mode & 2 && typeof value != 'string') for(var key in value) __webpack_require__.d(ns, key, function(key) { return value[key]; }.bind(null, key));\n \t\treturn ns;\n \t};\n\n \t// getDefaultExport function for compatibility with non-harmony modules\n \t__webpack_require__.n = function(module) {\n \t\tvar getter = module && module.__esModule ?\n \t\t\tfunction getDefault() { return module['default']; } :\n \t\t\tfunction getModuleExports() { return module; };\n \t\t__webpack_require__.d(getter, 'a', getter);\n \t\treturn getter;\n \t};\n\n \t// Object.prototype.hasOwnProperty.call\n \t__webpack_require__.o = function(object, property) { return Object.prototype.hasOwnProperty.call(object, property); };\n\n \t// __webpack_public_path__\n \t__webpack_require__.p = \"\";\n\n\n \t// Load entry module and return exports\n \treturn __webpack_require__(__webpack_require__.s = 34);\n","\"use strict\";\n/*\n * © OOO \"SI IKS LAB\", 2022-2023\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nvar __createBinding = (this && this.__createBinding) || (Object.create ? (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n Object.defineProperty(o, k2, { enumerable: true, get: function() { return m[k]; } });\n}) : (function(o, m, k, k2) {\n if (k2 === undefined) k2 = k;\n o[k2] = m[k];\n}));\nvar __exportStar = (this && this.__exportStar) || function(m, exports) {\n for (var p in m) if (p !== \"default\" && !Object.prototype.hasOwnProperty.call(exports, p)) __createBinding(exports, m, p);\n};\nexports.__esModule = true;\nexports.run = void 0;\nvar generator_1 = require(\"./generator\");\n__createBinding(exports, generator_1, \"run\");\n__exportStar(require(\"./interfaces/data\"), exports);\n__exportStar(require(\"./interfaces/navigation\"), exports);\n__exportStar(require(\"./interfaces/operations\"), exports);\n__exportStar(require(\"./interfaces/router\"), exports);\n__exportStar(require(\"./interfaces/widget\"), exports);\n","/*\n * © OOO \"SI IKS LAB\", 2022-2023\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\n\nexport { DrillDownType } from '@cxbox-ui/schema'\n\nexport interface Route {\n type: RouteType\n path: string\n params: Record<string, unknown>\n screenName?: string\n viewName?: string\n bcPath?: string\n}\n\nexport enum RouteType {\n screen = 'screen',\n default = 'default',\n router = 'router',\n invalid = 'invalid',\n unknown = 'unknown'\n}\n","module.exports = function(module) {\n\tif (!module.webpackPolyfill) {\n\t\tmodule.deprecate = function() {};\n\t\tmodule.paths = [];\n\t\t// module.parent = undefined by default\n\t\tif (!module.children) module.children = [];\n\t\tObject.defineProperty(module, \"loaded\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.l;\n\t\t\t}\n\t\t});\n\t\tObject.defineProperty(module, \"id\", {\n\t\t\tenumerable: true,\n\t\t\tget: function() {\n\t\t\t\treturn module.i;\n\t\t\t}\n\t\t});\n\t\tmodule.webpackPolyfill = 1;\n\t}\n\treturn module;\n};\n","\"use strict\";\n/*\n * © OOO \"SI IKS LAB\", 2022-2023\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.__esModule = true;\nexports.run = void 0;\nvar path_1 = require(\"path\");\nvar fs_1 = require(\"fs\");\nvar stringify = require(\"json-stable-stringify\");\nvar TJS = require(\"typescript-json-schema\");\nfunction run() {\n var settings = {\n required: true\n };\n var compilerOptions = {\n strictNullChecks: true\n };\n var schemas = ['ScreenMeta', 'ViewMeta', 'WidgetMeta', 'SqlBc'];\n if (!fs_1.existsSync('schemas')) {\n fs_1.mkdirSync('schemas');\n }\n var program = TJS.getProgramFromFiles(schemas.map(function (item) { return path_1.join(__dirname, '../', \"src/files/\" + item + \".ts\"); }), compilerOptions);\n var generator = TJS.buildGenerator(program, settings);\n write(schemas);\n function write(src) {\n src.forEach(function (item) {\n var definition = generator.getSchemaForSymbol(item + \"Json\");\n fs_1.writeFile(\"schemas/\" + item + \".json\", stringifyJson(definition), function (err) {\n if (err) {\n throw new Error('Unable to write output file: ' + err.message);\n }\n });\n });\n }\n}\nexports.run = run;\nfunction stringifyJson(src) {\n return stringify(src, { space: 4 }) + '\\n\\n';\n}\nif (typeof window === 'undefined' && require.main === module) {\n run();\n}\n","var json = typeof JSON !== 'undefined' ? JSON : require('jsonify');\n\nmodule.exports = function (obj, opts) {\n if (!opts) opts = {};\n if (typeof opts === 'function') opts = { cmp: opts };\n var space = opts.space || '';\n if (typeof space === 'number') space = Array(space+1).join(' ');\n var cycles = (typeof opts.cycles === 'boolean') ? opts.cycles : false;\n var replacer = opts.replacer || function(key, value) { return value; };\n\n var cmp = opts.cmp && (function (f) {\n return function (node) {\n return function (a, b) {\n var aobj = { key: a, value: node[a] };\n var bobj = { key: b, value: node[b] };\n return f(aobj, bobj);\n };\n };\n })(opts.cmp);\n\n var seen = [];\n return (function stringify (parent, key, node, level) {\n var indent = space ? ('\\n' + new Array(level + 1).join(space)) : '';\n var colonSeparator = space ? ': ' : ':';\n\n if (node && node.toJSON && typeof node.toJSON === 'function') {\n node = node.toJSON();\n }\n\n node = replacer.call(parent, key, node);\n\n if (node === undefined) {\n return;\n }\n if (typeof node !== 'object' || node === null) {\n return json.stringify(node);\n }\n if (isArray(node)) {\n var out = [];\n for (var i = 0; i < node.length; i++) {\n var item = stringify(node, i, node[i], level+1) || json.stringify(null);\n out.push(indent + space + item);\n }\n return '[' + out.join(',') + indent + ']';\n }\n else {\n if (seen.indexOf(node) !== -1) {\n if (cycles) return json.stringify('__cycle__');\n throw new TypeError('Converting circular structure to JSON');\n }\n else seen.push(node);\n\n var keys = objectKeys(node).sort(cmp && cmp(node));\n var out = [];\n for (var i = 0; i < keys.length; i++) {\n var key = keys[i];\n var value = stringify(node, key, node[key], level+1);\n\n if(!value) continue;\n\n var keyValue = json.stringify(key)\n + colonSeparator\n + value;\n ;\n out.push(indent + space + keyValue);\n }\n seen.splice(seen.indexOf(node), 1);\n return '{' + out.join(',') + indent + '}';\n }\n })({ '': obj }, '', obj, 0);\n};\n\nvar isArray = Array.isArray || function (x) {\n return {}.toString.call(x) === '[object Array]';\n};\n\nvar objectKeys = Object.keys || function (obj) {\n var has = Object.prototype.hasOwnProperty || function () { return true };\n var keys = [];\n for (var key in obj) {\n if (has.call(obj, key)) keys.push(key);\n }\n return keys;\n};\n","exports.parse = require('./lib/parse');\nexports.stringify = require('./lib/stringify');\n","var at, // The index of the current character\n ch, // The current character\n escapee = {\n '\"': '\"',\n '\\\\': '\\\\',\n '/': '/',\n b: '\\b',\n f: '\\f',\n n: '\\n',\n r: '\\r',\n t: '\\t'\n },\n text,\n\n error = function (m) {\n // Call error when something is wrong.\n throw {\n name: 'SyntaxError',\n message: m,\n at: at,\n text: text\n };\n },\n \n next = function (c) {\n // If a c parameter is provided, verify that it matches the current character.\n if (c && c !== ch) {\n error(\"Expected '\" + c + \"' instead of '\" + ch + \"'\");\n }\n \n // Get the next character. When there are no more characters,\n // return the empty string.\n \n ch = text.charAt(at);\n at += 1;\n return ch;\n },\n \n number = function () {\n // Parse a number value.\n var number,\n string = '';\n \n if (ch === '-') {\n string = '-';\n next('-');\n }\n while (ch >= '0' && ch <= '9') {\n string += ch;\n next();\n }\n if (ch === '.') {\n string += '.';\n while (next() && ch >= '0' && ch <= '9') {\n string += ch;\n }\n }\n if (ch === 'e' || ch === 'E') {\n string += ch;\n next();\n if (ch === '-' || ch === '+') {\n string += ch;\n next();\n }\n while (ch >= '0' && ch <= '9') {\n string += ch;\n next();\n }\n }\n number = +string;\n if (!isFinite(number)) {\n error(\"Bad number\");\n } else {\n return number;\n }\n },\n \n string = function () {\n // Parse a string value.\n var hex,\n i,\n string = '',\n uffff;\n \n // When parsing for string values, we must look for \" and \\ characters.\n if (ch === '\"') {\n while (next()) {\n if (ch === '\"') {\n next();\n return string;\n } else if (ch === '\\\\') {\n next();\n if (ch === 'u') {\n uffff = 0;\n for (i = 0; i < 4; i += 1) {\n hex = parseInt(next(), 16);\n if (!isFinite(hex)) {\n break;\n }\n uffff = uffff * 16 + hex;\n }\n string += String.fromCharCode(uffff);\n } else if (typeof escapee[ch] === 'string') {\n string += escapee[ch];\n } else {\n break;\n }\n } else {\n string += ch;\n }\n }\n }\n error(\"Bad string\");\n },\n\n white = function () {\n\n// Skip whitespace.\n\n while (ch && ch <= ' ') {\n next();\n }\n },\n\n word = function () {\n\n// true, false, or null.\n\n switch (ch) {\n case 't':\n next('t');\n next('r');\n next('u');\n next('e');\n return true;\n case 'f':\n next('f');\n next('a');\n next('l');\n next('s');\n next('e');\n return false;\n case 'n':\n next('n');\n next('u');\n next('l');\n next('l');\n return null;\n }\n error(\"Unexpected '\" + ch + \"'\");\n },\n\n value, // Place holder for the value function.\n\n array = function () {\n\n// Parse an array value.\n\n var array = [];\n\n if (ch === '[') {\n next('[');\n white();\n if (ch === ']') {\n next(']');\n return array; // empty array\n }\n while (ch) {\n array.push(value());\n white();\n if (ch === ']') {\n next(']');\n return array;\n }\n next(',');\n white();\n }\n }\n error(\"Bad array\");\n },\n\n object = function () {\n\n// Parse an object value.\n\n var key,\n object = {};\n\n if (ch === '{') {\n next('{');\n white();\n if (ch === '}') {\n next('}');\n return object; // empty object\n }\n while (ch) {\n key = string();\n white();\n next(':');\n if (Object.hasOwnProperty.call(object, key)) {\n error('Duplicate key \"' + key + '\"');\n }\n object[key] = value();\n white();\n if (ch === '}') {\n next('}');\n return object;\n }\n next(',');\n white();\n }\n }\n error(\"Bad object\");\n };\n\nvalue = function () {\n\n// Parse a JSON value. It could be an object, an array, a string, a number,\n// or a word.\n\n white();\n switch (ch) {\n case '{':\n return object();\n case '[':\n return array();\n case '\"':\n return string();\n case '-':\n return number();\n default:\n return ch >= '0' && ch <= '9' ? number() : word();\n }\n};\n\n// Return the json_parse function. It will have access to all of the above\n// functions and variables.\n\nmodule.exports = function (source, reviver) {\n var result;\n \n text = source;\n at = 0;\n ch = ' ';\n result = value();\n white();\n if (ch) {\n error(\"Syntax error\");\n }\n\n // If there is a reviver function, we recursively walk the new structure,\n // passing each name/value pair to the reviver function for possible\n // transformation, starting with a temporary root object that holds the result\n // in an empty key. If there is not a reviver function, we simply return the\n // result.\n\n return typeof reviver === 'function' ? (function walk(holder, key) {\n var k, v, value = holder[key];\n if (value && typeof value === 'object') {\n for (k in value) {\n if (Object.prototype.hasOwnProperty.call(value, k)) {\n v = walk(value, k);\n if (v !== undefined) {\n value[k] = v;\n } else {\n delete value[k];\n }\n }\n }\n }\n return reviver.call(holder, key, value);\n }({'': result}, '')) : result;\n};\n","var cx = /[\\u0000\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g,\n escapable = /[\\\\\\\"\\x00-\\x1f\\x7f-\\x9f\\u00ad\\u0600-\\u0604\\u070f\\u17b4\\u17b5\\u200c-\\u200f\\u2028-\\u202f\\u2060-\\u206f\\ufeff\\ufff0-\\uffff]/g,\n gap,\n indent,\n meta = { // table of character substitutions\n '\\b': '\\\\b',\n '\\t': '\\\\t',\n '\\n': '\\\\n',\n '\\f': '\\\\f',\n '\\r': '\\\\r',\n '\"' : '\\\\\"',\n '\\\\': '\\\\\\\\'\n },\n rep;\n\nfunction quote(string) {\n // If the string contains no control characters, no quote characters, and no\n // backslash characters, then we can safely slap some quotes around it.\n // Otherwise we must also replace the offending characters with safe escape\n // sequences.\n \n escapable.lastIndex = 0;\n return escapable.test(string) ? '\"' + string.replace(escapable, function (a) {\n var c = meta[a];\n return typeof c === 'string' ? c :\n '\\\\u' + ('0000' + a.charCodeAt(0).toString(16)).slice(-4);\n }) + '\"' : '\"' + string + '\"';\n}\n\nfunction str(key, holder) {\n // Produce a string from holder[key].\n var i, // The loop counter.\n k, // The member key.\n v, // The member value.\n length,\n mind = gap,\n partial,\n value = holder[key];\n \n // If the value has a toJSON method, call it to obtain a replacement value.\n if (value && typeof value === 'object' &&\n typeof value.toJSON === 'function') {\n value = value.toJSON(key);\n }\n \n // If we were called with a replacer function, then call the replacer to\n // obtain a replacement value.\n if (typeof rep === 'function') {\n value = rep.call(holder, key, value);\n }\n \n // What happens next depends on the value's type.\n switch (typeof value) {\n case 'string':\n return quote(value);\n \n case 'number':\n // JSON numbers must be finite. Encode non-finite numbers as null.\n return isFinite(value) ? String(value) : 'null';\n \n case 'boolean':\n case 'null':\n // If the value is a boolean or null, convert it to a string. Note:\n // typeof null does not produce 'null'. The case is included here in\n // the remote chance that this gets fixed someday.\n return String(value);\n \n case 'object':\n if (!value) return 'null';\n gap += indent;\n partial = [];\n \n // Array.isArray\n if (Object.prototype.toString.apply(value) === '[object Array]') {\n length = value.length;\n for (i = 0; i < length; i += 1) {\n partial[i] = str(i, value) || 'null';\n }\n \n // Join all of the elements together, separated with commas, and\n // wrap them in brackets.\n v = partial.length === 0 ? '[]' : gap ?\n '[\\n' + gap + partial.join(',\\n' + gap) + '\\n' + mind + ']' :\n '[' + partial.join(',') + ']';\n gap = mind;\n return v;\n }\n \n // If the replacer is an array, use it to select the members to be\n // stringified.\n if (rep && typeof rep === 'object') {\n length = rep.length;\n for (i = 0; i < length; i += 1) {\n k = rep[i];\n if (typeof k === 'string') {\n v = str(k, value);\n if (v) {\n partial.push(quote(k) + (gap ? ': ' : ':') + v);\n }\n }\n }\n }\n else {\n // Otherwise, iterate through all of the keys in the object.\n for (k in value) {\n if (Object.prototype.hasOwnProperty.call(value, k)) {\n v = str(k, value);\n if (v) {\n partial.push(quote(k) + (gap ? ': ' : ':') + v);\n }\n }\n }\n }\n \n // Join all of the member texts together, separated with commas,\n // and wrap them in braces.\n\n v = partial.length === 0 ? '{}' : gap ?\n '{\\n' + gap + partial.join(',\\n' + gap) + '\\n' + mind + '}' :\n '{' + partial.join(',') + '}';\n gap = mind;\n return v;\n }\n}\n\nmodule.exports = function (value, replacer, space) {\n var i;\n gap = '';\n indent = '';\n \n // If the space parameter is a number, make an indent string containing that\n // many spaces.\n if (typeof space === 'number') {\n for (i = 0; i < space; i += 1) {\n indent += ' ';\n }\n }\n // If the space parameter is a string, it will be used as the indent string.\n else if (typeof space === 'string') {\n indent = space;\n }\n\n // If there is a replacer, it must be a function or an array.\n // Otherwise, throw an error.\n rep = replacer;\n if (replacer && typeof replacer !== 'function'\n && (typeof replacer !== 'object' || typeof replacer.length !== 'number')) {\n throw new Error('JSON.stringify');\n }\n \n // Make a fake root object containing our value under the key of ''.\n // Return the result of stringifying the value.\n return str('', {'': value});\n};\n","\"use strict\";\n/*\n * © OOO \"SI IKS LAB\", 2022-2023\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.__esModule = true;\nexports.RecordSnapshotState = void 0;\nvar RecordSnapshotState;\n(function (RecordSnapshotState) {\n RecordSnapshotState[\"noChange\"] = \"noChange\";\n RecordSnapshotState[\"new\"] = \"new\";\n RecordSnapshotState[\"deleted\"] = \"deleted\";\n})(RecordSnapshotState = exports.RecordSnapshotState || (exports.RecordSnapshotState = {}));\n","\"use strict\";\n/*\n * © OOO \"SI IKS LAB\", 2022-2023\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.__esModule = true;\n","\"use strict\";\n/*\n * © OOO \"SI IKS LAB\", 2022-2023\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.__esModule = true;\nexports.OperationTypeCrud = void 0;\n/**\n * TODO: Rename to CoreOperationRole in 2.0.0\n */\nvar OperationTypeCrud;\n(function (OperationTypeCrud) {\n OperationTypeCrud[\"create\"] = \"create\";\n OperationTypeCrud[\"save\"] = \"save\";\n OperationTypeCrud[\"delete\"] = \"delete\";\n OperationTypeCrud[\"associate\"] = \"associate\";\n OperationTypeCrud[\"cancelCreate\"] = \"cancel-create\";\n OperationTypeCrud[\"fileUpload\"] = \"file-upload\";\n})(OperationTypeCrud = exports.OperationTypeCrud || (exports.OperationTypeCrud = {}));\n","\"use strict\";\n/*\n * © OOO \"SI IKS LAB\", 2022-2023\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.__esModule = true;\nexports.DrillDownType = void 0;\n/**\n * Types of drilldowns in the application, specified by Cxbox API\n */\nvar DrillDownType;\n(function (DrillDownType) {\n /**\n * Drilldown to inner entity of the application (screen, view), i.e. url will be places after route hash sy: `#/${inner}`\n */\n DrillDownType[\"inner\"] = \"inner\";\n /**\n * Drilldown to an url relative to the current url: `/${relative}`\n */\n DrillDownType[\"relative\"] = \"relative\";\n /**\n * Drilldown to an url relative to the current url: `/${relative}` that opens in a new browser tab\n */\n DrillDownType[\"relativeNew\"] = \"relativeNew\";\n /**\n * An external redirect, i.e. `http://${external}`\n */\n DrillDownType[\"external\"] = \"external\";\n /**\n * An external redirect, i.e. `http://${external}` that opens in a new browser tab\n */\n DrillDownType[\"externalNew\"] = \"externalNew\";\n})(DrillDownType = exports.DrillDownType || (exports.DrillDownType = {}));\n","\"use strict\";\n/*\n * © OOO \"SI IKS LAB\", 2022-2023\n *\n * Licensed under the Apache License, Version 2.0 (the \"License\");\n * you may not use this file except in compliance with the License.\n * You may obtain a copy of the License at\n *\n * http://www.apache.org/licenses/LICENSE-2.0\n *\n * Unless required by applicable law or agreed to in writing, software\n * distributed under the License is distributed on an \"AS IS\" BASIS,\n * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.\n * See the License for the specific language governing permissions and\n * limitations under the License.\n */\nexports.__esModule = true;\nexports.FieldType = exports.PositionTypes = exports.WidgetTypes = void 0;\nvar WidgetTypes;\n(function (WidgetTypes) {\n WidgetTypes[\"Info\"] = \"Info\";\n WidgetTypes[\"Form\"] = \"Form\";\n WidgetTypes[\"List\"] = \"List\";\n WidgetTypes[\"DataGrid\"] = \"DataGrid\";\n WidgetTypes[\"AssocListPopup\"] = \"AssocListPopup\";\n WidgetTypes[\"PickListPopup\"] = \"PickListPopup\";\n WidgetTypes[\"HeaderWidget\"] = \"HeaderWidget\";\n WidgetTypes[\"SecondLevelMenu\"] = \"SecondLevelMenu\";\n WidgetTypes[\"ThirdLevelMenu\"] = \"ThirdLevelMenu\";\n WidgetTypes[\"FourthLevelMenu\"] = \"FourthLevelMenu\";\n WidgetTypes[\"WidgetCreator\"] = \"WidgetCreator\";\n WidgetTypes[\"Pivot\"] = \"Pivot\";\n WidgetTypes[\"DimFilter\"] = \"DimFilter\";\n WidgetTypes[\"Text\"] = \"Text\";\n WidgetTypes[\"FlatTree\"] = \"FlatTree\";\n WidgetTypes[\"FlatTreePopup\"] = \"FlatTreePopup\";\n /**\n * Navigation tabs widget to be excluded from the widget stream\n */\n WidgetTypes[\"ViewNavigation\"] = \"ViewNavigation\";\n /**\n * Navigation tabs widget to be displayed in the widget stream\n */\n WidgetTypes[\"NavigationTabs\"] = \"NavigationTabs\";\n})(WidgetTypes = exports.WidgetTypes || (exports.WidgetTypes = {}));\n/**\n * Description of possible positioning options\n */\nvar PositionTypes;\n(function (PositionTypes) {\n PositionTypes[\"Top\"] = \"Top\";\n PositionTypes[\"Bottom\"] = \"Bottom\";\n PositionTypes[\"TopAndBottom\"] = \"TopAndBottom\";\n})(PositionTypes = exports.PositionTypes || (exports.PositionTypes = {}));\nvar FieldType;\n(function (FieldType) {\n FieldType[\"number\"] = \"number\";\n FieldType[\"input\"] = \"input\";\n FieldType[\"monthYear\"] = \"monthYear\";\n FieldType[\"date\"] = \"date\";\n FieldType[\"dateTime\"] = \"dateTime\";\n FieldType[\"dateTimeWithSeconds\"] = \"dateTimeWithSeconds\";\n FieldType[\"checkbox\"] = \"checkbox\";\n /**\n * @deprecated TODO: project-specific, remove in 2.0.0\n */\n FieldType[\"checkboxSql\"] = \"checkboxSql\";\n /**\n * @deprecated TODO: project-specific, remove in 2.0.0\n */\n FieldType[\"DMN\"] = \"DMN\";\n FieldType[\"pickList\"] = \"pickList\";\n FieldType[\"inlinePickList\"] = \"inline-pickList\";\n FieldType[\"dictionary\"] = \"dictionary\";\n FieldType[\"hidden\"] = \"hidden\";\n FieldType[\"text\"] = \"text\";\n FieldType[\"percent\"] = \"percent\";\n FieldType[\"fileUpload\"] = \"fileUpload\";\n FieldType[\"money\"] = \"money\";\n /**\n * @deprecated TODO: project-specific, remove in 2.0.0\n */\n FieldType[\"comboCondition\"] = \"combo-condition\";\n FieldType[\"richText\"] = \"richText\";\n FieldType[\"printForm\"] = \"printForm\";\n FieldType[\"multifield\"] = \"multifield\";\n FieldType[\"multivalue\"] = \"multivalue\";\n FieldType[\"multivalueHover\"] = \"multivalueHover\";\n FieldType[\"hint\"] = \"hint\";\n FieldType[\"radio\"] = \"radio\";\n})(FieldType = exports.FieldType || (exports.FieldType = {}));\n"],"sourceRoot":""}
|
|
@@ -11,23 +11,6 @@ export interface UserRole {
|
|
|
11
11
|
active: boolean;
|
|
12
12
|
cacheLoaderName: string;
|
|
13
13
|
}
|
|
14
|
-
export type DefaultNotificationType = 'success' | 'error' | 'info' | 'warning';
|
|
15
|
-
export interface Notification {
|
|
16
|
-
key: string;
|
|
17
|
-
type: DefaultNotificationType | string;
|
|
18
|
-
message: string;
|
|
19
|
-
options?: {
|
|
20
|
-
messageOptions?: {
|
|
21
|
-
[key: string]: string | number;
|
|
22
|
-
};
|
|
23
|
-
buttonWarningNotificationOptions?: {
|
|
24
|
-
buttonText: string;
|
|
25
|
-
actionsForClick?: Array<Record<string, any>>;
|
|
26
|
-
};
|
|
27
|
-
};
|
|
28
|
-
duration?: number;
|
|
29
|
-
}
|
|
30
|
-
export type NotificationKeys = string[];
|
|
31
14
|
export interface Session {
|
|
32
15
|
/**
|
|
33
16
|
* Whether dev tools panel is shown
|
|
@@ -48,12 +31,10 @@ export interface Session {
|
|
|
48
31
|
lastName?: string;
|
|
49
32
|
login?: string;
|
|
50
33
|
active: boolean;
|
|
51
|
-
logout: boolean;
|
|
52
34
|
screens: SessionScreen[];
|
|
53
35
|
loginSpin: boolean;
|
|
54
36
|
errorMsg?: string;
|
|
55
37
|
pendingRequests?: PendingRequest[];
|
|
56
|
-
notifications: Notification[];
|
|
57
38
|
}
|
|
58
39
|
export interface LoginResponse extends CxboxResponse {
|
|
59
40
|
devPanelEnabled?: boolean;
|
|
@@ -0,0 +1,56 @@
|
|
|
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
|
+
import { AnyAction } from '../actions/actions';
|
|
7
|
+
export interface Store {
|
|
8
|
+
router: Route;
|
|
9
|
+
session: Session;
|
|
10
|
+
screen: ScreenState;
|
|
11
|
+
view: ViewState;
|
|
12
|
+
data: DataState;
|
|
13
|
+
depthData: DepthDataState;
|
|
14
|
+
[reducerName: string]: any;
|
|
15
|
+
}
|
|
16
|
+
export declare type CoreReducer<ReducerState, ClientActions, State = Store> = (
|
|
17
|
+
/**
|
|
18
|
+
* The state of Redux store slice
|
|
19
|
+
*/
|
|
20
|
+
state: ReducerState,
|
|
21
|
+
/**
|
|
22
|
+
* Redux action
|
|
23
|
+
*/
|
|
24
|
+
action: AnyAction & ClientActions,
|
|
25
|
+
/**
|
|
26
|
+
* Allows direct access to other slices of redux store from the reducer
|
|
27
|
+
*/
|
|
28
|
+
store?: Readonly<State>,
|
|
29
|
+
/**
|
|
30
|
+
* The original state of Redux store slice before in went through Cxbox reducer;
|
|
31
|
+
*
|
|
32
|
+
* Can be used to implement your own logic in client application reducer for built-in action.
|
|
33
|
+
*/
|
|
34
|
+
originalState?: ReducerState) => ReducerState;
|
|
35
|
+
export interface ClientReducer<ReducerState, ClientActions> {
|
|
36
|
+
/**
|
|
37
|
+
* Initial state for Redux store slice; will replace built-in Cxbox initial state for matching slice
|
|
38
|
+
*/
|
|
39
|
+
initialState: ReducerState;
|
|
40
|
+
/**
|
|
41
|
+
* If true than custom reducer will replace built-in Cxbox reducer for this store slice
|
|
42
|
+
*
|
|
43
|
+
* @deprecated TODO: This functionality is conceptionally flawed and will be removed in 2.0.0
|
|
44
|
+
*/
|
|
45
|
+
override?: boolean;
|
|
46
|
+
/**
|
|
47
|
+
* Reducer function for specific store slice
|
|
48
|
+
*/
|
|
49
|
+
reducer: CoreReducer<ReducerState, ClientActions>;
|
|
50
|
+
}
|
|
51
|
+
export declare type ClientReducersMapObject<ClientStore, ClientActions> = {
|
|
52
|
+
[reducerName in keyof ClientStore]: ClientReducer<ClientStore[keyof ClientStore], ClientActions>;
|
|
53
|
+
};
|
|
54
|
+
export declare type CombinedReducersMapObject<ReducerState, ClientActions> = {
|
|
55
|
+
[reducerName in keyof ReducerState]: CoreReducer<ReducerState[keyof ReducerState], ClientActions, ReducerState>;
|
|
56
|
+
};
|
|
@@ -23,9 +23,9 @@ export interface DataNode extends BaseDataNode {
|
|
|
23
23
|
level?: number;
|
|
24
24
|
}
|
|
25
25
|
/**
|
|
26
|
-
* Cxbox-specific data
|
|
26
|
+
* Cxbox-specific data item that classifies as tree node
|
|
27
27
|
*/
|
|
28
|
-
export type DataItemNode = DataNode & DataItem;
|
|
28
|
+
export declare type DataItemNode = DataNode & DataItem;
|
|
29
29
|
/**
|
|
30
30
|
* Base type for tree nodes that keep references to parent nodes
|
|
31
31
|
*/
|
|
@@ -57,10 +57,10 @@ export interface TreeNodeBidirectional extends DataNode {
|
|
|
57
57
|
*/
|
|
58
58
|
children?: TreeNodeBidirectional[];
|
|
59
59
|
}
|
|
60
|
-
export type TreeAssociatedRecord = DataNode & AssociatedItem;
|
|
60
|
+
export declare type TreeAssociatedRecord = DataNode & AssociatedItem;
|
|
61
61
|
/**
|
|
62
62
|
* Tree node that keeps a status if it is expanded (i.e. children also should be displayed)
|
|
63
63
|
*/
|
|
64
|
-
export type TreeNodeCollapsable<T extends TreeNodeBidirectional = TreeNodeBidirectional> = T & {
|
|
64
|
+
export declare type TreeNodeCollapsable<T extends TreeNodeBidirectional = TreeNodeBidirectional> = T & {
|
|
65
65
|
_expanded: boolean;
|
|
66
66
|
};
|
|
@@ -1,6 +1,6 @@
|
|
|
1
|
-
import { WidgetMeta } from '
|
|
2
|
-
import { RowMeta } from '
|
|
3
|
-
import { PendingDataItem, PickMap } from '
|
|
1
|
+
import { WidgetMeta } from '../interfaces/widget';
|
|
2
|
+
import { RowMeta } from '../interfaces/rowMeta';
|
|
3
|
+
import { PendingDataItem, PickMap } from '../interfaces/data';
|
|
4
4
|
import { SystemNotification } from './objectMap';
|
|
5
5
|
import { OperationTypeCrud, OperationPostInvokeConfirm } from './operation';
|
|
6
6
|
import { AxiosError } from 'axios';
|
|
@@ -122,7 +122,7 @@ export interface ViewMetaResponse {
|
|
|
122
122
|
*/
|
|
123
123
|
ignoreHistory?: boolean;
|
|
124
124
|
}
|
|
125
|
-
export type PopupType = 'assoc' | 'file-upload' | null;
|
|
125
|
+
export declare type PopupType = 'assoc' | 'file-upload' | null;
|
|
126
126
|
/**
|
|
127
127
|
* Describes currently open popup
|
|
128
128
|
*
|
|
@@ -178,7 +178,7 @@ export interface PopupData {
|
|
|
178
178
|
*/
|
|
179
179
|
isFilter?: boolean;
|
|
180
180
|
}
|
|
181
|
-
export type ApplicationError = BusinessError | SystemError | ApplicationErrorBase;
|
|
181
|
+
export declare type ApplicationError = BusinessError | SystemError | ApplicationErrorBase;
|
|
182
182
|
export declare enum ApplicationErrorType {
|
|
183
183
|
BusinessError = 0,
|
|
184
184
|
SystemError = 1,
|
|
@@ -0,0 +1,2 @@
|
|
|
1
|
+
!function(e,t){for(var n in t)e[n]=t[n]}(exports,function(e){var t={};function n(r){if(t[r])return t[r].exports;var o=t[r]={i:r,l:!1,exports:{}};return e[r].call(o.exports,o,o.exports,n),o.l=!0,o.exports}return n.m=e,n.c=t,n.d=function(e,t,r){n.o(e,t)||Object.defineProperty(e,t,{enumerable:!0,get:r})},n.r=function(e){"undefined"!=typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:"Module"}),Object.defineProperty(e,"__esModule",{value:!0})},n.t=function(e,t){if(1&t&&(e=n(e)),8&t)return e;if(4&t&&"object"==typeof e&&e&&e.__esModule)return e;var r=Object.create(null);if(n.r(r),Object.defineProperty(r,"default",{enumerable:!0,value:e}),2&t&&"string"!=typeof e)for(var o in e)n.d(r,o,function(t){return e[t]}.bind(null,o));return r},n.n=function(e){var t=e&&e.__esModule?function(){return e.default}:function(){return e};return n.d(t,"a",t),t},n.o=function(e,t){return Object.prototype.hasOwnProperty.call(e,t)},n.p="",n(n.s=7)}({16:function(e,t,n){"use strict";var r=this&&this.__createBinding||(Object.create?function(e,t,n,r){void 0===r&&(r=n),Object.defineProperty(e,r,{enumerable:!0,get:function(){return t[n]}})}:function(e,t,n,r){void 0===r&&(r=n),e[r]=t[n]}),o=this&&this.__exportStar||function(e,t){for(var n in e)"default"===n||Object.prototype.hasOwnProperty.call(t,n)||r(t,e,n)};t.__esModule=!0,t.run=void 0;var i=n(80);r(t,i,"run"),o(n(88),t),o(n(89),t),o(n(90),t),o(n(91),t),o(n(92),t)},57:function(e,t){e.exports=function(e){return e.webpackPolyfill||(e.deprecate=function(){},e.paths=[],e.children||(e.children=[]),Object.defineProperty(e,"loaded",{enumerable:!0,get:function(){return e.l}}),Object.defineProperty(e,"id",{enumerable:!0,get:function(){return e.i}}),e.webpackPolyfill=1),e}},7:function(e,t,n){"use strict";n.r(t),n.d(t,"PendingValidationFailsFormat",(function(){return r})),n.d(t,"ApplicationErrorType",(function(){return o}));var r,o,i=n(16);n.d(t,"FieldType",(function(){return i.FieldType})),function(e){e.old="old",e.target="target"}(r||(r={})),function(e){e[e.BusinessError=0]="BusinessError",e[e.SystemError=1]="SystemError",e[e.NetworkError=2]="NetworkError"}(o||(o={}))},80:function(e,t,n){"use strict";(function(e,r){t.__esModule=!0,t.run=void 0;var o=n(81),i=n(82),u=n(83),c=n(87);function a(){var t=["ScreenMeta","ViewMeta","WidgetMeta","SqlBc"];i.existsSync("schemas")||i.mkdirSync("schemas");var n=c.getProgramFromFiles(t.map((function(t){return o.join(e,"../","src/files/"+t+".ts")})),{strictNullChecks:!0}),r=c.buildGenerator(n,{required:!0});t.forEach((function(e){var t=r.getSchemaForSymbol(e+"Json");i.writeFile("schemas/"+e+".json",function(e){return u(e,{space:4})+"\n\n"}(t),(function(e){if(e)throw new Error("Unable to write output file: "+e.message)}))}))}t.run=a,"undefined"==typeof window&&n.c[n.s]===r&&a()}).call(this,"/",n(57)(e))},81:function(e,t){},82:function(e,t){},83:function(e,t,n){var r="undefined"!=typeof JSON?JSON:n(84);e.exports=function(e,t){t||(t={}),"function"==typeof t&&(t={cmp:t});var n=t.space||"";"number"==typeof n&&(n=Array(n+1).join(" "));var u,c="boolean"==typeof t.cycles&&t.cycles,a=t.replacer||function(e,t){return t},f=t.cmp&&(u=t.cmp,function(e){return function(t,n){var r={key:t,value:e[t]},o={key:n,value:e[n]};return u(r,o)}}),l=[];return function e(t,u,s,p){var d=n?"\n"+new Array(p+1).join(n):"",y=n?": ":":";if(s&&s.toJSON&&"function"==typeof s.toJSON&&(s=s.toJSON()),void 0!==(s=a.call(t,u,s))){if("object"!=typeof s||null===s)return r.stringify(s);if(o(s)){for(var v=[],h=0;h<s.length;h++){var b=e(s,h,s[h],p+1)||r.stringify(null);v.push(d+n+b)}return"["+v.join(",")+d+"]"}if(-1!==l.indexOf(s)){if(c)return r.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}l.push(s);var m=i(s).sort(f&&f(s));for(v=[],h=0;h<m.length;h++){var g=e(s,u=m[h],s[u],p+1);if(g){var S=r.stringify(u)+y+g;v.push(d+n+S)}}return l.splice(l.indexOf(s),1),"{"+v.join(",")+d+"}"}}({"":e},"",e,0)};var o=Array.isArray||function(e){return"[object Array]"==={}.toString.call(e)},i=Object.keys||function(e){var t=Object.prototype.hasOwnProperty||function(){return!0},n=[];for(var r in e)t.call(e,r)&&n.push(r);return n}},84:function(e,t,n){t.parse=n(85),t.stringify=n(86)},85:function(e,t){var n,r,o,i,u={'"':'"',"\\":"\\","/":"/",b:"\b",f:"\f",n:"\n",r:"\r",t:"\t"},c=function(e){throw{name:"SyntaxError",message:e,at:n,text:o}},a=function(e){return e&&e!==r&&c("Expected '"+e+"' instead of '"+r+"'"),r=o.charAt(n),n+=1,r},f=function(){var e,t="";for("-"===r&&(t="-",a("-"));r>="0"&&r<="9";)t+=r,a();if("."===r)for(t+=".";a()&&r>="0"&&r<="9";)t+=r;if("e"===r||"E"===r)for(t+=r,a(),"-"!==r&&"+"!==r||(t+=r,a());r>="0"&&r<="9";)t+=r,a();if(e=+t,isFinite(e))return e;c("Bad number")},l=function(){var e,t,n,o="";if('"'===r)for(;a();){if('"'===r)return a(),o;if("\\"===r)if(a(),"u"===r){for(n=0,t=0;t<4&&(e=parseInt(a(),16),isFinite(e));t+=1)n=16*n+e;o+=String.fromCharCode(n)}else{if("string"!=typeof u[r])break;o+=u[r]}else o+=r}c("Bad string")},s=function(){for(;r&&r<=" ";)a()};i=function(){switch(s(),r){case"{":return function(){var e,t={};if("{"===r){if(a("{"),s(),"}"===r)return a("}"),t;for(;r;){if(e=l(),s(),a(":"),Object.hasOwnProperty.call(t,e)&&c('Duplicate key "'+e+'"'),t[e]=i(),s(),"}"===r)return a("}"),t;a(","),s()}}c("Bad object")}();case"[":return function(){var e=[];if("["===r){if(a("["),s(),"]"===r)return a("]"),e;for(;r;){if(e.push(i()),s(),"]"===r)return a("]"),e;a(","),s()}}c("Bad array")}();case'"':return l();case"-":return f();default:return r>="0"&&r<="9"?f():function(){switch(r){case"t":return a("t"),a("r"),a("u"),a("e"),!0;case"f":return a("f"),a("a"),a("l"),a("s"),a("e"),!1;case"n":return a("n"),a("u"),a("l"),a("l"),null}c("Unexpected '"+r+"'")}()}},e.exports=function(e,t){var u;return o=e,n=0,r=" ",u=i(),s(),r&&c("Syntax error"),"function"==typeof t?function e(n,r){var o,i,u=n[r];if(u&&"object"==typeof u)for(o in u)Object.prototype.hasOwnProperty.call(u,o)&&(void 0!==(i=e(u,o))?u[o]=i:delete u[o]);return t.call(n,r,u)}({"":u},""):u}},86:function(e,t){var n,r,o,i=/[\\\"\x00-\x1f\x7f-\x9f\u00ad\u0600-\u0604\u070f\u17b4\u17b5\u200c-\u200f\u2028-\u202f\u2060-\u206f\ufeff\ufff0-\uffff]/g,u={"\b":"\\b","\t":"\\t","\n":"\\n","\f":"\\f","\r":"\\r",'"':'\\"',"\\":"\\\\"};function c(e){return i.lastIndex=0,i.test(e)?'"'+e.replace(i,(function(e){var t=u[e];return"string"==typeof t?t:"\\u"+("0000"+e.charCodeAt(0).toString(16)).slice(-4)}))+'"':'"'+e+'"'}e.exports=function(e,t,i){var u;if(n="",r="","number"==typeof i)for(u=0;u<i;u+=1)r+=" ";else"string"==typeof i&&(r=i);if(o=t,t&&"function"!=typeof t&&("object"!=typeof t||"number"!=typeof t.length))throw new Error("JSON.stringify");return function e(t,i){var u,a,f,l,s,p=n,d=i[t];switch(d&&"object"==typeof d&&"function"==typeof d.toJSON&&(d=d.toJSON(t)),"function"==typeof o&&(d=o.call(i,t,d)),typeof d){case"string":return c(d);case"number":return isFinite(d)?String(d):"null";case"boolean":case"null":return String(d);case"object":if(!d)return"null";if(n+=r,s=[],"[object Array]"===Object.prototype.toString.apply(d)){for(l=d.length,u=0;u<l;u+=1)s[u]=e(u,d)||"null";return f=0===s.length?"[]":n?"[\n"+n+s.join(",\n"+n)+"\n"+p+"]":"["+s.join(",")+"]",n=p,f}if(o&&"object"==typeof o)for(l=o.length,u=0;u<l;u+=1)"string"==typeof(a=o[u])&&(f=e(a,d))&&s.push(c(a)+(n?": ":":")+f);else for(a in d)Object.prototype.hasOwnProperty.call(d,a)&&(f=e(a,d))&&s.push(c(a)+(n?": ":":")+f);return f=0===s.length?"{}":n?"{\n"+n+s.join(",\n"+n)+"\n"+p+"}":"{"+s.join(",")+"}",n=p,f}}("",{"":e})}},87:function(e,t){},88:function(e,t,n){"use strict";t.__esModule=!0,t.RecordSnapshotState=void 0,function(e){e.noChange="noChange",e.new="new",e.deleted="deleted"}(t.RecordSnapshotState||(t.RecordSnapshotState={}))},89:function(e,t,n){"use strict";t.__esModule=!0},90:function(e,t,n){"use strict";t.__esModule=!0,t.OperationTypeCrud=void 0,function(e){e.create="create",e.save="save",e.delete="delete",e.associate="associate",e.cancelCreate="cancel-create",e.fileUpload="file-upload"}(t.OperationTypeCrud||(t.OperationTypeCrud={}))},91:function(e,t,n){"use strict";t.__esModule=!0,t.DrillDownType=void 0,function(e){e.inner="inner",e.relative="relative",e.relativeNew="relativeNew",e.external="external",e.externalNew="externalNew"}(t.DrillDownType||(t.DrillDownType={}))},92:function(e,t,n){"use strict";t.__esModule=!0,t.FieldType=t.PositionTypes=t.WidgetTypes=void 0,function(e){e.Info="Info",e.Form="Form",e.List="List",e.DataGrid="DataGrid",e.AssocListPopup="AssocListPopup",e.PickListPopup="PickListPopup",e.HeaderWidget="HeaderWidget",e.SecondLevelMenu="SecondLevelMenu",e.ThirdLevelMenu="ThirdLevelMenu",e.FourthLevelMenu="FourthLevelMenu",e.WidgetCreator="WidgetCreator",e.Pivot="Pivot",e.DimFilter="DimFilter",e.Text="Text",e.FlatTree="FlatTree",e.FlatTreePopup="FlatTreePopup",e.ViewNavigation="ViewNavigation",e.NavigationTabs="NavigationTabs"}(t.WidgetTypes||(t.WidgetTypes={})),function(e){e.Top="Top",e.Bottom="Bottom",e.TopAndBottom="TopAndBottom"}(t.PositionTypes||(t.PositionTypes={})),function(e){e.number="number",e.input="input",e.monthYear="monthYear",e.date="date",e.dateTime="dateTime",e.dateTimeWithSeconds="dateTimeWithSeconds",e.checkbox="checkbox",e.checkboxSql="checkboxSql",e.DMN="DMN",e.pickList="pickList",e.inlinePickList="inline-pickList",e.dictionary="dictionary",e.hidden="hidden",e.text="text",e.percent="percent",e.fileUpload="fileUpload",e.money="money",e.comboCondition="combo-condition",e.richText="richText",e.printForm="printForm",e.multifield="multifield",e.multivalue="multivalue",e.multivalueHover="multivalueHover",e.hint="hint",e.radio="radio"}(t.FieldType||(t.FieldType={}))}}));
|
|
2
|
+
//# sourceMappingURL=view.js.map
|