UNPKG

@itwin/presentation-frontend

Version:

Frontend of iModel.js Presentation library

37 lines 1.98 kB
"use strict"; /*--------------------------------------------------------------------------------------------- * Copyright (c) Bentley Systems, Incorporated. All rights reserved. * See LICENSE.md in the project root for license terms and full copyright notice. *--------------------------------------------------------------------------------------------*/ /* eslint-disable @typescript-eslint/no-deprecated */ /** @packageDocumentation * @module UnifiedSelection */ Object.defineProperty(exports, "__esModule", { value: true }); exports.SelectionChangeType = exports.SelectionChangeEvent = void 0; const core_bentley_1 = require("@itwin/core-bentley"); /** * An event broadcasted on selection changes * @public * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use `Event<StorageSelectionChangesListener>` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md) package instead. */ class SelectionChangeEvent extends core_bentley_1.BeEvent { } exports.SelectionChangeEvent = SelectionChangeEvent; /** * The type of selection change * @public * @deprecated in 5.0 - will not be removed until after 2026-06-13. Use `StorageSelectionChangeType` from [@itwin/unified-selection](https://github.com/iTwin/presentation/blob/master/packages/unified-selection/README.md) package instead. */ var SelectionChangeType; (function (SelectionChangeType) { /** Added to selection. */ SelectionChangeType[SelectionChangeType["Add"] = 0] = "Add"; /** Removed from selection. */ SelectionChangeType[SelectionChangeType["Remove"] = 1] = "Remove"; /** Selection was replaced. */ SelectionChangeType[SelectionChangeType["Replace"] = 2] = "Replace"; /** Selection was cleared. */ SelectionChangeType[SelectionChangeType["Clear"] = 3] = "Clear"; })(SelectionChangeType || (exports.SelectionChangeType = SelectionChangeType = {})); //# sourceMappingURL=SelectionChangeEvent.js.map