@cxbox-ui/core 1.37.2-alpha.9 → 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/middlewares/preInvokeMiddleware.d.ts +8 -0
- package/{dist/middlewares → middlewares}/requiredFieldsMiddleware.d.ts +11 -6
- 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 -3612
- package/dist/cxbox-ui-core.cjs.production.min.js +0 -2
- package/dist/cxbox-ui-core.esm.js +0 -3576
- package/dist/cxbox-ui-core.modern.development.js +0 -3510
- package/dist/cxbox-ui-core.modern.js +0 -3510
- 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 -7
- 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 -2
- package/dist/middlewares/index.d.ts +0 -6
- package/dist/middlewares/popupMiddleware.d.ts +0 -2
- package/dist/middlewares/preInvokeMiddleware.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 -3
- 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/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:///(webpack)/buildin/module.js","webpack:///./src/interfaces/view.ts","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","webpackPolyfill","deprecate","paths","children","PendingValidationFailsFormat","ApplicationErrorType","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,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,EAAQrB,EAAoBqB,IAC/B,EAAPE,EAAU,OAAOF,E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AA4B,eAAI,iBAxBpC,CAyBiB1J,EAAQ0J,cAAgB1J,EAAQ0J,YAAc,KAK/D,SAAWD,GACPA,EAAmB,IAAI,MACvBA,EAAsB,OAAI,SAC1BA,EAA4B,aAAI,eAHpC,CAImBzJ,EAAQyJ,gBAAkBzJ,EAAQyJ,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,CAmCexJ,EAAQwJ,YAAcxJ,EAAQwJ,UAAY","file":"interfaces/view.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 = 7);\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","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","/*\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 { WidgetMeta } from '../interfaces/widget'\nimport { RowMeta } from '../interfaces/rowMeta'\nimport { PendingDataItem, PickMap } from '../interfaces/data'\nimport { SystemNotification } from './objectMap'\nimport { OperationTypeCrud, OperationPostInvokeConfirm } from './operation'\nimport { AxiosError } from 'axios'\nexport { FieldType } from '@cxbox-ui/schema'\n\nexport interface ViewSelectedCell {\n widgetName: string\n rowId: string\n fieldKey: string\n}\n\nexport interface PendingValidationFails {\n [bcName: string]: {\n [cursor: string]: Record<string, string>\n }\n}\n\n/**\n * Describes format of `pendingValidationFails`\n * TODO remove in 2.0.0\n */\nexport enum PendingValidationFailsFormat {\n old = 'old',\n target = 'target'\n}\n\nexport interface ViewState extends ViewMetaResponse {\n rowMeta: {\n [bcName: string]: {\n [bcUrl: string]: RowMeta\n }\n }\n pendingDataChanges: {\n [bcName: string]: {\n [cursor: string]: PendingDataItem\n }\n }\n handledForceActive: {\n [bcName: string]: {\n [cursor: string]: PendingDataItem\n }\n }\n metaInProgress: {\n [bcName: string]: boolean\n }\n popupData?: PopupData\n infiniteWidgets?: string[]\n pickMap?: PickMap\n selectedCell?: ViewSelectedCell\n systemNotifications?: SystemNotification[]\n error?: ApplicationError\n /**\n * For backward compatibility\n *\n * `old` describes `pendingValidationFails` as `Record<string, string>`\n * `target` describes `pendingValidationFails` as `PendingValidationFails`\n */\n pendingValidationFailsFormat?: PendingValidationFailsFormat.old | PendingValidationFailsFormat.target // TODO remove in 2.0.0\n // TODO 2.0.0: should be `pendingValidationFails?: PendingValidationFails`\n pendingValidationFails?: Record<string, string> | PendingValidationFails\n modalInvoke?: {\n operation: {\n bcName: string\n operationType: OperationTypeCrud | string\n widgetName: string\n }\n confirmOperation: OperationPostInvokeConfirm\n }\n}\n\n/**\n * View description returned by Cxbox API\n */\nexport interface ViewMetaResponse {\n /**\n * @deprecated Deprecated in favor of `name`\n */\n id?: number\n /**\n * Name of the view as specified in *.view.json file\n */\n name: string\n /**\n * Displayed title\n */\n title?: string\n /**\n * Specifies which layout template to use for the view\n *\n *Not used in Cxbox UI Core, but can used by client application\n */\n template?: string\n /**\n * @deprecated Used for dynamic view layouts (configurable from user side), which are no longer implemented\n */\n customizable?: boolean\n /**\n * @deprecated Not used\n */\n editable?: boolean\n /**\n * Url for the view (usually in form of `${screen.name}/${view.name}`)\n */\n url: string\n /**\n * Widgets present on the view\n */\n widgets: WidgetMeta[]\n /**\n * @deprecated Used for dynamic view layouts (configurable from user side), which are no longer implemented\n */\n columns?: number | null\n /**\n * @deprecated Used for dynamic view layouts (configurable from user side), which are no longer implemented\n */\n rowHeight?: number | null\n /**\n * Not used in Cxbox UI Core, but can be used by client application\n */\n readOnly?: boolean\n /**\n * Not used in Cxbox UI Core\n *\n * TODO: Need description\n */\n ignoreHistory?: boolean\n}\n\nexport type PopupType = 'assoc' | 'file-upload' | null\n\n/**\n * Describes currently open popup\n *\n * TODO: Split interface by popup types\n */\nexport interface PopupData {\n /**\n * Business component of the widget that initiated popup\n *\n * TODO: Will me removed in favor of widgetName in 2.0.0\n */\n calleeBCName?: string\n /**\n * Name of the widget that initiated popup\n */\n calleeWidgetName?: string\n /**\n * Type of the popup\n *\n * TODO: Will not be optional in 2.0.0\n */\n type?: PopupType\n /**\n * Business component for widget in Popup\n *\n * TODO: Move to inherited interfaces (not all popups display widgets)\n */\n bcName?: string\n /**\n * Name of popup widget\n *\n * TODO: Move to inherited interfaces (not all popups display widgets)\n */\n widgetName?: string\n /**\n * TODO: Description + move to AssocPopupDescriptor\n */\n associateFieldKey?: string\n /**\n * TODO: Description + move to AssocPopupDescriptor\n */\n assocValueKey?: string\n /**\n * If true popup confirm button will send selected items to Cxbox API\n *\n * TODO: Move to AssocPopupDescriptor\n */\n active?: boolean\n /**\n * This popup is used as a filter\n *\n * TODO: Used only by assocs so probably move to AssocPopupDescriptor\n */\n isFilter?: boolean\n}\n\nexport type ApplicationError = BusinessError | SystemError | ApplicationErrorBase\n\nexport enum ApplicationErrorType {\n BusinessError,\n SystemError,\n NetworkError\n}\n\nexport interface ApplicationErrorBase {\n type: ApplicationErrorType\n code?: number\n}\n\nexport interface BusinessError extends ApplicationErrorBase {\n type: ApplicationErrorType.BusinessError\n message: string\n}\n\nexport interface SystemError extends ApplicationErrorBase {\n type: ApplicationErrorType.SystemError\n error?: AxiosError\n details: string\n}\n\nexport interface NetworkError extends ApplicationErrorBase {\n type: ApplicationErrorType.NetworkError\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":""}
|
|
@@ -1,7 +1,6 @@
|
|
|
1
1
|
import { WidgetShowCondition, WidgetTypes, WidgetOptions, WidgetFormField, WidgetListField, WidgetInfoField } from '@cxbox-ui/schema';
|
|
2
2
|
import { ComponentType } from 'react';
|
|
3
|
-
export
|
|
4
|
-
export { WidgetTypes, PositionTypes } from '@cxbox-ui/schema';
|
|
3
|
+
export { WidgetShowCondition, WidgetTypes, WidgetOptions, LayoutRow, LayoutCol, WidgetOperations, TableOperations, PositionTypes, WidgetTableHierarchy, WidgetFieldBase, WidgetListFieldBase, WidgetFormFieldBase, AllWidgetTypeFieldBase, NumberFieldMeta, DateFieldMeta, CheckboxFieldMeta, DateTimeFieldMeta, DateTimeWithSecondsFieldMeta, DictionaryFieldMeta, TextFieldMeta, InputFieldMeta, MultiFieldMeta, MultivalueFieldMeta, PickListFieldMeta, InlinePickListFieldMeta, FileUploadFieldMeta, WidgetFormField, WidgetListField, HiddenFieldMeta, RadioButtonFieldMeta, WidgetField, WidgetInfoField } from '@cxbox-ui/schema';
|
|
5
4
|
/**
|
|
6
5
|
* Different widget types that are considered `tables` in nature for purposes of applying some shared features.
|
|
7
6
|
* For example, autofocus on missing required field should work for tables but not forms.
|
|
@@ -16,9 +15,9 @@ export declare const TableLikeWidgetTypes: readonly [WidgetTypes.List, WidgetTyp
|
|
|
16
15
|
*/
|
|
17
16
|
export declare const PopupWidgetTypes: string[];
|
|
18
17
|
/**
|
|
19
|
-
* All widget types that display table-like data
|
|
18
|
+
* All widget types that display table-like data
|
|
20
19
|
*/
|
|
21
|
-
type TableLikeWidgetType =
|
|
20
|
+
declare type TableLikeWidgetType = typeof TableLikeWidgetTypes[number];
|
|
22
21
|
export interface WidgetInfoOptions {
|
|
23
22
|
fieldBorderBottom?: boolean;
|
|
24
23
|
footer?: string;
|
|
@@ -72,9 +71,9 @@ export interface WidgetFieldBlock<T> {
|
|
|
72
71
|
*/
|
|
73
72
|
break?: boolean;
|
|
74
73
|
}
|
|
75
|
-
export type WidgetFieldsOrBlocks<T> = Array<T | WidgetFieldBlock<T>>;
|
|
74
|
+
export declare type WidgetFieldsOrBlocks<T> = Array<T | WidgetFieldBlock<T>>;
|
|
76
75
|
/**
|
|
77
|
-
* Configuration for widgets dislaying form data
|
|
76
|
+
* Configuration for widgets dislaying form data
|
|
78
77
|
*/
|
|
79
78
|
export interface WidgetFormMeta extends WidgetMeta {
|
|
80
79
|
/**
|
|
@@ -87,7 +86,7 @@ export interface WidgetFormMeta extends WidgetMeta {
|
|
|
87
86
|
fields: WidgetFieldsOrBlocks<WidgetFormField>;
|
|
88
87
|
}
|
|
89
88
|
/**
|
|
90
|
-
* Configuration for widgets displaying table-like data
|
|
89
|
+
* Configuration for widgets displaying table-like data
|
|
91
90
|
*/
|
|
92
91
|
export interface WidgetTableMeta extends WidgetMeta {
|
|
93
92
|
/**
|
|
@@ -100,7 +99,7 @@ export interface WidgetTableMeta extends WidgetMeta {
|
|
|
100
99
|
fields: WidgetListField[];
|
|
101
100
|
}
|
|
102
101
|
/**
|
|
103
|
-
* Configuration for widgets displaying read-only table data
|
|
102
|
+
* Configuration for widgets displaying read-only table data
|
|
104
103
|
*/
|
|
105
104
|
export interface WidgetInfoMeta extends WidgetMeta {
|
|
106
105
|
/**
|
|
@@ -158,13 +157,13 @@ export interface NavigationWidgetMeta extends WidgetMeta {
|
|
|
158
157
|
/**
|
|
159
158
|
* A widget configuration of any known type
|
|
160
159
|
*/
|
|
161
|
-
export type WidgetMetaAny = WidgetFormMeta | WidgetTableMeta | WidgetTextMeta | WidgetInfoMeta | NavigationWidgetMeta;
|
|
160
|
+
export declare type WidgetMetaAny = WidgetFormMeta | WidgetTableMeta | WidgetTextMeta | WidgetInfoMeta | NavigationWidgetMeta;
|
|
162
161
|
/**
|
|
163
162
|
* Component of custom widget
|
|
164
163
|
*
|
|
165
164
|
* @deprecated TODO: Remove in 2.0.0
|
|
166
165
|
*/
|
|
167
|
-
export type CustomWidget = ComponentType<any>;
|
|
166
|
+
export declare type CustomWidget = ComponentType<any>;
|
|
168
167
|
/**
|
|
169
168
|
* Configuration of custom widget
|
|
170
169
|
*/
|
|
@@ -182,9 +181,9 @@ export interface CustomWidgetConfiguration {
|
|
|
182
181
|
*/
|
|
183
182
|
card?: ComponentType<any> | null;
|
|
184
183
|
}
|
|
185
|
-
export type CustomWidgetDescriptor = CustomWidget | CustomWidgetConfiguration;
|
|
184
|
+
export declare type CustomWidgetDescriptor = CustomWidget | CustomWidgetConfiguration;
|
|
186
185
|
/**
|
|
187
|
-
* Check if descriptor is just a widget, or it has additional data
|
|
186
|
+
* Check if descriptor is just a widget, or it has additional data
|
|
188
187
|
*/
|
|
189
188
|
export declare function isCustomWidget(descriptor: CustomWidgetDescriptor): descriptor is CustomWidget;
|
|
190
189
|
/**
|
|
@@ -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=17)}({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)},17:function(e,t,n){"use strict";n.r(t),n.d(t,"TableLikeWidgetTypes",(function(){return o})),n.d(t,"PopupWidgetTypes",(function(){return u})),n.d(t,"isCustomWidget",(function(){return c})),n.d(t,"isCustomWidgetConfiguration",(function(){return a})),n.d(t,"isWidgetFieldBlock",(function(){return f})),n.d(t,"PaginationMode",(function(){return i}));var r=n(16);n.d(t,"WidgetTypes",(function(){return r.WidgetTypes})),n.d(t,"PositionTypes",(function(){return r.PositionTypes}));var i,o=[r.WidgetTypes.List,r.WidgetTypes.DataGrid,r.WidgetTypes.AssocListPopup,r.WidgetTypes.PickListPopup,r.WidgetTypes.FlatTree,r.WidgetTypes.FlatTreePopup],u=[r.WidgetTypes.PickListPopup,r.WidgetTypes.AssocListPopup,r.WidgetTypes.FlatTreePopup];function c(e){return!!e&&!("component"in e)}function a(e){return e&&"component"in e}function f(e){return!!e&&"blockId"in e}!function(e){e.page="page",e.loadMore="loadMore"}(i||(i={}))},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)}}),s=[];return function e(t,u,l,p){var d=n?"\n"+new Array(p+1).join(n):"",y=n?": ":":";if(l&&l.toJSON&&"function"==typeof l.toJSON&&(l=l.toJSON()),void 0!==(l=a.call(t,u,l))){if("object"!=typeof l||null===l)return r.stringify(l);if(i(l)){for(var v=[],g=0;g<l.length;g++){var b=e(l,g,l[g],p+1)||r.stringify(null);v.push(d+n+b)}return"["+v.join(",")+d+"]"}if(-1!==s.indexOf(l)){if(c)return r.stringify("__cycle__");throw new TypeError("Converting circular structure to JSON")}s.push(l);var h=o(l).sort(f&&f(l));for(v=[],g=0;g<h.length;g++){var m=e(l,u=h[g],l[u],p+1);if(m){var T=r.stringify(u)+y+m;v.push(d+n+T)}}return s.splice(s.indexOf(l),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")},s=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")},l=function(){for(;r&&r<=" ";)a()};o=function(){switch(l(),r){case"{":return function(){var e,t={};if("{"===r){if(a("{"),l(),"}"===r)return a("}"),t;for(;r;){if(e=s(),l(),a(":"),Object.hasOwnProperty.call(t,e)&&c('Duplicate key "'+e+'"'),t[e]=o(),l(),"}"===r)return a("}"),t;a(","),l()}}c("Bad object")}();case"[":return function(){var e=[];if("["===r){if(a("["),l(),"]"===r)return a("]"),e;for(;r;){if(e.push(o()),l(),"]"===r)return a("]"),e;a(","),l()}}c("Bad array")}();case'"':return s();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(),l(),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,s,l,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,l=[],"[object Array]"===Object.prototype.toString.apply(d)){for(s=d.length,u=0;u<s;u+=1)l[u]=e(u,d)||"null";return f=0===l.length?"[]":n?"[\n"+n+l.join(",\n"+n)+"\n"+p+"]":"["+l.join(",")+"]",n=p,f}if(i&&"object"==typeof i)for(s=i.length,u=0;u<s;u+=1)"string"==typeof(a=i[u])&&(f=e(a,d))&&l.push(c(a)+(n?": ":":")+f);else for(a in d)Object.prototype.hasOwnProperty.call(d,a)&&(f=e(a,d))&&l.push(c(a)+(n?": ":":")+f);return f=0===l.length?"{}":n?"{\n"+n+l.join(",\n"+n)+"\n"+p+"}":"{"+l.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=widget.js.map
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
{"version":3,"sources":["webpack:///webpack/bootstrap","webpack:///./node_modules/@cxbox-ui/schema/dist/index.js","webpack:///./src/interfaces/widget.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","PaginationMode","TableLikeWidgetTypes","List","DataGrid","AssocListPopup","PickListPopup","FlatTree","FlatTreePopup","PopupWidgetTypes","isCustomWidget","descriptor","isCustomWidgetConfiguration","isWidgetFieldBlock","item","webpackPolyfill","deprecate","paths","children","path_1","fs_1","stringify","TJS","schemas","existsSync","mkdirSync","program","getProgramFromFiles","map","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,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,EAAQrB,EAAoBqB,IAC/B,EAAPE,EAAU,OAAOF,EACpB,GAAW,EAAPE,GAA8B,iBAAVF,GAAsBA,GAASA,EAAMG,WAAY,OAAOH,EAChF,IAAII,EAAKX,OAAOY,OAAO,MAGvB,GAFA1B,EAAoBkB,EAAEO,GACtBX,OAAOC,eAAeU,EAAI,UAAW,CAAET,YAAY,EAAMK,MAAOA,IACtD,EAAPE,GAA4B,iBAATF,EAAmB,IAAI,IAAIM,KAAON,EAAOrB,EAAoBU,EAAEe,EAAIE,EAAK,SAASA,GAAO,OAAON,EAAMM,IAAQC,KAAK,KAAMD,IAC9I,OAAOF,GAIRzB,EAAoB6B,EAAI,SAAS1B,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,EAAQoK,gBAAkBpK,EAAQoK,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,CAmCenK,EAAQmK,YAAcnK,EAAQmK,UAAY","file":"interfaces/widget.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 = 17);\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 { WidgetShowCondition, WidgetTypes, WidgetOptions, WidgetFormField, WidgetListField, WidgetInfoField } from '@cxbox-ui/schema'\nimport { ComponentType } from 'react'\nexport {\n WidgetShowCondition,\n WidgetTypes,\n WidgetOptions,\n LayoutRow,\n LayoutCol,\n WidgetOperations,\n TableOperations,\n PositionTypes,\n WidgetTableHierarchy,\n WidgetFieldBase,\n WidgetListFieldBase,\n WidgetFormFieldBase,\n AllWidgetTypeFieldBase,\n NumberFieldMeta,\n DateFieldMeta,\n CheckboxFieldMeta,\n DateTimeFieldMeta,\n DateTimeWithSecondsFieldMeta,\n DictionaryFieldMeta,\n TextFieldMeta,\n InputFieldMeta,\n MultiFieldMeta,\n MultivalueFieldMeta,\n PickListFieldMeta,\n InlinePickListFieldMeta,\n FileUploadFieldMeta,\n WidgetFormField,\n WidgetListField,\n HiddenFieldMeta,\n RadioButtonFieldMeta,\n WidgetField,\n WidgetInfoField\n} from '@cxbox-ui/schema'\n\n/**\n * Different widget types that are considered `tables` in nature for purposes of applying some shared features.\n * For example, autofocus on missing required field should work for tables but not forms.\n *\n * TODO: Make extension point\n *\n * @category Components\n */\nexport const TableLikeWidgetTypes = [\n WidgetTypes.List,\n WidgetTypes.DataGrid,\n WidgetTypes.AssocListPopup,\n WidgetTypes.PickListPopup,\n WidgetTypes.FlatTree,\n WidgetTypes.FlatTreePopup\n] as const\n\n/**\n * Widgets that are considered `popups` and usually excluded from widgets layout grid\n */\nexport const PopupWidgetTypes: string[] = [WidgetTypes.PickListPopup, WidgetTypes.AssocListPopup, WidgetTypes.FlatTreePopup]\n\n/**\n * All widget types that display table-like data\n */\ntype TableLikeWidgetType = typeof TableLikeWidgetTypes[number]\n\nexport interface WidgetInfoOptions {\n fieldBorderBottom?: boolean\n footer?: string\n}\n\nexport interface WidgetMeta {\n name: string\n type: WidgetTypes | string // TODO: Как учитывать типы клиентских виджетов кроме string?\n title: string // отображаемое название,\n bcName: string\n /**\n * Business components ancestors hierarchy\n *\n * TODO: Will be mandatory (but nullable) in 2.0.0\n *\n * It is declared in `WidgetDTO` of Cxbox API, can be null for widgets without\n * business component (headers, navigation tabs, etc.)\n */\n url?: string | null\n position: number\n limit?: number\n gridWidth: number // 1-24\n fields: unknown[]\n options?: WidgetOptions\n showCondition?: WidgetShowCondition\n description?: string // description for documentation\n}\n\n/**\n * Description of the list of fields of block type.\n *\n * @deprecated Used to create a block grouping of fields\n */\nexport interface WidgetFieldBlock<T> {\n /**\n * Block ID\n */\n blockId: number\n /**\n * Name of the block\n */\n name: string\n /**\n * Fields contained in the block\n */\n fields: T[]\n /**\n * @deprecated TODO: Remove in 2.0.0, used to denote a new row in old layout system for forms\n */\n newRow?: boolean\n /**\n * @deprecated TODO: Remove in 2.0.0, used to ...\n */\n break?: boolean\n}\n\nexport type WidgetFieldsOrBlocks<T> = Array<T | WidgetFieldBlock<T>>\n\n/**\n * Configuration for widgets dislaying form data\n */\nexport interface WidgetFormMeta extends WidgetMeta {\n /**\n * Unambiguous marker for JSON file specifing widget type\n */\n type: WidgetTypes.Form\n /**\n * Descriptor for fields or block of fields on the form\n */\n fields: WidgetFieldsOrBlocks<WidgetFormField>\n}\n\n/**\n * Configuration for widgets displaying table-like data\n */\nexport interface WidgetTableMeta extends WidgetMeta {\n /**\n * Unambiguous marker for JSON file specifing widget type\n */\n type: TableLikeWidgetType\n /**\n * Descriptor for table columns\n */\n fields: WidgetListField[]\n}\n\n/**\n * Configuration for widgets displaying read-only table data\n */\nexport interface WidgetInfoMeta extends WidgetMeta {\n /**\n * Unambiguous marker for JSON file specifying widget type\n */\n type: WidgetTypes.Info\n /**\n * Descriptor for fields or block of fields on the form\n */\n fields: WidgetFieldsOrBlocks<WidgetInfoField>\n /**\n * Options for customizing widget\n */\n options?: WidgetOptions & WidgetInfoOptions\n}\n\n/**\n * Configuration for widgets displaying markdown text\n */\nexport interface WidgetTextMeta extends WidgetMeta {\n /**\n * Unambiguous marker for JSON file specifying widget type\n */\n type: WidgetTypes.Text\n /**\n * Text to display\n */\n description: string\n /**\n * Title text\n */\n descriptionTitle: string\n}\n\n/**\n * Options configuration for widgets displaying NavigationTabs\n */\nexport interface NavigationOptions extends WidgetOptions {\n /**\n * Level of menu\n */\n navigationLevel?: number\n}\n\n/**\n * Configuration for widgets displaying NavigationTabs\n */\nexport interface NavigationWidgetMeta extends WidgetMeta {\n /**\n * Unambiguous marker for JSON file specifying widget type\n */\n type: WidgetTypes.NavigationTabs | WidgetTypes.ViewNavigation\n /**\n * Options for customizing widget\n */\n options: NavigationOptions\n}\n\n/**\n * A widget configuration of any known type\n */\nexport type WidgetMetaAny = WidgetFormMeta | WidgetTableMeta | WidgetTextMeta | WidgetInfoMeta | NavigationWidgetMeta\n\n/**\n * Component of custom widget\n *\n * @deprecated TODO: Remove in 2.0.0\n */\nexport type CustomWidget = ComponentType<any>\n\n/**\n * Configuration of custom widget\n */\nexport interface CustomWidgetConfiguration {\n /**\n * Whether widget is popup\n */\n isPopup?: boolean\n /**\n * Component of custom widget\n */\n component: ComponentType<any>\n /**\n * Card of widget\n */\n card?: ComponentType<any> | null\n}\n\nexport type CustomWidgetDescriptor = CustomWidget | CustomWidgetConfiguration\n/**\n * Check if descriptor is just a widget, or it has additional data\n */\nexport function isCustomWidget(descriptor: CustomWidgetDescriptor): descriptor is CustomWidget {\n return !!descriptor && !('component' in descriptor)\n}\n\n/**\n * Checks whether @param descriptor is an instance of `CustomWidgetConfiguration`\n *\n * @param descriptor custom widget descriptor\n */\nexport function isCustomWidgetConfiguration(descriptor: CustomWidgetDescriptor): descriptor is CustomWidgetConfiguration {\n return descriptor && 'component' in descriptor\n}\n\n/**\n * TODO\n *\n * @param item\n * @category Type Guards\n */\nexport function isWidgetFieldBlock(item: any): item is WidgetFieldBlock<any> {\n return !!item && 'blockId' in item\n}\n\n/**\n * Type of pagination, either page numbers or \"Load More\" button\n */\nexport enum PaginationMode {\n page = 'page',\n loadMore = 'loadMore'\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":""}
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1 @@
|
|
|
1
|
+
export {};
|
|
@@ -0,0 +1,3 @@
|
|
|
1
|
+
import { AnyAction, Dispatch, MiddlewareAPI } from 'redux';
|
|
2
|
+
import { Store as CoreStore } from '../interfaces/store';
|
|
3
|
+
export declare function createActionsHistoryMiddleware(): ({ getState, dispatch }: MiddlewareAPI<Dispatch<AnyAction>, CoreStore>) => (next: Dispatch<AnyAction>) => (action: AnyAction) => AnyAction;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
import { AnyAction, Dispatch, MiddlewareAPI } from 'redux';
|
|
2
|
+
import { Store as CoreStore } from '../interfaces/store';
|
|
3
|
+
/**
|
|
4
|
+
*
|
|
5
|
+
*/
|
|
6
|
+
export declare function createAutoSaveMiddleware(): ({ getState, dispatch }: MiddlewareAPI<Dispatch<AnyAction>, CoreStore>) => (next: Dispatch<AnyAction>) => (action: AnyAction) => AnyAction;
|
|
@@ -0,0 +1,6 @@
|
|
|
1
|
+
export declare const middlewares: {
|
|
2
|
+
actionsHistory: ({ getState, dispatch }: import("redux").MiddlewareAPI<import("redux").Dispatch<import("redux").AnyAction>, import("../interfaces/store").Store>) => (next: import("redux").Dispatch<import("redux").AnyAction>) => (action: import("redux").AnyAction) => import("redux").AnyAction;
|
|
3
|
+
autosave: ({ getState, dispatch }: import("redux").MiddlewareAPI<import("redux").Dispatch<import("redux").AnyAction>, import("../interfaces/store").Store>) => (next: import("redux").Dispatch<import("redux").AnyAction>) => (action: import("redux").AnyAction) => import("redux").AnyAction;
|
|
4
|
+
requiredFields: import("redux").Middleware<{}, any, import("redux").Dispatch<import("redux").AnyAction>>;
|
|
5
|
+
preInvoke: import("redux").Middleware<{}, any, import("redux").Dispatch<import("redux").AnyAction>>;
|
|
6
|
+
};
|
|
@@ -1,10 +1,11 @@
|
|
|
1
1
|
/**
|
|
2
2
|
* Handles validation of "required fields" for widget operations
|
|
3
3
|
*/
|
|
4
|
-
import { Middleware } from 'redux';
|
|
5
|
-
import { Operation, OperationGroup
|
|
6
|
-
import {
|
|
7
|
-
|
|
4
|
+
import { AnyAction, Dispatch, Middleware } from 'redux';
|
|
5
|
+
import { Operation, OperationGroup } from '../interfaces/operation';
|
|
6
|
+
import { Store as CoreStore } from '../interfaces/store';
|
|
7
|
+
import { DataItem, PendingDataItem } from '../interfaces/data';
|
|
8
|
+
import { RowMetaField } from '../interfaces/rowMeta';
|
|
8
9
|
/**
|
|
9
10
|
* Check operations and operation groups for 'autoSaveBefore' flag (i.e. operation is validation-sensetive)
|
|
10
11
|
*
|
|
@@ -18,13 +19,17 @@ export declare function operationRequiresAutosave(operationType: string, actions
|
|
|
18
19
|
*
|
|
19
20
|
* @param record Record to check
|
|
20
21
|
* @param pendingChanges Pending record changes which could override record values
|
|
21
|
-
* @param
|
|
22
|
+
* @param rowMeta Fields meta to check for 'required' flag
|
|
22
23
|
*/
|
|
23
24
|
export declare function getRequiredFieldsMissing(record: DataItem, pendingChanges: PendingDataItem, fieldsMeta: RowMetaField[]): PendingDataItem;
|
|
25
|
+
/**
|
|
26
|
+
* TODO
|
|
27
|
+
*/
|
|
28
|
+
export declare function createRequiredFieldsMiddleware(): Middleware<{}, any, Dispatch<AnyAction>>;
|
|
24
29
|
/**
|
|
25
30
|
* Checks if `pendingValidationFails` is not empty
|
|
26
31
|
*
|
|
27
32
|
* @param store
|
|
28
33
|
* @param bcName
|
|
29
34
|
*/
|
|
30
|
-
export declare function hasPendingValidationFails(store:
|
|
35
|
+
export declare function hasPendingValidationFails(store: CoreStore, bcName: string): boolean;
|
|
@@ -0,0 +1,10 @@
|
|
|
1
|
+
/**
|
|
2
|
+
* Моки меты виджетов
|
|
3
|
+
*/
|
|
4
|
+
import { WidgetMeta } from '../../interfaces/widget';
|
|
5
|
+
export declare const baseWidgetMeta: WidgetMeta;
|
|
6
|
+
/**
|
|
7
|
+
* Виджет-иерархия, на первом уровне риски, на втором меры, на третьем последствия
|
|
8
|
+
*/
|
|
9
|
+
export declare const hierarchyWidgetMeta: any;
|
|
10
|
+
export declare const hierarchyWidgetProps: any;
|