bbj-screen-widget 2.4.47 → 2.4.49

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.
@@ -2209,6 +2209,10 @@
2209
2209
  this.optionChange.emit(selectedOption);
2210
2210
  }
2211
2211
  };
2212
+ SelectComponent.prototype.select = function (value) {
2213
+ this.selectedValue = value;
2214
+ this.selectChange(value);
2215
+ };
2212
2216
  return SelectComponent;
2213
2217
  }());
2214
2218
  exports.ɵx.decorators = [
@@ -2398,6 +2402,13 @@
2398
2402
  bbjWidgetBase.DataOutput('原始数据'),
2399
2403
  __metadata("design:type", Object)
2400
2404
  ], exports.ɵx.prototype, "optionChange", void 0);
2405
+ __decorate([
2406
+ bbjWidgetBase.Method('选中'),
2407
+ __param(0, bbjWidgetBase.Param('值')),
2408
+ __metadata("design:type", Function),
2409
+ __metadata("design:paramtypes", [Object]),
2410
+ __metadata("design:returntype", void 0)
2411
+ ], exports.ɵx.prototype, "select", null);
2401
2412
  exports.ɵx = __decorate([
2402
2413
  bbjWidgetBase.Widget('下拉框', {
2403
2414
  group: 'component',
@@ -14151,10 +14162,20 @@
14151
14162
  this.destroy$.complete();
14152
14163
  this.destroyed = true;
14153
14164
  if (this.view) {
14154
- this.view.destroy();
14165
+ try {
14166
+ this.view.destroy();
14167
+ }
14168
+ catch (e) {
14169
+ console.error(e);
14170
+ }
14155
14171
  }
14156
14172
  if (this.map) {
14157
- this.map.destroy();
14173
+ try {
14174
+ this.map.destroy();
14175
+ }
14176
+ catch (e) {
14177
+ console.error(e);
14178
+ }
14158
14179
  }
14159
14180
  };
14160
14181
  CustomBaiduMapComponent.prototype.mapLoaded = function (map) {