UNPKG

@finos/legend-application

Version:
74 lines 3.15 kB
/** * Copyright (c) 2020-present, Goldman Sachs * * Licensed under the Apache License, Version 2.0 (the "License"); * you may not use this file except in compliance with the License. * You may obtain a copy of the License at * * http://www.apache.org/licenses/LICENSE-2.0 * * Unless required by applicable law or agreed to in writing, software * distributed under the License is distributed on an "AS IS" BASIS, * WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied. * See the License for the specific language governing permissions and * limitations under the License. */ import { UnsupportedOperationError } from '@finos/legend-shared'; import {} from './NavigationService.js'; export class DefaultNavigator { goToLocation(location, options) { throw new UnsupportedOperationError(`Navigator does not support this operation`); } reload(options) { throw new UnsupportedOperationError(`Navigator does not support this operation`); } goToAddress(address, options) { throw new UnsupportedOperationError(`Navigator does not support this operation`); } visitAddress(address) { throw new UnsupportedOperationError(`Navigator does not support this operation`); } generateAddress(location) { throw new UnsupportedOperationError(`Navigator does not support this operation`); } updateCurrentLocation(location) { throw new UnsupportedOperationError(`Navigator does not support this operation`); } updateCurrentZone(zone) { throw new UnsupportedOperationError(`Navigator does not support this operation`); } resetZone() { throw new UnsupportedOperationError(`Navigator does not support this operation`); } getCurrentBaseAddress(options) { throw new UnsupportedOperationError(`Navigator does not support this operation`); } getCurrentAddress() { throw new UnsupportedOperationError(`Navigator does not support this operation`); } getCurrentLocation() { throw new UnsupportedOperationError(`Navigator does not support this operation`); } getCurrentLocationParameters() { throw new UnsupportedOperationError(`Navigator does not support this operation`); } getCurrentLocationParameterValue(key) { throw new UnsupportedOperationError(`Navigator does not support this operation`); } getCurrentZone() { throw new UnsupportedOperationError(`Navigator does not support this operation`); } blockNavigation(blockCheckers, onBlock, onNativePlatformNavigationBlock) { throw new UnsupportedOperationError(`Navigator does not support this operation`); } unblockNavigation() { throw new UnsupportedOperationError(`Navigator does not support this operation`); } get isNavigationBlocked() { throw new UnsupportedOperationError(`Navigator does not support this operation`); } INTERNAL__internalizeTransientParameter(key) { throw new UnsupportedOperationError(`Navigator does not support this operation`); } } //# sourceMappingURL=DefaultNavigator.js.map