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.
- package/bbj-screen-widget.metadata.json +1 -1
- package/bundles/bbj-screen-widget.umd.js +23 -2
- package/bundles/bbj-screen-widget.umd.js.map +1 -1
- package/bundles/bbj-screen-widget.umd.min.js +1 -1
- package/bundles/bbj-screen-widget.umd.min.js.map +1 -1
- package/esm2015/lib/custom-baidu-map/custom-baidu-map.component.js +13 -3
- package/esm2015/lib/select/select.component.js +14 -3
- package/fesm2015/bbj-screen-widget.js +25 -4
- package/fesm2015/bbj-screen-widget.js.map +1 -1
- package/lib/select/select.component.d.ts +1 -0
- package/package.json +1 -1
|
@@ -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
|
-
|
|
14165
|
+
try {
|
|
14166
|
+
this.view.destroy();
|
|
14167
|
+
}
|
|
14168
|
+
catch (e) {
|
|
14169
|
+
console.error(e);
|
|
14170
|
+
}
|
|
14155
14171
|
}
|
|
14156
14172
|
if (this.map) {
|
|
14157
|
-
|
|
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) {
|