1"use strict"; 2var __extends = (this && this.__extends) || (function () { 3 var extendStatics = function (d, b) { 4 extendStatics = Object.setPrototypeOf || 5 ({ __proto__: [] } instanceof Array && function (d, b) { d.__proto__ = b; }) || 6 function (d, b) { for (var p in b) if (Object.prototype.hasOwnProperty.call(b, p)) d[p] = b[p]; }; 7 return extendStatics(d, b); 8 }; 9 return function (d, b) { 10 if (typeof b !== "function" && b !== null) 11 throw new TypeError("Class extends value " + String(b) + " is not a constructor or null"); 12 extendStatics(d, b); 13 function __() { this.constructor = d; } 14 d.prototype = b === null ? Object.create(b) : (__.prototype = b.prototype, new __()); 15 }; 16})(); 17Object.defineProperty(exports, "__esModule", { value: true }); 18exports.PaneviewPanelApiImpl = void 0; 19var events_1 = require("../events"); 20var splitviewPanelApi_1 = require("./splitviewPanelApi"); 21var PaneviewPanelApiImpl = /** @class */ (function (_super) { 22 __extends(PaneviewPanelApiImpl, _super); 23 function PaneviewPanelApiImpl(id, component) { 24 var _this = _super.call(this, id, component) || this; 25 _this._onDidExpansionChange = new events_1.Emitter({ 26 replay: true, 27 }); 28 _this.onDidExpansionChange = _this._onDidExpansionChange.event; 29 _this._onMouseEnter = new events_1.Emitter({}); 30 _this.onMouseEnter = _this._onMouseEnter.event; 31 _this._onMouseLeave = new events_1.Emitter({}); 32 _this.onMouseLeave = _this._onMouseLeave.event; 33 _this.addDisposables(_this._onDidExpansionChange, _this._onMouseEnter, _this._onMouseLeave); 34 return _this; 35 } 36 Object.defineProperty(PaneviewPanelApiImpl.prototype, "pane", { 37 set: function (pane) { 38 this._pane = pane; 39 }, 40 enumerable: false, 41 configurable: true 42 }); 43 PaneviewPanelApiImpl.prototype.setExpanded = function (isExpanded) { 44 var _a; 45 (_a = this._pane) === null || _a === void 0 ? void 0 : _a.setExpanded(isExpanded); 46 }; 47 Object.defineProperty(PaneviewPanelApiImpl.prototype, "isExpanded", { 48 get: function () { 49 var _a; 50 return !!((_a = this._pane) === null || _a === void 0 ? void 0 : _a.isExpanded()); 51 }, 52 enumerable: false, 53 configurable: true 54 }); 55 return PaneviewPanelApiImpl; 56}(splitviewPanelApi_1.SplitviewPanelApiImpl)); 57exports.PaneviewPanelApiImpl = PaneviewPanelApiImpl;
Line numbers count LF bytes from the start of the resource, as the search results do. Vendor segments are library code the classifier recognised; they are stored but not indexed. Bytes are shown as Latin1 characters, one per byte.