bbj-screen-widget 2.4.59 → 2.4.61
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.d.ts +14 -15
- package/bbj-screen-widget.metadata.json +1 -1
- package/bundles/bbj-screen-widget.umd.js +142 -120
- 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/bbj-screen-widget.js +15 -16
- package/esm2015/lib/custom-baidu-map/baidu-marker-layer/baidu-marker-layer.component.js +18 -3
- package/esm2015/lib/video-grid/video-grid.component.js +10 -3
- package/esm2015/public-api.js +2 -1
- package/fesm2015/bbj-screen-widget.js +25 -3
- package/fesm2015/bbj-screen-widget.js.map +1 -1
- package/lib/custom-baidu-map/baidu-marker-layer/baidu-marker-layer.component.d.ts +2 -0
- package/package.json +1 -1
- package/public-api.d.ts +1 -0
|
@@ -14168,6 +14168,7 @@ let BaiduMarkerLayerComponent = class BaiduMarkerLayerComponent extends BaseLaye
|
|
|
14168
14168
|
lineHeight: 0,
|
|
14169
14169
|
};
|
|
14170
14170
|
this.shadow = { color: '', X: 0, Y: 0, Z: 0 };
|
|
14171
|
+
this.selectedSize = 1.5;
|
|
14171
14172
|
this.unselectOnClickBlank = true;
|
|
14172
14173
|
this.groups = [];
|
|
14173
14174
|
this._data = [
|
|
@@ -14506,6 +14507,7 @@ let BaiduMarkerLayerComponent = class BaiduMarkerLayerComponent extends BaseLaye
|
|
|
14506
14507
|
}
|
|
14507
14508
|
}
|
|
14508
14509
|
select(id, options = {}) {
|
|
14510
|
+
var _a;
|
|
14509
14511
|
if (id != this.currentSelectedId || options.force) {
|
|
14510
14512
|
let item;
|
|
14511
14513
|
if (id != null && id !== '') {
|
|
@@ -14526,13 +14528,18 @@ let BaiduMarkerLayerComponent = class BaiduMarkerLayerComponent extends BaseLaye
|
|
|
14526
14528
|
}
|
|
14527
14529
|
if (item) {
|
|
14528
14530
|
currentSelectGroup = item.properties.group;
|
|
14529
|
-
this.updateSize(item, 1.5);
|
|
14531
|
+
this.updateSize(item, (_a = this.selectedSize) !== null && _a !== void 0 ? _a : 1.5);
|
|
14530
14532
|
this.lastSelect = item;
|
|
14531
14533
|
selectedData = item.properties.raw;
|
|
14532
14534
|
if (options.move) {
|
|
14533
14535
|
const layer = this.layerMap[currentSelectGroup];
|
|
14534
14536
|
let zoom = this.parent.map.getZoom();
|
|
14535
|
-
if (
|
|
14537
|
+
if (this.selectedMapZoom) {
|
|
14538
|
+
zoom = this.selectedMapZoom;
|
|
14539
|
+
}
|
|
14540
|
+
else if (layer instanceof mapvgl.ClusterLayer &&
|
|
14541
|
+
this.clusterMaxZoom != null &&
|
|
14542
|
+
Math.floor(zoom) <= this.clusterMaxZoom) {
|
|
14536
14543
|
zoom = this.clusterMaxZoom + 2;
|
|
14537
14544
|
}
|
|
14538
14545
|
this.parent.setCenterAndZoom(selectedData.lng, selectedData.lat, zoom);
|
|
@@ -14699,6 +14706,14 @@ __decorate([
|
|
|
14699
14706
|
Property('选中放大'),
|
|
14700
14707
|
__metadata("design:type", Boolean)
|
|
14701
14708
|
], BaiduMarkerLayerComponent.prototype, "enlargeOnSelect", void 0);
|
|
14709
|
+
__decorate([
|
|
14710
|
+
Property('选中时放大倍数', { type: 'number' }),
|
|
14711
|
+
__metadata("design:type", Object)
|
|
14712
|
+
], BaiduMarkerLayerComponent.prototype, "selectedSize", void 0);
|
|
14713
|
+
__decorate([
|
|
14714
|
+
Property('选中时地图缩放', { type: 'number' }),
|
|
14715
|
+
__metadata("design:type", Number)
|
|
14716
|
+
], BaiduMarkerLayerComponent.prototype, "selectedMapZoom", void 0);
|
|
14702
14717
|
__decorate([
|
|
14703
14718
|
Property('点击空白取消选中', { type: 'boolean', default: true }),
|
|
14704
14719
|
__metadata("design:type", Object)
|
|
@@ -18610,6 +18625,13 @@ __decorate([
|
|
|
18610
18625
|
}),
|
|
18611
18626
|
__metadata("design:type", Object)
|
|
18612
18627
|
], VideoGridComponent.prototype, "data", void 0);
|
|
18628
|
+
__decorate([
|
|
18629
|
+
Method('设置视频地址'),
|
|
18630
|
+
__param(0, Param('视频地址')),
|
|
18631
|
+
__metadata("design:type", Function),
|
|
18632
|
+
__metadata("design:paramtypes", [String]),
|
|
18633
|
+
__metadata("design:returntype", void 0)
|
|
18634
|
+
], VideoGridComponent.prototype, "addSrc", null);
|
|
18613
18635
|
VideoGridComponent = __decorate([
|
|
18614
18636
|
Widget('视频宫格', { group: 'component', image: 'assets/img/screen/video-grid.png', icon: 'iconmokuai' }),
|
|
18615
18637
|
__metadata("design:paramtypes", [])
|
|
@@ -20607,5 +20629,5 @@ WorkbenchWidgetModule.ctorParameters = () => [
|
|
|
20607
20629
|
* Generated bundle index. Do not edit.
|
|
20608
20630
|
*/
|
|
20609
20631
|
|
|
20610
|
-
export { AudioModule, BarChartThreeDModule, BasicBarChartComponent, BasicBarChartModule, BasicLineChartModule, BasicPieChartModule, BasicPlanimetricMapModule, BubbleChartModule, CheckboxModule, CommonService, CrossTableModule, CustomBaiduMapModule, DatePickerModule, FileUrlService, FunnelChartModule, GaodeMapService, GaugeModule, IframeModule, LiquidFillModule, MarqueeModule, PercentPieChartModule, PlanimetricMap2dModule, PlanimetricMap3dModule, RadarChartModule, Scatter3dModule, ScreenWidgetModule, SelectModule, TableModule, TreeControlModule, TreeRingChartModule, VideoPlayerModule, VisualMapChartModule, WorkbenchWidgetModule, ɵ0$2 as ɵ0, ɵ1$2 as ɵ1, ɵ2$2 as ɵ2, ɵ3$2 as ɵ3, ImageModule as ɵa, ImageComponent as ɵb, WeatherModule as ɵba, WeatherComponent as ɵbb, RadioModule as ɵbc, RadioComponent as ɵbd, CheckboxComponent as ɵbe, RateModule as ɵbf, RateComponent as ɵbg, GeneralTextModule as ɵbh, GeneralTextComponent as ɵbi, MarqueeComponent as ɵbj, WordartModule as ɵbk, WordartComponent as ɵbl, IconfontModule as ɵbm, IconfontComponent as ɵbn, TableComponent as ɵbo, AudioComponent as ɵbp, VideoPlayerComponent as ɵbq, ShapeModule as ɵbr, ShapeComponent as ɵbs, BackgroundModule as ɵbt, BackgroundComponent as ɵbu, ShufflingListModule as ɵbv, ShufflingListComponent as ɵbw, ColorPipe as ɵbx, BasicPlanimetricMapComponent as ɵby, ParentContainerComponent as ɵbz, BasicLineChartComponent as ɵc, BreathingBubbleLayerModule as ɵca, BreathingBubbleLayerComponent as ɵcb, PlanimetricMap2dComponent as ɵcc, FlyLineLayerModule as ɵcd, FlyLineLayerComponent as ɵce, Map2dPolylineLayerModule as ɵcf, Map2dPolylineLayerComponent as ɵcg, Map2dMarkLayerModule as ɵch, Map2dMarkLayerComponent as ɵci, Map2dVisualLayerModule as ɵcj, Map2dVisualLayerComponent as ɵck, ParentContainerModule as ɵcl, PlanimetricMap3dComponent as ɵcm, Map3dMarkLayerModule as ɵcn, Map3dMarkLayerComponent as ɵco, Map3dLineLayerModule as ɵcp, Map3dLineLayerComponent as ɵcq, MipAnimModule as ɵcr, MipAnimComponent as ɵcs, TreeControlComponent as ɵct, VisualMapChartComponent as ɵcu, DatePickerComponent as ɵcv, TimePickerModule as ɵcw, TimePickerComponent as ɵcx, CustomBaiduMapComponent as ɵcy, BaiduMarkerLayerComponent as ɵcz, BasicPieChartComponent as ɵd, BaseLayer as ɵda, BaiduPolylineLayerComponent as ɵdb, WindLayerComponent as ɵdc, TyphoonAreaLayerComponent as ɵdd, UploadModule as ɵde, UploadComponent as ɵdf, CrossTableComponent as ɵdg, Pie3dChartModule as ɵdh, Pie3dChartComponent as ɵdi, HighChartsService as ɵdj, MultiTitleGaugeModule as ɵdk, MultiTitleGaugeComponent as ɵdl, GaugeProgressModule as ɵdm, GaugeProgressComponent as ɵdn, ItemSwiperModule as ɵdo, ItemSwiperComponent as ɵdp, BulletinBoardModule as ɵdq, BulletinBoardComponent as ɵdr, TemporaryDataModule as ɵds, TemporaryDataComponent as ɵdt, LineLightFlowModule as ɵdu, LineLightFlowComponent as ɵdv, IframeComponent as ɵdw,
|
|
20632
|
+
export { AudioModule, BarChartThreeDModule, BasicBarChartComponent, BasicBarChartModule, BasicLineChartModule, BasicPieChartModule, BasicPlanimetricMapModule, BubbleChartModule, CheckboxModule, CommonService, CrossTableModule, CustomBaiduMapModule, DatePickerModule, FileUrlService, FunnelChartModule, GaodeMapService, GaugeModule, IframeModule, LiquidFillModule, MarqueeModule, PercentPieChartModule, PlanimetricMap2dModule, PlanimetricMap3dModule, RadarChartModule, Scatter3dModule, ScreenWidgetModule, SelectModule, TableModule, TreeControlModule, TreeRingChartModule, VideoGridModule, VideoPlayerModule, VisualMapChartModule, WorkbenchWidgetModule, ɵ0$2 as ɵ0, ɵ1$2 as ɵ1, ɵ2$2 as ɵ2, ɵ3$2 as ɵ3, ImageModule as ɵa, ImageComponent as ɵb, WeatherModule as ɵba, WeatherComponent as ɵbb, RadioModule as ɵbc, RadioComponent as ɵbd, CheckboxComponent as ɵbe, RateModule as ɵbf, RateComponent as ɵbg, GeneralTextModule as ɵbh, GeneralTextComponent as ɵbi, MarqueeComponent as ɵbj, WordartModule as ɵbk, WordartComponent as ɵbl, IconfontModule as ɵbm, IconfontComponent as ɵbn, TableComponent as ɵbo, AudioComponent as ɵbp, VideoPlayerComponent as ɵbq, ShapeModule as ɵbr, ShapeComponent as ɵbs, BackgroundModule as ɵbt, BackgroundComponent as ɵbu, ShufflingListModule as ɵbv, ShufflingListComponent as ɵbw, ColorPipe as ɵbx, BasicPlanimetricMapComponent as ɵby, ParentContainerComponent as ɵbz, BasicLineChartComponent as ɵc, BreathingBubbleLayerModule as ɵca, BreathingBubbleLayerComponent as ɵcb, PlanimetricMap2dComponent as ɵcc, FlyLineLayerModule as ɵcd, FlyLineLayerComponent as ɵce, Map2dPolylineLayerModule as ɵcf, Map2dPolylineLayerComponent as ɵcg, Map2dMarkLayerModule as ɵch, Map2dMarkLayerComponent as ɵci, Map2dVisualLayerModule as ɵcj, Map2dVisualLayerComponent as ɵck, ParentContainerModule as ɵcl, PlanimetricMap3dComponent as ɵcm, Map3dMarkLayerModule as ɵcn, Map3dMarkLayerComponent as ɵco, Map3dLineLayerModule as ɵcp, Map3dLineLayerComponent as ɵcq, MipAnimModule as ɵcr, MipAnimComponent as ɵcs, TreeControlComponent as ɵct, VisualMapChartComponent as ɵcu, DatePickerComponent as ɵcv, TimePickerModule as ɵcw, TimePickerComponent as ɵcx, CustomBaiduMapComponent as ɵcy, BaiduMarkerLayerComponent as ɵcz, BasicPieChartComponent as ɵd, BaseLayer as ɵda, BaiduPolylineLayerComponent as ɵdb, WindLayerComponent as ɵdc, TyphoonAreaLayerComponent as ɵdd, UploadModule as ɵde, UploadComponent as ɵdf, CrossTableComponent as ɵdg, Pie3dChartModule as ɵdh, Pie3dChartComponent as ɵdi, HighChartsService as ɵdj, MultiTitleGaugeModule as ɵdk, MultiTitleGaugeComponent as ɵdl, GaugeProgressModule as ɵdm, GaugeProgressComponent as ɵdn, ItemSwiperModule as ɵdo, ItemSwiperComponent as ɵdp, BulletinBoardModule as ɵdq, BulletinBoardComponent as ɵdr, TemporaryDataModule as ɵds, TemporaryDataComponent as ɵdt, LineLightFlowModule as ɵdu, LineLightFlowComponent as ɵdv, IframeComponent as ɵdw, VideoGridComponent as ɵdx, Scatter3dComponent as ɵdy, AnnouncementModule as ɵdz, LineBarChartModule as ɵe, AnnouncementComponent as ɵea, TabsModule as ɵeb, TabsComponent as ɵec, TabComponent as ɵed, CalendarModule as ɵee, CalendarComponent as ɵef, BackgroundEventsComponent as ɵeg, CalendarEventsChild as ɵeh, EventsComponent as ɵei, GanttModule as ɵej, GanttComponent as ɵek, LineBarChartComponent as ɵf, BarChartThreeDComponent as ɵg, BubbleChartComponent as ɵh, RadarChartComponent as ɵi, FunnelChartComponent as ɵj, PercentPieChartComponent as ɵk, TreeRingChartComponent as ɵl, GaugeComponent as ɵm, LiquidFillComponent as ɵn, ButtonModule as ɵo, ButtonComponent as ɵp, HttpService as ɵq, TimerModule as ɵr, TimerComponent as ɵs, NumberFlopModule as ɵt, NumberFlopComponent as ɵu, VoteModule as ɵv, VoteComponent as ɵw, SelectComponent as ɵx, SearchModule as ɵy, SearchComponent as ɵz };
|
|
20611
20633
|
//# sourceMappingURL=bbj-screen-widget.js.map
|